@roomstay/frontend 2.1.33 → 2.2.0
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/213.bundle.js +1 -0
- package/dist/279.bundle.js +1 -1
- package/dist/370.bundle.js +1 -1
- package/dist/423.bundle.js +1 -1
- package/dist/449.bundle.js +1 -1
- package/dist/535.bundle.js +1 -1
- package/dist/548.bundle.js +1 -0
- package/dist/686.bundle.js +1 -0
- package/dist/855.bundle.js +1 -1
- package/dist/873.bundle.js +1 -1
- package/dist/882.bundle.js +1 -1
- package/dist/93.bundle.js +1 -0
- package/dist/972.bundle.js +1 -1
- package/dist/main.bundle.js +1 -2
- package/dist/src/api/HotelAPI.d.ts +1 -1
- package/dist/src/api/HotelAPI.js.map +1 -1
- package/dist/src/api/ReservationAPI.d.ts +0 -6
- package/dist/src/api/ReservationAPI.js.map +1 -1
- package/dist/src/api/events-service/EventsServiceAPI.d.ts +3 -0
- package/dist/src/api/events-service/EventsServiceAPI.js +62 -0
- package/dist/src/api/events-service/EventsServiceAPI.js.map +1 -0
- package/dist/src/components/Event/EventCarouselContainer.d.ts +8 -0
- package/dist/src/components/Event/EventCarouselContainer.js +97 -0
- package/dist/src/components/Event/EventCarouselContainer.js.map +1 -0
- package/dist/src/components/User/Forms/ForgotPasswordForm.d.ts +1 -0
- package/dist/src/components/User/Forms/ForgotPasswordForm.js +38 -24
- package/dist/src/components/User/Forms/ForgotPasswordForm.js.map +1 -1
- package/dist/src/components/User/Forms/SignInForm.d.ts +4 -3
- package/dist/src/components/User/Forms/SignInForm.js +32 -14
- package/dist/src/components/User/Forms/SignInForm.js.map +1 -1
- package/dist/src/components/User/Forms/SignUpForm.d.ts +1 -0
- package/dist/src/components/User/Forms/SignUpForm.js +30 -26
- package/dist/src/components/User/Forms/SignUpForm.js.map +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizard.js +5 -2
- package/dist/src/components/generic/BookingWizard/BookingWizard.js.map +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardContent.js +6 -3
- package/dist/src/components/generic/BookingWizard/BookingWizardContent.js.map +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardDateSelector/BookingWizardDateSelector.js +8 -5
- package/dist/src/components/generic/BookingWizard/BookingWizardDateSelector/BookingWizardDateSelector.js.map +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardGuestSelector/BookingWizardGuestSelector.js +15 -9
- package/dist/src/components/generic/BookingWizard/BookingWizardGuestSelector/BookingWizardGuestSelector.js.map +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardHotelSelector/BookingWizardHotelSelector.js +4 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardHotelSelector/BookingWizardHotelSelector.js.map +1 -1
- package/dist/src/components/generic/Currency.js +5 -5
- package/dist/src/components/generic/Currency.js.map +1 -1
- package/dist/src/components/generic/Event/EventCard.d.ts +8 -0
- package/dist/src/components/generic/Event/EventCard.js +70 -0
- package/dist/src/components/generic/Event/EventCard.js.map +1 -0
- package/dist/src/components/generic/Event/EventCarousel.d.ts +9 -0
- package/dist/src/components/generic/Event/EventCarousel.js +72 -0
- package/dist/src/components/generic/Event/EventCarousel.js.map +1 -0
- package/dist/src/components/generic/Headline.d.ts +2 -2
- package/dist/src/components/generic/Headline.js +8 -4
- package/dist/src/components/generic/Headline.js.map +1 -1
- package/dist/src/components/generic/Icon/Icon.d.ts +5 -1
- package/dist/src/components/generic/Icon/Icon.js +4 -0
- package/dist/src/components/generic/Icon/Icon.js.map +1 -1
- package/dist/src/components/generic/Overlay/Overlay.d.ts +2 -1
- package/dist/src/components/generic/Overlay/Overlay.js +50 -7
- package/dist/src/components/generic/Overlay/Overlay.js.map +1 -1
- package/dist/src/components/generic/PasswordBox/PasswordBox.js +2 -2
- package/dist/src/components/generic/PasswordBox/PasswordBox.js.map +1 -1
- package/dist/src/components/generic/PaymentCard/InlinePaymentCard.d.ts +8 -0
- package/dist/src/components/generic/PaymentCard/InlinePaymentCard.js +16 -0
- package/dist/src/components/generic/PaymentCard/InlinePaymentCard.js.map +1 -0
- package/dist/src/components/generic/PaymentCard/InlinePaymentOption.d.ts +8 -0
- package/dist/src/components/generic/PaymentCard/InlinePaymentOption.js +61 -0
- package/dist/src/components/generic/PaymentCard/InlinePaymentOption.js.map +1 -0
- package/dist/src/components/generic/PaymentCard/PaymentCard.js +6 -3
- package/dist/src/components/generic/PaymentCard/PaymentCard.js.map +1 -1
- package/dist/src/components/generic/PaymentCard/PaymentCardInput.d.ts +2 -3
- package/dist/src/components/generic/PaymentCard/PaymentCardInput.js +34 -28
- package/dist/src/components/generic/PaymentCard/PaymentCardInput.js.map +1 -1
- package/dist/src/components/generic/PromoCodeInput.js +15 -18
- package/dist/src/components/generic/PromoCodeInput.js.map +1 -1
- package/dist/src/components/generic/RadioButtonGroup/RadioButton.d.ts +5 -4
- package/dist/src/components/generic/RadioButtonGroup/RadioButton.js +33 -10
- package/dist/src/components/generic/RadioButtonGroup/RadioButton.js.map +1 -1
- package/dist/src/components/generic/RadioButtonGroup/RadioButtonGroup.d.ts +14 -11
- package/dist/src/components/generic/RadioButtonGroup/RadioButtonGroup.js +69 -11
- package/dist/src/components/generic/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/dist/src/components/generic/RatioImage/RatioImage.d.ts +11 -0
- package/dist/src/components/generic/RatioImage/RatioImage.js +12 -0
- package/dist/src/components/generic/RatioImage/RatioImage.js.map +1 -0
- package/dist/src/components/generic/RecentSearchesCard.js +6 -5
- package/dist/src/components/generic/RecentSearchesCard.js.map +1 -1
- package/dist/src/components/generic/Tabs/TabLink.js +28 -3
- package/dist/src/components/generic/Tabs/TabLink.js.map +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/badging/SSLSecureBadge.js +4 -1
- package/dist/src/components/generic/badging/SSLSecureBadge.js.map +1 -1
- package/dist/src/components/generic/buttons/NextStepButton.d.ts +0 -3
- package/dist/src/components/generic/buttons/NextStepButton.js +4 -1
- package/dist/src/components/generic/buttons/NextStepButton.js.map +1 -1
- package/dist/src/components/generic/loader/LargeLoader.js +31 -6
- package/dist/src/components/generic/loader/LargeLoader.js.map +1 -1
- package/dist/src/components/generic/modal/ConfirmationModal.js +6 -3
- package/dist/src/components/generic/modal/ConfirmationModal.js.map +1 -1
- package/dist/src/components/generic/modal/SigninModal/AuthenticatedUserModal.d.ts +14 -2
- package/dist/src/components/generic/modal/SigninModal/AuthenticatedUserModal.js +34 -26
- package/dist/src/components/generic/modal/SigninModal/AuthenticatedUserModal.js.map +1 -1
- package/dist/src/components/generic/modal/SigninModal/FormContent/ForgotPasswordFormContent.d.ts +7 -0
- package/dist/src/components/generic/modal/SigninModal/FormContent/ForgotPasswordFormContent.js +14 -0
- package/dist/src/components/generic/modal/SigninModal/FormContent/ForgotPasswordFormContent.js.map +1 -0
- package/dist/src/components/generic/modal/SigninModal/FormContent/SignInFormContent.d.ts +8 -0
- package/dist/src/components/generic/modal/SigninModal/FormContent/SignInFormContent.js +25 -0
- package/dist/src/components/generic/modal/SigninModal/FormContent/SignInFormContent.js.map +1 -0
- package/dist/src/components/generic/modal/SigninModal/FormContent/SignUpFormContent.d.ts +7 -0
- package/dist/src/components/generic/modal/SigninModal/FormContent/SignUpFormContent.js +49 -0
- package/dist/src/components/generic/modal/SigninModal/FormContent/SignUpFormContent.js.map +1 -0
- package/dist/src/components/generic/modal/SigninModal/UnauthenticatedUserModal.d.ts +5 -2
- package/dist/src/components/generic/modal/SigninModal/UnauthenticatedUserModal.js +30 -39
- package/dist/src/components/generic/modal/SigninModal/UnauthenticatedUserModal.js.map +1 -1
- package/dist/src/components/generic/print/NoPrint.d.ts +3 -0
- package/dist/src/components/generic/print/NoPrint.js +11 -0
- package/dist/src/components/generic/print/NoPrint.js.map +1 -0
- package/dist/src/components/generic/print/PrintOnly.d.ts +3 -0
- package/dist/src/components/generic/print/PrintOnly.js +11 -0
- package/dist/src/components/generic/print/PrintOnly.js.map +1 -0
- package/dist/src/components/graphics/AddCard.d.ts +7 -0
- package/dist/src/components/graphics/AddCard.js +28 -0
- package/dist/src/components/graphics/AddCard.js.map +1 -0
- package/dist/src/components/graphics/HomeEmptyCard.d.ts +7 -0
- package/dist/src/components/graphics/HomeEmptyCard.js +53 -0
- package/dist/src/components/graphics/HomeEmptyCard.js.map +1 -0
- package/dist/src/components/graphics/HomeEmptyReservation.d.ts +7 -0
- package/dist/src/components/graphics/HomeEmptyReservation.js +136 -0
- package/dist/src/components/graphics/HomeEmptyReservation.js.map +1 -0
- package/dist/src/components/iconComponents/CreditCardOff.d.ts +6 -0
- package/dist/src/components/iconComponents/CreditCardOff.js +16 -0
- package/dist/src/components/iconComponents/CreditCardOff.js.map +1 -0
- package/dist/src/components/members/EditMyProfile.js +19 -21
- package/dist/src/components/members/EditMyProfile.js.map +1 -1
- package/dist/src/components/navigation/Header.js +29 -9
- package/dist/src/components/navigation/Header.js.map +1 -1
- package/dist/src/components/navigation/StepSelector.js +2 -1
- package/dist/src/components/navigation/StepSelector.js.map +1 -1
- package/dist/src/components/pages/Account/Card/MemberCardItem.js +5 -2
- package/dist/src/components/pages/Account/Card/MemberCardItem.js.map +1 -1
- package/dist/src/components/reservation/EmptyReservation.js +3 -3
- package/dist/src/components/reservation/EmptyReservation.js.map +1 -1
- package/dist/src/components/reservation/ReservationItem.d.ts +4 -3
- package/dist/src/components/reservation/ReservationItem.js +45 -33
- package/dist/src/components/reservation/ReservationItem.js.map +1 -1
- package/dist/src/components/reservation/ReservationList.d.ts +2 -2
- 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 +15 -10
- package/dist/src/components/steps/DaysSelectedInformer.js.map +1 -1
- package/dist/src/components/steps/addons/AddonCard.js +10 -12
- package/dist/src/components/steps/addons/AddonCard.js.map +1 -1
- package/dist/src/components/steps/confirmation/PaymentDetails/AcceptablePaymentCard.js.map +1 -1
- package/dist/src/components/steps/confirmation/PaymentDetails/ExistingCardPicker.js +26 -7
- package/dist/src/components/steps/confirmation/PaymentDetails/ExistingCardPicker.js.map +1 -1
- package/dist/src/components/steps/confirmation/PaymentDetails/StepConfirmationPaymentDetails.d.ts +1 -2
- package/dist/src/components/steps/confirmation/PaymentDetails/StepConfirmationPaymentDetails.js +36 -44
- package/dist/src/components/steps/confirmation/PaymentDetails/StepConfirmationPaymentDetails.js.map +1 -1
- package/dist/src/components/steps/confirmation/PaymentInformation.d.ts +7 -0
- package/dist/src/components/steps/confirmation/PaymentInformation.js +119 -0
- package/dist/src/components/steps/confirmation/PaymentInformation.js.map +1 -0
- package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.js +12 -10
- package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationForm.js +43 -80
- package/dist/src/components/steps/confirmation/StepConfirmationForm.js.map +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationLimitedOffer.js +7 -5
- package/dist/src/components/steps/confirmation/StepConfirmationLimitedOffer.js.map +1 -1
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffers.js +10 -12
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffers.js.map +1 -1
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersColumn.js +8 -2
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersColumn.js.map +1 -1
- package/dist/src/components/steps/date/PeoplePicker.js +9 -9
- package/dist/src/components/steps/date/PeoplePicker.js.map +1 -1
- package/dist/src/components/steps/date/PeoplePickerRow.js.map +1 -1
- package/dist/src/components/steps/date/StepOneNextStepButton.d.ts +1 -1
- package/dist/src/components/steps/date/StepOneNextStepButton.js +2 -4
- package/dist/src/components/steps/date/StepOneNextStepButton.js.map +1 -1
- package/dist/src/components/steps/hotel/HotelCard.js +5 -11
- package/dist/src/components/steps/hotel/HotelCard.js.map +1 -1
- package/dist/src/components/steps/hotel/HotelCardModal.js +5 -6
- package/dist/src/components/steps/hotel/HotelCardModal.js.map +1 -1
- package/dist/src/components/steps/hotel/HotelSearchParameters.js +8 -8
- package/dist/src/components/steps/hotel/HotelSearchParameters.js.map +1 -1
- package/dist/src/components/steps/room/AvailableUpgradesModal.js +8 -9
- package/dist/src/components/steps/room/AvailableUpgradesModal.js.map +1 -1
- package/dist/src/components/steps/room/InactivityWindow.js +3 -5
- package/dist/src/components/steps/room/InactivityWindow.js.map +1 -1
- package/dist/src/components/steps/room/LargeRoomCard.js +5 -4
- package/dist/src/components/steps/room/LargeRoomCard.js.map +1 -1
- package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.js +42 -40
- package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.js.map +1 -1
- package/dist/src/components/steps/room/NoRoomsFoundBlock.js +7 -9
- package/dist/src/components/steps/room/NoRoomsFoundBlock.js.map +1 -1
- package/dist/src/components/steps/room/RatesNotFound.js +6 -3
- package/dist/src/components/steps/room/RatesNotFound.js.map +1 -1
- package/dist/src/components/steps/room/RoomListCrossSellBlock.js +3 -3
- package/dist/src/components/steps/room/RoomListCrossSellBlock.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomNextStepButton.d.ts +2 -1
- package/dist/src/components/steps/room/StepRoomNextStepButton.js +3 -3
- package/dist/src/components/steps/room/StepRoomNextStepButton.js.map +1 -1
- package/dist/src/components/steps/room/StepRoomSummaryAndButton.js +2 -6
- package/dist/src/components/steps/room/StepRoomSummaryAndButton.js.map +1 -1
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgressRow.js +16 -18
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgressRow.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetails.js +2 -2
- package/dist/src/components/steps/room/roomDetails/RoomDetails.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.js +6 -3
- package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPriceBlock.js +3 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPriceBlock.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsRetargeting.js +7 -8
- package/dist/src/components/steps/room/roomDetails/RoomDetailsRetargeting.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.js +4 -6
- package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDescriptionTab.js +4 -5
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDescriptionTab.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDetailsAndPriceBreakdownModal.js +7 -5
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDetailsAndPriceBreakdownModal.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.js +4 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.js +5 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.js.map +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateRow.js +11 -10
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateRow.js.map +1 -1
- package/dist/src/components/steps/room/roomFilter/AppliedFiltersBlock.js +1 -1
- package/dist/src/components/steps/room/roomFilter/AppliedFiltersBlock.js.map +1 -1
- package/dist/src/components/steps/room/roomFilter/RoomFilterOverlay.js +7 -8
- package/dist/src/components/steps/room/roomFilter/RoomFilterOverlay.js.map +1 -1
- package/dist/src/components/summary/BEMobileSummaryModal.js +1 -1
- package/dist/src/components/summary/BEMobileSummaryModal.js.map +1 -1
- package/dist/src/components/summary/BESummaryPerkBlock.js +4 -1
- package/dist/src/components/summary/BESummaryPerkBlock.js.map +1 -1
- package/dist/src/components/summary/BESummaryPrivacyPolicy.js +5 -10
- package/dist/src/components/summary/BESummaryPrivacyPolicy.js.map +1 -1
- package/dist/src/components/summary/BESummaryRoomRow.js +4 -6
- package/dist/src/components/summary/BESummaryRoomRow.js.map +1 -1
- package/dist/src/components/summary/TransportDistanceFromHotelBlock.js +5 -1
- package/dist/src/components/summary/TransportDistanceFromHotelBlock.js.map +1 -1
- package/dist/src/contexts/BasketContext/BasketContextType.d.ts +1 -0
- package/dist/src/contexts/BasketContext/BasketContextType.js.map +1 -1
- package/dist/src/contexts/BasketContext/BasketContextWrapper.js +36 -13
- package/dist/src/contexts/BasketContext/BasketContextWrapper.js.map +1 -1
- package/dist/src/contexts/CompanyContext/CompanyContextWrapper.js +26 -2
- package/dist/src/contexts/CompanyContext/CompanyContextWrapper.js.map +1 -1
- package/dist/src/contexts/ConfirmationFormContext.d.ts +0 -2
- package/dist/src/contexts/ConfirmationFormContext.js +0 -3
- package/dist/src/contexts/ConfirmationFormContext.js.map +1 -1
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.js +13 -8
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.js.map +1 -1
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.d.ts +1 -6
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.js +24 -18
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.js.map +1 -1
- package/dist/src/contexts/HotelOverridesContext.js +4 -0
- package/dist/src/contexts/HotelOverridesContext.js.map +1 -1
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContext.d.ts +10 -6
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContext.js.map +1 -1
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContextProvider.js +76 -26
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContextProvider.js.map +1 -1
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContext.d.ts +8 -5
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContext.js.map +1 -1
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContextProvider.js +35 -4
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContextProvider.js.map +1 -1
- package/dist/src/engines/BaseEngine.d.ts +2 -1
- package/dist/src/engines/BaseEngine.js +1 -1
- package/dist/src/engines/BaseEngine.js.map +1 -1
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngine.js.map +1 -1
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.js +24 -25
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.js.map +1 -1
- package/dist/src/engines/MemberPortalWidget/MemberPortalWidget.d.ts +22 -0
- package/dist/src/engines/MemberPortalWidget/MemberPortalWidget.js +33 -0
- package/dist/src/engines/MemberPortalWidget/MemberPortalWidget.js.map +1 -0
- package/dist/src/engines/MemberPortalWidget/MemberPortalWidgetElement.d.ts +6 -0
- package/dist/src/engines/MemberPortalWidget/MemberPortalWidgetElement.js +116 -0
- package/dist/src/engines/MemberPortalWidget/MemberPortalWidgetElement.js.map +1 -0
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.js +11 -10
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.js.map +1 -1
- package/dist/src/errors/GetAvailabilityError.d.ts +2 -1
- package/dist/src/errors/GetAvailabilityError.js +10 -3
- package/dist/src/errors/GetAvailabilityError.js.map +1 -1
- package/dist/src/hooks/HistoryConsistentPush.d.ts +1 -0
- package/dist/src/hooks/HistoryConsistentPush.js +12 -0
- package/dist/src/hooks/HistoryConsistentPush.js.map +1 -0
- package/dist/src/hooks/LoggedInUserHook.d.ts +3 -3
- package/dist/src/hooks/Query.js +2 -6
- package/dist/src/hooks/Query.js.map +1 -1
- package/dist/src/hooks/UpdateQueryParameters.d.ts +1 -0
- package/dist/src/hooks/UpdateQueryParameters.js +16 -0
- package/dist/src/hooks/UpdateQueryParameters.js.map +1 -0
- package/dist/src/hooks/VGSHooks.d.ts +11 -1
- package/dist/src/hooks/VGSHooks.js +26 -11
- package/dist/src/hooks/VGSHooks.js.map +1 -1
- package/dist/src/index.d.ts +2 -3
- package/dist/src/index.js +2 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/mockApi/HotelAPI.d.ts +1 -1
- package/dist/src/mockApi/HotelAPI.js.map +1 -1
- package/dist/src/models/Api/HotelDTO.d.ts +11 -3
- package/dist/src/models/Api/HotelDTO.js +17 -8
- package/dist/src/models/Api/HotelDTO.js.map +1 -1
- package/dist/src/models/Api/HotelOverrideDTO.d.ts +1 -0
- package/dist/src/models/Api/HotelOverrideDTO.js.map +1 -1
- package/dist/src/models/Api/ReservationsDTO.d.ts +2 -0
- package/dist/src/models/Api/ReservationsDTO.js.map +1 -1
- package/dist/src/models/AppQueryParameters.d.ts +14 -0
- package/dist/src/models/AppQueryParameters.js +19 -0
- package/dist/src/models/AppQueryParameters.js.map +1 -0
- package/dist/src/models/BookingWizard/BookingWizardProperty.d.ts +2 -2
- package/dist/src/models/BookingWizard/BookingWizardProperty.js.map +1 -1
- package/dist/src/models/Client/Hotel/ColorProfile.d.ts +3 -0
- package/dist/src/models/Client/Hotel/ColorProfile.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 +15 -5
- package/dist/src/models/Client/Hotel/Hotel.js +3 -1
- package/dist/src/models/Client/Hotel/Hotel.js.map +1 -1
- package/dist/src/models/Confirmation.d.ts +1 -1
- package/dist/src/models/Confirmation.js.map +1 -1
- package/dist/src/models/Room/Filters/Filter.d.ts +2 -1
- package/dist/src/models/Room/Filters/Filter.js.map +1 -1
- package/dist/src/models/Room/Filters/RateTypeFilter.d.ts +2 -1
- package/dist/src/models/Room/Filters/RateTypeFilter.js +3 -2
- package/dist/src/models/Room/Filters/RateTypeFilter.js.map +1 -1
- package/dist/src/models/Room/Filters/RoomTypeFilter.d.ts +2 -1
- package/dist/src/models/Room/Filters/RoomTypeFilter.js +3 -2
- package/dist/src/models/Room/Filters/RoomTypeFilter.js.map +1 -1
- package/dist/src/pages/account/AccountHome/AccountHomePage.js +9 -10
- package/dist/src/pages/account/AccountHome/AccountHomePage.js.map +1 -1
- package/dist/src/pages/account/AccountRouter.js +7 -9
- package/dist/src/pages/account/AccountRouter.js.map +1 -1
- package/dist/src/pages/account/Details/AccountDetailsCardsPage.js +19 -32
- package/dist/src/pages/account/Details/AccountDetailsCardsPage.js.map +1 -1
- package/dist/src/pages/account/Details/AccountDetailsNoCardsPage.js +9 -7
- package/dist/src/pages/account/Details/AccountDetailsNoCardsPage.js.map +1 -1
- package/dist/src/pages/account/Details/AccountDetailsProfilePage.js +25 -38
- package/dist/src/pages/account/Details/AccountDetailsProfilePage.js.map +1 -1
- package/dist/src/pages/account/Help/AccountHelpPage.js +16 -25
- package/dist/src/pages/account/Help/AccountHelpPage.js.map +1 -1
- package/dist/src/pages/account/Reservations/AccountReservationSinglePage.js +68 -52
- package/dist/src/pages/account/Reservations/AccountReservationSinglePage.js.map +1 -1
- package/dist/src/pages/account/Reservations/AccountReservationsPage.js.map +1 -1
- package/dist/src/pages/findReservation/FindReservation.js +40 -23
- package/dist/src/pages/findReservation/FindReservation.js.map +1 -1
- package/dist/src/pages/findReservation/ReservationRow.js +10 -9
- package/dist/src/pages/findReservation/ReservationRow.js.map +1 -1
- package/dist/src/pages/findReservation/ReservationRowModal.js +3 -3
- package/dist/src/pages/findReservation/ReservationRowModal.js.map +1 -1
- package/dist/src/pages/hotel/HotelInfo.js +6 -6
- package/dist/src/pages/hotel/HotelInfo.js.map +1 -1
- package/dist/src/pages/steps/Step.d.ts +2 -2
- package/dist/src/pages/steps/Step.js.map +1 -1
- package/dist/src/pages/steps/StepAddon/StepAddon.d.ts +2 -2
- package/dist/src/pages/steps/StepAddon/StepAddon.js.map +1 -1
- package/dist/src/pages/steps/StepConfirmation/StepConfirmation.d.ts +2 -2
- package/dist/src/pages/steps/StepConfirmation/StepConfirmation.js.map +1 -1
- package/dist/src/pages/steps/StepDate/StepDate.d.ts +2 -2
- package/dist/src/pages/steps/StepDate/StepDate.js.map +1 -1
- package/dist/src/pages/steps/StepDate/StepDateComponent.js +1 -1
- package/dist/src/pages/steps/StepDate/StepDateComponent.js.map +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotel.d.ts +2 -2
- package/dist/src/pages/steps/StepHotel/StepHotel.js.map +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotelComponent.js +10 -7
- package/dist/src/pages/steps/StepHotel/StepHotelComponent.js.map +1 -1
- package/dist/src/pages/steps/StepRoom/StepRoom.d.ts +2 -2
- package/dist/src/pages/steps/StepRoom/StepRoom.js.map +1 -1
- package/dist/src/pages/steps/StepThanks/StepThanks.d.ts +2 -2
- package/dist/src/pages/steps/StepThanks/StepThanks.js.map +1 -1
- package/dist/src/pages/steps/StepThanks/StepThanksComponent.js +5 -0
- package/dist/src/pages/steps/StepThanks/StepThanksComponent.js.map +1 -1
- package/dist/src/providers/FeatureProvider.js +2 -0
- package/dist/src/providers/FeatureProvider.js.map +1 -1
- package/dist/src/providers/RoomstayThemeEngine.d.ts +3 -3
- package/dist/src/providers/RoomstayThemeEngine.js +4 -18
- package/dist/src/providers/RoomstayThemeEngine.js.map +1 -1
- package/dist/src/providers/feature/ModifyBookingFeature.d.ts +6 -0
- package/dist/src/providers/feature/ModifyBookingFeature.js +10 -0
- package/dist/src/providers/feature/ModifyBookingFeature.js.map +1 -0
- package/dist/src/stories/EventCarousel.stories.d.ts +6 -0
- package/dist/src/stories/EventCarousel.stories.js +236 -0
- package/dist/src/stories/EventCarousel.stories.js.map +1 -0
- package/dist/src/stories/RadioButton.stories.d.ts +3 -3
- package/dist/src/stories/RadioButtonGroup.stories.d.ts +4 -1
- package/dist/src/stories/RadioButtonGroup.stories.js +73 -1
- package/dist/src/stories/RadioButtonGroup.stories.js.map +1 -1
- package/dist/src/translations/Translation.d.ts +196 -8
- package/dist/src/translations/Translation.js +198 -10
- package/dist/src/translations/Translation.js.map +1 -1
- package/dist/src/translations/languages/en-gb.js +198 -10
- package/dist/src/translations/languages/en-gb.js.map +1 -1
- package/dist/src/util/Color.d.ts +3 -0
- package/dist/src/util/Color.js +21 -1
- package/dist/src/util/Color.js.map +1 -1
- package/dist/src/util/CurrencyHelper.d.ts +11 -3
- package/dist/src/util/CurrencyHelper.js +306 -5
- package/dist/src/util/CurrencyHelper.js.map +1 -1
- package/dist/src/util/EventsHelper.d.ts +11 -0
- package/dist/src/util/EventsHelper.js +43 -0
- package/dist/src/util/EventsHelper.js.map +1 -0
- package/dist/src/util/StringHelper.d.ts +2 -2
- package/dist/src/util/StringHelper.js +5 -4
- package/dist/src/util/StringHelper.js.map +1 -1
- package/dist/src/util/TextAlignment.d.ts +2 -1
- package/dist/src/util/TextAlignment.js +1 -0
- package/dist/src/util/TextAlignment.js.map +1 -1
- package/dist/src/util/Validation.d.ts +17 -13
- package/dist/src/util/Validation.js +34 -18
- package/dist/src/util/Validation.js.map +1 -1
- package/dist/test.bundle.js +1 -2
- package/dist/tests/jest/engines/RoomstayThemeEngine.test.d.ts +1 -0
- package/dist/tests/jest/engines/RoomstayThemeEngine.test.js +41 -0
- package/dist/tests/jest/engines/RoomstayThemeEngine.test.js.map +1 -0
- package/dist/tests/jest/events/EventManager.test.d.ts +1 -0
- package/dist/tests/jest/events/EventManager.test.js +101 -0
- package/dist/tests/jest/events/EventManager.test.js.map +1 -0
- package/dist/tests/jest/helpers/ObjectHelper.test.d.ts +1 -0
- package/dist/tests/jest/helpers/ObjectHelper.test.js +72 -0
- package/dist/tests/jest/helpers/ObjectHelper.test.js.map +1 -0
- package/dist/tests/jest/models/RoomRate.test.d.ts +1 -0
- package/dist/tests/jest/models/RoomRate.test.js +133 -0
- package/dist/tests/jest/models/RoomRate.test.js.map +1 -0
- package/dist/tests/jest/providers/LanguageProvider.test.d.ts +1 -0
- package/dist/tests/jest/providers/LanguageProvider.test.js +32 -0
- package/dist/tests/jest/providers/LanguageProvider.test.js.map +1 -0
- package/dist/tests/jest/providers/SessionProvider.test.d.ts +1 -0
- package/dist/tests/jest/providers/SessionProvider.test.js +230 -0
- package/dist/tests/jest/providers/SessionProvider.test.js.map +1 -0
- package/dist/tests/jest/providers/storage/LocalStorageProvider.test.d.ts +1 -0
- package/dist/tests/jest/providers/storage/LocalStorageProvider.test.js +126 -0
- package/dist/tests/jest/providers/storage/LocalStorageProvider.test.js.map +1 -0
- package/dist/tests/jest/reducers/BasketReducer.test.d.ts +1 -0
- package/dist/tests/jest/reducers/BasketReducer.test.js +103 -0
- package/dist/tests/jest/reducers/BasketReducer.test.js.map +1 -0
- package/dist/tests/offline/RoomstayBestRateAlert.d.ts +1 -0
- package/dist/tests/offline/RoomstayBestRateAlert.js +48 -0
- package/dist/tests/offline/RoomstayBestRateAlert.js.map +1 -0
- package/dist/tests/offline/entry/RSCompany.js +7 -2
- package/dist/tests/offline/entry/RSCompany.js.map +1 -1
- package/dist/tests/offline/entry/ReactWrapper.d.ts +1 -0
- package/dist/tests/offline/entry/ReactWrapper.js +140 -0
- package/dist/tests/offline/entry/ReactWrapper.js.map +1 -0
- package/dist/tests/offline/entry/allEngines.d.ts +1 -0
- package/dist/tests/offline/entry/allEngines.js +50 -0
- package/dist/tests/offline/entry/allEngines.js.map +1 -0
- package/dist/tests/offline/entry/components/TestPicker.d.ts +1 -0
- package/dist/tests/offline/entry/components/TestPicker.js +214 -0
- package/dist/tests/offline/entry/components/TestPicker.js.map +1 -0
- package/dist/tests/offline/entry/context/EngineContext.d.ts +9 -0
- package/dist/tests/offline/entry/context/EngineContext.js +37 -0
- package/dist/tests/offline/entry/context/EngineContext.js.map +1 -0
- package/dist/tests/offline/entry/engineRenderer/memberPortalWidgetRenderer.d.ts +1 -0
- package/dist/tests/offline/entry/engineRenderer/memberPortalWidgetRenderer.js +68 -0
- package/dist/tests/offline/entry/engineRenderer/memberPortalWidgetRenderer.js.map +1 -0
- package/dist/tests/setupTests.d.ts +0 -0
- package/dist/tests/setupTests.js +12 -0
- package/dist/tests/setupTests.js.map +1 -0
- package/dist/vendors.bundle.js +1 -1
- package/package.json +3 -3
- package/dist/14.bundle.js +0 -1
- package/dist/559.bundle.js +0 -1
- package/dist/848.bundle.js +0 -1
- package/dist/962.bundle.js +0 -1
- package/dist/main.bundle.js.LICENSE.txt +0 -5
- package/dist/src/components/temp/Login.d.ts +0 -2
- package/dist/src/components/temp/Login.js +0 -79
- package/dist/src/components/temp/Login.js.map +0 -1
- package/dist/test.bundle.js.LICENSE.txt +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventCarousel.stories.js","sourceRoot":"/","sources":["src/stories/EventCarousel.stories.tsx"],"names":[],"mappings":"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","sourcesContent":["import React from 'react';\nimport { ComponentMeta } from '@storybook/react';\nimport { HashRouter } from 'react-router-dom';\nimport EventCarousel from '@/components/generic/Event/EventCarousel';\nimport { IRoomstayEvent } from '@roomstay/core';\n\nconst data: IRoomstayEvent[] = [\n {\n eventId: '3c6e6bed-9783-4dd6-bbde-60cd96ba78e4',\n name: 'Bellflower',\n summary: 'Proin risus.',\n image: {\n url: 'http://dummyimage.com/178x100.png/dddddd/000000',\n },\n url: 'https://diigo.com/turpis/eget/elit/sodales/scelerisque.json?mauris=tortor&sit=sollicitudin&amet=mi&eros=sit&suspendisse=amet&accumsan=lobortis&tortor=sapien&quis=sapien&turpis=non&sed=mi&ante=integer&vivamus=ac&tortor=neque&duis=duis&mattis=bibendum&egestas=morbi&metus=non&aenean=quam&fermentum=nec&donec=dui&ut=luctus&mauris=rutrum&eget=nulla&massa=tellus&tempor=in&convallis=sagittis&nulla=dui&neque=vel&libero=nisl&convallis=duis&eget=ac&eleifend=nibh&luctus=fusce&ultricies=lacus&eu=purus&nibh=aliquet&quisque=at&id=feugiat&justo=non&sit=pretium&amet=quis&sapien=lectus&dignissim=suspendisse&vestibulum=potenti&vestibulum=in&ante=eleifend&ipsum=quam&primis=a&in=odio&faucibus=in&orci=hac&luctus=habitasse&et=platea&ultrices=dictumst&posuere=maecenas&cubilia=ut&curae=massa&nulla=quis&dapibus=augue&dolor=luctus&vel=tincidunt&est=nulla&donec=mollis&odio=molestie&justo=lorem&sollicitudin=quisque&ut=ut&suscipit=erat&a=curabitur&feugiat=gravida&et=nisi&eros=at&vestibulum=nibh&ac=in',\n startDate: '1654877193000',\n address: {\n line1: '61 Pepper Wood Way',\n line2: '10th Floor',\n city: '‘Uzeir',\n },\n tags: [\n {\n display_name: 'Eastern boa constrictor',\n },\n ],\n },\n {\n eventId: '3a1b75e4-ff7a-4b12-990f-a39f7932b729',\n name: 'In Custody',\n summary: 'Nullam varius. Nulla facilisi. Cras non velit nec nisi vulputate nonummy.',\n image: {\n url: 'http://dummyimage.com/101x100.png/ff4444/ffffff',\n },\n url: 'https://nbcnews.com/sit/amet.xml?ante=ultrices&ipsum=libero&primis=non&in=mattis&faucibus=pulvinar&orci=nulla&luctus=pede&et=ullamcorper&ultrices=augue&posuere=a&cubilia=suscipit&curae=nulla&duis=elit&faucibus=ac&accumsan=nulla&odio=sed&curabitur=vel&convallis=enim&duis=sit&consequat=amet&dui=nunc&nec=viverra&nisi=dapibus&volutpat=nulla&eleifend=suscipit&donec=ligula',\n startDate: '1668147476000',\n address: {\n line1: '8100 Karstens Street',\n line2: '11th Floor',\n city: 'Kotabaru',\n },\n tags: [\n {\n display_name: 'Rat, desert kangaroo',\n },\n ],\n },\n {\n eventId: 'bdcfa789-d693-45a7-a2a5-a731ab629fd5',\n name: \"King Solomon's Mines\",\n summary:\n 'Duis ac nibh. Fusce lacus purus, aliquet at, feugiat non, pretium quis, lectus. Suspendisse potenti. In eleifend quam a odio. In hac habitasse platea dictumst. Maecenas ut massa quis augue luctus tincidunt. Nulla mollis molestie lorem. Quisque ut erat. Curabitur gravida nisi at nibh.',\n image: {\n url: 'http://dummyimage.com/136x100.png/ff4444/ffffff',\n },\n url: 'http://instagram.com/odio.js?in=congue&felis=vivamus&donec=metus&semper=arcu&sapien=adipiscing&a=molestie&libero=hendrerit&nam=at&dui=vulputate&proin=vitae&leo=nisl&odio=aenean&porttitor=lectus&id=pellentesque',\n startDate: '1666804160000',\n address: {\n line1: '05435 Swallow Junction',\n line2: 'Room 173',\n city: 'Saposoa',\n },\n tags: [\n {\n display_name: 'Eastern fox squirrel',\n },\n ],\n },\n {\n eventId: 'b22b8925-a2a8-465d-b1c7-2795f7627e0f',\n name: 'Sarah Silverman: We Are Miracles',\n summary:\n 'Morbi sem mauris, laoreet ut, rhoncus aliquet, pulvinar sed, nisl. Nunc rhoncus dui vel sem. Sed sagittis. Nam congue, risus semper porta volutpat, quam pede lobortis ligula, sit amet eleifend pede libero quis orci. Nullam molestie nibh in lectus. Pellentesque at nulla. Suspendisse potenti. Cras in purus eu magna vulputate luctus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.',\n image: {\n url: 'http://dummyimage.com/101x100.png/5fa2dd/ffffff',\n },\n url: 'http://pinterest.com/venenatis/turpis/enim/blandit/mi/in/porttitor.xml?sagittis=sed&sapien=justo&cum=pellentesque&sociis=viverra&natoque=pede&penatibus=ac&et=diam&magnis=cras&dis=pellentesque&parturient=volutpat&montes=dui&nascetur=maecenas&ridiculus=tristique&mus=est&etiam=et&vel=tempus&augue=semper&vestibulum=est&rutrum=quam&rutrum=pharetra&neque=magna&aenean=ac&auctor=consequat&gravida=metus&sem=sapien&praesent=ut&id=nunc&massa=vestibulum&id=ante&nisl=ipsum&venenatis=primis&lacinia=in&aenean=faucibus&sit=orci&amet=luctus&justo=et&morbi=ultrices&ut=posuere&odio=cubilia&cras=curae&mi=mauris&pede=viverra&malesuada=diam&in=vitae&imperdiet=quam&et=suspendisse&commodo=potenti&vulputate=nullam&justo=porttitor&in=lacus&blandit=at&ultrices=turpis&enim=donec&lorem=posuere&ipsum=metus&dolor=vitae&sit=ipsum&amet=aliquam&consectetuer=non&adipiscing=mauris&elit=morbi&proin=non&interdum=lectus&mauris=aliquam&non=sit&ligula=amet&pellentesque=diam&ultrices=in&phasellus=magna&id=bibendum&sapien=imperdiet&in=nullam&sapien=orci&iaculis=pede&congue=venenatis&vivamus=non&metus=sodales&arcu=sed&adipiscing=tincidunt&molestie=eu&hendrerit=felis',\n startDate: '1671489160000',\n address: {\n line1: '59370 Badeau Parkway',\n line2: 'Apt 920',\n city: 'Kičevo',\n },\n tags: [\n {\n display_name: 'Vulture, bengal',\n },\n ],\n },\n {\n eventId: 'b41c6226-3016-4645-95cb-280c2c8fb9c4',\n name: 'Radio Inside',\n summary:\n 'Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl.',\n image: {\n url: 'http://dummyimage.com/246x100.png/ff4444/ffffff',\n },\n url: 'http://symantec.com/nisi/eu/orci/mauris/lacinia/sapien.jsp?suspendisse=eu&potenti=magna&nullam=vulputate&porttitor=luctus&lacus=cum&at=sociis&turpis=natoque&donec=penatibus&posuere=et&metus=magnis&vitae=dis&ipsum=parturient&aliquam=montes&non=nascetur&mauris=ridiculus&morbi=mus&non=vivamus&lectus=vestibulum&aliquam=sagittis&sit=sapien&amet=cum&diam=sociis&in=natoque&magna=penatibus&bibendum=et&imperdiet=magnis&nullam=dis&orci=parturient&pede=montes&venenatis=nascetur&non=ridiculus&sodales=mus&sed=etiam&tincidunt=vel&eu=augue&felis=vestibulum&fusce=rutrum&posuere=rutrum&felis=neque&sed=aenean&lacus=auctor&morbi=gravida&sem=sem&mauris=praesent&laoreet=id&ut=massa&rhoncus=id&aliquet=nisl&pulvinar=venenatis&sed=lacinia&nisl=aenean&nunc=sit&rhoncus=amet&dui=justo&vel=morbi&sem=ut&sed=odio&sagittis=cras&nam=mi&congue=pede&risus=malesuada&semper=in&porta=imperdiet&volutpat=et&quam=commodo&pede=vulputate&lobortis=justo&ligula=in&sit=blandit&amet=ultrices&eleifend=enim&pede=lorem&libero=ipsum&quis=dolor&orci=sit&nullam=amet&molestie=consectetuer&nibh=adipiscing',\n startDate: '1665935901000',\n address: {\n line1: '194 Esker Drive',\n line2: 'Apt 486',\n city: 'Tiglauigan',\n },\n tags: [\n {\n display_name: \"Francolin, swainson's\",\n },\n ],\n },\n {\n eventId: '953baa44-36da-483e-b301-acecbdfe263d',\n name: 'Second Chance, The',\n summary:\n 'Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem. Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio. Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.',\n image: {\n url: 'http://dummyimage.com/143x100.png/cc0000/ffffff',\n },\n url: 'http://springer.com/vivamus/tortor/duis/mattis/egestas/metus.json?commodo=rutrum&placerat=neque&praesent=aenean&blandit=auctor&nam=gravida&nulla=sem&integer=praesent&pede=id&justo=massa&lacinia=id&eget=nisl&tincidunt=venenatis&eget=lacinia&tempus=aenean&vel=sit&pede=amet&morbi=justo&porttitor=morbi&lorem=ut&id=odio&ligula=cras&suspendisse=mi&ornare=pede&consequat=malesuada&lectus=in&in=imperdiet&est=et&risus=commodo&auctor=vulputate&sed=justo&tristique=in&in=blandit&tempus=ultrices&sit=enim&amet=lorem&sem=ipsum&fusce=dolor&consequat=sit&nulla=amet&nisl=consectetuer&nunc=adipiscing&nisl=elit&duis=proin&bibendum=interdum&felis=mauris&sed=non&interdum=ligula&venenatis=pellentesque&turpis=ultrices&enim=phasellus&blandit=id&mi=sapien',\n startDate: '1677297303000',\n address: {\n line1: '6816 South Point',\n line2: 'Room 1892',\n city: 'Jiahe',\n },\n tags: [\n {\n display_name: 'White-faced tree rat',\n },\n ],\n },\n {\n eventId: 'f6860961-d9ad-4806-9305-1de8e5105535',\n name: 'Underworld',\n summary:\n 'Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus. Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero. Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum.',\n image: {\n url: 'http://dummyimage.com/154x100.png/cc0000/ffffff',\n },\n url: 'https://thetimes.co.uk/potenti/in/eleifend.jsp?nonummy=porta&maecenas=volutpat&tincidunt=quam&lacus=pede&at=lobortis&velit=ligula&vivamus=sit&vel=amet&nulla=eleifend&eget=pede&eros=libero&elementum=quis&pellentesque=orci&quisque=nullam&porta=molestie&volutpat=nibh&erat=in&quisque=lectus&erat=pellentesque&eros=at&viverra=nulla&eget=suspendisse&congue=potenti&eget=cras&semper=in&rutrum=purus&nulla=eu&nunc=magna&purus=vulputate&phasellus=luctus&in=cum&felis=sociis&donec=natoque&semper=penatibus&sapien=et&a=magnis&libero=dis&nam=parturient&dui=montes&proin=nascetur&leo=ridiculus&odio=mus&porttitor=vivamus&id=vestibulum&consequat=sagittis&in=sapien&consequat=cum&ut=sociis&nulla=natoque&sed=penatibus&accumsan=et&felis=magnis&ut=dis&at=parturient&dolor=montes&quis=nascetur&odio=ridiculus&consequat=mus&varius=etiam&integer=vel&ac=augue&leo=vestibulum&pellentesque=rutrum&ultrices=rutrum&mattis=neque&odio=aenean',\n startDate: '1661784807000',\n address: {\n line1: '65 Walton Avenue',\n line2: 'Suite 99',\n city: 'Porangatu',\n },\n tags: [\n {\n display_name: 'Goldeneye, barrows',\n },\n ],\n },\n {\n eventId: 'b8cc9f26-2e28-4f9f-83a2-5e29d9ecab57',\n name: 'Midnight Lace',\n summary:\n 'Morbi vel lectus in quam fringilla rhoncus. Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero. Nullam sit amet turpis elementum ligula vehicula consequat.',\n image: {\n url: 'http://dummyimage.com/123x100.png/ff4444/ffffff',\n },\n url: 'http://howstuffworks.com/lobortis/est/phasellus/sit/amet/erat.xml?nulla=donec&sed=odio&accumsan=justo&felis=sollicitudin&ut=ut&at=suscipit&dolor=a&quis=feugiat&odio=et&consequat=eros&varius=vestibulum&integer=ac&ac=est&leo=lacinia&pellentesque=nisi&ultrices=venenatis&mattis=tristique&odio=fusce&donec=congue&vitae=diam&nisi=id&nam=ornare&ultrices=imperdiet&libero=sapien&non=urna&mattis=pretium&pulvinar=nisl&nulla=ut&pede=volutpat&ullamcorper=sapien&augue=arcu&a=sed&suscipit=augue&nulla=aliquam&elit=erat&ac=volutpat&nulla=in&sed=congue&vel=etiam&enim=justo&sit=etiam&amet=pretium&nunc=iaculis&viverra=justo&dapibus=in&nulla=hac&suscipit=habitasse&ligula=platea&in=dictumst&lacus=etiam&curabitur=faucibus&at=cursus&ipsum=urna&ac=ut&tellus=tellus&semper=nulla&interdum=ut&mauris=erat&ullamcorper=id&purus=mauris&sit=vulputate&amet=elementum&nulla=nullam&quisque=varius&arcu=nulla&libero=facilisi&rutrum=cras&ac=non&lobortis=velit&vel=nec&dapibus=nisi&at=vulputate&diam=nonummy&nam=maecenas',\n startDate: '1665800661000',\n address: {\n line1: '841 Dryden Way',\n line2: 'Room 191',\n city: 'Rahama',\n },\n tags: [\n {\n display_name: 'Goldeneye, common',\n },\n ],\n },\n {\n eventId: '892ae709-798e-493a-8234-9935bedec919',\n name: 'Breaking the Maya Code',\n summary: 'In hac habitasse platea dictumst. Maecenas ut massa quis augue luctus tincidunt. Nulla mollis molestie lorem.',\n image: {\n url: 'http://dummyimage.com/142x100.png/dddddd/000000',\n },\n url: 'https://123-reg.co.uk/justo/aliquam/quis/turpis/eget/elit/sodales.aspx?curae=nisl&mauris=ut&viverra=volutpat&diam=sapien&vitae=arcu&quam=sed&suspendisse=augue&potenti=aliquam&nullam=erat&porttitor=volutpat&lacus=in&at=congue&turpis=etiam&donec=justo&posuere=etiam&metus=pretium&vitae=iaculis&ipsum=justo&aliquam=in&non=hac&mauris=habitasse&morbi=platea&non=dictumst&lectus=etiam&aliquam=faucibus&sit=cursus&amet=urna&diam=ut&in=tellus&magna=nulla&bibendum=ut',\n startDate: '1650964605000',\n address: {\n line1: '84810 Vermont Avenue',\n line2: '8th Floor',\n city: 'Lipiany',\n },\n tags: [\n {\n display_name: 'Long-nosed bandicoot',\n },\n ],\n },\n {\n eventId: 'bfb9663e-72ed-40db-8e3c-37361434b751',\n name: 'Adventures of Sebastian Cole, The',\n summary:\n 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl. Aenean lectus. Pellentesque eget nunc. Donec quis orci eget orci vehicula condimentum. Curabitur in libero ut massa volutpat convallis. Morbi odio odio, elementum eu, interdum eu, tincidunt in, leo. Maecenas pulvinar lobortis est.',\n image: {\n url: 'http://dummyimage.com/131x100.png/5fa2dd/ffffff',\n },\n url: 'http://usa.gov/velit.aspx?elementum=enim&nullam=blandit&varius=mi&nulla=in&facilisi=porttitor&cras=pede&non=justo&velit=eu&nec=massa&nisi=donec&vulputate=dapibus&nonummy=duis&maecenas=at&tincidunt=velit&lacus=eu&at=est&velit=congue&vivamus=elementum&vel=in&nulla=hac&eget=habitasse&eros=platea&elementum=dictumst&pellentesque=morbi&quisque=vestibulum&porta=velit&volutpat=id&erat=pretium&quisque=iaculis&erat=diam&eros=erat&viverra=fermentum&eget=justo&congue=nec&eget=condimentum&semper=neque&rutrum=sapien&nulla=placerat&nunc=ante&purus=nulla&phasellus=justo&in=aliquam&felis=quis&donec=turpis&semper=eget&sapien=elit&a=sodales&libero=scelerisque&nam=mauris&dui=sit&proin=amet&leo=eros&odio=suspendisse&porttitor=accumsan&id=tortor&consequat=quis&in=turpis&consequat=sed&ut=ante&nulla=vivamus&sed=tortor',\n startDate: '1678856350000',\n address: {\n line1: '195 Comanche Avenue',\n line2: 'PO Box 11978',\n city: 'Радовиш',\n },\n tags: [\n {\n display_name: 'Gazer, sun',\n },\n ],\n },\n] as IRoomstayEvent[];\n\nexport default {\n title: 'generic/EventCarousel',\n component: EventCarousel,\n argTypes: {},\n decorators: [\n (Story) => {\n return (\n <HashRouter>\n <Story />\n </HashRouter>\n );\n },\n ],\n} as ComponentMeta<typeof EventCarousel>;\n\nexport const Default = () => {\n return <EventCarousel data={data} />;\n};\n\nexport const Vertical = () => {\n return (\n <div\n style={{\n marginLeft: 'auto',\n marginRight: 'auto',\n width: 375,\n }}\n >\n <EventCarousel data={data} small />\n </div>\n );\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<React.
|
|
3
|
+
declare const _default: ComponentMeta<React.ForwardRefExoticComponent<import("../components/generic/RadioButtonGroup/RadioButton").RadioButtonProps & React.RefAttributes<HTMLDivElement>>>;
|
|
4
4
|
export default _default;
|
|
5
|
-
export declare const Checked: ComponentStory<React.
|
|
6
|
-
export declare const Unchecked: ComponentStory<React.
|
|
5
|
+
export declare const Checked: ComponentStory<React.ForwardRefExoticComponent<import("../components/generic/RadioButtonGroup/RadioButton").RadioButtonProps & React.RefAttributes<HTMLDivElement>>>;
|
|
6
|
+
export declare const Unchecked: ComponentStory<React.ForwardRefExoticComponent<import("../components/generic/RadioButtonGroup/RadioButton").RadioButtonProps & React.RefAttributes<HTMLDivElement>>>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ComponentMeta } from '@storybook/react';
|
|
3
|
-
|
|
3
|
+
import { IRadioButtonGroupProps } from '../components/generic/RadioButtonGroup/RadioButtonGroup';
|
|
4
|
+
declare const _default: ComponentMeta<(<TValue extends string = string>({ options, value: valueProp, onChange, renderChildrenContent, }: IRadioButtonGroupProps<TValue>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null)>;
|
|
4
5
|
export default _default;
|
|
5
6
|
export declare const Default: () => JSX.Element;
|
|
7
|
+
export declare const SelectRadio: () => JSX.Element;
|
|
8
|
+
export declare const DisabledSelectRadio: () => JSX.Element;
|
|
@@ -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
|
-
exports.Default = void 0;
|
|
6
|
+
exports.DisabledSelectRadio = exports.SelectRadio = exports.Default = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const react_2 = require("react");
|
|
9
9
|
const RadioButtonGroup_1 = __importDefault(require("../components/generic/RadioButtonGroup/RadioButtonGroup"));
|
|
@@ -29,4 +29,76 @@ const Default = () => {
|
|
|
29
29
|
return react_1.default.createElement(RadioButtonGroup_1.default, { options: options, value: value, onChange: setValue });
|
|
30
30
|
};
|
|
31
31
|
exports.Default = Default;
|
|
32
|
+
const SelectRadio = () => {
|
|
33
|
+
const options = [
|
|
34
|
+
{
|
|
35
|
+
label: 'Label1',
|
|
36
|
+
value: 'value1',
|
|
37
|
+
renderContent: () => 'Content 1',
|
|
38
|
+
options: [
|
|
39
|
+
{
|
|
40
|
+
label: 'Label1.1',
|
|
41
|
+
value: 'value1.1',
|
|
42
|
+
renderContent: () => 'Content 1.1',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: 'Label1.2',
|
|
46
|
+
value: 'value1.2',
|
|
47
|
+
renderContent: () => 'Content 1.2',
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
label: 'Label2',
|
|
53
|
+
value: 'value2',
|
|
54
|
+
renderContent: () => 'Content 2',
|
|
55
|
+
},
|
|
56
|
+
];
|
|
57
|
+
const [value, setValue] = (0, react_2.useState)();
|
|
58
|
+
return react_1.default.createElement(RadioButtonGroup_1.default, { options: options, value: value, onChange: setValue });
|
|
59
|
+
};
|
|
60
|
+
exports.SelectRadio = SelectRadio;
|
|
61
|
+
const DisabledSelectRadio = () => {
|
|
62
|
+
const options = [
|
|
63
|
+
{
|
|
64
|
+
disabled: true,
|
|
65
|
+
label: 'Label1',
|
|
66
|
+
value: 'value1',
|
|
67
|
+
renderContent: () => 'Content 1',
|
|
68
|
+
options: [
|
|
69
|
+
{
|
|
70
|
+
label: 'Label1.1',
|
|
71
|
+
value: 'value1.1',
|
|
72
|
+
renderContent: () => 'Content 1.1',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
label: 'Label1.2',
|
|
76
|
+
value: 'value1.2',
|
|
77
|
+
renderContent: () => 'Content 1.2',
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
label: 'Label2',
|
|
83
|
+
value: 'value2',
|
|
84
|
+
renderContent: () => 'Content 2',
|
|
85
|
+
options: [
|
|
86
|
+
{
|
|
87
|
+
label: 'Label2.1',
|
|
88
|
+
value: 'value2.1',
|
|
89
|
+
renderContent: () => 'Content 2.1',
|
|
90
|
+
disabled: true,
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
label: 'Label2.2',
|
|
94
|
+
value: 'value2.2',
|
|
95
|
+
renderContent: () => 'Content 2.2',
|
|
96
|
+
},
|
|
97
|
+
],
|
|
98
|
+
},
|
|
99
|
+
];
|
|
100
|
+
const [value, setValue] = (0, react_2.useState)();
|
|
101
|
+
return react_1.default.createElement(RadioButtonGroup_1.default, { options: options, value: value, onChange: setValue });
|
|
102
|
+
};
|
|
103
|
+
exports.DisabledSelectRadio = DisabledSelectRadio;
|
|
32
104
|
//# sourceMappingURL=RadioButtonGroup.stories.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButtonGroup.stories.js","sourceRoot":"/","sources":["src/stories/RadioButtonGroup.stories.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,iCAAiC;AAGjC,
|
|
1
|
+
{"version":3,"file":"RadioButtonGroup.stories.js","sourceRoot":"/","sources":["src/stories/RadioButtonGroup.stories.tsx"],"names":[],"mappings":"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","sourcesContent":["import React from 'react';\nimport { useState } from 'react';\nimport { ComponentMeta } from '@storybook/react';\n\nimport RadioButtonGroup, { IRadioButtonGroupProps } from '@/components/generic/RadioButtonGroup/RadioButtonGroup';\n\nexport default {\n title: 'generic/RadioButtonGroup/RadioButtonGroup',\n component: RadioButtonGroup,\n argTypes: {},\n} as ComponentMeta<typeof RadioButtonGroup>;\nexport const Default = () => {\n const options = [\n {\n label: 'Label1',\n value: 'value1',\n renderContent: () => 'Content 1',\n },\n {\n label: 'Label2',\n value: 'value2',\n renderContent: () => 'Content 2',\n },\n ];\n const [value, setValue] = useState(options[0].value);\n return <RadioButtonGroup options={options} value={value} onChange={setValue} />;\n};\n\nexport const SelectRadio = () => {\n const options: IRadioButtonGroupProps['options'] = [\n {\n label: 'Label1',\n value: 'value1',\n renderContent: () => 'Content 1',\n options: [\n {\n label: 'Label1.1',\n value: 'value1.1',\n renderContent: () => 'Content 1.1',\n },\n {\n label: 'Label1.2',\n value: 'value1.2',\n renderContent: () => 'Content 1.2',\n },\n ],\n },\n {\n label: 'Label2',\n value: 'value2',\n renderContent: () => 'Content 2',\n },\n ];\n const [value, setValue] = useState<string | undefined>();\n return <RadioButtonGroup options={options} value={value} onChange={setValue} />;\n};\n\nexport const DisabledSelectRadio = () => {\n const options: IRadioButtonGroupProps['options'] = [\n {\n disabled: true,\n label: 'Label1',\n value: 'value1',\n renderContent: () => 'Content 1',\n options: [\n {\n label: 'Label1.1',\n value: 'value1.1',\n renderContent: () => 'Content 1.1',\n },\n {\n label: 'Label1.2',\n value: 'value1.2',\n renderContent: () => 'Content 1.2',\n },\n ],\n },\n {\n label: 'Label2',\n value: 'value2',\n renderContent: () => 'Content 2',\n options: [\n {\n label: 'Label2.1',\n value: 'value2.1',\n renderContent: () => 'Content 2.1',\n disabled: true,\n },\n {\n label: 'Label2.2',\n value: 'value2.2',\n renderContent: () => 'Content 2.2',\n },\n ],\n },\n ];\n const [value, setValue] = useState<string | undefined>();\n return <RadioButtonGroup options={options} value={value} onChange={setValue} />;\n};\n"]}
|
|
@@ -19,6 +19,12 @@ export declare const Translation: {
|
|
|
19
19
|
Error: string;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
+
SignIn: string;
|
|
23
|
+
EmailIsInUse: string;
|
|
24
|
+
VerifyingEmail: {
|
|
25
|
+
Title: string;
|
|
26
|
+
Detail: string;
|
|
27
|
+
};
|
|
22
28
|
};
|
|
23
29
|
SignIn: {
|
|
24
30
|
SignIn: string;
|
|
@@ -37,11 +43,17 @@ export declare const Translation: {
|
|
|
37
43
|
Email: {
|
|
38
44
|
Label: string;
|
|
39
45
|
Placeholder: string;
|
|
46
|
+
Validation: {
|
|
47
|
+
UserNotFound: string;
|
|
48
|
+
};
|
|
40
49
|
};
|
|
41
50
|
Code: {
|
|
42
51
|
Label: string;
|
|
43
52
|
Placeholder: string;
|
|
44
53
|
Helper: string;
|
|
54
|
+
Validation: {
|
|
55
|
+
InvalidCode: string;
|
|
56
|
+
};
|
|
45
57
|
};
|
|
46
58
|
Password: {
|
|
47
59
|
Label: string;
|
|
@@ -70,6 +82,13 @@ export declare const Translation: {
|
|
|
70
82
|
StepProgress: string;
|
|
71
83
|
};
|
|
72
84
|
Back: string;
|
|
85
|
+
Menu: {
|
|
86
|
+
YourReservations: string;
|
|
87
|
+
ProfileInformation: string;
|
|
88
|
+
PaymentInformation: string;
|
|
89
|
+
HotelInformation: string;
|
|
90
|
+
NeedHelp: string;
|
|
91
|
+
};
|
|
73
92
|
};
|
|
74
93
|
Step: {
|
|
75
94
|
Date: {
|
|
@@ -93,9 +112,26 @@ export declare const Translation: {
|
|
|
93
112
|
SelectStartDate: string;
|
|
94
113
|
SelectCheckoutDate: string;
|
|
95
114
|
CheckAvailability: string;
|
|
115
|
+
AvailabilityCheckFailed: {
|
|
116
|
+
Title: string;
|
|
117
|
+
Message: string;
|
|
118
|
+
};
|
|
119
|
+
PromoCodeTooltip: {
|
|
120
|
+
Checking: string;
|
|
121
|
+
NoValue: string;
|
|
122
|
+
Valid: string;
|
|
123
|
+
Invalid: string;
|
|
124
|
+
};
|
|
125
|
+
UpdateAdults: string;
|
|
126
|
+
UpdateChildren: string;
|
|
127
|
+
SelectArrivalAndDepartureDatesByClickingHere: string;
|
|
128
|
+
PromoCodeValidation: {
|
|
129
|
+
Valid: string;
|
|
130
|
+
Invalid: string;
|
|
131
|
+
};
|
|
132
|
+
PleaseSelectYourDates: string;
|
|
96
133
|
};
|
|
97
134
|
Hotel: {
|
|
98
|
-
ChooseHotel: string;
|
|
99
135
|
HotelCard: {
|
|
100
136
|
DatesUnavailable: string;
|
|
101
137
|
};
|
|
@@ -104,6 +140,10 @@ export declare const Translation: {
|
|
|
104
140
|
DescriptionLine1: string;
|
|
105
141
|
DescriptionLine2: string;
|
|
106
142
|
};
|
|
143
|
+
Cities: string;
|
|
144
|
+
ViewRooms: string;
|
|
145
|
+
About: string;
|
|
146
|
+
Gallery: string;
|
|
107
147
|
};
|
|
108
148
|
Room: {
|
|
109
149
|
SelectRoom: string;
|
|
@@ -112,6 +152,8 @@ export declare const Translation: {
|
|
|
112
152
|
SortBy: string;
|
|
113
153
|
Sort: {
|
|
114
154
|
Recommended: string;
|
|
155
|
+
LowestPrice: string;
|
|
156
|
+
HighestPrice: string;
|
|
115
157
|
};
|
|
116
158
|
FilterBy: string;
|
|
117
159
|
Filter: {
|
|
@@ -143,7 +185,6 @@ export declare const Translation: {
|
|
|
143
185
|
};
|
|
144
186
|
RevealPrice: string;
|
|
145
187
|
IncludesTaxes: string;
|
|
146
|
-
BookNow: string;
|
|
147
188
|
AddRoom: string;
|
|
148
189
|
Information: string;
|
|
149
190
|
RoomAmenities: string;
|
|
@@ -195,6 +236,21 @@ export declare const Translation: {
|
|
|
195
236
|
NextRoom: string;
|
|
196
237
|
MoreDetails: string;
|
|
197
238
|
ExcludingTaxes: string;
|
|
239
|
+
Sleeps: string;
|
|
240
|
+
RateTypeFilterLabel: string;
|
|
241
|
+
ChooseRoomBelow: string;
|
|
242
|
+
EditThisRoom: string;
|
|
243
|
+
RoomRateDetails: string;
|
|
244
|
+
PriceBreakdown: string;
|
|
245
|
+
BreakfastIncluded: string;
|
|
246
|
+
PromoCodeIsApplied: string;
|
|
247
|
+
AvailableUpgrades: string;
|
|
248
|
+
AndYouGetAllTheseForFree: string;
|
|
249
|
+
MinimumStay: string;
|
|
250
|
+
RatesNotFound: string;
|
|
251
|
+
RatesNotFoundLine1: string;
|
|
252
|
+
RatesNotFoundLine2: string;
|
|
253
|
+
YouBookedThisRoomRecently: string;
|
|
198
254
|
CrossSellBlock: {
|
|
199
255
|
AvailabilityNearBy1: string;
|
|
200
256
|
AvailabilityNearBy2: string;
|
|
@@ -211,6 +267,7 @@ export declare const Translation: {
|
|
|
211
267
|
Title: string;
|
|
212
268
|
Message: string;
|
|
213
269
|
};
|
|
270
|
+
IncludingFeesAndTaxes: string;
|
|
214
271
|
};
|
|
215
272
|
Confirmation: {
|
|
216
273
|
ApplySameInfoToOtherRooms: string;
|
|
@@ -249,7 +306,11 @@ export declare const Translation: {
|
|
|
249
306
|
IATANumber: string;
|
|
250
307
|
IATANumberGuide: string;
|
|
251
308
|
};
|
|
252
|
-
|
|
309
|
+
InputErrors: {
|
|
310
|
+
CardExpiry: {
|
|
311
|
+
Invalid: string;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
253
314
|
Policies: string;
|
|
254
315
|
Limit: string;
|
|
255
316
|
TimeDeal: string;
|
|
@@ -263,8 +324,28 @@ export declare const Translation: {
|
|
|
263
324
|
PrivacyPolicyError: string;
|
|
264
325
|
PlanpayHelperText: string;
|
|
265
326
|
CardLabel: string;
|
|
327
|
+
CardSubLabel: string;
|
|
266
328
|
PlanpayLabel: string;
|
|
267
329
|
PaidWithPlanpay: string;
|
|
330
|
+
UnexpectedErrorFromBookingDatabase: string;
|
|
331
|
+
UnexpectedErrorOnCommittingReservation: string;
|
|
332
|
+
FailedToCommitReservation: string;
|
|
333
|
+
PaymentCard: {
|
|
334
|
+
CardHolderName: string;
|
|
335
|
+
ExpiryDate: string;
|
|
336
|
+
};
|
|
337
|
+
NoAdditionalOfferings: string;
|
|
338
|
+
SSLSecure: string;
|
|
339
|
+
YourTotalPriceHasChanged: string;
|
|
340
|
+
ConfirmationCheckoutTitle: string;
|
|
341
|
+
RevertsIn: string;
|
|
342
|
+
TakeMeBack: string;
|
|
343
|
+
ContinueWithReservation: string;
|
|
344
|
+
Secured: string;
|
|
345
|
+
YourRoomIs: string;
|
|
346
|
+
BeingHeldFor: string;
|
|
347
|
+
PrivacyPolicyDetail: string;
|
|
348
|
+
EditThisProperty: string;
|
|
268
349
|
};
|
|
269
350
|
Thanks: {
|
|
270
351
|
AddOnItems: string;
|
|
@@ -272,6 +353,9 @@ export declare const Translation: {
|
|
|
272
353
|
InvoiceNumber: string;
|
|
273
354
|
ThankYouHeadline: string;
|
|
274
355
|
IncludingTaxes: string;
|
|
356
|
+
Errors: {
|
|
357
|
+
CancelFailed: string;
|
|
358
|
+
};
|
|
275
359
|
};
|
|
276
360
|
General: {
|
|
277
361
|
YourCartIsEmpty: string;
|
|
@@ -289,12 +373,26 @@ export declare const Translation: {
|
|
|
289
373
|
PleaseTick: string;
|
|
290
374
|
ValidationError: string;
|
|
291
375
|
};
|
|
376
|
+
RequiredFields: {
|
|
377
|
+
Title: string;
|
|
378
|
+
Message: string;
|
|
379
|
+
};
|
|
292
380
|
};
|
|
293
381
|
Headline: string;
|
|
294
382
|
Subtitle: string;
|
|
295
383
|
SubmitButtonText: string;
|
|
296
384
|
AgreeToReceiveDeals: string;
|
|
297
385
|
UnsubscribeAnytime: string;
|
|
386
|
+
Fields: {
|
|
387
|
+
FirstName: string;
|
|
388
|
+
LastName: string;
|
|
389
|
+
Email: {
|
|
390
|
+
Label: string;
|
|
391
|
+
Validation: {
|
|
392
|
+
Invalid: string;
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
};
|
|
298
396
|
};
|
|
299
397
|
Custom: {
|
|
300
398
|
BookNowPayLaterInfoBlock: {
|
|
@@ -357,14 +455,44 @@ export declare const Translation: {
|
|
|
357
455
|
AirConditioning: string;
|
|
358
456
|
SmokingFree: string;
|
|
359
457
|
};
|
|
458
|
+
QTY: string;
|
|
459
|
+
Person: string;
|
|
460
|
+
PersonPerNight: string;
|
|
461
|
+
AdultPerNight: string;
|
|
462
|
+
PerRoomDay: string;
|
|
463
|
+
SeeDetails: string;
|
|
464
|
+
UnexpectedError: string;
|
|
465
|
+
CheckRates: string;
|
|
466
|
+
BookNow: string;
|
|
467
|
+
Cancelled: string;
|
|
468
|
+
Save: string;
|
|
469
|
+
SaveAllChanges: string;
|
|
470
|
+
Submit: string;
|
|
471
|
+
Abort: string;
|
|
472
|
+
YesImSure: string;
|
|
473
|
+
ThisWillCancel: string;
|
|
474
|
+
CancellingReservation: string;
|
|
475
|
+
Loading: string;
|
|
476
|
+
BookAHotel: string;
|
|
477
|
+
ChooseHotel: string;
|
|
478
|
+
Guests: string;
|
|
479
|
+
Dates: string;
|
|
480
|
+
Apply: string;
|
|
481
|
+
ChooseDates: string;
|
|
482
|
+
HowManyGuests: string;
|
|
483
|
+
And: string;
|
|
484
|
+
LogOut: string;
|
|
485
|
+
Yes: string;
|
|
486
|
+
To: string;
|
|
487
|
+
ApplyNow: string;
|
|
360
488
|
};
|
|
361
489
|
FindReservation: {
|
|
362
490
|
FindYourReservation: string;
|
|
363
491
|
FindReservation: string;
|
|
492
|
+
GoToYourReservations: string;
|
|
364
493
|
Confirmation: string;
|
|
365
494
|
EmailAddress: string;
|
|
366
495
|
InvalidEmailAddress: string;
|
|
367
|
-
Submit: string;
|
|
368
496
|
Question: string;
|
|
369
497
|
Answer1: string;
|
|
370
498
|
Answer2: string;
|
|
@@ -372,15 +500,66 @@ export declare const Translation: {
|
|
|
372
500
|
Adults: string;
|
|
373
501
|
Children: string;
|
|
374
502
|
Back: string;
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
503
|
+
OrUseConfirmationItineraryNumber: string;
|
|
504
|
+
NoOnlineAccount: string;
|
|
505
|
+
SignUpToSaveTime: string;
|
|
506
|
+
SignInToLogin: string;
|
|
378
507
|
};
|
|
379
508
|
UserPortal: {
|
|
380
509
|
HomeScreen: {
|
|
381
510
|
BackToBooking: string;
|
|
382
511
|
Title: string;
|
|
383
512
|
Subtitle: string;
|
|
513
|
+
ViewAllBookings: string;
|
|
514
|
+
};
|
|
515
|
+
ProfileScreen: {
|
|
516
|
+
Validation: {
|
|
517
|
+
Password: {
|
|
518
|
+
DoesNotMatch: string;
|
|
519
|
+
IsNotValid: string;
|
|
520
|
+
};
|
|
521
|
+
Phone: {
|
|
522
|
+
IsTooLong: string;
|
|
523
|
+
IsNotValid: string;
|
|
524
|
+
};
|
|
525
|
+
Email: {
|
|
526
|
+
IsNotValid: string;
|
|
527
|
+
};
|
|
528
|
+
Common: {
|
|
529
|
+
ThisField: string;
|
|
530
|
+
IsRequired: string;
|
|
531
|
+
};
|
|
532
|
+
};
|
|
533
|
+
Field: {
|
|
534
|
+
Forename: string;
|
|
535
|
+
Surname: string;
|
|
536
|
+
Address: string;
|
|
537
|
+
City: string;
|
|
538
|
+
CurrentPassword: string;
|
|
539
|
+
NewPassword: string;
|
|
540
|
+
ConfirmPassword: string;
|
|
541
|
+
Country: string;
|
|
542
|
+
Zip: string;
|
|
543
|
+
};
|
|
544
|
+
DetailsSavedSuccessfully: string;
|
|
545
|
+
};
|
|
546
|
+
PaymentInformationScreen: {
|
|
547
|
+
DeleteCard: string;
|
|
548
|
+
SaveCard: string;
|
|
549
|
+
MarkAsDefault: string;
|
|
550
|
+
SavedCards: string;
|
|
551
|
+
YouDontHaveAnyCardsYet: string;
|
|
552
|
+
AddNewCard: string;
|
|
553
|
+
DefaultCard: string;
|
|
554
|
+
};
|
|
555
|
+
HelpScreen: {
|
|
556
|
+
NeedSomeHelp: string;
|
|
557
|
+
Name: string;
|
|
558
|
+
Telephone: string;
|
|
559
|
+
Message: string;
|
|
560
|
+
};
|
|
561
|
+
ReservationSingleScreen: {
|
|
562
|
+
Itinerary: string;
|
|
384
563
|
};
|
|
385
564
|
};
|
|
386
565
|
Reservation: {
|
|
@@ -394,7 +573,6 @@ export declare const Translation: {
|
|
|
394
573
|
Policy2: string;
|
|
395
574
|
PriceNote: string;
|
|
396
575
|
Print: string;
|
|
397
|
-
ProfileInformation: string;
|
|
398
576
|
Share: string;
|
|
399
577
|
Total: string;
|
|
400
578
|
CodeNumberInformation: string;
|
|
@@ -429,5 +607,15 @@ export declare const Translation: {
|
|
|
429
607
|
AlertDescription: string;
|
|
430
608
|
AlertTitle: string;
|
|
431
609
|
};
|
|
610
|
+
Notification: {
|
|
611
|
+
ThisRoomIsCancelled: {
|
|
612
|
+
Title: string;
|
|
613
|
+
Detail: string;
|
|
614
|
+
};
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
RecentSearch: {
|
|
618
|
+
SeeAllRooms: string;
|
|
619
|
+
RecentSearches: string;
|
|
432
620
|
};
|
|
433
621
|
};
|