import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { MatIconModule, MatMenuModule, MatPaginatorModule, MatProgressSpinnerModule, MatSortModule, MatTableModule } from '@angular/material';
import { XdfGalleryModule } from '@xdf/gallery';
import { XdfSettingsModule } from '@xdf/settings';
import { RouterModule } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { ReservationsComponent } from './view/reservations/reservations.component';
import { PassengerRoutingModule } from './passenger-routing.module';
import { DialogReservationPayComponent } from './components/dialog-reservation-pay/dialog-reservation-pay.component';
import { DialogReservationCancelComponent } from './components/dialog-reservation-cancel/dialog-reservation-cancel.component';


@NgModule({
  declarations: [ReservationsComponent, DialogReservationPayComponent, DialogReservationCancelComponent],
  imports: [
    CommonModule,
    RouterModule,
    PassengerRoutingModule,
    MatTableModule,
    MatMenuModule,
    MatIconModule,
    MatIconModule,
    MatProgressSpinnerModule,
    MatSortModule,
    MatPaginatorModule,
    FormsModule,
    ReactiveFormsModule,
    XdfGalleryModule,
    XdfSettingsModule,
    TranslateModule
  ],
  entryComponents: [
    DialogReservationPayComponent,
    DialogReservationCancelComponent
  ]
})
export class PassengerModule { }
