UNPKG

@salla.sa/twilight-components

Version:
35 lines (34 loc) 954 B
import { EventEmitter } from '../../stencil-public-runtime'; import { Option, Reservation } from './interfaces'; export declare class SallaBookingField { option: Option; productId: number; host: HTMLElement; bookNowLabel: string; editLabel: string; bookedLabel: string; selectDate: string; bookingUrl: string; iframeReady: boolean; reservations: Reservation[]; reservationsInput: HTMLInputElement; /** * Event emitted when the input is invalid. */ invalidInput: EventEmitter<any>; private modal; private iframe; constructor(); private setTranslations; private openBookingModal; private handleBookingOpen; private setAfterReloadEvent; private emitAfterReloadEvent; componentWillLoad(): void; componentDidLoad(): void; private handleMessageEvent; private bookingModal; renderReservationDate(reservation: Reservation): any; renderReservationTime(reservation: Reservation): any; render(): any; }