import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { SearchHistoryComponent } from '@components/search-history/search-history.component';
import { PipesModule } from '@shared/pipes/pipes.module';
import { ToolkitModule } from '@toolkit/toolkit.module';
import { AccordionModule } from 'primeng/accordion';
import { OnlineBoardHistoryItemComponent } from './components/online-board-item/online-board-history-item.component';
import { ScheduleHistoryItemComponent } from './components/schedule-item/schedule-history-item.component';
import { SearchHistoryItemComponent } from './components/search-history-item/search-history-item.component';
import { OnlineBoardRouteHistoryItemComponent } from './components/online-board-route-history-item/online-board-route-history-item.component';
import { OnlineBoardFlightNumberHistoryItemComponent } from './components/online-board-flight-number-history-item/online-board-flight-number-history-item.component';

@NgModule({
    declarations: [
        SearchHistoryComponent,
        OnlineBoardHistoryItemComponent,
        ScheduleHistoryItemComponent,
        SearchHistoryItemComponent,
        OnlineBoardRouteHistoryItemComponent,
        OnlineBoardFlightNumberHistoryItemComponent,
    ],
    exports: [SearchHistoryComponent],
    imports: [CommonModule, ToolkitModule, AccordionModule, PipesModule],
})
export class SearchHistoryModule {}
