2019-12-23 14:59:56 +01:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {InputComponent} from "./input.component";
|
2020-11-12 18:57:32 +01:00
|
|
|
import {SharedModule} from "../../shared/shared.module";
|
2019-12-23 14:59:56 +01:00
|
|
|
import {MatFormFieldModule} from "@angular/material/form-field";
|
|
|
|
import {MatInputModule} from "@angular/material/input";
|
|
|
|
import {MatSelectModule} from "@angular/material/select";
|
|
|
|
import {MatCheckboxModule} from '@angular/material/checkbox';
|
2020-11-12 18:57:32 +01:00
|
|
|
import {IconsModule} from "../../utils/icons/icons.module";
|
2020-12-23 17:06:31 +01:00
|
|
|
import {IconsService} from "../../utils/icons/icons.service";
|
2021-02-01 11:14:08 +01:00
|
|
|
import {lock, remove_circle} from "../../utils/icons/icons";
|
2021-01-28 17:33:16 +01:00
|
|
|
import {MatChipsModule} from "@angular/material/chips";
|
|
|
|
import {MatAutocompleteModule} from "@angular/material/autocomplete";
|
|
|
|
import {MatIconModule} from "@angular/material/icon";
|
2021-03-03 19:04:53 +01:00
|
|
|
import {SafeHtmlPipeModule} from "../../utils/pipes/safeHTMLPipe.module";
|
2020-12-23 17:06:31 +01:00
|
|
|
|
2019-12-23 14:59:56 +01:00
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
SharedModule,
|
|
|
|
MatFormFieldModule,
|
|
|
|
MatInputModule,
|
|
|
|
MatSelectModule,
|
2020-11-01 16:41:02 +01:00
|
|
|
MatCheckboxModule,
|
2021-01-28 17:33:16 +01:00
|
|
|
IconsModule,
|
|
|
|
MatChipsModule,
|
|
|
|
MatAutocompleteModule,
|
2021-03-03 19:04:53 +01:00
|
|
|
MatIconModule,
|
|
|
|
SafeHtmlPipeModule
|
2019-12-23 14:59:56 +01:00
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
InputComponent
|
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
InputComponent
|
|
|
|
]
|
|
|
|
})
|
|
|
|
export class InputModule {
|
2020-12-23 17:06:31 +01:00
|
|
|
constructor(private iconsService: IconsService) {
|
2021-02-01 11:14:08 +01:00
|
|
|
this.iconsService.registerIcons([lock, remove_circle]);
|
2020-12-23 17:06:31 +01:00
|
|
|
}
|
2019-12-23 14:59:56 +01:00
|
|
|
}
|