import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { TranslateModule } from '@ngx-translate/core';
import { PipesModule } from '../../shared/pipes/pipes.module';
import { ArrivalRequestComponent } from './components/arrival-request/arrival-request.component';
import { DepartureRequestComponent } from './components/departure-request/departure-request.component';
import { FlightNumberRequestComponent } from './components/flight-number-request/flight-number-request.component';
import { PopularRequestComponent } from './components/popular-request/popular-request.component';
import { PopularRequestsComponent } from './components/popular-requests/popular-requests.component';
import { RouteRequestComponent } from './components/route-request/route-request.component';
import { PopularRequestsApiService } from './services/api.service';
import { RequestInfoComponent } from './components/request-info/request-info.component';

@NgModule({
    imports: [CommonModule, TranslateModule, PipesModule],
    providers: [PopularRequestsApiService],
    declarations: [
        PopularRequestsComponent,
        RouteRequestComponent,
        ArrivalRequestComponent,
        DepartureRequestComponent,
        FlightNumberRequestComponent,
        PopularRequestComponent,
        RequestInfoComponent,
    ],
    exports: [PopularRequestsComponent],
})
export class PopularRequestsModule {}
