]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts
LP1846552 Shelving Location Order Angular UI
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / admin / local / routing.module.ts
1 import {NgModule} from '@angular/core';
2 import {RouterModule, Routes} from '@angular/router';
3 import {AdminLocalSplashComponent} from './admin-local-splash.component';
4 import {BasicAdminPageComponent} from '@eg/staff/admin/basic-admin-page.component';
5 import {AddressAlertComponent} from './address-alert.component';
6 import {AdminCarouselComponent} from './admin-carousel.component';
7 import {StandingPenaltyComponent} from './standing-penalty.component';
8 import {CourseTermMapComponent} from './course-reserves/course-term-map.component';
9
10 const routes: Routes = [{
11     path: 'splash',
12     component: AdminLocalSplashComponent
13 }, {
14     path: 'config/hold_matrix_matchpoint',
15     component: BasicAdminPageComponent,
16     data: [{schema: 'config', table: 'hold_matrix_matchpoint', disableOrgFilter: true}]
17 }, {
18     path: 'actor/address_alert',
19     component: AddressAlertComponent
20 }, {
21     path: 'asset/copy_location_order',
22     loadChildren: () =>
23       import('./copy-loc-order/copy-loc-order.module').then(m => m.CopyLocOrderModule)
24 }, {
25     path: 'asset/copy_location',
26     component: BasicAdminPageComponent,
27     data: [{
28         schema: 'asset',
29         table: 'copy_location',
30         fieldOrder: 'owning_lib,name,opac_visible,circulate,holdable,hold_verify,checkin_alert,deleted,label_prefix,label_suffix,url,id'}]
31 }, {
32     path: 'asset/shelving_location_groups',
33     loadChildren: () =>
34       import('./shelving_location_groups/shelving_location_groups.module').then(m => m.ShelvingLocationGroupsModule)
35 }, {
36     path: 'container/carousel',
37     component: AdminCarouselComponent
38 }, {
39     path: 'asset/course_list',
40     loadChildren: () =>
41       import('./course-reserves/course-reserves.module').then(m => m.CourseReservesModule)
42 }, {
43     path: 'asset/course_module_term_course_map',
44     component: CourseTermMapComponent
45 }, {
46     path: 'actor/search_filter_group',
47     loadChildren: () =>
48       import('./search-filter/search-filter-group.module').then(m => m.SearchFilterGroupModule)
49 }, {
50     path: 'config/circ_limit_set',
51     loadChildren: () =>
52       import('./circ_limit_set/circ_limit_set.module').then(m => m.CircLimitSetModule)
53 }, {
54     path: 'config/standing_penalty',
55     component: StandingPenaltyComponent
56 }, {
57     path: 'action/survey',
58     loadChildren: () =>
59       import('./survey/survey.module').then(m => m.SurveyModule)
60 }, {
61     path: 'action_trigger/event_definition',
62     loadChildren: () =>
63       import('./triggers/triggers.module').then(m => m.TriggersModule)
64 }, {
65     path: ':schema/:table',
66     component: BasicAdminPageComponent
67 }];
68
69 @NgModule({
70   imports: [RouterModule.forChild(routes)],
71   exports: [RouterModule]
72 })
73
74 export class AdminLocalRoutingModule {}