707b92b9cab42f4a420ca4957c2dc72a18209449
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / cat / vandelay / routing.module.ts
1 import {NgModule} from '@angular/core';
2 import {RouterModule, Routes} from '@angular/router';
3 import {VandelayComponent} from './vandelay.component';
4 import {ImportComponent} from './import.component';
5 import {ExportComponent} from './export.component';
6 import {QueueListComponent} from './queue-list.component';
7 import {QueueComponent} from './queue.component';
8 import {QueuedRecordComponent} from './queued-record.component';
9 import {DisplayAttrsComponent} from './display-attrs.component';
10 import {MergeProfilesComponent} from './merge-profiles.component';
11 import {HoldingsProfilesComponent} from './holdings-profiles.component';
12 import {QueueItemsComponent} from './queue-items.component';
13 import {MatchSetListComponent} from './match-set-list.component';
14 import {MatchSetComponent} from './match-set.component';
15 import {RecentImportsComponent} from './recent-imports.component';
16
17 const routes: Routes = [{
18   path: '',
19   component: VandelayComponent,
20   children: [{
21     path: '',
22     pathMatch: 'full',
23     redirectTo: 'import'
24   }, {
25     path: 'import',
26     component: ImportComponent
27   }, {
28     path: 'export',
29     component: ExportComponent
30   }, {
31     path: 'queue',
32     component: QueueListComponent
33   }, {
34     path: 'queue/:qtype/:id',
35     component: QueueComponent
36   }, {
37     path: 'queue/:qtype/:id/record/:recordId',
38     component: QueuedRecordComponent
39   }, {
40     path: 'queue/:qtype/:id/record/:recordId/:recordTab',
41     component: QueuedRecordComponent
42   }, {
43     path: 'queue/:qtype/:id/items',
44     component: QueueItemsComponent
45   }, {
46     path: 'display_attrs',
47     component: DisplayAttrsComponent
48   }, {
49     path: 'display_attrs/:atype',
50     component: DisplayAttrsComponent
51   }, {
52     path: 'merge_profiles',
53     component: MergeProfilesComponent
54   }, {
55     path: 'holdings_profiles',
56     component: HoldingsProfilesComponent
57   }, {
58     path: 'match_sets',
59     component: MatchSetListComponent
60   }, {
61     path: 'match_sets/:id/:matchSetTab',
62     component: MatchSetComponent
63   }, {
64     path: 'active_imports',
65     component: RecentImportsComponent
66   }]
67 }];
68
69 @NgModule({
70   imports: [RouterModule.forChild(routes)],
71   exports: [RouterModule],
72   providers: []
73 })
74
75 export class VandelayRoutingModule {}