mirror of https://github.com/abpframework/abp.git
15 changed files with 25 additions and 85 deletions
@ -1,20 +0,0 @@ |
|||||
import { ModuleWithProviders, NgModule } from '@angular/core'; |
|
||||
import { Options } from './models/options'; |
|
||||
import { ACCOUNT_OPTIONS, optionsFactory } from './tokens/options.token'; |
|
||||
|
|
||||
@NgModule({}) |
|
||||
export class RootAccountModule { |
|
||||
static forRoot(options = {} as Options): ModuleWithProviders { |
|
||||
return { |
|
||||
ngModule: RootAccountModule, |
|
||||
providers: [ |
|
||||
{ provide: ACCOUNT_OPTIONS, useValue: options }, |
|
||||
{ |
|
||||
provide: 'ACCOUNT_OPTIONS', |
|
||||
useFactory: optionsFactory, |
|
||||
deps: [ACCOUNT_OPTIONS], |
|
||||
}, |
|
||||
], |
|
||||
}; |
|
||||
} |
|
||||
} |
|
||||
@ -1,11 +0,0 @@ |
|||||
import { ModuleWithProviders, NgModule } from '@angular/core'; |
|
||||
|
|
||||
@NgModule({}) |
|
||||
export class RootFeatureManagementModule { |
|
||||
static forRoot(): ModuleWithProviders { |
|
||||
return { |
|
||||
ngModule: RootFeatureManagementModule, |
|
||||
providers: [], |
|
||||
}; |
|
||||
} |
|
||||
} |
|
||||
@ -1,3 +1,2 @@ |
|||||
export * from './lib/root-feature-management.module'; |
|
||||
export * from './lib/feature-management.module'; |
export * from './lib/feature-management.module'; |
||||
export * from './lib/components'; |
export * from './lib/components'; |
||||
|
|||||
@ -1,11 +0,0 @@ |
|||||
import { ModuleWithProviders, NgModule } from '@angular/core'; |
|
||||
|
|
||||
@NgModule({}) |
|
||||
export class RootIdentityModule { |
|
||||
static forRoot(): ModuleWithProviders { |
|
||||
return { |
|
||||
ngModule: RootIdentityModule, |
|
||||
providers: [], |
|
||||
}; |
|
||||
} |
|
||||
} |
|
||||
@ -1,11 +0,0 @@ |
|||||
import { ModuleWithProviders, NgModule } from '@angular/core'; |
|
||||
|
|
||||
@NgModule({}) |
|
||||
export class RootPermissionManagementModule { |
|
||||
static forRoot(): ModuleWithProviders { |
|
||||
return { |
|
||||
ngModule: RootPermissionManagementModule, |
|
||||
providers: [], |
|
||||
}; |
|
||||
} |
|
||||
} |
|
||||
@ -1,11 +0,0 @@ |
|||||
import { ModuleWithProviders, NgModule } from '@angular/core'; |
|
||||
|
|
||||
@NgModule({}) |
|
||||
export class RootSettingManagementModule { |
|
||||
static forRoot(): ModuleWithProviders { |
|
||||
return { |
|
||||
ngModule: RootSettingManagementModule, |
|
||||
providers: [], |
|
||||
}; |
|
||||
} |
|
||||
} |
|
||||
@ -1,4 +1,3 @@ |
|||||
export * from './lib/root-setting-management.module'; |
|
||||
export * from './lib/setting-management.module'; |
export * from './lib/setting-management.module'; |
||||
export * from './lib/components'; |
|
||||
export * from './lib/constants'; |
export * from './lib/constants'; |
||||
|
export * from './lib/components/setting-layout.component'; |
||||
|
|||||
@ -1,11 +0,0 @@ |
|||||
import { ModuleWithProviders, NgModule } from '@angular/core'; |
|
||||
|
|
||||
@NgModule({}) |
|
||||
export class RootTenantManagementModule { |
|
||||
static forRoot(): ModuleWithProviders { |
|
||||
return { |
|
||||
ngModule: RootTenantManagementModule, |
|
||||
providers: [], |
|
||||
}; |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue