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/tenant-management-config/fesm2015/abp-ng.tenant-management.co...

76 lines
2.2 KiB

import { Injectable, ɵɵdefineInjectable, NgModule, APP_INITIALIZER } from '@angular/core';
import { addAbpRoutes, noop } from '@abp/ng.core';
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
class TenantManagementConfigService {
constructor() {
addAbpRoutes({
name: 'AbpTenantManagement::Menu:TenantManagement',
path: 'tenant-management',
parentName: 'AbpUiNavigation::Menu:Administration',
layout: 'application' /* application */,
iconClass: 'fa fa-users',
children: [
{
path: 'tenants',
name: 'AbpTenantManagement::Tenants',
order: 1,
requiredPolicy: 'AbpTenantManagement.Tenants',
},
],
});
}
}
TenantManagementConfigService.decorators = [
{
type: Injectable,
args: [
{
providedIn: 'root',
},
],
},
];
/** @nocollapse */
TenantManagementConfigService.ctorParameters = () => [];
/** @nocollapse */ TenantManagementConfigService.ngInjectableDef = ɵɵdefineInjectable({
factory: function TenantManagementConfigService_Factory() {
return new TenantManagementConfigService();
},
token: TenantManagementConfigService,
providedIn: 'root',
});
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
const ɵ0 = noop;
class TenantManagementConfigModule {}
TenantManagementConfigModule.decorators = [
{
type: NgModule,
args: [
{
providers: [{ provide: APP_INITIALIZER, deps: [TenantManagementConfigService], useFactory: ɵ0, multi: true }],
},
],
},
];
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
export { TenantManagementConfigModule, TenantManagementConfigService };
//# sourceMappingURL=abp-ng.tenant-management.config.js.map