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