2019-09-18 06:02:21 +00:00
|
|
|
import { NgModule, ModuleWithProviders } from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
|
2019-10-02 05:34:17 +00:00
|
|
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
|
|
|
2019-09-18 06:02:21 +00:00
|
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
|
|
import { MatIconModule } from '@angular/material/icon';
|
|
|
|
|
|
|
|
import { ListItemComponent } from './components/list-item.component';
|
|
|
|
|
|
|
|
const COMPONENTS = [ListItemComponent];
|
|
|
|
|
|
|
|
const SERVICES = [];
|
|
|
|
|
|
|
|
@NgModule({
|
2019-10-02 05:34:17 +00:00
|
|
|
imports: [CommonModule, FlexLayoutModule, MatButtonModule, MatIconModule],
|
2019-09-18 06:02:21 +00:00
|
|
|
exports: [...COMPONENTS],
|
|
|
|
declarations: [...COMPONENTS]
|
|
|
|
})
|
|
|
|
export class UcapUiProfileModule {
|
|
|
|
public static forRoot(): ModuleWithProviders<UcapUiProfileModule> {
|
|
|
|
return {
|
|
|
|
ngModule: UcapUiProfileModule,
|
|
|
|
providers: [...SERVICES]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|