mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
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.
32 lines
1.2 KiB
32 lines
1.2 KiB
import { CoreModule } from '@abp/ng.core';
|
|
import { ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
import { ModuleWithProviders, NgModule } from '@angular/core';
|
|
import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
|
|
import { FeatureManagementComponent } from './components/feature-management/feature-management.component';
|
|
import { FreeTextInputDirective } from './directives/free-text-input.directive';
|
|
import { provideFeatureManagementConfig } from './providers';
|
|
import { FeatureManagementTabComponent } from './components';
|
|
|
|
const exported = [
|
|
FeatureManagementComponent,
|
|
FreeTextInputDirective,
|
|
FeatureManagementTabComponent,
|
|
];
|
|
|
|
/**
|
|
* @deprecated FeatureManagementModule is deprecated .
|
|
* @description use `provideFeatureManagementConfig` *function* for config settings.
|
|
* You can import directives and pipes directly whichs were belongs to FeatureManagementModule are switched to standalone.
|
|
*/
|
|
@NgModule({
|
|
imports: [CoreModule, ThemeSharedModule, NgbNavModule, ...exported],
|
|
exports: [...exported],
|
|
})
|
|
export class FeatureManagementModule {
|
|
static forRoot(): ModuleWithProviders<FeatureManagementModule> {
|
|
return {
|
|
ngModule: FeatureManagementModule,
|
|
providers: [provideFeatureManagementConfig()],
|
|
};
|
|
}
|
|
}
|
|
|