Revert "LP#1332651 do not strip internal spaces in barcode"
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / admin / server / routing.module.ts
1 import {NgModule} from '@angular/core';
2 import {RouterModule, Routes} from '@angular/router';
3 import {AdminServerSplashComponent} from './admin-server-splash.component';
4 import {BasicAdminPageComponent} from '@eg/staff/admin/basic-admin-page.component';
5 import {OrgUnitTypeComponent} from './org-unit-type.component';
6 import {PrintTemplateComponent} from './print-template.component';
7 import {PermGroupTreeComponent} from './perm-group-tree.component';
8
9 const routes: Routes = [{
10     path: 'splash',
11     component: AdminServerSplashComponent
12 }, {
13     path: 'actor/org_unit_type',
14     component: OrgUnitTypeComponent
15 }, {
16     path: 'config/floating_group',
17     loadChildren: () =>
18       import('./floating-group/floating-group.module').then(m => m.FloatingGroupModule)
19 }, {
20     path: 'config/print_template',
21     component: PrintTemplateComponent
22 }, {
23     path: 'permission/grp_tree',
24     component: PermGroupTreeComponent
25 }, {
26     path: 'actor/org_unit',
27     loadChildren: () =>
28       import('./org-unit.module').then(m => m.OrgUnitModule)
29 }, {
30     path: 'actor/org_unit_proximity_adjustment',
31     component: BasicAdminPageComponent,
32     data: [{schema: 'actor',
33         table: 'org_unit_proximity_adjustment', disableOrgFilter: true}]
34 }, {
35     path: 'asset/call_number_prefix',
36     component: BasicAdminPageComponent,
37     data: [{schema: 'asset',
38         table: 'call_number_prefix', readonlyFields: 'label_sortkey'}]
39 }, {
40     path: 'asset/call_number_suffix',
41     component: BasicAdminPageComponent,
42     data: [{schema: 'asset',
43         table: 'call_number_suffix', readonlyFields: 'label_sortkey'}]
44 }, {
45     path: ':schema/:table',
46     component: BasicAdminPageComponent
47 }];
48
49 @NgModule({
50   imports: [RouterModule.forChild(routes)],
51   exports: [RouterModule]
52 })
53
54 export class AdminServerRoutingModule {}