summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/pages/pages-routing.module.ts
blob: 20120d6cc3c1785a1e7051c242c673249fe171cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import {NgModule} from '@angular/core';
import {Routes, RouterModule, ActivatedRoute} from '@angular/router';
import {RoleFunctionsComponent} from '../admin/role-functions/role-functions.component';
import {UsageComponent} from '../admin/usage/usage.component';
import {CacheAdminComponent} from '../admin/cache-admin/cache-admin.component';
import {RolesComponent} from '../admin/roles/roles.component';
import {MenusComponent} from '../admin/menus/menus.component';
import {SearchComponent} from './ext/profile/search/search.component';
import {SelfComponent} from './ext/profile/self/self.component';
import {ReportComponent} from './analytics/Report_List/Report/report.component';
import {RunReportComponent} from './analytics/Report_List/Report/run/run-report/run-report.component';
import {HeaderTabsWrapperComponent} from './analytics/Report_List/header-tabs-wrapper-component/header-tabs-wrapper.component';
import {RunReportFormFieldsComponent} from './analytics/Report_List/Report/run/run-report-form-fields/run-report-form-fields.component';
import {RefreshComponent} from './refresh/refresh.component';


const routes: Routes = [
    {path: 'userProfile', component: SearchComponent},
    {path: 'userProfile/self_profile', component: SelfComponent},
    {path: 'report-list', component: ReportComponent},
    {path: 'create', component: HeaderTabsWrapperComponent},
    {path: 'reports/:reportMode/:reportId', component: HeaderTabsWrapperComponent},
    {path: 'run/:reportId', component: RunReportFormFieldsComponent},
    {path: 'run/:reportId/:queryParameters', component: RunReportFormFieldsComponent},
    {path: 'run/:reportId/:queryParameters/:groupSelectValue', component: RunReportFormFieldsComponent},
    {path: 'run', component: RunReportFormFieldsComponent},
    {path: 'refresh', component: RefreshComponent},
];

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