@qite/tide-booking-component 1.4.123 → 1.4.125
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/README.md +6 -4
- package/build/build-cjs/index.js +32728 -49995
- 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/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 +55 -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/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/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 +7 -26
- 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 +43 -102
- 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 +480 -644
- 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 +10 -15
- package/build/build-cjs/src/booking-wizard/features/price-details/selectors.d.ts +287 -302
- 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/option-utils.d.ts +9 -0
- 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 +3 -3
- package/build/build-cjs/src/booking-wizard/features/sidebar/sidebar-util.d.ts +2 -5
- 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 +113 -74
- 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/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 +270 -241
- 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 +7 -7
- package/build/build-cjs/src/content/components/faq.d.ts +4 -4
- package/build/build-cjs/src/content/components/gallery.d.ts +6 -6
- package/build/build-cjs/src/content/components/image-with-text.d.ts +18 -18
- package/build/build-cjs/src/content/components/itinerary-map-view.d.ts +48 -0
- package/build/build-cjs/src/content/components/slider.d.ts +5 -5
- package/build/build-cjs/src/content/error/error.d.ts +1 -1
- package/build/build-cjs/src/content/featured-trips/types.d.ts +8 -8
- 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 +17 -17
- 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/image-with-text-section/types.d.ts +15 -15
- package/build/build-cjs/src/content/login/login-services.d.ts +1 -6
- package/build/build-cjs/src/content/login/types.d.ts +19 -19
- package/build/build-cjs/src/content/navbar/placeholderData.d.ts +2 -2
- package/build/build-cjs/src/content/navbar/types.d.ts +22 -22
- package/build/build-cjs/src/form/components/fields/date-field.d.ts +4 -0
- package/build/build-cjs/src/form/components/fields/dropdown-field.d.ts +4 -0
- package/build/build-cjs/src/form/components/fields/field-label.d.ts +10 -0
- package/build/build-cjs/src/form/components/fields/form-field.d.ts +11 -0
- package/build/build-cjs/src/form/components/fields/info-text-field.d.ts +7 -0
- package/build/build-cjs/src/form/components/fields/multi-dropdown-field.d.ts +4 -0
- package/build/build-cjs/src/form/components/fields/multiline-field.d.ts +4 -0
- package/build/build-cjs/src/form/components/fields/number-field.d.ts +4 -0
- package/build/build-cjs/src/form/components/fields/optional-field.d.ts +4 -0
- package/build/build-cjs/src/form/components/fields/radio-checkbox-field.d.ts +4 -0
- package/build/build-cjs/src/form/components/fields/text-field.d.ts +4 -0
- package/build/build-cjs/src/form/components/fields/yes-no-field.d.ts +4 -0
- package/build/build-cjs/src/form/components/form-body.d.ts +9 -0
- package/build/build-cjs/src/form/components/form-container.d.ts +3 -0
- package/build/build-cjs/src/form/components/form-segment.d.ts +11 -0
- package/build/build-cjs/src/form/components/form-step.d.ts +9 -0
- package/build/build-cjs/src/form/form-configuration-context.d.ts +4 -0
- package/build/build-cjs/src/form/form-types.d.ts +7 -0
- package/build/build-cjs/src/form/hooks/use-form-state.d.ts +13 -0
- package/build/build-cjs/src/form/index.d.ts +7 -0
- package/build/build-cjs/src/form/types.d.ts +20 -0
- package/build/build-cjs/src/form/utils/captcha-util.d.ts +3 -0
- package/build/build-cjs/src/form/utils/form-initial-values-util.d.ts +3 -0
- package/build/build-cjs/src/form/utils/form-submit-util.d.ts +4 -0
- package/build/build-cjs/src/form/utils/form-validation-util.d.ts +8 -0
- package/build/build-cjs/src/form/utils/html-util.d.ts +16 -0
- package/build/build-cjs/src/form/utils/visibility-util.d.ts +4 -0
- package/build/build-cjs/src/index.d.ts +3 -18
- 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/item-picker/index.d.ts +7 -7
- package/build/build-cjs/src/qsm/components/search-input/index.d.ts +9 -9
- 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 -111
- package/build/build-cjs/src/qsm/store/qsm-store.d.ts +7 -20
- package/build/build-cjs/src/qsm/types.d.ts +59 -59
- package/build/build-cjs/src/search-results/components/book-packaging-entry/index.d.ts +3 -3
- package/build/build-cjs/src/search-results/components/book-packaging-entry/wl-sidebar.d.ts +2 -2
- package/build/build-cjs/src/search-results/components/excursions/day-by-day-excursions.d.ts +2 -1
- package/build/build-cjs/src/search-results/components/excursions/excursion-results.d.ts +2 -2
- package/build/build-cjs/src/search-results/components/filters/filters.d.ts +7 -7
- 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 +8 -8
- 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/group-tour/group-tour-card.d.ts +3 -3
- package/build/build-cjs/src/search-results/components/group-tour/group-tour-results.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/item-picker/index.d.ts +8 -8
- package/build/build-cjs/src/search-results/components/itinerary/full-itinerary.d.ts +1 -1
- package/build/build-cjs/src/search-results/components/itinerary/index.d.ts +4 -4
- 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/search-results-container/search-results-container.d.ts +1 -1
- package/build/build-cjs/src/search-results/components/spinner/spinner.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 +2 -2
- package/build/build-cjs/src/search-results/store/search-results-selectors.d.ts +408 -412
- package/build/build-cjs/src/search-results/store/search-results-slice.d.ts +53 -134
- 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 +143 -169
- package/build/build-cjs/src/search-results/utils/flight-utils.d.ts +1 -6
- package/build/build-cjs/src/search-results/utils/packaging-utils.d.ts +2 -2
- package/build/build-cjs/src/search-results/utils/search-results-utils.d.ts +2 -10
- package/build/build-cjs/src/shared/booking/booking-panel.d.ts +6 -6
- package/build/build-cjs/src/shared/booking/product-card.d.ts +3 -3
- package/build/build-cjs/src/shared/booking/shared-confirmation.d.ts +18 -18
- package/build/build-cjs/src/shared/booking/shared-sidebar.d.ts +27 -27
- package/build/build-cjs/src/shared/booking/step-indicators.d.ts +2 -2
- package/build/build-cjs/src/shared/booking/summary.d.ts +34 -34
- package/build/build-cjs/src/shared/booking/travelers-form.d.ts +57 -71
- package/build/build-cjs/src/shared/components/flyin/accommodation-flyin.d.ts +2 -2
- package/build/build-cjs/src/shared/components/flyin/flights-flyin.d.ts +2 -2
- package/build/build-cjs/src/shared/components/flyin/flyin.d.ts +13 -13
- package/build/build-cjs/src/shared/components/flyin/group-tour-flyin.d.ts +3 -3
- package/build/build-cjs/src/shared/components/flyin/packaging-flights-flyin.d.ts +4 -4
- package/build/build-cjs/src/shared/components/icon.d.ts +6 -6
- package/build/build-cjs/src/shared/components/loader.d.ts +1 -1
- package/build/build-cjs/src/shared/types.d.ts +9 -9
- package/build/build-cjs/src/shared/utils/localization-util.d.ts +27 -416
- package/build/build-cjs/src/shared/utils/tide-api-utils.d.ts +0 -6
- package/build/build-esm/index.js +32750 -49813
- 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/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 +55 -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/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/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 +7 -26
- 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 +43 -102
- 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 +480 -644
- 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 +10 -15
- package/build/build-esm/src/booking-wizard/features/price-details/selectors.d.ts +287 -302
- 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/option-utils.d.ts +9 -0
- 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 +3 -3
- package/build/build-esm/src/booking-wizard/features/sidebar/sidebar-util.d.ts +2 -5
- 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 +113 -74
- 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/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 +270 -241
- 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 +7 -7
- package/build/build-esm/src/content/components/faq.d.ts +4 -4
- package/build/build-esm/src/content/components/gallery.d.ts +6 -6
- package/build/build-esm/src/content/components/image-with-text.d.ts +18 -18
- package/build/build-esm/src/content/components/itinerary-map-view.d.ts +48 -0
- package/build/build-esm/src/content/components/slider.d.ts +5 -5
- package/build/build-esm/src/content/error/error.d.ts +1 -1
- package/build/build-esm/src/content/featured-trips/types.d.ts +8 -8
- 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 +17 -17
- 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/image-with-text-section/types.d.ts +15 -15
- package/build/build-esm/src/content/login/login-services.d.ts +1 -6
- package/build/build-esm/src/content/login/types.d.ts +19 -19
- package/build/build-esm/src/content/navbar/placeholderData.d.ts +2 -2
- package/build/build-esm/src/content/navbar/types.d.ts +22 -22
- package/build/build-esm/src/form/components/fields/date-field.d.ts +4 -0
- package/build/build-esm/src/form/components/fields/dropdown-field.d.ts +4 -0
- package/build/build-esm/src/form/components/fields/field-label.d.ts +10 -0
- package/build/build-esm/src/form/components/fields/form-field.d.ts +11 -0
- package/build/build-esm/src/form/components/fields/info-text-field.d.ts +7 -0
- package/build/build-esm/src/form/components/fields/multi-dropdown-field.d.ts +4 -0
- package/build/build-esm/src/form/components/fields/multiline-field.d.ts +4 -0
- package/build/build-esm/src/form/components/fields/number-field.d.ts +4 -0
- package/build/build-esm/src/form/components/fields/optional-field.d.ts +4 -0
- package/build/build-esm/src/form/components/fields/radio-checkbox-field.d.ts +4 -0
- package/build/build-esm/src/form/components/fields/text-field.d.ts +4 -0
- package/build/build-esm/src/form/components/fields/yes-no-field.d.ts +4 -0
- package/build/build-esm/src/form/components/form-body.d.ts +9 -0
- package/build/build-esm/src/form/components/form-container.d.ts +3 -0
- package/build/build-esm/src/form/components/form-segment.d.ts +11 -0
- package/build/build-esm/src/form/components/form-step.d.ts +9 -0
- package/build/build-esm/src/form/form-configuration-context.d.ts +4 -0
- package/build/build-esm/src/form/form-types.d.ts +7 -0
- package/build/build-esm/src/form/hooks/use-form-state.d.ts +13 -0
- package/build/build-esm/src/form/index.d.ts +7 -0
- package/build/build-esm/src/form/types.d.ts +20 -0
- package/build/build-esm/src/form/utils/captcha-util.d.ts +3 -0
- package/build/build-esm/src/form/utils/form-initial-values-util.d.ts +3 -0
- package/build/build-esm/src/form/utils/form-submit-util.d.ts +4 -0
- package/build/build-esm/src/form/utils/form-validation-util.d.ts +8 -0
- package/build/build-esm/src/form/utils/html-util.d.ts +16 -0
- package/build/build-esm/src/form/utils/visibility-util.d.ts +4 -0
- package/build/build-esm/src/index.d.ts +3 -18
- 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/item-picker/index.d.ts +7 -7
- package/build/build-esm/src/qsm/components/search-input/index.d.ts +9 -9
- 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 -111
- package/build/build-esm/src/qsm/store/qsm-store.d.ts +7 -20
- package/build/build-esm/src/qsm/types.d.ts +59 -59
- package/build/build-esm/src/search-results/components/book-packaging-entry/index.d.ts +3 -3
- package/build/build-esm/src/search-results/components/book-packaging-entry/wl-sidebar.d.ts +2 -2
- package/build/build-esm/src/search-results/components/excursions/day-by-day-excursions.d.ts +2 -1
- package/build/build-esm/src/search-results/components/excursions/excursion-results.d.ts +2 -2
- package/build/build-esm/src/search-results/components/filters/filters.d.ts +7 -7
- 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 +8 -8
- 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/group-tour/group-tour-card.d.ts +3 -3
- package/build/build-esm/src/search-results/components/group-tour/group-tour-results.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/item-picker/index.d.ts +8 -8
- package/build/build-esm/src/search-results/components/itinerary/full-itinerary.d.ts +1 -1
- package/build/build-esm/src/search-results/components/itinerary/index.d.ts +4 -4
- 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/search-results-container/search-results-container.d.ts +1 -1
- package/build/build-esm/src/search-results/components/spinner/spinner.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 +2 -2
- package/build/build-esm/src/search-results/store/search-results-selectors.d.ts +408 -412
- package/build/build-esm/src/search-results/store/search-results-slice.d.ts +53 -134
- 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 +143 -169
- package/build/build-esm/src/search-results/utils/flight-utils.d.ts +1 -6
- package/build/build-esm/src/search-results/utils/packaging-utils.d.ts +2 -2
- package/build/build-esm/src/search-results/utils/search-results-utils.d.ts +2 -10
- package/build/build-esm/src/shared/booking/booking-panel.d.ts +6 -6
- package/build/build-esm/src/shared/booking/product-card.d.ts +3 -3
- package/build/build-esm/src/shared/booking/shared-confirmation.d.ts +18 -18
- package/build/build-esm/src/shared/booking/shared-sidebar.d.ts +27 -27
- package/build/build-esm/src/shared/booking/step-indicators.d.ts +2 -2
- package/build/build-esm/src/shared/booking/summary.d.ts +34 -34
- package/build/build-esm/src/shared/booking/travelers-form.d.ts +57 -71
- package/build/build-esm/src/shared/components/flyin/accommodation-flyin.d.ts +2 -2
- package/build/build-esm/src/shared/components/flyin/flights-flyin.d.ts +2 -2
- package/build/build-esm/src/shared/components/flyin/flyin.d.ts +13 -13
- package/build/build-esm/src/shared/components/flyin/group-tour-flyin.d.ts +3 -3
- package/build/build-esm/src/shared/components/flyin/packaging-flights-flyin.d.ts +4 -4
- package/build/build-esm/src/shared/components/icon.d.ts +6 -6
- package/build/build-esm/src/shared/components/loader.d.ts +1 -1
- package/build/build-esm/src/shared/types.d.ts +9 -9
- package/build/build-esm/src/shared/utils/localization-util.d.ts +27 -416
- package/build/build-esm/src/shared/utils/tide-api-utils.d.ts +0 -6
- package/package.json +15 -2
- package/styles/components/_contact.scss +25 -9
- package/styles/components/_map-view.scss +1100 -0
- package/styles/components/_tide-form.scss +541 -0
- package/styles/content-blocks-variables.scss +36 -0
- package/styles/content-blocks.scss +1 -0
- package/styles/tide-form-variables.scss +275 -0
- package/styles/tide-form.scss +56 -0
- package/.husky/pre-commit +0 -1
- package/.nvmrc +0 -1
- package/.prettierrc +0 -9
- package/.vs/ProjectSettings.json +0 -3
- package/.vs/VSWorkspaceState.json +0 -5
- package/.vs/slnx.sqlite +0 -0
- package/.vs/tide-booking-component/FileContentIndex/5099fed1-8dd7-4fc6-b744-64dad71a8a83.vsidx +0 -0
- package/.vs/tide-booking-component/FileContentIndex/d4b119f1-fe2e-4d31-b8af-b66c5a71cfeb.vsidx +0 -0
- package/.vs/tide-booking-component/FileContentIndex/f9097dbd-6c75-40d4-82b3-c6dd4aa48f0c.vsidx +0 -0
- package/.vs/tide-booking-component/config/applicationhost.config +0 -1021
- package/.vs/tide-booking-component/v17/.wsuo +0 -0
- package/rollup.config.js +0 -16
- package/src/booking-product/components/age-select.tsx +0 -35
- package/src/booking-product/components/amount-input.tsx +0 -51
- package/src/booking-product/components/date-range-picker/calendar-day.tsx +0 -46
- package/src/booking-product/components/date-range-picker/calendar.tsx +0 -155
- package/src/booking-product/components/date-range-picker/index.tsx +0 -185
- package/src/booking-product/components/dates.tsx +0 -153
- package/src/booking-product/components/footer.tsx +0 -54
- package/src/booking-product/components/header.tsx +0 -57
- package/src/booking-product/components/list-view.tsx +0 -54
- package/src/booking-product/components/product.tsx +0 -379
- package/src/booking-product/components/rating.tsx +0 -21
- package/src/booking-product/components/rooms.tsx +0 -171
- package/src/booking-product/constants.ts +0 -1
- package/src/booking-product/index.tsx +0 -21
- package/src/booking-product/settings-context.ts +0 -16
- package/src/booking-product/types.ts +0 -30
- package/src/booking-product/utils/api.ts +0 -26
- package/src/booking-product/utils/price.ts +0 -28
- package/src/booking-wizard/api-settings-slice.ts +0 -24
- package/src/booking-wizard/components/labeled-input.tsx +0 -56
- package/src/booking-wizard/components/labeled-select.tsx +0 -54
- package/src/booking-wizard/components/message.tsx +0 -21
- package/src/booking-wizard/components/multi-range-filter.tsx +0 -99
- package/src/booking-wizard/components/phone-input.tsx +0 -146
- package/src/booking-wizard/components/print-offer-button.tsx +0 -53
- package/src/booking-wizard/components/step-indicator.tsx +0 -36
- package/src/booking-wizard/components/step-route.tsx +0 -51
- package/src/booking-wizard/declarations.d.ts +0 -4
- package/src/booking-wizard/features/booking/api.ts +0 -44
- package/src/booking-wizard/features/booking/booking-self-contained.tsx +0 -318
- package/src/booking-wizard/features/booking/booking-slice.ts +0 -634
- package/src/booking-wizard/features/booking/booking.tsx +0 -344
- package/src/booking-wizard/features/booking/constants.ts +0 -16
- package/src/booking-wizard/features/booking/selectors.ts +0 -411
- package/src/booking-wizard/features/confirmation/confirmation.tsx +0 -46
- package/src/booking-wizard/features/error/error.tsx +0 -71
- package/src/booking-wizard/features/flight-options/flight-filter.tsx +0 -371
- package/src/booking-wizard/features/flight-options/flight-option-flight.tsx +0 -354
- package/src/booking-wizard/features/flight-options/flight-option-modal.tsx +0 -211
- package/src/booking-wizard/features/flight-options/flight-option.tsx +0 -57
- package/src/booking-wizard/features/flight-options/flight-utils.ts +0 -423
- package/src/booking-wizard/features/flight-options/index.tsx +0 -170
- package/src/booking-wizard/features/price-details/price-details-api.ts +0 -20
- package/src/booking-wizard/features/price-details/price-details-slice.ts +0 -79
- package/src/booking-wizard/features/price-details/selectors.ts +0 -118
- package/src/booking-wizard/features/price-details/util.ts +0 -115
- package/src/booking-wizard/features/product-options/no-options.tsx +0 -18
- package/src/booking-wizard/features/product-options/none-option.tsx +0 -73
- package/src/booking-wizard/features/product-options/option-booking-airline-group.tsx +0 -53
- package/src/booking-wizard/features/product-options/option-booking-group.tsx +0 -152
- package/src/booking-wizard/features/product-options/option-item.tsx +0 -236
- package/src/booking-wizard/features/product-options/option-pax-card.tsx +0 -159
- package/src/booking-wizard/features/product-options/option-pax-group.tsx +0 -122
- package/src/booking-wizard/features/product-options/option-room.tsx +0 -226
- package/src/booking-wizard/features/product-options/option-unit-group.tsx +0 -138
- package/src/booking-wizard/features/product-options/option-units-card.tsx +0 -148
- package/src/booking-wizard/features/product-options/options-form.tsx +0 -382
- package/src/booking-wizard/features/room-options/index.tsx +0 -132
- package/src/booking-wizard/features/room-options/room-utils.ts +0 -154
- package/src/booking-wizard/features/room-options/room.tsx +0 -123
- package/src/booking-wizard/features/room-options/traveler-rooms.tsx +0 -64
- package/src/booking-wizard/features/sidebar/index.tsx +0 -89
- package/src/booking-wizard/features/sidebar/sidebar-flight.tsx +0 -66
- package/src/booking-wizard/features/sidebar/sidebar-util.ts +0 -143
- package/src/booking-wizard/features/sidebar/sidebar.tsx +0 -349
- package/src/booking-wizard/features/summary/summary-booking-option-pax.tsx +0 -23
- package/src/booking-wizard/features/summary/summary-booking-option-unit.tsx +0 -23
- package/src/booking-wizard/features/summary/summary-flight.tsx +0 -36
- package/src/booking-wizard/features/summary/summary-per-booking-option-group.tsx +0 -60
- package/src/booking-wizard/features/summary/summary-per-pax-option-group.tsx +0 -56
- package/src/booking-wizard/features/summary/summary-per-unit-option-group.tsx +0 -58
- package/src/booking-wizard/features/summary/summary-slice.ts +0 -27
- package/src/booking-wizard/features/summary/summary.tsx +0 -562
- package/src/booking-wizard/features/travelers-form/controls/gender-control.tsx +0 -60
- package/src/booking-wizard/features/travelers-form/travelers-form-slice.ts +0 -157
- package/src/booking-wizard/features/travelers-form/travelers-form-util.ts +0 -10
- package/src/booking-wizard/features/travelers-form/travelers-form.tsx +0 -175
- package/src/booking-wizard/features/travelers-form/type-ahead-input.tsx +0 -85
- package/src/booking-wizard/features/travelers-form/validate-form.ts +0 -178
- package/src/booking-wizard/index.tsx +0 -27
- package/src/booking-wizard/settings-context.ts +0 -64
- package/src/booking-wizard/store.ts +0 -26
- package/src/booking-wizard/types.ts +0 -333
- package/src/booking-wizard/use-offer-printer.ts +0 -108
- package/src/content/components/LanguageSwitcher.tsx +0 -158
- package/src/content/components/accordion.tsx +0 -30
- package/src/content/components/breadcrumb.tsx +0 -67
- package/src/content/components/contact.tsx +0 -210
- package/src/content/components/faq.tsx +0 -42
- package/src/content/components/gallery.tsx +0 -153
- package/src/content/components/image-with-text.tsx +0 -119
- package/src/content/components/login.tsx +0 -161
- package/src/content/components/personal-contact-form.tsx +0 -809
- package/src/content/components/slider.tsx +0 -237
- package/src/content/error/error.tsx +0 -27
- package/src/content/featured-trips/featured-trip-card.tsx +0 -48
- package/src/content/featured-trips/index.tsx +0 -19
- package/src/content/featured-trips/types.ts +0 -13
- package/src/content/features/content-page/content-page-self-contained.tsx +0 -895
- package/src/content/footer/index.tsx +0 -159
- package/src/content/footer/types.ts +0 -36
- package/src/content/header/index.tsx +0 -43
- package/src/content/header/types.ts +0 -26
- package/src/content/image-card-grid/index.tsx +0 -34
- package/src/content/image-card-grid/types.ts +0 -13
- package/src/content/image-with-text-section/card.tsx +0 -58
- package/src/content/image-with-text-section/index.tsx +0 -22
- package/src/content/image-with-text-section/types.ts +0 -20
- package/src/content/login/confirm-component.tsx +0 -149
- package/src/content/login/index.tsx +0 -70
- package/src/content/login/login-component.tsx +0 -159
- package/src/content/login/login-services.ts +0 -109
- package/src/content/login/reset-password-component.tsx +0 -191
- package/src/content/login/types.ts +0 -29
- package/src/content/navbar/index.tsx +0 -354
- package/src/content/navbar/placeholderData.tsx +0 -173
- package/src/content/navbar/types.ts +0 -43
- package/src/index.ts +0 -46
- package/src/qsm/components/QSMContainer/qsm-container.tsx +0 -671
- package/src/qsm/components/date-picker/index.tsx +0 -152
- package/src/qsm/components/date-range-picker/calendar-day.tsx +0 -49
- package/src/qsm/components/date-range-picker/calendar.tsx +0 -211
- package/src/qsm/components/date-range-picker/index.tsx +0 -404
- package/src/qsm/components/double-search-input-group/index.tsx +0 -78
- package/src/qsm/components/item-picker/index.tsx +0 -65
- package/src/qsm/components/mobile-filter-modal/index.tsx +0 -321
- package/src/qsm/components/search-input/index.tsx +0 -91
- package/src/qsm/components/search-input-group/index.tsx +0 -209
- package/src/qsm/components/travel-class-picker/index.tsx +0 -28
- package/src/qsm/components/travel-input/index.tsx +0 -241
- package/src/qsm/components/travel-input-group/index.tsx +0 -114
- package/src/qsm/components/travel-nationality-picker/index.tsx +0 -28
- package/src/qsm/components/travel-type-picker/index.tsx +0 -28
- package/src/qsm/index.tsx +0 -26
- package/src/qsm/qsm-configuration-context.ts +0 -31
- package/src/qsm/store/qsm-slice.ts +0 -282
- package/src/qsm/store/qsm-store.ts +0 -13
- package/src/qsm/types.ts +0 -110
- package/src/search-results/components/book-packaging-entry/index.tsx +0 -266
- package/src/search-results/components/book-packaging-entry/wl-sidebar.tsx +0 -173
- package/src/search-results/components/excursions/day-by-day-excursions.tsx +0 -168
- package/src/search-results/components/excursions/excursion-details.tsx +0 -340
- package/src/search-results/components/excursions/excursion-results.tsx +0 -186
- package/src/search-results/components/filters/filters.tsx +0 -229
- package/src/search-results/components/filters/flight-filters.tsx +0 -671
- package/src/search-results/components/flight/flight-banner.tsx +0 -35
- package/src/search-results/components/flight/flight-card.tsx +0 -38
- package/src/search-results/components/flight/flight-leg.tsx +0 -61
- package/src/search-results/components/flight/flight-path.tsx +0 -23
- package/src/search-results/components/flight/flight-results.tsx +0 -208
- package/src/search-results/components/flight/flight-search-context/index.tsx +0 -628
- package/src/search-results/components/flight/flight-selection/independent-flight-option.tsx +0 -168
- package/src/search-results/components/flight/flight-selection/independent-flight-selection.tsx +0 -184
- package/src/search-results/components/flight/flight-selection/index.tsx +0 -19
- package/src/search-results/components/flight/flight-selection/paired-flight-option.tsx +0 -255
- package/src/search-results/components/flight/flight-selection/paired-flight-selection.tsx +0 -38
- package/src/search-results/components/group-tour/group-tour-card.tsx +0 -105
- package/src/search-results/components/group-tour/group-tour-results.tsx +0 -62
- package/src/search-results/components/hotel/hotel-accommodation-results.tsx +0 -244
- package/src/search-results/components/hotel/hotel-card.tsx +0 -110
- package/src/search-results/components/item-picker/index.tsx +0 -81
- package/src/search-results/components/itinerary/full-itinerary.tsx +0 -374
- package/src/search-results/components/itinerary/index.tsx +0 -437
- package/src/search-results/components/multi-range-filter.tsx +0 -104
- package/src/search-results/components/round-trip/round-trip-results.tsx +0 -199
- package/src/search-results/components/search-results-container/flight-search-results.tsx +0 -137
- package/src/search-results/components/search-results-container/search-results-container.tsx +0 -1764
- package/src/search-results/components/spinner/spinner.tsx +0 -24
- package/src/search-results/components/tab-views/index.tsx +0 -53
- package/src/search-results/features/flights/flight-search-results-self-contained.tsx +0 -294
- package/src/search-results/features/hotels/hotel-flight-search-results-self-contained.tsx +0 -143
- package/src/search-results/features/hotels/hotel-search-results-self-contained.tsx +0 -220
- package/src/search-results/features/roundtrips/roundtrip-search-results-self-contained.tsx +0 -65
- package/src/search-results/index.tsx +0 -25
- package/src/search-results/search-results-configuration-context.ts +0 -6
- package/src/search-results/store/search-results-selectors.ts +0 -84
- package/src/search-results/store/search-results-slice.ts +0 -351
- package/src/search-results/store/search-results-store.ts +0 -13
- package/src/search-results/types.ts +0 -266
- package/src/search-results/utils/flight-utils.ts +0 -98
- package/src/search-results/utils/packaging-utils.ts +0 -75
- package/src/search-results/utils/query-utils.ts +0 -153
- package/src/search-results/utils/search-results-utils.ts +0 -538
- package/src/shared/booking/booking-panel.tsx +0 -25
- package/src/shared/booking/product-card.tsx +0 -23
- package/src/shared/booking/shared-confirmation.tsx +0 -105
- package/src/shared/booking/shared-sidebar.tsx +0 -432
- package/src/shared/booking/step-indicators.tsx +0 -30
- package/src/shared/booking/summary.tsx +0 -382
- package/src/shared/booking/travelers-form.tsx +0 -874
- package/src/shared/components/flyin/accommodation-flyin.tsx +0 -424
- package/src/shared/components/flyin/flights-flyin.tsx +0 -508
- package/src/shared/components/flyin/flyin.tsx +0 -241
- package/src/shared/components/flyin/group-tour-flyin.tsx +0 -294
- package/src/shared/components/flyin/packaging-flights-flyin.tsx +0 -171
- package/src/shared/components/icon.tsx +0 -1114
- package/src/shared/components/loader.tsx +0 -16
- package/src/shared/tide-sprites.svg +0 -117
- package/src/shared/translations/ar-SA.json +0 -398
- package/src/shared/translations/da-DK.json +0 -398
- package/src/shared/translations/de-DE.json +0 -398
- package/src/shared/translations/en-GB.json +0 -402
- package/src/shared/translations/es-ES.json +0 -398
- package/src/shared/translations/fr-BE.json +0 -402
- package/src/shared/translations/fr-FR.json +0 -398
- package/src/shared/translations/is-IS.json +0 -398
- package/src/shared/translations/it-IT.json +0 -398
- package/src/shared/translations/ja-JP.json +0 -398
- package/src/shared/translations/nl-BE.json +0 -402
- package/src/shared/translations/nl-NL.json +0 -398
- package/src/shared/translations/no-NO.json +0 -398
- package/src/shared/translations/pl-PL.json +0 -398
- package/src/shared/translations/pt-PT.json +0 -398
- package/src/shared/translations/sv-SE.json +0 -398
- package/src/shared/types.ts +0 -31
- package/src/shared/utils/booking-summary.tsx +0 -57
- package/src/shared/utils/class-util.ts +0 -7
- package/src/shared/utils/localization-util.ts +0 -301
- package/src/shared/utils/query-string-util.ts +0 -91
- package/src/shared/utils/tide-api-utils.ts +0 -43
- package/src/shared/utils/use-media-query-util.ts +0 -19
- package/tsconfig.json +0 -24
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { TideWebForm } from '@qite/tide-client';
|
|
2
|
+
import { FormValues } from '../form-types';
|
|
3
|
+
export declare function filterSubmittableValues(form: TideWebForm, values: FormValues): FormValues;
|
|
4
|
+
export declare function buildSubmitPayload(values: FormValues, isWizard: boolean): Record<string, unknown>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TideWebForm, WebFormStep } from '@qite/tide-client';
|
|
2
|
+
import { FormErrors, FormValues } from '../form-types';
|
|
3
|
+
export interface ValidationMessages {
|
|
4
|
+
required: string;
|
|
5
|
+
emailInvalid: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function validateForm(form: TideWebForm, values: FormValues, messages: ValidationMessages): FormErrors;
|
|
8
|
+
export declare function validateStep(step: WebFormStep, values: FormValues, messages: ValidationMessages): FormErrors;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Strips elements unrelated to visual styling (script, iframe, form controls,
|
|
3
|
+
* event handlers, javascript: URLs) while keeping all formatting markup
|
|
4
|
+
* (bold, italic, colour, headings, lists, links, etc.).
|
|
5
|
+
*
|
|
6
|
+
* Falls back to returning the raw string in SSR environments where document
|
|
7
|
+
* is not available.
|
|
8
|
+
*/
|
|
9
|
+
export declare function sanitizeHtml(html: string): string;
|
|
10
|
+
/** HTML-escapes a plain-text value for safe interpolation inside an HTML template. */
|
|
11
|
+
export declare function escapeHtml(value: string): string;
|
|
12
|
+
/**
|
|
13
|
+
* Replaces {{groupName.fieldName}} placeholders with HTML-escaped values
|
|
14
|
+
* from the flat FormValues map, then sanitizes the resulting HTML.
|
|
15
|
+
*/
|
|
16
|
+
export declare function replacePlaceholders(template: string, values: Record<string, unknown>): string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { VisibilityConfiguration } from '@qite/tide-client';
|
|
2
|
+
import { FormValues } from '../form-types';
|
|
3
|
+
export declare function parseVisibilityConfig(raw: string | null): VisibilityConfiguration | null;
|
|
4
|
+
export declare function isVisible(config: VisibilityConfiguration | null, values: FormValues, segmentIndex?: number): boolean;
|
|
@@ -4,6 +4,7 @@ import Header from './content/header';
|
|
|
4
4
|
import Navbar from './content/navbar';
|
|
5
5
|
import Footer from './content/footer';
|
|
6
6
|
import QSM from './qsm';
|
|
7
|
+
import TideForm from './form';
|
|
7
8
|
import SearchResults from './search-results';
|
|
8
9
|
import ImageCardGrid from './content/image-card-grid';
|
|
9
10
|
import Login from './content/login';
|
|
@@ -14,6 +15,7 @@ import Breadcrumbs from './content/components/breadcrumb';
|
|
|
14
15
|
import FAQ from './content/components/faq';
|
|
15
16
|
import FeaturedTrips from './content/featured-trips';
|
|
16
17
|
import Spinner from './search-results/components/spinner/spinner';
|
|
18
|
+
import ItineraryMapView from './content/components/itinerary-map-view';
|
|
17
19
|
export * from './content/navbar/types';
|
|
18
20
|
export * from './content/header/types';
|
|
19
21
|
export * from './content/footer/types';
|
|
@@ -24,21 +26,4 @@ export * from './search-results/types';
|
|
|
24
26
|
export * from './qsm/types';
|
|
25
27
|
export * from './shared/types';
|
|
26
28
|
export * from './content/featured-trips/types';
|
|
27
|
-
export {
|
|
28
|
-
BookingProduct,
|
|
29
|
-
BookingWizard,
|
|
30
|
-
QSM,
|
|
31
|
-
SearchResults,
|
|
32
|
-
Navbar,
|
|
33
|
-
Header,
|
|
34
|
-
Footer,
|
|
35
|
-
ImageCardGrid,
|
|
36
|
-
Login,
|
|
37
|
-
ImageWithTextSection,
|
|
38
|
-
Slider,
|
|
39
|
-
PhotoGallery,
|
|
40
|
-
Breadcrumbs,
|
|
41
|
-
FAQ,
|
|
42
|
-
FeaturedTrips,
|
|
43
|
-
Spinner
|
|
44
|
-
};
|
|
29
|
+
export { BookingProduct, BookingWizard, QSM, SearchResults, Navbar, Header, Footer, ImageCardGrid, Login, ImageWithTextSection, Slider, PhotoGallery, Breadcrumbs, FAQ, FeaturedTrips, Spinner, ItineraryMapView, TideForm };
|
|
@@ -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,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PickerItem } from '../../../shared/types';
|
|
3
3
|
interface ItemPickerProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
items: PickerItem[];
|
|
5
|
+
selection: string | undefined;
|
|
6
|
+
label: string;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
classModifier: string;
|
|
9
|
+
valueFormatter?: (id: string, label: string) => string;
|
|
10
|
+
onPick: (picked: string, id?: string) => void;
|
|
11
11
|
}
|
|
12
12
|
declare const ItemPicker: React.FC<ItemPickerProps>;
|
|
13
13
|
export default ItemPicker;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TypeaheadOption } from '../../types';
|
|
3
3
|
interface SearchInputProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
+
isLoading?: boolean;
|
|
13
13
|
}
|
|
14
14
|
declare const SearchInput: React.FC<SearchInputProps>;
|
|
15
15
|
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;
|
|
@@ -3,125 +3,72 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import { PickerItem } from '../../shared/types';
|
|
4
4
|
import { PortalQsmType } from '@qite/tide-client';
|
|
5
5
|
export interface QSMState {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
qsmType?: PortalQsmType;
|
|
7
|
+
selectedOrigin?: string;
|
|
8
|
+
selectedDestination?: string;
|
|
9
|
+
selectedAirport?: string;
|
|
10
|
+
fromDate?: string;
|
|
11
|
+
toDate?: string;
|
|
12
|
+
travelers: any[];
|
|
13
|
+
mobileFilterType: MobileFilterType;
|
|
14
|
+
searchResults: TypeaheadOption[];
|
|
15
|
+
activeSearchField: string | null;
|
|
16
|
+
activeSearchFieldProps: {
|
|
17
|
+
fieldKey: string;
|
|
18
|
+
label: string;
|
|
19
|
+
placeholder: string;
|
|
20
|
+
value: string;
|
|
21
|
+
options: TypeaheadOption[];
|
|
22
|
+
} | null;
|
|
23
|
+
mobileDatePickerMode: 'range' | 'single';
|
|
24
|
+
minDate?: string;
|
|
25
|
+
maxDate?: string;
|
|
26
|
+
dateFlexibility?: {
|
|
27
|
+
name: string;
|
|
28
|
+
before: number;
|
|
29
|
+
after: number;
|
|
30
|
+
}[];
|
|
31
|
+
datesIcon?: ReactNode;
|
|
32
|
+
selectedFlexRange?: {
|
|
33
|
+
before: number;
|
|
34
|
+
after: number;
|
|
35
|
+
};
|
|
36
|
+
travelTypes: PickerItem[];
|
|
37
|
+
tripType: 'oneway' | 'roundtrip' | 'openjaw';
|
|
38
|
+
selectedTravelType?: string;
|
|
39
|
+
travelClasses: PickerItem[];
|
|
40
|
+
selectedTravelClass?: string;
|
|
41
|
+
selectedNationality?: string;
|
|
42
|
+
defaultTravelers: number;
|
|
43
|
+
maxTravelers: number;
|
|
44
|
+
maxChildAge: number;
|
|
45
|
+
maxInfantAge: number;
|
|
46
|
+
adults: number;
|
|
47
|
+
kids: number;
|
|
48
|
+
babies: number;
|
|
49
|
+
rooms: Room[];
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
}
|
|
52
|
+
export declare const setSelectedQsmType: import("@reduxjs/toolkit").ActionCreatorWithPayload<PortalQsmType, "qsm/setSelectedQsmType">, setOrigin: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "qsm/setOrigin">, setDestination: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "qsm/setDestination">, setAirport: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "qsm/setAirport">, setFromDate: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "qsm/setFromDate">, setToDate: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "qsm/setToDate">, setTravelers: import("@reduxjs/toolkit").ActionCreatorWithPayload<any[], "qsm/setTravelers">, setMobileFilterType: import("@reduxjs/toolkit").ActionCreatorWithPayload<MobileFilterType, "qsm/setMobileFilterType">, closeMobileFilter: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"qsm/closeMobileFilter">, setActiveSearchField: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, "qsm/setActiveSearchField">, setActiveSearchFieldProps: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
17
53
|
fieldKey: string;
|
|
18
54
|
label: string;
|
|
19
55
|
placeholder: string;
|
|
20
56
|
value: string;
|
|
21
57
|
options: TypeaheadOption[];
|
|
22
|
-
|
|
23
|
-
mobileDatePickerMode: 'range' | 'single';
|
|
24
|
-
minDate?: string;
|
|
25
|
-
maxDate?: string;
|
|
26
|
-
dateFlexibility?: {
|
|
58
|
+
}, "qsm/setActiveSearchFieldProps">, setSearchResults: import("@reduxjs/toolkit").ActionCreatorWithPayload<TypeaheadOption[], "qsm/setSearchResults">, setMobileDatePickerMode: import("@reduxjs/toolkit").ActionCreatorWithPayload<"range" | "single", "qsm/setMobileDatePickerMode">, setMinDate: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "qsm/setMinDate">, setMaxDate: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "qsm/setMaxDate">, setDateFlexibility: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
|
|
27
59
|
name: string;
|
|
28
60
|
before: number;
|
|
29
61
|
after: number;
|
|
30
|
-
|
|
31
|
-
datesIcon?: ReactNode;
|
|
32
|
-
selectedFlexRange?: {
|
|
62
|
+
}[] | undefined, "qsm/setDateFlexibility">, setSelectedFlexRange: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
|
|
33
63
|
before: number;
|
|
34
64
|
after: number;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
maxChildAge: number;
|
|
45
|
-
maxInfantAge: number;
|
|
46
|
-
adults: number;
|
|
47
|
-
kids: number;
|
|
48
|
-
babies: number;
|
|
49
|
-
rooms: Room[];
|
|
50
|
-
[key: string]: any;
|
|
51
|
-
}
|
|
52
|
-
export declare const setSelectedQsmType: import('@reduxjs/toolkit').ActionCreatorWithPayload<PortalQsmType, 'qsm/setSelectedQsmType'>,
|
|
53
|
-
setOrigin: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, 'qsm/setOrigin'>,
|
|
54
|
-
setDestination: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, 'qsm/setDestination'>,
|
|
55
|
-
setAirport: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, 'qsm/setAirport'>,
|
|
56
|
-
setFromDate: import('@reduxjs/toolkit').ActionCreatorWithOptionalPayload<string | undefined, 'qsm/setFromDate'>,
|
|
57
|
-
setToDate: import('@reduxjs/toolkit').ActionCreatorWithOptionalPayload<string | undefined, 'qsm/setToDate'>,
|
|
58
|
-
setTravelers: import('@reduxjs/toolkit').ActionCreatorWithPayload<any[], 'qsm/setTravelers'>,
|
|
59
|
-
setMobileFilterType: import('@reduxjs/toolkit').ActionCreatorWithPayload<MobileFilterType, 'qsm/setMobileFilterType'>,
|
|
60
|
-
closeMobileFilter: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<'qsm/closeMobileFilter'>,
|
|
61
|
-
setActiveSearchField: import('@reduxjs/toolkit').ActionCreatorWithPayload<string | null, 'qsm/setActiveSearchField'>,
|
|
62
|
-
setActiveSearchFieldProps: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
63
|
-
{
|
|
64
|
-
fieldKey: string;
|
|
65
|
-
label: string;
|
|
66
|
-
placeholder: string;
|
|
67
|
-
value: string;
|
|
68
|
-
options: TypeaheadOption[];
|
|
69
|
-
},
|
|
70
|
-
'qsm/setActiveSearchFieldProps'
|
|
71
|
-
>,
|
|
72
|
-
setSearchResults: import('@reduxjs/toolkit').ActionCreatorWithPayload<TypeaheadOption[], 'qsm/setSearchResults'>,
|
|
73
|
-
setMobileDatePickerMode: import('@reduxjs/toolkit').ActionCreatorWithPayload<'range' | 'single', 'qsm/setMobileDatePickerMode'>,
|
|
74
|
-
setMinDate: import('@reduxjs/toolkit').ActionCreatorWithOptionalPayload<string | undefined, 'qsm/setMinDate'>,
|
|
75
|
-
setMaxDate: import('@reduxjs/toolkit').ActionCreatorWithOptionalPayload<string | undefined, 'qsm/setMaxDate'>,
|
|
76
|
-
setDateFlexibility: import('@reduxjs/toolkit').ActionCreatorWithOptionalPayload<
|
|
77
|
-
| {
|
|
78
|
-
name: string;
|
|
79
|
-
before: number;
|
|
80
|
-
after: number;
|
|
81
|
-
}[]
|
|
82
|
-
| undefined,
|
|
83
|
-
'qsm/setDateFlexibility'
|
|
84
|
-
>,
|
|
85
|
-
setSelectedFlexRange: import('@reduxjs/toolkit').ActionCreatorWithOptionalPayload<
|
|
86
|
-
| {
|
|
87
|
-
before: number;
|
|
88
|
-
after: number;
|
|
89
|
-
}
|
|
90
|
-
| undefined,
|
|
91
|
-
'qsm/setSelectedFlexRange'
|
|
92
|
-
>,
|
|
93
|
-
setTripType: import('@reduxjs/toolkit').ActionCreatorWithPayload<'oneway' | 'roundtrip' | 'openjaw', 'qsm/setTripType'>,
|
|
94
|
-
setTravelTypes: import('@reduxjs/toolkit').ActionCreatorWithPayload<PickerItem[], 'qsm/setTravelTypes'>,
|
|
95
|
-
setSelectedTravelType: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, 'qsm/setSelectedTravelType'>,
|
|
96
|
-
setTravelClasses: import('@reduxjs/toolkit').ActionCreatorWithPayload<PickerItem[], 'qsm/setTravelClasses'>,
|
|
97
|
-
setSelectedTravelClass: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, 'qsm/setSelectedTravelClass'>,
|
|
98
|
-
setSelectedNationality: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, 'qsm/setSelectedNationality'>,
|
|
99
|
-
setDefaultTravelers: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, 'qsm/setDefaultTravelers'>,
|
|
100
|
-
setMaxTravelers: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, 'qsm/setMaxTravelers'>,
|
|
101
|
-
setMaxChildAge: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, 'qsm/setMaxChildAge'>,
|
|
102
|
-
setAdults: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, 'qsm/setAdults'>,
|
|
103
|
-
setKids: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, 'qsm/setKids'>,
|
|
104
|
-
setBabies: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, 'qsm/setBabies'>,
|
|
105
|
-
setRooms: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, 'qsm/setRooms'>,
|
|
106
|
-
addRoom: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<'qsm/addRoom'>,
|
|
107
|
-
removeRoom: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, 'qsm/removeRoom'>,
|
|
108
|
-
updateRoomTraveler: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
109
|
-
{
|
|
110
|
-
roomIndex: number;
|
|
111
|
-
type: TravelerType;
|
|
112
|
-
value: number;
|
|
113
|
-
},
|
|
114
|
-
'qsm/updateRoomTraveler'
|
|
115
|
-
>,
|
|
116
|
-
setMaxInfantAge: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, 'qsm/setMaxInfantAge'>,
|
|
117
|
-
setDatesIcon: import('@reduxjs/toolkit').ActionCreatorWithOptionalPayload<ReactNode, 'qsm/setDatesIcon'>,
|
|
118
|
-
setFieldValue: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
119
|
-
{
|
|
120
|
-
fieldKey: string;
|
|
121
|
-
value: any;
|
|
122
|
-
},
|
|
123
|
-
'qsm/setFieldValue'
|
|
124
|
-
>,
|
|
125
|
-
hydrateQsmState: import('@reduxjs/toolkit').ActionCreatorWithPayload<Partial<QSMState>, 'qsm/hydrateQsmState'>;
|
|
126
|
-
declare const _default: import('@reduxjs/toolkit').Reducer<QSMState>;
|
|
65
|
+
} | undefined, "qsm/setSelectedFlexRange">, setTripType: import("@reduxjs/toolkit").ActionCreatorWithPayload<"oneway" | "roundtrip" | "openjaw", "qsm/setTripType">, setTravelTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<PickerItem[], "qsm/setTravelTypes">, setSelectedTravelType: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "qsm/setSelectedTravelType">, setTravelClasses: import("@reduxjs/toolkit").ActionCreatorWithPayload<PickerItem[], "qsm/setTravelClasses">, setSelectedTravelClass: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "qsm/setSelectedTravelClass">, setSelectedNationality: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "qsm/setSelectedNationality">, setDefaultTravelers: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "qsm/setDefaultTravelers">, setMaxTravelers: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "qsm/setMaxTravelers">, setMaxChildAge: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "qsm/setMaxChildAge">, setAdults: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "qsm/setAdults">, setKids: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "qsm/setKids">, setBabies: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "qsm/setBabies">, setRooms: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "qsm/setRooms">, addRoom: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"qsm/addRoom">, removeRoom: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "qsm/removeRoom">, updateRoomTraveler: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
66
|
+
roomIndex: number;
|
|
67
|
+
type: TravelerType;
|
|
68
|
+
value: number;
|
|
69
|
+
}, "qsm/updateRoomTraveler">, setMaxInfantAge: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "qsm/setMaxInfantAge">, setDatesIcon: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<ReactNode, "qsm/setDatesIcon">, setFieldValue: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
70
|
+
fieldKey: string;
|
|
71
|
+
value: any;
|
|
72
|
+
}, "qsm/setFieldValue">, hydrateQsmState: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<QSMState>, "qsm/hydrateQsmState">;
|
|
73
|
+
declare const _default: import("@reduxjs/toolkit").Reducer<QSMState>;
|
|
127
74
|
export default _default;
|
|
@@ -1,23 +1,10 @@
|
|
|
1
|
-
export declare const createQSMStore: () => import(
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import('@reduxjs/toolkit').StoreEnhancer<{
|
|
9
|
-
dispatch: import('@reduxjs/toolkit').ThunkDispatch<
|
|
10
|
-
{
|
|
11
|
-
qsm: import('./qsm-slice').QSMState;
|
|
12
|
-
},
|
|
13
|
-
undefined,
|
|
14
|
-
import('@reduxjs/toolkit').UnknownAction
|
|
15
|
-
>;
|
|
16
|
-
}>,
|
|
17
|
-
import('@reduxjs/toolkit').StoreEnhancer
|
|
18
|
-
]
|
|
19
|
-
>
|
|
20
|
-
>;
|
|
1
|
+
export declare const createQSMStore: () => import("@reduxjs/toolkit").EnhancedStore<{
|
|
2
|
+
qsm: import("./qsm-slice").QSMState;
|
|
3
|
+
}, import("@reduxjs/toolkit").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("@reduxjs/toolkit").StoreEnhancer<{
|
|
4
|
+
dispatch: import("@reduxjs/toolkit").ThunkDispatch<{
|
|
5
|
+
qsm: import("./qsm-slice").QSMState;
|
|
6
|
+
}, undefined, import("@reduxjs/toolkit").UnknownAction>;
|
|
7
|
+
}>, import("@reduxjs/toolkit").StoreEnhancer]>>;
|
|
21
8
|
export type QSMStore = ReturnType<typeof createQSMStore>;
|
|
22
9
|
export type QSMRootState = ReturnType<QSMStore['getState']>;
|
|
23
10
|
export type QSMDispatch = QSMStore['dispatch'];
|
|
@@ -2,81 +2,81 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { WebsiteConfigurationSearchConfiguration, PortalQsmType } from '@qite/tide-client';
|
|
3
3
|
import { PickerItem } from '../shared/types';
|
|
4
4
|
export interface QSMConfiguration {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
5
|
+
type?: PortalQsmType;
|
|
6
|
+
searchConfigurations: WebsiteConfigurationSearchConfiguration[];
|
|
7
|
+
askRooms?: boolean;
|
|
8
|
+
askTravelType?: boolean;
|
|
9
|
+
allowOneWay?: boolean;
|
|
10
|
+
allowRoundtrip?: boolean;
|
|
11
|
+
allowOpenJaw?: boolean;
|
|
12
|
+
allowMultiCity?: boolean;
|
|
13
|
+
askTravelClass?: boolean;
|
|
14
|
+
additionalFilters?: AdditionalFilters;
|
|
15
|
+
askTravelers: boolean;
|
|
16
|
+
askNationality?: boolean;
|
|
17
|
+
departureAirport?: BaseFieldConfig;
|
|
18
|
+
destinationAirport?: BaseFieldConfig;
|
|
19
|
+
returnAirport?: BaseFieldConfig;
|
|
20
|
+
destination?: BaseFieldConfig;
|
|
21
|
+
travelTypes?: PickerItem[];
|
|
22
|
+
travelTypeIcon?: ReactNode;
|
|
23
|
+
travelClasses?: PickerItem[];
|
|
24
|
+
travelClassIcon?: ReactNode;
|
|
25
|
+
dateFlexibility?: DateFlexibility[];
|
|
26
|
+
minDate?: Date;
|
|
27
|
+
maxDate?: Date;
|
|
28
|
+
showReturnDate?: boolean;
|
|
29
|
+
datesIcon?: ReactNode;
|
|
30
|
+
defaultTravelers?: number;
|
|
31
|
+
maxTravelers?: number;
|
|
32
|
+
maxChildAge?: number;
|
|
33
|
+
maxInfantAge?: number;
|
|
34
|
+
onSubmit: (data: any) => void;
|
|
35
|
+
submitIcon: ReactNode;
|
|
36
|
+
nationalities: PickerItem[];
|
|
37
|
+
languageCode?: string;
|
|
38
38
|
}
|
|
39
39
|
export interface BaseFieldConfig {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
fieldKey: string;
|
|
41
|
+
label: string;
|
|
42
|
+
placeholder: string;
|
|
43
|
+
icon: ReactNode;
|
|
44
|
+
options: TypeaheadOption[];
|
|
45
|
+
autoComplete?: boolean;
|
|
46
|
+
onChange?: (data: any) => void;
|
|
47
47
|
}
|
|
48
48
|
export interface TypeaheadOption {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
key: string;
|
|
50
|
+
value: string;
|
|
51
|
+
iataCode?: string;
|
|
52
|
+
country?: string;
|
|
53
|
+
type: OptionType;
|
|
54
54
|
}
|
|
55
55
|
export type OptionType = 'country' | 'region' | 'oord' | 'location' | 'airport' | 'hotel' | 'other';
|
|
56
56
|
export interface SingleFieldConfig extends BaseFieldConfig {
|
|
57
|
-
|
|
57
|
+
type: 'single';
|
|
58
58
|
}
|
|
59
59
|
export interface DoubleFieldConfig {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
type: 'double';
|
|
61
|
+
fieldKey: string;
|
|
62
|
+
showReverse?: boolean;
|
|
63
|
+
disableReturnField?: boolean;
|
|
64
|
+
fields: BaseFieldConfig[];
|
|
65
65
|
}
|
|
66
66
|
export type FieldConfig = SingleFieldConfig | DoubleFieldConfig;
|
|
67
67
|
export interface AdditionalFilters {
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
showDirectFlights: boolean;
|
|
69
|
+
includeLuggage: boolean;
|
|
70
70
|
}
|
|
71
71
|
export interface DateFlexibility {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
name: string;
|
|
73
|
+
before: number;
|
|
74
|
+
after: number;
|
|
75
75
|
}
|
|
76
76
|
export type MobileFilterType = 'search' | 'date' | 'traveler' | null;
|
|
77
77
|
export type TravelerType = 'adults' | 'kids' | 'babies';
|
|
78
78
|
export interface Room {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
adults: number;
|
|
80
|
+
kids: number;
|
|
81
|
+
babies: number;
|
|
82
82
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SearchSeed } from '../../types';
|
|
3
3
|
interface BookPackagingEntryProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
activeSearchSeed: SearchSeed | null;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
isConfirmationPage?: boolean;
|
|
7
7
|
}
|
|
8
8
|
declare const BookPackagingEntry: React.FC<BookPackagingEntryProps>;
|
|
9
9
|
export default BookPackagingEntry;
|
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { SearchSeed } from '../../types';
|
|
3
3
|
import { PackagingAccommodationResponse } from '@qite/tide-client';
|
|
4
4
|
interface WLSidebarProps {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
activeSearchSeed: SearchSeed | null;
|
|
6
|
+
packagingAccoResult: PackagingAccommodationResponse | null;
|
|
7
7
|
}
|
|
8
8
|
declare const WLSidebar: React.FC<WLSidebarProps>;
|
|
9
9
|
export default WLSidebar;
|