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-11-15 01:13:18 +00:00
|
|
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
|
|
|
2019-11-07 08:33:03 +00:00
|
|
|
import { ScrollingModule } from '@angular/cdk/scrolling';
|
|
|
|
|
2019-11-18 09:35:27 +00:00
|
|
|
import { MatRippleModule } from '@angular/material';
|
|
|
|
|
2019-10-04 07:14:14 +00:00
|
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
|
|
import { MatIconModule } from '@angular/material/icon';
|
2019-10-07 07:29:38 +00:00
|
|
|
import { MatInputModule } from '@angular/material/input';
|
|
|
|
import { MatSelectModule } from '@angular/material/select';
|
2019-10-04 07:14:14 +00:00
|
|
|
import { MatTreeModule } from '@angular/material/tree';
|
2019-09-24 00:03:36 +00:00
|
|
|
|
2019-10-07 07:29:38 +00:00
|
|
|
import { TenantSearchComponent } from './components/tenant-search.component';
|
2019-10-04 04:45:02 +00:00
|
|
|
import { TreeComponent } from './components/tree.component';
|
2019-09-24 00:03:36 +00:00
|
|
|
|
2019-10-07 07:29:38 +00:00
|
|
|
const COMPONENTS = [TenantSearchComponent, TreeComponent];
|
2019-09-18 06:02:21 +00:00
|
|
|
const SERVICES = [];
|
|
|
|
|
|
|
|
@NgModule({
|
2019-10-04 07:14:14 +00:00
|
|
|
imports: [
|
|
|
|
CommonModule,
|
|
|
|
ReactiveFormsModule,
|
2019-11-07 08:33:03 +00:00
|
|
|
|
2019-11-15 01:13:18 +00:00
|
|
|
FlexLayoutModule,
|
2019-11-07 08:33:03 +00:00
|
|
|
ScrollingModule,
|
|
|
|
|
2019-11-18 09:35:27 +00:00
|
|
|
MatRippleModule,
|
2019-10-04 07:14:14 +00:00
|
|
|
MatButtonModule,
|
|
|
|
MatIconModule,
|
2019-10-07 07:29:38 +00:00
|
|
|
MatInputModule,
|
|
|
|
MatSelectModule,
|
2019-10-04 07:14:14 +00:00
|
|
|
MatTreeModule
|
|
|
|
],
|
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]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|