import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { JobstatusreportComponent } from './jobstatusreport/jobstatusreport.component';
import { AuthGuard } from '../auth.guard';
import { UserwiseproductionlogreportComponent } from './userwiseproductionlogreport/userwiseproductionlogreport.component';
import { ProductiondashboardstagewisereportComponent } from './productiondashboardstagewisereport/productiondashboardstagewisereport.component';
import { ProcesswiseproductionreportComponent } from './processwiseproductionreport/processwiseproductionreport.component';
import { UserwiseproductionreportComponent } from './userwiseproductionreport/userwiseproductionreport.component';
import { DashboardreportComponent } from './dashboardreport/dashboardreport.component';
import { RuntimereportComponent } from './runtimereport/runtimereport.component';
import { RecorderrorreportComponent } from './recorderrorreport/recorderrorreport.component';
import { OnlineusersComponent } from './onlineusers/onlineusers.component';
import { TexttelescopeComponent } from './texttelescope/texttelescope.component';
import { ProductionreportComponent } from './productionreport/productionreport.component';
import { JobcreationreportComponent } from './jobcreationreport/jobcreationreport.component';
import { VlexreportComponent } from '../vlexreport/vlexreport.component';


const routes: Routes = [ 
   { path: 'jobstatusreport', component: JobstatusreportComponent, canActivate: [AuthGuard] },
   { path: 'userwiseproductionlogreport', component: UserwiseproductionlogreportComponent, canActivate: [AuthGuard] },
   { path: 'productiondashboardstagewisereport', component: ProductiondashboardstagewisereportComponent, canActivate: [AuthGuard], },
   { path: 'processwiseproductionreport', component: ProcesswiseproductionreportComponent, canActivate: [AuthGuard], },
   { path: 'userwiseproductionreport', component: UserwiseproductionreportComponent, canActivate: [AuthGuard],},
   { path: 'dashboardreport', component: DashboardreportComponent, canActivate: [AuthGuard],},
   { path: 'runtimereport', component: RuntimereportComponent, canActivate: [AuthGuard],},
   { path: 'recorderrorreport', component: RecorderrorreportComponent, canActivate: [AuthGuard],},
   { path: 'onlineusers', component: OnlineusersComponent, canActivate: [AuthGuard],},
   { path: 'texttelescope', component: TexttelescopeComponent, canActivate: [AuthGuard],},
   { path: 'productionreport', component: ProductionreportComponent, canActivate: [AuthGuard],},
   { path: 'jobcreationreport', component: JobcreationreportComponent, canActivate: [AuthGuard],},
   { path: 'vlexreport', component: VlexreportComponent, canActivate: [AuthGuard],},
  ];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class ReportsRoutingModule { }
