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';
11 const routes: Routes = [{
13 component: AdminLocalSplashComponent
15 path: 'config/hold_matrix_matchpoint',
16 component: BasicAdminPageComponent,
17 data: [{schema: 'config', table: 'hold_matrix_matchpoint', disableOrgFilter: true}]
19 path: 'actor/address_alert',
20 component: AddressAlertComponent
22 path: 'asset/copy_location_order',
24 import('./copy-loc-order/copy-loc-order.module').then(m => m.CopyLocOrderModule)
26 path: 'asset/copy_location',
27 component: BasicAdminPageComponent,
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'}]
34 path: 'asset/shelving_location_groups',
36 import('./shelving_location_groups/shelving_location_groups.module').then(m => m.ShelvingLocationGroupsModule)
38 path: 'container/carousel',
39 component: AdminCarouselComponent
41 path: 'asset/course_list',
43 import('./course-reserves/course-reserves.module').then(m => m.CourseReservesModule)
45 path: 'asset/course_module_term_course_map',
46 component: CourseTermMapComponent
48 path: 'actor/search_filter_group',
50 import('./search-filter/search-filter-group.module').then(m => m.SearchFilterGroupModule)
52 path: 'config/circ_limit_set',
54 import('./circ_limit_set/circ_limit_set.module').then(m => m.CircLimitSetModule)
56 path: 'config/openathens_identity',
57 component: BasicAdminPageComponent,
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',
66 auto_signon_enabled: true,
72 path: 'config/standing_penalty',
73 component: StandingPenaltyComponent,
75 path: 'asset/org_unit_settings',
77 import('./org-unit-settings/org-unit-settings.module').then(m => m.OrgUnitSettingsModule)
79 path: 'config/ui_staff_portal_page_entry',
80 component: AdminStaffPortalPageComponent
82 path: 'action/survey',
84 import('./survey/survey.module').then(m => m.SurveyModule)
86 path: 'action_trigger/event_definition',
88 import('./triggers/triggers.module').then(m => m.TriggersModule)
90 path: 'config/idl_field_doc',
91 loadChildren: () => import('./field-documentation/field-documentation.module')
92 .then(m => m.FieldDocumentationModule)
94 path: 'money/cash_reports',
96 import('./cash-reports/cash-reports.module').then(m => m.CashReportsModule)
98 path: 'negative-balances',
100 import('./negative-balances/negative-balances.module').then(m => m.NegativeBalancesModule)
102 path: ':schema/:table',
103 component: BasicAdminPageComponent
109 imports: [RouterModule.forChild(routes)],
110 exports: [RouterModule]
113 export class AdminLocalRoutingModule {}