import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CustomerSearchComponent } from './customer-search.component';
import { UiSearchboxModule } from '@ui/searchbox';
import { UiIconModule } from '@ui/icon';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { CustomerSearchMainComponent } from './search-main';
import { CustomerSearchResultComponent } from './search-results';
import { UiCommonModule } from '@ui/common';
import { CustomerResultCardComponent } from './search-results/customer-result-card/customer-result-card.component';
import { CustomerSearchFilterComponent } from './search-filter/search-filter.component';
import { UiFilterNextModule } from '@ui/filter';
import { ShellFilterOverlayModule } from '@shell/filter-overlay';
import { UiScrollContainerModule } from '@ui/scroll-container';
import { UiSpinnerModule } from '@ui/spinner';

@NgModule({
  imports: [
    CommonModule,
    RouterModule,
    UiSearchboxModule,
    UiCommonModule,
    UiIconModule,
    ReactiveFormsModule,
    ShellFilterOverlayModule,
    UiFilterNextModule,
    UiScrollContainerModule,
    UiSpinnerModule,
  ],
  exports: [CustomerSearchComponent, CustomerSearchMainComponent, CustomerSearchResultComponent],
  declarations: [
    CustomerSearchComponent,
    CustomerSearchMainComponent,
    CustomerSearchResultComponent,
    CustomerResultCardComponent,
    CustomerSearchFilterComponent,
  ],
})
export class CustomerSearchModule {}
