@qite/tide-booking-component 1.4.47 → 1.4.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/build-cjs/index.js +25917 -39780
- package/build/build-cjs/src/booking-product/components/age-select.d.ts +3 -3
- package/build/build-cjs/src/booking-product/components/amount-input.d.ts +5 -5
- package/build/build-cjs/src/booking-product/components/date-range-picker/calendar-day.d.ts +8 -8
- package/build/build-cjs/src/booking-product/components/date-range-picker/calendar.d.ts +14 -14
- package/build/build-cjs/src/booking-product/components/date-range-picker/index.d.ts +19 -16
- package/build/build-cjs/src/booking-product/components/dates.d.ts +8 -8
- package/build/build-cjs/src/booking-product/components/footer.d.ts +5 -5
- package/build/build-cjs/src/booking-product/components/header.d.ts +6 -6
- package/build/build-cjs/src/booking-product/components/icon.d.ts +5 -5
- package/build/build-cjs/src/booking-product/components/list-view.d.ts +2 -2
- package/build/build-cjs/src/booking-product/components/product.d.ts +4 -4
- package/build/build-cjs/src/booking-product/components/rating.d.ts +1 -1
- package/build/build-cjs/src/booking-product/components/rooms.d.ts +4 -4
- package/build/build-cjs/src/booking-product/constants.d.ts +1 -1
- package/build/build-cjs/src/booking-product/index.d.ts +4 -4
- package/build/build-cjs/src/booking-product/settings-context.d.ts +2 -1
- package/build/build-cjs/src/booking-product/types.d.ts +21 -21
- package/build/build-cjs/src/booking-product/utils/api.d.ts +2 -11
- package/build/build-cjs/src/booking-product/utils/price.d.ts +1 -10
- package/build/build-cjs/src/booking-wizard/api-settings-slice.d.ts +2 -3
- package/build/build-cjs/src/booking-wizard/components/icon.d.ts +5 -5
- package/build/build-cjs/src/booking-wizard/components/labeled-input.d.ts +13 -13
- package/build/build-cjs/src/booking-wizard/components/labeled-select.d.ts +16 -16
- package/build/build-cjs/src/booking-wizard/components/message.d.ts +4 -4
- package/build/build-cjs/src/booking-wizard/components/multi-range-filter.d.ts +6 -6
- package/build/build-cjs/src/booking-wizard/components/phone-input.d.ts +11 -11
- package/build/build-cjs/src/booking-wizard/components/print-offer-button.d.ts +11 -11
- package/build/build-cjs/src/booking-wizard/components/product-card.d.ts +3 -3
- package/build/build-cjs/src/booking-wizard/components/step-indicator.d.ts +1 -1
- package/build/build-cjs/src/booking-wizard/components/step-route.d.ts +3 -3
- package/build/build-cjs/src/booking-wizard/features/booking/api.d.ts +6 -22
- package/build/build-cjs/src/booking-wizard/features/booking/booking-self-contained.d.ts +3 -3
- package/build/build-cjs/src/booking-wizard/features/booking/booking-slice.d.ts +38 -91
- package/build/build-cjs/src/booking-wizard/features/booking/booking.d.ts +3 -3
- package/build/build-cjs/src/booking-wizard/features/booking/constants.d.ts +1 -8
- package/build/build-cjs/src/booking-wizard/features/booking/selectors.d.ts +478 -640
- package/build/build-cjs/src/booking-wizard/features/confirmation/confirmation.d.ts +2 -1
- package/build/build-cjs/src/booking-wizard/features/error/error.d.ts +2 -1
- package/build/build-cjs/src/booking-wizard/features/flight-options/flight-filter.d.ts +3 -3
- package/build/build-cjs/src/booking-wizard/features/flight-options/flight-option-flight.d.ts +2 -2
- package/build/build-cjs/src/booking-wizard/features/flight-options/flight-option.d.ts +4 -4
- package/build/build-cjs/src/booking-wizard/features/flight-options/flight-utils.d.ts +2 -9
- package/build/build-cjs/src/booking-wizard/features/flight-options/index.d.ts +2 -1
- package/build/build-cjs/src/booking-wizard/features/price-details/price-details-api.d.ts +1 -6
- package/build/build-cjs/src/booking-wizard/features/price-details/price-details-slice.d.ts +214 -228
- package/build/build-cjs/src/booking-wizard/features/product-options/none-option.d.ts +3 -3
- package/build/build-cjs/src/booking-wizard/features/product-options/option-booking-airline-group.d.ts +2 -2
- package/build/build-cjs/src/booking-wizard/features/product-options/option-booking-group.d.ts +6 -6
- package/build/build-cjs/src/booking-wizard/features/product-options/option-item.d.ts +5 -5
- package/build/build-cjs/src/booking-wizard/features/product-options/option-pax-card.d.ts +4 -4
- package/build/build-cjs/src/booking-wizard/features/product-options/option-pax-group.d.ts +7 -7
- package/build/build-cjs/src/booking-wizard/features/product-options/option-room.d.ts +5 -5
- package/build/build-cjs/src/booking-wizard/features/product-options/option-unit-group.d.ts +7 -7
- package/build/build-cjs/src/booking-wizard/features/product-options/option-units-card.d.ts +3 -3
- package/build/build-cjs/src/booking-wizard/features/product-options/options-form.d.ts +2 -1
- package/build/build-cjs/src/booking-wizard/features/room-options/index.d.ts +2 -1
- package/build/build-cjs/src/booking-wizard/features/room-options/room-utils.d.ts +6 -19
- package/build/build-cjs/src/booking-wizard/features/room-options/room.d.ts +6 -6
- package/build/build-cjs/src/booking-wizard/features/room-options/traveler-rooms.d.ts +3 -3
- package/build/build-cjs/src/booking-wizard/features/sidebar/index.d.ts +2 -2
- package/build/build-cjs/src/booking-wizard/features/sidebar/sidebar-flight.d.ts +2 -2
- package/build/build-cjs/src/booking-wizard/features/sidebar/sidebar-util.d.ts +2 -4
- package/build/build-cjs/src/booking-wizard/features/sidebar/sidebar.d.ts +21 -21
- package/build/build-cjs/src/booking-wizard/features/summary/summary-booking-option-pax.d.ts +1 -1
- package/build/build-cjs/src/booking-wizard/features/summary/summary-booking-option-unit.d.ts +1 -1
- package/build/build-cjs/src/booking-wizard/features/summary/summary-flight.d.ts +2 -2
- package/build/build-cjs/src/booking-wizard/features/summary/summary-per-booking-option-group.d.ts +1 -1
- package/build/build-cjs/src/booking-wizard/features/summary/summary-per-pax-option-group.d.ts +1 -1
- package/build/build-cjs/src/booking-wizard/features/summary/summary-per-unit-option-group.d.ts +1 -1
- package/build/build-cjs/src/booking-wizard/features/summary/summary-slice.d.ts +3 -3
- package/build/build-cjs/src/booking-wizard/features/summary/summary.d.ts +2 -1
- package/build/build-cjs/src/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +75 -75
- package/build/build-cjs/src/booking-wizard/features/travelers-form/travelers-form-util.d.ts +4 -4
- package/build/build-cjs/src/booking-wizard/features/travelers-form/travelers-form.d.ts +2 -1
- package/build/build-cjs/src/booking-wizard/features/travelers-form/type-ahead-input.d.ts +11 -11
- package/build/build-cjs/src/booking-wizard/features/travelers-form/validate-form.d.ts +1 -8
- package/build/build-cjs/src/booking-wizard/index.d.ts +6 -6
- package/build/build-cjs/src/booking-wizard/settings-context.d.ts +2 -1
- package/build/build-cjs/src/booking-wizard/store.d.ts +22 -40
- package/build/build-cjs/src/booking-wizard/types.d.ts +229 -229
- package/build/build-cjs/src/booking-wizard/use-offer-printer.d.ts +8 -8
- package/build/build-cjs/src/content/components/LanguageSwitcher.d.ts +5 -5
- package/build/build-cjs/src/content/components/accordion.d.ts +4 -4
- package/build/build-cjs/src/content/components/breadcrumb.d.ts +9 -9
- package/build/build-cjs/src/content/components/faq.d.ts +4 -4
- package/build/build-cjs/src/content/components/gallery.d.ts +5 -5
- package/build/build-cjs/src/content/components/icon.d.ts +5 -5
- package/build/build-cjs/src/content/components/image-with-text.d.ts +17 -17
- package/build/build-cjs/src/content/components/slider.d.ts +5 -5
- package/build/build-cjs/src/content/features/content-page/content-page-self-contained.d.ts +1 -1
- package/build/build-cjs/src/content/footer/types.d.ts +16 -16
- package/build/build-cjs/src/content/header/types.d.ts +20 -23
- package/build/build-cjs/src/content/image-card-grid/types.d.ts +8 -8
- package/build/build-cjs/src/content/navbar/placeholderData.d.ts +2 -2
- package/build/build-cjs/src/content/navbar/types.d.ts +17 -17
- package/build/build-cjs/src/index.d.ts +5 -0
- package/build/build-cjs/src/qsm/components/date-range-picker/calendar-day.d.ts +7 -7
- package/build/build-cjs/src/qsm/components/date-range-picker/calendar.d.ts +18 -18
- package/build/build-cjs/src/qsm/components/date-range-picker/index.d.ts +5 -5
- package/build/build-cjs/src/qsm/components/double-search-input-group/index.d.ts +2 -2
- package/build/build-cjs/src/qsm/components/icon.d.ts +5 -5
- package/build/build-cjs/src/qsm/components/item-picker/index.d.ts +6 -6
- package/build/build-cjs/src/qsm/components/search-input/index.d.ts +8 -8
- package/build/build-cjs/src/qsm/components/search-input-group/index.d.ts +7 -7
- package/build/build-cjs/src/qsm/index.d.ts +1 -1
- package/build/build-cjs/src/qsm/store/qsm-slice.d.ts +58 -110
- package/build/build-cjs/src/qsm/store/qsm-store.d.ts +7 -20
- package/build/build-cjs/src/qsm/types.d.ts +67 -67
- package/build/build-cjs/src/search-results/components/filters/filters.d.ts +5 -5
- package/build/build-cjs/src/search-results/components/filters/flight-filters.d.ts +3 -3
- package/build/build-cjs/src/search-results/components/flight/flight-banner.d.ts +2 -2
- package/build/build-cjs/src/search-results/components/flight/flight-card.d.ts +1 -1
- package/build/build-cjs/src/search-results/components/flight/flight-leg.d.ts +1 -1
- package/build/build-cjs/src/search-results/components/flight/flight-path.d.ts +1 -1
- package/build/build-cjs/src/search-results/components/flight/flight-results.d.ts +2 -2
- package/build/build-cjs/src/search-results/components/flight/flight-search-context/index.d.ts +29 -29
- package/build/build-cjs/src/search-results/components/flight/flight-selection/independent-flight-option.d.ts +5 -5
- package/build/build-cjs/src/search-results/components/flight/flight-selection/independent-flight-selection.d.ts +1 -1
- package/build/build-cjs/src/search-results/components/flight/flight-selection/index.d.ts +2 -2
- package/build/build-cjs/src/search-results/components/flight/flight-selection/paired-flight-option.d.ts +1 -1
- package/build/build-cjs/src/search-results/components/flight/flight-selection/paired-flight-selection.d.ts +1 -1
- package/build/build-cjs/src/search-results/components/hotel/hotel-accommodation-results.d.ts +2 -2
- package/build/build-cjs/src/search-results/components/hotel/hotel-card.d.ts +2 -2
- package/build/build-cjs/src/search-results/components/icon.d.ts +6 -6
- package/build/build-cjs/src/search-results/components/item-picker/index.d.ts +8 -8
- package/build/build-cjs/src/search-results/components/itinerary/index.d.ts +3 -3
- package/build/build-cjs/src/search-results/components/multi-range-filter.d.ts +6 -6
- package/build/build-cjs/src/search-results/components/round-trip/round-trip-results.d.ts +2 -1
- package/build/build-cjs/src/search-results/components/search-results-container/flight-search-results.d.ts +1 -1
- package/build/build-cjs/src/search-results/components/tab-views/index.d.ts +2 -1
- package/build/build-cjs/src/search-results/features/flights/flight-search-results-self-contained.d.ts +2 -1
- package/build/build-cjs/src/search-results/features/hotels/hotel-flight-search-results-self-contained.d.ts +2 -1
- package/build/build-cjs/src/search-results/features/hotels/hotel-search-results-self-contained.d.ts +2 -1
- package/build/build-cjs/src/search-results/features/roundtrips/roundtrip-search-results-self-contained.d.ts +2 -1
- package/build/build-cjs/src/search-results/index.d.ts +1 -1
- package/build/build-cjs/src/search-results/store/search-results-slice.d.ts +23 -52
- package/build/build-cjs/src/search-results/store/search-results-store.d.ts +7 -20
- package/build/build-cjs/src/search-results/types.d.ts +99 -99
- package/build/build-cjs/src/search-results/utils/flight-utils.d.ts +1 -6
- package/build/build-cjs/src/shared/components/flyin.d.ts +5 -5
- package/build/build-cjs/src/shared/components/icon.d.ts +5 -5
- package/build/build-cjs/src/shared/components/loader.d.ts +1 -1
- package/build/build-cjs/src/shared/types.d.ts +6 -6
- package/build/build-cjs/src/shared/utils/localization-util.d.ts +345 -345
- package/build/build-esm/index.js +25912 -39534
- package/build/build-esm/src/booking-product/components/age-select.d.ts +3 -3
- package/build/build-esm/src/booking-product/components/amount-input.d.ts +5 -5
- package/build/build-esm/src/booking-product/components/date-range-picker/calendar-day.d.ts +8 -8
- package/build/build-esm/src/booking-product/components/date-range-picker/calendar.d.ts +14 -14
- package/build/build-esm/src/booking-product/components/date-range-picker/index.d.ts +19 -16
- package/build/build-esm/src/booking-product/components/dates.d.ts +8 -8
- package/build/build-esm/src/booking-product/components/footer.d.ts +5 -5
- package/build/build-esm/src/booking-product/components/header.d.ts +6 -6
- package/build/build-esm/src/booking-product/components/icon.d.ts +5 -5
- package/build/build-esm/src/booking-product/components/list-view.d.ts +2 -2
- package/build/build-esm/src/booking-product/components/product.d.ts +4 -4
- package/build/build-esm/src/booking-product/components/rating.d.ts +1 -1
- package/build/build-esm/src/booking-product/components/rooms.d.ts +4 -4
- package/build/build-esm/src/booking-product/constants.d.ts +1 -1
- package/build/build-esm/src/booking-product/index.d.ts +4 -4
- package/build/build-esm/src/booking-product/settings-context.d.ts +2 -1
- package/build/build-esm/src/booking-product/types.d.ts +21 -21
- package/build/build-esm/src/booking-product/utils/api.d.ts +2 -11
- package/build/build-esm/src/booking-product/utils/price.d.ts +1 -10
- package/build/build-esm/src/booking-wizard/api-settings-slice.d.ts +2 -3
- package/build/build-esm/src/booking-wizard/components/icon.d.ts +5 -5
- package/build/build-esm/src/booking-wizard/components/labeled-input.d.ts +13 -13
- package/build/build-esm/src/booking-wizard/components/labeled-select.d.ts +16 -16
- package/build/build-esm/src/booking-wizard/components/message.d.ts +4 -4
- package/build/build-esm/src/booking-wizard/components/multi-range-filter.d.ts +6 -6
- package/build/build-esm/src/booking-wizard/components/phone-input.d.ts +11 -11
- package/build/build-esm/src/booking-wizard/components/print-offer-button.d.ts +11 -11
- package/build/build-esm/src/booking-wizard/components/product-card.d.ts +3 -3
- package/build/build-esm/src/booking-wizard/components/step-indicator.d.ts +1 -1
- package/build/build-esm/src/booking-wizard/components/step-route.d.ts +3 -3
- package/build/build-esm/src/booking-wizard/features/booking/api.d.ts +6 -22
- package/build/build-esm/src/booking-wizard/features/booking/booking-self-contained.d.ts +3 -3
- package/build/build-esm/src/booking-wizard/features/booking/booking-slice.d.ts +38 -91
- package/build/build-esm/src/booking-wizard/features/booking/booking.d.ts +3 -3
- package/build/build-esm/src/booking-wizard/features/booking/constants.d.ts +1 -8
- package/build/build-esm/src/booking-wizard/features/booking/selectors.d.ts +478 -640
- package/build/build-esm/src/booking-wizard/features/confirmation/confirmation.d.ts +2 -1
- package/build/build-esm/src/booking-wizard/features/error/error.d.ts +2 -1
- package/build/build-esm/src/booking-wizard/features/flight-options/flight-filter.d.ts +3 -3
- package/build/build-esm/src/booking-wizard/features/flight-options/flight-option-flight.d.ts +2 -2
- package/build/build-esm/src/booking-wizard/features/flight-options/flight-option.d.ts +4 -4
- package/build/build-esm/src/booking-wizard/features/flight-options/flight-utils.d.ts +2 -9
- package/build/build-esm/src/booking-wizard/features/flight-options/index.d.ts +2 -1
- package/build/build-esm/src/booking-wizard/features/price-details/price-details-api.d.ts +1 -6
- package/build/build-esm/src/booking-wizard/features/price-details/price-details-slice.d.ts +214 -228
- package/build/build-esm/src/booking-wizard/features/product-options/none-option.d.ts +3 -3
- package/build/build-esm/src/booking-wizard/features/product-options/option-booking-airline-group.d.ts +2 -2
- package/build/build-esm/src/booking-wizard/features/product-options/option-booking-group.d.ts +6 -6
- package/build/build-esm/src/booking-wizard/features/product-options/option-item.d.ts +5 -5
- package/build/build-esm/src/booking-wizard/features/product-options/option-pax-card.d.ts +4 -4
- package/build/build-esm/src/booking-wizard/features/product-options/option-pax-group.d.ts +7 -7
- package/build/build-esm/src/booking-wizard/features/product-options/option-room.d.ts +5 -5
- package/build/build-esm/src/booking-wizard/features/product-options/option-unit-group.d.ts +7 -7
- package/build/build-esm/src/booking-wizard/features/product-options/option-units-card.d.ts +3 -3
- package/build/build-esm/src/booking-wizard/features/product-options/options-form.d.ts +2 -1
- package/build/build-esm/src/booking-wizard/features/room-options/index.d.ts +2 -1
- package/build/build-esm/src/booking-wizard/features/room-options/room-utils.d.ts +6 -19
- package/build/build-esm/src/booking-wizard/features/room-options/room.d.ts +6 -6
- package/build/build-esm/src/booking-wizard/features/room-options/traveler-rooms.d.ts +3 -3
- package/build/build-esm/src/booking-wizard/features/sidebar/index.d.ts +2 -2
- package/build/build-esm/src/booking-wizard/features/sidebar/sidebar-flight.d.ts +2 -2
- package/build/build-esm/src/booking-wizard/features/sidebar/sidebar-util.d.ts +2 -4
- package/build/build-esm/src/booking-wizard/features/sidebar/sidebar.d.ts +21 -21
- package/build/build-esm/src/booking-wizard/features/summary/summary-booking-option-pax.d.ts +1 -1
- package/build/build-esm/src/booking-wizard/features/summary/summary-booking-option-unit.d.ts +1 -1
- package/build/build-esm/src/booking-wizard/features/summary/summary-flight.d.ts +2 -2
- package/build/build-esm/src/booking-wizard/features/summary/summary-per-booking-option-group.d.ts +1 -1
- package/build/build-esm/src/booking-wizard/features/summary/summary-per-pax-option-group.d.ts +1 -1
- package/build/build-esm/src/booking-wizard/features/summary/summary-per-unit-option-group.d.ts +1 -1
- package/build/build-esm/src/booking-wizard/features/summary/summary-slice.d.ts +3 -3
- package/build/build-esm/src/booking-wizard/features/summary/summary.d.ts +2 -1
- package/build/build-esm/src/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +75 -75
- package/build/build-esm/src/booking-wizard/features/travelers-form/travelers-form-util.d.ts +4 -4
- package/build/build-esm/src/booking-wizard/features/travelers-form/travelers-form.d.ts +2 -1
- package/build/build-esm/src/booking-wizard/features/travelers-form/type-ahead-input.d.ts +11 -11
- package/build/build-esm/src/booking-wizard/features/travelers-form/validate-form.d.ts +1 -8
- package/build/build-esm/src/booking-wizard/index.d.ts +6 -6
- package/build/build-esm/src/booking-wizard/settings-context.d.ts +2 -1
- package/build/build-esm/src/booking-wizard/store.d.ts +22 -40
- package/build/build-esm/src/booking-wizard/types.d.ts +229 -229
- package/build/build-esm/src/booking-wizard/use-offer-printer.d.ts +8 -8
- package/build/build-esm/src/content/components/LanguageSwitcher.d.ts +5 -5
- package/build/build-esm/src/content/components/accordion.d.ts +4 -4
- package/build/build-esm/src/content/components/breadcrumb.d.ts +9 -9
- package/build/build-esm/src/content/components/faq.d.ts +4 -4
- package/build/build-esm/src/content/components/gallery.d.ts +5 -5
- package/build/build-esm/src/content/components/icon.d.ts +5 -5
- package/build/build-esm/src/content/components/image-with-text.d.ts +17 -17
- package/build/build-esm/src/content/components/slider.d.ts +5 -5
- package/build/build-esm/src/content/features/content-page/content-page-self-contained.d.ts +1 -1
- package/build/build-esm/src/content/footer/types.d.ts +16 -16
- package/build/build-esm/src/content/header/types.d.ts +20 -23
- package/build/build-esm/src/content/image-card-grid/types.d.ts +8 -8
- package/build/build-esm/src/content/navbar/placeholderData.d.ts +2 -2
- package/build/build-esm/src/content/navbar/types.d.ts +17 -17
- package/build/build-esm/src/index.d.ts +5 -0
- package/build/build-esm/src/qsm/components/date-range-picker/calendar-day.d.ts +7 -7
- package/build/build-esm/src/qsm/components/date-range-picker/calendar.d.ts +18 -18
- package/build/build-esm/src/qsm/components/date-range-picker/index.d.ts +5 -5
- package/build/build-esm/src/qsm/components/double-search-input-group/index.d.ts +2 -2
- package/build/build-esm/src/qsm/components/icon.d.ts +5 -5
- package/build/build-esm/src/qsm/components/item-picker/index.d.ts +6 -6
- package/build/build-esm/src/qsm/components/search-input/index.d.ts +8 -8
- package/build/build-esm/src/qsm/components/search-input-group/index.d.ts +7 -7
- package/build/build-esm/src/qsm/index.d.ts +1 -1
- package/build/build-esm/src/qsm/store/qsm-slice.d.ts +58 -110
- package/build/build-esm/src/qsm/store/qsm-store.d.ts +7 -20
- package/build/build-esm/src/qsm/types.d.ts +67 -67
- package/build/build-esm/src/search-results/components/filters/filters.d.ts +5 -5
- package/build/build-esm/src/search-results/components/filters/flight-filters.d.ts +3 -3
- package/build/build-esm/src/search-results/components/flight/flight-banner.d.ts +2 -2
- package/build/build-esm/src/search-results/components/flight/flight-card.d.ts +1 -1
- package/build/build-esm/src/search-results/components/flight/flight-leg.d.ts +1 -1
- package/build/build-esm/src/search-results/components/flight/flight-path.d.ts +1 -1
- package/build/build-esm/src/search-results/components/flight/flight-results.d.ts +2 -2
- package/build/build-esm/src/search-results/components/flight/flight-search-context/index.d.ts +29 -29
- package/build/build-esm/src/search-results/components/flight/flight-selection/independent-flight-option.d.ts +5 -5
- package/build/build-esm/src/search-results/components/flight/flight-selection/independent-flight-selection.d.ts +1 -1
- package/build/build-esm/src/search-results/components/flight/flight-selection/index.d.ts +2 -2
- package/build/build-esm/src/search-results/components/flight/flight-selection/paired-flight-option.d.ts +1 -1
- package/build/build-esm/src/search-results/components/flight/flight-selection/paired-flight-selection.d.ts +1 -1
- package/build/build-esm/src/search-results/components/hotel/hotel-accommodation-results.d.ts +2 -2
- package/build/build-esm/src/search-results/components/hotel/hotel-card.d.ts +2 -2
- package/build/build-esm/src/search-results/components/icon.d.ts +6 -6
- package/build/build-esm/src/search-results/components/item-picker/index.d.ts +8 -8
- package/build/build-esm/src/search-results/components/itinerary/index.d.ts +3 -3
- package/build/build-esm/src/search-results/components/multi-range-filter.d.ts +6 -6
- package/build/build-esm/src/search-results/components/round-trip/round-trip-results.d.ts +2 -1
- package/build/build-esm/src/search-results/components/search-results-container/flight-search-results.d.ts +1 -1
- package/build/build-esm/src/search-results/components/tab-views/index.d.ts +2 -1
- package/build/build-esm/src/search-results/features/flights/flight-search-results-self-contained.d.ts +2 -1
- package/build/build-esm/src/search-results/features/hotels/hotel-flight-search-results-self-contained.d.ts +2 -1
- package/build/build-esm/src/search-results/features/hotels/hotel-search-results-self-contained.d.ts +2 -1
- package/build/build-esm/src/search-results/features/roundtrips/roundtrip-search-results-self-contained.d.ts +2 -1
- package/build/build-esm/src/search-results/index.d.ts +1 -1
- package/build/build-esm/src/search-results/store/search-results-slice.d.ts +23 -52
- package/build/build-esm/src/search-results/store/search-results-store.d.ts +7 -20
- package/build/build-esm/src/search-results/types.d.ts +99 -99
- package/build/build-esm/src/search-results/utils/flight-utils.d.ts +1 -6
- package/build/build-esm/src/shared/components/flyin.d.ts +5 -5
- package/build/build-esm/src/shared/components/icon.d.ts +5 -5
- package/build/build-esm/src/shared/components/loader.d.ts +1 -1
- package/build/build-esm/src/shared/types.d.ts +6 -6
- package/build/build-esm/src/shared/utils/localization-util.d.ts +345 -345
- package/package.json +2 -1
- package/src/index.ts +6 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface AccordionProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
summary: React.ReactNode;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
defaultOpen?: boolean;
|
|
6
|
+
className?: string;
|
|
7
7
|
}
|
|
8
8
|
export default function Accordion({ summary, children, defaultOpen, className }: AccordionProps): React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export type BreadcrumbItem = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
label?: string;
|
|
4
|
+
href?: string;
|
|
5
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
6
|
+
icon?: React.ReactNode;
|
|
7
|
+
isCurrent?: boolean;
|
|
8
8
|
};
|
|
9
9
|
type BreadcrumbsProps = {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
items: BreadcrumbItem[];
|
|
11
|
+
separator?: React.ReactNode;
|
|
12
|
+
ariaLabel?: string;
|
|
13
|
+
noHeader?: boolean;
|
|
14
14
|
};
|
|
15
15
|
export default function Breadcrumbs({ items, separator, ariaLabel, noHeader }: BreadcrumbsProps): React.JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface FAQItem {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
question: string;
|
|
4
|
+
answer: React.ReactNode;
|
|
5
5
|
}
|
|
6
6
|
export interface FAQProps {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
items: FAQItem[];
|
|
8
|
+
title?: string;
|
|
9
9
|
}
|
|
10
10
|
export default function FAQ({ items, title }: FAQProps): React.JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export interface GalleryImage {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
src: string;
|
|
4
|
+
alt?: string;
|
|
5
|
+
caption?: string;
|
|
6
6
|
}
|
|
7
7
|
interface GalleryProps {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
images: GalleryImage[];
|
|
9
|
+
title?: string;
|
|
10
10
|
}
|
|
11
11
|
export default function PhotoGallery({ images, title }: GalleryProps): React.JSX.Element;
|
|
12
12
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface IconProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
name: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
width?: number;
|
|
7
|
+
height?: number;
|
|
8
8
|
}
|
|
9
9
|
declare const Icon: React.FC<IconProps>;
|
|
10
10
|
export default Icon;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type Variant = 'image-with-text--no-card' | 'image-with-text--full-img';
|
|
3
3
|
interface ImageWithTextCardProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
reverse?: boolean;
|
|
5
|
+
imageSrc: string;
|
|
6
|
+
imageAlt: string;
|
|
7
|
+
title: string;
|
|
8
|
+
activityTitle: string;
|
|
9
|
+
activityText: string;
|
|
10
|
+
detailsTitle: string;
|
|
11
|
+
detailsText: string;
|
|
12
|
+
buttonText: string;
|
|
13
|
+
onButtonClick?: () => void;
|
|
14
14
|
}
|
|
15
15
|
interface ImageWithTextSectionProps {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
variant?: Variant;
|
|
17
|
+
sectionTitle: string;
|
|
18
|
+
hasBackground?: boolean;
|
|
19
|
+
cards: [Omit<ImageWithTextCardProps, 'reverse'>, Omit<ImageWithTextCardProps, 'reverse'>];
|
|
20
20
|
}
|
|
21
21
|
export declare const ImageWithTextSection: React.FC<ImageWithTextSectionProps>;
|
|
22
22
|
interface ImageWithTextProps {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
sectionTitle?: string;
|
|
24
|
+
variants?: Variant[];
|
|
25
|
+
hasBackground?: boolean;
|
|
26
26
|
}
|
|
27
27
|
export declare const ImageWithText: React.FC<ImageWithTextProps>;
|
|
28
28
|
export default ImageWithText;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface SliderProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
path?: string;
|
|
4
|
+
images: string[];
|
|
5
|
+
mode?: 'auto' | 'manual';
|
|
6
|
+
intervalMs?: number;
|
|
7
|
+
className?: string;
|
|
8
8
|
}
|
|
9
9
|
declare const Slider: React.FC<SliderProps>;
|
|
10
10
|
export default Slider;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export interface FooterLink {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
label: string;
|
|
3
|
+
href?: string;
|
|
4
4
|
}
|
|
5
5
|
export interface FooterColumn {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
title: string;
|
|
7
|
+
links: FooterLink[];
|
|
8
8
|
}
|
|
9
9
|
export interface SocialLink {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
label: string;
|
|
11
|
+
href: string;
|
|
12
|
+
iconName: string;
|
|
13
13
|
}
|
|
14
14
|
export interface PaymentIcon {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
src: string;
|
|
16
|
+
alt: string;
|
|
17
17
|
}
|
|
18
18
|
export interface FooterProps {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
className?: string;
|
|
20
|
+
/** Optional override for the logo (defaults to the SVG from your footer) */
|
|
21
|
+
logo?: React.ReactNode;
|
|
22
|
+
social?: SocialLink[];
|
|
23
|
+
columns?: FooterColumn[];
|
|
24
|
+
copyrightText?: string;
|
|
25
|
+
payments?: PaymentIcon[];
|
|
26
26
|
}
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
export type HeaderMedia =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
mode?: 'auto' | 'manual';
|
|
15
|
-
path?: string;
|
|
16
|
-
};
|
|
1
|
+
export type HeaderMedia = {
|
|
2
|
+
type: 'video';
|
|
3
|
+
src: string;
|
|
4
|
+
} | {
|
|
5
|
+
type: 'image';
|
|
6
|
+
src: string;
|
|
7
|
+
alt: string;
|
|
8
|
+
} | {
|
|
9
|
+
type: 'slider';
|
|
10
|
+
images: string[];
|
|
11
|
+
mode?: 'auto' | 'manual';
|
|
12
|
+
path?: string;
|
|
13
|
+
};
|
|
17
14
|
export interface HeaderProps {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
media: HeaderMedia;
|
|
16
|
+
small?: boolean;
|
|
17
|
+
title: string;
|
|
18
|
+
description: string;
|
|
19
|
+
showButton?: boolean;
|
|
20
|
+
buttonText?: string;
|
|
21
|
+
onButtonClick?: () => void;
|
|
25
22
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export interface ImageCardGridProps {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
title: string;
|
|
3
|
+
cards: ImageCard[];
|
|
4
|
+
columns: number;
|
|
5
5
|
}
|
|
6
6
|
export interface ImageCard {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
image: string;
|
|
8
|
+
title: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
buttonText?: string;
|
|
11
|
+
onButtonClick: (card: ImageCard) => void;
|
|
12
12
|
}
|
|
@@ -3,8 +3,8 @@ import { Language, NavItem } from './types';
|
|
|
3
3
|
export declare const language: Language;
|
|
4
4
|
export declare const languages: Language[];
|
|
5
5
|
export declare const topLinks: {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
label: string;
|
|
7
|
+
href: string;
|
|
8
8
|
}[];
|
|
9
9
|
export declare const navItems: NavItem[];
|
|
10
10
|
export declare const TideLogo: () => React.JSX.Element;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export interface Language {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
code: string;
|
|
3
|
+
label: string;
|
|
4
4
|
}
|
|
5
5
|
export interface NavLink {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
label: string;
|
|
7
|
+
href?: string;
|
|
8
8
|
}
|
|
9
9
|
export interface NavItem {
|
|
10
|
-
label: string;
|
|
11
|
-
href?: string;
|
|
12
|
-
categories?: {
|
|
13
10
|
label: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
href?: string;
|
|
12
|
+
categories?: {
|
|
13
|
+
label: string;
|
|
14
|
+
items: NavLink[];
|
|
15
|
+
}[];
|
|
16
|
+
items?: NavLink[];
|
|
17
17
|
}
|
|
18
18
|
export interface NavbarProps {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
logo: React.ReactNode;
|
|
20
|
+
topLinks: NavLink[];
|
|
21
|
+
items: NavItem[];
|
|
22
|
+
language: Language;
|
|
23
|
+
languages: Language[];
|
|
24
|
+
onLanguageChange: (lang: string) => void;
|
|
25
|
+
onSearch: (query: string) => void;
|
|
26
26
|
}
|
|
@@ -6,4 +6,9 @@ import Footer from './content/footer';
|
|
|
6
6
|
import QSM from './qsm';
|
|
7
7
|
import SearchResults from './search-results';
|
|
8
8
|
import ImageCardGrid from './content/image-card-grid';
|
|
9
|
+
export * from './content/navbar/types';
|
|
10
|
+
export * from './content/header/types';
|
|
11
|
+
export * from './content/footer/types';
|
|
12
|
+
export * from './content/image-card-grid/types';
|
|
13
|
+
export * from './search-results/types';
|
|
9
14
|
export { BookingProduct, BookingWizard, QSM, SearchResults, Navbar, Header, Footer, ImageCardGrid };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface CalendarDayProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
day: Date;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
isDisabled: boolean;
|
|
6
|
+
isOutsideMonth: boolean;
|
|
7
|
+
extraClassNames?: string[];
|
|
8
|
+
onClick: (date: Date) => void;
|
|
9
|
+
onMouseOver: (date: Date) => void;
|
|
10
10
|
}
|
|
11
11
|
declare const CalendarDay: React.FC<CalendarDayProps>;
|
|
12
12
|
export default CalendarDay;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Locale } from 'date-fns';
|
|
3
3
|
interface CalendarProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
4
|
+
year?: number;
|
|
5
|
+
month?: number;
|
|
6
|
+
hasPreviousButton?: boolean;
|
|
7
|
+
hasNextButton?: boolean;
|
|
8
|
+
hasFixedHeight?: boolean;
|
|
9
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
10
|
+
isStartDate?: (date: Date) => boolean;
|
|
11
|
+
isEndDate?: (date: Date) => boolean;
|
|
12
|
+
isInRange?: (date: Date) => boolean;
|
|
13
|
+
onDayClick?: (date: Date) => void;
|
|
14
|
+
onDayMouseOver?: (date: Date) => void;
|
|
15
|
+
onNextClick?: (year: number, month: number) => void;
|
|
16
|
+
onPreviousClick?: (year: number, month: number) => void;
|
|
17
|
+
locale?: Locale;
|
|
18
|
+
extraClassNamesFunction?: (date: Date) => string[];
|
|
19
|
+
isMobile?: boolean;
|
|
20
|
+
minDate?: Date;
|
|
21
|
+
maxDate?: Date;
|
|
22
22
|
}
|
|
23
23
|
declare const Calendar: React.FC<CalendarProps>;
|
|
24
24
|
export default Calendar;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface DateRangePickerProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
fromDate?: Date;
|
|
4
|
+
toDate?: Date;
|
|
5
|
+
onSelectionChange?: (fromDate?: Date, toDate?: Date) => void;
|
|
6
|
+
isSingleDate?: boolean;
|
|
7
|
+
onRequestClose?: () => void;
|
|
8
8
|
}
|
|
9
9
|
declare const DateRangePicker: React.FC<DateRangePickerProps>;
|
|
10
10
|
export default DateRangePicker;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DoubleFieldConfig } from '../../types';
|
|
3
3
|
interface Props {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
fieldConfig: DoubleFieldConfig;
|
|
5
|
+
showReverse?: boolean;
|
|
6
6
|
}
|
|
7
7
|
declare const DoubleSearchInputGroup: React.FC<Props>;
|
|
8
8
|
export default DoubleSearchInputGroup;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface IconProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
name: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
width?: number;
|
|
7
|
+
height?: number;
|
|
8
8
|
}
|
|
9
9
|
declare const Icon: React.FC<IconProps>;
|
|
10
10
|
export default Icon;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Nationality, TravelClass, TravelType } from '../../types';
|
|
3
3
|
interface ItemPickerProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
items: TravelType[] | TravelClass[] | Nationality[];
|
|
5
|
+
selection: string | undefined;
|
|
6
|
+
label: string;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
classModifier: string;
|
|
9
|
+
onPick: (picked: string) => void;
|
|
10
10
|
}
|
|
11
11
|
declare const ItemPicker: React.FC<ItemPickerProps>;
|
|
12
12
|
export default ItemPicker;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TypeaheadOption } from '../../types';
|
|
3
3
|
interface SearchInputProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
onChange: (input: string) => void;
|
|
5
|
+
searchResults: TypeaheadOption[];
|
|
6
|
+
onOptionSelect: (val: TypeaheadOption) => void;
|
|
7
|
+
highlightTarget: string;
|
|
8
|
+
label: string;
|
|
9
|
+
isSecondInput?: boolean;
|
|
10
|
+
isDoubleInput?: boolean;
|
|
11
|
+
isDisabled?: boolean;
|
|
12
12
|
}
|
|
13
13
|
declare const SearchInput: React.FC<SearchInputProps>;
|
|
14
14
|
export default SearchInput;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BaseFieldConfig } from '../../types';
|
|
3
3
|
interface Props {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
fieldConfig: BaseFieldConfig;
|
|
5
|
+
enableMobileFilter?: boolean;
|
|
6
|
+
highlightTarget?: string;
|
|
7
|
+
isSecondInput?: boolean;
|
|
8
|
+
isDoubleInput?: boolean;
|
|
9
|
+
readOnlyForced?: boolean;
|
|
10
|
+
isDisabled?: boolean;
|
|
11
11
|
}
|
|
12
12
|
declare const SearchInputGroup: React.FC<Props>;
|
|
13
13
|
export default SearchInputGroup;
|