You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/npm/ng-packs/dist/identity-config/bundles/abp-ng.identity.config.umd....

2 lines
2.6 KiB

{"version":3,"sources":["ng://@abp/ng.identity.config/lib/services/identity-config.service.ts","ng://@abp/ng.identity.config/lib/identity-config.module.ts"],"names":["IdentityConfigService","router","restService","this","addAbpRoutes","name","path","order","wrapper","iconClass","parentName","layout","children","requiredPolicy","Injectable","args","providedIn","Router","RestService","ɵ0","noop","IdentityConfigModule","NgModule","providers","provide","APP_INITIALIZER","deps","useFactory","multi"],"mappings":"ieAAA,IAAAA,EAAA,WASE,SAAAA,EAAoBC,EAAwBC,GAAxBC,KAAAF,OAAAA,EAAwBE,KAAAD,YAAAA,EAC1CE,EAAAA,aAAa,CACX,CACEC,KAAM,uCACNC,KAAM,GACNC,MAAO,EACPC,SAAS,EACTC,UAAW,gBAEb,CACEJ,KAAM,uCACNC,KAAM,WACNC,MAAO,EACPG,WAAY,uCACZC,OAAM,cACNF,UAAW,kBACXG,SAAU,CACR,CAAEN,KAAM,QAASD,KAAM,qBAAsBE,MAAO,EAAGM,eAAgB,qBACvE,CAAEP,KAAM,QAASD,KAAM,qBAAsBE,MAAO,EAAGM,eAAgB,oDAtBhFC,EAAAA,WAAUC,KAAA,CAAC,CACVC,WAAY,oDAJLC,EAAAA,cAF2BC,EAAAA,sKAApC,GCAA,IAAAC,EAKqFC,EAAAA,KADrFC,EAAA,WAAA,SAAAA,KAGmC,2BAHlCC,EAAAA,SAAQP,KAAA,CAAC,CACRQ,UAAW,CAAC,CAAEC,QAASC,EAAAA,gBAAiBC,KAAM,CAAC1B,GAAwB2B,WAAUR,EAAQS,OAAO,QAE/DP,EAHnC","sourcesContent":["import { addAbpRoutes, eLayoutType, RestService } from '@abp/ng.core';\r\nimport { Injectable } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class IdentityConfigService {\r\n constructor(private router: Router, private restService: RestService) {\r\n addAbpRoutes([\r\n {\r\n name: 'AbpUiNavigation::Menu:Administration',\r\n path: '',\r\n order: 1,\r\n wrapper: true,\r\n iconClass: 'fa fa-wrench',\r\n },\r\n {\r\n name: 'AbpIdentity::Menu:IdentityManagement',\r\n path: 'identity',\r\n order: 1,\r\n parentName: 'AbpUiNavigation::Menu:Administration',\r\n layout: eLayoutType.application,\r\n iconClass: 'fa fa-id-card-o',\r\n children: [\r\n { path: 'roles', name: 'AbpIdentity::Roles', order: 1, requiredPolicy: 'AbpIdentity.Roles' },\r\n { path: 'users', name: 'AbpIdentity::Users', order: 2, requiredPolicy: 'AbpIdentity.Users' },\r\n ],\r\n },\r\n ]);\r\n }\r\n}\r\n","import { noop } from '@abp/ng.core';\r\nimport { APP_INITIALIZER, NgModule } from '@angular/core';\r\nimport { IdentityConfigService } from './services/identity-config.service';\r\n\r\n@NgModule({\r\n providers: [{ provide: APP_INITIALIZER, deps: [IdentityConfigService], useFactory: noop, multi: true }],\r\n})\r\nexport class IdentityConfigModule {}\r\n"]}