1
|
import {NgModule} from '@angular/core';
|
2
|
import {InputComponent} from "./input.component";
|
3
|
import {SharedModule} from "../../shared/shared.module";
|
4
|
import {MatFormFieldModule} from "@angular/material/form-field";
|
5
|
import {MatInputModule} from "@angular/material/input";
|
6
|
import {MatSelectModule} from "@angular/material/select";
|
7
|
import {MatCheckboxModule} from '@angular/material/checkbox';
|
8
|
import {IconsModule} from "../../utils/icons/icons.module";
|
9
|
import {IconsService} from "../../utils/icons/icons.service";
|
10
|
import {lock, remove_circle} from "../../utils/icons/icons";
|
11
|
import {MatChipsModule} from "@angular/material/chips";
|
12
|
import {MatAutocompleteModule} from "@angular/material/autocomplete";
|
13
|
import {MatIconModule} from "@angular/material/icon";
|
14
|
import {SafeHtmlPipeModule} from "../../utils/pipes/safeHTMLPipe.module";
|
15
|
|
16
|
@NgModule({
|
17
|
imports: [
|
18
|
SharedModule,
|
19
|
MatFormFieldModule,
|
20
|
MatInputModule,
|
21
|
MatSelectModule,
|
22
|
MatCheckboxModule,
|
23
|
IconsModule,
|
24
|
MatChipsModule,
|
25
|
MatAutocompleteModule,
|
26
|
MatIconModule,
|
27
|
SafeHtmlPipeModule
|
28
|
],
|
29
|
exports: [
|
30
|
InputComponent
|
31
|
],
|
32
|
declarations: [
|
33
|
InputComponent
|
34
|
]
|
35
|
})
|
36
|
export class InputModule {
|
37
|
constructor(private iconsService: IconsService) {
|
38
|
this.iconsService.registerIcons([lock, remove_circle]);
|
39
|
}
|
40
|
}
|