mirror of https://github.com/abpframework/abp
parent
dff718b6f4
commit
ef9e911649
@ -1,3 +0,0 @@
|
||||
# @abp/ng.tenant-management.config
|
||||
|
||||
[docs.abp.io](https://docs.abp.io)
|
@ -1,6 +0,0 @@
|
||||
const jestConfig = require('../../jest.config');
|
||||
|
||||
module.exports = {
|
||||
...jestConfig,
|
||||
name: 'tenant-management-config',
|
||||
};
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
|
||||
"dest": "../../dist/tenant-management-config",
|
||||
"lib": {
|
||||
"entryFile": "src/public-api.ts"
|
||||
}
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
{
|
||||
"name": "@abp/ng.tenant-management.config",
|
||||
"version": "2.9.0",
|
||||
"homepage": "https://abp.io",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/abpframework/abp.git"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { addAbpRoutes, eLayoutType } from '@abp/ng.core';
|
||||
import { eTenantManagementRouteNames } from '@abp/ng.tenant-management';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class TenantManagementConfigService {
|
||||
constructor() {
|
||||
addAbpRoutes([
|
||||
{
|
||||
name: eTenantManagementRouteNames.Administration,
|
||||
path: '',
|
||||
order: 1,
|
||||
wrapper: true,
|
||||
iconClass: 'fa fa-wrench',
|
||||
},
|
||||
{
|
||||
name: eTenantManagementRouteNames.TenantManagement,
|
||||
path: 'tenant-management',
|
||||
parentName: eTenantManagementRouteNames.Administration,
|
||||
layout: eLayoutType.application,
|
||||
iconClass: 'fa fa-users',
|
||||
children: [
|
||||
{
|
||||
path: 'tenants',
|
||||
name: eTenantManagementRouteNames.Tenants,
|
||||
order: 1,
|
||||
requiredPolicy: 'AbpTenantManagement.Tenants',
|
||||
},
|
||||
],
|
||||
},
|
||||
]);
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
import { NgModule, APP_INITIALIZER } from '@angular/core';
|
||||
import { TenantManagementConfigService } from './services/tenant-management-config.service';
|
||||
import { noop } from '@abp/ng.core';
|
||||
|
||||
@NgModule({
|
||||
providers: [{ provide: APP_INITIALIZER, deps: [TenantManagementConfigService], useFactory: noop, multi: true }],
|
||||
})
|
||||
export class TenantManagementConfigModule {}
|
@ -1,2 +0,0 @@
|
||||
export * from './lib/services/tenant-management-config.service';
|
||||
export * from './lib/tenant-management-config.module';
|
@ -1,19 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.prod.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../out-tsc/lib",
|
||||
"target": "es2015",
|
||||
"declaration": true,
|
||||
"inlineSources": true,
|
||||
"types": [],
|
||||
"lib": ["dom", "es2018"]
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
"skipTemplateCodegen": true,
|
||||
"strictMetadataEmit": true,
|
||||
"fullTemplateTypeCheck": true,
|
||||
"strictInjectionParameters": true,
|
||||
"enableResourceInlining": true
|
||||
},
|
||||
"exclude": ["src/test.ts", "**/*.spec.ts"]
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"extends": "./tsconfig.lib.json",
|
||||
"angularCompilerOptions": {
|
||||
"enableIvy": false
|
||||
}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.prod.json",
|
||||
"compilerOptions": {
|
||||
"emitDecoratorMetadata": true,
|
||||
"esModuleInterop": true,
|
||||
"outDir": "../../dist/out-tsc",
|
||||
"module": "commonjs",
|
||||
"types": ["jest", "node"]
|
||||
},
|
||||
"include": ["**/*.spec.ts", "**/*.d.ts"]
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
{
|
||||
"extends": "../../tslint.json",
|
||||
"rules": {
|
||||
"directive-selector": [
|
||||
true,
|
||||
"attribute",
|
||||
"abp",
|
||||
"camelCase"
|
||||
],
|
||||
"component-selector": [
|
||||
true,
|
||||
"element",
|
||||
"abp",
|
||||
"kebab-case"
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in new issue