@roomstay/frontend 2.1.0 → 2.1.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/449.bundle.js +1 -1
- package/dist/760.bundle.js +1 -0
- package/dist/main.bundle.js +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 +5 -5
- package/dist/src/api/AvailabilityAPI.js.map +1 -1
- package/dist/src/api/BaseAPI.js +1 -1
- package/dist/src/api/BaseAPI.js.map +1 -1
- package/dist/src/api/BookingAPI.d.ts +7 -7
- package/dist/src/api/BookingAPI.js +7 -7
- package/dist/src/api/BookingAPI.js.map +1 -1
- package/dist/src/api/ExchangeRateAPI.d.ts +2 -2
- package/dist/src/api/ExchangeRateAPI.js +1 -1
- package/dist/src/api/ExchangeRateAPI.js.map +1 -1
- package/dist/src/api/HotelAPI.d.ts +5 -5
- package/dist/src/api/HotelAPI.js +1 -1
- 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 +6 -6
- package/dist/src/api/ReservationAPI.js +1 -1
- package/dist/src/api/ReservationAPI.js.map +1 -1
- package/dist/src/api/SessionAPI.d.ts +1 -1
- package/dist/src/api/SessionAPI.js +1 -1
- package/dist/src/api/SessionAPI.js.map +1 -1
- package/dist/src/api/members-service/MembersServiceAPI.js +1 -1
- package/dist/src/api/members-service/MembersServiceAPI.js.map +1 -1
- package/dist/src/components/User/Forms/ForgotPasswordForm.js +5 -5
- package/dist/src/components/User/Forms/ForgotPasswordForm.js.map +1 -1
- package/dist/src/components/User/Forms/SignInForm.js +8 -8
- package/dist/src/components/User/Forms/SignInForm.js.map +1 -1
- package/dist/src/components/User/Forms/SignUpForm.js +9 -9
- package/dist/src/components/User/Forms/SignUpForm.js.map +1 -1
- package/dist/src/components/generic/Alert.d.ts +1 -1
- package/dist/src/components/generic/Alert.js +1 -1
- package/dist/src/components/generic/Alert.js.map +1 -1
- package/dist/src/components/generic/BEButton.d.ts +2 -2
- package/dist/src/components/generic/BEButton.js +2 -2
- package/dist/src/components/generic/BEButton.js.map +1 -1
- package/dist/src/components/generic/BackButton.js +2 -2
- package/dist/src/components/generic/BackButton.js.map +1 -1
- package/dist/src/components/generic/BookNowPayLaterInfoBlock.js +3 -3
- package/dist/src/components/generic/BookNowPayLaterInfoBlock.js.map +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizard.d.ts +2 -2
- package/dist/src/components/generic/BookingWizard/BookingWizard.js +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizard.js.map +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardContent.d.ts +2 -2
- package/dist/src/components/generic/BookingWizard/BookingWizardContent.js +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardContent.js.map +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardContext.d.ts +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardContext.js.map +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardDateSelector/BookingWizardDateSelector.js +4 -4
- package/dist/src/components/generic/BookingWizard/BookingWizardDateSelector/BookingWizardDateSelector.js.map +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardGuestSelector/BookingWizardGuestSelector.js +6 -6
- package/dist/src/components/generic/BookingWizard/BookingWizardGuestSelector/BookingWizardGuestSelector.js.map +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardHotelSelector/BookingWizardHotelSelector.d.ts +2 -2
- package/dist/src/components/generic/BookingWizard/BookingWizardHotelSelector/BookingWizardHotelSelector.js +3 -3
- package/dist/src/components/generic/BookingWizard/BookingWizardHotelSelector/BookingWizardHotelSelector.js.map +1 -1
- package/dist/src/components/generic/Card/Card/Card.js +1 -1
- package/dist/src/components/generic/Card/Card/Card.js.map +1 -1
- package/dist/src/components/generic/Card/IconNavCard/IconNavCard.d.ts +2 -2
- package/dist/src/components/generic/Card/IconNavCard/IconNavCard.js +4 -4
- package/dist/src/components/generic/Card/IconNavCard/IconNavCard.js.map +1 -1
- package/dist/src/components/generic/Checkbox/Checkbox.js +2 -2
- package/dist/src/components/generic/Checkbox/Checkbox.js.map +1 -1
- package/dist/src/components/generic/Currency.js +3 -3
- package/dist/src/components/generic/Currency.js.map +1 -1
- package/dist/src/components/generic/DateRangePicker/DateRangePicker.js +4 -4
- package/dist/src/components/generic/DateRangePicker/DateRangePicker.js.map +1 -1
- package/dist/src/components/generic/DateRangePicker/DateRangePickerDay.d.ts +1 -1
- package/dist/src/components/generic/DateRangePicker/DateRangePickerDay.js +2 -2
- package/dist/src/components/generic/DateRangePicker/DateRangePickerDay.js.map +1 -1
- package/dist/src/components/generic/DateRangePicker/DateRangePickerDays.js +3 -3
- package/dist/src/components/generic/DateRangePicker/DateRangePickerDays.js.map +1 -1
- package/dist/src/components/generic/DateRangePicker/DateRangePickerMonth.js +7 -7
- package/dist/src/components/generic/DateRangePicker/DateRangePickerMonth.js.map +1 -1
- package/dist/src/components/generic/DateRangePicker/FloatingDateRangePicker.d.ts +1 -1
- package/dist/src/components/generic/DateRangePicker/FloatingDateRangePicker.js +2 -2
- package/dist/src/components/generic/DateRangePicker/FloatingDateRangePicker.js.map +1 -1
- package/dist/src/components/generic/Distance.js +1 -1
- package/dist/src/components/generic/Distance.js.map +1 -1
- package/dist/src/components/generic/Headline.d.ts +2 -2
- package/dist/src/components/generic/Headline.js.map +1 -1
- package/dist/src/components/generic/Icon/Icon.d.ts +1 -1
- package/dist/src/components/generic/Icon/Icon.js +1 -1
- package/dist/src/components/generic/Icon/Icon.js.map +1 -1
- package/dist/src/components/generic/IconText/IconText.d.ts +2 -2
- package/dist/src/components/generic/IconText/IconText.js +3 -3
- package/dist/src/components/generic/IconText/IconText.js.map +1 -1
- 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/Notification.d.ts +1 -1
- package/dist/src/components/generic/Notification.js +2 -2
- package/dist/src/components/generic/Notification.js.map +1 -1
- package/dist/src/components/generic/NumberIncrement.js +3 -3
- package/dist/src/components/generic/NumberIncrement.js.map +1 -1
- package/dist/src/components/generic/Overlay/Overlay.js +1 -1
- package/dist/src/components/generic/Overlay/Overlay.js.map +1 -1
- package/dist/src/components/generic/PasswordBox/PasswordBox.js +1 -1
- package/dist/src/components/generic/PasswordBox/PasswordBox.js.map +1 -1
- package/dist/src/components/generic/PaymentCard/CardTypeSelect.d.ts +1 -1
- package/dist/src/components/generic/PaymentCard/CardTypeSelect.js +3 -3
- package/dist/src/components/generic/PaymentCard/CardTypeSelect.js.map +1 -1
- package/dist/src/components/generic/PaymentCard/PaymentCard.d.ts +1 -1
- package/dist/src/components/generic/PaymentCard/PaymentCard.js +3 -3
- package/dist/src/components/generic/PaymentCard/PaymentCard.js.map +1 -1
- package/dist/src/components/generic/PaymentCard/PaymentCardInput.d.ts +1 -1
- package/dist/src/components/generic/PaymentCard/PaymentCardInput.js +9 -9
- package/dist/src/components/generic/PaymentCard/PaymentCardInput.js.map +1 -1
- package/dist/src/components/generic/Pill.d.ts +1 -1
- package/dist/src/components/generic/Pill.js +1 -1
- package/dist/src/components/generic/Pill.js.map +1 -1
- package/dist/src/components/generic/PromoCodeInput.js +6 -6
- package/dist/src/components/generic/PromoCodeInput.js.map +1 -1
- package/dist/src/components/generic/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/dist/src/components/generic/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/dist/src/components/generic/RecentSearchesCard.d.ts +1 -1
- package/dist/src/components/generic/RecentSearchesCard.js +6 -6
- package/dist/src/components/generic/RecentSearchesCard.js.map +1 -1
- package/dist/src/components/generic/Select/Select.d.ts +1 -1
- package/dist/src/components/generic/Select/Select.js +6 -6
- package/dist/src/components/generic/Select/Select.js.map +1 -1
- package/dist/src/components/generic/Tabs/TabContext.d.ts +1 -1
- package/dist/src/components/generic/Tabs/TabContext.js.map +1 -1
- package/dist/src/components/generic/Tabs/TabLink.js +3 -3
- package/dist/src/components/generic/Tabs/TabLink.js.map +1 -1
- package/dist/src/components/generic/Tabs/TabRouteContainer.js +2 -2
- package/dist/src/components/generic/Tabs/TabRouteContainer.js.map +1 -1
- package/dist/src/components/generic/Tabs/Tabs.js +5 -5
- package/dist/src/components/generic/Tabs/Tabs.js.map +1 -1
- package/dist/src/components/generic/Text.d.ts +2 -2
- package/dist/src/components/generic/Text.js.map +1 -1
- package/dist/src/components/generic/TextBox.d.ts +1 -1
- package/dist/src/components/generic/TextBox.js +1 -1
- package/dist/src/components/generic/TextBox.js.map +1 -1
- package/dist/src/components/generic/Tooltip/Tooltip.js +1 -1
- package/dist/src/components/generic/Tooltip/Tooltip.js.map +1 -1
- package/dist/src/components/generic/badging/SSLSecureBadge.js +2 -2
- 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 +4 -4
- package/dist/src/components/generic/buttons/NextStepButton.js.map +1 -1
- package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.js +3 -3
- package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.js.map +1 -1
- package/dist/src/components/generic/date/DatePicker.js +9 -9
- package/dist/src/components/generic/date/DatePicker.js.map +1 -1
- package/dist/src/components/generic/date/DatePickerDay.js +6 -6
- package/dist/src/components/generic/date/DatePickerDay.js.map +1 -1
- package/dist/src/components/generic/date/DatePickerDays.js +3 -3
- package/dist/src/components/generic/date/DatePickerDays.js.map +1 -1
- package/dist/src/components/generic/date/DatePickerMonth.js +5 -5
- package/dist/src/components/generic/date/DatePickerMonth.js.map +1 -1
- package/dist/src/components/generic/date/DatePickerWeek.js +8 -8
- package/dist/src/components/generic/date/DatePickerWeek.js.map +1 -1
- package/dist/src/components/generic/date/FloatingDatePicker.js +3 -3
- package/dist/src/components/generic/date/FloatingDatePicker.js.map +1 -1
- package/dist/src/components/generic/date/WeekViewSkeleton.js +2 -2
- package/dist/src/components/generic/date/WeekViewSkeleton.js.map +1 -1
- package/dist/src/components/generic/loader/ImageLoader.d.ts +1 -1
- package/dist/src/components/generic/loader/ImageLoader.js +2 -2
- package/dist/src/components/generic/loader/ImageLoader.js.map +1 -1
- package/dist/src/components/generic/loader/LargeLoader.js +1 -1
- 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 +1 -1
- 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.js +7 -7
- package/dist/src/components/generic/modal/SigninModal/AuthenticatedUserModal.js.map +1 -1
- package/dist/src/components/generic/modal/SigninModal/UnauthenticatedUserModal.js +9 -9
- package/dist/src/components/generic/modal/SigninModal/UnauthenticatedUserModal.js.map +1 -1
- package/dist/src/components/generic/modal/SimpleModal.js +5 -5
- package/dist/src/components/generic/modal/SimpleModal.js.map +1 -1
- package/dist/src/components/generic/modal/TabbedModal.js +1 -1
- 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.js +6 -6
- package/dist/src/components/members/EditMyProfile.js.map +1 -1
- package/dist/src/components/navigation/Header.js +14 -14
- package/dist/src/components/navigation/Header.js.map +1 -1
- package/dist/src/components/navigation/StepSelector.js +6 -6
- package/dist/src/components/navigation/StepSelector.js.map +1 -1
- package/dist/src/components/navigation/StepSelectorModal.js +5 -5
- package/dist/src/components/navigation/StepSelectorModal.js.map +1 -1
- package/dist/src/components/pages/Account/Card/MemberCardItem.js +7 -7
- package/dist/src/components/pages/Account/Card/MemberCardItem.js.map +1 -1
- package/dist/src/components/pages/PageColorComponent.js +1 -1
- package/dist/src/components/pages/PageColorComponent.js.map +1 -1
- package/dist/src/components/reservation/ReservationItem.js +12 -12
- package/dist/src/components/reservation/ReservationItem.js.map +1 -1
- package/dist/src/components/reservation/ReservationList.d.ts +1 -1
- package/dist/src/components/reservation/ReservationList.js +1 -1
- package/dist/src/components/reservation/ReservationList.js.map +1 -1
- package/dist/src/components/steps/DaysSelectedInformer.js +2 -2
- package/dist/src/components/steps/DaysSelectedInformer.js.map +1 -1
- package/dist/src/components/steps/MinimumNightStayPill.js +4 -4
- 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 +8 -8
- package/dist/src/components/steps/addons/AddonCard.js.map +1 -1
- package/dist/src/components/steps/addons/AddonList.js +6 -6
- package/dist/src/components/steps/addons/AddonList.js.map +1 -1
- package/dist/src/components/steps/addons/AddonsNotFound.js +3 -3
- 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 -4
- package/dist/src/components/steps/common/CommonAddonSummary/CommonAddonSummary.js.map +1 -1
- package/dist/src/components/steps/confirmation/AccountDetails.js +4 -4
- package/dist/src/components/steps/confirmation/AccountDetails.js.map +1 -1
- package/dist/src/components/steps/confirmation/PaymentDetails/AcceptablePaymentCard.js +2 -2
- package/dist/src/components/steps/confirmation/PaymentDetails/AcceptablePaymentCard.js.map +1 -1
- package/dist/src/components/steps/confirmation/PaymentDetails/ExistingCardPicker.js +2 -2
- package/dist/src/components/steps/confirmation/PaymentDetails/ExistingCardPicker.js.map +1 -1
- package/dist/src/components/steps/confirmation/PaymentDetails/StepConfirmationPaymentDetails.js +7 -7
- package/dist/src/components/steps/confirmation/PaymentDetails/StepConfirmationPaymentDetails.js.map +1 -1
- package/dist/src/components/steps/confirmation/PlanpayPaymentMethod.js +2 -2
- package/dist/src/components/steps/confirmation/PlanpayPaymentMethod.js.map +1 -1
- package/dist/src/components/steps/confirmation/RoomContactDetails.js +14 -14
- package/dist/src/components/steps/confirmation/RoomContactDetails.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationAcknowledgement.js +6 -6
- 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 +10 -10
- package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationCommentsComponent.d.ts +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationCommentsComponent.js +4 -4
- package/dist/src/components/steps/confirmation/StepConfirmationCommentsComponent.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationCountrySelector.js +2 -2
- package/dist/src/components/steps/confirmation/StepConfirmationCountrySelector.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationForm.js +25 -25
- package/dist/src/components/steps/confirmation/StepConfirmationForm.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationLimitedOffer.js +6 -6
- package/dist/src/components/steps/confirmation/StepConfirmationLimitedOffer.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationPoliciesSection.js +2 -2
- package/dist/src/components/steps/confirmation/StepConfirmationPoliciesSection.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationPolicyBlock.js +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationPolicyBlock.js.map +1 -1
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffers.js +8 -8
- 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 +8 -8
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersModal.js.map +1 -1
- package/dist/src/components/steps/date/PeoplePicker.js +6 -6
- package/dist/src/components/steps/date/PeoplePicker.js.map +1 -1
- package/dist/src/components/steps/date/PeoplePickerRow.js +5 -5
- package/dist/src/components/steps/date/PeoplePickerRow.js.map +1 -1
- package/dist/src/components/steps/date/StepDatePricePerRoom.js +7 -7
- package/dist/src/components/steps/date/StepDatePricePerRoom.js.map +1 -1
- package/dist/src/components/steps/date/StepOneDateRange.js +3 -3
- package/dist/src/components/steps/date/StepOneDateRange.js.map +1 -1
- package/dist/src/components/steps/date/StepOneDateRangePicker.js +3 -3
- package/dist/src/components/steps/date/StepOneDateRangePicker.js.map +1 -1
- package/dist/src/components/steps/date/StepOneDateRangePickerLegend.js +4 -4
- package/dist/src/components/steps/date/StepOneDateRangePickerLegend.js.map +1 -1
- package/dist/src/components/steps/date/StepOneNextStepButton.js +2 -2
- 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 +13 -13
- 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 +1 -1
- package/dist/src/components/steps/hotel/HotelCardModal.js +12 -12
- package/dist/src/components/steps/hotel/HotelCardModal.js.map +1 -1
- package/dist/src/components/steps/hotel/HotelSearchParameters.js +12 -12
- package/dist/src/components/steps/hotel/HotelSearchParameters.js.map +1 -1
- package/dist/src/components/steps/hotel/NoHotelsAvailable.js +2 -2
- package/dist/src/components/steps/hotel/NoHotelsAvailable.js.map +1 -1
- package/dist/src/components/steps/room/AvailableUpgradesModal.js +11 -11
- 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 +4 -4
- package/dist/src/components/steps/room/ImageGallerySlider.js.map +1 -1
- package/dist/src/components/steps/room/InactivityWindow.js +10 -10
- 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 +9 -9
- package/dist/src/components/steps/room/LargeRoomCard.js.map +1 -1
- package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.js +12 -12
- 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 +11 -11
- 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 +9 -9
- package/dist/src/components/steps/room/RoomList.js.map +1 -1
- package/dist/src/components/steps/room/RoomListAlert.js +2 -2
- package/dist/src/components/steps/room/RoomListAlert.js.map +1 -1
- package/dist/src/components/steps/room/RoomListCrossSellBlock.js +9 -9
- 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 +9 -9
- package/dist/src/components/steps/room/RoomModal.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomAlertBlocks.js +4 -4
- package/dist/src/components/steps/room/StepRoomAlertBlocks.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomBestRateAlert.js +4 -4
- 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 +3 -3
- package/dist/src/components/steps/room/StepRoomHotelDetails.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomNextStepButton.js +2 -2
- package/dist/src/components/steps/room/StepRoomNextStepButton.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomSortBy.js +4 -4
- package/dist/src/components/steps/room/StepRoomSortBy.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomSummaryAndButton.js +4 -4
- 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 +2 -2
- 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 +2 -2
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfChildrenPicker.js.map +1 -1
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgress.js +5 -5
- 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 +14 -14
- 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 +17 -17
- package/dist/src/components/steps/room/roomDetails/RoomDetails.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.d.ts +2 -2
- package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.js +3 -3
- 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 +3 -3
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPerkBlock.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPriceBlock.js +7 -7
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPriceBlock.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsRetargeting.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsRetargeting.js +12 -12
- package/dist/src/components/steps/room/roomDetails/RoomDetailsRetargeting.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/BookNowButton.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/BookNowButton.js +2 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/BookNowButton.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/MembersOnlyRow.js +7 -7
- 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 +8 -8
- 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 +9 -9
- 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 +3 -3
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDetailsAndPriceBreakdownModal.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.js +6 -6
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.d.ts +2 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.js +6 -6
- 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 +14 -14
- 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 +8 -8
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRates.js.map +1 -1
- package/dist/src/components/steps/room/roomFilter/AppliedFiltersBlock.js +4 -4
- 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 +13 -13
- 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 +7 -7
- 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 +5 -5
- 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 +5 -5
- package/dist/src/components/steps/room/roomFilter/RoomFilterRoomType.js.map +1 -1
- package/dist/src/components/summary/BEMapWidget.js +4 -4
- package/dist/src/components/summary/BEMapWidget.js.map +1 -1
- package/dist/src/components/summary/BEMobileSummary.js +10 -10
- package/dist/src/components/summary/BEMobileSummary.js.map +1 -1
- package/dist/src/components/summary/BEMobileSummaryModal.js +18 -18
- package/dist/src/components/summary/BEMobileSummaryModal.js.map +1 -1
- package/dist/src/components/summary/BESummary.js +13 -13
- 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 +6 -6
- package/dist/src/components/summary/BESummaryAddonRow.js.map +1 -1
- package/dist/src/components/summary/BESummaryPerkBlock.js +4 -4
- package/dist/src/components/summary/BESummaryPerkBlock.js.map +1 -1
- package/dist/src/components/summary/BESummaryPrivacyPolicy.js +2 -2
- 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 +10 -10
- 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 +5 -5
- package/dist/src/components/summary/TransportDistanceFromHotelBlock.js.map +1 -1
- package/dist/src/components/temp/Login.js +1 -1
- package/dist/src/components/temp/Login.js.map +1 -1
- package/dist/src/contexts/BasketContext/BasketContextType.d.ts +6 -6
- package/dist/src/contexts/BasketContext/BasketContextType.js.map +1 -1
- package/dist/src/contexts/BasketContext/BasketContextWrapper.js +14 -14
- package/dist/src/contexts/BasketContext/BasketContextWrapper.js.map +1 -1
- package/dist/src/contexts/BookingEngineContext/BookingEngineContextType.types.d.ts +5 -5
- package/dist/src/contexts/BookingEngineContext/BookingEngineContextType.types.js.map +1 -1
- package/dist/src/contexts/BookingEngineContext/BookingEngineContextWrapper.d.ts +1 -1
- package/dist/src/contexts/BookingEngineContext/BookingEngineContextWrapper.js +2 -2
- package/dist/src/contexts/BookingEngineContext/BookingEngineContextWrapper.js.map +1 -1
- package/dist/src/contexts/CompanyContext/CompanyContextType.type.d.ts +5 -5
- 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 +10 -10
- package/dist/src/contexts/CompanyContext/CompanyContextWrapper.js.map +1 -1
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.js +1 -1
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.js.map +1 -1
- package/dist/src/contexts/ErrorContext.js +2 -2
- package/dist/src/contexts/ErrorContext.js.map +1 -1
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextTypes.d.ts +1 -1
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextTypes.js.map +1 -1
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.js +20 -20
- 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 +2 -2
- package/dist/src/contexts/HotelOverridesContext.js.map +1 -1
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContextProvider.js +1 -1
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContextProvider.js.map +1 -1
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContextProvider.js +1 -1
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContextProvider.js.map +1 -1
- package/dist/src/contexts/NotificationContext.d.ts +1 -1
- package/dist/src/contexts/NotificationContext.js +1 -1
- package/dist/src/contexts/NotificationContext.js.map +1 -1
- package/dist/src/engines/BaseEngine.d.ts +2 -2
- package/dist/src/engines/BaseEngine.js +2 -2
- package/dist/src/engines/BaseEngine.js.map +1 -1
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngine.d.ts +4 -4
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngine.js +2 -2
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngine.js.map +1 -1
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngineElement.js +1 -1
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngineElement.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 +2 -2
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngine.js +3 -3
- 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 +1 -1
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElement.js.map +1 -1
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngine.d.ts +2 -2
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngine.js +3 -3
- 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 +21 -21
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.js.map +1 -1
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngine.d.ts +2 -2
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngine.js +3 -3
- 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 +8 -8
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.js.map +1 -1
- package/dist/src/errors/GetAvailabilityError.js +1 -1
- package/dist/src/errors/GetAvailabilityError.js.map +1 -1
- package/dist/src/events/RoomstayEventManager.d.ts +1 -1
- 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/GuestSearchEvent.d.ts +1 -1
- package/dist/src/events/actions/GuestSearchEvent.js.map +1 -1
- package/dist/src/events/actions/InitialHotelDetailsEvent.d.ts +1 -1
- package/dist/src/events/actions/InitialHotelDetailsEvent.js.map +1 -1
- package/dist/src/events/actions/MemberOnlyFence/MemberOnlyFenceSignUp.d.ts +1 -1
- package/dist/src/events/actions/MemberOnlyFence/MemberOnlyFenceSignUp.js.map +1 -1
- package/dist/src/events/actions/Promotion/PromotionAddedEvent.d.ts +1 -1
- package/dist/src/events/actions/Promotion/PromotionAddedEvent.js.map +1 -1
- package/dist/src/events/actions/Promotion/PromotionClickedEvent.d.ts +1 -1
- package/dist/src/events/actions/Promotion/PromotionClickedEvent.js.map +1 -1
- package/dist/src/events/actions/Promotion/PromotionRemovedEvent.d.ts +1 -1
- package/dist/src/events/actions/Promotion/PromotionRemovedEvent.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/actions/RoomListSearchEvent.d.ts +2 -2
- package/dist/src/events/actions/RoomListSearchEvent.js.map +1 -1
- package/dist/src/events/index.d.ts +13 -13
- package/dist/src/events/index.js +13 -13
- package/dist/src/events/index.js.map +1 -1
- package/dist/src/events/views/FindReservationResultsViewEvent.d.ts +1 -1
- package/dist/src/events/views/FindReservationResultsViewEvent.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/events/views/StepThanksViewEvent.d.ts +1 -1
- package/dist/src/events/views/StepThanksViewEvent.js.map +1 -1
- package/dist/src/hooks/EventHook.d.ts +2 -2
- package/dist/src/hooks/EventHook.js +1 -1
- package/dist/src/hooks/EventHook.js.map +1 -1
- package/dist/src/hooks/KeyboardControlOnSelect.d.ts +1 -1
- package/dist/src/hooks/KeyboardControlOnSelect.js.map +1 -1
- package/dist/src/hooks/VGSHooks.d.ts +1 -1
- package/dist/src/hooks/VGSHooks.js +1 -1
- package/dist/src/hooks/VGSHooks.js.map +1 -1
- package/dist/src/hooks/WindowSize.js +2 -2
- package/dist/src/hooks/WindowSize.js.map +1 -1
- package/dist/src/hooks/index.d.ts +6 -6
- package/dist/src/hooks/index.js +6 -6
- 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 +65 -65
- package/dist/src/index.js +70 -70
- package/dist/src/index.js.map +1 -1
- package/dist/src/mockApi/AddonAPI.d.ts +2 -2
- package/dist/src/mockApi/AddonAPI.js +2 -2
- package/dist/src/mockApi/AddonAPI.js.map +1 -1
- package/dist/src/mockApi/BookingAPI.d.ts +1 -1
- package/dist/src/mockApi/BookingAPI.js +1 -1
- package/dist/src/mockApi/BookingAPI.js.map +1 -1
- package/dist/src/mockApi/ExchangeRateAPI.d.ts +1 -1
- package/dist/src/mockApi/ExchangeRateAPI.js.map +1 -1
- package/dist/src/mockApi/HotelAPI.d.ts +2 -2
- package/dist/src/mockApi/HotelAPI.js.map +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 +5 -5
- package/dist/src/mockApi/ReservationAPI.js.map +1 -1
- package/dist/src/models/Api/HotelDTO.d.ts +6 -6
- 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/ReservationsDTO.d.ts +1 -1
- package/dist/src/models/Api/ReservationsDTO.js.map +1 -1
- package/dist/src/models/Api/RoomNightDTO.d.ts +1 -1
- package/dist/src/models/Api/RoomNightDTO.js.map +1 -1
- package/dist/src/models/BasketAddonRow.d.ts +1 -1
- package/dist/src/models/BasketAddonRow.js +1 -1
- package/dist/src/models/BasketAddonRow.js.map +1 -1
- package/dist/src/models/BasketRow.d.ts +5 -5
- package/dist/src/models/BasketRow.js +1 -1
- package/dist/src/models/BasketRow.js.map +1 -1
- package/dist/src/models/BookingWizard/BookingWizardProperty.d.ts +1 -1
- package/dist/src/models/BookingWizard/BookingWizardProperty.js.map +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 +12 -12
- package/dist/src/models/Client/Hotel/Hotel.js.map +1 -1
- package/dist/src/models/Client/Hotel/HotelPerk.d.ts +1 -1
- package/dist/src/models/Client/Hotel/HotelPerk.js.map +1 -1
- 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/RoomstaySession.d.ts +3 -3
- package/dist/src/models/RoomstaySession.js.map +1 -1
- package/dist/src/pages/account/AccountHome/AccountHomePage.js +11 -11
- package/dist/src/pages/account/AccountHome/AccountHomePage.js.map +1 -1
- package/dist/src/pages/account/AccountRouter.js +9 -9
- package/dist/src/pages/account/AccountRouter.js.map +1 -1
- package/dist/src/pages/account/Details/AccountDetailsCardsPage.js +9 -9
- package/dist/src/pages/account/Details/AccountDetailsCardsPage.js.map +1 -1
- package/dist/src/pages/account/Details/AccountDetailsNoCardsPage.d.ts +1 -1
- package/dist/src/pages/account/Details/AccountDetailsNoCardsPage.js +5 -5
- package/dist/src/pages/account/Details/AccountDetailsNoCardsPage.js.map +1 -1
- package/dist/src/pages/account/Details/AccountDetailsProfilePage.js +9 -9
- package/dist/src/pages/account/Details/AccountDetailsProfilePage.js.map +1 -1
- package/dist/src/pages/account/Help/AccountHelpPage.js +10 -10
- package/dist/src/pages/account/Help/AccountHelpPage.js.map +1 -1
- package/dist/src/pages/account/Reservations/AccountReservationCancelledPage.js +13 -13
- package/dist/src/pages/account/Reservations/AccountReservationCancelledPage.js.map +1 -1
- package/dist/src/pages/account/Reservations/AccountReservationMultiplePage.js +13 -13
- package/dist/src/pages/account/Reservations/AccountReservationMultiplePage.js.map +1 -1
- package/dist/src/pages/account/Reservations/AccountReservationSinglePage.js +17 -17
- package/dist/src/pages/account/Reservations/AccountReservationSinglePage.js.map +1 -1
- package/dist/src/pages/account/Reservations/AccountReservationsPage.js +7 -7
- package/dist/src/pages/account/Reservations/AccountReservationsPage.js.map +1 -1
- package/dist/src/pages/findReservation/FindReservation.js +17 -17
- package/dist/src/pages/findReservation/FindReservation.js.map +1 -1
- package/dist/src/pages/findReservation/FindReservationResults.js +13 -13
- 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 +11 -11
- 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 +9 -9
- package/dist/src/pages/findReservation/ReservationRowModal.js.map +1 -1
- package/dist/src/pages/hotel/HotelInfo.js +9 -9
- 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 +5 -5
- package/dist/src/pages/steps/StepAddon/StepAddon.js +3 -3
- package/dist/src/pages/steps/StepAddon/StepAddon.js.map +1 -1
- package/dist/src/pages/steps/StepAddon/StepAddonComponent.js +9 -9
- package/dist/src/pages/steps/StepAddon/StepAddonComponent.js.map +1 -1
- package/dist/src/pages/steps/StepAddon/StepAddonLoader.js +2 -2
- 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 +3 -3
- package/dist/src/pages/steps/StepConfirmation/StepConfirmation.js.map +1 -1
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationComponent.js +13 -13
- 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 +3 -3
- package/dist/src/pages/steps/StepDate/StepDate.js.map +1 -1
- package/dist/src/pages/steps/StepDate/StepDateComponent.js +13 -13
- package/dist/src/pages/steps/StepDate/StepDateComponent.js.map +1 -1
- package/dist/src/pages/steps/StepDate/StepDateValidator.d.ts +1 -1
- package/dist/src/pages/steps/StepDate/StepDateValidator.js +1 -1
- 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 +2 -2
- package/dist/src/pages/steps/StepGuide.js.map +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotel.d.ts +4 -4
- package/dist/src/pages/steps/StepHotel/StepHotel.js +3 -3
- package/dist/src/pages/steps/StepHotel/StepHotel.js.map +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotelComponent.js +9 -9
- package/dist/src/pages/steps/StepHotel/StepHotelComponent.js.map +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotelLoader.js +4 -4
- 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 +3 -3
- package/dist/src/pages/steps/StepRoom/StepRoom.js.map +1 -1
- package/dist/src/pages/steps/StepRoom/StepRoomComponent.js +16 -16
- 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 +4 -4
- package/dist/src/pages/steps/StepThanks/StepThanks.js.map +1 -1
- package/dist/src/pages/steps/StepThanks/StepThanksComponent.js +11 -11
- 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 +3 -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 +8 -8
- package/dist/src/providers/FeatureProvider.js.map +1 -1
- package/dist/src/providers/FilterProvider.d.ts +3 -3
- package/dist/src/providers/FilterProvider.js +1 -1
- package/dist/src/providers/FilterProvider.js.map +1 -1
- package/dist/src/providers/LanguageProvider.js +1 -1
- package/dist/src/providers/LanguageProvider.js.map +1 -1
- package/dist/src/providers/PromotionProvider.d.ts +2 -2
- package/dist/src/providers/PromotionProvider.js +6 -6
- package/dist/src/providers/PromotionProvider.js.map +1 -1
- package/dist/src/providers/RatePillProvider.d.ts +5 -5
- 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 +3 -3
- package/dist/src/providers/RoomstayThemeEngine.js +1 -1
- package/dist/src/providers/RoomstayThemeEngine.js.map +1 -1
- package/dist/src/providers/SessionProvider.d.ts +1 -1
- package/dist/src/providers/SessionProvider.js +5 -5
- 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/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 +3 -3
- package/dist/src/providers/feature/InlineAddonStepFeature.js.map +1 -1
- package/dist/src/providers/feature/MemberPortalFeature.d.ts +1 -1
- package/dist/src/providers/feature/MemberPortalFeature.js +1 -1
- package/dist/src/providers/feature/MemberPortalFeature.js.map +1 -1
- 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 +1 -1
- package/dist/src/providers/storage/LocalStorageProvider.js +1 -1
- package/dist/src/providers/storage/LocalStorageProvider.js.map +1 -1
- package/dist/src/reducers/BasketReducer.d.ts +2 -2
- package/dist/src/reducers/BasketReducer.js +2 -2
- package/dist/src/reducers/BasketReducer.js.map +1 -1
- package/dist/src/routes/NaturallyProgressedStepRoute.d.ts +1 -1
- package/dist/src/routes/NaturallyProgressedStepRoute.js +6 -6
- package/dist/src/routes/NaturallyProgressedStepRoute.js.map +1 -1
- package/dist/src/stories/Alert.stories.d.ts +1 -1
- package/dist/src/stories/Alert.stories.js +1 -1
- package/dist/src/stories/Alert.stories.js.map +1 -1
- package/dist/src/stories/BackButton.stories.d.ts +1 -1
- package/dist/src/stories/BackButton.stories.js +1 -1
- package/dist/src/stories/BackButton.stories.js.map +1 -1
- package/dist/src/stories/BookNowPayLaterInfoBlock.stories.d.ts +1 -1
- package/dist/src/stories/BookNowPayLaterInfoBlock.stories.js +1 -1
- package/dist/src/stories/BookNowPayLaterInfoBlock.stories.js.map +1 -1
- package/dist/src/stories/BookingWizard.stories.d.ts +1 -1
- package/dist/src/stories/BookingWizard.stories.js +1 -1
- package/dist/src/stories/BookingWizard.stories.js.map +1 -1
- package/dist/src/stories/Card.stories.js +1 -1
- package/dist/src/stories/Card.stories.js.map +1 -1
- package/dist/src/stories/CardTypeSelect.stories.d.ts +1 -1
- package/dist/src/stories/CardTypeSelect.stories.js +1 -1
- package/dist/src/stories/CardTypeSelect.stories.js.map +1 -1
- package/dist/src/stories/ConfirmationModal.stories.d.ts +1 -1
- package/dist/src/stories/ConfirmationModal.stories.js +1 -1
- package/dist/src/stories/ConfirmationModal.stories.js.map +1 -1
- package/dist/src/stories/Countdown.stories.d.ts +1 -1
- package/dist/src/stories/Countdown.stories.js +1 -1
- package/dist/src/stories/Countdown.stories.js.map +1 -1
- package/dist/src/stories/Currency.stories.d.ts +1 -1
- package/dist/src/stories/Currency.stories.js +1 -1
- package/dist/src/stories/Currency.stories.js.map +1 -1
- package/dist/src/stories/DateRangePicker.stories.d.ts +1 -1
- package/dist/src/stories/DateRangePicker.stories.js +1 -1
- package/dist/src/stories/DateRangePicker.stories.js.map +1 -1
- package/dist/src/stories/Distance.stories.d.ts +1 -1
- package/dist/src/stories/Distance.stories.js +1 -1
- package/dist/src/stories/Distance.stories.js.map +1 -1
- package/dist/src/stories/ErrorModal.stories.d.ts +1 -1
- package/dist/src/stories/ErrorModal.stories.js +1 -1
- package/dist/src/stories/ErrorModal.stories.js.map +1 -1
- package/dist/src/stories/FloatingDateRangePicker.stories.d.ts +1 -1
- package/dist/src/stories/FloatingDateRangePicker.stories.js +2 -2
- package/dist/src/stories/FloatingDateRangePicker.stories.js.map +1 -1
- package/dist/src/stories/ForwardedSelect.stories.d.ts +1 -1
- package/dist/src/stories/ForwardedSelect.stories.js +1 -1
- package/dist/src/stories/ForwardedSelect.stories.js.map +1 -1
- package/dist/src/stories/Headline.stories.d.ts +1 -1
- package/dist/src/stories/Headline.stories.js +1 -1
- package/dist/src/stories/Headline.stories.js.map +1 -1
- package/dist/src/stories/LineBreak.stories.d.ts +1 -1
- package/dist/src/stories/LineBreak.stories.js +1 -1
- package/dist/src/stories/LineBreak.stories.js.map +1 -1
- package/dist/src/stories/Notification.stories.d.ts +1 -1
- package/dist/src/stories/Notification.stories.js +2 -2
- package/dist/src/stories/Notification.stories.js.map +1 -1
- package/dist/src/stories/NumberIncrement.stories.d.ts +1 -1
- package/dist/src/stories/NumberIncrement.stories.js +1 -1
- package/dist/src/stories/NumberIncrement.stories.js.map +1 -1
- package/dist/src/stories/PaymentCard.stories.d.ts +1 -1
- package/dist/src/stories/PaymentCard.stories.js +1 -1
- package/dist/src/stories/PaymentCard.stories.js.map +1 -1
- package/dist/src/stories/PaymentCardInput.stories.d.ts +1 -1
- package/dist/src/stories/PaymentCardInput.stories.js +1 -1
- package/dist/src/stories/PaymentCardInput.stories.js.map +1 -1
- package/dist/src/stories/Pill.stories.d.ts +1 -1
- package/dist/src/stories/Pill.stories.js +1 -1
- package/dist/src/stories/Pill.stories.js.map +1 -1
- package/dist/src/stories/Placeholder.stories.d.ts +1 -1
- package/dist/src/stories/Placeholder.stories.js +1 -1
- package/dist/src/stories/Placeholder.stories.js.map +1 -1
- package/dist/src/stories/PlanpayButton.stories.d.ts +1 -1
- package/dist/src/stories/PlanpayButton.stories.js +1 -1
- package/dist/src/stories/PlanpayButton.stories.js.map +1 -1
- package/dist/src/stories/PromoCodeInput.stories.d.ts +1 -1
- package/dist/src/stories/PromoCodeInput.stories.js +1 -1
- package/dist/src/stories/PromoCodeInput.stories.js.map +1 -1
- package/dist/src/stories/RadioButton.stories.d.ts +1 -1
- package/dist/src/stories/RadioButton.stories.js +1 -1
- package/dist/src/stories/RadioButton.stories.js.map +1 -1
- package/dist/src/stories/RadioButtonGroup.stories.d.ts +1 -1
- package/dist/src/stories/RadioButtonGroup.stories.js +1 -1
- package/dist/src/stories/RadioButtonGroup.stories.js.map +1 -1
- package/dist/src/stories/RadioFields.stories.d.ts +1 -1
- package/dist/src/stories/RadioFields.stories.js +1 -1
- package/dist/src/stories/RadioFields.stories.js.map +1 -1
- package/dist/src/stories/Select.stories.d.ts +2 -2
- package/dist/src/stories/Select.stories.js +1 -1
- package/dist/src/stories/Select.stories.js.map +1 -1
- package/dist/src/stories/SimpleModal.stories.d.ts +1 -1
- package/dist/src/stories/SimpleModal.stories.js +1 -1
- package/dist/src/stories/SimpleModal.stories.js.map +1 -1
- package/dist/src/stories/Slider.stories.d.ts +3 -3
- package/dist/src/stories/Slider.stories.js +1 -1
- package/dist/src/stories/Slider.stories.js.map +1 -1
- package/dist/src/stories/TabbedModal.stories.d.ts +1 -1
- package/dist/src/stories/TabbedModal.stories.js +1 -1
- package/dist/src/stories/TabbedModal.stories.js.map +1 -1
- package/dist/src/stories/Tabs.stories.d.ts +1 -1
- package/dist/src/stories/Tabs.stories.js +2 -2
- package/dist/src/stories/Tabs.stories.js.map +1 -1
- package/dist/src/stories/Text.stories.d.ts +1 -1
- package/dist/src/stories/Text.stories.js +1 -1
- package/dist/src/stories/Text.stories.js.map +1 -1
- package/dist/src/stories/TextArea.stories.js +1 -1
- package/dist/src/stories/TextArea.stories.js.map +1 -1
- package/dist/src/stories/TextBox.stories.d.ts +1 -1
- package/dist/src/stories/TextBox.stories.js +1 -1
- package/dist/src/stories/TextBox.stories.js.map +1 -1
- package/dist/src/stories/Tooltip.stories.d.ts +1 -1
- package/dist/src/stories/Tooltip.stories.js +1 -1
- package/dist/src/stories/Tooltip.stories.js.map +1 -1
- package/dist/src/util/CalendarHelper.d.ts +1 -1
- package/dist/src/util/CalendarHelper.js.map +1 -1
- package/dist/src/util/DataLayer.d.ts +6 -6
- package/dist/src/util/DataLayer.js.map +1 -1
- package/dist/src/util/PaymentCardHelper.d.ts +1 -1
- package/dist/src/util/PaymentCardHelper.js +2 -2
- package/dist/src/util/PaymentCardHelper.js.map +1 -1
- package/dist/src/util/StepManager.d.ts +1 -1
- package/dist/src/util/StepManager.js +1 -1
- package/dist/src/util/StepManager.js.map +1 -1
- package/dist/src/util/TotalCalculator.d.ts +2 -2
- package/dist/src/util/TotalCalculator.js +1 -1
- package/dist/src/util/TotalCalculator.js.map +1 -1
- package/dist/test.bundle.js +1 -0
- package/dist/tests/offline/entry/RSCompany.js +1 -1
- package/dist/tests/offline/entry/RSCompany.js.map +1 -1
- package/dist/tests/offline/entry/ReactWrapper.js +1 -1
- package/dist/tests/offline/entry/ReactWrapper.js.map +1 -1
- package/dist/tests/offline/entry/components/TestPicker.js +5 -5
- package/dist/tests/offline/entry/components/TestPicker.js.map +1 -1
- package/dist/tests/setupTests.js +1 -1
- package/dist/tests/setupTests.js.map +1 -1
- package/dist/vendors.bundle.js +1 -1
- package/package.json +4 -2
- package/dist/218.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HotelInfo.js","sourceRoot":"/","sources":["src/pages/hotel/HotelInfo.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,sCAAmC;AACnC,qEAA8D;AAC9D,gEAAyD;AACzD,2EAAmD;AACnD,+FAAuE;AACvE,iCAA4C;AAC5C,wEAA0C;AAC1C,yHAAiG;AACjG,2CAA4D;AAC5D,2EA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A,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,CAAA,IAAI,oBAAC,0BAAU,IAAC,OAAO,EAAE,kBAAkB,CAAC,OAAO,EAAE,KAAK,EAAE,kBAAkB,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAC,OAAO,GAAG,CACxI,CACN,CAAC;AACN,CAAC;AAhPD,4BAgPC","sourcesContent":["import * as React from 'react';\nimport { Color } from 'util/Color';\nimport Icon, { IconType } from 'components/generic/Icon/Icon';\nimport Text, { TextType } from 'components/generic/Text';\nimport Headline from 'components/generic/Headline';\nimport HotelLocationMap from 'components/generic/map/HotelLocationMap';\nimport { useState, useEffect } from 'react';\nimport FsLightbox from 'fslightbox-react';\nimport TransportDistanceFromHotelBlock from 'components/summary/TransportDistanceFromHotelBlock';\nimport { useCurrentHotel, useEvent } from '@frontend/hooks';\nimport BEButton from 'components/generic/BEButton';\nimport { useHistory } from 'react-router-dom';\nimport StepManager from 'util/StepManager';\nimport { useTranslation } from 'react-i18next';\nimport { Translation } from 'translations/Translation';\nimport ImageProvider, { ImageSize } from 'providers/ImageProvider';\nimport { StepHotelInfoViewEvent } from '@frontend/events';\n\nexport default function HotelInfo() {\n const { hotel } = useCurrentHotel();\n const history = useHistory();\n const { t } = useTranslation();\n\n const imageUrl = hotel?.heroImage;\n\n const { line1, line2, postalCode, country } = hotel?.address ?? {};\n\n const [lightboxController, setLightboxController] = useState({ toggler: false, slide: 1 });\n const [images, setImages] = useState<string[]>([]);\n\n const openSlider = (slide: number) => {\n setLightboxController((controller) => ({ toggler: !controller.toggler, slide: slide + 1 }));\n };\n const openSliderOnClick = () => {\n openSlider(4);\n };\n\n const { raise } = useEvent();\n\n useEffect(() => {\n const event = new StepHotelInfoViewEvent();\n raise(event);\n }, []);\n\n useEffect(() => {\n const newImages: string[] = [];\n\n if (hotel?.images?.length) {\n newImages.push(...hotel?.images);\n } else if (hotel?.rooms) {\n for (const room of Object.values(hotel?.rooms)) {\n room.images?.forEach((image) => {\n newImages.push(image);\n });\n }\n }\n\n setImages(newImages);\n }, [hotel?.rooms]);\n\n const onBookNowClick = () => {\n history.push(StepManager.getFirstStep().getStepUrl());\n };\n\n const getImage = (index: number) => {\n const openSliderOnClickHandler = () => {\n openSlider(index);\n };\n\n const resizedUrl = ImageProvider.resizeImage(images[index], ImageSize.Small);\n\n return (\n <div\n style={{ backgroundImage: `url('${resizedUrl}')`, paddingTop: '75%' }}\n className=\"c-images u-block u-w-100 u-marg-bottom u-marg-bottom--heavy\"\n onClick={openSliderOnClickHandler}\n />\n );\n };\n\n return (\n <>\n <div style={{ backgroundImage: `url('${imageUrl}')` }} className=\"c-masthead has-tint\">\n <div className=\"container\">\n <div className=\"c-masthead__body u-fill-white u-pad--heavy u-shadow-accent\">\n <h1 className=\"c-masthead__header\">{hotel?.name}</h1>\n <h2 className=\"c-masthead__sub-header\">{hotel?.address?.country}</h2>\n </div>\n </div>\n </div>\n <div className=\"u-fill-snow u-pad--heavy-med u-pad-top-bottom--heavy@m-\">\n <div className=\"container\">\n <div className=\"row\">\n <div className=\"col-md-6 u-flex align-items-center\">\n <ul>\n <li className=\"u-flex u-marg-bottom--heavy\">\n <Icon icon={IconType.Map} size=\"1.3em\" color={Color.Accent} />\n <span className=\"u-flex__item u-marg-left\">\n {line1}\n <br />\n {line2} {postalCode}, {country}\n </span>\n </li>\n <li className=\"u-flex u-marg-bottom--heavy\">\n <Icon icon={IconType.Phone} size=\"1.3em\" color={Color.Accent} />\n <span className=\"u-flex__item u-marg-left\">{hotel?.phone}</span>\n </li>\n <li className=\"u-flex u-marg-bottom--heavy\">\n <Icon icon={IconType.Hotel2} size=\"1.3em\" color={Color.Accent} />\n <span className=\"u-flex__item u-marg-left\">\n <a href={hotel?.hotelUrl} style={{ color: 'var(--rs-color-accent-1)' }}>\n {hotel?.name}\n </a>\n </span>\n </li>\n <li className=\"u-flex\">\n <BEButton icon={IconType.ArrowRight} primary={true} filled={true} iconPosition={'right'} onClick={onBookNowClick}>\n {t(Translation.HotelInfo.BookNowButton)}\n </BEButton>\n </li>\n </ul>\n </div>\n <div className=\"col-md-6\">\n <div className=\"c-overlap\">\n <div className=\"u-marg-bottom u-marg-bottom--heavy u-marg-top u-marg-top--heavy\" style={{ height: '240px' }}>\n <HotelLocationMap />\n </div>\n <div className=\"u-flex u-flex-column justify-content-center\">\n <TransportDistanceFromHotelBlock hotel={hotel} />\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div className=\"u-pad u-pad--heavy-plus u-pad-top-bottom--heavy@m-\">\n <div className=\"container\">\n <div className=\"row\">\n <div className=\"col-lg-6\">\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <Headline bold={true}>About</Headline>\n </div>\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <Text type={TextType.Small}>\n <span dangerouslySetInnerHTML={{ __html: hotel?.description?.replace('\\r\\n', '<br/><br/>') }} />\n </Text>\n {!!hotel?.locationDescription && (\n <>\n <div className=\"u-marg-top\">\n <Text type={TextType.Small}>\n <strong>Location</strong>\n </Text>\n </div>\n <Text type={TextType.Small}>\n <span dangerouslySetInnerHTML={{ __html: hotel?.locationDescription?.replace('\\r\\n', '<br/><br/>') }} />\n </Text>\n </>\n )}\n </div>\n {!!hotel?.perks?.length && (\n <>\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <Text type={TextType.Small}>\n <strong>And you get all these for free:</strong>\n </Text>\n </div>\n <div className=\"row\">\n {hotel?.perks.map((perk) => {\n return (\n <div className=\"col-6 col-md-4\" key={perk.name}>\n <div className=\"u-flex u-marg-bottom\">\n <div className=\"room-perk-icon\">{perk.iconElement ? perk.iconElement : <Icon icon={perk.icon} />}</div>\n <span className=\"u-flex__item\">\n <Text type={TextType.Small}>{perk.name}</Text>\n </span>\n </div>\n </div>\n );\n })}\n </div>\n </>\n )}\n </div>\n {!!hotel?.hotelServices?.length && (\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <div className=\"u-marg-bottom--heavy\">\n <Headline bold={true}>Hotel Amenities</Headline>\n </div>\n <div className=\"row\">\n {hotel?.hotelServices.map((hotelService, index) => {\n return (\n <div key={index} className=\"col-md-6\">\n <div className=\"u-flex u-marg-bottom\">\n <Icon\n icon={IconType.Check}\n color={Color.White}\n backgroundColor={Color.Accent}\n borderRadius={'round'}\n noPadding={true}\n size=\"16px\"\n />\n <span className=\"u-flex__item u-marg-left--light\">\n <Text type={TextType.Small}>{hotelService.name}</Text>\n </span>\n </div>\n </div>\n );\n })}\n </div>\n </div>\n )}\n {!!hotel?.policies && (\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <div className=\"u-marg-bottom--heavy\">\n <Headline bold={true}>Policies</Headline>\n </div>\n <Text type={TextType.Small}>\n <a href={hotel?.policies} target=\"_blank\" style={{ color: hotel?.colors.accent }} rel=\"noreferrer\">\n {hotel?.policies}\n </a>\n </Text>\n </div>\n )}\n </div>\n <div className=\"col-lg-6\">\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <Headline bold={true}>Gallery</Headline>\n </div>\n {images.length >= 1 && getImage(0)}\n <div className=\"row\">\n {[1, 2, 3].map((index) => {\n if (images.length > index) {\n return (\n <div key={index} className=\"col-6\">\n {getImage(index)}\n </div>\n );\n }\n })}\n {images.length > 5 && (\n <div className=\"col-6\">\n <div className=\"c-images c-images--more\" onClick={openSliderOnClick}>\n {getImage(4)}\n <span>+ {images.length - 5}</span>\n </div>\n </div>\n )}\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n {!!images?.length && <FsLightbox toggler={lightboxController.toggler} slide={lightboxController.slide} sources={images} type=\"image\" />}\n </>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"HotelInfo.js","sourceRoot":"/","sources":["src/pages/hotel/HotelInfo.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6C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,QAAQ,CAAC,CAAC,CAAC;wCACZ;;4CAAS,MAAM,CAAC,MAAM,GAAG,CAAC,CAAQ,CAChC,CACJ,CACT,CACC,CACJ,CACJ,CACJ,CACJ,CACJ;QACL,CAAC,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,CAAA,IAAI,oBAAC,0BAAU,IAAC,OAAO,EAAE,kBAAkB,CAAC,OAAO,EAAE,KAAK,EAAE,kBAAkB,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAC,OAAO,GAAG,CACxI,CACN,CAAC;AACN,CAAC;AAhPD,4BAgPC","sourcesContent":["import * as React from 'react';\nimport { Color } from '@/util/Color';\nimport Icon, { IconType } from '@/components/generic/Icon/Icon';\nimport Text, { TextType } from '@/components/generic/Text';\nimport Headline from '@/components/generic/Headline';\nimport HotelLocationMap from '@/components/generic/map/HotelLocationMap';\nimport { useState, useEffect } from 'react';\nimport FsLightbox from 'fslightbox-react';\nimport TransportDistanceFromHotelBlock from '@/components/summary/TransportDistanceFromHotelBlock';\nimport { useCurrentHotel, useEvent } from '@frontend/hooks';\nimport BEButton from '@/components/generic/BEButton';\nimport { useHistory } from 'react-router-dom';\nimport StepManager from '@/util/StepManager';\nimport { useTranslation } from 'react-i18next';\nimport { Translation } from 'translations/Translation';\nimport ImageProvider, { ImageSize } from '@/providers/ImageProvider';\nimport { StepHotelInfoViewEvent } from '@frontend/events';\n\nexport default function HotelInfo() {\n const { hotel } = useCurrentHotel();\n const history = useHistory();\n const { t } = useTranslation();\n\n const imageUrl = hotel?.heroImage;\n\n const { line1, line2, postalCode, country } = hotel?.address ?? {};\n\n const [lightboxController, setLightboxController] = useState({ toggler: false, slide: 1 });\n const [images, setImages] = useState<string[]>([]);\n\n const openSlider = (slide: number) => {\n setLightboxController((controller) => ({ toggler: !controller.toggler, slide: slide + 1 }));\n };\n const openSliderOnClick = () => {\n openSlider(4);\n };\n\n const { raise } = useEvent();\n\n useEffect(() => {\n const event = new StepHotelInfoViewEvent();\n raise(event);\n }, []);\n\n useEffect(() => {\n const newImages: string[] = [];\n\n if (hotel?.images?.length) {\n newImages.push(...hotel?.images);\n } else if (hotel?.rooms) {\n for (const room of Object.values(hotel?.rooms)) {\n room.images?.forEach((image) => {\n newImages.push(image);\n });\n }\n }\n\n setImages(newImages);\n }, [hotel?.rooms]);\n\n const onBookNowClick = () => {\n history.push(StepManager.getFirstStep().getStepUrl());\n };\n\n const getImage = (index: number) => {\n const openSliderOnClickHandler = () => {\n openSlider(index);\n };\n\n const resizedUrl = ImageProvider.resizeImage(images[index], ImageSize.Small);\n\n return (\n <div\n style={{ backgroundImage: `url('${resizedUrl}')`, paddingTop: '75%' }}\n className=\"c-images u-block u-w-100 u-marg-bottom u-marg-bottom--heavy\"\n onClick={openSliderOnClickHandler}\n />\n );\n };\n\n return (\n <>\n <div style={{ backgroundImage: `url('${imageUrl}')` }} className=\"c-masthead has-tint\">\n <div className=\"container\">\n <div className=\"c-masthead__body u-fill-white u-pad--heavy u-shadow-accent\">\n <h1 className=\"c-masthead__header\">{hotel?.name}</h1>\n <h2 className=\"c-masthead__sub-header\">{hotel?.address?.country}</h2>\n </div>\n </div>\n </div>\n <div className=\"u-fill-snow u-pad--heavy-med u-pad-top-bottom--heavy@m-\">\n <div className=\"container\">\n <div className=\"row\">\n <div className=\"col-md-6 u-flex align-items-center\">\n <ul>\n <li className=\"u-flex u-marg-bottom--heavy\">\n <Icon icon={IconType.Map} size=\"1.3em\" color={Color.Accent} />\n <span className=\"u-flex__item u-marg-left\">\n {line1}\n <br />\n {line2} {postalCode}, {country}\n </span>\n </li>\n <li className=\"u-flex u-marg-bottom--heavy\">\n <Icon icon={IconType.Phone} size=\"1.3em\" color={Color.Accent} />\n <span className=\"u-flex__item u-marg-left\">{hotel?.phone}</span>\n </li>\n <li className=\"u-flex u-marg-bottom--heavy\">\n <Icon icon={IconType.Hotel2} size=\"1.3em\" color={Color.Accent} />\n <span className=\"u-flex__item u-marg-left\">\n <a href={hotel?.hotelUrl} style={{ color: 'var(--rs-color-accent-1)' }}>\n {hotel?.name}\n </a>\n </span>\n </li>\n <li className=\"u-flex\">\n <BEButton icon={IconType.ArrowRight} primary={true} filled={true} iconPosition={'right'} onClick={onBookNowClick}>\n {t(Translation.HotelInfo.BookNowButton)}\n </BEButton>\n </li>\n </ul>\n </div>\n <div className=\"col-md-6\">\n <div className=\"c-overlap\">\n <div className=\"u-marg-bottom u-marg-bottom--heavy u-marg-top u-marg-top--heavy\" style={{ height: '240px' }}>\n <HotelLocationMap />\n </div>\n <div className=\"u-flex u-flex-column justify-content-center\">\n <TransportDistanceFromHotelBlock hotel={hotel} />\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div className=\"u-pad u-pad--heavy-plus u-pad-top-bottom--heavy@m-\">\n <div className=\"container\">\n <div className=\"row\">\n <div className=\"col-lg-6\">\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <Headline bold={true}>About</Headline>\n </div>\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <Text type={TextType.Small}>\n <span dangerouslySetInnerHTML={{ __html: hotel?.description?.replace('\\r\\n', '<br/><br/>') }} />\n </Text>\n {!!hotel?.locationDescription && (\n <>\n <div className=\"u-marg-top\">\n <Text type={TextType.Small}>\n <strong>Location</strong>\n </Text>\n </div>\n <Text type={TextType.Small}>\n <span dangerouslySetInnerHTML={{ __html: hotel?.locationDescription?.replace('\\r\\n', '<br/><br/>') }} />\n </Text>\n </>\n )}\n </div>\n {!!hotel?.perks?.length && (\n <>\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <Text type={TextType.Small}>\n <strong>And you get all these for free:</strong>\n </Text>\n </div>\n <div className=\"row\">\n {hotel?.perks.map((perk) => {\n return (\n <div className=\"col-6 col-md-4\" key={perk.name}>\n <div className=\"u-flex u-marg-bottom\">\n <div className=\"room-perk-icon\">{perk.iconElement ? perk.iconElement : <Icon icon={perk.icon} />}</div>\n <span className=\"u-flex__item\">\n <Text type={TextType.Small}>{perk.name}</Text>\n </span>\n </div>\n </div>\n );\n })}\n </div>\n </>\n )}\n </div>\n {!!hotel?.hotelServices?.length && (\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <div className=\"u-marg-bottom--heavy\">\n <Headline bold={true}>Hotel Amenities</Headline>\n </div>\n <div className=\"row\">\n {hotel?.hotelServices.map((hotelService, index) => {\n return (\n <div key={index} className=\"col-md-6\">\n <div className=\"u-flex u-marg-bottom\">\n <Icon\n icon={IconType.Check}\n color={Color.White}\n backgroundColor={Color.Accent}\n borderRadius={'round'}\n noPadding={true}\n size=\"16px\"\n />\n <span className=\"u-flex__item u-marg-left--light\">\n <Text type={TextType.Small}>{hotelService.name}</Text>\n </span>\n </div>\n </div>\n );\n })}\n </div>\n </div>\n )}\n {!!hotel?.policies && (\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <div className=\"u-marg-bottom--heavy\">\n <Headline bold={true}>Policies</Headline>\n </div>\n <Text type={TextType.Small}>\n <a href={hotel?.policies} target=\"_blank\" style={{ color: hotel?.colors.accent }} rel=\"noreferrer\">\n {hotel?.policies}\n </a>\n </Text>\n </div>\n )}\n </div>\n <div className=\"col-lg-6\">\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <div className=\"u-marg-bottom u-marg-bottom--heavy\">\n <Headline bold={true}>Gallery</Headline>\n </div>\n {images.length >= 1 && getImage(0)}\n <div className=\"row\">\n {[1, 2, 3].map((index) => {\n if (images.length > index) {\n return (\n <div key={index} className=\"col-6\">\n {getImage(index)}\n </div>\n );\n }\n })}\n {images.length > 5 && (\n <div className=\"col-6\">\n <div className=\"c-images c-images--more\" onClick={openSliderOnClick}>\n {getImage(4)}\n <span>+ {images.length - 5}</span>\n </div>\n </div>\n )}\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n {!!images?.length && <FsLightbox toggler={lightboxController.toggler} slide={lightboxController.slide} sources={images} type=\"image\" />}\n </>\n );\n}\n"]}
|
|
@@ -27,7 +27,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const React = __importStar(require("react"));
|
|
30
|
-
const Placeholder_1 = __importDefault(require("components/generic/Placeholder"));
|
|
30
|
+
const Placeholder_1 = __importDefault(require("@/components/generic/Placeholder"));
|
|
31
31
|
function HotelInfoPlaceholder() {
|
|
32
32
|
return (React.createElement("div", { className: "container" },
|
|
33
33
|
React.createElement("div", { className: "row" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HotelInfoPlaceholder.js","sourceRoot":"/","sources":["src/pages/hotel/HotelInfoPlaceholder.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,
|
|
1
|
+
{"version":3,"file":"HotelInfoPlaceholder.js","sourceRoot":"/","sources":["src/pages/hotel/HotelInfoPlaceholder.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,mFAA2D;AAE3D,SAAwB,oBAAoB;IACxC,OAAO,CACH,6BAAK,SAAS,EAAC,WAAW;QACtB,6BAAK,SAAS,EAAC,KAAK;YAChB,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACpD,CACJ,CACT,CAAC;AACN,CAAC;AARD,uCAQC","sourcesContent":["import * as React from 'react';\nimport Placeholder from '@/components/generic/Placeholder';\n\nexport default function HotelInfoPlaceholder() {\n return (\n <div className=\"container\">\n <div className=\"row\">\n <Placeholder type=\"text\" w=\"sm\" h=\"md\" blink={true} />\n </div>\n </div>\n );\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ReactFragment } from 'react';
|
|
2
|
-
import type ColorProfile from 'models/Client/Hotel/ColorProfile';
|
|
3
|
-
import type { Company } from 'models/Client/Hotel/Company';
|
|
4
|
-
import type { Hotel } from 'models/Client/Hotel/Hotel';
|
|
5
|
-
import StepValidator from 'pages/steps/StepValidator';
|
|
2
|
+
import type ColorProfile from '@/models/Client/Hotel/ColorProfile';
|
|
3
|
+
import type { Company } from '@/models/Client/Hotel/Company';
|
|
4
|
+
import type { Hotel } from '@/models/Client/Hotel/Hotel';
|
|
5
|
+
import StepValidator from '@/pages/steps/StepValidator';
|
|
6
6
|
export default abstract class Step {
|
|
7
7
|
protected name: string;
|
|
8
8
|
protected showOnNavigation: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Step.js","sourceRoot":"/","sources":["src/pages/steps/Step.ts"],"names":[],"mappings":";;AAMA,MAA8B,IAAI;IAI9B,YAAmB,IAAY;QAC3B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;IACjC,CAAC;IAES,cAAc;QACpB,OAAO,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC;IACzC,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,UAAU;QACb,OAAO,GAAG,QAAQ,GAAG,IAAI,CAAC,cAAc,EAAE,GAAG,CAAC;IAClD,CAAC;IAEM,kBAAkB;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sBAAsB;QACzB,OAAO,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;IAED;;;OAGG;IACI,eAAe,CAAC,OAAgB,EAAE,KAAa;QAClD,OAAO;IACX,CAAC;CAIJ;AAvCD,uBAuCC","sourcesContent":["import { ReactFragment } from 'react';\nimport type ColorProfile from 'models/Client/Hotel/ColorProfile';\nimport type { Company } from 'models/Client/Hotel/Company';\nimport type { Hotel } from 'models/Client/Hotel/Hotel';\nimport StepValidator from 'pages/steps/StepValidator';\n\nexport default abstract class Step {\n protected name: string;\n protected showOnNavigation: boolean;\n\n public constructor(name: string) {\n this.name = name;\n this.showOnNavigation = true;\n }\n\n protected getUrlFragment() {\n return this.name.toLocaleLowerCase();\n }\n\n public getName() {\n return this.name;\n }\n\n public getStepUrl() {\n return `${'/step/'}${this.getUrlFragment()}/`;\n }\n\n public getStepTranslation(): string {\n return null;\n }\n\n public shouldShowOnNavigation() {\n return this.showOnNavigation;\n }\n\n /**\n * Method gets called when Step is activated. Return a @type ColorProfile\n * to automatically set theme when step is loaded\n */\n public getColorProfile(company: Company, hotel?: Hotel): ColorProfile {\n return;\n }\n\n public abstract getComponent(): ReactFragment;\n public abstract getValidator(): StepValidator;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Step.js","sourceRoot":"/","sources":["src/pages/steps/Step.ts"],"names":[],"mappings":";;AAMA,MAA8B,IAAI;IAI9B,YAAmB,IAAY;QAC3B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;IACjC,CAAC;IAES,cAAc;QACpB,OAAO,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC;IACzC,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,UAAU;QACb,OAAO,GAAG,QAAQ,GAAG,IAAI,CAAC,cAAc,EAAE,GAAG,CAAC;IAClD,CAAC;IAEM,kBAAkB;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sBAAsB;QACzB,OAAO,IAAI,CAAC,gBAAgB,CAAC;IACjC,CAAC;IAED;;;OAGG;IACI,eAAe,CAAC,OAAgB,EAAE,KAAa;QAClD,OAAO;IACX,CAAC;CAIJ;AAvCD,uBAuCC","sourcesContent":["import { ReactFragment } from 'react';\nimport type ColorProfile from '@/models/Client/Hotel/ColorProfile';\nimport type { Company } from '@/models/Client/Hotel/Company';\nimport type { Hotel } from '@/models/Client/Hotel/Hotel';\nimport StepValidator from '@/pages/steps/StepValidator';\n\nexport default abstract class Step {\n protected name: string;\n protected showOnNavigation: boolean;\n\n public constructor(name: string) {\n this.name = name;\n this.showOnNavigation = true;\n }\n\n protected getUrlFragment() {\n return this.name.toLocaleLowerCase();\n }\n\n public getName() {\n return this.name;\n }\n\n public getStepUrl() {\n return `${'/step/'}${this.getUrlFragment()}/`;\n }\n\n public getStepTranslation(): string {\n return null;\n }\n\n public shouldShowOnNavigation() {\n return this.showOnNavigation;\n }\n\n /**\n * Method gets called when Step is activated. Return a @type ColorProfile\n * to automatically set theme when step is loaded\n */\n public getColorProfile(company: Company, hotel?: Hotel): ColorProfile {\n return;\n }\n\n public abstract getComponent(): ReactFragment;\n public abstract getValidator(): StepValidator;\n}\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
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 StepAddonValidator from 'pages/steps/StepAddon/StepAddonValidator';
|
|
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 StepAddonValidator from '@/pages/steps/StepAddon/StepAddonValidator';
|
|
6
6
|
declare class StepAddon extends Step {
|
|
7
7
|
constructor();
|
|
8
8
|
getComponent(): () => JSX.Element;
|
|
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const Translation_1 = require("translations/Translation");
|
|
7
|
-
const Step_1 = __importDefault(require("pages/steps/Step"));
|
|
8
|
-
const StepAddonLoader_1 = __importDefault(require("pages/steps/StepAddon/StepAddonLoader"));
|
|
9
|
-
const StepAddonValidator_1 = __importDefault(require("pages/steps/StepAddon/StepAddonValidator"));
|
|
7
|
+
const Step_1 = __importDefault(require("@/pages/steps/Step"));
|
|
8
|
+
const StepAddonLoader_1 = __importDefault(require("@/pages/steps/StepAddon/StepAddonLoader"));
|
|
9
|
+
const StepAddonValidator_1 = __importDefault(require("@/pages/steps/StepAddon/StepAddonValidator"));
|
|
10
10
|
class StepAddon extends Step_1.default {
|
|
11
11
|
constructor() {
|
|
12
12
|
super('Addon');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepAddon.js","sourceRoot":"/","sources":["src/pages/steps/StepAddon/StepAddon.ts"],"names":[],"mappings":";;;;;AAGA,0DAAuD;AACvD,
|
|
1
|
+
{"version":3,"file":"StepAddon.js","sourceRoot":"/","sources":["src/pages/steps/StepAddon/StepAddon.ts"],"names":[],"mappings":";;;;;AAGA,0DAAuD;AACvD,8DAAsC;AACtC,8FAAsE;AACtE,oGAA4E;AAE5E,MAAM,SAAU,SAAQ,cAAI;IACxB;QACI,KAAK,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAEM,YAAY;QACf,OAAO,yBAAe,CAAC;IAC3B,CAAC;IAEM,YAAY;QACf,OAAO,IAAI,4BAAkB,EAAE,CAAC;IACpC,CAAC;IAEM,kBAAkB;QACrB,OAAO,yBAAW,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC;IAC9C,CAAC;IAEM,eAAe,CAAC,OAAgB,EAAE,KAAa;QAClD,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC,MAAM,CAAC;SACvB;IACL,CAAC;CACJ;AAED,kBAAe,IAAI,SAAS,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 StepAddonLoader from '@/pages/steps/StepAddon/StepAddonLoader';\nimport StepAddonValidator from '@/pages/steps/StepAddon/StepAddonValidator';\n\nclass StepAddon extends Step {\n public constructor() {\n super('Addon');\n }\n\n public getComponent() {\n return StepAddonLoader;\n }\n\n public getValidator() {\n return new StepAddonValidator();\n }\n\n public getStepTranslation() {\n return Translation.Navigation.Steps.Addon;\n }\n\n public getColorProfile(company: Company, hotel?: Hotel): ColorProfile {\n if (hotel) {\n return hotel.colors;\n }\n }\n}\n\nexport default new StepAddon();\n"]}
|
|
@@ -30,17 +30,17 @@ const React = __importStar(require("react"));
|
|
|
30
30
|
const react_1 = require("react");
|
|
31
31
|
const react_router_dom_1 = require("react-router-dom");
|
|
32
32
|
const react_i18next_1 = require("react-i18next");
|
|
33
|
-
const BackButton_1 = __importDefault(require("components/generic/BackButton"));
|
|
34
|
-
const Headline_1 = __importDefault(require("components/generic/Headline"));
|
|
35
|
-
const LineBreak_1 = __importDefault(require("components/generic/LineBreak"));
|
|
36
|
-
const AddonList_1 = __importDefault(require("components/steps/addons/AddonList"));
|
|
37
|
-
const BEMobileSummary_1 = __importDefault(require("components/summary/BEMobileSummary"));
|
|
38
|
-
const StepManager_1 = __importDefault(require("util/StepManager"));
|
|
33
|
+
const BackButton_1 = __importDefault(require("@/components/generic/BackButton"));
|
|
34
|
+
const Headline_1 = __importDefault(require("@/components/generic/Headline"));
|
|
35
|
+
const LineBreak_1 = __importDefault(require("@/components/generic/LineBreak"));
|
|
36
|
+
const AddonList_1 = __importDefault(require("@/components/steps/addons/AddonList"));
|
|
37
|
+
const BEMobileSummary_1 = __importDefault(require("@/components/summary/BEMobileSummary"));
|
|
38
|
+
const StepManager_1 = __importDefault(require("@/util/StepManager"));
|
|
39
39
|
const Translation_1 = require("translations/Translation");
|
|
40
|
-
const ScreenSize_1 = __importDefault(require("util/ScreenSize"));
|
|
41
|
-
const StepRoomHotelDetails_1 = __importDefault(require("components/steps/room/StepRoomHotelDetails"));
|
|
40
|
+
const ScreenSize_1 = __importDefault(require("@/util/ScreenSize"));
|
|
41
|
+
const StepRoomHotelDetails_1 = __importDefault(require("@/components/steps/room/StepRoomHotelDetails"));
|
|
42
42
|
const contexts_1 = require("@frontend/contexts");
|
|
43
|
-
const EventHook_1 = require("hooks/EventHook");
|
|
43
|
+
const EventHook_1 = require("@/hooks/EventHook");
|
|
44
44
|
const events_1 = require("@frontend/events");
|
|
45
45
|
function StepAddonComponent() {
|
|
46
46
|
const context = (0, react_1.useContext)(contexts_1.BookingEngineContext);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepAddonComponent.js","sourceRoot":"/","sources":["src/pages/steps/StepAddon/StepAddonComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,iCAA8C;AAC9C,uDAAwC;AACxC,iDAA+C;AAC/C
|
|
1
|
+
{"version":3,"file":"StepAddonComponent.js","sourceRoot":"/","sources":["src/pages/steps/StepAddon/StepAddonComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,iCAA8C;AAC9C,uDAAwC;AACxC,iDAA+C;AAC/C,iFAAyD;AACzD,6EAAqD;AACrD,+EAAuD;AACvD,oFAA4D;AAC5D,2FAAmE;AACnE,qEAA6C;AAC7C,0DAAuD;AACvD,mEAA2C;AAC3C,wGAAgF;AAChF,iDAAgG;AAChG,iDAA6C;AAC7C,6CAAsD;AAEtD,SAAwB,kBAAkB;IACtC,MAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,+BAAoB,CAAC,CAAC;IACjD,MAAM,EAAE,WAAW,EAAE,GAAG,IAAA,kBAAU,EAAC,gCAAqB,CAAC,CAAC;IAC1D,MAAM,EAAE,iBAAiB,EAAE,GAAG,IAAA,kBAAU,EAAC,wBAAa,CAAC,CAAC;IAExD,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,8BAAc,GAAE,CAAC;IAE/B,MAAM,EAAE,KAAK,EAAE,GAAG,IAAA,oBAAQ,GAAE,CAAC;IAE7B,IAAA,iBAAS,EAAC,GAAG,EAAE;QACX,MAAM,KAAK,GAAG,IAAI,2BAAkB,CAAC,iBAAiB,CAAC,CAAC;QACxD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACH,6BAAK,SAAS,EAAC,WAAW;QACtB,oBAAC,yBAAe,OAAG;QACnB,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,UAAU,IACpB,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,MAAM,IAAI,CACvC;gBACI,oBAAC,uBAAI,IAAC,EAAE,EAAE,qBAAW,CAAC,kBAAkB,CAAC,WAAW,CAAC;oBACjD,oBAAC,oBAAU,OAAG,CACX;gBACP,6BAAK,SAAS,EAAC,wCAAwC;oBACnD,oBAAC,kBAAQ,IAAC,IAAI,EAAE,IAAI,IAAG,CAAC,CAAC,yBAAW,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAY,CACtE,CACP,CACN,CACC;YACL,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,MAAM,IAAI,CACvC,6BAAK,SAAS,EAAC,8CAA8C;gBACzD,oBAAC,8BAAoB,OAAG,CACtB,CACT,CACC;QACL,OAAO,CAAC,UAAU,GAAG,oBAAU,CAAC,MAAM,IAAI,oBAAC,mBAAS,OAAG;QACxD,oBAAC,mBAAS,OAAG,CACX,CACT,CAAC;AACN,CAAC;AAxCD,qCAwCC","sourcesContent":["import * as React from 'react';\nimport { useContext, useEffect } from 'react';\nimport { Link } from 'react-router-dom';\nimport { useTranslation } from 'react-i18next';\nimport BackButton from '@/components/generic/BackButton';\nimport Headline from '@/components/generic/Headline';\nimport LineBreak from '@/components/generic/LineBreak';\nimport AddonList from '@/components/steps/addons/AddonList';\nimport BEMobileSummary from '@/components/summary/BEMobileSummary';\nimport StepManager from '@/util/StepManager';\nimport { Translation } from 'translations/Translation';\nimport ScreenSize from '@/util/ScreenSize';\nimport StepRoomHotelDetails from '@/components/steps/room/StepRoomHotelDetails';\nimport { BasketContext, BookingEngineContext, FullPageEngineContext } from '@frontend/contexts';\nimport { useEvent } from '@/hooks/EventHook';\nimport { StepAddonViewEvent } from '@frontend/events';\n\nexport default function StepAddonComponent() {\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 StepAddonViewEvent(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-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.Addon)}</Headline>\n </div>\n </>\n )}\n </div>\n {context.screenSize > ScreenSize.Medium && (\n <div className=\"col-xl-3 col-md-4 offset-xl-1 align-self-end\">\n <StepRoomHotelDetails />\n </div>\n )}\n </div>\n {context.screenSize > ScreenSize.Medium && <LineBreak />}\n <AddonList />\n </div>\n );\n}\n"]}
|
|
@@ -28,8 +28,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const React = __importStar(require("react"));
|
|
30
30
|
const react_1 = require("react");
|
|
31
|
-
const Placeholder_1 = __importDefault(require("components/generic/Placeholder"));
|
|
32
|
-
const StepAddonComponent = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('pages/steps/StepAddon/StepAddonComponent'))));
|
|
31
|
+
const Placeholder_1 = __importDefault(require("@/components/generic/Placeholder"));
|
|
32
|
+
const StepAddonComponent = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('@/pages/steps/StepAddon/StepAddonComponent'))));
|
|
33
33
|
const Loader = () => {
|
|
34
34
|
return (React.createElement("div", { className: "container" },
|
|
35
35
|
React.createElement("div", { className: "line-break" }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepAddonLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepAddon/StepAddonLoader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,iCAAuC;AACvC,
|
|
1
|
+
{"version":3,"file":"StepAddonLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepAddon/StepAddonLoader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,iCAAuC;AACvC,mFAA2D;AAE3D,MAAM,kBAAkB,GAAG,IAAA,YAAI,EAAC,GAAG,EAAE,mDAAQ,4CAA4C,GAAC,CAAC,CAAC;AAE5F,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,EA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OAAO;oBAClB;wBACI,oBAAC,qBAAW,IAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACnE;oBACN;wBACI,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACpD;oBACN,6BAAK,SAAS,EAAC,mBAAmB;wBAC9B,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,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 'pages/steps/StepValidator';
|
|
2
|
+
import StepValidator from '@/pages/steps/StepValidator';
|
|
3
3
|
export default class StepAddonValidator extends StepValidator {
|
|
4
4
|
isValid(context: BasketContextType): boolean;
|
|
5
5
|
}
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const StepValidator_1 = __importDefault(require("pages/steps/StepValidator"));
|
|
6
|
+
const StepValidator_1 = __importDefault(require("@/pages/steps/StepValidator"));
|
|
7
7
|
class StepAddonValidator extends StepValidator_1.default {
|
|
8
8
|
isValid(context) {
|
|
9
9
|
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,gFAAwD;AAExD,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 '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';
|
|
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;
|
|
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const Translation_1 = require("translations/Translation");
|
|
7
|
-
const Step_1 = __importDefault(require("pages/steps/Step"));
|
|
8
|
-
const StepConfirmationLoader_1 = __importDefault(require("pages/steps/StepConfirmation/StepConfirmationLoader"));
|
|
9
|
-
const StepConfirmationValidator_1 = __importDefault(require("pages/steps/StepConfirmation/StepConfirmationValidator"));
|
|
7
|
+
const Step_1 = __importDefault(require("@/pages/steps/Step"));
|
|
8
|
+
const StepConfirmationLoader_1 = __importDefault(require("@/pages/steps/StepConfirmation/StepConfirmationLoader"));
|
|
9
|
+
const StepConfirmationValidator_1 = __importDefault(require("@/pages/steps/StepConfirmation/StepConfirmationValidator"));
|
|
10
10
|
class StepConfirmation extends Step_1.default {
|
|
11
11
|
constructor() {
|
|
12
12
|
super('Confirmation');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConfirmation.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmation.ts"],"names":[],"mappings":";;;;;AAGA,0DAAuD;AACvD,
|
|
1
|
+
{"version":3,"file":"StepConfirmation.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmation.ts"],"names":[],"mappings":";;;;;AAGA,0DAAuD;AACvD,8DAAsC;AACtC,mHAA2F;AAC3F,yHAAiG;AACjG,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"]}
|
|
@@ -28,23 +28,23 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const React = __importStar(require("react"));
|
|
30
30
|
const react_1 = require("react");
|
|
31
|
-
const Headline_1 = __importDefault(require("components/generic/Headline"));
|
|
32
|
-
const StepManager_1 = __importDefault(require("util/StepManager"));
|
|
33
|
-
const BESummary_1 = require("components/summary/BESummary");
|
|
31
|
+
const Headline_1 = __importDefault(require("@/components/generic/Headline"));
|
|
32
|
+
const StepManager_1 = __importDefault(require("@/util/StepManager"));
|
|
33
|
+
const BESummary_1 = require("@/components/summary/BESummary");
|
|
34
34
|
const react_router_dom_1 = require("react-router-dom");
|
|
35
|
-
const LineBreak_1 = __importDefault(require("components/generic/LineBreak"));
|
|
36
|
-
const BackButton_1 = __importDefault(require("components/generic/BackButton"));
|
|
35
|
+
const LineBreak_1 = __importDefault(require("@/components/generic/LineBreak"));
|
|
36
|
+
const BackButton_1 = __importDefault(require("@/components/generic/BackButton"));
|
|
37
37
|
const Translation_1 = require("translations/Translation");
|
|
38
|
-
const BEMobileSummary_1 = __importDefault(require("components/summary/BEMobileSummary"));
|
|
39
|
-
const ScreenSize_1 = __importDefault(require("util/ScreenSize"));
|
|
40
|
-
const StepRoomHotelDetails_1 = __importDefault(require("components/steps/room/StepRoomHotelDetails"));
|
|
38
|
+
const BEMobileSummary_1 = __importDefault(require("@/components/summary/BEMobileSummary"));
|
|
39
|
+
const ScreenSize_1 = __importDefault(require("@/util/ScreenSize"));
|
|
40
|
+
const StepRoomHotelDetails_1 = __importDefault(require("@/components/steps/room/StepRoomHotelDetails"));
|
|
41
41
|
const react_i18next_1 = require("react-i18next");
|
|
42
|
-
const AdditionalOffers_1 = __importDefault(require("components/steps/confirmation/additionalOffers/AdditionalOffers"));
|
|
43
|
-
const StepConfirmationLimitedOffer_1 = __importDefault(require("components/steps/confirmation/StepConfirmationLimitedOffer"));
|
|
42
|
+
const AdditionalOffers_1 = __importDefault(require("@/components/steps/confirmation/additionalOffers/AdditionalOffers"));
|
|
43
|
+
const StepConfirmationLimitedOffer_1 = __importDefault(require("@/components/steps/confirmation/StepConfirmationLimitedOffer"));
|
|
44
44
|
const dayjs_1 = __importDefault(require("dayjs"));
|
|
45
|
-
const StepRoomBestRateAlert_1 = __importDefault(require("components/steps/room/StepRoomBestRateAlert"));
|
|
46
|
-
const InlineAddonStepFeature_1 = __importDefault(require("providers/feature/InlineAddonStepFeature"));
|
|
47
|
-
const EventHook_1 = require("hooks/EventHook");
|
|
45
|
+
const StepRoomBestRateAlert_1 = __importDefault(require("@/components/steps/room/StepRoomBestRateAlert"));
|
|
46
|
+
const InlineAddonStepFeature_1 = __importDefault(require("@/providers/feature/InlineAddonStepFeature"));
|
|
47
|
+
const EventHook_1 = require("@/hooks/EventHook");
|
|
48
48
|
const events_1 = require("@frontend/events");
|
|
49
49
|
const contexts_1 = require("@frontend/contexts");
|
|
50
50
|
const StepConfirmationFormProvider_1 = __importDefault(require("../../../components/steps/confirmation/StepConfirmationFormProvider"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConfirmationComponent.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,iCAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"StepConfirmationComponent.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,iCAA8C;AAC9C,6EAAqD;AACrD,qEAA6C;AAC7C,8DAA2D;AAC3D,uDAAwC;AACxC,+EAAuD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BAAQ,IAAC,IAAI,EAAE,IAAI,IAAG,CAAC,CAAC,yBAAW,CAAC,UAAU,CAAC,KAAK,CAAC,YAAY,CAAC,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,IAAA,eAAK,GAAE,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 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"]}
|
|
@@ -28,8 +28,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const React = __importStar(require("react"));
|
|
30
30
|
const react_1 = require("react");
|
|
31
|
-
const Placeholder_1 = __importDefault(require("components/generic/Placeholder"));
|
|
32
|
-
const StepConfirmationComponent = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('pages/steps/StepConfirmation/StepConfirmationComponent'))));
|
|
31
|
+
const Placeholder_1 = __importDefault(require("@/components/generic/Placeholder"));
|
|
32
|
+
const StepConfirmationComponent = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('@/pages/steps/StepConfirmation/StepConfirmationComponent'))));
|
|
33
33
|
function StepConfirmationPlaceholder() {
|
|
34
34
|
return (React.createElement("div", { className: "container" },
|
|
35
35
|
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,6CAA+B;AAC/B,iCAAuC;AAEvC,iFAAyD;AAEzD,MAAM,yBAAyB,GAAG,IAAA,YAAI,EAAC,GAAG,EAAE,mDAAQ,wDAAwD,GAAC,CAAC,CAAC;AAE/G,SAAS,2BAA2B;IAChC,OAAO,CACH,6BAAK,SAAS,EAAC,WAAW;QACtB,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BACrC,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI;oBACtD,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACpD;gBACN,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;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('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
|
+
{"version":3,"file":"StepConfirmationLoader.js","sourceRoot":"/","sources":["src/pages/steps/StepConfirmation/StepConfirmationLoader.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,iCAAuC;AAEvC,mFAA2D;AAE3D,MAAM,yBAAyB,GAAG,IAAA,YAAI,EAAC,GAAG,EAAE,mDAAQ,0DAA0D,GAAC,CAAC,CAAC;AAEjH,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,SAAS,EAAC,eAAe;oBAC1B,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI;oBACtD,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,KAAK,EAAE,IAAI,GAAI,CACpD;gBACN,6BAAK,SAAS,EAAC,KAAK;oBAChB,6BAAK,SAAS,EAAC,OAAO;wBAClB,oBAAC,qBAAW,IAAC,IAAI,EAAC,MAAM,EAAC,CAAC,EAAC,IAAI,EAAC,CAAC,EAAC,IA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I,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('@/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 'pages/steps/StepValidator';
|
|
2
|
+
import StepValidator from '@/pages/steps/StepValidator';
|
|
3
3
|
export default class StepConfirmationValidator extends StepValidator {
|
|
4
4
|
isValid(context: BasketContextType): boolean;
|
|
5
5
|
}
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const StepValidator_1 = __importDefault(require("pages/steps/StepValidator"));
|
|
6
|
+
const StepValidator_1 = __importDefault(require("@/pages/steps/StepValidator"));
|
|
7
7
|
class StepConfirmationValidator extends StepValidator_1.default {
|
|
8
8
|
isValid(context) {
|
|
9
9
|
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,gFAAwD;AAExD,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"]}
|