2021-01-11 16:40:51 +01:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {SharedModule} from '../../shared/shared.module';
|
|
|
|
import {SearchInputComponent} from './search-input.component';
|
|
|
|
import {MatAutocompleteModule} from '@angular/material/autocomplete';
|
|
|
|
import {IconsModule} from '../../utils/icons/icons.module';
|
|
|
|
import {IconsService} from '../../utils/icons/icons.service';
|
2021-03-22 16:10:18 +01:00
|
|
|
import {close, search} from '../../utils/icons/icons';
|
2021-01-11 16:40:51 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [SharedModule, MatAutocompleteModule, IconsModule],
|
|
|
|
declarations: [SearchInputComponent],
|
|
|
|
exports: [SearchInputComponent]
|
|
|
|
})
|
|
|
|
export class SearchInputModule {
|
|
|
|
constructor(private iconsService: IconsService) {
|
2021-03-22 16:10:18 +01:00
|
|
|
this.iconsService.registerIcons([search, close]);
|
2021-01-11 16:40:51 +01:00
|
|
|
}
|
|
|
|
}
|