{"ast":null,"code":"import { RouterModule } from '@angular/router';\nimport { BlankComponent } from './layouts/blank/blank.component';\nimport { FullComponent } from './layouts/full/full.component';\nimport { AuthGuard } from './guards/auth.guard';\nimport { ServerErrorComponent } from './errors/server-error/server-error.component';\nimport { PrinterComponent } from './pages/ui-components/printer/printer.component'; // Printer bileşeni eklendi\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/router\";\nconst routes = [{\n  path: '',\n  component: FullComponent,\n  canActivate: [AuthGuard],\n  children: [{\n    path: '',\n    redirectTo: '/dashboard',\n    pathMatch: 'full'\n  }, {\n    path: 'dashboard',\n    loadChildren: () => import('./pages/pages.module').then(m => m.PagesModule)\n  }, {\n    path: 'ui-components',\n    loadChildren: () => import('./pages/ui-components/ui-components.module').then(m => m.UiComponentsModule)\n  }, {\n    path: 'printers',\n    // Yazıcılar rotası eklendi\n    component: PrinterComponent\n  }]\n}, {\n  path: '',\n  component: BlankComponent,\n  children: [{\n    path: 'authentication',\n    loadChildren: () => import('./pages/authentication/authentication.module').then(m => m.AuthenticationModule)\n  }]\n}, {\n  path: '500',\n  component: ServerErrorComponent\n}];\nexport class AppRoutingModule {\n  static #_ = this.ɵfac = function AppRoutingModule_Factory(t) {\n    return new (t || AppRoutingModule)();\n  };\n  static #_2 = this.ɵmod = /*@__PURE__*/i0.ɵɵdefineNgModule({\n    type: AppRoutingModule\n  });\n  static #_3 = this.ɵinj = /*@__PURE__*/i0.ɵɵdefineInjector({\n    imports: [RouterModule.forRoot(routes), RouterModule]\n  });\n}\n(function () {\n  (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(AppRoutingModule, {\n    imports: [i1.RouterModule],\n    exports: [RouterModule]\n  });\n})();","map":{"version":3,"names":["RouterModule","BlankComponent","FullComponent","AuthGuard","ServerErrorComponent","PrinterComponent","routes","path","component","canActivate","children","redirectTo","pathMatch","loadChildren","then","m","PagesModule","UiComponentsModule","AuthenticationModule","AppRoutingModule","_","_2","_3","forRoot","imports","i1","exports"],"sources":["C:\\Users\\Cem\\Desktop\\InventryUI-Client\\src\\app\\app-routing.module.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { BlankComponent } from './layouts/blank/blank.component';\nimport { FullComponent } from './layouts/full/full.component';\nimport { AuthGuard } from './guards/auth.guard';\nimport { ServerErrorComponent } from './errors/server-error/server-error.component';\nimport { PrinterComponent } from './pages/ui-components/printer/printer.component'; // Printer bileşeni eklendi\n\nconst routes: Routes = [\n  {\n    path: '',\n    component: FullComponent,\n    canActivate: [AuthGuard],\n    children: [\n      {\n        path: '',\n        redirectTo: '/dashboard',\n        pathMatch: 'full',\n      },\n      {\n        path: 'dashboard',\n        loadChildren: () =>\n          import('./pages/pages.module').then((m) => m.PagesModule),\n      },\n      {\n        path: 'ui-components',\n        loadChildren: () =>\n          import('./pages/ui-components/ui-components.module').then(\n            (m) => m.UiComponentsModule\n          ),\n      },\n      {\n        path: 'printers', // Yazıcılar rotası eklendi\n        component: PrinterComponent,\n      },\n    ],\n  },\n  {\n    path: '',\n    component: BlankComponent,\n    children: [\n      {\n        path: 'authentication',\n        loadChildren: () =>\n          import('./pages/authentication/authentication.module').then(\n            (m) => m.AuthenticationModule\n          ),\n      },\n    ],\n  },\n  { path: '500', component: ServerErrorComponent },\n];\n\n@NgModule({\n  imports: [RouterModule.forRoot(routes)],\n  exports: [RouterModule],\n})\nexport class AppRoutingModule {}\n"],"mappings":"AACA,SAASA,YAAY,QAAgB,iBAAiB;AACtD,SAASC,cAAc,QAAQ,iCAAiC;AAChE,SAASC,aAAa,QAAQ,+BAA+B;AAC7D,SAASC,SAAS,QAAQ,qBAAqB;AAC/C,SAASC,oBAAoB,QAAQ,8CAA8C;AACnF,SAASC,gBAAgB,QAAQ,iDAAiD,CAAC,CAAC;;;AAEpF,MAAMC,MAAM,GAAW,CACrB;EACEC,IAAI,EAAE,EAAE;EACRC,SAAS,EAAEN,aAAa;EACxBO,WAAW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