@roomstay/frontend 2.6.77-0 → 2.6.78
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/{451.bundle.js → 151.bundle.js} +1 -1
- package/dist/177.bundle.js +1 -0
- package/dist/279.bundle.js +1 -0
- package/dist/288.bundle.js +1 -0
- package/dist/370.bundle.js +1 -0
- package/dist/430.bundle.js +1 -0
- package/dist/439.bundle.js +1 -0
- package/dist/446.bundle.js +1 -0
- package/dist/449.bundle.js +1 -0
- package/dist/535.bundle.js +2 -0
- package/dist/{349.bundle.js.LICENSE.txt → 535.bundle.js.LICENSE.txt} +1 -1
- package/dist/537.bundle.js +1 -0
- package/dist/619.bundle.js +1 -0
- package/dist/625.bundle.js +1 -0
- package/dist/659.bundle.js +1 -0
- package/dist/686.bundle.js +1 -0
- package/dist/873.bundle.js +1 -0
- package/dist/972.bundle.js +1 -0
- package/dist/978.bundle.js +1 -0
- package/dist/984.bundle.js +1 -0
- package/dist/main.bundle.js +1 -1
- package/dist/src/animations/AutoAutoHeight.d.ts +1 -1
- package/dist/src/api/ReservationAPI.js +9 -12
- package/dist/src/api/ReservationAPI.js.map +1 -1
- package/dist/src/components/User/Forms/ForgotPasswordForm.d.ts +1 -2
- package/dist/src/components/User/Forms/SignUpForm.d.ts +1 -2
- package/dist/src/components/User/Forms/VerifyEmailForm.d.ts +1 -2
- package/dist/src/components/generic/AgedBetweenLabel/AgedBetweenLabel.d.ts +1 -2
- package/dist/src/components/generic/Alert.d.ts +2 -2
- package/dist/src/components/generic/BEButton.d.ts +1 -1
- package/dist/src/components/generic/BackButton.d.ts +1 -2
- package/dist/src/components/generic/BookingWizard/BookingWizard.d.ts +0 -1
- package/dist/src/components/generic/BookingWizard/BookingWizard.js +1 -7
- package/dist/src/components/generic/BookingWizard/BookingWizard.js.map +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardBottomSheet/BookingWizardBottomSheet.d.ts +2 -2
- package/dist/src/components/generic/BookingWizard/BookingWizardContent.d.ts +3 -3
- package/dist/src/components/generic/BookingWizard/BookingWizardHotelSelector/BookingWizardHotelSelector.d.ts +1 -1
- package/dist/src/components/generic/Card/IconNavCard/IconNavCard.d.ts +2 -2
- package/dist/src/components/generic/Countdown.d.ts +1 -2
- package/dist/src/components/generic/Currency.d.ts +1 -2
- package/dist/src/components/generic/DateRangePicker/DateRangePicker.d.ts +1 -2
- package/dist/src/components/generic/DateRangePicker/DateRangePickerDay.d.ts +1 -2
- package/dist/src/components/generic/DateRangePicker/DateRangePickerDays.d.ts +1 -2
- package/dist/src/components/generic/DateRangePicker/DateRangePickerMonth.d.ts +1 -2
- package/dist/src/components/generic/Distance.d.ts +1 -2
- package/dist/src/components/generic/Headline.d.ts +1 -1
- package/dist/src/components/generic/HtmlContentViewer.d.ts +1 -2
- package/dist/src/components/generic/InputGroup/InputGroup.d.ts +2 -2
- package/dist/src/components/generic/LineBreak.d.ts +1 -2
- package/dist/src/components/generic/Notification.d.ts +1 -1
- package/dist/src/components/generic/NumberIncrement.d.ts +1 -2
- package/dist/src/components/generic/Overlay/Overlay.d.ts +2 -2
- package/dist/src/components/generic/PageTitle/index.d.ts +1 -2
- package/dist/src/components/generic/PaymentCard/PaymentCard.d.ts +1 -2
- package/dist/src/components/generic/Pill.d.ts +1 -1
- package/dist/src/components/generic/Placeholder.d.ts +1 -2
- package/dist/src/components/generic/PromoCodeInput.d.ts +1 -2
- package/dist/src/components/generic/RecentSearchesCard.d.ts +1 -2
- package/dist/src/components/generic/RoomstayMark.d.ts +1 -2
- package/dist/src/components/generic/Select/Select.d.ts +1 -1
- package/dist/src/components/generic/Slider/Slider.d.ts +1 -1
- package/dist/src/components/generic/Tabs/TabRouteContainer.d.ts +2 -2
- package/dist/src/components/generic/Tooltip/Tooltip.d.ts +2 -2
- package/dist/src/components/generic/badging/SSLSecureBadge.d.ts +1 -2
- package/dist/src/components/generic/buttons/NextStepButton.d.ts +1 -2
- package/dist/src/components/generic/date/DatePicker.d.ts +1 -2
- package/dist/src/components/generic/date/DatePickerDay.d.ts +1 -2
- package/dist/src/components/generic/date/DatePickerDays.d.ts +1 -2
- package/dist/src/components/generic/date/DatePickerMonth.d.ts +1 -2
- package/dist/src/components/generic/date/DatePickerWeek.d.ts +1 -2
- package/dist/src/components/generic/date/FloatingDatePicker.d.ts +1 -1
- package/dist/src/components/generic/date/WeekViewSkeleton.d.ts +1 -2
- package/dist/src/components/generic/loader/ImageLoader.d.ts +1 -1
- package/dist/src/components/generic/loader/LargeLoader.d.ts +1 -2
- package/dist/src/components/generic/loader/OverlayLoader.d.ts +1 -2
- package/dist/src/components/generic/loader/SmallSpinner.d.ts +1 -2
- package/dist/src/components/generic/map/HotelLocationMap.d.ts +1 -2
- package/dist/src/components/generic/modal/ConfirmationModal.d.ts +1 -2
- package/dist/src/components/generic/modal/ErrorModal.d.ts +1 -1
- package/dist/src/components/generic/modal/SigninModal/UnauthenticatedUserModal.d.ts +1 -2
- package/dist/src/components/generic/modal/SimpleModal.d.ts +1 -1
- package/dist/src/components/generic/modal/TabbedModal.d.ts +1 -1
- package/dist/src/components/generic/radio/RadioFields.d.ts +1 -2
- package/dist/src/components/graphics/TravelerNotfound.d.ts +1 -2
- package/dist/src/components/iconComponents/BookNowPayLaterIcon.d.ts +1 -2
- package/dist/src/components/members/InlineSignUpSection.d.ts +1 -2
- package/dist/src/components/members/SignInModal/ExternalMemberModal.d.ts +1 -2
- package/dist/src/components/members/SignInModal/InternalMemberSignInModal.d.ts +1 -2
- package/dist/src/components/members/SignInModal/MemberPortalSignInModal.d.ts +1 -2
- package/dist/src/components/members/SignInModal/MemberSignInModal.d.ts +1 -2
- package/dist/src/components/navigation/Header.d.ts +1 -2
- package/dist/src/components/navigation/StepSelector.d.ts +1 -2
- package/dist/src/components/navigation/StepSelectorModal.d.ts +1 -2
- package/dist/src/components/pages/Account/Card/MemberCardItem.d.ts +1 -2
- package/dist/src/components/pages/PageColorComponent.d.ts +1 -2
- package/dist/src/components/reservation/ReservationItem.d.ts +1 -2
- package/dist/src/components/steps/DaysSelectedInformer.d.ts +1 -2
- package/dist/src/components/steps/MinimumNightStayPill.d.ts +1 -2
- package/dist/src/components/steps/addons/AddonCard.d.ts +1 -2
- package/dist/src/components/steps/addons/AddonList.d.ts +1 -2
- package/dist/src/components/steps/addons/AddonsNotFoundBlock.d.ts +1 -2
- package/dist/src/components/steps/common/CommonAddonSummary/CommonAddonSummary.d.ts +1 -2
- package/dist/src/components/steps/common/ItemisedFeesListing/ItemisedFeesListing.d.ts +1 -2
- package/dist/src/components/steps/common/ItemisedFeesSummary/ItemisedFeesSummary.d.ts +1 -2
- package/dist/src/components/steps/confirmation/AccountDetails.d.ts +1 -2
- package/dist/src/components/steps/confirmation/PaymentDetails/ExistingCardPicker.d.ts +1 -2
- package/dist/src/components/steps/confirmation/PaymentInformation.d.ts +1 -2
- package/dist/src/components/steps/confirmation/PlanpayLabel.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationAcknowledgement.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationAcknowledgement.js +10 -11
- package/dist/src/components/steps/confirmation/StepConfirmationAcknowledgement.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationCommentsComponent.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationForm.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationForm.js +4 -11
- package/dist/src/components/steps/confirmation/StepConfirmationForm.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationFormProvider.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationLimitedOffer.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationPoliciesSection.d.ts +1 -2
- package/dist/src/components/steps/confirmation/StepConfirmationPolicyBlock.d.ts +1 -2
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffers.d.ts +1 -2
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersColumn.d.ts +1 -2
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersModal.d.ts +1 -2
- package/dist/src/components/steps/date/OccupancyWarningBlock.d.ts +1 -2
- package/dist/src/components/steps/date/PeoplePicker.d.ts +1 -2
- package/dist/src/components/steps/date/PeoplePickerRow.d.ts +1 -2
- package/dist/src/components/steps/date/StepDatePricePerRoom.d.ts +1 -2
- package/dist/src/components/steps/date/StepOneDateRange.d.ts +1 -2
- package/dist/src/components/steps/date/StepOneDateRangePicker.d.ts +1 -2
- package/dist/src/components/steps/date/StepOneDateRangePickerLegend.d.ts +1 -2
- package/dist/src/components/steps/date/StepOneNextStepButton.d.ts +1 -2
- package/dist/src/components/steps/date/StepOneStatusPeople.d.ts +1 -2
- package/dist/src/components/steps/hotel/HotelCard.d.ts +1 -2
- package/dist/src/components/steps/hotel/HotelCardList.d.ts +1 -2
- package/dist/src/components/steps/hotel/HotelCardModal.d.ts +1 -2
- package/dist/src/components/steps/hotel/HotelInfoPerksRow.d.ts +1 -2
- package/dist/src/components/steps/hotel/HotelSearchParameters.d.ts +1 -2
- package/dist/src/components/steps/hotel/NoHotelsAvailable.d.ts +1 -2
- package/dist/src/components/steps/room/AvailableUpgradesModal.js +5 -0
- package/dist/src/components/steps/room/AvailableUpgradesModal.js.map +1 -1
- package/dist/src/components/steps/room/ImageGallerySlider.d.ts +1 -2
- package/dist/src/components/steps/room/InactivityWindow.d.ts +1 -2
- package/dist/src/components/steps/room/LargeRoomCard.d.ts +1 -2
- package/dist/src/components/steps/room/NoRoomsFoundBlock.d.ts +1 -2
- package/dist/src/components/steps/room/RatesNotFoundBlock.d.ts +1 -2
- package/dist/src/components/steps/room/RoomList.d.ts +1 -2
- package/dist/src/components/steps/room/RoomModal.d.ts +1 -2
- package/dist/src/components/steps/room/RoomModalPerkRow.d.ts +1 -2
- package/dist/src/components/steps/room/StepRoomAlertBlocks.d.ts +1 -2
- package/dist/src/components/steps/room/StepRoomBestRateAlert.d.ts +1 -2
- package/dist/src/components/steps/room/StepRoomErrorForm.d.ts +1 -2
- package/dist/src/components/steps/room/StepRoomHotelDetails.d.ts +1 -2
- package/dist/src/components/steps/room/StepRoomSortBy.d.ts +1 -2
- package/dist/src/components/steps/room/StepRoomSummaryAndButton.d.ts +1 -2
- package/dist/src/components/steps/room/TabGroupedRooms/TabGroupedRoomList.d.ts +1 -2
- package/dist/src/components/steps/room/TabGroupedRooms/TabGroupedRooms.d.ts +1 -2
- package/dist/src/components/steps/room/TripteaseLodgingSearchSchema.d.ts +1 -2
- package/dist/src/components/steps/room/UserSearchSummary/PromoCodeVerificationAlert.d.ts +1 -2
- package/dist/src/components/steps/room/UserSearchSummary/UserSearchSummary.d.ts +1 -2
- package/dist/src/components/steps/room/UserSearchSummary/UserSearchSummaryPromocodeInput.d.ts +1 -2
- package/dist/src/components/steps/room/UserSearchSummary/UserSearchSummaryRow.d.ts +1 -2
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfAdultsPicker.d.ts +1 -2
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfChildrenPicker.d.ts +1 -2
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfInfantsPicker.d.ts +1 -2
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgress.d.ts +1 -2
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgressRow.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/RoomDetails.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPerkBlock.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPriceBlock.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/BookNowButton.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/MembersOnlyRow.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.d.ts +2 -3
- package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.js +26 -15
- package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/ReadMoreRoomRateRow.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDescriptionTab.d.ts +2 -3
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDetailsAndPriceBreakdownModal.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateRow.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRates.d.ts +1 -2
- package/dist/src/components/steps/room/roomDetails/unavailableRoom/UnavailableRoom.d.ts +1 -2
- package/dist/src/components/steps/room/roomFilter/AppliedFiltersBlock.d.ts +1 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterOverlay.d.ts +1 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterPriceSlider.d.ts +1 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterRateType.d.ts +1 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterRoomType.d.ts +1 -2
- package/dist/src/components/summary/BEMobileSummary.d.ts +1 -2
- package/dist/src/components/summary/BEMobileSummaryModal.d.ts +1 -2
- package/dist/src/components/summary/BESummary.d.ts +1 -2
- package/dist/src/components/summary/BESummaryAddonRow.d.ts +1 -2
- package/dist/src/components/summary/BESummaryPerkBlock.d.ts +1 -2
- package/dist/src/components/summary/BESummaryPrivacyPolicy.d.ts +1 -2
- package/dist/src/components/summary/BESummaryRoomRow.d.ts +1 -2
- package/dist/src/components/summary/BESummaryRoomRow.js +1 -1
- package/dist/src/components/summary/BESummaryRoomRow.js.map +1 -1
- package/dist/src/components/summary/TransportDistanceFromHotelBlock.d.ts +1 -2
- package/dist/src/contexts/BasketContext/BasketContextWrapper.d.ts +1 -1
- package/dist/src/contexts/BasketContext/BasketContextWrapper.js +11 -63
- package/dist/src/contexts/BasketContext/BasketContextWrapper.js.map +1 -1
- package/dist/src/contexts/BookingEngineContext/BookingEngineContextWrapper.d.ts +1 -1
- package/dist/src/contexts/CompanyContext/CompanyContextWrapper.d.ts +2 -2
- package/dist/src/contexts/CompanyContext/CompanyContextWrapper.js +0 -1
- package/dist/src/contexts/CompanyContext/CompanyContextWrapper.js.map +1 -1
- package/dist/src/contexts/ConfirmationFormContext.d.ts +1 -1
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.js +2 -3
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.js.map +1 -1
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepErrorModal.d.ts +1 -2
- package/dist/src/contexts/ErrorContext.d.ts +1 -1
- package/dist/src/contexts/FullPageEngineContext/EngineBodyLayout.d.ts +1 -2
- package/dist/src/contexts/FullPageEngineContext/EnginePageLayout.d.ts +1 -2
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.d.ts +1 -2
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.js +2 -10
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.js.map +1 -1
- package/dist/src/contexts/HotelOverridesContext.d.ts +1 -1
- package/dist/src/contexts/ModalContext.d.ts +1 -1
- package/dist/src/contexts/NotificationContext.d.ts +1 -1
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngine.d.ts +0 -1
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngine.js.map +1 -1
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngineElement.d.ts +1 -2
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngineElement.js +0 -1
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngineElement.js.map +1 -1
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElement.d.ts +1 -2
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.d.ts +2 -2
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.js +0 -3
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.js.map +1 -1
- package/dist/src/engines/MemberPortalWidget/MemberPortalWidgetElement.d.ts +1 -2
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.d.ts +1 -2
- package/dist/src/hooks/RoomRateAvailabilityListFromApi.js +0 -1
- package/dist/src/hooks/RoomRateAvailabilityListFromApi.js.map +1 -1
- package/dist/src/hooks/useNextStepAction.d.ts +1 -2
- package/dist/src/icons/Check.d.ts +1 -2
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.js +2 -4
- package/dist/src/index.js.map +1 -1
- package/dist/src/models/Api/HotelDTO.d.ts +0 -1
- package/dist/src/models/Api/HotelDTO.js.map +1 -1
- package/dist/src/models/BasketRow.d.ts +1 -2
- package/dist/src/models/BasketRow.js +2 -32
- package/dist/src/models/BasketRow.js.map +1 -1
- package/dist/src/models/Client/Hotel/Hotel.d.ts +0 -1
- package/dist/src/models/Client/Hotel/Hotel.js.map +1 -1
- package/dist/src/models/Room/RoomRate.d.ts +3 -0
- package/dist/src/models/Room/RoomRate.js +6 -1
- package/dist/src/models/Room/RoomRate.js.map +1 -1
- package/dist/src/models/RoomstaySession.d.ts +0 -1
- package/dist/src/models/RoomstaySession.js.map +1 -1
- package/dist/src/pages/account/AccountHome/AccountHomePage.d.ts +1 -2
- package/dist/src/pages/account/AccountOutlet.d.ts +1 -1
- package/dist/src/pages/account/AccountRouter.d.ts +1 -2
- package/dist/src/pages/account/ChangePassword/AccountChangePasswordPage.d.ts +1 -2
- package/dist/src/pages/account/Details/AccountDetailsCardsPage.d.ts +1 -2
- package/dist/src/pages/account/Details/AccountDetailsProfilePage.d.ts +1 -2
- package/dist/src/pages/account/Help/AccountHelpPage.d.ts +1 -2
- package/dist/src/pages/account/Reservations/AccountReservationSinglePage.d.ts +1 -2
- package/dist/src/pages/account/Reservations/AccountReservationsPage.d.ts +1 -2
- package/dist/src/pages/findReservation/FindReservation.d.ts +1 -2
- package/dist/src/pages/findReservation/FindReservationResults.d.ts +1 -2
- package/dist/src/pages/findReservation/ReservationRow.d.ts +1 -2
- package/dist/src/pages/findReservation/ReservationRowModal.d.ts +1 -2
- package/dist/src/pages/hotel/HotelInfo.d.ts +1 -2
- package/dist/src/pages/hotel/HotelInfoPlaceholder.d.ts +1 -2
- package/dist/src/pages/steps/StepAddon/StepAddon.d.ts +1 -2
- package/dist/src/pages/steps/StepAddon/StepAddonComponent.d.ts +1 -2
- package/dist/src/pages/steps/StepAddon/StepAddonLoader.d.ts +1 -2
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationComponent.d.ts +1 -2
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationLoader.d.ts +1 -2
- package/dist/src/pages/steps/StepDate/StepDate.d.ts +1 -2
- package/dist/src/pages/steps/StepDate/StepDateComponent.d.ts +1 -2
- package/dist/src/pages/steps/StepGroupedRoom/StepGroupedRoomComponent.d.ts +1 -2
- package/dist/src/pages/steps/StepGroupedRoom/StepGroupedRoomLoader.d.ts +1 -2
- package/dist/src/pages/steps/StepGuide.d.ts +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotel.d.ts +1 -2
- package/dist/src/pages/steps/StepHotel/StepHotelComponent.d.ts +1 -2
- package/dist/src/pages/steps/StepHotel/StepHotelLoader.d.ts +1 -2
- package/dist/src/pages/steps/StepRoom/StepRoomComponent.d.ts +1 -2
- package/dist/src/pages/steps/StepRoom/StepRoomLoader.d.ts +1 -2
- package/dist/src/pages/steps/StepThanks/StepThanksComponent.d.ts +1 -2
- package/dist/src/providers/DIProvider.d.ts +1 -2
- package/dist/src/providers/FeatureProvider.js +0 -2
- package/dist/src/providers/FeatureProvider.js.map +1 -1
- package/dist/src/providers/feature/Feature.d.ts +0 -2
- package/dist/src/providers/feature/Feature.js +0 -4
- package/dist/src/providers/feature/Feature.js.map +1 -1
- package/dist/src/providers/storage/SessionProvider.js +0 -2
- package/dist/src/providers/storage/SessionProvider.js.map +1 -1
- package/dist/src/routes/NaturallyProgressedStepRoute.d.ts +1 -2
- package/dist/src/stories/BookingWizard.stories.d.ts +1 -1
- package/dist/src/stories/ConfirmationModal.stories.d.ts +1 -2
- package/dist/src/stories/DateRangePicker.stories.d.ts +4 -5
- package/dist/src/stories/ErrorModal.stories.d.ts +1 -2
- package/dist/src/stories/EventCarousel.stories.d.ts +2 -2
- package/dist/src/stories/FloatingDateRangePicker.stories.d.ts +2 -2
- package/dist/src/stories/IconNavCard.stories.d.ts +2 -2
- package/dist/src/stories/NumberIncrement.stories.d.ts +1 -2
- package/dist/src/stories/PaymentCard.stories.d.ts +2 -3
- package/dist/src/stories/RadioButtonGroup.stories.d.ts +3 -3
- package/dist/src/stories/Select.stories.d.ts +3 -3
- package/dist/src/stories/SimpleModal.stories.d.ts +1 -2
- package/dist/src/stories/Slider.stories.d.ts +2 -3
- package/dist/src/stories/TabbedModal.stories.d.ts +1 -2
- package/dist/src/stories/Tabs.stories.d.ts +1 -1
- package/dist/src/translations/Translation.d.ts +1 -4
- package/dist/src/translations/Translation.js +1 -4
- package/dist/src/translations/Translation.js.map +1 -1
- package/dist/src/translations/languages/en-gb.js +1 -4
- package/dist/src/translations/languages/en-gb.js.map +1 -1
- package/dist/src/util/TotalCalculator.js.map +1 -1
- package/dist/test.bundle.js +1 -1
- package/dist/tests/offline/entry/config/hotelSpecDefault.d.ts +1 -2
- package/dist/vendors.bundle.js +1 -1
- package/dist/vendors.bundle.js.LICENSE.txt +6 -6
- package/package.json +1 -1
- package/dist/153.bundle.js +0 -1
- package/dist/176.bundle.js +0 -1
- package/dist/273.bundle.js +0 -1
- package/dist/292.bundle.js +0 -1
- package/dist/316.bundle.js +0 -1
- package/dist/349.bundle.js +0 -2
- package/dist/352.bundle.js +0 -1
- package/dist/41.bundle.js +0 -1
- package/dist/479.bundle.js +0 -1
- package/dist/534.bundle.js +0 -1
- package/dist/557.bundle.js +0 -1
- package/dist/620.bundle.js +0 -1
- package/dist/696.bundle.js +0 -1
- package/dist/734.bundle.js +0 -1
- package/dist/83.bundle.js +0 -1
- package/dist/910.bundle.js +0 -1
- package/dist/922.bundle.js +0 -1
- package/dist/99.bundle.js +0 -1
- package/dist/src/components/steps/confirmation/StepConfirmationImportantInformation.d.ts +0 -7
- package/dist/src/components/steps/confirmation/StepConfirmationImportantInformation.js +0 -54
- package/dist/src/components/steps/confirmation/StepConfirmationImportantInformation.js.map +0 -1
- package/dist/src/providers/feature/ConfirmationImportantInformationFeature.d.ts +0 -10
- package/dist/src/providers/feature/ConfirmationImportantInformationFeature.js +0 -13
- package/dist/src/providers/feature/ConfirmationImportantInformationFeature.js.map +0 -1
|
@@ -32,7 +32,7 @@ export type SelectProps<TOption extends Option<KeyName>, KeyName extends string>
|
|
|
32
32
|
disableNative?: boolean;
|
|
33
33
|
renderNoOptions?: (targetRef: React.RefObject<HTMLSpanElement>) => ReactElement | null;
|
|
34
34
|
};
|
|
35
|
-
export declare const InnerSelect: <TOption extends Option<KeyName>, KeyName extends string>({ target, open, onClose, options, value, onChange, keyName, labelName, className, offset, renderOption, nativeOnMobile, overlay, renderLabel, hideExpandIcon, inputLabelColor, disableNative, renderNoOptions, }: SelectProps<TOption, KeyName>, ref: Ref<HTMLDivElement | null>) =>
|
|
35
|
+
export declare const InnerSelect: <TOption extends Option<KeyName>, KeyName extends string>({ target, open, onClose, options, value, onChange, keyName, labelName, className, offset, renderOption, nativeOnMobile, overlay, renderLabel, hideExpandIcon, inputLabelColor, disableNative, renderNoOptions, }: SelectProps<TOption, KeyName>, ref: Ref<HTMLDivElement | null>) => JSX.Element;
|
|
36
36
|
export declare const Select: <TOption extends Option<KeyName>, KeyName extends string>(p: SelectProps<TOption, KeyName> & {
|
|
37
37
|
ref?: React.Ref<HTMLDivElement> | undefined;
|
|
38
38
|
}) => JSX.Element;
|
|
@@ -18,5 +18,5 @@ type SliderProps = {
|
|
|
18
18
|
* Specifically a ranged slider, specifically for the Filter section of the Step Room display.
|
|
19
19
|
* @param props
|
|
20
20
|
*/
|
|
21
|
-
export declare const Slider: (props: SliderProps) =>
|
|
21
|
+
export declare const Slider: (props: SliderProps) => JSX.Element;
|
|
22
22
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
interface TabRouteContainerProps {
|
|
3
3
|
children: ReactNode[];
|
|
4
4
|
}
|
|
5
|
-
export declare function TabRouteContainer({ children }: TabRouteContainerProps):
|
|
5
|
+
export declare function TabRouteContainer({ children }: TabRouteContainerProps): JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactChild } from 'react';
|
|
2
2
|
export interface BETooltipProps {
|
|
3
3
|
wrapperClasses?: string;
|
|
4
4
|
followElement?: HTMLElement | null;
|
|
@@ -11,4 +11,4 @@ export interface BETooltipProps {
|
|
|
11
11
|
usePortal?: boolean;
|
|
12
12
|
open?: boolean;
|
|
13
13
|
}
|
|
14
|
-
export default function Tooltip(props: BETooltipProps):
|
|
14
|
+
export default function Tooltip(props: BETooltipProps): JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function SSLSecureBadge(): React.JSX.Element;
|
|
1
|
+
export default function SSLSecureBadge(): JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export interface NextStepButtonProps {
|
|
3
2
|
text: string;
|
|
4
3
|
disabled?: boolean;
|
|
@@ -7,4 +6,4 @@ export interface NextStepButtonProps {
|
|
|
7
6
|
wideByDefault?: boolean;
|
|
8
7
|
hideIcon?: boolean;
|
|
9
8
|
}
|
|
10
|
-
export default function NextStepButton(props: NextStepButtonProps):
|
|
9
|
+
export default function NextStepButton(props: NextStepButtonProps): JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import dayjs from 'dayjs';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
export interface DatePickerProps {
|
|
4
3
|
showMonthOnLoad?: dayjs.Dayjs;
|
|
5
4
|
selectedStartDate?: dayjs.Dayjs;
|
|
@@ -25,4 +24,4 @@ export interface DatePickerProps {
|
|
|
25
24
|
*/
|
|
26
25
|
roomCode?: string;
|
|
27
26
|
}
|
|
28
|
-
export default function DatePicker(props: DatePickerProps):
|
|
27
|
+
export default function DatePicker(props: DatePickerProps): JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import dayjs from 'dayjs';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
interface DatePickerDayProps {
|
|
4
3
|
text: any;
|
|
5
4
|
day?: dayjs.Dayjs | any;
|
|
@@ -18,5 +17,5 @@ export declare enum DatePickerDayStatus {
|
|
|
18
17
|
Loading = "--loading",
|
|
19
18
|
Selected = "--selected"
|
|
20
19
|
}
|
|
21
|
-
export default function DatePickerDay(props: DatePickerDayProps):
|
|
20
|
+
export default function DatePickerDay(props: DatePickerDayProps): JSX.Element;
|
|
22
21
|
export {};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import dayjs from 'dayjs';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
interface DatePickerDaysProps {
|
|
4
3
|
showingMonth: dayjs.Dayjs;
|
|
5
4
|
readOnly?: boolean;
|
|
6
5
|
}
|
|
7
|
-
export default function DatePickerDays(props: DatePickerDaysProps):
|
|
6
|
+
export default function DatePickerDays(props: DatePickerDaysProps): JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import dayjs from 'dayjs';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
interface DatePickerMonthProps {
|
|
4
3
|
showingMonth: dayjs.Dayjs;
|
|
5
4
|
small?: boolean;
|
|
6
5
|
readOnly?: boolean;
|
|
7
6
|
}
|
|
8
|
-
export default function DatePickerMonth(props: DatePickerMonthProps):
|
|
7
|
+
export default function DatePickerMonth(props: DatePickerMonthProps): JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function DatePickerWeek(): React.JSX.Element;
|
|
1
|
+
export default function DatePickerWeek(): JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function LargeLoader(): React.JSX.Element;
|
|
1
|
+
export default function LargeLoader(): JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
type OverlayLoaderProps = {
|
|
3
2
|
label?: string;
|
|
4
3
|
isFullscreen?: boolean;
|
|
5
4
|
};
|
|
6
|
-
export declare const OverlayLoader: (props: OverlayLoaderProps) =>
|
|
5
|
+
export declare const OverlayLoader: (props: OverlayLoaderProps) => JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function HotelLocationMap(): React.JSX.Element;
|
|
1
|
+
export default function HotelLocationMap(): JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export interface ConfirmationModalProps {
|
|
3
2
|
open: boolean;
|
|
4
3
|
onClose?: () => void;
|
|
5
4
|
onConfirm: () => void;
|
|
6
5
|
message: string;
|
|
7
6
|
}
|
|
8
|
-
export default function ConfirmationModal(props: ConfirmationModalProps):
|
|
7
|
+
export default function ConfirmationModal(props: ConfirmationModalProps): JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Placement } from '@popperjs/core';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
export interface UnauthenticatedUserModalProps {
|
|
4
3
|
open: boolean;
|
|
5
4
|
anchorEl?: HTMLElement | null;
|
|
@@ -16,4 +15,4 @@ export declare enum EViewingScreen {
|
|
|
16
15
|
SignUp = "SignUp",
|
|
17
16
|
ForgotPassword = "ForgotPassword"
|
|
18
17
|
}
|
|
19
|
-
export declare const UnauthenticatedUserModal: (props: UnauthenticatedUserModalProps) =>
|
|
18
|
+
export declare const UnauthenticatedUserModal: (props: UnauthenticatedUserModalProps) => JSX.Element;
|
|
@@ -19,4 +19,4 @@ export type SimpleModalProps = PropsWithChildren<{
|
|
|
19
19
|
className?: string;
|
|
20
20
|
bodyClassName?: string;
|
|
21
21
|
}>;
|
|
22
|
-
export default function SimpleModal(props: SimpleModalProps):
|
|
22
|
+
export default function SimpleModal(props: SimpleModalProps): JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
interface RadioFieldOption {
|
|
3
2
|
label: string;
|
|
4
3
|
value: string;
|
|
@@ -10,5 +9,5 @@ interface RadioFieldsProps {
|
|
|
10
9
|
options: RadioFieldOption[];
|
|
11
10
|
onChange: (selectedOption: RadioFieldOption) => void;
|
|
12
11
|
}
|
|
13
|
-
export default function RadioFields(props: RadioFieldsProps):
|
|
12
|
+
export default function RadioFields(props: RadioFieldsProps): JSX.Element;
|
|
14
13
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function TravelerNotfound(): React.JSX.Element;
|
|
1
|
+
export default function TravelerNotfound(): JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
interface Props {
|
|
3
2
|
width?: number;
|
|
4
3
|
height?: number;
|
|
5
4
|
}
|
|
6
|
-
declare const BookNowPayLaterIcon: (props: Props) =>
|
|
5
|
+
declare const BookNowPayLaterIcon: (props: Props) => JSX.Element;
|
|
7
6
|
export default BookNowPayLaterIcon;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { ReservationDTO } from '../../models/Api/ReservationsDTO';
|
|
3
2
|
interface InlineSignUpSectionProps {
|
|
4
3
|
reservation: ReservationDTO;
|
|
5
4
|
hotelId: string;
|
|
6
5
|
}
|
|
7
|
-
export declare const InlineSignUpSection: (props: InlineSignUpSectionProps) =>
|
|
6
|
+
export declare const InlineSignUpSection: (props: InlineSignUpSectionProps) => JSX.Element | null;
|
|
8
7
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { IMemberVerification } from '@roomstay/core';
|
|
2
2
|
import { Property } from 'csstype';
|
|
3
|
-
import React from 'react';
|
|
4
3
|
import { FieldValues } from 'react-hook-form';
|
|
5
4
|
import { IconType } from '../../generic/Icon/Icon';
|
|
6
5
|
import UserProfile from '../../../models/UserProfile';
|
|
@@ -22,5 +21,5 @@ type ExternalMemberModelField<T extends FieldValues> = {
|
|
|
22
21
|
required?: boolean;
|
|
23
22
|
helperText?: string;
|
|
24
23
|
};
|
|
25
|
-
declare const ExternalMemberModal: <T extends FieldValues & IMemberVerification>(props: ExternalMemberModalProps<T>) =>
|
|
24
|
+
declare const ExternalMemberModal: <T extends FieldValues & IMemberVerification>(props: ExternalMemberModalProps<T>) => JSX.Element;
|
|
26
25
|
export default ExternalMemberModal;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
interface MemberSignInModalProps {
|
|
3
2
|
onClose?: () => void;
|
|
4
3
|
isOpen?: boolean;
|
|
5
4
|
image?: string;
|
|
6
5
|
}
|
|
7
|
-
export default function InternalMemberSignInModal(props: MemberSignInModalProps):
|
|
6
|
+
export default function InternalMemberSignInModal(props: MemberSignInModalProps): JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
interface MemberPortalSignInModalProps {
|
|
3
2
|
onClose?: () => void;
|
|
4
3
|
isOpen?: boolean;
|
|
5
4
|
image?: string;
|
|
6
5
|
imageSize?: string;
|
|
7
6
|
}
|
|
8
|
-
export default function MemberPortalSignInModal(props: MemberPortalSignInModalProps):
|
|
7
|
+
export default function MemberPortalSignInModal(props: MemberPortalSignInModalProps): JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const MemberSignInModal: () => React.JSX.Element | null;
|
|
1
|
+
export declare const MemberSignInModal: () => JSX.Element | null;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function Header(): React.JSX.Element;
|
|
1
|
+
export default function Header(): JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function StepSelector(): React.JSX.Element;
|
|
1
|
+
export default function StepSelector(): JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export interface StepSelectorModalProps {
|
|
3
2
|
isOpen?: boolean;
|
|
4
3
|
onClose?: () => void;
|
|
5
4
|
}
|
|
6
|
-
export default function StepSelectorModal(props: StepSelectorModalProps):
|
|
5
|
+
export default function StepSelectorModal(props: StepSelectorModalProps): JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { IRoomstayMemberCards } from '@roomstay/core';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
type MemberCardItemProps = {
|
|
4
3
|
item?: IRoomstayMemberCards;
|
|
5
4
|
onClick?: () => void;
|
|
6
5
|
selected?: boolean;
|
|
7
6
|
};
|
|
8
|
-
export declare const MemberCardItem: (props: MemberCardItemProps) =>
|
|
7
|
+
export declare const MemberCardItem: (props: MemberCardItemProps) => JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const PageColorComponent: () => React.JSX.Element;
|
|
1
|
+
export declare const PageColorComponent: () => JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IRoomstayMemberBookingItemWithRefAndHotelDetails } from '../../contexts/index.js';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
export declare enum ReservationAction {
|
|
4
3
|
MoreDetails = "MoreDetails",
|
|
5
4
|
BookAgain = "BookAgain",
|
|
@@ -14,5 +13,5 @@ export type ReservationItemProps = {
|
|
|
14
13
|
onActionClick?: (action: ReservationAction, item: IRoomstayMemberBookingItemWithRefAndHotelDetails) => void;
|
|
15
14
|
defaultEventsExpanded?: boolean;
|
|
16
15
|
};
|
|
17
|
-
declare const ReservationItem: (props: ReservationItemProps) =>
|
|
16
|
+
declare const ReservationItem: (props: ReservationItemProps) => JSX.Element;
|
|
18
17
|
export default ReservationItem;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function DaysSelectedInformer(): React.JSX.Element;
|
|
1
|
+
export default function DaysSelectedInformer(): JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function MinimumNightStayPill(): React.JSX.Element | null;
|
|
1
|
+
export default function MinimumNightStayPill(): JSX.Element | null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Addon } from '../../../models/Addon/Addon';
|
|
3
2
|
interface Props {
|
|
4
3
|
addon: Addon;
|
|
5
4
|
className?: string;
|
|
6
5
|
}
|
|
7
|
-
declare const AddonCard: ({ addon, className }: Props) =>
|
|
6
|
+
declare const AddonCard: ({ addon, className }: Props) => JSX.Element;
|
|
8
7
|
export default AddonCard;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { ReservationAddonDTO } from '../../../../models/Api/ReservationsDTO';
|
|
3
2
|
type CommonAddonSummaryProps = {
|
|
4
3
|
addons: ReservationAddonDTO[];
|
|
5
4
|
};
|
|
6
|
-
export declare const CommonAddonSummary: (props: CommonAddonSummaryProps) =>
|
|
5
|
+
export declare const CommonAddonSummary: (props: CommonAddonSummaryProps) => JSX.Element | null;
|
|
7
6
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { ItemisedFee } from '../../../../models/Fee';
|
|
3
2
|
type ItemisedFeesListingProps = {
|
|
4
3
|
fees: ItemisedFee[];
|
|
5
4
|
};
|
|
6
|
-
export declare const ItemisedFeesListing: ({ fees }: ItemisedFeesListingProps) =>
|
|
5
|
+
export declare const ItemisedFeesListing: ({ fees }: ItemisedFeesListingProps) => JSX.Element | null;
|
|
7
6
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { SimpleItemisedFee } from '../../../../models/Fee';
|
|
3
2
|
type ItemisedFeeSummaryProps = {
|
|
4
3
|
fees: SimpleItemisedFee[];
|
|
5
4
|
};
|
|
6
|
-
export declare const ItemisedFeesSummary: (props: ItemisedFeeSummaryProps) =>
|
|
5
|
+
export declare const ItemisedFeesSummary: (props: ItemisedFeeSummaryProps) => JSX.Element | null;
|
|
7
6
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function AccountDetails(): React.JSX.Element;
|
|
1
|
+
export default function AccountDetails(): JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IRoomstayMemberCards } from '@roomstay/core';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
type ExistingCardPicker = {
|
|
4
3
|
onCardSelected: (card: IRoomstayMemberCards) => void;
|
|
5
4
|
};
|
|
6
|
-
export declare const ExistingCardPicker: (props: ExistingCardPicker) =>
|
|
5
|
+
export declare const ExistingCardPicker: (props: ExistingCardPicker) => JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function StepConfirmationAcknowledgement(): React.JSX.Element;
|
|
1
|
+
export default function StepConfirmationAcknowledgement(): JSX.Element;
|
|
@@ -42,19 +42,18 @@ function StepConfirmationAcknowledgement() {
|
|
|
42
42
|
const { t } = (0, react_i18next_1.useTranslation)();
|
|
43
43
|
const { hotel } = (0, hooks_1.useCurrentHotel)();
|
|
44
44
|
const { register, formState } = (0, react_hook_form_1.useFormContext)();
|
|
45
|
-
return (react_1.default.createElement(
|
|
46
|
-
react_1.default.createElement("div", { className: "u-marg-bottom
|
|
45
|
+
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
46
|
+
react_1.default.createElement("div", { className: "u-marg-bottom" },
|
|
47
47
|
react_1.default.createElement(Headline_1.default, { bold: true }, t(Translation_1.Translation.Step.Confirmation.Acknowledgement))),
|
|
48
|
-
react_1.default.createElement("div",
|
|
49
|
-
react_1.default.createElement(
|
|
50
|
-
|
|
51
|
-
react_1.default.createElement(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
react_1.default.createElement("a", { style: { color: Color_1.Color.Accent }, className: "--underlined", href: hotel === null || hotel === void 0 ? void 0 : hotel.privacyPolicyUrl, target: "_blank", rel: "noreferrer" }, t(Translation_1.Translation.Step.Confirmation.PrivacyPolicy))) })))),
|
|
48
|
+
react_1.default.createElement("div", null,
|
|
49
|
+
react_1.default.createElement(Checkbox_1.default, Object.assign({ label: t(Translation_1.Translation.Step.Confirmation.EmailSpecialOffers) }, register('marketingOptIn', {})))),
|
|
50
|
+
react_1.default.createElement("div", { className: "u-marg-top--light" },
|
|
51
|
+
react_1.default.createElement(Checkbox_1.default, Object.assign({}, register('privacyPolicy', { required: true }), { label: react_1.default.createElement("div", null,
|
|
52
|
+
t(Translation_1.Translation.Step.Confirmation.IHaveUnderstoodPrivacyPolicy),
|
|
53
|
+
' ',
|
|
54
|
+
react_1.default.createElement("a", { style: { color: Color_1.Color.Accent }, className: "--underlined", href: hotel === null || hotel === void 0 ? void 0 : hotel.privacyPolicyUrl, target: "_blank", rel: "noreferrer" }, t(Translation_1.Translation.Step.Confirmation.PrivacyPolicy))) }))),
|
|
56
55
|
react_1.default.createElement(AutoAutoHeight_1.default, { open: !!formState.errors['privacyPolicy'] },
|
|
57
|
-
react_1.default.createElement("div", { className: "u-flex u-marg-top
|
|
56
|
+
react_1.default.createElement("div", { className: "u-flex u-marg-top" },
|
|
58
57
|
react_1.default.createElement(Alert_1.default, { type: Alert_1.AlertType.Danger, icon: Icon_1.IconType.Error },
|
|
59
58
|
react_1.default.createElement(Text_1.default, { type: Text_1.TextType.Small }, t(Translation_1.Translation.Step.Confirmation.PrivacyPolicyError)))))));
|
|
60
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepConfirmationAcknowledgement.js","sourceRoot":"/","sources":["src/components/steps/confirmation/StepConfirmationAcknowledgement.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAkD;AAClD,kDAA0B;AAC1B,qDAAiD;AACjD,iDAA+C;AAE/C,iFAAyD;AACzD,oEAA8D;AAC9D,sFAA8D;AAC9D,6EAAqD;AACrD,yDAA0D;AAC1D,kEAA2D;AAE3D,4DAAyD;AACzD,wCAAqC;AAErC,SAAwB,+BAA+B;IACnD,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,8BAAc,GAAE,CAAC;IAE/B,MAAM,EAAE,KAAK,EAAE,GAAG,IAAA,uBAAe,GAAE,CAAC;IACpC,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAA,gCAAc,GAA0B,CAAC;IAEzE,OAAO,CACH
|
|
1
|
+
{"version":3,"file":"StepConfirmationAcknowledgement.js","sourceRoot":"/","sources":["src/components/steps/confirmation/StepConfirmationAcknowledgement.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAkD;AAClD,kDAA0B;AAC1B,qDAAiD;AACjD,iDAA+C;AAE/C,iFAAyD;AACzD,oEAA8D;AAC9D,sFAA8D;AAC9D,6EAAqD;AACrD,yDAA0D;AAC1D,kEAA2D;AAE3D,4DAAyD;AACzD,wCAAqC;AAErC,SAAwB,+BAA+B;IACnD,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,8BAAc,GAAE,CAAC;IAE/B,MAAM,EAAE,KAAK,EAAE,GAAG,IAAA,uBAAe,GAAE,CAAC;IACpC,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAA,gCAAc,GAA0B,CAAC;IAEzE,OAAO,CACH;QACI,uCAAK,SAAS,EAAC,eAAe;YAC1B,8BAAC,kBAAQ,IAAC,IAAI,UAAE,CAAC,CAAC,yBAAW,CAAC,IAAI,CAAC,YAAY,CAAC,eAAe,CAAC,CAAY,CAC1E;QACN;YACI,8BAAC,kBAAQ,kBAAC,KAAK,EAAE,CAAC,CAAC,yBAAW,CAAC,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,IAAM,QAAQ,CAAC,gBAAgB,EAAE,EAAE,CAAC,EAAI,CAC1G;QACN,uCAAK,SAAS,EAAC,mBAAmB;YAC9B,8BAAC,kBAAQ,oBACD,QAAQ,CAAC,eAAe,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,IACjD,KAAK,EACD;oBACK,CAAC,CAAC,yBAAW,CAAC,IAAI,CAAC,YAAY,CAAC,4BAA4B,CAAC;oBAAE,GAAG;oBACnE,qCAAG,KAAK,EAAE,EAAE,KAAK,EAAE,aAAK,CAAC,MAAM,EAAE,EAAE,SAAS,EAAC,cAAc,EAAC,IAAI,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,gBAAgB,EAAE,MAAM,EAAC,QAAQ,EAAC,GAAG,EAAC,YAAY,IACtH,CAAC,CAAC,yBAAW,CAAC,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC,CAC/C,CACF,IAEZ,CACA;QACN,8BAAC,wBAAc,IAAC,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,eAAe,CAAC;YACrD,uCAAK,SAAS,EAAC,mBAAmB;gBAC9B,8BAAC,eAAK,IAAC,IAAI,EAAE,iBAAS,CAAC,MAAM,EAAE,IAAI,EAAE,eAAQ,CAAC,KAAK;oBAC/C,8BAAC,cAAI,IAAC,IAAI,EAAE,eAAQ,CAAC,KAAK,IAAG,CAAC,CAAC,yBAAW,CAAC,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,CAAQ,CACpF,CACN,CACO,CAClB,CACN,CAAC;AACN,CAAC;AApCD,kDAoCC","sourcesContent":["import { useCurrentHotel } from '@frontend/hooks';\nimport React from 'react';\nimport { useFormContext } from 'react-hook-form';\nimport { useTranslation } from 'react-i18next';\n\nimport AutoAutoHeight from '@/animations/AutoAutoHeight';\nimport Alert, { AlertType } from '@/components/generic/Alert';\nimport Checkbox from '@/components/generic/Checkbox/Checkbox';\nimport Headline from '@/components/generic/Headline';\nimport { IconType } from '@/components/generic/Icon/Icon';\nimport Text, { TextType } from '@/components/generic/Text';\nimport { ConfirmationFormValues } from '@/models/Confirmation';\nimport { Translation } from '@/translations/Translation';\nimport { Color } from '@/util/Color';\n\nexport default function StepConfirmationAcknowledgement() {\n const { t } = useTranslation();\n\n const { hotel } = useCurrentHotel();\n const { register, formState } = useFormContext<ConfirmationFormValues>();\n\n return (\n <>\n <div className=\"u-marg-bottom\">\n <Headline bold>{t(Translation.Step.Confirmation.Acknowledgement)}</Headline>\n </div>\n <div>\n <Checkbox label={t(Translation.Step.Confirmation.EmailSpecialOffers)} {...register('marketingOptIn', {})} />\n </div>\n <div className=\"u-marg-top--light\">\n <Checkbox\n {...register('privacyPolicy', { required: true })}\n label={\n <div>\n {t(Translation.Step.Confirmation.IHaveUnderstoodPrivacyPolicy)}{' '}\n <a style={{ color: Color.Accent }} className=\"--underlined\" href={hotel?.privacyPolicyUrl} target=\"_blank\" rel=\"noreferrer\">\n {t(Translation.Step.Confirmation.PrivacyPolicy)}\n </a>\n </div>\n }\n />\n </div>\n <AutoAutoHeight open={!!formState.errors['privacyPolicy']}>\n <div className=\"u-flex u-marg-top\">\n <Alert type={AlertType.Danger} icon={IconType.Error}>\n <Text type={TextType.Small}>{t(Translation.Step.Confirmation.PrivacyPolicyError)}</Text>\n </Alert>\n </div>\n </AutoAutoHeight>\n </>\n );\n}\n"]}
|
package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import BasketRowDifferences from '../../../models/BasketRowDifferences';
|
|
3
2
|
interface StepConfirmationCheckoutDifferencesModalProps {
|
|
4
3
|
differences: BasketRowDifferences[];
|
|
@@ -7,5 +6,5 @@ interface StepConfirmationCheckoutDifferencesModalProps {
|
|
|
7
6
|
onProceed: () => void;
|
|
8
7
|
isLoading?: boolean;
|
|
9
8
|
}
|
|
10
|
-
export default function StepConfirmationCheckoutDifferencesModal(props: StepConfirmationCheckoutDifferencesModalProps):
|
|
9
|
+
export default function StepConfirmationCheckoutDifferencesModal(props: StepConfirmationCheckoutDifferencesModalProps): JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { TextAreaProps } from '../../generic/TextArea';
|
|
3
2
|
export type StepConfirmationCommentsComponentProps = Omit<TextAreaProps, 'placeholder'>;
|
|
4
3
|
export declare const BE_CONFIRMATION_COMMENTS_BLOCK = "BEConfirmationCommentsBlock";
|
|
5
|
-
export declare function StepConfirmationCommentsComponent(props: StepConfirmationCommentsComponentProps):
|
|
4
|
+
export declare function StepConfirmationCommentsComponent(props: StepConfirmationCommentsComponentProps): JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function StepConfirmationForm(): React.JSX.Element;
|
|
1
|
+
export default function StepConfirmationForm(): JSX.Element;
|
|
@@ -37,7 +37,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
const ConfirmationStepContext_1 = require("contexts/ConfirmationStepContext/ConfirmationStepContext");
|
|
39
39
|
const HistoryConsistentPush_1 = require("hooks/HistoryConsistentPush");
|
|
40
|
-
const react_1 =
|
|
40
|
+
const react_1 = __importDefault(require("react"));
|
|
41
41
|
const react_hook_form_1 = require("react-hook-form");
|
|
42
42
|
const react_i18next_1 = require("react-i18next");
|
|
43
43
|
const Translation_1 = require("translations/Translation");
|
|
@@ -56,19 +56,15 @@ const PaymentInformation_1 = __importDefault(require("./PaymentInformation"));
|
|
|
56
56
|
const RoomContactDetails_1 = __importDefault(require("./RoomContactDetails"));
|
|
57
57
|
const StepConfirmationAcknowledgement_1 = __importDefault(require("./StepConfirmationAcknowledgement"));
|
|
58
58
|
const StepConfirmationCommentsComponent_1 = require("./StepConfirmationCommentsComponent");
|
|
59
|
-
const StepConfirmationImportantInformation_1 = __importDefault(require("./StepConfirmationImportantInformation"));
|
|
60
59
|
const StepConfirmationPoliciesSection_1 = __importDefault(require("./StepConfirmationPoliciesSection"));
|
|
61
60
|
const StepConfirmationPolicyBlock_1 = __importDefault(require("./StepConfirmationPolicyBlock"));
|
|
62
|
-
const ConfirmationImportantInformationFeature_1 = __importDefault(require("../../../providers/feature/ConfirmationImportantInformationFeature"));
|
|
63
61
|
const ConfirmationVerifyFeature_1 = __importDefault(require("../../../providers/feature/ConfirmationVerifyFeature"));
|
|
64
62
|
const ShowIATANumberOnCheckoutFeature_1 = __importDefault(require("../../../providers/feature/ShowIATANumberOnCheckoutFeature"));
|
|
65
63
|
const Color_1 = require("../../../util/Color");
|
|
66
64
|
const GetStepRoom_1 = __importDefault(require("../../../util/GetStepRoom"));
|
|
67
65
|
const usePaymentHelper_1 = require("../../../util/usePaymentHelper");
|
|
68
66
|
function StepConfirmationForm() {
|
|
69
|
-
var _a
|
|
70
|
-
const [confirmationImportantInformationError, setConfirmationImportantInformationError] = (0, react_1.useState)(false);
|
|
71
|
-
const confirmationImportantInformation = (0, react_1.useRef)(null);
|
|
67
|
+
var _a;
|
|
72
68
|
const { t } = (0, react_i18next_1.useTranslation)();
|
|
73
69
|
const methods = (0, react_hook_form_1.useFormContext)();
|
|
74
70
|
const { isInPaymentMode, isBackFromPlanpay, bookingSource } = (0, ConfirmationStepContext_1.useConfirmationStep)();
|
|
@@ -116,9 +112,6 @@ function StepConfirmationForm() {
|
|
|
116
112
|
react_1.default.createElement(Text_1.default, { type: Text_1.TextType.Small, color: Color_1.Color.Success },
|
|
117
113
|
react_1.default.createElement("strong", null, t(Translation_1.Translation.Step.Confirmation.Secured))))),
|
|
118
114
|
react_1.default.createElement(SSLSecureBadge_1.default, null))),
|
|
119
|
-
ConfirmationImportantInformationFeature_1.default.isActive() && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
120
|
-
react_1.default.createElement(LineBreak_1.default, null),
|
|
121
|
-
react_1.default.createElement(StepConfirmationImportantInformation_1.default, { ref: confirmationImportantInformation, confirmationError: confirmationImportantInformationError, withCheckbox: !!((_a = ConfirmationImportantInformationFeature_1.default.getOptions()) === null || _a === void 0 ? void 0 : _a.withCheckbox) }))),
|
|
122
115
|
react_1.default.createElement(LineBreak_1.default, null))),
|
|
123
116
|
react_1.default.createElement(StepConfirmationPoliciesSection_1.default, null),
|
|
124
117
|
react_1.default.createElement("div", { className: "u-pad-top--light u-marg-bottom" },
|
|
@@ -130,8 +123,8 @@ function StepConfirmationForm() {
|
|
|
130
123
|
return (react_1.default.createElement("form", null, isBackFromPlanpay ? (react_1.default.createElement(LargeLoader_1.default, null)) : (react_1.default.createElement(react_1.default.Fragment, null,
|
|
131
124
|
react_1.default.createElement(AutoAutoHeight_1.default, { open: !exclusivePayment || !isInPaymentMode }, prePaymentInfo),
|
|
132
125
|
exclusivePayment && (react_1.default.createElement(AutoAutoHeight_1.default, { open: isInPaymentMode },
|
|
133
|
-
react_1.default.createElement(ScrollToTop_1.default, null), (
|
|
134
|
-
|
|
126
|
+
react_1.default.createElement(ScrollToTop_1.default, null), (_a = exclusivePayment.renderPaymentInput) === null || _a === void 0 ? void 0 :
|
|
127
|
+
_a.call(exclusivePayment)))))));
|
|
135
128
|
}
|
|
136
129
|
exports.default = StepConfirmationForm;
|
|
137
130
|
//# sourceMappingURL=StepConfirmationForm.js.map
|