import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { RouterModule } from '@angular/router' ; import { FormsModule } from '@angular/forms' ; import { TranslateModule } from '@ngx-translate/core' ; import { ObSearchBoxComponent } from './search-box.component' ; import { ObNavTreeModule } from '../nav-tree/nav-tree.module' ; import { ObTelemetryService } from '../telemetry/telemetry.service' ; import { requireAndRecordTelemetry } from '../telemetry/telemetry-require' ; import { obliqueProviders } from '../utilities' ; import { ObDropdownModule } from '../dropdown/dropdown.module' ; import { ObIconModule } from '../icon/icon.module' ; export { ObSearchBoxComponent } from './search-box.component' ; export { ObISearchWidgetItem } from './search-box.model' ; @ NgModule ( { imports : [ CommonModule , FormsModule , ObNavTreeModule , TranslateModule , RouterModule , ObDropdownModule , ObIconModule ] , declarations : [ ObSearchBoxComponent ] , providers : obliqueProviders ( ) , exports : [ ObSearchBoxComponent ] } ) export class ObSearchBoxModule { constructor ( telemetry ) { requireAndRecordTelemetry ( telemetry , ObSearchBoxModule ) ; } }