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