Files
psp_panel/src/app.routes.ts
T

41 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-03-16 00:35:34 +03:30
import { CONSUMER_ROUTES } from '@/domains/consumer/routes';
import { PARTNER_ROUTES } from '@/domains/partner/routes';
2026-03-18 13:35:57 +03:30
import { POS_ROUTES } from '@/domains/pos/routes';
2026-03-16 00:35:34 +03:30
import { PROVIDER_ROUTES } from '@/domains/provider/routes';
2026-03-10 13:36:45 +03:30
import { SUPER_ADMIN_ROUTES } from '@/domains/superAdmin/routes';
import { AuthComponent } from '@/modules/auth/pages/auth.component';
2025-01-03 12:53:05 +03:00
import { Routes } from '@angular/router';
2026-03-18 13:35:57 +03:30
import { AppLayout } from './app/layout/default/app.layout.component';
2025-01-07 13:04:10 +03:00
import { Dashboard } from './app/pages/dashboard/dashboard';
import { Documentation } from './app/pages/documentation/documentation';
import { Notfound } from './app/pages/notfound/notfound.component';
2025-01-03 12:53:05 +03:00
2025-01-07 12:16:16 +03:00
export const appRoutes: Routes = [
{
path: '',
component: AppLayout,
children: [
2026-03-10 13:36:45 +03:30
SUPER_ADMIN_ROUTES,
2026-03-16 00:35:34 +03:30
CONSUMER_ROUTES,
PROVIDER_ROUTES,
PARTNER_ROUTES,
{ path: 'ng', component: Dashboard },
{ path: 'uikit', loadChildren: () => import('./app/pages/uikit/uikit.routes') },
{ path: 'documentation', component: Documentation },
{ path: 'pages', loadChildren: () => import('./app/pages/pages.routes') },
],
},
2026-03-29 18:07:10 +03:30
POS_ROUTES,
2026-03-10 13:36:45 +03:30
// {
// path: 'pos/:posId',
// component: POSComponent,
// },
{
path: 'auth',
component: AuthComponent,
},
{ path: 'notfound', component: Notfound },
// { path: 'auth', loadChildren: () => import('./app/pages/auth/auth.routes') },
{ path: '**', redirectTo: '/notfound' },
2025-01-03 12:53:05 +03:00
];