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-10-17 07:57:37 +00:00
|
|
|
import { MatRippleModule, MatCheckboxModule } from '@angular/material';
|
2019-09-18 06:02:21 +00:00
|
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
|
|
import { MatIconModule } from '@angular/material/icon';
|
|
|
|
|
2019-10-17 07:57:37 +00:00
|
|
|
import { UCapUiModule } from '@ucap-webmessenger/ui';
|
|
|
|
|
2019-09-18 06:02:21 +00:00
|
|
|
import { ListItemComponent } from './components/list-item.component';
|
2019-10-02 08:12:51 +00:00
|
|
|
import { UserListItemComponent } from './components/user-list-item.component';
|
2019-09-18 06:02:21 +00:00
|
|
|
|
2019-10-02 08:12:51 +00:00
|
|
|
const COMPONENTS = [ListItemComponent, UserListItemComponent];
|
2019-09-18 06:02:21 +00:00
|
|
|
|
|
|
|
const SERVICES = [];
|
|
|
|
|
|
|
|
@NgModule({
|
2019-10-02 08:12:51 +00:00
|
|
|
imports: [
|
|
|
|
CommonModule,
|
|
|
|
FlexLayoutModule,
|
|
|
|
MatButtonModule,
|
|
|
|
MatIconModule,
|
|
|
|
MatRippleModule,
|
2019-10-17 07:57:37 +00:00
|
|
|
MatCheckboxModule,
|
|
|
|
|
|
|
|
UCapUiModule
|
2019-10-02 08:12:51 +00:00
|
|
|
],
|
2019-09-18 06:02:21 +00:00
|
|
|
exports: [...COMPONENTS],
|
|
|
|
declarations: [...COMPONENTS]
|
|
|
|
})
|
2019-10-07 07:29:38 +00:00
|
|
|
export class UCapUiProfileModule {
|
|
|
|
public static forRoot(): ModuleWithProviders<UCapUiProfileModule> {
|
2019-09-18 06:02:21 +00:00
|
|
|
return {
|
2019-10-07 07:29:38 +00:00
|
|
|
ngModule: UCapUiProfileModule,
|
2019-09-18 06:02:21 +00:00
|
|
|
providers: [...SERVICES]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|