2019-09-18 06:02:21 +00:00
|
|
|
import { NgModule, ModuleWithProviders } from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
|
|
|
2019-09-24 00:03:36 +00:00
|
|
|
import { MatExpansionModule } from '@angular/material/expansion';
|
|
|
|
|
2019-10-04 04:45:02 +00:00
|
|
|
import { TreeComponent } from './components/tree.component';
|
2019-09-24 00:03:36 +00:00
|
|
|
|
2019-10-04 04:45:02 +00:00
|
|
|
const COMPONENTS = [TreeComponent];
|
2019-09-18 06:02:21 +00:00
|
|
|
const SERVICES = [];
|
|
|
|
|
|
|
|
@NgModule({
|
2019-09-24 00:03:36 +00:00
|
|
|
imports: [CommonModule, ReactiveFormsModule, MatExpansionModule],
|
2019-09-18 06:02:21 +00:00
|
|
|
exports: [...COMPONENTS],
|
|
|
|
declarations: [...COMPONENTS]
|
|
|
|
})
|
|
|
|
export class UCapUiOrganizationModule {
|
|
|
|
public static forRoot(): ModuleWithProviders<UCapUiOrganizationModule> {
|
|
|
|
return {
|
|
|
|
ngModule: UCapUiOrganizationModule,
|
|
|
|
providers: [...SERVICES]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|