]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts
LP2002435: Don't allow shelving location fm-editor to change delete flag
[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         readonlyFields: 'deleted',
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: BasicAdminPageComponent,
58     data: [{
59         schema: 'config',
60         table: 'openathens_identity',
61         fieldOrder: 'id,org_unit,active,api_key,connection_id,connection_uri,auto_signon_enabled,auto_signout_enabled,' +
62                     'unique_identifier,display_name,release_prefix,release_first_given_name,release_second_given_name,' +
63                     'release_family_name,release_suffix,release_email,release_home_ou,release_barcode',
64         defaultNewRecord: {
65             active: true,
66             auto_signon_enabled: true,
67             unique_identifier: 1,
68             display_name: 1
69         }
70     }]
71 }, {
72     path: 'config/standing_penalty',
73     component: StandingPenaltyComponent,
74 }, {
75     path: 'asset/org_unit_settings',
76     loadChildren: () =>
77       import('./org-unit-settings/org-unit-settings.module').then(m => m.OrgUnitSettingsModule)
78 }, {
79     path: 'config/ui_staff_portal_page_entry',
80     component: AdminStaffPortalPageComponent
81 }, {
82     path: 'action/survey',
83     loadChildren: () =>
84       import('./survey/survey.module').then(m => m.SurveyModule)
85 }, {
86     path: 'action_trigger/event_definition',
87     loadChildren: () =>
88       import('./triggers/triggers.module').then(m => m.TriggersModule)
89 }, {
90     path: 'config/idl_field_doc',
91     loadChildren: () => import('./field-documentation/field-documentation.module')
92       .then(m => m.FieldDocumentationModule)
93 }, {
94     path: 'money/cash_reports',
95     loadChildren: () =>
96       import('./cash-reports/cash-reports.module').then(m => m.CashReportsModule)
97 }, {
98     path: 'negative-balances',
99     loadChildren: () =>
100       import('./negative-balances/negative-balances.module').then(m => m.NegativeBalancesModule)
101 }, {
102     path: ':schema/:table',
103     component: BasicAdminPageComponent
104 }
105
106 ];
107
108 @NgModule({
109   imports: [RouterModule.forChild(routes)],
110   exports: [RouterModule]
111 })
112
113 export class AdminLocalRoutingModule {}