|
|
|
@ -1,14 +1,14 @@
|
|
|
|
|
import { CoreModule } from '@abp/ng.core';
|
|
|
|
|
import { NgModule, Provider } from '@angular/core';
|
|
|
|
|
import { CoreModule, LazyModuleFactory } from '@abp/ng.core';
|
|
|
|
|
import { PermissionManagementModule } from '@abp/ng.permission-management';
|
|
|
|
|
import { ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
|
|
|
import { ModuleWithProviders, NgModule, NgModuleFactory } from '@angular/core';
|
|
|
|
|
import { NgbDropdownModule, NgbTabsetModule } from '@ng-bootstrap/ng-bootstrap';
|
|
|
|
|
import { NgxValidateCoreModule } from '@ngx-validate/core';
|
|
|
|
|
import { NgxsModule } from '@ngxs/store';
|
|
|
|
|
import { RolesComponent } from './components/roles/roles.component';
|
|
|
|
|
import { UsersComponent } from './components/users/users.component';
|
|
|
|
|
import { IdentityRoutingModule } from './identity-routing.module';
|
|
|
|
|
import { IdentityState } from './states/identity.state';
|
|
|
|
|
import { NgbTabsetModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
|
|
|
|
|
import { ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
|
|
|
import { UsersComponent } from './components/users/users.component';
|
|
|
|
|
import { PermissionManagementModule } from '@abp/ng.permission-management';
|
|
|
|
|
import { NgxValidateCoreModule } from '@ngx-validate/core';
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
|
declarations: [RolesComponent, UsersComponent],
|
|
|
|
@ -24,4 +24,15 @@ import { NgxValidateCoreModule } from '@ngx-validate/core';
|
|
|
|
|
NgxValidateCoreModule,
|
|
|
|
|
],
|
|
|
|
|
})
|
|
|
|
|
export class IdentityModule {}
|
|
|
|
|
export class IdentityModule {
|
|
|
|
|
static forChild(): ModuleWithProviders<IdentityModule> {
|
|
|
|
|
return {
|
|
|
|
|
ngModule: IdentityModule,
|
|
|
|
|
providers: [],
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static forLazy(): NgModuleFactory<IdentityModule> {
|
|
|
|
|
return new LazyModuleFactory(IdentityModule.forChild());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|