aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/app.routing.ts
blob: eaf4e9ca426297c48a10345a5c6d96153f017975 (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
import {RouterModule, Routes} from '@angular/router';
import {FlagsResolve} from "./shared/resolvers/flag/flag.resolver";
import {DrawingBoardRoutes} from "./drawingBoard/drawingBoard.routing";
import {GenericFormPopupComponent} from "./shared/components/genericFormPopup/generic-form-popup.component";
import {SupportComponent} from "./support/support.component";
import {HealthStatusRoutes} from "./healthStatus/health-status.routing";
import {VlanTaggingRoutes} from "./vlanTagging/vlan-tagging.routing";
import {InstantiationStatusRoutes} from "./instantiationStatus/InstantiationStatus.routing";
import {InstantiationTemplatesModalComponent} from "./shared/components/genericFormPopup/instantiationTemplatesModal/instantiation.templates.modal.component";
const routes: Routes = [
  ...DrawingBoardRoutes,
  ...HealthStatusRoutes,
  ...VlanTaggingRoutes,
  ...InstantiationStatusRoutes,
  {
    path: 'instantiationTemplatesPopup',
    component: InstantiationTemplatesModalComponent,
    resolve: {
      flags: FlagsResolve
    }
  },
  {
    path: 'servicePopup',
    component: GenericFormPopupComponent,
    resolve: {
      flags: FlagsResolve
    }
  },
  {path: 'support', component: SupportComponent},
];
export const routing = RouterModule.forRoot(routes);