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 fieldOrder: 'owning_lib,name,opac_visible,circulate,holdable,hold_verify,checkin_alert,deleted,label_prefix,label_suffix,url,id'}]
33 path: 'asset/shelving_location_groups',
35 import('./shelving_location_groups/shelving_location_groups.module').then(m => m.ShelvingLocationGroupsModule)
37 path: 'container/carousel',
38 component: AdminCarouselComponent
40 path: 'asset/course_list',
42 import('./course-reserves/course-reserves.module').then(m => m.CourseReservesModule)
44 path: 'asset/course_module_term_course_map',
45 component: CourseTermMapComponent
47 path: 'actor/search_filter_group',
49 import('./search-filter/search-filter-group.module').then(m => m.SearchFilterGroupModule)
51 path: 'config/circ_limit_set',
53 import('./circ_limit_set/circ_limit_set.module').then(m => m.CircLimitSetModule)
55 path: 'config/openathens_identity',
56 component: BasicAdminPageComponent,
59 table: 'openathens_identity',
60 fieldOrder: 'id,org_unit,active,api_key,connection_id,connection_uri,auto_signon_enabled,auto_signout_enabled,' +
61 'unique_identifier,display_name,release_prefix,release_first_given_name,release_second_given_name,' +
62 'release_family_name,release_suffix,release_email,release_home_ou,release_barcode',
65 auto_signon_enabled: true,
71 path: 'config/standing_penalty',
72 component: StandingPenaltyComponent,
74 path: 'asset/org_unit_settings',
75 loadChildren: '@eg/staff/admin/local/org-unit-settings/org-unit-settings.module#OrgUnitSettingsModule'
77 path: 'config/ui_staff_portal_page_entry',
78 component: AdminStaffPortalPageComponent
80 path: 'action/survey',
82 import('./survey/survey.module').then(m => m.SurveyModule)
84 path: 'action_trigger/event_definition',
86 import('./triggers/triggers.module').then(m => m.TriggersModule)
88 path: 'config/idl_field_doc',
89 loadChildren: () => import('./field-documentation/field-documentation.module')
90 .then(m => m.FieldDocumentationModule)
92 path: 'negative-balances',
94 import('./negative-balances/negative-balances.module').then(m => m.NegativeBalancesModule)
96 path: ':schema/:table',
97 component: BasicAdminPageComponent
101 imports: [RouterModule.forChild(routes)],
102 exports: [RouterModule]
105 export class AdminLocalRoutingModule {}