mirror of https://github.com/abpframework/abp
parent
bb50d9272e
commit
0b6806d559
@ -0,0 +1,2 @@
|
|||||||
|
export * from './components';
|
||||||
|
export * from './route-names';
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
export const enum eAccountRouteNames {
|
||||||
|
Account = 'AbpAccount::Menu:Account',
|
||||||
|
Login = 'AbpAccount::Login',
|
||||||
|
Register = 'AbpAccount::Register',
|
||||||
|
ManageProfile = 'AbpAccount::ManageYourProfile',
|
||||||
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
export * from './lib/account.module';
|
export * from './lib/account.module';
|
||||||
export * from './lib/components';
|
export * from './lib/components';
|
||||||
export * from './lib/enums/components';
|
export * from './lib/enums';
|
||||||
export * from './lib/tokens';
|
export * from './lib/tokens';
|
||||||
export * from './lib/models';
|
export * from './lib/models';
|
||||||
export * from './lib/services';
|
export * from './lib/services';
|
||||||
|
|||||||
@ -0,0 +1,2 @@
|
|||||||
|
export * from './components';
|
||||||
|
export * from './route-names';
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
export const enum eIdentityRouteNames {
|
||||||
|
Administration = 'AbpUiNavigation::Menu:Administration',
|
||||||
|
IdentityManagement = 'AbpIdentity::Menu:IdentityManagement',
|
||||||
|
Roles = 'AbpIdentity::Roles',
|
||||||
|
Users = 'AbpIdentity::Users',
|
||||||
|
}
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
export * from './components';
|
||||||
|
export * from './route-names';
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
export const enum eSettingManagementRouteNames {
|
||||||
|
Settings = 'AbpSettingManagement::Settings',
|
||||||
|
}
|
||||||
@ -1,3 +1,3 @@
|
|||||||
export * from './lib/setting-management.module';
|
export * from './lib/setting-management.module';
|
||||||
export * from './lib/components/setting-management.component';
|
export * from './lib/components/setting-management.component';
|
||||||
export * from './lib/enums/components';
|
export * from './lib/enums';
|
||||||
|
|||||||
@ -1,25 +1,34 @@
|
|||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
import { addAbpRoutes, eLayoutType } from '@abp/ng.core';
|
import { addAbpRoutes, eLayoutType } from '@abp/ng.core';
|
||||||
|
import { eTenantManagementRouteNames } from '@abp/ng.tenant-management';
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root',
|
providedIn: 'root',
|
||||||
})
|
})
|
||||||
export class TenantManagementConfigService {
|
export class TenantManagementConfigService {
|
||||||
constructor() {
|
constructor() {
|
||||||
addAbpRoutes({
|
addAbpRoutes([
|
||||||
name: 'AbpTenantManagement::Menu:TenantManagement',
|
{
|
||||||
|
name: eTenantManagementRouteNames.Administration,
|
||||||
|
path: '',
|
||||||
|
order: 1,
|
||||||
|
wrapper: true,
|
||||||
|
iconClass: 'fa fa-wrench',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: eTenantManagementRouteNames.TenantManagement,
|
||||||
path: 'tenant-management',
|
path: 'tenant-management',
|
||||||
parentName: 'AbpUiNavigation::Menu:Administration',
|
parentName: eTenantManagementRouteNames.Administration,
|
||||||
layout: eLayoutType.application,
|
layout: eLayoutType.application,
|
||||||
iconClass: 'fa fa-users',
|
iconClass: 'fa fa-users',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'tenants',
|
path: 'tenants',
|
||||||
name: 'AbpTenantManagement::Tenants',
|
name: eTenantManagementRouteNames.Tenants,
|
||||||
order: 1,
|
order: 1,
|
||||||
requiredPolicy: 'AbpTenantManagement.Tenants',
|
requiredPolicy: 'AbpTenantManagement.Tenants',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
},
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,2 @@
|
|||||||
|
export * from './components';
|
||||||
|
export * from './route-names';
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
export const enum eTenantManagementRouteNames {
|
||||||
|
Administration = 'AbpUiNavigation::Menu:Administration',
|
||||||
|
TenantManagement = 'AbpTenantManagement::Menu:TenantManagement',
|
||||||
|
Tenants = 'AbpTenantManagement::Tenants',
|
||||||
|
}
|
||||||
@ -1,7 +1,7 @@
|
|||||||
export * from './lib/tenant-management.module';
|
export * from './lib/tenant-management.module';
|
||||||
export * from './lib/actions';
|
export * from './lib/actions';
|
||||||
export * from './lib/components';
|
export * from './lib/components';
|
||||||
export * from './lib/enums/components';
|
export * from './lib/enums';
|
||||||
export * from './lib/models';
|
export * from './lib/models';
|
||||||
export * from './lib/services';
|
export * from './lib/services';
|
||||||
export * from './lib/states';
|
export * from './lib/states';
|
||||||
|
|||||||
Loading…
Reference in new issue