import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { Routes, RouterModule } from '@angular/router';
import { FlightInventoryReportSearchComponent } from './flight-inventory-report-search/flight-inventory-report-search.component';
import { NgSelectModule } from '@ng-select/ng-select';
import { CalendarModule } from 'primeng/calendar';
import { ToolbarModule } from 'primeng/toolbar';
import { TableModule } from 'primeng/table';
import { MatMenuModule } from '@angular/material/menu';
import { InputTextModule } from 'primeng/inputtext';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MessageService } from 'primeng/api';
import { MatButtonModule } from '@angular/material/button';
import { MatCheckboxModule } from '@angular/material/checkbox';
import { ButtonModule } from 'primeng/button';
import { CheckboxModule } from 'primeng/checkbox';
import { ToastModule } from 'primeng/toast';
import { TreeModule } from 'primeng/tree';
import { TreeSelectModule } from 'primeng/treeselect';
import { TreeTableModule } from 'primeng/treetable';
import { TriStateCheckboxModule } from 'primeng/tristatecheckbox';
import { FlightContractService } from 'src/app/core/services/flight-contract.service.ts/flight-contract.service';

const routes: Routes = [
  {
    path: 'Search',
    component: FlightInventoryReportSearchComponent,
  },
]

@NgModule({
  declarations: [
    FlightInventoryReportSearchComponent
  ],
  imports: [
    TableModule,
    CommonModule,
    MatMenuModule,
    ToolbarModule,
    ToastModule,
    InputTextModule,
    MatCheckboxModule,
    TreeModule,
    TreeSelectModule,
    TreeTableModule,
    ButtonModule,
    CheckboxModule,
    TriStateCheckboxModule,
    FormsModule,
    NgSelectModule,
    MatButtonModule,
    ReactiveFormsModule,
    CalendarModule,
    RouterModule.forChild(routes),
  ], providers: [MessageService,FlightContractService],
})
export class FlightInventoryReportModule { }
