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 {StandingPenaltyComponent} from './standing-penalty.component';
8 import {CourseTermMapComponent} from './course-reserves/course-term-map.component';
10 const routes: Routes = [{
12 component: AdminLocalSplashComponent
14 path: 'config/hold_matrix_matchpoint',
15 component: BasicAdminPageComponent,
16 data: [{schema: 'config', table: 'hold_matrix_matchpoint', disableOrgFilter: true}]
18 path: 'actor/address_alert',
19 component: AddressAlertComponent
21 path: 'asset/copy_location_order',
23 import('./copy-loc-order/copy-loc-order.module').then(m => m.CopyLocOrderModule)
25 path: 'asset/copy_location',
26 component: BasicAdminPageComponent,
29 table: 'copy_location',
30 fieldOrder: 'owning_lib,name,opac_visible,circulate,holdable,hold_verify,checkin_alert,deleted,label_prefix,label_suffix,url,id'}]
32 path: 'asset/shelving_location_groups',
34 import('./shelving_location_groups/shelving_location_groups.module').then(m => m.ShelvingLocationGroupsModule)
36 path: 'container/carousel',
37 component: AdminCarouselComponent
39 path: 'asset/course_list',
41 import('./course-reserves/course-reserves.module').then(m => m.CourseReservesModule)
43 path: 'asset/course_module_term_course_map',
44 component: CourseTermMapComponent
46 path: 'actor/search_filter_group',
48 import('./search-filter/search-filter-group.module').then(m => m.SearchFilterGroupModule)
50 path: 'config/circ_limit_set',
52 import('./circ_limit_set/circ_limit_set.module').then(m => m.CircLimitSetModule)
54 path: 'config/standing_penalty',
55 component: StandingPenaltyComponent
57 path: 'action/survey',
59 import('./survey/survey.module').then(m => m.SurveyModule)
61 path: 'action_trigger/event_definition',
63 import('./triggers/triggers.module').then(m => m.TriggersModule)
65 path: ':schema/:table',
66 component: BasicAdminPageComponent
70 imports: [RouterModule.forChild(routes)],
71 exports: [RouterModule]
74 export class AdminLocalRoutingModule {}