This commit is contained in:
2026-03-10 13:36:45 +03:30
parent 45d48f79dc
commit b379787002
208 changed files with 2328 additions and 2510 deletions
+6 -27
View File
@@ -1,16 +1,5 @@
import { SUPER_ADMIN_ROUTES } from '@/domains/superAdmin/routes';
import { AuthComponent } from '@/modules/auth/pages/auth.component';
import { BANK_ACCOUNTS_ROUTES } from '@/modules/bankAccounts/constants';
import { BANK_BRANCHES_ROUTES } from '@/modules/bankBranches/constants';
import { CARDEX_ROUTES } from '@/modules/cardex/constants';
import { CUSTOMERS_ROUTES } from '@/modules/customers/constants';
import { DASHBOARD_ROUTES } from '@/modules/dashboard/constants';
import { INVENTORIES_ROUTES } from '@/modules/inventories/constants';
import { POSComponent } from '@/modules/pos/views/pos.component';
import { PRODUCT_BRANDS_ROUTES } from '@/modules/productBrands/constants';
import { PRODUCT_CATEGORIES_ROUTES } from '@/modules/productCategories/constants';
import { PRODUCTS_ROUTES } from '@/modules/products/constants';
import { SUPPLIERS_ROUTES } from '@/modules/suppliers/constants';
import { USERS_ROUTES } from '@/modules/users/constants';
import { Routes } from '@angular/router';
import { AppLayout } from './app/layout/component/app.layout.component';
import { Dashboard } from './app/pages/dashboard/dashboard';
@@ -22,27 +11,17 @@ export const appRoutes: Routes = [
path: '',
component: AppLayout,
children: [
SUPER_ADMIN_ROUTES,
{ path: 'ng', component: Dashboard },
...DASHBOARD_ROUTES,
...USERS_ROUTES,
...SUPPLIERS_ROUTES,
...PRODUCT_BRANDS_ROUTES,
...PRODUCT_CATEGORIES_ROUTES,
...CUSTOMERS_ROUTES,
...INVENTORIES_ROUTES,
...PRODUCTS_ROUTES,
...CARDEX_ROUTES,
...BANK_BRANCHES_ROUTES,
...BANK_ACCOUNTS_ROUTES,
{ path: 'uikit', loadChildren: () => import('./app/pages/uikit/uikit.routes') },
{ path: 'documentation', component: Documentation },
{ path: 'pages', loadChildren: () => import('./app/pages/pages.routes') },
],
},
{
path: 'pos/:posId',
component: POSComponent,
},
// {
// path: 'pos/:posId',
// component: POSComponent,
// },
{
path: 'auth',
component: AuthComponent,