]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/cat/vandelay/routing.module.ts
LP2042879 Shelving Location Groups Admin accessibility
[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: 'export/basket',
32         component: ExportComponent
33     }, {
34         path: 'queue',
35         component: QueueListComponent
36     }, {
37         path: 'queue/:qtype/:id',
38         component: QueueComponent
39     }, {
40         path: 'queue/:qtype/:id/record/:recordId',
41         component: QueuedRecordComponent
42     }, {
43         path: 'queue/:qtype/:id/record/:recordId/:recordTab',
44         component: QueuedRecordComponent
45     }, {
46         path: 'queue/:qtype/:id/items',
47         component: QueueItemsComponent
48     }, {
49         path: 'display_attrs',
50         component: DisplayAttrsComponent
51     }, {
52         path: 'display_attrs/:atype',
53         component: DisplayAttrsComponent
54     }, {
55         path: 'merge_profiles',
56         component: MergeProfilesComponent
57     }, {
58         path: 'holdings_profiles',
59         component: HoldingsProfilesComponent
60     }, {
61         path: 'match_sets',
62         component: MatchSetListComponent
63     }, {
64         path: 'match_sets/:id/:matchSetTab',
65         component: MatchSetComponent
66     }, {
67         path: 'active_imports',
68         component: RecentImportsComponent
69     }]
70 }];
71
72 @NgModule({
73     imports: [RouterModule.forChild(routes)],
74     exports: [RouterModule],
75     providers: []
76 })
77
78 export class VandelayRoutingModule {}