2026-03-16 00:35:34 +03:30
|
|
|
import { Route } from '@angular/router';
|
2026-03-16 17:56:22 +03:30
|
|
|
import { CONSUMER_ACCOUNTS_ROUTES } from './modules/accounts/constants';
|
|
|
|
|
import { CONSUMER_BUSINESS_ACTIVITIES_ROUTES } from './modules/businessActivities/constants';
|
2026-04-08 18:15:27 +03:30
|
|
|
import { CONSUMER_CUSTOMERS_ROUTES } from './modules/customers/constants';
|
2026-03-16 00:35:34 +03:30
|
|
|
|
|
|
|
|
export const CONSUMER_ROUTES = {
|
|
|
|
|
path: 'consumer',
|
|
|
|
|
loadComponent: () => import('./layouts/layout.component').then((m) => m.LayoutComponent),
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: '',
|
|
|
|
|
loadComponent: () =>
|
|
|
|
|
import('./modules/dashboard/views/index.component').then((m) => m.DashboardComponent),
|
|
|
|
|
},
|
2026-03-16 17:56:22 +03:30
|
|
|
...CONSUMER_ACCOUNTS_ROUTES,
|
|
|
|
|
...CONSUMER_BUSINESS_ACTIVITIES_ROUTES,
|
2026-04-08 18:15:27 +03:30
|
|
|
...CONSUMER_CUSTOMERS_ROUTES,
|
2026-03-16 00:35:34 +03:30
|
|
|
],
|
|
|
|
|
} as Route;
|