import { Component, Input } from '@angular/core';
import { RouteTypeLegacy } from '@app/shared/enumerators';
import { ViewType } from '@app/shared/enumerators/flight-request-type.enum';
import { FlightModel, Leg } from '@app/shared/models-legacy';

@Component({
    selector: 'flight-schedule-details',
    templateUrl: './flight-schedule-details.component.html',
    styleUrls: [
        './flight-schedule-details.component.scss',
        './flight-schedule-details.component.mobile.scss',
    ],
})
export class FlightScheduleDetailsComponent {
    @Input() flight: FlightModel;
    @Input() leg: Leg;
    @Input() connected: boolean;

    ViewType = ViewType;
    RouteType = RouteTypeLegacy;
}
