37 lines
1010 B
TypeScript
37 lines
1010 B
TypeScript
import { NgModule, ModuleWithProviders } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
|
|
import { MatButtonModule } from '@angular/material/button';
|
|
import { MatIconModule } from '@angular/material/icon';
|
|
|
|
import { ListItemComponent } from './components/list-item.component';
|
|
import { UserListItemComponent } from './components/user-list-item.component';
|
|
import { MatRippleModule, MatCheckboxModule } from '@angular/material';
|
|
|
|
const COMPONENTS = [ListItemComponent, UserListItemComponent];
|
|
|
|
const SERVICES = [];
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
FlexLayoutModule,
|
|
MatButtonModule,
|
|
MatIconModule,
|
|
MatRippleModule,
|
|
MatCheckboxModule
|
|
],
|
|
exports: [...COMPONENTS],
|
|
declarations: [...COMPONENTS]
|
|
})
|
|
export class UCapUiProfileModule {
|
|
public static forRoot(): ModuleWithProviders<UCapUiProfileModule> {
|
|
return {
|
|
ngModule: UCapUiProfileModule,
|
|
providers: [...SERVICES]
|
|
};
|
|
}
|
|
}
|