2023-11-29 14:26:40 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
|
|
// import { DescriptionWizardComponent } from './description-wizard/description-wizard.component';
|
|
|
|
// import { DescriptionOverviewComponent } from './overview/description-overview.component';
|
|
|
|
|
|
|
|
const routes: Routes = [
|
|
|
|
{
|
2023-12-20 08:20:38 +01:00
|
|
|
path: 'overview',
|
|
|
|
loadChildren: () => import('./overview/description-overview.module').then(m => m.DescriptionOverviewModule),
|
2023-11-29 14:26:40 +01:00
|
|
|
data: {
|
|
|
|
breadcrumb: true
|
2023-12-20 08:20:38 +01:00
|
|
|
}
|
2023-11-29 14:26:40 +01:00
|
|
|
},
|
|
|
|
{
|
2023-12-20 08:20:38 +01:00
|
|
|
path: 'edit',
|
|
|
|
loadChildren: () => import('./editor/description-editor.module').then(m => m.DescriptionEditorModule),
|
2023-11-29 14:26:40 +01:00
|
|
|
data: {
|
|
|
|
breadcrumb: true
|
2023-12-20 08:20:38 +01:00
|
|
|
}
|
2023-12-01 18:18:41 +01:00
|
|
|
},
|
|
|
|
{
|
2023-12-20 08:20:38 +01:00
|
|
|
path: '',
|
|
|
|
loadChildren: () => import('./listing/description-listing.module').then(m => m.DescriptionListingModule),
|
2023-12-01 18:18:41 +01:00
|
|
|
data: {
|
2023-12-20 08:20:38 +01:00
|
|
|
breadcrumb: true
|
2023-12-06 22:10:01 +01:00
|
|
|
},
|
|
|
|
},
|
2023-11-29 14:26:40 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [RouterModule.forChild(routes)],
|
2023-12-06 22:10:01 +01:00
|
|
|
exports: [RouterModule],
|
2023-12-20 08:20:38 +01:00
|
|
|
providers: []
|
2023-11-29 14:26:40 +01:00
|
|
|
})
|
|
|
|
export class DescriptionRoutingModule { }
|