@roomstay/frontend 1.6.0 → 2.0.0-1
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/dist/201.bundle.js +1 -1
- package/dist/218.bundle.js +1 -0
- package/dist/279.bundle.js +1 -1
- package/dist/370.bundle.js +1 -1
- package/dist/423.bundle.js +1 -0
- package/dist/449.bundle.js +1 -1
- package/dist/625.bundle.js +1 -1
- package/dist/873.bundle.js +1 -1
- package/dist/882.bundle.js +1 -0
- package/dist/972.bundle.js +1 -1
- package/dist/main.bundle.js +1 -1
- package/dist/src/animations/AutoAutoHeight.d.ts +1 -0
- package/dist/src/animations/AutoAutoHeight.js +14 -8
- package/dist/src/animations/AutoAutoHeight.js.map +1 -1
- package/dist/src/animations/Fade.d.ts +7 -3
- package/dist/src/animations/Fade.js +14 -3
- package/dist/src/animations/Fade.js.map +1 -1
- package/dist/src/api/AddonAPI.d.ts +3 -3
- package/dist/src/api/AddonAPI.js +3 -3
- package/dist/src/api/AddonAPI.js.map +1 -1
- package/dist/src/api/AvailabilityAPI.d.ts +3 -3
- package/dist/src/api/AvailabilityAPI.js +9 -8
- package/dist/src/api/AvailabilityAPI.js.map +1 -1
- package/dist/src/api/BaseAPI.d.ts +8 -3
- package/dist/src/api/BaseAPI.js +22 -9
- package/dist/src/api/BaseAPI.js.map +1 -1
- package/dist/src/api/BookingAPI.d.ts +9 -7
- package/dist/src/api/BookingAPI.js +9 -7
- package/dist/src/api/BookingAPI.js.map +1 -1
- package/dist/src/api/ErrorAPI.d.ts +6 -0
- package/dist/src/api/ErrorAPI.js +15 -0
- package/dist/src/api/ErrorAPI.js.map +1 -1
- package/dist/src/api/ExchangeRateAPI.d.ts +2 -2
- package/dist/src/api/ExchangeRateAPI.js +14 -8
- package/dist/src/api/ExchangeRateAPI.js.map +1 -1
- package/dist/src/api/HotelAPI.d.ts +5 -5
- package/dist/src/api/HotelAPI.js +7 -3
- package/dist/src/api/HotelAPI.js.map +1 -1
- package/dist/src/api/MemberAPI.d.ts +1 -1
- package/dist/src/api/MemberAPI.js +1 -1
- package/dist/src/api/MemberAPI.js.map +1 -1
- package/dist/src/api/ReservationAPI.d.ts +19 -9
- package/dist/src/api/ReservationAPI.js +15 -7
- package/dist/src/api/ReservationAPI.js.map +1 -1
- package/dist/src/api/SessionAPI.d.ts +4 -0
- package/dist/src/api/SessionAPI.js +23 -0
- package/dist/src/api/SessionAPI.js.map +1 -0
- package/dist/src/api/members-service/MembersServiceAPI.d.ts +6 -0
- package/dist/src/api/members-service/MembersServiceAPI.js +77 -0
- package/dist/src/api/members-service/MembersServiceAPI.js.map +1 -0
- package/dist/src/components/User/Forms/ForgotPasswordForm.d.ts +6 -0
- package/dist/src/components/User/Forms/ForgotPasswordForm.js +108 -0
- package/dist/src/components/User/Forms/ForgotPasswordForm.js.map +1 -0
- package/dist/src/components/User/Forms/SignInForm.d.ts +6 -0
- package/dist/src/components/User/Forms/SignInForm.js +113 -0
- package/dist/src/components/User/Forms/SignInForm.js.map +1 -0
- package/dist/src/components/User/Forms/SignUpForm.d.ts +6 -0
- package/dist/src/components/User/Forms/SignUpForm.js +159 -0
- package/dist/src/components/User/Forms/SignUpForm.js.map +1 -0
- package/dist/src/components/generic/Alert.d.ts +11 -3
- package/dist/src/components/generic/Alert.js +9 -5
- package/dist/src/components/generic/Alert.js.map +1 -1
- package/dist/src/components/generic/BEButton.d.ts +9 -4
- package/dist/src/components/generic/BEButton.js +12 -12
- package/dist/src/components/generic/BEButton.js.map +1 -1
- package/dist/src/components/generic/BESelect.d.ts +4 -1
- package/dist/src/components/generic/BESelect.js +5 -40
- package/dist/src/components/generic/BESelect.js.map +1 -1
- package/dist/src/components/generic/BackButton.js +4 -4
- package/dist/src/components/generic/BackButton.js.map +1 -1
- package/dist/src/components/generic/BookNowPayLaterInfoBlock.js +6 -6
- package/dist/src/components/generic/BookNowPayLaterInfoBlock.js.map +1 -1
- package/dist/src/components/generic/Card/Card/Card.d.ts +7 -0
- package/dist/src/components/generic/Card/Card/Card.js +14 -0
- package/dist/src/components/generic/Card/Card/Card.js.map +1 -0
- package/dist/src/components/generic/Card/IconNavCard/IconNavCard.d.ts +15 -0
- package/dist/src/components/generic/Card/IconNavCard/IconNavCard.js +33 -0
- package/dist/src/components/generic/Card/IconNavCard/IconNavCard.js.map +1 -0
- package/dist/src/components/generic/{Checkbox.d.ts → Checkbox/Checkbox.d.ts} +1 -1
- package/dist/src/components/generic/Checkbox/Checkbox.js +35 -0
- package/dist/src/components/generic/Checkbox/Checkbox.js.map +1 -0
- package/dist/src/components/generic/Countdown.js +3 -3
- package/dist/src/components/generic/Countdown.js.map +1 -1
- package/dist/src/components/generic/Currency.js +9 -9
- package/dist/src/components/generic/Currency.js.map +1 -1
- package/dist/src/components/generic/Distance.js +4 -4
- package/dist/src/components/generic/Distance.js.map +1 -1
- package/dist/src/components/generic/ForwardedSelect.d.ts +12 -0
- package/dist/src/components/generic/ForwardedSelect.js +16 -0
- package/dist/src/components/generic/ForwardedSelect.js.map +1 -0
- package/dist/src/components/generic/Headline.d.ts +5 -3
- package/dist/src/components/generic/Headline.js +2 -1
- package/dist/src/components/generic/Headline.js.map +1 -1
- package/dist/src/components/generic/{Icon.d.ts → Icon/Icon.d.ts} +6 -2
- package/dist/src/components/generic/{Icon.js → Icon/Icon.js} +10 -5
- package/dist/src/components/generic/Icon/Icon.js.map +1 -0
- package/dist/src/components/generic/IconText/IconText.d.ts +10 -0
- package/dist/src/components/generic/IconText/IconText.js +21 -0
- package/dist/src/components/generic/IconText/IconText.js.map +1 -0
- package/dist/src/components/generic/InputGroup/InputGroup.d.ts +1 -1
- package/dist/src/components/generic/InputGroup/InputGroup.js.map +1 -1
- package/dist/src/components/generic/InputGroup/InputGroup.types.d.ts +1 -1
- package/dist/src/components/generic/LineBreak.d.ts +1 -0
- package/dist/src/components/generic/LineBreak.js +1 -0
- package/dist/src/components/generic/LineBreak.js.map +1 -1
- package/dist/src/components/generic/Notification.d.ts +1 -1
- package/dist/src/components/generic/Notification.js +5 -5
- package/dist/src/components/generic/Notification.js.map +1 -1
- package/dist/src/components/generic/NumberIncrement.js +5 -5
- package/dist/src/components/generic/NumberIncrement.js.map +1 -1
- package/dist/src/components/generic/Overlay/Overlay.d.ts +18 -0
- package/dist/src/components/generic/Overlay/Overlay.js +93 -0
- package/dist/src/components/generic/Overlay/Overlay.js.map +1 -0
- package/dist/src/components/generic/PasswordBox/PasswordBox.d.ts +3 -0
- package/dist/src/components/generic/PasswordBox/PasswordBox.js +20 -0
- package/dist/src/components/generic/PasswordBox/PasswordBox.js.map +1 -0
- package/dist/src/components/generic/PaymentCard/CardTypeSelect.d.ts +9 -0
- package/dist/src/components/generic/PaymentCard/CardTypeSelect.js +30 -0
- package/dist/src/components/generic/PaymentCard/CardTypeSelect.js.map +1 -0
- package/dist/src/components/generic/PaymentCard/PaymentCard.d.ts +6 -0
- package/dist/src/components/generic/PaymentCard/PaymentCard.js +54 -0
- package/dist/src/components/generic/PaymentCard/PaymentCard.js.map +1 -0
- package/dist/src/components/generic/PaymentCard/PaymentCardInput.d.ts +11 -0
- package/dist/src/components/generic/PaymentCard/PaymentCardInput.js +201 -0
- package/dist/src/components/generic/PaymentCard/PaymentCardInput.js.map +1 -0
- package/dist/src/components/generic/Pill.d.ts +11 -3
- package/dist/src/components/generic/Pill.js +10 -3
- package/dist/src/components/generic/Pill.js.map +1 -1
- package/dist/src/components/generic/Placeholder.d.ts +2 -1
- package/dist/src/components/generic/Placeholder.js +2 -1
- package/dist/src/components/generic/Placeholder.js.map +1 -1
- package/dist/src/components/generic/PlanpayButton/PlanpayButton.d.ts +6 -0
- package/dist/src/components/generic/PlanpayButton/PlanpayButton.js +11 -0
- package/dist/src/components/generic/PlanpayButton/PlanpayButton.js.map +1 -0
- package/dist/src/components/generic/Portal/Portal.d.ts +9 -0
- package/dist/src/components/generic/Portal/Portal.js +10 -0
- package/dist/src/components/generic/Portal/Portal.js.map +1 -0
- package/dist/src/components/generic/PromoCodeInput.js +22 -20
- package/dist/src/components/generic/PromoCodeInput.js.map +1 -1
- package/dist/src/components/generic/RadioButtonGroup/RadioButton.d.ts +11 -0
- package/dist/src/components/generic/RadioButtonGroup/RadioButton.js +21 -0
- package/dist/src/components/generic/RadioButtonGroup/RadioButton.js.map +1 -0
- package/dist/src/components/generic/RadioButtonGroup/RadioButtonGroup.d.ts +15 -0
- package/dist/src/components/generic/RadioButtonGroup/RadioButtonGroup.js +20 -0
- package/dist/src/components/generic/RadioButtonGroup/RadioButtonGroup.js.map +1 -0
- package/dist/src/components/generic/RecentSearchesCard.d.ts +1 -1
- package/dist/src/components/generic/RecentSearchesCard.js +9 -9
- package/dist/src/components/generic/RecentSearchesCard.js.map +1 -1
- package/dist/src/components/generic/ScrollToTop.js +3 -3
- package/dist/src/components/generic/ScrollToTop.js.map +1 -1
- package/dist/src/components/generic/Select/Select.d.ts +24 -0
- package/dist/src/components/generic/Select/Select.js +64 -0
- package/dist/src/components/generic/Select/Select.js.map +1 -0
- package/dist/src/components/generic/Select.js +2 -2
- package/dist/src/components/generic/Select.js.map +1 -1
- package/dist/src/components/generic/Slider/Slider.d.ts +22 -0
- package/dist/src/components/generic/Slider/Slider.js +111 -0
- package/dist/src/components/generic/Slider/Slider.js.map +1 -0
- package/dist/src/components/generic/Tabs/ElementChildren.d.ts +3 -0
- package/dist/src/components/generic/Tabs/ElementChildren.js +18 -0
- package/dist/src/components/generic/Tabs/ElementChildren.js.map +1 -0
- package/dist/src/components/generic/Tabs/Tab.d.ts +9 -0
- package/dist/src/components/generic/Tabs/Tab.js +13 -0
- package/dist/src/components/generic/Tabs/Tab.js.map +1 -0
- package/dist/src/components/generic/Tabs/TabContext.d.ts +16 -0
- package/dist/src/components/generic/Tabs/TabContext.js +39 -0
- package/dist/src/components/generic/Tabs/TabContext.js.map +1 -0
- package/dist/src/components/generic/Tabs/TabLink.d.ts +1 -0
- package/dist/src/components/generic/Tabs/TabLink.js +30 -0
- package/dist/src/components/generic/Tabs/TabLink.js.map +1 -0
- package/dist/src/components/generic/Tabs/TabRouteContainer.d.ts +6 -0
- package/dist/src/components/generic/Tabs/TabRouteContainer.js +30 -0
- package/dist/src/components/generic/Tabs/TabRouteContainer.js.map +1 -0
- package/dist/src/components/generic/Tabs/Tabs.d.ts +12 -0
- package/dist/src/components/generic/Tabs/Tabs.js +39 -0
- package/dist/src/components/generic/Tabs/Tabs.js.map +1 -0
- package/dist/src/components/generic/Text.d.ts +6 -3
- package/dist/src/components/generic/Text.js +2 -2
- package/dist/src/components/generic/Text.js.map +1 -1
- package/dist/src/components/generic/TextArea.d.ts +2 -1
- package/dist/src/components/generic/TextArea.js +3 -3
- package/dist/src/components/generic/TextArea.js.map +1 -1
- package/dist/src/components/generic/TextBox.d.ts +5 -3
- package/dist/src/components/generic/TextBox.js +18 -14
- package/dist/src/components/generic/TextBox.js.map +1 -1
- package/dist/src/components/generic/Tooltip/Tooltip.d.ts +8 -0
- package/dist/src/components/generic/Tooltip/Tooltip.js +26 -0
- package/dist/src/components/generic/Tooltip/Tooltip.js.map +1 -0
- package/dist/src/components/generic/badging/SSLSecureBadge.js +3 -3
- package/dist/src/components/generic/badging/SSLSecureBadge.js.map +1 -1
- package/dist/src/components/generic/buttons/NextStepButton.d.ts +1 -1
- package/dist/src/components/generic/buttons/NextStepButton.js +5 -5
- package/dist/src/components/generic/buttons/NextStepButton.js.map +1 -1
- package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.d.ts +10 -7
- package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.js +37 -58
- package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.js.map +1 -1
- package/dist/src/components/generic/date/DatePicker.js +29 -28
- package/dist/src/components/generic/date/DatePicker.js.map +1 -1
- package/dist/src/components/generic/date/DatePickerDay.js +21 -22
- package/dist/src/components/generic/date/DatePickerDay.js.map +1 -1
- package/dist/src/components/generic/date/DatePickerDays.js +5 -5
- package/dist/src/components/generic/date/DatePickerDays.js.map +1 -1
- package/dist/src/components/generic/date/DatePickerMonth.js +8 -8
- package/dist/src/components/generic/date/DatePickerMonth.js.map +1 -1
- package/dist/src/components/generic/date/DatePickerWeek.js +23 -24
- package/dist/src/components/generic/date/DatePickerWeek.js.map +1 -1
- package/dist/src/components/generic/date/FloatingDatePicker.js +14 -45
- package/dist/src/components/generic/date/FloatingDatePicker.js.map +1 -1
- package/dist/src/components/generic/loader/ImageLoader.d.ts +1 -1
- package/dist/src/components/generic/loader/ImageLoader.js +6 -6
- package/dist/src/components/generic/loader/ImageLoader.js.map +1 -1
- package/dist/src/components/generic/loader/LargeLoader.js +5 -5
- package/dist/src/components/generic/loader/LargeLoader.js.map +1 -1
- package/dist/src/components/generic/loader/SmallSpinner.d.ts +1 -1
- package/dist/src/components/generic/loader/SmallSpinner.js +2 -2
- package/dist/src/components/generic/loader/SmallSpinner.js.map +1 -1
- package/dist/src/components/generic/map/HotelLocationMap.js +2 -2
- package/dist/src/components/generic/map/HotelLocationMap.js.map +1 -1
- package/dist/src/components/generic/modal/ConfirmationModal.js +3 -3
- package/dist/src/components/generic/modal/ConfirmationModal.js.map +1 -1
- package/dist/src/components/generic/modal/ErrorModal.js +3 -3
- package/dist/src/components/generic/modal/ErrorModal.js.map +1 -1
- package/dist/src/components/generic/modal/SigninModal/AuthenticatedUserModal.d.ts +8 -0
- package/dist/src/components/generic/modal/SigninModal/AuthenticatedUserModal.js +73 -0
- package/dist/src/components/generic/modal/SigninModal/AuthenticatedUserModal.js.map +1 -0
- package/dist/src/components/generic/modal/SigninModal/UnauthenticatedUserModal.d.ts +15 -0
- package/dist/src/components/generic/modal/SigninModal/UnauthenticatedUserModal.js +82 -0
- package/dist/src/components/generic/modal/SigninModal/UnauthenticatedUserModal.js.map +1 -0
- package/dist/src/components/generic/modal/SimpleModal.d.ts +2 -3
- package/dist/src/components/generic/modal/SimpleModal.js +67 -55
- package/dist/src/components/generic/modal/SimpleModal.js.map +1 -1
- package/dist/src/components/generic/modal/TabbedModal.js +3 -3
- package/dist/src/components/generic/modal/TabbedModal.js.map +1 -1
- package/dist/src/components/generic/radio/RadioFields.js +2 -2
- package/dist/src/components/generic/radio/RadioFields.js.map +1 -1
- package/dist/src/components/members/EditMyProfile.d.ts +3 -0
- package/dist/src/components/members/EditMyProfile.js +103 -0
- package/dist/src/components/members/EditMyProfile.js.map +1 -0
- package/dist/src/components/navigation/Header.js +73 -32
- package/dist/src/components/navigation/Header.js.map +1 -1
- package/dist/src/components/navigation/StepSelector.js +15 -14
- package/dist/src/components/navigation/StepSelector.js.map +1 -1
- package/dist/src/components/navigation/StepSelectorModal.js +9 -9
- package/dist/src/components/navigation/StepSelectorModal.js.map +1 -1
- package/dist/src/components/pages/Account/Card/CardList.d.ts +15 -0
- package/dist/src/components/pages/Account/Card/CardList.js +36 -0
- package/dist/src/components/pages/Account/Card/CardList.js.map +1 -0
- package/dist/src/components/pages/Account/Card/MemberCardItem.d.ts +8 -0
- package/dist/src/components/pages/Account/Card/MemberCardItem.js +38 -0
- package/dist/src/components/pages/Account/Card/MemberCardItem.js.map +1 -0
- package/dist/src/components/pages/PageColorComponent.d.ts +1 -0
- package/dist/src/components/pages/PageColorComponent.js +18 -0
- package/dist/src/components/pages/PageColorComponent.js.map +1 -0
- package/dist/src/components/reservation/ReservationItem.d.ts +16 -0
- package/dist/src/components/reservation/ReservationItem.js +145 -0
- package/dist/src/components/reservation/ReservationItem.js.map +1 -0
- package/dist/src/components/reservation/ReservationList.d.ts +11 -0
- package/dist/src/components/reservation/ReservationList.js +10 -0
- package/dist/src/components/reservation/ReservationList.js.map +1 -0
- package/dist/src/components/steps/DaysSelectedInformer.js +4 -4
- package/dist/src/components/steps/DaysSelectedInformer.js.map +1 -1
- package/dist/src/components/steps/MinimumNightStayPill.js +14 -14
- package/dist/src/components/steps/MinimumNightStayPill.js.map +1 -1
- package/dist/src/components/steps/addons/AddonCard.d.ts +1 -1
- package/dist/src/components/steps/addons/AddonCard.js +22 -22
- package/dist/src/components/steps/addons/AddonCard.js.map +1 -1
- package/dist/src/components/steps/addons/AddonList.js +12 -12
- package/dist/src/components/steps/addons/AddonList.js.map +1 -1
- package/dist/src/components/steps/addons/AddonsNotFound.js +5 -5
- package/dist/src/components/steps/addons/AddonsNotFound.js.map +1 -1
- package/dist/src/components/steps/common/CommonAddonSummary/CommonAddonSummary.d.ts +1 -1
- package/dist/src/components/steps/common/CommonAddonSummary/CommonAddonSummary.js +4 -3
- package/dist/src/components/steps/common/CommonAddonSummary/CommonAddonSummary.js.map +1 -1
- package/dist/src/components/steps/confirmation/AccountDetails.js +9 -9
- package/dist/src/components/steps/confirmation/AccountDetails.js.map +1 -1
- package/dist/src/components/steps/confirmation/PaymentDetails/AcceptablePaymentCard.d.ts +8 -0
- package/dist/src/components/steps/confirmation/PaymentDetails/AcceptablePaymentCard.js +31 -0
- package/dist/src/components/steps/confirmation/PaymentDetails/AcceptablePaymentCard.js.map +1 -0
- package/dist/src/components/steps/confirmation/PaymentDetails/CardPaymentDetails.d.ts +0 -0
- package/dist/src/components/steps/confirmation/PaymentDetails/CardPaymentDetails.js +1 -0
- package/dist/src/components/steps/confirmation/PaymentDetails/CardPaymentDetails.js.map +1 -0
- package/dist/src/components/steps/confirmation/PaymentDetails/ExistingCardPicker.d.ts +6 -0
- package/dist/src/components/steps/confirmation/PaymentDetails/ExistingCardPicker.js +41 -0
- package/dist/src/components/steps/confirmation/PaymentDetails/ExistingCardPicker.js.map +1 -0
- package/dist/src/components/steps/confirmation/PaymentDetails/StepConfirmationPaymentDetails.d.ts +3 -0
- package/dist/src/components/steps/confirmation/PaymentDetails/StepConfirmationPaymentDetails.js +196 -0
- package/dist/src/components/steps/confirmation/PaymentDetails/StepConfirmationPaymentDetails.js.map +1 -0
- package/dist/src/components/steps/confirmation/PlanpayPaymentMethod.d.ts +2 -0
- package/dist/src/components/steps/confirmation/PlanpayPaymentMethod.js +58 -0
- package/dist/src/components/steps/confirmation/PlanpayPaymentMethod.js.map +1 -0
- package/dist/src/components/steps/confirmation/RoomContactDetails.d.ts +3 -8
- package/dist/src/components/steps/confirmation/RoomContactDetails.js +262 -201
- package/dist/src/components/steps/confirmation/RoomContactDetails.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationAcknowledgement.d.ts +3 -6
- package/dist/src/components/steps/confirmation/StepConfirmationAcknowledgement.js +29 -19
- package/dist/src/components/steps/confirmation/StepConfirmationAcknowledgement.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.d.ts +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.js +13 -13
- package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationCommentsComponent.d.ts +2 -1
- package/dist/src/components/steps/confirmation/StepConfirmationCommentsComponent.js +22 -10
- package/dist/src/components/steps/confirmation/StepConfirmationCommentsComponent.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationCountrySelector.d.ts +10 -8
- package/dist/src/components/steps/confirmation/StepConfirmationCountrySelector.js +82 -54
- package/dist/src/components/steps/confirmation/StepConfirmationCountrySelector.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationForm.js +229 -302
- package/dist/src/components/steps/confirmation/StepConfirmationForm.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationFormProvider.d.ts +1 -0
- package/dist/src/components/steps/confirmation/StepConfirmationFormProvider.js +11 -0
- package/dist/src/components/steps/confirmation/StepConfirmationFormProvider.js.map +1 -0
- package/dist/src/components/steps/confirmation/StepConfirmationLimitedOffer.js +7 -7
- package/dist/src/components/steps/confirmation/StepConfirmationLimitedOffer.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationPaymentDetails.js +31 -34
- package/dist/src/components/steps/confirmation/StepConfirmationPaymentDetails.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationPoliciesSection.js +5 -5
- package/dist/src/components/steps/confirmation/StepConfirmationPoliciesSection.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationPolicyBlock.js +5 -5
- package/dist/src/components/steps/confirmation/StepConfirmationPolicyBlock.js.map +1 -1
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffers.js +23 -23
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffers.js.map +1 -1
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersColumn.d.ts +1 -1
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersColumn.js +3 -3
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersColumn.js.map +1 -1
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersModal.d.ts +2 -2
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersModal.js +17 -17
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersModal.js.map +1 -1
- package/dist/src/components/steps/date/PeoplePicker.js +9 -9
- package/dist/src/components/steps/date/PeoplePicker.js.map +1 -1
- package/dist/src/components/steps/date/PeoplePickerRow.js +13 -13
- package/dist/src/components/steps/date/PeoplePickerRow.js.map +1 -1
- package/dist/src/components/steps/date/StepDatePricePerRoom.js +15 -15
- package/dist/src/components/steps/date/StepDatePricePerRoom.js.map +1 -1
- package/dist/src/components/steps/date/StepOneDateRange.js +7 -7
- package/dist/src/components/steps/date/StepOneDateRange.js.map +1 -1
- package/dist/src/components/steps/date/StepOneDateRangePicker.js +6 -6
- package/dist/src/components/steps/date/StepOneDateRangePicker.js.map +1 -1
- package/dist/src/components/steps/date/StepOneDateRangePickerLegend.js +6 -6
- package/dist/src/components/steps/date/StepOneDateRangePickerLegend.js.map +1 -1
- package/dist/src/components/steps/date/StepOneNextStepButton.js +6 -6
- package/dist/src/components/steps/date/StepOneNextStepButton.js.map +1 -1
- package/dist/src/components/steps/date/StepOneStatusPeople.js +1 -1
- package/dist/src/components/steps/date/StepOneStatusPeople.js.map +1 -1
- package/dist/src/components/steps/hotel/HotelCard.d.ts +1 -1
- package/dist/src/components/steps/hotel/HotelCard.js +31 -31
- package/dist/src/components/steps/hotel/HotelCard.js.map +1 -1
- package/dist/src/components/steps/hotel/HotelCardList.d.ts +1 -1
- package/dist/src/components/steps/hotel/HotelCardList.js +2 -2
- package/dist/src/components/steps/hotel/HotelCardList.js.map +1 -1
- package/dist/src/components/steps/hotel/HotelCardModal.d.ts +2 -3
- package/dist/src/components/steps/hotel/HotelCardModal.js +20 -20
- package/dist/src/components/steps/hotel/HotelCardModal.js.map +1 -1
- package/dist/src/components/steps/hotel/HotelSearchParameters.js +24 -31
- package/dist/src/components/steps/hotel/HotelSearchParameters.js.map +1 -1
- package/dist/src/components/steps/hotel/NoHotelsAvailable.js +4 -4
- package/dist/src/components/steps/hotel/NoHotelsAvailable.js.map +1 -1
- package/dist/src/components/steps/room/AvailableUpgradesModal.js +23 -24
- package/dist/src/components/steps/room/AvailableUpgradesModal.js.map +1 -1
- package/dist/src/components/steps/room/ImageGallerySlider.d.ts +1 -1
- package/dist/src/components/steps/room/ImageGallerySlider.js +14 -14
- package/dist/src/components/steps/room/ImageGallerySlider.js.map +1 -1
- package/dist/src/components/steps/room/InactivityWindow.js +22 -22
- package/dist/src/components/steps/room/InactivityWindow.js.map +1 -1
- package/dist/src/components/steps/room/LargeRoomCard.d.ts +1 -1
- package/dist/src/components/steps/room/LargeRoomCard.js +14 -14
- package/dist/src/components/steps/room/LargeRoomCard.js.map +1 -1
- package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.js +39 -44
- package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.js.map +1 -1
- package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.types.d.ts +1 -1
- package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.types.js.map +1 -1
- package/dist/src/components/steps/room/NoRoomsFoundBlock.js +22 -22
- package/dist/src/components/steps/room/NoRoomsFoundBlock.js.map +1 -1
- package/dist/src/components/steps/room/RatesNotFound.js +3 -3
- package/dist/src/components/steps/room/RatesNotFound.js.map +1 -1
- package/dist/src/components/steps/room/RoomList.js +53 -23
- package/dist/src/components/steps/room/RoomList.js.map +1 -1
- package/dist/src/components/steps/room/RoomListAlert.d.ts +2 -0
- package/dist/src/components/steps/room/RoomListAlert.js +27 -0
- package/dist/src/components/steps/room/RoomListAlert.js.map +1 -0
- package/dist/src/components/steps/room/RoomListCrossSellBlock.js +24 -26
- package/dist/src/components/steps/room/RoomListCrossSellBlock.js.map +1 -1
- package/dist/src/components/steps/room/RoomModal.d.ts +2 -2
- package/dist/src/components/steps/room/RoomModal.js +12 -12
- package/dist/src/components/steps/room/RoomModal.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomAlertBlocks.js +8 -8
- package/dist/src/components/steps/room/StepRoomAlertBlocks.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomBestRateAlert.js +8 -8
- package/dist/src/components/steps/room/StepRoomBestRateAlert.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomErrorForm.js +10 -10
- package/dist/src/components/steps/room/StepRoomErrorForm.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomHotelDetails.js +8 -9
- package/dist/src/components/steps/room/StepRoomHotelDetails.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomNextStepButton.js +5 -5
- package/dist/src/components/steps/room/StepRoomNextStepButton.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomSortBy.js +6 -6
- package/dist/src/components/steps/room/StepRoomSortBy.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomSummaryAndButton.js +13 -13
- package/dist/src/components/steps/room/StepRoomSummaryAndButton.js.map +1 -1
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfAdultsPicker.d.ts +1 -1
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfAdultsPicker.js +6 -6
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfAdultsPicker.js.map +1 -1
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfChildrenPicker.d.ts +1 -1
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfChildrenPicker.js +6 -6
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfChildrenPicker.js.map +1 -1
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgress.js +9 -9
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgress.js.map +1 -1
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgressRow.d.ts +1 -1
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgressRow.js +35 -42
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgressRow.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetails.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetails.js +37 -37
- package/dist/src/components/steps/room/roomDetails/RoomDetails.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.d.ts +3 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.js +9 -8
- package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPerkBlock.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPerkBlock.js +5 -5
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPerkBlock.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPriceBlock.js +10 -10
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPriceBlock.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsRetargeting.d.ts +7 -0
- package/dist/src/components/steps/room/roomDetails/RoomDetailsRetargeting.js +99 -0
- package/dist/src/components/steps/room/roomDetails/RoomDetailsRetargeting.js.map +1 -0
- package/dist/src/components/steps/room/roomDetails/roomRates/BookNowButton.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/BookNowButton.js +4 -4
- package/dist/src/components/steps/room/roomDetails/roomRates/BookNowButton.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/MembersOnlyRow.js +11 -11
- package/dist/src/components/steps/room/roomDetails/roomRates/MembersOnlyRow.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.js +15 -14
- package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDescriptionTab.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDescriptionTab.js +16 -15
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDescriptionTab.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDetailsAndPriceBreakdownModal.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDetailsAndPriceBreakdownModal.js +4 -4
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDetailsAndPriceBreakdownModal.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.d.ts +2 -3
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.js +16 -16
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateRow.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateRow.js +22 -22
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateRow.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRates.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRates.js +25 -32
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRates.js.map +1 -1
- package/dist/src/components/steps/room/roomFilter/AppliedFiltersBlock.js +7 -7
- package/dist/src/components/steps/room/roomFilter/AppliedFiltersBlock.js.map +1 -1
- package/dist/src/components/steps/room/roomFilter/RoomFilterOverlay.d.ts +1 -1
- package/dist/src/components/steps/room/roomFilter/RoomFilterOverlay.js +22 -39
- package/dist/src/components/steps/room/roomFilter/RoomFilterOverlay.js.map +1 -1
- package/dist/src/components/steps/room/roomFilter/RoomFilterPriceSlider.d.ts +2 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterPriceSlider.js +65 -27
- package/dist/src/components/steps/room/roomFilter/RoomFilterPriceSlider.js.map +1 -1
- package/dist/src/components/steps/room/roomFilter/RoomFilterRateType.d.ts +2 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterRateType.js +13 -13
- package/dist/src/components/steps/room/roomFilter/RoomFilterRateType.js.map +1 -1
- package/dist/src/components/steps/room/roomFilter/RoomFilterRoomType.d.ts +2 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterRoomType.js +13 -13
- package/dist/src/components/steps/room/roomFilter/RoomFilterRoomType.js.map +1 -1
- package/dist/src/components/summary/BEMapWidget.js +7 -7
- package/dist/src/components/summary/BEMapWidget.js.map +1 -1
- package/dist/src/components/summary/BEMobileSummary.js +15 -15
- package/dist/src/components/summary/BEMobileSummary.js.map +1 -1
- package/dist/src/components/summary/BEMobileSummaryModal.js +25 -26
- package/dist/src/components/summary/BEMobileSummaryModal.js.map +1 -1
- package/dist/src/components/summary/BESummary.d.ts +1 -1
- package/dist/src/components/summary/BESummary.js +22 -25
- package/dist/src/components/summary/BESummary.js.map +1 -1
- package/dist/src/components/summary/BESummaryAddonRow.d.ts +1 -1
- package/dist/src/components/summary/BESummaryAddonRow.js +9 -9
- package/dist/src/components/summary/BESummaryAddonRow.js.map +1 -1
- package/dist/src/components/summary/BESummaryPerkBlock.js +8 -8
- package/dist/src/components/summary/BESummaryPerkBlock.js.map +1 -1
- package/dist/src/components/summary/BESummaryPrivacyPolicy.js +5 -5
- package/dist/src/components/summary/BESummaryPrivacyPolicy.js.map +1 -1
- package/dist/src/components/summary/BESummaryRoomRow.d.ts +1 -1
- package/dist/src/components/summary/BESummaryRoomRow.js +19 -19
- package/dist/src/components/summary/BESummaryRoomRow.js.map +1 -1
- package/dist/src/components/summary/TransportDistanceFromHotelBlock.d.ts +1 -1
- package/dist/src/components/summary/TransportDistanceFromHotelBlock.js +7 -7
- package/dist/src/components/summary/TransportDistanceFromHotelBlock.js.map +1 -1
- package/dist/src/components/temp/Login.d.ts +2 -0
- package/dist/src/components/temp/Login.js +53 -0
- package/dist/src/components/temp/Login.js.map +1 -0
- package/dist/src/containers/PrivateRoute.d.ts +3 -0
- package/dist/src/containers/PrivateRoute.js +31 -0
- package/dist/src/containers/PrivateRoute.js.map +1 -0
- package/dist/src/contexts/BasketContext/BasketContext.d.ts +2 -1
- package/dist/src/contexts/BasketContext/BasketContext.js +4 -2
- package/dist/src/contexts/BasketContext/BasketContext.js.map +1 -1
- package/dist/src/contexts/BasketContext/BasketContextType.d.ts +7 -7
- package/dist/src/contexts/BasketContext/BasketContextType.js.map +1 -1
- package/dist/src/contexts/BasketContext/BasketContextWrapper.js +70 -56
- package/dist/src/contexts/BasketContext/BasketContextWrapper.js.map +1 -1
- package/dist/src/contexts/BookingEngineContext/BookingEngineContext.d.ts +1 -0
- package/dist/src/contexts/BookingEngineContext/BookingEngineContext.js +4 -2
- package/dist/src/contexts/BookingEngineContext/BookingEngineContext.js.map +1 -1
- package/dist/src/contexts/BookingEngineContext/BookingEngineContextType.types.d.ts +2 -2
- package/dist/src/contexts/BookingEngineContext/BookingEngineContextWrapper.js +4 -4
- package/dist/src/contexts/BookingEngineContext/BookingEngineContextWrapper.js.map +1 -1
- package/dist/src/contexts/CompanyContext/CompanyContext.js +1 -1
- package/dist/src/contexts/CompanyContext/CompanyContext.js.map +1 -1
- package/dist/src/contexts/CompanyContext/CompanyContextType.type.d.ts +13 -9
- package/dist/src/contexts/CompanyContext/CompanyContextType.type.js.map +1 -1
- package/dist/src/contexts/CompanyContext/CompanyContextWrapper.d.ts +1 -1
- package/dist/src/contexts/CompanyContext/CompanyContextWrapper.js +37 -42
- package/dist/src/contexts/CompanyContext/CompanyContextWrapper.js.map +1 -1
- package/dist/src/contexts/ConfirmationFormContext.d.ts +3 -3
- package/dist/src/contexts/ConfirmationFormContext.js +4 -5
- package/dist/src/contexts/ConfirmationFormContext.js.map +1 -1
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContext.d.ts +4 -0
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContext.js +8 -0
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContext.js.map +1 -0
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextTypes.d.ts +12 -0
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextTypes.js +3 -0
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextTypes.js.map +1 -0
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.d.ts +2 -0
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.js +188 -0
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.js.map +1 -0
- package/dist/src/contexts/ErrorContext.js +3 -3
- package/dist/src/contexts/ErrorContext.js.map +1 -1
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContext.js +1 -1
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContext.js.map +1 -1
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.js +46 -35
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.js.map +1 -1
- package/dist/src/contexts/HotelOverridesContext.d.ts +1 -1
- package/dist/src/contexts/HotelOverridesContext.js +15 -15
- package/dist/src/contexts/HotelOverridesContext.js.map +1 -1
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContext.d.ts +36 -0
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContext.js +28 -0
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContext.js.map +1 -0
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContextProvider.d.ts +2 -0
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContextProvider.js +227 -0
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContextProvider.js.map +1 -0
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContext.d.ts +20 -0
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContext.js +8 -0
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContext.js.map +1 -0
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContextProvider.d.ts +2 -0
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContextProvider.js +155 -0
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContextProvider.js.map +1 -0
- package/dist/src/contexts/ModalContext.js +1 -1
- package/dist/src/contexts/ModalContext.js.map +1 -1
- package/dist/src/contexts/NotificationContext.d.ts +3 -3
- package/dist/src/contexts/NotificationContext.js +5 -6
- package/dist/src/contexts/NotificationContext.js.map +1 -1
- package/dist/src/contexts/index.d.ts +22 -19
- package/dist/src/contexts/index.js +28 -21
- package/dist/src/contexts/index.js.map +1 -1
- package/dist/src/engines/BaseEngine.d.ts +3 -3
- package/dist/src/engines/BaseEngine.js +2 -2
- package/dist/src/engines/BaseEngine.js.map +1 -1
- package/dist/src/engines/CustomEngine/CustomEngine.d.ts +1 -1
- package/dist/src/engines/CustomEngine/CustomEngine.js +1 -1
- package/dist/src/engines/CustomEngine/CustomEngine.js.map +1 -1
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngine.d.ts +1 -1
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngine.js +4 -4
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngine.js.map +1 -1
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElement.d.ts +1 -1
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElement.js +25 -14
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElement.js.map +1 -1
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngine.d.ts +1 -1
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngine.js +4 -4
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngine.js.map +1 -1
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.d.ts +1 -1
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.js +46 -121
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.js.map +1 -1
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngine.d.ts +1 -1
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngine.js +4 -4
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngine.js.map +1 -1
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.d.ts +1 -1
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.js +17 -15
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.js.map +1 -1
- package/dist/src/errors/GetAvailabilityError.d.ts +1 -1
- package/dist/src/errors/GetAvailabilityError.js +4 -4
- package/dist/src/errors/GetAvailabilityError.js.map +1 -1
- package/dist/src/errors/NoCompanyContextError.d.ts +1 -1
- package/dist/src/errors/NoCompanyContextError.js +1 -1
- package/dist/src/errors/NoCompanyContextError.js.map +1 -1
- package/dist/src/errors/NoHotelSelectedError.d.ts +1 -1
- package/dist/src/errors/NoHotelSelectedError.js +1 -1
- package/dist/src/errors/NoHotelSelectedError.js.map +1 -1
- package/dist/src/events/RoomstayEventManager.d.ts +3 -3
- package/dist/src/events/RoomstayEventManager.js +5 -24
- package/dist/src/events/RoomstayEventManager.js.map +1 -1
- package/dist/src/events/actions/AddToCartEvent.d.ts +2 -2
- package/dist/src/events/actions/AddToCartEvent.js +1 -1
- package/dist/src/events/actions/AddToCartEvent.js.map +1 -1
- package/dist/src/events/actions/RemoveFromCartEvent.d.ts +2 -2
- package/dist/src/events/actions/RemoveFromCartEvent.js +1 -1
- package/dist/src/events/actions/RemoveFromCartEvent.js.map +1 -1
- package/dist/src/events/index.d.ts +13 -14
- package/dist/src/events/index.js +19 -16
- package/dist/src/events/index.js.map +1 -1
- package/dist/src/events/views/StepCheckoutViewEvent.d.ts +2 -2
- package/dist/src/events/views/StepCheckoutViewEvent.js +1 -1
- package/dist/src/events/views/StepCheckoutViewEvent.js.map +1 -1
- package/dist/src/hooks/AutoFocusOnSelect.d.ts +13 -0
- package/dist/src/hooks/AutoFocusOnSelect.js +76 -0
- package/dist/src/hooks/AutoFocusOnSelect.js.map +1 -0
- package/dist/src/hooks/BodyClickHook.d.ts +10 -0
- package/dist/src/hooks/BodyClickHook.js +36 -0
- package/dist/src/hooks/BodyClickHook.js.map +1 -0
- package/dist/src/hooks/CombineState.d.ts +2 -0
- package/dist/src/hooks/CombineState.js +10 -0
- package/dist/src/hooks/CombineState.js.map +1 -0
- package/dist/src/hooks/ConfirmationQuery.d.ts +5 -0
- package/dist/src/hooks/ConfirmationQuery.js +17 -0
- package/dist/src/hooks/ConfirmationQuery.js.map +1 -0
- package/dist/src/hooks/CurrentHotelHook.js +4 -3
- package/dist/src/hooks/CurrentHotelHook.js.map +1 -1
- package/dist/src/hooks/ElementSortHook.d.ts +2 -2
- package/dist/src/hooks/ElementSortHook.js +4 -3
- package/dist/src/hooks/ElementSortHook.js.map +1 -1
- package/dist/src/hooks/EventHook.d.ts +3 -3
- package/dist/src/hooks/EventHook.js +5 -4
- package/dist/src/hooks/EventHook.js.map +1 -1
- package/dist/src/hooks/KeyboardControlOnSelect.d.ts +13 -0
- package/dist/src/hooks/KeyboardControlOnSelect.js +111 -0
- package/dist/src/hooks/KeyboardControlOnSelect.js.map +1 -0
- package/dist/src/hooks/LoggedInUserHook.d.ts +10 -0
- package/dist/src/hooks/LoggedInUserHook.js +43 -0
- package/dist/src/hooks/LoggedInUserHook.js.map +1 -0
- package/dist/src/hooks/Query.d.ts +2 -0
- package/dist/src/hooks/Query.js +15 -0
- package/dist/src/hooks/Query.js.map +1 -0
- package/dist/src/hooks/ScrollFocusHook.js +2 -1
- package/dist/src/hooks/ScrollFocusHook.js.map +1 -1
- package/dist/src/hooks/VGSHooks.d.ts +47 -0
- package/dist/src/hooks/VGSHooks.js +207 -0
- package/dist/src/hooks/VGSHooks.js.map +1 -0
- package/dist/src/hooks/WindowSize.d.ts +4 -0
- package/dist/src/hooks/WindowSize.js +24 -0
- package/dist/src/hooks/WindowSize.js.map +1 -0
- package/dist/src/hooks/index.d.ts +6 -5
- package/dist/src/hooks/index.js +12 -7
- package/dist/src/hooks/index.js.map +1 -1
- package/dist/src/icons/Check.js +1 -1
- package/dist/src/icons/Check.js.map +1 -1
- package/dist/src/index.d.ts +62 -64
- package/dist/src/index.js +73 -72
- package/dist/src/index.js.map +1 -1
- package/dist/src/mockApi/AddonAPI.d.ts +3 -3
- package/dist/src/mockApi/AddonAPI.js +3 -3
- package/dist/src/mockApi/AddonAPI.js.map +1 -1
- package/dist/src/mockApi/BookingAPI.d.ts +6 -6
- package/dist/src/mockApi/BookingAPI.js +6 -6
- package/dist/src/mockApi/BookingAPI.js.map +1 -1
- package/dist/src/mockApi/ExchangeRateAPI.d.ts +2 -2
- package/dist/src/mockApi/ExchangeRateAPI.js +1 -1
- package/dist/src/mockApi/ExchangeRateAPI.js.map +1 -1
- package/dist/src/mockApi/HotelAPI.d.ts +3 -3
- package/dist/src/mockApi/HotelAPI.js +1 -1
- package/dist/src/mockApi/HotelAPI.js.map +1 -1
- package/dist/src/mockApi/MemberAPI.d.ts +1 -1
- package/dist/src/mockApi/MemberAPI.js +1 -1
- package/dist/src/mockApi/MemberAPI.js.map +1 -1
- package/dist/src/mockApi/MockAPI.d.ts +1 -1
- package/dist/src/mockApi/MockAPI.js +1 -1
- package/dist/src/mockApi/MockAPI.js.map +1 -1
- package/dist/src/mockApi/ReservationAPI.d.ts +6 -6
- package/dist/src/mockApi/ReservationAPI.js +1 -1
- package/dist/src/mockApi/ReservationAPI.js.map +1 -1
- package/dist/src/models/Addon/Addon.d.ts +2 -2
- package/dist/src/models/Addon/Addon.js.map +1 -1
- package/dist/src/models/Api/ExchangeRateDTO.d.ts +1 -1
- package/dist/src/models/Api/HotelDTO.d.ts +19 -11
- package/dist/src/models/Api/HotelDTO.js.map +1 -1
- package/dist/src/models/Api/HotelOverrideDTO.d.ts +1 -1
- package/dist/src/models/Api/HotelOverrideDTO.js.map +1 -1
- package/dist/src/models/Api/IEventReservation.d.ts +1 -1
- package/dist/src/models/Api/RatePlanDTO.d.ts +1 -1
- package/dist/src/models/Api/ReservationsDTO.d.ts +17 -4
- package/dist/src/models/Api/ReservationsDTO.js.map +1 -1
- package/dist/src/models/Api/RoomNightDTO.d.ts +2 -2
- package/dist/src/models/Api/RoomNightDTO.js.map +1 -1
- package/dist/src/models/Api/RoomNightRateDTO.d.ts +1 -1
- package/dist/src/models/Api/RoomTypeDTO.d.ts +1 -1
- package/dist/src/models/BasketAddonRow.d.ts +1 -1
- package/dist/src/models/BasketAddonRow.js +2 -2
- package/dist/src/models/BasketAddonRow.js.map +1 -1
- package/dist/src/models/BasketRow.d.ts +9 -6
- package/dist/src/models/BasketRow.js +4 -1
- package/dist/src/models/BasketRow.js.map +1 -1
- package/dist/src/models/BasketRowDifferences.d.ts +2 -2
- package/dist/src/models/Client/Hotel/ColorProfile.d.ts +1 -1
- package/dist/src/models/Client/Hotel/Company.d.ts +2 -2
- package/dist/src/models/Client/Hotel/Company.js.map +1 -1
- package/dist/src/models/Client/Hotel/Hotel.d.ts +28 -15
- package/dist/src/models/Client/Hotel/Hotel.js +8 -0
- package/dist/src/models/Client/Hotel/Hotel.js.map +1 -1
- package/dist/src/models/Client/Hotel/HotelAddress.d.ts +1 -1
- package/dist/src/models/Client/Hotel/HotelPerk.d.ts +3 -3
- package/dist/src/models/Client/Hotel/HotelPerk.js.map +1 -1
- package/dist/src/models/Client/Hotel/HotelRoomOverwrite.d.ts +1 -1
- package/dist/src/models/Confirmation.d.ts +31 -0
- package/dist/src/models/Confirmation.js +15 -0
- package/dist/src/models/Confirmation.js.map +1 -0
- package/dist/src/models/PaymentCard.d.ts +15 -2
- package/dist/src/models/PaymentCard.js +13 -0
- package/dist/src/models/PaymentCard.js.map +1 -1
- package/dist/src/models/Reservation/Reservation.d.ts +16 -0
- package/dist/src/models/{Promotion/IPromotion.type.js → Reservation/Reservation.js} +1 -1
- package/dist/src/models/Reservation/Reservation.js.map +1 -0
- package/dist/src/models/Room/Filters/BudgetFilter.d.ts +2 -2
- package/dist/src/models/Room/Filters/BudgetFilter.js +1 -1
- package/dist/src/models/Room/Filters/BudgetFilter.js.map +1 -1
- package/dist/src/models/Room/Filters/Filter.d.ts +1 -1
- package/dist/src/models/Room/Filters/Filter.js.map +1 -1
- package/dist/src/models/Room/Filters/RateTypeFilter.d.ts +2 -2
- package/dist/src/models/Room/Filters/RateTypeFilter.js +1 -1
- package/dist/src/models/Room/Filters/RateTypeFilter.js.map +1 -1
- package/dist/src/models/Room/Filters/RoomTypeFilter.d.ts +2 -2
- package/dist/src/models/Room/Filters/RoomTypeFilter.js +1 -1
- package/dist/src/models/Room/Filters/RoomTypeFilter.js.map +1 -1
- package/dist/src/models/Room/Room.d.ts +3 -3
- package/dist/src/models/Room/Room.js +1 -1
- package/dist/src/models/Room/Room.js.map +1 -1
- package/dist/src/models/Room/RoomRate.d.ts +4 -4
- package/dist/src/models/Room/RoomRate.js +3 -3
- package/dist/src/models/Room/RoomRate.js.map +1 -1
- package/dist/src/models/Room/RoomRateNight.d.ts +1 -1
- package/dist/src/models/Room/RoomRateNight.js +1 -1
- package/dist/src/models/Room/RoomRateNight.js.map +1 -1
- package/dist/src/models/RoomListSearch.d.ts +3 -3
- package/dist/src/models/RoomstayMembers/IRoomstayMemberBooking.d.ts +21 -0
- package/dist/src/models/RoomstayMembers/IRoomstayMemberBooking.js +3 -0
- package/dist/src/models/RoomstayMembers/IRoomstayMemberBooking.js.map +1 -0
- package/dist/src/models/RoomstayMembers/IRoomstayMemberCard.d.ts +2 -0
- package/dist/src/models/RoomstayMembers/IRoomstayMemberCard.js +3 -0
- package/dist/src/models/RoomstayMembers/IRoomstayMemberCard.js.map +1 -0
- package/dist/src/models/RoomstaySession.d.ts +9 -6
- package/dist/src/models/RoomstaySession.js.map +1 -1
- package/dist/src/models/SearchParameters.d.ts +1 -1
- package/dist/src/models/UserProfile.d.ts +2 -1
- package/dist/src/models/UserProfile.js.map +1 -1
- package/dist/src/pages/account/AccountHome/AccountHomePage.d.ts +1 -0
- package/dist/src/pages/account/AccountHome/AccountHomePage.js +82 -0
- package/dist/src/pages/account/AccountHome/AccountHomePage.js.map +1 -0
- package/dist/src/pages/account/AccountOutlet.d.ts +6 -0
- package/dist/src/pages/account/AccountOutlet.js +10 -0
- package/dist/src/pages/account/AccountOutlet.js.map +1 -0
- package/dist/src/pages/account/AccountRouter.d.ts +1 -0
- package/dist/src/pages/account/AccountRouter.js +32 -0
- package/dist/src/pages/account/AccountRouter.js.map +1 -0
- package/dist/src/pages/account/AccountRoutes.d.ts +22 -0
- package/dist/src/pages/account/AccountRoutes.js +26 -0
- package/dist/src/pages/account/AccountRoutes.js.map +1 -0
- package/dist/src/pages/account/Details/AccountDetailsCardsPage.d.ts +1 -0
- package/dist/src/pages/account/Details/AccountDetailsCardsPage.js +125 -0
- package/dist/src/pages/account/Details/AccountDetailsCardsPage.js.map +1 -0
- package/dist/src/pages/account/Details/AccountDetailsNoCardsPage.d.ts +7 -0
- package/dist/src/pages/account/Details/AccountDetailsNoCardsPage.js +25 -0
- package/dist/src/pages/account/Details/AccountDetailsNoCardsPage.js.map +1 -0
- package/dist/src/pages/account/Details/AccountDetailsProfilePage.d.ts +1 -0
- package/dist/src/pages/account/Details/AccountDetailsProfilePage.js +127 -0
- package/dist/src/pages/account/Details/AccountDetailsProfilePage.js.map +1 -0
- package/dist/src/pages/account/Help/AccountHelpPage.d.ts +1 -0
- package/dist/src/pages/account/Help/AccountHelpPage.js +140 -0
- package/dist/src/pages/account/Help/AccountHelpPage.js.map +1 -0
- package/dist/src/pages/account/Reservations/AccountReservationCancelledPage.d.ts +1 -0
- package/dist/src/pages/account/Reservations/AccountReservationCancelledPage.js +107 -0
- package/dist/src/pages/account/Reservations/AccountReservationCancelledPage.js.map +1 -0
- package/dist/src/pages/account/Reservations/AccountReservationMultiplePage.d.ts +2 -0
- package/dist/src/pages/account/Reservations/AccountReservationMultiplePage.js +132 -0
- package/dist/src/pages/account/Reservations/AccountReservationMultiplePage.js.map +1 -0
- package/dist/src/pages/account/Reservations/AccountReservationSinglePage.d.ts +1 -0
- package/dist/src/pages/account/Reservations/AccountReservationSinglePage.js +245 -0
- package/dist/src/pages/account/Reservations/AccountReservationSinglePage.js.map +1 -0
- package/dist/src/pages/account/Reservations/AccountReservationsPage.d.ts +1 -0
- package/dist/src/pages/account/Reservations/AccountReservationsPage.js +38 -0
- package/dist/src/pages/account/Reservations/AccountReservationsPage.js.map +1 -0
- package/dist/src/pages/findReservation/FindReservation.d.ts +7 -0
- package/dist/src/pages/findReservation/FindReservation.js +149 -73
- package/dist/src/pages/findReservation/FindReservation.js.map +1 -1
- package/dist/src/pages/findReservation/FindReservationResults.js +29 -29
- package/dist/src/pages/findReservation/FindReservationResults.js.map +1 -1
- package/dist/src/pages/findReservation/ReservationRow.d.ts +1 -1
- package/dist/src/pages/findReservation/ReservationRow.js +24 -23
- package/dist/src/pages/findReservation/ReservationRow.js.map +1 -1
- package/dist/src/pages/findReservation/ReservationRowModal.d.ts +1 -1
- package/dist/src/pages/findReservation/ReservationRowModal.js +12 -12
- package/dist/src/pages/findReservation/ReservationRowModal.js.map +1 -1
- package/dist/src/pages/hotel/HotelInfo.js +23 -30
- package/dist/src/pages/hotel/HotelInfo.js.map +1 -1
- package/dist/src/pages/hotel/HotelInfoPlaceholder.js +1 -1
- package/dist/src/pages/hotel/HotelInfoPlaceholder.js.map +1 -1
- package/dist/src/pages/steps/Step.d.ts +4 -4
- package/dist/src/pages/steps/Step.js.map +1 -1
- package/dist/src/pages/steps/StepAddon/StepAddon.d.ts +6 -7
- package/dist/src/pages/steps/StepAddon/StepAddon.js +4 -4
- package/dist/src/pages/steps/StepAddon/StepAddon.js.map +1 -1
- package/dist/src/pages/steps/StepAddon/StepAddonComponent.js +17 -17
- package/dist/src/pages/steps/StepAddon/StepAddonComponent.js.map +1 -1
- package/dist/src/pages/steps/StepAddon/StepAddonLoader.d.ts +2 -1
- package/dist/src/pages/steps/StepAddon/StepAddonLoader.js +7 -7
- package/dist/src/pages/steps/StepAddon/StepAddonLoader.js.map +1 -1
- package/dist/src/pages/steps/StepAddon/StepAddonValidator.d.ts +1 -1
- package/dist/src/pages/steps/StepAddon/StepAddonValidator.js +1 -1
- package/dist/src/pages/steps/StepAddon/StepAddonValidator.js.map +1 -1
- package/dist/src/pages/steps/StepConfirmation/StepConfirmation.d.ts +6 -6
- package/dist/src/pages/steps/StepConfirmation/StepConfirmation.js +4 -4
- package/dist/src/pages/steps/StepConfirmation/StepConfirmation.js.map +1 -1
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationComponent.js +23 -26
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationComponent.js.map +1 -1
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationLoader.js +2 -2
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationLoader.js.map +1 -1
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationValidator.d.ts +1 -1
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationValidator.js +1 -1
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationValidator.js.map +1 -1
- package/dist/src/pages/steps/StepDate/StepDate.js +4 -4
- package/dist/src/pages/steps/StepDate/StepDate.js.map +1 -1
- package/dist/src/pages/steps/StepDate/StepDateComponent.js +30 -28
- package/dist/src/pages/steps/StepDate/StepDateComponent.js.map +1 -1
- package/dist/src/pages/steps/StepDate/StepDateValidator.d.ts +2 -3
- package/dist/src/pages/steps/StepDate/StepDateValidator.js +2 -2
- package/dist/src/pages/steps/StepDate/StepDateValidator.js.map +1 -1
- package/dist/src/pages/steps/StepGuide.d.ts +1 -1
- package/dist/src/pages/steps/StepGuide.js +8 -8
- package/dist/src/pages/steps/StepGuide.js.map +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotel.d.ts +5 -6
- package/dist/src/pages/steps/StepHotel/StepHotel.js +4 -4
- package/dist/src/pages/steps/StepHotel/StepHotel.js.map +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotelComponent.js +26 -26
- package/dist/src/pages/steps/StepHotel/StepHotelComponent.js.map +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotelLoader.d.ts +2 -1
- package/dist/src/pages/steps/StepHotel/StepHotelLoader.js +10 -10
- package/dist/src/pages/steps/StepHotel/StepHotelLoader.js.map +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotelValidator.d.ts +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotelValidator.js +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotelValidator.js.map +1 -1
- package/dist/src/pages/steps/StepRoom/StepRoom.d.ts +6 -6
- package/dist/src/pages/steps/StepRoom/StepRoom.js +4 -4
- package/dist/src/pages/steps/StepRoom/StepRoom.js.map +1 -1
- package/dist/src/pages/steps/StepRoom/StepRoomComponent.d.ts +2 -1
- package/dist/src/pages/steps/StepRoom/StepRoomComponent.js +25 -35
- package/dist/src/pages/steps/StepRoom/StepRoomComponent.js.map +1 -1
- package/dist/src/pages/steps/StepRoom/StepRoomLoader.js +2 -2
- package/dist/src/pages/steps/StepRoom/StepRoomLoader.js.map +1 -1
- package/dist/src/pages/steps/StepRoom/StepRoomValidator.d.ts +1 -1
- package/dist/src/pages/steps/StepRoom/StepRoomValidator.js +1 -1
- package/dist/src/pages/steps/StepRoom/StepRoomValidator.js.map +1 -1
- package/dist/src/pages/steps/StepThanks/StepThanks.d.ts +6 -6
- package/dist/src/pages/steps/StepThanks/StepThanks.js +5 -5
- package/dist/src/pages/steps/StepThanks/StepThanks.js.map +1 -1
- package/dist/src/pages/steps/StepThanks/StepThanksComponent.js +17 -17
- package/dist/src/pages/steps/StepThanks/StepThanksComponent.js.map +1 -1
- package/dist/src/pages/steps/StepThanks/StepThanksValidator.d.ts +1 -1
- package/dist/src/pages/steps/StepThanks/StepThanksValidator.js +1 -1
- package/dist/src/pages/steps/StepThanks/StepThanksValidator.js.map +1 -1
- package/dist/src/providers/CurrencyProvider.js +128 -3
- package/dist/src/providers/CurrencyProvider.js.map +1 -1
- package/dist/src/providers/DistanceProvider.d.ts +1 -1
- package/dist/src/providers/DistanceProvider.js +1 -1
- package/dist/src/providers/DistanceProvider.js.map +1 -1
- package/dist/src/providers/FeatureProvider.js +11 -7
- package/dist/src/providers/FeatureProvider.js.map +1 -1
- package/dist/src/providers/FilterProvider.d.ts +3 -3
- package/dist/src/providers/FilterProvider.js +3 -1
- package/dist/src/providers/FilterProvider.js.map +1 -1
- package/dist/src/providers/ImageProvider.js +1 -1
- package/dist/src/providers/ImageProvider.js.map +1 -1
- package/dist/src/providers/LanguageProvider.d.ts +1 -1
- package/dist/src/providers/LanguageProvider.js +2 -2
- package/dist/src/providers/LanguageProvider.js.map +1 -1
- package/dist/src/providers/RatePillProvider.d.ts +8 -8
- package/dist/src/providers/RatePillProvider.js.map +1 -1
- package/dist/src/providers/RoomSortProvider.d.ts +1 -1
- package/dist/src/providers/RoomSortProvider.js.map +1 -1
- package/dist/src/providers/RoomstayThemeEngine.d.ts +6 -10
- package/dist/src/providers/RoomstayThemeEngine.js +14 -25
- package/dist/src/providers/RoomstayThemeEngine.js.map +1 -1
- package/dist/src/providers/SessionProvider.d.ts +3 -1
- package/dist/src/providers/SessionProvider.js +19 -7
- package/dist/src/providers/SessionProvider.js.map +1 -1
- package/dist/src/providers/feature/ConfirmationVerifyFeature.d.ts +1 -1
- package/dist/src/providers/feature/ConfirmationVerifyFeature.js +1 -1
- package/dist/src/providers/feature/ConfirmationVerifyFeature.js.map +1 -1
- package/dist/src/providers/feature/DatePickerTypeFeature.d.ts +1 -1
- package/dist/src/providers/feature/DatePickerTypeFeature.js +2 -2
- package/dist/src/providers/feature/DatePickerTypeFeature.js.map +1 -1
- package/dist/src/providers/feature/E164PhoneNumberFieldFeature.d.ts +1 -1
- package/dist/src/providers/feature/E164PhoneNumberFieldFeature.js +1 -1
- package/dist/src/providers/feature/E164PhoneNumberFieldFeature.js.map +1 -1
- package/dist/src/providers/feature/Feature.js +3 -1
- package/dist/src/providers/feature/Feature.js.map +1 -1
- package/dist/src/providers/feature/FeaturedPromoFeature.d.ts +1 -1
- package/dist/src/providers/feature/FeaturedPromoFeature.js +2 -2
- package/dist/src/providers/feature/FeaturedPromoFeature.js.map +1 -1
- package/dist/src/providers/feature/InlineAddonStepFeature.d.ts +1 -1
- package/dist/src/providers/feature/InlineAddonStepFeature.js +1 -1
- package/dist/src/providers/feature/InlineAddonStepFeature.js.map +1 -1
- package/dist/src/providers/feature/MemberPortalFeature.d.ts +7 -0
- package/dist/src/providers/feature/MemberPortalFeature.js +11 -0
- package/dist/src/providers/feature/MemberPortalFeature.js.map +1 -0
- package/dist/src/providers/feature/NumberOfPeopleBookedPillFeature.d.ts +7 -0
- package/dist/src/providers/feature/NumberOfPeopleBookedPillFeature.js +11 -0
- package/dist/src/providers/feature/NumberOfPeopleBookedPillFeature.js.map +1 -0
- package/dist/src/providers/feature/RoomUpsellFeature.d.ts +1 -1
- package/dist/src/providers/feature/RoomUpsellFeature.js +1 -1
- package/dist/src/providers/feature/RoomUpsellFeature.js.map +1 -1
- package/dist/src/providers/feature/ShowIATANumberOnCheckoutFeature.d.ts +1 -1
- package/dist/src/providers/feature/ShowIATANumberOnCheckoutFeature.js +1 -1
- package/dist/src/providers/feature/ShowIATANumberOnCheckoutFeature.js.map +1 -1
- package/dist/src/providers/storage/LocalStorageProvider.d.ts +2 -2
- package/dist/src/providers/storage/LocalStorageProvider.js +25 -24
- package/dist/src/providers/storage/LocalStorageProvider.js.map +1 -1
- package/dist/src/reducers/BasketReducer.d.ts +3 -3
- package/dist/src/reducers/BasketReducer.js +5 -4
- package/dist/src/reducers/BasketReducer.js.map +1 -1
- package/dist/src/routes/NaturallyProgressedStepRoute.d.ts +1 -1
- package/dist/src/routes/NaturallyProgressedStepRoute.js +5 -3
- package/dist/src/routes/NaturallyProgressedStepRoute.js.map +1 -1
- package/dist/src/stories/Button.stories.d.ts +5 -0
- package/dist/src/stories/Button.stories.js +17 -0
- package/dist/src/stories/Button.stories.js.map +1 -0
- package/dist/src/stories/Card.stories.d.ts +8 -0
- package/dist/src/stories/Card.stories.js +17 -0
- package/dist/src/stories/Card.stories.js.map +1 -0
- package/dist/src/stories/Checkbox.stories.d.ts +5 -0
- package/dist/src/stories/Checkbox.stories.js +17 -0
- package/dist/src/stories/Checkbox.stories.js.map +1 -0
- package/dist/src/stories/EnhancedPhoneNumberField.stories.js +16 -0
- package/dist/src/stories/EnhancedPhoneNumberField.stories.js.map +1 -0
- package/dist/src/stories/Icon.stories.d.ts +5 -0
- package/dist/src/stories/Icon.stories.js +16 -0
- package/dist/src/stories/Icon.stories.js.map +1 -0
- package/dist/src/stories/IconNavCard.stories.d.ts +16 -0
- package/dist/src/stories/IconNavCard.stories.js +28 -0
- package/dist/src/stories/IconNavCard.stories.js.map +1 -0
- package/dist/src/stories/IconText.stories.js +18 -0
- package/dist/src/stories/IconText.stories.js.map +1 -0
- package/dist/src/stories/ImageLoader.stories.d.ts +5 -0
- package/dist/src/stories/ImageLoader.stories.js +16 -0
- package/dist/src/stories/ImageLoader.stories.js.map +1 -0
- package/dist/src/stories/InputGroup.stories.d.ts +5 -0
- package/dist/src/stories/InputGroup.stories.js +16 -0
- package/dist/src/stories/InputGroup.stories.js.map +1 -0
- package/dist/src/stories/LargeLoader.stories.d.ts +5 -0
- package/dist/src/stories/LargeLoader.stories.js +14 -0
- package/dist/src/stories/LargeLoader.stories.js.map +1 -0
- package/dist/src/stories/PasswordBox.stories.d.ts +5 -0
- package/dist/src/stories/PasswordBox.stories.js +14 -0
- package/dist/src/stories/PasswordBox.stories.js.map +1 -0
- package/dist/src/stories/SSLSecureBadge.stories.d.ts +5 -0
- package/dist/src/stories/SSLSecureBadge.stories.js +14 -0
- package/dist/src/stories/SSLSecureBadge.stories.js.map +1 -0
- package/dist/src/stories/SmallSpinner.stories.d.ts +5 -0
- package/dist/src/stories/SmallSpinner.stories.js +14 -0
- package/dist/src/stories/SmallSpinner.stories.js.map +1 -0
- package/dist/src/translations/Translation.d.ts +111 -1
- package/dist/src/translations/Translation.js +111 -1
- package/dist/src/translations/Translation.js.map +1 -1
- package/dist/src/translations/languages/en-gb.d.ts +1 -1
- package/dist/src/translations/languages/en-gb.js +112 -2
- package/dist/src/translations/languages/en-gb.js.map +1 -1
- package/dist/src/translations/languages/es.js +1 -1
- package/dist/src/translations/languages/es.js.map +1 -1
- package/dist/src/translations/languages/fr.js +1 -1
- package/dist/src/translations/languages/fr.js.map +1 -1
- package/dist/src/translations/languages/template.js +1 -1
- package/dist/src/translations/languages/template.js.map +1 -1
- package/dist/src/translations/languages/zh-cn.js +1 -1
- package/dist/src/translations/languages/zh-cn.js.map +1 -1
- package/dist/src/translations/languages/zh-tw.js +1 -1
- package/dist/src/translations/languages/zh-tw.js.map +1 -1
- package/dist/src/util/CalendarHelper.d.ts +1 -1
- package/dist/src/util/CalendarHelper.js +2 -1
- package/dist/src/util/CalendarHelper.js.map +1 -1
- package/dist/src/util/Color.d.ts +15 -14
- package/dist/src/util/Color.js +15 -14
- package/dist/src/util/Color.js.map +1 -1
- package/dist/src/util/DataLayer.d.ts +7 -7
- package/dist/src/util/DataLayer.js.map +1 -1
- package/dist/src/util/Debounce.d.ts +2 -0
- package/dist/src/util/Debounce.js +14 -0
- package/dist/src/util/Debounce.js.map +1 -0
- package/dist/src/util/EnumHelper.d.ts +3 -0
- package/dist/src/util/EnumHelper.js +10 -0
- package/dist/src/util/EnumHelper.js.map +1 -0
- package/dist/src/util/PaymentCardHelper.d.ts +9 -0
- package/dist/src/util/PaymentCardHelper.js +37 -0
- package/dist/src/util/PaymentCardHelper.js.map +1 -0
- package/dist/src/util/StepManager.d.ts +1 -1
- package/dist/src/util/StepManager.js +1 -3
- package/dist/src/util/StepManager.js.map +1 -1
- package/dist/src/util/StringHelper.js +1 -1
- package/dist/src/util/StringHelper.js.map +1 -1
- package/dist/src/util/TotalCalculator.js +5 -3
- package/dist/src/util/TotalCalculator.js.map +1 -1
- package/dist/src/util/Validation.d.ts +17 -1
- package/dist/src/util/Validation.js +25 -2
- package/dist/src/util/Validation.js.map +1 -1
- package/dist/test.bundle.js +1 -1
- package/dist/tests/jest/events/EventManager.test.js +4 -5
- package/dist/tests/jest/events/EventManager.test.js.map +1 -1
- package/dist/tests/jest/providers/LanguageProvider.test.d.ts +1 -1
- package/dist/tests/jest/providers/LanguageProvider.test.js +6 -7
- package/dist/tests/jest/providers/LanguageProvider.test.js.map +1 -1
- package/dist/tests/jest/reducers/BasketReducer.test.js +11 -11
- package/dist/tests/jest/reducers/BasketReducer.test.js.map +1 -1
- package/dist/tests/offline/RoomstayBestRateAlert.js +3 -3
- package/dist/tests/offline/RoomstayBestRateAlert.js.map +1 -1
- package/dist/tests/offline/entry/RSCompany.d.ts +1 -1
- package/dist/tests/offline/entry/RSCompany.js +15 -55
- package/dist/tests/offline/entry/RSCompany.js.map +1 -1
- package/dist/tests/offline/entry/ReactWrapper.js +11 -6
- package/dist/tests/offline/entry/ReactWrapper.js.map +1 -1
- package/dist/tests/offline/entry/allEngines.js +2 -2
- package/dist/tests/offline/entry/allEngines.js.map +1 -1
- package/dist/tests/offline/entry/components/TestPicker.js +32 -8
- package/dist/tests/offline/entry/components/TestPicker.js.map +1 -1
- package/dist/tests/setupTests.d.ts +0 -0
- package/dist/tests/setupTests.js +9 -0
- package/dist/tests/setupTests.js.map +1 -0
- package/dist/vendors.bundle.js +1 -1
- package/dist/vendors.bundle.js.LICENSE.txt +33 -8
- package/package.json +31 -43
- package/dist/661.bundle.js +0 -1
- package/dist/7.bundle.js +0 -1
- package/dist/845.bundle.js +0 -1
- package/dist/876.bundle.js +0 -1
- package/dist/src/components/generic/BETooltip.d.ts +0 -7
- package/dist/src/components/generic/BETooltip.js +0 -44
- package/dist/src/components/generic/BETooltip.js.map +0 -1
- package/dist/src/components/generic/Checkbox.js +0 -22
- package/dist/src/components/generic/Checkbox.js.map +0 -1
- package/dist/src/components/generic/Icon.js.map +0 -1
- package/dist/src/components/generic/ScrollToTop.d.ts +0 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.d.ts +0 -7
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.js +0 -30
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.js.map +0 -1
- package/dist/src/events/actions/MemberOnlyFence/MemberOnlyFenceSignUp.d.ts +0 -7
- package/dist/src/events/actions/MemberOnlyFence/MemberOnlyFenceSignUp.js +0 -15
- package/dist/src/events/actions/MemberOnlyFence/MemberOnlyFenceSignUp.js.map +0 -1
- package/dist/src/events/actions/Promotion/PromotionAddedEvent.d.ts +0 -7
- package/dist/src/events/actions/Promotion/PromotionAddedEvent.js +0 -15
- package/dist/src/events/actions/Promotion/PromotionAddedEvent.js.map +0 -1
- package/dist/src/events/actions/Promotion/PromotionClickedEvent.d.ts +0 -7
- package/dist/src/events/actions/Promotion/PromotionClickedEvent.js +0 -15
- package/dist/src/events/actions/Promotion/PromotionClickedEvent.js.map +0 -1
- package/dist/src/events/actions/Promotion/PromotionRemovedEvent.d.ts +0 -7
- package/dist/src/events/actions/Promotion/PromotionRemovedEvent.js +0 -15
- package/dist/src/events/actions/Promotion/PromotionRemovedEvent.js.map +0 -1
- package/dist/src/handlers/HotelContextEventHandler.d.ts +0 -3
- package/dist/src/handlers/HotelContextEventHandler.js +0 -9
- package/dist/src/handlers/HotelContextEventHandler.js.map +0 -1
- package/dist/src/hooks/ScrollLock.d.ts +0 -1
- package/dist/src/hooks/ScrollLock.js +0 -17
- package/dist/src/hooks/ScrollLock.js.map +0 -1
- package/dist/src/models/Promotion/IPromotion.type.d.ts +0 -26
- package/dist/src/models/Promotion/IPromotion.type.js.map +0 -1
- package/dist/src/pages/steps/StepDate/StepDate.d.ts +0 -14
- package/dist/src/pages/steps/StepDate/StepDateComponent.d.ts +0 -2
- package/dist/src/providers/PromotionProvider.d.ts +0 -14
- package/dist/src/providers/PromotionProvider.js +0 -210
- package/dist/src/providers/PromotionProvider.js.map +0 -1
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const Placeholder_1 = require("
|
|
6
|
-
const StepAddonComponent = react_1.lazy(() => Promise.resolve().then(() => require('
|
|
7
|
-
const
|
|
5
|
+
const Placeholder_1 = require("components/generic/Placeholder");
|
|
6
|
+
const StepAddonComponent = (0, react_1.lazy)(() => Promise.resolve().then(() => require('pages/steps/StepAddon/StepAddonComponent')));
|
|
7
|
+
const Loader = () => {
|
|
8
8
|
return (React.createElement("div", { className: "container" },
|
|
9
9
|
React.createElement("div", { className: "line-break" }),
|
|
10
10
|
React.createElement("div", { className: "row no-gutters" },
|
|
@@ -52,9 +52,9 @@ const StepAddonPlaceholder = () => {
|
|
|
52
52
|
React.createElement("div", { className: "u-marg-top--heavy" },
|
|
53
53
|
React.createElement(Placeholder_1.default, { type: "block", blockSize: "sm", rounded: "lg", blink: true })))))));
|
|
54
54
|
};
|
|
55
|
-
|
|
56
|
-
return (React.createElement(react_1.Suspense, { fallback: React.createElement(
|
|
55
|
+
const StepAddonPlaceholder = () => {
|
|
56
|
+
return (React.createElement(react_1.Suspense, { fallback: React.createElement(Loader, null) },
|
|
57
57
|
React.createElement(StepAddonComponent, null)));
|
|
58
|
-
}
|
|
59
|
-
exports.default =
|
|
58
|
+
};
|
|
59
|
+
exports.default = StepAddonPlaceholder;
|
|
60
60
|
//# sourceMappingURL=StepAddonLoader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepAddonLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepAddon/StepAddonLoader.tsx"],"names":[],"mappings":";;AAAA,+BAA+B;AAC/B,iCAAuC;AACvC,
|
|
1
|
+
{"version":3,"file":"StepAddonLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepAddon/StepAddonLoader.tsx"],"names":[],"mappings":";;AAAA,+BAA+B;AAC/B,iCAAuC;AACvC,gEAAyD;AAEzD,MAAM,kBAAkB,GAAG,IAAA,YAAI,EAAC,GAAG,EAAE,sCAAQ,0CAA0C,EAAC,CAAC,CAAC;AAE1F,MAAM,MAAM,GAAG,GAAG,EAAE;IAChB,OAAO,CACH,6BAAK,SAAS,EAAC,WAAW;QACtB,6BAAK,SAAS,EAAC,YAAY,GAAG;QAC9B,6BAAK,SAAS,EAAC,gBAAgB;YAC3B,6BAAK,SAAS,EAAC,uCAAuC;gBAClD,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACpD;YACN,6BAAK,SAAS,EAAC,YAAY,GAAG;YAC9B,6BAAK,SAAS,EAAC,mBAAmB;gBAC9B,+BAAM;gBACN,6BAAK,SAAS,EAAC,eAAe;oBAC1B,6BAAK,SAAS,EAAC,KAAK;wBAChB,6BAAK,SAAS,EAAC,2BAA2B;4BACtC,oBAAC,qBAAW,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACnE;wBACN,6BAAK,SAAS,EAAC,mBAAmB;4BAC9B,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI;4BACtD,oBAAC,q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C,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACnE,CACJ,CACJ,CACJ,CACJ,CACT,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,GAAG,EAAE;IAC9B,OAAO,CACH,oBAAC,gBAAQ,IAAC,QAAQ,EAAE,oBAAC,MAAM,OAAG;QAC1B,oBAAC,kBAAkB,OAAG,CACf,CACd,CAAC;AACN,CAAC,CAAC;AAEF,kBAAe,oBAAoB,CAAC","sourcesContent":["import * as React from 'react';\nimport { lazy, Suspense } from 'react';\nimport Placeholder from 'components/generic/Placeholder';\n\nconst StepAddonComponent = lazy(() => import('pages/steps/StepAddon/StepAddonComponent'));\n\nconst Loader = () => {\n return (\n <div className=\"container\">\n <div className=\"line-break\" />\n <div className=\"row no-gutters\">\n <div className=\"u-w-100 u-flex justify-content-center\">\n <Placeholder type=\"text\" w=\"md\" h=\"lg\" blink={true} />\n </div>\n <div className=\"line-break\" />\n <div className=\"col-md-7 col-lg-8\">\n <br />\n <div className=\"u-marg-bottom\">\n <div className=\"row\">\n <div className=\"col-lg-12 col-xl-5 u-flex\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink={true} />\n </div>\n <div className=\"col-lg-7 col-xl-7\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"lg\" h=\"sm\" blink={true} />\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink={true} />\n </div>\n </div>\n </div>\n <div className=\"u-marg-bottom\">\n <div className=\"row\">\n <div className=\"col-lg-12 col-xl-5 u-flex\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink={true} />\n </div>\n <div className=\"col-lg-7 col-xl-7\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"lg\" h=\"sm\" blink={true} />\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink={true} />\n </div>\n </div>\n </div>\n <div className=\"u-marg-bottom\">\n <div className=\"row\">\n <div className=\"col-lg-12 col-xl-5 u-flex\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink={true} />\n </div>\n <div className=\"col-lg-7 col-xl-7\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"lg\" h=\"sm\" blink={true} />\n <div className=\"u-marg-top-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink={true} />\n </div>\n </div>\n </div>\n </div>\n <div className=\"col-xl-3 col-md-5 col-lg-4 offset-xl-1\">\n <div className=\"u-pad\">\n <div>\n <Placeholder type=\"block\" blockSize=\"lg\" rounded=\"lg\" blink={true} />\n </div>\n <div>\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink={true} />\n </div>\n <div className=\"u-marg-top--heavy\">\n <Placeholder type=\"block\" blockSize=\"sm\" rounded=\"lg\" blink={true} />\n </div>\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nconst StepAddonPlaceholder = () => {\n return (\n <Suspense fallback={<Loader />}>\n <StepAddonComponent />\n </Suspense>\n );\n};\n\nexport default StepAddonPlaceholder;\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BasketContextType } from '@frontend/contexts';
|
|
2
|
-
import StepValidator from '
|
|
2
|
+
import StepValidator from 'pages/steps/StepValidator';
|
|
3
3
|
export default class StepAddonValidator extends StepValidator {
|
|
4
4
|
isValid(context: BasketContextType): boolean;
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const StepValidator_1 = require("
|
|
3
|
+
const StepValidator_1 = require("pages/steps/StepValidator");
|
|
4
4
|
class StepAddonValidator extends StepValidator_1.default {
|
|
5
5
|
isValid(context) {
|
|
6
6
|
return context.getAllValidRows().length >= 1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepAddonValidator.js","sourceRoot":"/","sources":["src/pages/steps/StepAddon/StepAddonValidator.ts"],"names":[],"mappings":";;AACA,
|
|
1
|
+
{"version":3,"file":"StepAddonValidator.js","sourceRoot":"/","sources":["src/pages/steps/StepAddon/StepAddonValidator.ts"],"names":[],"mappings":";;AACA,6DAAsD;AAEtD,MAAqB,kBAAmB,SAAQ,uBAAa;IAClD,OAAO,CAAC,OAA0B;QACrC,OAAO,OAAO,CAAC,eAAe,EAAE,CAAC,MAAM,IAAI,CAAC,CAAC;IACjD,CAAC;CACJ;AAJD,qCAIC","sourcesContent":["import type { BasketContextType } from '@frontend/contexts';\nimport StepValidator from 'pages/steps/StepValidator';\n\nexport default class StepAddonValidator extends StepValidator {\n public isValid(context: BasketContextType) {\n return context.getAllValidRows().length >= 1;\n }\n}\n"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import ColorProfile from '
|
|
2
|
-
import { Company } from '
|
|
3
|
-
import { Hotel } from '
|
|
4
|
-
import Step from '
|
|
5
|
-
import StepConfirmationLoader from '
|
|
6
|
-
import StepConfirmationValidator from '
|
|
1
|
+
import ColorProfile from 'models/Client/Hotel/ColorProfile';
|
|
2
|
+
import { Company } from 'models/Client/Hotel/Company';
|
|
3
|
+
import { Hotel } from 'models/Client/Hotel/Hotel';
|
|
4
|
+
import Step from 'pages/steps/Step';
|
|
5
|
+
import StepConfirmationLoader from 'pages/steps/StepConfirmation/StepConfirmationLoader';
|
|
6
|
+
import StepConfirmationValidator from 'pages/steps/StepConfirmation/StepConfirmationValidator';
|
|
7
7
|
declare class StepConfirmation extends Step {
|
|
8
8
|
constructor();
|
|
9
9
|
getComponent(): typeof StepConfirmationLoader;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const Translation_1 = require("
|
|
4
|
-
const Step_1 = require("
|
|
5
|
-
const StepConfirmationLoader_1 = require("
|
|
6
|
-
const StepConfirmationValidator_1 = require("
|
|
3
|
+
const Translation_1 = require("translations/Translation");
|
|
4
|
+
const Step_1 = require("pages/steps/Step");
|
|
5
|
+
const StepConfirmationLoader_1 = require("pages/steps/StepConfirmation/StepConfirmationLoader");
|
|
6
|
+
const StepConfirmationValidator_1 = require("pages/steps/StepConfirmation/StepConfirmationValidator");
|
|
7
7
|
class StepConfirmation extends Step_1.default {
|
|
8
8
|
constructor() {
|
|
9
9
|
super('Confirmation');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConfirmation.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmation.ts"],"names":[],"mappings":";;AAGA,
|
|
1
|
+
{"version":3,"file":"StepConfirmation.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmation.ts"],"names":[],"mappings":";;AAGA,0DAAuD;AACvD,2CAAoC;AACpC,gGAAyF;AACzF,sGAA+F;AAC/F,MAAM,gBAAiB,SAAQ,cAAI;IAC/B;QACI,KAAK,CAAC,cAAc,CAAC,CAAC;IAC1B,CAAC;IAEM,YAAY;QACf,OAAO,gCAAsB,CAAC;IAClC,CAAC;IAEM,YAAY;QACf,OAAO,IAAI,mCAAyB,EAAE,CAAC;IAC3C,CAAC;IAEM,kBAAkB;QACrB,OAAO,yBAAW,CAAC,UAAU,CAAC,KAAK,CAAC,YAAY,CAAC;IACrD,CAAC;IAEM,eAAe,CAAC,OAAgB,EAAE,KAAa;QAClD,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC,MAAM,CAAC;SACvB;IACL,CAAC;CACJ;AAED,kBAAe,IAAI,gBAAgB,EAAE,CAAC","sourcesContent":["import ColorProfile from 'models/Client/Hotel/ColorProfile';\nimport { Company } from 'models/Client/Hotel/Company';\nimport { Hotel } from 'models/Client/Hotel/Hotel';\nimport { Translation } from 'translations/Translation';\nimport Step from 'pages/steps/Step';\nimport StepConfirmationLoader from 'pages/steps/StepConfirmation/StepConfirmationLoader';\nimport StepConfirmationValidator from 'pages/steps/StepConfirmation/StepConfirmationValidator';\nclass StepConfirmation extends Step {\n public constructor() {\n super('Confirmation');\n }\n\n public getComponent() {\n return StepConfirmationLoader;\n }\n\n public getValidator() {\n return new StepConfirmationValidator();\n }\n\n public getStepTranslation() {\n return Translation.Navigation.Steps.Confirmation;\n }\n\n public getColorProfile(company: Company, hotel?: Hotel): ColorProfile {\n if (hotel) {\n return hotel.colors;\n }\n }\n}\n\nexport default new StepConfirmation();\n"]}
|
|
@@ -2,35 +2,33 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const Headline_1 = require("
|
|
6
|
-
const StepManager_1 = require("
|
|
7
|
-
const BESummary_1 = require("
|
|
5
|
+
const Headline_1 = require("components/generic/Headline");
|
|
6
|
+
const StepManager_1 = require("util/StepManager");
|
|
7
|
+
const BESummary_1 = require("components/summary/BESummary");
|
|
8
8
|
const react_router_dom_1 = require("react-router-dom");
|
|
9
|
-
const LineBreak_1 = require("
|
|
10
|
-
const BackButton_1 = require("
|
|
11
|
-
const Translation_1 = require("
|
|
12
|
-
const BEMobileSummary_1 = require("
|
|
13
|
-
const ScreenSize_1 = require("
|
|
14
|
-
const StepRoomHotelDetails_1 = require("
|
|
15
|
-
const StepConfirmationForm_1 = require("../../../components/steps/confirmation/StepConfirmationForm");
|
|
9
|
+
const LineBreak_1 = require("components/generic/LineBreak");
|
|
10
|
+
const BackButton_1 = require("components/generic/BackButton");
|
|
11
|
+
const Translation_1 = require("translations/Translation");
|
|
12
|
+
const BEMobileSummary_1 = require("components/summary/BEMobileSummary");
|
|
13
|
+
const ScreenSize_1 = require("util/ScreenSize");
|
|
14
|
+
const StepRoomHotelDetails_1 = require("components/steps/room/StepRoomHotelDetails");
|
|
16
15
|
const react_i18next_1 = require("react-i18next");
|
|
17
|
-
const AdditionalOffers_1 = require("
|
|
18
|
-
const StepConfirmationLimitedOffer_1 = require("
|
|
16
|
+
const AdditionalOffers_1 = require("components/steps/confirmation/additionalOffers/AdditionalOffers");
|
|
17
|
+
const StepConfirmationLimitedOffer_1 = require("components/steps/confirmation/StepConfirmationLimitedOffer");
|
|
19
18
|
const dayjs = require("dayjs");
|
|
20
|
-
const StepRoomBestRateAlert_1 = require("
|
|
21
|
-
const InlineAddonStepFeature_1 = require("
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const events_1 = require("../../../events");
|
|
19
|
+
const StepRoomBestRateAlert_1 = require("components/steps/room/StepRoomBestRateAlert");
|
|
20
|
+
const InlineAddonStepFeature_1 = require("providers/feature/InlineAddonStepFeature");
|
|
21
|
+
const EventHook_1 = require("hooks/EventHook");
|
|
22
|
+
const events_1 = require("@frontend/events");
|
|
25
23
|
const contexts_1 = require("@frontend/contexts");
|
|
26
|
-
const
|
|
24
|
+
const StepConfirmationFormProvider_1 = require("../../../components/steps/confirmation/StepConfirmationFormProvider");
|
|
27
25
|
function StepConfirmationComponent() {
|
|
28
|
-
const context = react_1.useContext(contexts_1.BookingEngineContext);
|
|
29
|
-
const { currentStep } = react_1.useContext(
|
|
30
|
-
const { currentBasketRows } = react_1.useContext(contexts_1.BasketContext);
|
|
31
|
-
const { t } = react_i18next_1.useTranslation();
|
|
32
|
-
const { raise } = EventHook_1.useEvent();
|
|
33
|
-
react_1.useEffect(() => {
|
|
26
|
+
const context = (0, react_1.useContext)(contexts_1.BookingEngineContext);
|
|
27
|
+
const { currentStep } = (0, react_1.useContext)(contexts_1.FullPageEngineContext);
|
|
28
|
+
const { currentBasketRows } = (0, react_1.useContext)(contexts_1.BasketContext);
|
|
29
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
30
|
+
const { raise } = (0, EventHook_1.useEvent)();
|
|
31
|
+
(0, react_1.useEffect)(() => {
|
|
34
32
|
const event = new events_1.StepCheckoutViewEvent(currentBasketRows);
|
|
35
33
|
raise(event);
|
|
36
34
|
}, []);
|
|
@@ -52,8 +50,7 @@ function StepConfirmationComponent() {
|
|
|
52
50
|
React.createElement("div", { className: "col-md-7 col-xl-8 d-table" },
|
|
53
51
|
React.createElement("div", { className: "block-container" },
|
|
54
52
|
!InlineAddonStepFeature_1.default.isActive() && React.createElement(AdditionalOffers_1.default, null),
|
|
55
|
-
React.createElement(
|
|
56
|
-
React.createElement(StepConfirmationForm_1.default, null)))),
|
|
53
|
+
React.createElement(StepConfirmationFormProvider_1.default, null))),
|
|
57
54
|
context.screenSize > ScreenSize_1.default.Medium && (React.createElement("div", { className: "col-xl-3 col-md-5 offset-xl-1" },
|
|
58
55
|
React.createElement(StepConfirmationLimitedOffer_1.default, { endDate: dayjs().add(10, 'minute') }),
|
|
59
56
|
React.createElement(BESummary_1.BESummary, { showImages: true }))))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConfirmationComponent.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationComponent.tsx"],"names":[],"mappings":";;AAAA,+BAA+B;AAC/B,iCAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"StepConfirmationComponent.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationComponent.tsx"],"names":[],"mappings":";;AAAA,+BAA+B;AAC/B,iCAA8C;AAC9C,0DAAmD;AACnD,kDAA2C;AAC3C,4DAAyD;AACzD,uDAAwC;AACxC,4DAAqD;AACrD,8DAAuD;AACvD,0DAAuD;AACvD,wEAAiE;AAEjE,gDAAyC;AAEzC,qFAA8E;AAC9E,iDAA+C;AAC/C,sG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,CAAY,CAC7E,CACP,CACN;gBAED,6BAAK,SAAS,EAAC,eAAe;oBAC1B,oBAAC,+BAAqB,OAAG,CACvB,CACJ;YACL,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,MAAM,IAAI,CACvC,6BAAK,SAAS,EAAC,8CAA8C;gBACzD,oBAAC,8BAAoB,OAAG,CACtB,CACT,CACC;QACN,oBAAC,mBAAS,OAAG;QACb,6BAAK,SAAS,EAAE,KAAK,GAAG,CAAC,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;YACrF,6BAAK,SAAS,EAAC,2BAA2B;gBACtC,6BAAK,SAAS,EAAC,iBAAiB;oBAC3B,CAAC,gCAAsB,CAAC,QAAQ,EAAE,IAAI,oBAAC,0BAAgB,OAAG;oBAC3D,oBAAC,sCAA4B,OAAG,CAC9B,CACJ;YAEL,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,MAAM,IAAI,CACvC,6BAAK,SAAS,EAAC,+BAA+B;gBAC1C,oBAAC,sCAA4B,IAAC,OAAO,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,EAAE,QAAQ,CAAC,GAAI;gBACpE,oBAAC,qBAAS,IAAC,UAAU,EAAE,IAAI,GAAI,CAC7B,CACT,CACC,CACJ,CACT,CAAC;AACN,CAAC;AAED,kBAAe,yBAAyB,CAAC","sourcesContent":["import * as React from 'react';\nimport { useContext, useEffect } from 'react';\nimport Headline from 'components/generic/Headline';\nimport StepManager from 'util/StepManager';\nimport { BESummary } from 'components/summary/BESummary';\nimport { Link } from 'react-router-dom';\nimport LineBreak from 'components/generic/LineBreak';\nimport BackButton from 'components/generic/BackButton';\nimport { Translation } from 'translations/Translation';\nimport BEMobileSummary from 'components/summary/BEMobileSummary';\n\nimport ScreenSize from 'util/ScreenSize';\n\nimport StepRoomHotelDetails from 'components/steps/room/StepRoomHotelDetails';\nimport { useTranslation } from 'react-i18next';\nimport AdditionalOffers from 'components/steps/confirmation/additionalOffers/AdditionalOffers';\nimport StepConfirmationLimitedOffer from 'components/steps/confirmation/StepConfirmationLimitedOffer';\nimport * as dayjs from 'dayjs';\nimport StepRoomBestRateAlert from 'components/steps/room/StepRoomBestRateAlert';\nimport InlineAddonStepFeature from 'providers/feature/InlineAddonStepFeature';\nimport { useEvent } from 'hooks/EventHook';\nimport { StepCheckoutViewEvent } from '@frontend/events';\nimport { BasketContext, BookingEngineContext, FullPageEngineContext } from '@frontend/contexts';\nimport StepConfirmationFormProvider from '../../../components/steps/confirmation/StepConfirmationFormProvider';\n\nfunction StepConfirmationComponent() {\n const context = useContext(BookingEngineContext);\n const { currentStep } = useContext(FullPageEngineContext);\n const { currentBasketRows } = useContext(BasketContext);\n\n const { t } = useTranslation();\n\n const { raise } = useEvent();\n\n useEffect(() => {\n const event = new StepCheckoutViewEvent(currentBasketRows);\n raise(event);\n }, []);\n\n return (\n <div className=\"container\">\n <BEMobileSummary />\n <div className={'row' + (context.screenSize > ScreenSize.ExtraLarge ? ' no-gutters' : '')}>\n <div className=\"col-md-7 col-xl-8\">\n {context.screenSize > ScreenSize.Medium && (\n <>\n <Link to={StepManager.getPreviousStepUrl(currentStep)}>\n <BackButton />\n </Link>\n <div className=\"u-marg-top--light u-marg-bottom--heavy\">\n <Headline bold={true}>{t(Translation.Navigation.Steps.Confirmation)}</Headline>\n </div>\n </>\n )}\n\n <div className=\"u-marg-top@m-\">\n <StepRoomBestRateAlert />\n </div>\n </div>\n {context.screenSize > ScreenSize.Medium && (\n <div className=\"offset-xl-1 col-md-4 col-xl-3 align-self-end\">\n <StepRoomHotelDetails />\n </div>\n )}\n </div>\n <LineBreak />\n <div className={'row' + (context.screenSize > ScreenSize.ExtraLarge ? ' no-gutters' : '')}>\n <div className=\"col-md-7 col-xl-8 d-table\">\n <div className=\"block-container\">\n {!InlineAddonStepFeature.isActive() && <AdditionalOffers />}\n <StepConfirmationFormProvider />\n </div>\n </div>\n\n {context.screenSize > ScreenSize.Medium && (\n <div className=\"col-xl-3 col-md-5 offset-xl-1\">\n <StepConfirmationLimitedOffer endDate={dayjs().add(10, 'minute')} />\n <BESummary showImages={true} />\n </div>\n )}\n </div>\n </div>\n );\n}\n\nexport default StepConfirmationComponent;\n"]}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const Placeholder_1 = require("
|
|
6
|
-
const StepConfirmationComponent = react_1.lazy(() => Promise.resolve().then(() => require('
|
|
5
|
+
const Placeholder_1 = require("components/generic/Placeholder");
|
|
6
|
+
const StepConfirmationComponent = (0, react_1.lazy)(() => Promise.resolve().then(() => require('pages/steps/StepConfirmation/StepConfirmationComponent')));
|
|
7
7
|
function StepConfirmationPlaceholder() {
|
|
8
8
|
return (React.createElement("div", { className: "container" },
|
|
9
9
|
React.createElement("div", { className: "row no-gutters" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConfirmationLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationLoader.tsx"],"names":[],"mappings":";;AAAA,+BAA+B;AAC/B,iCAAuC;AAEvC,yEAAkE;AAElE,MAAM,yBAAyB,GAAG,YAAI,CAAC,GAAG,EAAE,sCAAQ,6BAA6B,EAAC,CAAC,CAAC;AAEpF,SAAS,2BAA2B;IAChC,OAAO,CACH,6BAAK,SAAS,EAAC,WAAW;QACtB,6BAAK,SAAS,EAAC,gBAAgB;YAC3B,6BAAK,SAAS,EAAC,UAAU;gBACrB,6BAAK,SAAS,EAAC,wCAAwC;oBACnD,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACpD,CACJ;YACN,6BAAK,SAAS,EAAC,8CAA8C;gBACzD,6BAAK,S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IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI;gBACtD,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI;gBACtD,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACpD;YACN,6BAAK,SAAS,EAAC,8CAA8C;gBACzD;oBACI;wBACI,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACpD;oBACN;wBACI,oBAAC,qBAAW,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACnE,CACJ,CACJ,CACJ,CACJ,CACT,CAAC;AACN,CAAC;AAED,SAAwB,sBAAsB;IAC1C,OAAO,CACH,oBAAC,gBAAQ,IAAC,QAAQ,EAAE,oBAAC,2BAA2B,OAAG;QAC/C,oBAAC,yBAAyB,OAAG,CACtB,CACd,CAAC;AACN,CAAC;AAND,yCAMC","sourcesContent":["import * as React from 'react';\nimport { lazy, Suspense } from 'react';\n\nimport Placeholder from '../../../components/generic/Placeholder';\n\nconst StepConfirmationComponent = lazy(() => import('./StepConfirmationComponent'));\n\nfunction StepConfirmationPlaceholder() {\n return (\n <div className=\"container\">\n <div className=\"row no-gutters\">\n <div className=\"col-md-8\">\n <div className=\"u-marg-top--light u-marg-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n </div>\n </div>\n <div className=\"col-xl-3 col-md-4 offset-xl-1 align-self-end\">\n <div className=\"u-marg-bottom\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink={true} />\n </div>\n <div className=\"row\">\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink={true} />\n </div>\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink={true} />\n </div>\n </div>\n </div>\n </div>\n <div className=\"line-break\" />\n <div className=\"row no-gutters\">\n <div className=\"col-md-7 col-lg-8\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <div className=\"additional-offers u-flex\">\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink={true} />\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink={true} />\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink={true} />\n </div>\n <div className=\"u-marg-bottom--heavy\">\n <Placeholder type=\"text\" w=\"xs\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"xs\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink={true} />\n <Placeholder type=\"text\" w=\"xs\" h=\"xs\" blink={true} />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n </div>\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"xs\" h=\"xs\" blink={true} />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n </div>\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n </div>\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink={true} />\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <div className=\"u-flex u-flex-flex-start\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"md\" h=\"xs\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink={true} />\n </div>\n <div className=\"col-xl-3 col-md-5 col-lg-4 offset-xl-1 u-pad\">\n <div>\n <div>\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink={true} />\n </div>\n <div>\n <Placeholder type=\"block\" blockSize=\"lg\" rounded=\"lg\" blink={true} />\n </div>\n </div>\n </div>\n </div>\n </div>\n );\n}\n\nexport default function StepConfirmationLoader() {\n return (\n <Suspense fallback={<StepConfirmationPlaceholder />}>\n <StepConfirmationComponent />\n </Suspense>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"StepConfirmationLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationLoader.tsx"],"names":[],"mappings":";;AAAA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,gBAAQ,IAAC,QAAQ,EAAE,oBAAC,2BAA2B,OAAG;QAC/C,oBAAC,yBAAyB,OAAG,CACtB,CACd,CAAC;AACN,CAAC;AAND,yCAMC","sourcesContent":["import * as React from 'react';\nimport { lazy, Suspense } from 'react';\n\nimport Placeholder from 'components/generic/Placeholder';\n\nconst StepConfirmationComponent = lazy(() => import('pages/steps/StepConfirmation/StepConfirmationComponent'));\n\nfunction StepConfirmationPlaceholder() {\n return (\n <div className=\"container\">\n <div className=\"row no-gutters\">\n <div className=\"col-md-8\">\n <div className=\"u-marg-top--light u-marg-bottom--heavy\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n </div>\n </div>\n <div className=\"col-xl-3 col-md-4 offset-xl-1 align-self-end\">\n <div className=\"u-marg-bottom\">\n <Placeholder type=\"text\" w=\"md\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink={true} />\n </div>\n <div className=\"row\">\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink={true} />\n </div>\n <div className=\"col-6\">\n <Placeholder type=\"text\" w=\"lg\" h=\"md\" blink={true} />\n </div>\n </div>\n </div>\n </div>\n <div className=\"line-break\" />\n <div className=\"row no-gutters\">\n <div className=\"col-md-7 col-lg-8\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <div className=\"additional-offers u-flex\">\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink={true} />\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink={true} />\n <Placeholder type=\"block\" rounded=\"lg\" blockSize=\"sm\" blink={true} />\n </div>\n <div className=\"u-marg-bottom--heavy\">\n <Placeholder type=\"text\" w=\"xs\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"xs\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"sm\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink={true} />\n <Placeholder type=\"text\" w=\"xs\" h=\"xs\" blink={true} />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n </div>\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"xs\" h=\"xs\" blink={true} />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n </div>\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n </div>\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <div className=\"u-flex\">\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"xl\" h=\"md\" blink={true} />\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink={true} />\n <div className=\"line-break\" />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <div className=\"u-flex u-flex-flex-start\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n </div>\n <Placeholder type=\"text\" w=\"md\" h=\"xs\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink={true} />\n <Placeholder type=\"text\" w=\"sm\" h=\"xs\" blink={true} />\n </div>\n <div className=\"col-xl-3 col-md-5 col-lg-4 offset-xl-1 u-pad\">\n <div>\n <div>\n <Placeholder type=\"text\" w=\"xl\" h=\"lg\" blink={true} />\n </div>\n <div>\n <Placeholder type=\"block\" blockSize=\"lg\" rounded=\"lg\" blink={true} />\n </div>\n </div>\n </div>\n </div>\n </div>\n );\n}\n\nexport default function StepConfirmationLoader() {\n return (\n <Suspense fallback={<StepConfirmationPlaceholder />}>\n <StepConfirmationComponent />\n </Suspense>\n );\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BasketContextType } from '@frontend/contexts';
|
|
2
|
-
import StepValidator from '
|
|
2
|
+
import StepValidator from 'pages/steps/StepValidator';
|
|
3
3
|
export default class StepConfirmationValidator extends StepValidator {
|
|
4
4
|
isValid(context: BasketContextType): boolean;
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const StepValidator_1 = require("
|
|
3
|
+
const StepValidator_1 = require("pages/steps/StepValidator");
|
|
4
4
|
class StepConfirmationValidator extends StepValidator_1.default {
|
|
5
5
|
isValid(context) {
|
|
6
6
|
var _a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConfirmationValidator.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationValidator.ts"],"names":[],"mappings":";;AACA,
|
|
1
|
+
{"version":3,"file":"StepConfirmationValidator.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationValidator.ts"],"names":[],"mappings":";;AACA,6DAAsD;AAEtD,MAAqB,yBAA0B,SAAQ,uBAAa;IACzD,OAAO,CAAC,OAA0B;;QACrC,IAAI,OAAO,IAAI,OAAO,CAAC,SAAS,IAAI,OAAO,CAAC,OAAO,KAAI,MAAA,OAAO,CAAC,eAAe,EAAE,0CAAE,MAAM,CAAA,EAAE;YACtF,OAAO,IAAI,CAAC;SACf;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ;AAPD,4CAOC","sourcesContent":["import type { BasketContextType } from '@frontend/contexts';\nimport StepValidator from 'pages/steps/StepValidator';\n\nexport default class StepConfirmationValidator extends StepValidator {\n public isValid(context: BasketContextType) {\n if (context && context.startDate && context.endDate && context.getAllValidRows()?.length) {\n return true;\n }\n return false;\n }\n}\n"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const Translation_1 = require("
|
|
4
|
-
const Step_1 = require("
|
|
5
|
-
const StepDateComponent_1 = require("
|
|
6
|
-
const StepDateValidator_1 = require("
|
|
3
|
+
const Translation_1 = require("translations/Translation");
|
|
4
|
+
const Step_1 = require("pages/steps/Step");
|
|
5
|
+
const StepDateComponent_1 = require("pages/steps/StepDate/StepDateComponent");
|
|
6
|
+
const StepDateValidator_1 = require("pages/steps/StepDate/StepDateValidator");
|
|
7
7
|
class StepDate extends Step_1.default {
|
|
8
8
|
constructor() {
|
|
9
9
|
super('Date');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepDate.js","sourceRoot":"/","sources":["src/pages/steps/StepDate/StepDate.ts"],"names":[],"mappings":";;AAGA,
|
|
1
|
+
{"version":3,"file":"StepDate.js","sourceRoot":"/","sources":["src/pages/steps/StepDate/StepDate.ts"],"names":[],"mappings":";;AAGA,0DAAuD;AACvD,2CAAoC;AACpC,8EAAuE;AACvE,8EAAuE;AAEvE,MAAM,QAAS,SAAQ,cAAI;IACvB;QACI,KAAK,CAAC,MAAM,CAAC,CAAC;IAClB,CAAC;IAEM,YAAY;QACf,OAAO,2BAAiB,CAAC;IAC7B,CAAC;IAEM,YAAY;QACf,OAAO,IAAI,2BAAiB,EAAE,CAAC;IACnC,CAAC;IAEM,kBAAkB;QACrB,OAAO,yBAAW,CAAC,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC;IAC7C,CAAC;IAEM,eAAe,CAAC,OAAgB,EAAE,KAAa;QAClD,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC,MAAM,CAAC;SACvB;IACL,CAAC;CACJ;AAED,kBAAe,IAAI,QAAQ,EAAE,CAAC","sourcesContent":["import ColorProfile from 'models/Client/Hotel/ColorProfile';\nimport { Company } from 'models/Client/Hotel/Company';\nimport { Hotel } from 'models/Client/Hotel/Hotel';\nimport { Translation } from 'translations/Translation';\nimport Step from 'pages/steps/Step';\nimport StepDateComponent from 'pages/steps/StepDate/StepDateComponent';\nimport StepDateValidator from 'pages/steps/StepDate/StepDateValidator';\n\nclass StepDate extends Step {\n public constructor() {\n super('Date');\n }\n\n public getComponent() {\n return StepDateComponent;\n }\n\n public getValidator() {\n return new StepDateValidator();\n }\n\n public getStepTranslation() {\n return Translation.Navigation.Steps.Date;\n }\n\n public getColorProfile(company: Company, hotel?: Hotel): ColorProfile {\n if (hotel) {\n return hotel.colors;\n }\n }\n}\n\nexport default new StepDate();\n"]}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const Headline_1 = require("
|
|
5
|
-
const Text_1 = require("
|
|
6
|
-
const Color_1 = require("
|
|
7
|
-
const
|
|
4
|
+
const Headline_1 = require("components/generic/Headline");
|
|
5
|
+
const Text_1 = require("components/generic/Text");
|
|
6
|
+
const Color_1 = require("util/Color");
|
|
7
|
+
const react_router_dom_1 = require("react-router-dom");
|
|
8
8
|
const react_i18next_1 = require("react-i18next");
|
|
9
|
-
const Translation_1 = require("
|
|
10
|
-
const ScreenSize_1 = require("
|
|
11
|
-
const StepOneStatusPeople_1 = require("
|
|
12
|
-
const StepOneDateRange_1 = require("
|
|
13
|
-
const StepOneNextStepButton_1 = require("
|
|
9
|
+
const Translation_1 = require("translations/Translation");
|
|
10
|
+
const ScreenSize_1 = require("util/ScreenSize");
|
|
11
|
+
const StepOneStatusPeople_1 = require("components/steps/date/StepOneStatusPeople");
|
|
12
|
+
const StepOneDateRange_1 = require("components/steps/date/StepOneDateRange");
|
|
13
|
+
const StepOneNextStepButton_1 = require("components/steps/date/StepOneNextStepButton");
|
|
14
14
|
const react_1 = require("react");
|
|
15
|
-
const StepOneDateRangePickerLegend_1 = require("
|
|
16
|
-
const StepDatePricePerRoom_1 = require("
|
|
15
|
+
const StepOneDateRangePickerLegend_1 = require("components/steps/date/StepOneDateRangePickerLegend");
|
|
16
|
+
const StepDatePricePerRoom_1 = require("components/steps/date/StepDatePricePerRoom");
|
|
17
17
|
const contexts_1 = require("@frontend/contexts");
|
|
18
|
-
const LineBreak_1 = require("
|
|
19
|
-
const PeoplePicker_1 = require("
|
|
20
|
-
const StepOneDateRangePicker_1 = require("
|
|
18
|
+
const LineBreak_1 = require("components/generic/LineBreak");
|
|
19
|
+
const PeoplePicker_1 = require("components/steps/date/PeoplePicker");
|
|
20
|
+
const StepOneDateRangePicker_1 = require("components/steps/date/StepOneDateRangePicker");
|
|
21
21
|
const hooks_1 = require("@frontend/hooks");
|
|
22
22
|
const contexts_2 = require("@frontend/contexts");
|
|
23
|
-
const HotelOverridesContext_1 = require("
|
|
24
|
-
const events_1 = require("
|
|
25
|
-
const BEMobileSummary = react_1.lazy(() => Promise.resolve().then(() => require('
|
|
23
|
+
const HotelOverridesContext_1 = require("contexts/HotelOverridesContext");
|
|
24
|
+
const events_1 = require("@frontend/events");
|
|
25
|
+
const BEMobileSummary = (0, react_1.lazy)(() => Promise.resolve().then(() => require('components/summary/BEMobileSummary')));
|
|
26
26
|
const StepDate = (props) => {
|
|
27
|
-
const context = react_1.useContext(contexts_1.BookingEngineContext);
|
|
28
|
-
const basketContext = react_1.useContext(contexts_1.BasketContext);
|
|
29
|
-
const ccx = react_1.useContext(contexts_2.CompanyContext);
|
|
30
|
-
const { hideByLine } = react_1.useContext(HotelOverridesContext_1.HotelOverridesContext);
|
|
31
|
-
const { hotel } = hooks_1.useCurrentHotel();
|
|
32
|
-
const { t } = react_i18next_1.useTranslation();
|
|
33
|
-
const peopleRef = react_1.useRef(null);
|
|
34
|
-
react_1.useEffect(() => {
|
|
27
|
+
const context = (0, react_1.useContext)(contexts_1.BookingEngineContext);
|
|
28
|
+
const basketContext = (0, react_1.useContext)(contexts_1.BasketContext);
|
|
29
|
+
const ccx = (0, react_1.useContext)(contexts_2.CompanyContext);
|
|
30
|
+
const { hideByLine } = (0, react_1.useContext)(HotelOverridesContext_1.HotelOverridesContext);
|
|
31
|
+
const { hotel } = (0, hooks_1.useCurrentHotel)();
|
|
32
|
+
const { t } = (0, react_i18next_1.useTranslation)();
|
|
33
|
+
const peopleRef = (0, react_1.useRef)(null);
|
|
34
|
+
(0, react_1.useEffect)(() => {
|
|
35
35
|
if (context.screenSize <= ScreenSize_1.default.Medium && basketContext.endDate) {
|
|
36
36
|
if (peopleRef) {
|
|
37
37
|
setTimeout(() => {
|
|
@@ -41,8 +41,8 @@ const StepDate = (props) => {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}, [basketContext.endDate]);
|
|
44
|
-
const { raise } = hooks_1.useEvent();
|
|
45
|
-
react_1.useEffect(() => {
|
|
44
|
+
const { raise } = (0, hooks_1.useEvent)();
|
|
45
|
+
(0, react_1.useEffect)(() => {
|
|
46
46
|
const event = new events_1.StepDateViewEvent();
|
|
47
47
|
raise(event);
|
|
48
48
|
}, []);
|
|
@@ -80,5 +80,7 @@ const StepDate = (props) => {
|
|
|
80
80
|
React.createElement("div", { className: "u-flex justify-content-end" },
|
|
81
81
|
React.createElement(StepOneNextStepButton_1.default, { history: props.history }))));
|
|
82
82
|
};
|
|
83
|
-
|
|
83
|
+
// TODO:
|
|
84
|
+
// @ts-ignore
|
|
85
|
+
exports.default = (0, react_router_dom_1.withRouter)(StepDate);
|
|
84
86
|
//# sourceMappingURL=StepDateComponent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepDateComponent.js","sourceRoot":"/","sources":["src/pages/steps/StepDate/StepDateComponent.tsx"],"names":[],"mappings":";;AAAA,+BAA+B;AAC/B,
|
|
1
|
+
{"version":3,"file":"StepDateComponent.js","sourceRoot":"/","sources":["src/pages/steps/StepDate/StepDateComponent.tsx"],"names":[],"mappings":";;AAAA,+BAA+B;AAC/B,0DAAmD;AACnD,kDAA2C;AAE3C,sCAAmC;AACnC,uDAA8C;AAE9C,iDAA+C;AAE/C,0DAAuD;AACvD,gDAAyC;AACzC,mFAA4E;AAC5E,6EAAsE;AACtE,uFAAgF;AAChF,iCAAsE;AAEtE,qGAA8F;AAC9F,qFAA8E;AAC9E,iDAAyE;AAEzE,4DAAqD;AACrD,qEAA8D;AAC9D,yFAAkF;AAClF,2CAA4D;AAC5D,iDAAoD;AACpD,0EAAuE;AACvE,6CAAqD;AAErD,MAAM,eAAe,GAAG,IAAA,YAAI,EAAC,GAAG,EAAE,sCAAQ,oCAAoC,EAAC,CAAC,CAAC;AAEjF,MAAM,QAAQ,GAAG,CAAC,KAAU,EAAE,EAAE;IAC5B,MAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,+BAAoB,CAAC,CAAC;IACjD,MAAM,aAAa,GAAG,IAAA,kBAAU,EAAC,wBAAa,CAAC,CAAC;IAChD,MAAM,GAAG,GAAG,IAAA,kBAAU,EAAC,yBAAc,CAAC,CAAC;IACvC,MAAM,EAAE,UAAU,EAAE,GAAG,IAAA,kBAAU,EAAC,6CAAqB,CAAC,CAAC;IAEzD,MAAM,EAAE,KAAK,EAAE,GAAG,IAAA,uBAAe,GAAE,CAAC;IAEpC,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,8BAAc,GAAE,CAAC;IAC/B,MAAM,SAAS,GAAG,IAAA,cAAM,EAAC,IAAI,CAAC,CAAC;IAE/B,IAAA,iBAAS,EAAC,GAAG,EAAE;QACX,IAA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generic/Headline';\nimport Text from 'components/generic/Text';\n\nimport { Color } from 'util/Color';\nimport { withRouter } from 'react-router-dom';\n\nimport { useTranslation } from 'react-i18next';\n\nimport { Translation } from 'translations/Translation';\nimport ScreenSize from 'util/ScreenSize';\nimport StepOneStatusPeople from 'components/steps/date/StepOneStatusPeople';\nimport StepOneDateRange from 'components/steps/date/StepOneDateRange';\nimport StepOneNextStepButton from 'components/steps/date/StepOneNextStepButton';\nimport { useContext, useRef, useEffect, Suspense, lazy } from 'react';\n\nimport StepOneDateRangePickerLegend from 'components/steps/date/StepOneDateRangePickerLegend';\nimport StepDatePricePerRoom from 'components/steps/date/StepDatePricePerRoom';\nimport { BasketContext, BookingEngineContext } from '@frontend/contexts';\n\nimport LineBreak from 'components/generic/LineBreak';\nimport PeoplePicker from 'components/steps/date/PeoplePicker';\nimport StepOneDateRangePicker from 'components/steps/date/StepOneDateRangePicker';\nimport { useCurrentHotel, useEvent } from '@frontend/hooks';\nimport { CompanyContext } from '@frontend/contexts';\nimport { HotelOverridesContext } from 'contexts/HotelOverridesContext';\nimport { StepDateViewEvent } from '@frontend/events';\n\nconst BEMobileSummary = lazy(() => import('components/summary/BEMobileSummary'));\n\nconst StepDate = (props: any) => {\n const context = useContext(BookingEngineContext);\n const basketContext = useContext(BasketContext);\n const ccx = useContext(CompanyContext);\n const { hideByLine } = useContext(HotelOverridesContext);\n\n const { hotel } = useCurrentHotel();\n\n const { t } = useTranslation();\n const peopleRef = useRef(null);\n\n useEffect(() => {\n if (context.screenSize <= ScreenSize.Medium && basketContext.endDate) {\n if (peopleRef) {\n setTimeout(() => {\n peopleRef.current?.scrollIntoView({ behavior: 'smooth', block: 'center', inline: 'nearest' });\n }, 50);\n }\n }\n }, [basketContext.endDate]);\n\n const { raise } = useEvent();\n\n useEffect(() => {\n const event = new StepDateViewEvent();\n raise(event);\n }, []);\n\n return (\n <div className=\"container\">\n {context.screenSize <= ScreenSize.Medium && <BEMobileSummary />}\n {context.screenSize >= ScreenSize.Large && (\n <>\n <div className=\"row\">\n <div className=\"col-md-4 col-lg-3\">\n <div className=\"u-marg-bottom--heavy\">\n <Headline bold={true}>{t(Translation.Step.Date.Reservation)}</Headline>\n </div>\n <Headline color={Color.Navy}>{hotel.name}</Headline>\n {!hideByLine && (\n <Text color={Color.DarkGrey}>\n {t(Translation.Misc.By)} {ccx.name}\n </Text>\n )}\n </div>\n <div className=\"col-md-8 col-lg-9\">\n <div className=\"row justify-content-between\">\n <div className=\"col-md-6\">\n <div className=\"u-marg-bottom--heavy\">\n <Headline bold={true}>{t(Translation.Step.Date.SelectYourDate)}</Headline>\n </div>\n <div className=\"step-one-status\">\n <StepOneDateRange />\n <StepOneStatusPeople />\n </div>\n </div>\n <div className=\"col-md-4\">\n <StepDatePricePerRoom isMobile={false} />\n </div>\n </div>\n </div>\n </div>\n <LineBreak />\n </>\n )}\n\n <div className=\"row flex-column-reverse flex-md-row align-items-center align-items-md-start\">\n <div ref={peopleRef} className=\"col-md-4 col-xl-3\">\n <PeoplePicker />\n </div>\n <div className=\"col-md-8 col-xl-9\">\n <div className=\"w-100 u-flex justify-content-center flex-column align-items-center\">\n <Suspense fallback=\"loading....\">\n <StepOneDateRangePicker />\n </Suspense>\n </div>\n {context.screenSize >= ScreenSize.Large ? <StepOneDateRangePickerLegend /> : <LineBreak />}\n </div>\n </div>\n <div className=\"u-flex justify-content-end\">\n <StepOneNextStepButton history={props.history} />\n </div>\n </div>\n );\n};\n\n// TODO:\n\n// @ts-ignore\nexport default withRouter(StepDate);\n"]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import StepValidator from '../StepValidator';
|
|
1
|
+
import StepValidator from 'pages/steps/StepValidator';
|
|
3
2
|
export default class StepDateValidator extends StepValidator {
|
|
4
|
-
isValid(
|
|
3
|
+
isValid(): boolean;
|
|
5
4
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const StepValidator_1 = require("
|
|
3
|
+
const StepValidator_1 = require("pages/steps/StepValidator");
|
|
4
4
|
class StepDateValidator extends StepValidator_1.default {
|
|
5
|
-
isValid(
|
|
5
|
+
isValid() {
|
|
6
6
|
return true;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepDateValidator.js","sourceRoot":"/","sources":["src/pages/steps/StepDate/StepDateValidator.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"StepDateValidator.js","sourceRoot":"/","sources":["src/pages/steps/StepDate/StepDateValidator.ts"],"names":[],"mappings":";;AAAA,6DAAsD;AAEtD,MAAqB,iBAAkB,SAAQ,uBAAa;IACjD,OAAO;QACV,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAJD,oCAIC","sourcesContent":["import StepValidator from 'pages/steps/StepValidator';\n\nexport default class StepDateValidator extends StepValidator {\n public isValid(): boolean {\n return true;\n }\n}\n"]}
|
|
@@ -4,24 +4,24 @@ const react_1 = require("react");
|
|
|
4
4
|
const contexts_1 = require("@frontend/contexts");
|
|
5
5
|
const react_router_dom_1 = require("react-router-dom");
|
|
6
6
|
const React = require("react");
|
|
7
|
-
const StepManager_1 = require("
|
|
7
|
+
const StepManager_1 = require("util/StepManager");
|
|
8
8
|
const contexts_2 = require("@frontend/contexts");
|
|
9
9
|
const hooks_1 = require("@frontend/hooks");
|
|
10
10
|
const contexts_3 = require("@frontend/contexts");
|
|
11
|
-
const RoomstayThemeEngine_1 = require("
|
|
11
|
+
const RoomstayThemeEngine_1 = require("providers/RoomstayThemeEngine");
|
|
12
12
|
function StepGuide(props) {
|
|
13
|
-
const { setCurrentStep } = react_1.useContext(contexts_3.FullPageEngineContext);
|
|
14
|
-
const basketContext = react_1.useContext(contexts_1.BasketContext);
|
|
15
|
-
const ccx = react_1.useContext(contexts_2.CompanyContext);
|
|
16
|
-
const { hotel } = hooks_1.useCurrentHotel();
|
|
17
|
-
react_1.useEffect(() => {
|
|
13
|
+
const { setCurrentStep } = (0, react_1.useContext)(contexts_3.FullPageEngineContext);
|
|
14
|
+
const basketContext = (0, react_1.useContext)(contexts_1.BasketContext);
|
|
15
|
+
const ccx = (0, react_1.useContext)(contexts_2.CompanyContext);
|
|
16
|
+
const { hotel } = (0, hooks_1.useCurrentHotel)();
|
|
17
|
+
(0, react_1.useEffect)(() => {
|
|
18
18
|
setCurrentStep(props.step);
|
|
19
19
|
const colorProfile = props.step.getColorProfile(ccx, hotel);
|
|
20
20
|
if (colorProfile) {
|
|
21
21
|
RoomstayThemeEngine_1.default.changeTheme(colorProfile);
|
|
22
22
|
}
|
|
23
23
|
}, [props.step.getColorProfile(ccx, hotel)]);
|
|
24
|
-
return react_1.useMemo(() => {
|
|
24
|
+
return (0, react_1.useMemo)(() => {
|
|
25
25
|
const validator = props.step.getValidator();
|
|
26
26
|
if (validator === null || validator === void 0 ? void 0 : validator.isValid(basketContext)) {
|
|
27
27
|
return React.createElement(React.Fragment, null, props.children);
|