@@ -3,98 +3,85 @@ import { HomeComponent } from './home/home.component';
33import { DocsLayoutComponent } from './index/docs-layout.component' ;
44import { IndexComponent } from './index/index.component' ;
55
6- export const samplesRoutes : Routes = [
6+ export const SamplesRoutes : Routes = [
77 {
88 component : HomeComponent ,
99 data : { displayName : 'Home' } ,
1010 path : 'home'
1111 } ,
1212 {
13- path : ' data-display' ,
14- loadChildren : ( ) => import ( './ data-display/data-display.routes' ) . then ( m => m . DataDisplayRoutes )
13+ loadChildren : ( ) => import ( './ data-display/data-display.routes' ) . then ( m => m . DataDisplayRoutes ) ,
14+ path : ' data-display'
1515 } ,
1616 {
17- data : [ 'DataEntriesModule' ] ,
1817 loadChildren : ( ) => import ( './data-entries/data-entries.routes' ) . then ( m => m . DataEntriesRoutes ) ,
1918 path : 'data-entries'
2019 } ,
2120 {
22- data : [ 'InteractionsModule' ] ,
2321 loadChildren : ( ) => import ( './interactions/interactions.routes' ) . then ( m => m . InteractionsRoutes ) ,
2422 path : 'interactions'
2523 } ,
2624 {
27- data : [ 'NotificationsModule' ] ,
2825 loadChildren : ( ) => import ( './notifications/notifications.routes' ) . then ( m => m . NotificationsRoutes ) ,
2926 path : 'notifications'
3027 } ,
3128 {
32- data : [ 'ListsModule' ] ,
3329 loadChildren : ( ) => import ( './lists/lists.routes' ) . then ( m => m . ListsRoutes ) ,
3430 path : 'lists'
3531 } ,
3632 {
37- data : [ 'ThemingModule' ] ,
3833 loadChildren : ( ) => import ( './theming/theming.routes' ) . then ( m => m . ThemingRoutes ) ,
3934 path : 'theming'
4035 } ,
4136 {
42- data : [ 'SchedulingModule' ] ,
4337 loadChildren : ( ) => import ( './scheduling/scheduling.routes' ) . then ( m => m . SchedulingRoutes ) ,
4438 path : 'scheduling'
4539 } ,
4640 {
47- data : [ 'MenusModule' ] ,
4841 loadChildren : ( ) => import ( './menus/menus.routes' ) . then ( m => m . MenusRoutes ) ,
4942 path : 'menus'
5043 } ,
5144 {
52- data : [ 'LayoutsModule' ] ,
5345 loadChildren : ( ) => import ( './layouts/layouts.routes' ) . then ( m => m . LayoutsRoutes ) ,
5446 path : 'layouts'
5547 } ,
5648 {
57- data : [ 'ServicesModule' ] ,
5849 loadChildren : ( ) => import ( './services/services.routes' ) . then ( m => m . ServicesRoutes ) ,
5950 path : 'services'
6051 } ,
6152 {
62- data : [ 'TreeGridModule' ] ,
6353 loadChildren : ( ) => import ( './tree-grid/tree-grid.routes' ) . then ( m => m . TreeGridRoutes ) ,
6454 path : 'tree-grid'
6555 } ,
6656 {
67- data : [ 'GridsModule' ] ,
6857 loadChildren : ( ) => import ( './grid/grids.routes' ) . then ( m => m . GridsRoutes ) ,
6958 path : 'grid'
7059 } ,
7160 {
72- data : [ 'PivotGridsModule' ] ,
7361 loadChildren : ( ) => import ( './pivot-grid/pivot-grids.routes' ) . then ( m => m . PivotGridsRoutes ) ,
7462 path : 'pivot-grid'
7563 } ,
7664 {
77- data : [ 'HierarchicalGridModule' ] ,
7865 loadChildren : ( ) => import ( './hierarchical-grid/hierarchical-grid.routes' ) . then ( m => m . HierarchicalGridRoutes ) ,
7966 path : 'hierarchical-grid'
8067 } ,
8168 {
82- data : [ 'PaginationModule' ] ,
8369 loadChildren : ( ) => import ( './pagination/pagination.routes' ) . then ( m => m . PaginatorRoutes ) ,
8470 path : 'pagination'
8571 }
8672] ;
87- export const appRoutes : Routes = [
73+
74+ export const AppRoutes : Routes = [
8875 {
8976 path : '' , pathMatch : 'full' , redirectTo : '/samples/home'
9077 } ,
9178 {
92- children : samplesRoutes ,
79+ children : SamplesRoutes ,
9380 component : DocsLayoutComponent ,
9481 path : ''
9582 } ,
9683 {
97- children : samplesRoutes ,
84+ children : SamplesRoutes ,
9885 component : IndexComponent ,
9986 path : 'samples'
10087 }
0 commit comments