@roomstay/frontend 2.1.1 → 2.1.2
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/main.bundle.js +1 -1
- package/dist/src/api/AddonAPI.d.ts +3 -3
- package/dist/src/api/AddonAPI.js +3 -3
- package/dist/src/api/AvailabilityAPI.d.ts +3 -3
- package/dist/src/api/AvailabilityAPI.js +5 -5
- package/dist/src/api/BaseAPI.js +1 -1
- package/dist/src/api/BookingAPI.d.ts +7 -7
- package/dist/src/api/BookingAPI.js +7 -7
- package/dist/src/api/ExchangeRateAPI.d.ts +2 -2
- package/dist/src/api/ExchangeRateAPI.js +1 -1
- package/dist/src/api/HotelAPI.d.ts +5 -5
- package/dist/src/api/HotelAPI.js +1 -1
- package/dist/src/api/MemberAPI.d.ts +1 -1
- package/dist/src/api/MemberAPI.js +1 -1
- package/dist/src/api/ReservationAPI.d.ts +6 -6
- package/dist/src/api/ReservationAPI.js +1 -1
- package/dist/src/api/SessionAPI.d.ts +1 -1
- package/dist/src/api/SessionAPI.js +1 -1
- package/dist/src/api/members-service/MembersServiceAPI.js +1 -1
- package/dist/src/components/User/Forms/ForgotPasswordForm.js +6 -6
- package/dist/src/components/User/Forms/SignInForm.js +9 -9
- package/dist/src/components/User/Forms/SignUpForm.js +11 -11
- package/dist/src/components/generic/Alert.d.ts +1 -1
- package/dist/src/components/generic/Alert.js +1 -1
- package/dist/src/components/generic/BEButton.d.ts +2 -2
- package/dist/src/components/generic/BEButton.js +2 -2
- package/dist/src/components/generic/BackButton.js +2 -2
- package/dist/src/components/generic/BookNowPayLaterInfoBlock.js +4 -4
- package/dist/src/components/generic/BookingWizard/BookingWizard.d.ts +2 -2
- package/dist/src/components/generic/BookingWizard/BookingWizard.js +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardContent.d.ts +2 -2
- package/dist/src/components/generic/BookingWizard/BookingWizardContent.js +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardContext.d.ts +1 -1
- package/dist/src/components/generic/BookingWizard/BookingWizardDateSelector/BookingWizardDateSelector.js +4 -4
- package/dist/src/components/generic/BookingWizard/BookingWizardGuestSelector/BookingWizardGuestSelector.js +6 -6
- package/dist/src/components/generic/BookingWizard/BookingWizardHotelSelector/BookingWizardHotelSelector.d.ts +2 -2
- package/dist/src/components/generic/BookingWizard/BookingWizardHotelSelector/BookingWizardHotelSelector.js +3 -3
- package/dist/src/components/generic/Card/Card/Card.js +1 -1
- package/dist/src/components/generic/Card/IconNavCard/IconNavCard.d.ts +2 -2
- package/dist/src/components/generic/Card/IconNavCard/IconNavCard.js +4 -4
- package/dist/src/components/generic/Checkbox/Checkbox.js +2 -2
- package/dist/src/components/generic/Currency.js +5 -5
- package/dist/src/components/generic/DateRangePicker/DateRangePicker.js +4 -4
- package/dist/src/components/generic/DateRangePicker/DateRangePickerDay.d.ts +1 -1
- package/dist/src/components/generic/DateRangePicker/DateRangePickerDay.js +2 -2
- package/dist/src/components/generic/DateRangePicker/DateRangePickerDays.js +3 -3
- package/dist/src/components/generic/DateRangePicker/DateRangePickerMonth.js +7 -7
- package/dist/src/components/generic/DateRangePicker/FloatingDateRangePicker.d.ts +1 -1
- package/dist/src/components/generic/DateRangePicker/FloatingDateRangePicker.js +2 -2
- package/dist/src/components/generic/Distance.js +2 -2
- package/dist/src/components/generic/Headline.d.ts +2 -2
- package/dist/src/components/generic/Icon/Icon.d.ts +1 -1
- package/dist/src/components/generic/Icon/Icon.js +1 -1
- package/dist/src/components/generic/IconText/IconText.d.ts +2 -2
- package/dist/src/components/generic/IconText/IconText.js +3 -3
- package/dist/src/components/generic/InputGroup/InputGroup.d.ts +1 -1
- package/dist/src/components/generic/Notification.d.ts +1 -1
- package/dist/src/components/generic/Notification.js +2 -2
- package/dist/src/components/generic/NumberIncrement.js +3 -3
- package/dist/src/components/generic/Overlay/Overlay.js +2 -2
- package/dist/src/components/generic/PasswordBox/PasswordBox.js +1 -1
- package/dist/src/components/generic/PaymentCard/CardTypeSelect.d.ts +1 -1
- package/dist/src/components/generic/PaymentCard/CardTypeSelect.js +4 -4
- package/dist/src/components/generic/PaymentCard/PaymentCard.d.ts +1 -1
- package/dist/src/components/generic/PaymentCard/PaymentCard.js +3 -3
- package/dist/src/components/generic/PaymentCard/PaymentCardInput.d.ts +1 -1
- package/dist/src/components/generic/PaymentCard/PaymentCardInput.js +9 -9
- package/dist/src/components/generic/Pill.d.ts +1 -1
- package/dist/src/components/generic/Pill.js +1 -1
- package/dist/src/components/generic/PromoCodeInput.js +6 -6
- package/dist/src/components/generic/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/dist/src/components/generic/RecentSearchesCard.d.ts +1 -1
- package/dist/src/components/generic/RecentSearchesCard.js +7 -7
- package/dist/src/components/generic/Select/Select.d.ts +1 -1
- package/dist/src/components/generic/Select/Select.js +6 -6
- package/dist/src/components/generic/Tabs/TabContext.d.ts +1 -1
- package/dist/src/components/generic/Tabs/TabLink.js +3 -3
- package/dist/src/components/generic/Tabs/TabRouteContainer.js +2 -2
- package/dist/src/components/generic/Tabs/Tabs.js +5 -5
- package/dist/src/components/generic/Text.d.ts +2 -2
- package/dist/src/components/generic/TextBox.d.ts +1 -1
- package/dist/src/components/generic/TextBox.js +1 -1
- package/dist/src/components/generic/Tooltip/Tooltip.js +1 -1
- package/dist/src/components/generic/badging/SSLSecureBadge.js +2 -2
- package/dist/src/components/generic/buttons/NextStepButton.d.ts +1 -1
- package/dist/src/components/generic/buttons/NextStepButton.js +5 -5
- package/dist/src/components/generic/custom/EnhancedPhoneNumberField/EnhancedPhoneNumberField.js +3 -3
- package/dist/src/components/generic/date/DatePicker.js +12 -12
- package/dist/src/components/generic/date/DatePickerDay.js +8 -8
- package/dist/src/components/generic/date/DatePickerDays.js +4 -4
- package/dist/src/components/generic/date/DatePickerMonth.js +6 -6
- package/dist/src/components/generic/date/DatePickerWeek.js +9 -9
- package/dist/src/components/generic/date/FloatingDatePicker.js +3 -3
- package/dist/src/components/generic/date/WeekViewSkeleton.js +3 -3
- package/dist/src/components/generic/loader/ImageLoader.d.ts +1 -1
- package/dist/src/components/generic/loader/ImageLoader.js +2 -2
- package/dist/src/components/generic/loader/LargeLoader.js +1 -1
- package/dist/src/components/generic/loader/SmallSpinner.d.ts +1 -1
- package/dist/src/components/generic/loader/SmallSpinner.js +2 -2
- package/dist/src/components/generic/map/HotelLocationMap.js +2 -2
- package/dist/src/components/generic/modal/ConfirmationModal.js +3 -3
- package/dist/src/components/generic/modal/ErrorModal.js +3 -3
- package/dist/src/components/generic/modal/SigninModal/AuthenticatedUserModal.js +8 -8
- package/dist/src/components/generic/modal/SigninModal/UnauthenticatedUserModal.js +10 -10
- package/dist/src/components/generic/modal/SimpleModal.js +7 -7
- package/dist/src/components/generic/modal/TabbedModal.js +1 -1
- package/dist/src/components/generic/radio/RadioFields.js +2 -2
- package/dist/src/components/members/EditMyProfile.js +7 -7
- package/dist/src/components/navigation/Header.js +16 -16
- package/dist/src/components/navigation/StepSelector.js +8 -8
- package/dist/src/components/navigation/StepSelectorModal.js +7 -7
- package/dist/src/components/pages/Account/Card/MemberCardItem.js +8 -8
- package/dist/src/components/pages/PageColorComponent.js +2 -2
- package/dist/src/components/reservation/ReservationItem.d.ts +1 -1
- package/dist/src/components/reservation/ReservationItem.js +13 -13
- package/dist/src/components/reservation/ReservationList.d.ts +2 -2
- package/dist/src/components/reservation/ReservationList.js +1 -1
- package/dist/src/components/steps/DaysSelectedInformer.js +3 -3
- package/dist/src/components/steps/MinimumNightStayPill.js +6 -6
- package/dist/src/components/steps/addons/AddonCard.d.ts +1 -1
- package/dist/src/components/steps/addons/AddonCard.js +10 -10
- package/dist/src/components/steps/addons/AddonList.js +9 -9
- package/dist/src/components/steps/addons/AddonsNotFound.js +3 -3
- package/dist/src/components/steps/common/CommonAddonSummary/CommonAddonSummary.d.ts +1 -1
- package/dist/src/components/steps/common/CommonAddonSummary/CommonAddonSummary.js +4 -4
- package/dist/src/components/steps/confirmation/AccountDetails.js +4 -4
- package/dist/src/components/steps/confirmation/PaymentDetails/AcceptablePaymentCard.js +3 -3
- package/dist/src/components/steps/confirmation/PaymentDetails/ExistingCardPicker.js +3 -3
- package/dist/src/components/steps/confirmation/PaymentDetails/StepConfirmationPaymentDetails.js +8 -8
- package/dist/src/components/steps/confirmation/PlanpayPaymentMethod.js +3 -3
- package/dist/src/components/steps/confirmation/RoomContactDetails.js +15 -15
- package/dist/src/components/steps/confirmation/StepConfirmationAcknowledgement.js +7 -7
- package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.d.ts +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationCheckoutDifferencesModal.js +11 -11
- package/dist/src/components/steps/confirmation/StepConfirmationCommentsComponent.d.ts +1 -1
- package/dist/src/components/steps/confirmation/StepConfirmationCommentsComponent.js +4 -4
- package/dist/src/components/steps/confirmation/StepConfirmationCountrySelector.js +2 -2
- package/dist/src/components/steps/confirmation/StepConfirmationForm.js +27 -27
- package/dist/src/components/steps/confirmation/StepConfirmationLimitedOffer.js +6 -6
- package/dist/src/components/steps/confirmation/StepConfirmationPoliciesSection.js +3 -3
- package/dist/src/components/steps/confirmation/StepConfirmationPolicyBlock.js +2 -2
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffers.js +11 -11
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersColumn.d.ts +1 -1
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersColumn.js +3 -3
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersModal.d.ts +2 -2
- package/dist/src/components/steps/confirmation/additionalOffers/AdditionalOffersModal.js +9 -9
- package/dist/src/components/steps/date/PeoplePicker.js +7 -7
- package/dist/src/components/steps/date/PeoplePickerRow.js +6 -6
- package/dist/src/components/steps/date/StepDatePricePerRoom.js +9 -9
- package/dist/src/components/steps/date/StepOneDateRange.js +4 -4
- package/dist/src/components/steps/date/StepOneDateRangePicker.js +4 -4
- package/dist/src/components/steps/date/StepOneDateRangePickerLegend.js +4 -4
- package/dist/src/components/steps/date/StepOneNextStepButton.js +4 -4
- package/dist/src/components/steps/date/StepOneStatusPeople.js +2 -2
- package/dist/src/components/steps/hotel/HotelCard.d.ts +1 -1
- package/dist/src/components/steps/hotel/HotelCard.js +14 -14
- package/dist/src/components/steps/hotel/HotelCardList.d.ts +1 -1
- package/dist/src/components/steps/hotel/HotelCardList.js +2 -2
- package/dist/src/components/steps/hotel/HotelCardModal.d.ts +1 -1
- package/dist/src/components/steps/hotel/HotelCardModal.js +13 -13
- package/dist/src/components/steps/hotel/HotelSearchParameters.js +13 -13
- package/dist/src/components/steps/hotel/NoHotelsAvailable.js +2 -2
- package/dist/src/components/steps/room/AvailableUpgradesModal.js +14 -14
- package/dist/src/components/steps/room/ImageGallerySlider.d.ts +1 -1
- package/dist/src/components/steps/room/ImageGallerySlider.js +5 -5
- package/dist/src/components/steps/room/InactivityWindow.js +13 -13
- package/dist/src/components/steps/room/LargeRoomCard.d.ts +1 -1
- package/dist/src/components/steps/room/LargeRoomCard.js +11 -11
- package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.js +15 -15
- package/dist/src/components/steps/room/MemberSignInModal/MemberSignInModal.types.d.ts +1 -1
- package/dist/src/components/steps/room/NoRoomsFoundBlock.js +12 -12
- package/dist/src/components/steps/room/RatesNotFound.js +3 -3
- package/dist/src/components/steps/room/RoomList.js +12 -12
- package/dist/src/components/steps/room/RoomListAlert.js +3 -3
- package/dist/src/components/steps/room/RoomListCrossSellBlock.js +10 -10
- package/dist/src/components/steps/room/RoomModal.d.ts +2 -2
- package/dist/src/components/steps/room/RoomModal.js +10 -10
- package/dist/src/components/steps/room/StepRoomAlertBlocks.js +5 -5
- package/dist/src/components/steps/room/StepRoomBestRateAlert.js +5 -5
- package/dist/src/components/steps/room/StepRoomErrorForm.js +11 -11
- package/dist/src/components/steps/room/StepRoomHotelDetails.js +5 -5
- package/dist/src/components/steps/room/StepRoomNextStepButton.js +3 -3
- package/dist/src/components/steps/room/StepRoomSortBy.js +5 -5
- package/dist/src/components/steps/room/StepRoomSummaryAndButton.js +6 -6
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfAdultsPicker.d.ts +1 -1
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfAdultsPicker.js +3 -3
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfChildrenPicker.d.ts +1 -1
- package/dist/src/components/steps/room/roomBuilderProgress/NumberOfChildrenPicker.js +3 -3
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgress.js +6 -6
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgressRow.d.ts +1 -1
- package/dist/src/components/steps/room/roomBuilderProgress/RoomBuilderProgressRow.js +15 -15
- package/dist/src/components/steps/room/roomDetails/RoomDetails.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetails.js +20 -20
- package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.d.ts +2 -2
- package/dist/src/components/steps/room/roomDetails/RoomDetailsBedsBlock.js +4 -4
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPerkBlock.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPerkBlock.js +4 -4
- package/dist/src/components/steps/room/roomDetails/RoomDetailsPriceBlock.js +8 -8
- package/dist/src/components/steps/room/roomDetails/RoomDetailsRetargeting.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/RoomDetailsRetargeting.js +13 -13
- package/dist/src/components/steps/room/roomDetails/roomRates/BookNowButton.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/BookNowButton.js +3 -3
- package/dist/src/components/steps/room/roomDetails/roomRates/MembersOnlyRow.js +8 -8
- package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/PriceBreakdownBlock.js +10 -10
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDescriptionTab.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDescriptionTab.js +10 -10
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDetailsAndPriceBreakdownModal.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateDetailsAndPriceBreakdownModal.js +4 -4
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateListPromotion/RoomRateListPromotion.js +6 -6
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.d.ts +2 -2
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRatePills.js +9 -9
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateRow.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRateRow.js +17 -17
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRates.d.ts +1 -1
- package/dist/src/components/steps/room/roomDetails/roomRates/RoomRates.js +11 -11
- package/dist/src/components/steps/room/roomFilter/AppliedFiltersBlock.js +5 -5
- package/dist/src/components/steps/room/roomFilter/RoomFilterOverlay.d.ts +1 -1
- package/dist/src/components/steps/room/roomFilter/RoomFilterOverlay.js +15 -15
- package/dist/src/components/steps/room/roomFilter/RoomFilterPriceSlider.d.ts +2 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterPriceSlider.js +7 -7
- package/dist/src/components/steps/room/roomFilter/RoomFilterRateType.d.ts +2 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterRateType.js +5 -5
- package/dist/src/components/steps/room/roomFilter/RoomFilterRoomType.d.ts +2 -2
- package/dist/src/components/steps/room/roomFilter/RoomFilterRoomType.js +5 -5
- package/dist/src/components/summary/BEMapWidget.js +5 -5
- package/dist/src/components/summary/BEMobileSummary.js +11 -11
- package/dist/src/components/summary/BEMobileSummaryModal.js +20 -20
- package/dist/src/components/summary/BESummary.d.ts +1 -1
- package/dist/src/components/summary/BESummary.js +15 -15
- package/dist/src/components/summary/BESummaryAddonRow.d.ts +1 -1
- package/dist/src/components/summary/BESummaryAddonRow.js +6 -6
- package/dist/src/components/summary/BESummaryPerkBlock.js +5 -5
- package/dist/src/components/summary/BESummaryPrivacyPolicy.js +4 -4
- package/dist/src/components/summary/BESummaryRoomRow.d.ts +1 -1
- package/dist/src/components/summary/BESummaryRoomRow.js +12 -12
- package/dist/src/components/summary/TransportDistanceFromHotelBlock.d.ts +1 -1
- package/dist/src/components/summary/TransportDistanceFromHotelBlock.js +6 -6
- package/dist/src/components/temp/Login.js +2 -2
- package/dist/src/containers/PrivateRoute.js +1 -1
- package/dist/src/contexts/BasketContext/BasketContext.d.ts +1 -1
- package/dist/src/contexts/BasketContext/BasketContextType.d.ts +6 -6
- package/dist/src/contexts/BasketContext/BasketContextWrapper.js +17 -17
- package/dist/src/contexts/BookingEngineContext/BookingEngineContext.d.ts +1 -1
- package/dist/src/contexts/BookingEngineContext/BookingEngineContextType.types.d.ts +5 -5
- package/dist/src/contexts/BookingEngineContext/BookingEngineContextWrapper.d.ts +1 -1
- package/dist/src/contexts/BookingEngineContext/BookingEngineContextWrapper.js +3 -3
- package/dist/src/contexts/CompanyContext/CompanyContext.d.ts +1 -1
- package/dist/src/contexts/CompanyContext/CompanyContextType.type.d.ts +5 -5
- package/dist/src/contexts/CompanyContext/CompanyContextWrapper.d.ts +1 -1
- package/dist/src/contexts/CompanyContext/CompanyContextWrapper.js +13 -13
- package/dist/src/contexts/ConfirmationStepContext/ConfirmationStepContextWrapper.js +3 -3
- package/dist/src/contexts/ErrorContext.js +2 -2
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContext.d.ts +1 -1
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextTypes.d.ts +1 -1
- package/dist/src/contexts/FullPageEngineContext/FullPageEngineContextWrapper.js +22 -22
- package/dist/src/contexts/HotelOverridesContext.d.ts +1 -1
- package/dist/src/contexts/HotelOverridesContext.js +4 -4
- package/dist/src/contexts/Members/AuthenticationContext/AuthenticationContextProvider.js +2 -2
- package/dist/src/contexts/Members/RoomstayMemberContext/RoomstayMemberContextProvider.js +2 -2
- package/dist/src/contexts/NotificationContext.d.ts +1 -1
- package/dist/src/contexts/NotificationContext.js +1 -1
- package/dist/src/engines/BaseEngine.d.ts +2 -2
- package/dist/src/engines/BaseEngine.js +2 -2
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngine.d.ts +4 -4
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngine.js +2 -2
- package/dist/src/engines/BookingWizardEngine/BookingWizardEngineElement.js +2 -2
- package/dist/src/engines/CustomEngine/CustomEngine.d.ts +1 -1
- package/dist/src/engines/CustomEngine/CustomEngine.js +1 -1
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngine.d.ts +2 -2
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngine.js +3 -3
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElement.d.ts +1 -1
- package/dist/src/engines/FullPageBookingEngine/FullPageBookingEngineElement.js +3 -3
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngine.d.ts +2 -2
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngine.js +3 -3
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.d.ts +1 -1
- package/dist/src/engines/InlineRoomMiniEngine/InlineRoomMiniEngineElement.js +23 -23
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngine.d.ts +2 -2
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngine.js +3 -3
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.d.ts +1 -1
- package/dist/src/engines/RecentSearchesEngine/RecentSearchesEngineElement.js +10 -10
- package/dist/src/errors/GetAvailabilityError.js +2 -2
- package/dist/src/events/RoomstayEventManager.d.ts +1 -1
- package/dist/src/events/actions/AddToCartEvent.d.ts +2 -2
- package/dist/src/events/actions/AddToCartEvent.js +1 -1
- package/dist/src/events/actions/GuestSearchEvent.d.ts +1 -1
- package/dist/src/events/actions/InitialHotelDetailsEvent.d.ts +1 -1
- package/dist/src/events/actions/MemberOnlyFence/MemberOnlyFenceSignUp.d.ts +1 -1
- package/dist/src/events/actions/Promotion/PromotionAddedEvent.d.ts +1 -1
- package/dist/src/events/actions/Promotion/PromotionClickedEvent.d.ts +1 -1
- package/dist/src/events/actions/Promotion/PromotionRemovedEvent.d.ts +1 -1
- package/dist/src/events/actions/RemoveFromCartEvent.d.ts +2 -2
- package/dist/src/events/actions/RemoveFromCartEvent.js +1 -1
- package/dist/src/events/actions/RoomListSearchEvent.d.ts +2 -2
- package/dist/src/events/index.d.ts +13 -13
- package/dist/src/events/index.js +13 -13
- package/dist/src/events/views/FindReservationResultsViewEvent.d.ts +1 -1
- package/dist/src/events/views/StepCheckoutViewEvent.d.ts +2 -2
- package/dist/src/events/views/StepCheckoutViewEvent.js +1 -1
- package/dist/src/events/views/StepThanksViewEvent.d.ts +1 -1
- package/dist/src/hooks/CurrentHotelHook.js +1 -1
- package/dist/src/hooks/EventHook.d.ts +2 -2
- package/dist/src/hooks/EventHook.js +1 -1
- package/dist/src/hooks/KeyboardControlOnSelect.d.ts +1 -1
- package/dist/src/hooks/LoggedInUserHook.d.ts +3 -3
- package/dist/src/hooks/LoggedInUserHook.js +1 -1
- package/dist/src/hooks/VGSHooks.d.ts +1 -1
- package/dist/src/hooks/VGSHooks.js +1 -1
- package/dist/src/hooks/WindowSize.js +2 -2
- package/dist/src/hooks/index.d.ts +6 -6
- package/dist/src/hooks/index.js +6 -6
- package/dist/src/icons/Check.js +1 -1
- package/dist/src/index.d.ts +66 -66
- package/dist/src/index.js +71 -71
- package/dist/src/mockApi/AddonAPI.d.ts +2 -2
- package/dist/src/mockApi/AddonAPI.js +2 -2
- package/dist/src/mockApi/BookingAPI.d.ts +1 -1
- package/dist/src/mockApi/BookingAPI.js +1 -1
- package/dist/src/mockApi/ExchangeRateAPI.d.ts +1 -1
- package/dist/src/mockApi/HotelAPI.d.ts +2 -2
- package/dist/src/mockApi/MockAPI.js +1 -1
- package/dist/src/mockApi/ReservationAPI.d.ts +5 -5
- package/dist/src/models/Api/HotelDTO.d.ts +6 -6
- package/dist/src/models/Api/HotelOverrideDTO.d.ts +1 -1
- package/dist/src/models/Api/ReservationsDTO.d.ts +1 -1
- package/dist/src/models/Api/RoomNightDTO.d.ts +1 -1
- package/dist/src/models/BasketAddonRow.d.ts +1 -1
- package/dist/src/models/BasketAddonRow.js +1 -1
- package/dist/src/models/BasketRow.d.ts +5 -5
- package/dist/src/models/BasketRow.js +1 -1
- package/dist/src/models/BookingWizard/BookingWizardProperty.d.ts +1 -1
- package/dist/src/models/Client/Hotel/Company.d.ts +2 -2
- package/dist/src/models/Client/Hotel/Hotel.d.ts +12 -12
- package/dist/src/models/Client/Hotel/HotelPerk.d.ts +1 -1
- package/dist/src/models/Room/Filters/BudgetFilter.d.ts +2 -2
- package/dist/src/models/Room/Filters/BudgetFilter.js +1 -1
- package/dist/src/models/Room/Filters/Filter.d.ts +1 -1
- package/dist/src/models/Room/Filters/RateTypeFilter.d.ts +2 -2
- package/dist/src/models/Room/Filters/RateTypeFilter.js +1 -1
- package/dist/src/models/Room/Filters/RoomTypeFilter.d.ts +2 -2
- package/dist/src/models/Room/Filters/RoomTypeFilter.js +1 -1
- package/dist/src/models/Room/Room.d.ts +3 -3
- package/dist/src/models/Room/Room.js +1 -1
- package/dist/src/models/Room/RoomRate.d.ts +4 -4
- package/dist/src/models/Room/RoomRate.js +3 -3
- package/dist/src/models/Room/RoomRateNight.d.ts +1 -1
- package/dist/src/models/Room/RoomRateNight.js +1 -1
- package/dist/src/models/RoomstaySession.d.ts +3 -3
- package/dist/src/pages/account/AccountHome/AccountHomePage.js +13 -13
- package/dist/src/pages/account/AccountRouter.js +9 -9
- package/dist/src/pages/account/Details/AccountDetailsCardsPage.js +10 -10
- package/dist/src/pages/account/Details/AccountDetailsNoCardsPage.d.ts +1 -1
- package/dist/src/pages/account/Details/AccountDetailsNoCardsPage.js +6 -6
- package/dist/src/pages/account/Details/AccountDetailsProfilePage.js +10 -10
- package/dist/src/pages/account/Help/AccountHelpPage.js +11 -11
- package/dist/src/pages/account/Reservations/AccountReservationCancelledPage.js +14 -14
- package/dist/src/pages/account/Reservations/AccountReservationMultiplePage.js +14 -14
- package/dist/src/pages/account/Reservations/AccountReservationSinglePage.js +18 -18
- package/dist/src/pages/account/Reservations/AccountReservationsPage.js +8 -8
- package/dist/src/pages/findReservation/FindReservation.js +19 -19
- package/dist/src/pages/findReservation/FindReservationResults.js +15 -15
- package/dist/src/pages/findReservation/ReservationRow.d.ts +1 -1
- package/dist/src/pages/findReservation/ReservationRow.js +13 -13
- package/dist/src/pages/findReservation/ReservationRowModal.d.ts +1 -1
- package/dist/src/pages/findReservation/ReservationRowModal.js +10 -10
- package/dist/src/pages/hotel/HotelInfo.js +11 -11
- package/dist/src/pages/hotel/HotelInfoPlaceholder.js +1 -1
- package/dist/src/pages/steps/Step.d.ts +4 -4
- package/dist/src/pages/steps/StepAddon/StepAddon.d.ts +5 -5
- package/dist/src/pages/steps/StepAddon/StepAddon.js +3 -3
- package/dist/src/pages/steps/StepAddon/StepAddonComponent.js +11 -11
- package/dist/src/pages/steps/StepAddon/StepAddonLoader.js +2 -2
- package/dist/src/pages/steps/StepAddon/StepAddonValidator.d.ts +2 -2
- package/dist/src/pages/steps/StepAddon/StepAddonValidator.js +1 -1
- package/dist/src/pages/steps/StepConfirmation/StepConfirmation.d.ts +6 -6
- package/dist/src/pages/steps/StepConfirmation/StepConfirmation.js +3 -3
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationComponent.js +15 -15
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationLoader.js +2 -2
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationValidator.d.ts +2 -2
- package/dist/src/pages/steps/StepConfirmation/StepConfirmationValidator.js +1 -1
- package/dist/src/pages/steps/StepDate/StepDate.js +3 -3
- package/dist/src/pages/steps/StepDate/StepDateComponent.js +17 -17
- package/dist/src/pages/steps/StepDate/StepDateValidator.d.ts +1 -1
- package/dist/src/pages/steps/StepDate/StepDateValidator.js +1 -1
- package/dist/src/pages/steps/StepGuide.d.ts +1 -1
- package/dist/src/pages/steps/StepGuide.js +6 -6
- package/dist/src/pages/steps/StepHotel/StepHotel.d.ts +4 -4
- package/dist/src/pages/steps/StepHotel/StepHotel.js +3 -3
- package/dist/src/pages/steps/StepHotel/StepHotelComponent.js +11 -11
- package/dist/src/pages/steps/StepHotel/StepHotelLoader.js +5 -5
- package/dist/src/pages/steps/StepHotel/StepHotelValidator.d.ts +1 -1
- package/dist/src/pages/steps/StepHotel/StepHotelValidator.js +1 -1
- package/dist/src/pages/steps/StepRoom/StepRoom.d.ts +6 -6
- package/dist/src/pages/steps/StepRoom/StepRoom.js +3 -3
- package/dist/src/pages/steps/StepRoom/StepRoomComponent.js +17 -17
- package/dist/src/pages/steps/StepRoom/StepRoomLoader.js +2 -2
- package/dist/src/pages/steps/StepRoom/StepRoomValidator.d.ts +2 -2
- package/dist/src/pages/steps/StepRoom/StepRoomValidator.js +1 -1
- package/dist/src/pages/steps/StepThanks/StepThanks.d.ts +6 -6
- package/dist/src/pages/steps/StepThanks/StepThanks.js +4 -4
- package/dist/src/pages/steps/StepThanks/StepThanksComponent.js +13 -13
- package/dist/src/pages/steps/StepThanks/StepThanksValidator.d.ts +2 -2
- package/dist/src/pages/steps/StepThanks/StepThanksValidator.js +1 -1
- package/dist/src/pages/steps/StepValidator.d.ts +1 -1
- package/dist/src/providers/CurrencyProvider.js +3 -3
- package/dist/src/providers/DistanceProvider.d.ts +1 -1
- package/dist/src/providers/DistanceProvider.js +1 -1
- package/dist/src/providers/FeatureProvider.js +8 -8
- package/dist/src/providers/FilterProvider.d.ts +3 -3
- package/dist/src/providers/FilterProvider.js +1 -1
- package/dist/src/providers/LanguageProvider.js +1 -1
- package/dist/src/providers/PromotionProvider.d.ts +3 -3
- package/dist/src/providers/PromotionProvider.js +7 -7
- package/dist/src/providers/RatePillProvider.d.ts +5 -5
- package/dist/src/providers/RoomSortProvider.d.ts +1 -1
- package/dist/src/providers/RoomstayThemeEngine.d.ts +3 -3
- package/dist/src/providers/RoomstayThemeEngine.js +1 -1
- package/dist/src/providers/SessionProvider.d.ts +1 -1
- package/dist/src/providers/SessionProvider.js +5 -5
- package/dist/src/providers/feature/ConfirmationVerifyFeature.d.ts +1 -1
- package/dist/src/providers/feature/ConfirmationVerifyFeature.js +1 -1
- package/dist/src/providers/feature/DatePickerTypeFeature.d.ts +1 -1
- package/dist/src/providers/feature/DatePickerTypeFeature.js +2 -2
- package/dist/src/providers/feature/E164PhoneNumberFieldFeature.d.ts +1 -1
- package/dist/src/providers/feature/E164PhoneNumberFieldFeature.js +1 -1
- package/dist/src/providers/feature/FeaturedPromoFeature.d.ts +1 -1
- package/dist/src/providers/feature/FeaturedPromoFeature.js +2 -2
- package/dist/src/providers/feature/InlineAddonStepFeature.d.ts +1 -1
- package/dist/src/providers/feature/InlineAddonStepFeature.js +3 -3
- package/dist/src/providers/feature/MemberPortalFeature.d.ts +1 -1
- package/dist/src/providers/feature/MemberPortalFeature.js +1 -1
- package/dist/src/providers/feature/RoomUpsellFeature.d.ts +1 -1
- package/dist/src/providers/feature/RoomUpsellFeature.js +1 -1
- package/dist/src/providers/feature/ShowIATANumberOnCheckoutFeature.d.ts +1 -1
- package/dist/src/providers/feature/ShowIATANumberOnCheckoutFeature.js +1 -1
- package/dist/src/providers/storage/LocalStorageProvider.d.ts +1 -1
- package/dist/src/providers/storage/LocalStorageProvider.js +1 -1
- package/dist/src/reducers/BasketReducer.d.ts +2 -2
- package/dist/src/reducers/BasketReducer.js +3 -3
- package/dist/src/routes/NaturallyProgressedStepRoute.d.ts +1 -1
- package/dist/src/routes/NaturallyProgressedStepRoute.js +6 -6
- package/dist/src/stories/Alert.stories.d.ts +1 -1
- package/dist/src/stories/Alert.stories.js +1 -1
- package/dist/src/stories/BackButton.stories.d.ts +1 -1
- package/dist/src/stories/BackButton.stories.js +1 -1
- package/dist/src/stories/BookNowPayLaterInfoBlock.stories.d.ts +1 -1
- package/dist/src/stories/BookNowPayLaterInfoBlock.stories.js +1 -1
- package/dist/src/stories/BookingWizard.stories.d.ts +1 -1
- package/dist/src/stories/BookingWizard.stories.js +1 -1
- package/dist/src/stories/Card.stories.js +1 -1
- package/dist/src/stories/CardTypeSelect.stories.d.ts +1 -1
- package/dist/src/stories/CardTypeSelect.stories.js +1 -1
- package/dist/src/stories/ConfirmationModal.stories.d.ts +1 -1
- package/dist/src/stories/ConfirmationModal.stories.js +1 -1
- package/dist/src/stories/Countdown.stories.d.ts +1 -1
- package/dist/src/stories/Countdown.stories.js +1 -1
- package/dist/src/stories/Currency.stories.d.ts +1 -1
- package/dist/src/stories/Currency.stories.js +1 -1
- package/dist/src/stories/DateRangePicker.stories.d.ts +1 -1
- package/dist/src/stories/DateRangePicker.stories.js +1 -1
- package/dist/src/stories/Distance.stories.d.ts +1 -1
- package/dist/src/stories/Distance.stories.js +1 -1
- package/dist/src/stories/ErrorModal.stories.d.ts +1 -1
- package/dist/src/stories/ErrorModal.stories.js +1 -1
- package/dist/src/stories/FloatingDateRangePicker.stories.d.ts +1 -1
- package/dist/src/stories/FloatingDateRangePicker.stories.js +2 -2
- package/dist/src/stories/ForwardedSelect.stories.d.ts +1 -1
- package/dist/src/stories/ForwardedSelect.stories.js +1 -1
- package/dist/src/stories/Headline.stories.d.ts +1 -1
- package/dist/src/stories/Headline.stories.js +1 -1
- package/dist/src/stories/LineBreak.stories.d.ts +1 -1
- package/dist/src/stories/LineBreak.stories.js +1 -1
- package/dist/src/stories/Notification.stories.d.ts +1 -1
- package/dist/src/stories/Notification.stories.js +2 -2
- package/dist/src/stories/NumberIncrement.stories.d.ts +1 -1
- package/dist/src/stories/NumberIncrement.stories.js +1 -1
- package/dist/src/stories/PaymentCard.stories.d.ts +1 -1
- package/dist/src/stories/PaymentCard.stories.js +1 -1
- package/dist/src/stories/PaymentCardInput.stories.d.ts +1 -1
- package/dist/src/stories/PaymentCardInput.stories.js +1 -1
- package/dist/src/stories/Pill.stories.d.ts +1 -1
- package/dist/src/stories/Pill.stories.js +1 -1
- package/dist/src/stories/Placeholder.stories.d.ts +1 -1
- package/dist/src/stories/Placeholder.stories.js +1 -1
- package/dist/src/stories/PlanpayButton.stories.d.ts +1 -1
- package/dist/src/stories/PlanpayButton.stories.js +1 -1
- package/dist/src/stories/PromoCodeInput.stories.d.ts +1 -1
- package/dist/src/stories/PromoCodeInput.stories.js +1 -1
- package/dist/src/stories/RadioButton.stories.d.ts +1 -1
- package/dist/src/stories/RadioButton.stories.js +1 -1
- package/dist/src/stories/RadioButtonGroup.stories.d.ts +1 -1
- package/dist/src/stories/RadioButtonGroup.stories.js +1 -1
- package/dist/src/stories/RadioFields.stories.d.ts +1 -1
- package/dist/src/stories/RadioFields.stories.js +1 -1
- package/dist/src/stories/Select.stories.d.ts +2 -2
- package/dist/src/stories/Select.stories.js +1 -1
- package/dist/src/stories/SimpleModal.stories.d.ts +1 -1
- package/dist/src/stories/SimpleModal.stories.js +1 -1
- package/dist/src/stories/Slider.stories.d.ts +3 -3
- package/dist/src/stories/Slider.stories.js +1 -1
- package/dist/src/stories/TabbedModal.stories.d.ts +1 -1
- package/dist/src/stories/TabbedModal.stories.js +1 -1
- package/dist/src/stories/Tabs.stories.d.ts +1 -1
- package/dist/src/stories/Tabs.stories.js +2 -2
- package/dist/src/stories/Text.stories.d.ts +1 -1
- package/dist/src/stories/Text.stories.js +1 -1
- package/dist/src/stories/TextArea.stories.js +1 -1
- package/dist/src/stories/TextBox.stories.d.ts +1 -1
- package/dist/src/stories/TextBox.stories.js +1 -1
- package/dist/src/stories/Tooltip.stories.d.ts +1 -1
- package/dist/src/stories/Tooltip.stories.js +1 -1
- package/dist/src/util/CalendarHelper.d.ts +1 -1
- package/dist/src/util/DataLayer.d.ts +6 -6
- package/dist/src/util/PaymentCardHelper.d.ts +1 -1
- package/dist/src/util/PaymentCardHelper.js +2 -2
- package/dist/src/util/StepManager.d.ts +1 -1
- package/dist/src/util/StepManager.js +1 -1
- package/dist/src/util/TotalCalculator.d.ts +2 -2
- package/dist/src/util/TotalCalculator.js +1 -1
- package/dist/test.bundle.js +1 -1
- package/dist/tests/jest/events/EventManager.test.js +1 -1
- package/dist/tests/offline/RoomstayBestRateAlert.js +1 -1
- package/dist/tests/offline/entry/RSCompany.js +1 -1
- package/dist/tests/offline/entry/ReactWrapper.js +1 -1
- package/dist/tests/offline/entry/components/TestPicker.js +5 -5
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import BaseAPI from '
|
|
2
|
-
import BasketRow from '
|
|
3
|
-
import { Addon } from '
|
|
1
|
+
import BaseAPI from '../../api/BaseAPI';
|
|
2
|
+
import BasketRow from '../../models/BasketRow';
|
|
3
|
+
import { Addon } from '../../models/Addon/Addon';
|
|
4
4
|
export default class AddonAPI extends BaseAPI {
|
|
5
5
|
private storedAddons;
|
|
6
6
|
findAddons: (basketRows: BasketRow[], hotelID: string) => Promise<Addon[]>;
|
package/dist/src/api/AddonAPI.js
CHANGED
|
@@ -35,9 +35,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
35
35
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
const BaseAPI_1 = __importStar(require("
|
|
39
|
-
const Addon_1 = require("
|
|
40
|
-
const RoomstayThemeEngine_1 = __importDefault(require("
|
|
38
|
+
const BaseAPI_1 = __importStar(require("../../api/BaseAPI"));
|
|
39
|
+
const Addon_1 = require("../../models/Addon/Addon");
|
|
40
|
+
const RoomstayThemeEngine_1 = __importDefault(require("../../providers/RoomstayThemeEngine"));
|
|
41
41
|
const Sentry = __importStar(require("@sentry/browser"));
|
|
42
42
|
class AddonAPI extends BaseAPI_1.default {
|
|
43
43
|
constructor() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import dayjs from 'dayjs';
|
|
2
|
-
import { Room } from '
|
|
3
|
-
import BaseAPI from '
|
|
4
|
-
import BasketRow from '
|
|
2
|
+
import { Room } from '../../models/Room/Room';
|
|
3
|
+
import BaseAPI from '../../api/BaseAPI';
|
|
4
|
+
import BasketRow from '../../models/BasketRow';
|
|
5
5
|
export default class AvailabilityAPI extends BaseAPI {
|
|
6
6
|
private roomTypesData;
|
|
7
7
|
private ratePlansData;
|
|
@@ -36,11 +36,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
};
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
const dayjs_1 = __importDefault(require("dayjs"));
|
|
39
|
-
const Room_1 = require("
|
|
40
|
-
const BaseAPI_1 = __importStar(require("
|
|
41
|
-
const RoomRate_1 = require("
|
|
42
|
-
const RoomRateNight_1 = __importDefault(require("
|
|
43
|
-
const RoomstayThemeEngine_1 = __importDefault(require("
|
|
39
|
+
const Room_1 = require("../../models/Room/Room");
|
|
40
|
+
const BaseAPI_1 = __importStar(require("../../api/BaseAPI"));
|
|
41
|
+
const RoomRate_1 = require("../../models/Room/RoomRate");
|
|
42
|
+
const RoomRateNight_1 = __importDefault(require("../../models/Room/RoomRateNight"));
|
|
43
|
+
const RoomstayThemeEngine_1 = __importDefault(require("../../providers/RoomstayThemeEngine"));
|
|
44
44
|
const BasketContextErrorHandler_1 = require("handlers/BasketContextErrorHandler");
|
|
45
45
|
const NoHotelSelectedError_1 = require("errors/NoHotelSelectedError");
|
|
46
46
|
const GetAvailabilityError_1 = __importDefault(require("errors/GetAvailabilityError"));
|
package/dist/src/api/BaseAPI.js
CHANGED
|
@@ -15,7 +15,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
exports.APIEndpoint = exports.API_DATE_FORMAT = void 0;
|
|
16
16
|
const auth_1 = __importDefault(require("@aws-amplify/auth"));
|
|
17
17
|
const dayjs_1 = __importDefault(require("dayjs"));
|
|
18
|
-
const RoomstayThemeEngine_1 = __importDefault(require("
|
|
18
|
+
const RoomstayThemeEngine_1 = __importDefault(require("../../providers/RoomstayThemeEngine"));
|
|
19
19
|
exports.API_DATE_FORMAT = 'YYYY-MM-DD';
|
|
20
20
|
var APIEndpoint;
|
|
21
21
|
(function (APIEndpoint) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import AvailabilityAPI from '
|
|
2
|
-
import HotelAPI from '
|
|
3
|
-
import ReservationAPI from '
|
|
4
|
-
import AddonAPI from '
|
|
1
|
+
import AvailabilityAPI from '../../api/AvailabilityAPI';
|
|
2
|
+
import HotelAPI from '../../api/HotelAPI';
|
|
3
|
+
import ReservationAPI from '../../api/ReservationAPI';
|
|
4
|
+
import AddonAPI from '../../api/AddonAPI';
|
|
5
5
|
import MockAddonAPI from 'mockApi/AddonAPI';
|
|
6
|
-
import ExchangeRateAPI from '
|
|
7
|
-
import MemberAPI from '
|
|
8
|
-
import SessionAPI from '
|
|
6
|
+
import ExchangeRateAPI from '../../api/ExchangeRateAPI';
|
|
7
|
+
import MemberAPI from '../../api/MemberAPI';
|
|
8
|
+
import SessionAPI from '../../api/SessionAPI';
|
|
9
9
|
import ErrorAPI from './ErrorAPI';
|
|
10
10
|
declare const API: {
|
|
11
11
|
Availability: AvailabilityAPI;
|
|
@@ -3,13 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const AvailabilityAPI_1 = __importDefault(require("
|
|
7
|
-
const HotelAPI_1 = __importDefault(require("
|
|
8
|
-
const ReservationAPI_1 = __importDefault(require("
|
|
9
|
-
const AddonAPI_1 = __importDefault(require("
|
|
10
|
-
const ExchangeRateAPI_1 = __importDefault(require("
|
|
11
|
-
const MemberAPI_1 = __importDefault(require("
|
|
12
|
-
const SessionAPI_1 = __importDefault(require("
|
|
6
|
+
const AvailabilityAPI_1 = __importDefault(require("../../api/AvailabilityAPI"));
|
|
7
|
+
const HotelAPI_1 = __importDefault(require("../../api/HotelAPI"));
|
|
8
|
+
const ReservationAPI_1 = __importDefault(require("../../api/ReservationAPI"));
|
|
9
|
+
const AddonAPI_1 = __importDefault(require("../../api/AddonAPI"));
|
|
10
|
+
const ExchangeRateAPI_1 = __importDefault(require("../../api/ExchangeRateAPI"));
|
|
11
|
+
const MemberAPI_1 = __importDefault(require("../../api/MemberAPI"));
|
|
12
|
+
const SessionAPI_1 = __importDefault(require("../../api/SessionAPI"));
|
|
13
13
|
const BookingAPI_1 = __importDefault(require("mockApi/BookingAPI"));
|
|
14
14
|
const ErrorAPI_1 = __importDefault(require("./ErrorAPI"));
|
|
15
15
|
const API = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import BaseAPI from '
|
|
2
|
-
import { ExchangeRateDTO } from '
|
|
1
|
+
import BaseAPI from '../../api/BaseAPI';
|
|
2
|
+
import { ExchangeRateDTO } from '../../models/Api/ExchangeRateDTO';
|
|
3
3
|
export default class ExchangeRateAPI extends BaseAPI {
|
|
4
4
|
private cache;
|
|
5
5
|
fetchData: (currencyCode: string) => Promise<ExchangeRateDTO>;
|
|
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const BaseAPI_1 = __importDefault(require("
|
|
15
|
+
const BaseAPI_1 = __importDefault(require("../../api/BaseAPI"));
|
|
16
16
|
class ExchangeRateAPI extends BaseAPI_1.default {
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import BaseAPI from '
|
|
2
|
-
import HotelDTO from '
|
|
3
|
-
import { Language } from '
|
|
4
|
-
import { Hotel } from '
|
|
5
|
-
import { HotelOverrideDTO } from '
|
|
1
|
+
import BaseAPI from '../../api/BaseAPI';
|
|
2
|
+
import HotelDTO from '../../models/Api/HotelDTO';
|
|
3
|
+
import { Language } from '../../providers/LanguageProvider';
|
|
4
|
+
import { Hotel } from '../../models/Client/Hotel/Hotel';
|
|
5
|
+
import { HotelOverrideDTO } from '../../models/Api/HotelOverrideDTO';
|
|
6
6
|
export default class HotelAPI extends BaseAPI {
|
|
7
7
|
private cachedResponses;
|
|
8
8
|
private pendingQueries;
|
package/dist/src/api/HotelAPI.js
CHANGED
|
@@ -12,7 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const BaseAPI_1 = __importDefault(require("
|
|
15
|
+
const BaseAPI_1 = __importDefault(require("../../api/BaseAPI"));
|
|
16
16
|
class HotelAPI extends BaseAPI_1.default {
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments);
|
|
@@ -32,7 +32,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
-
const BaseAPI_1 = __importStar(require("
|
|
35
|
+
const BaseAPI_1 = __importStar(require("../../api/BaseAPI"));
|
|
36
36
|
class MemberAPI extends BaseAPI_1.default {
|
|
37
37
|
constructor() {
|
|
38
38
|
super(...arguments);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import BaseAPI from '
|
|
2
|
-
import BasketRow from '
|
|
3
|
-
import UserProfile from '
|
|
4
|
-
import PaymentCard from '
|
|
5
|
-
import ReservationsDTO from '
|
|
6
|
-
import BasketAddonRow from '
|
|
1
|
+
import BaseAPI from '../../api/BaseAPI';
|
|
2
|
+
import BasketRow from '../../models/BasketRow';
|
|
3
|
+
import UserProfile from '../../models/UserProfile';
|
|
4
|
+
import PaymentCard from '../../models/PaymentCard';
|
|
5
|
+
import ReservationsDTO from '../../models/Api/ReservationsDTO';
|
|
6
|
+
import BasketAddonRow from '../../models/BasketAddonRow';
|
|
7
7
|
import { IBookingPayment } from '@roomstay/core';
|
|
8
8
|
export declare enum EPaymentMethod {
|
|
9
9
|
PLANPAY = "Planpay",
|
|
@@ -33,7 +33,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
33
33
|
};
|
|
34
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
35
|
exports.EPaymentMethod = void 0;
|
|
36
|
-
const BaseAPI_1 = __importStar(require("
|
|
36
|
+
const BaseAPI_1 = __importStar(require("../../api/BaseAPI"));
|
|
37
37
|
var EPaymentMethod;
|
|
38
38
|
(function (EPaymentMethod) {
|
|
39
39
|
EPaymentMethod["PLANPAY"] = "Planpay";
|
|
@@ -32,7 +32,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
34
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
-
const BaseAPI_1 = __importStar(require("
|
|
35
|
+
const BaseAPI_1 = __importStar(require("../../api/BaseAPI"));
|
|
36
36
|
class SessionAPI extends BaseAPI_1.default {
|
|
37
37
|
constructor() {
|
|
38
38
|
super(...arguments);
|
|
@@ -13,7 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.DeleteMemberCard = exports.EditMemberCard = exports.AddMemberCard = exports.UpdateMemberDetails = exports.GetMemberDetails = void 0;
|
|
16
|
-
const BaseAPI_1 = __importDefault(require("
|
|
16
|
+
const BaseAPI_1 = __importDefault(require("../../../api/BaseAPI"));
|
|
17
17
|
const get = (path) => __awaiter(void 0, void 0, void 0, function* () {
|
|
18
18
|
const headers = yield BaseAPI_1.default.getBaseHeaders();
|
|
19
19
|
return (fetch(`${MEMBERS_API_URL}${path}`, {
|
|
@@ -39,14 +39,14 @@ exports.ForgotPasswordForm = void 0;
|
|
|
39
39
|
const React = __importStar(require("react"));
|
|
40
40
|
const react_1 = require("react");
|
|
41
41
|
const react_i18next_1 = require("react-i18next");
|
|
42
|
-
const Headline_1 = __importDefault(require("
|
|
43
|
-
const Color_1 = require("
|
|
42
|
+
const Headline_1 = __importDefault(require("../../../../components/generic/Headline"));
|
|
43
|
+
const Color_1 = require("../../../../util/Color");
|
|
44
44
|
const Translation_1 = require("translations/Translation");
|
|
45
|
-
const Text_1 = __importStar(require("
|
|
46
|
-
const TextBox_1 = __importDefault(require("
|
|
45
|
+
const Text_1 = __importStar(require("../../../../components/generic/Text"));
|
|
46
|
+
const TextBox_1 = __importDefault(require("../../../../components/generic/TextBox"));
|
|
47
47
|
const react_hook_form_1 = require("react-hook-form");
|
|
48
|
-
const BEButton_1 = __importDefault(require("
|
|
49
|
-
const contexts_1 = require("
|
|
48
|
+
const BEButton_1 = __importDefault(require("../../../../components/generic/BEButton"));
|
|
49
|
+
const contexts_1 = require("../../../../contexts/index.js");
|
|
50
50
|
const AutoAutoHeight_1 = __importDefault(require("animations/AutoAutoHeight"));
|
|
51
51
|
const Validation_1 = require("../../../util/Validation");
|
|
52
52
|
const PasswordBox_1 = require("../../generic/PasswordBox/PasswordBox");
|
|
@@ -33,15 +33,15 @@ const react_i18next_1 = require("react-i18next");
|
|
|
33
33
|
const react_1 = require("react");
|
|
34
34
|
const Translation_1 = require("translations/Translation");
|
|
35
35
|
const AutoAutoHeight_1 = __importDefault(require("animations/AutoAutoHeight"));
|
|
36
|
-
const contexts_1 = require("
|
|
37
|
-
const Headline_1 = __importDefault(require("
|
|
38
|
-
const Text_1 = __importStar(require("
|
|
39
|
-
const Color_1 = require("
|
|
40
|
-
const Alert_1 = __importStar(require("
|
|
41
|
-
const Icon_1 = require("
|
|
42
|
-
const TextBox_1 = __importDefault(require("
|
|
43
|
-
const BEButton_1 = __importDefault(require("
|
|
44
|
-
const PasswordBox_1 = require("
|
|
36
|
+
const contexts_1 = require("../../../../contexts/index.js");
|
|
37
|
+
const Headline_1 = __importDefault(require("../../../../components/generic/Headline"));
|
|
38
|
+
const Text_1 = __importStar(require("../../../../components/generic/Text"));
|
|
39
|
+
const Color_1 = require("../../../../util/Color");
|
|
40
|
+
const Alert_1 = __importStar(require("../../../../components/generic/Alert"));
|
|
41
|
+
const Icon_1 = require("../../../../components/generic/Icon/Icon");
|
|
42
|
+
const TextBox_1 = __importDefault(require("../../../../components/generic/TextBox"));
|
|
43
|
+
const BEButton_1 = __importDefault(require("../../../../components/generic/BEButton"));
|
|
44
|
+
const PasswordBox_1 = require("../../../../components/generic/PasswordBox/PasswordBox");
|
|
45
45
|
const SignInForm = (props) => {
|
|
46
46
|
const { t } = (0, react_i18next_1.useTranslation)();
|
|
47
47
|
const { cognitoLoginState, loading, error, login, confirmAccount, forgotPassword, reset } = (0, react_1.useContext)(contexts_1.AuthenticationContext);
|
|
@@ -33,17 +33,17 @@ const react_i18next_1 = require("react-i18next");
|
|
|
33
33
|
const react_1 = require("react");
|
|
34
34
|
const Translation_1 = require("translations/Translation");
|
|
35
35
|
const AutoAutoHeight_1 = __importDefault(require("animations/AutoAutoHeight"));
|
|
36
|
-
const contexts_1 = require("
|
|
37
|
-
const InputGroup_1 = __importDefault(require("
|
|
38
|
-
const Checkbox_1 = __importDefault(require("
|
|
39
|
-
const hooks_1 = require("
|
|
40
|
-
const Headline_1 = __importDefault(require("
|
|
41
|
-
const Color_1 = require("
|
|
42
|
-
const Alert_1 = __importStar(require("
|
|
43
|
-
const Text_1 = __importStar(require("
|
|
44
|
-
const Icon_1 = require("
|
|
45
|
-
const TextBox_1 = __importDefault(require("
|
|
46
|
-
const BEButton_1 = __importDefault(require("
|
|
36
|
+
const contexts_1 = require("../../../../contexts/index.js");
|
|
37
|
+
const InputGroup_1 = __importDefault(require("../../../../components/generic/InputGroup/InputGroup"));
|
|
38
|
+
const Checkbox_1 = __importDefault(require("../../../../components/generic/Checkbox/Checkbox"));
|
|
39
|
+
const hooks_1 = require("../../../../hooks/index.js");
|
|
40
|
+
const Headline_1 = __importDefault(require("../../../../components/generic/Headline"));
|
|
41
|
+
const Color_1 = require("../../../../util/Color");
|
|
42
|
+
const Alert_1 = __importStar(require("../../../../components/generic/Alert"));
|
|
43
|
+
const Text_1 = __importStar(require("../../../../components/generic/Text"));
|
|
44
|
+
const Icon_1 = require("../../../../components/generic/Icon/Icon");
|
|
45
|
+
const TextBox_1 = __importDefault(require("../../../../components/generic/TextBox"));
|
|
46
|
+
const BEButton_1 = __importDefault(require("../../../../components/generic/BEButton"));
|
|
47
47
|
const Validation_1 = require("../../../util/Validation");
|
|
48
48
|
const PasswordBox_1 = require("../../generic/PasswordBox/PasswordBox");
|
|
49
49
|
const SignUpForm = (props) => {
|
|
@@ -28,7 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.AlertVariant = exports.AlertType = void 0;
|
|
30
30
|
const React = __importStar(require("react"));
|
|
31
|
-
const Icon_1 = __importDefault(require("
|
|
31
|
+
const Icon_1 = __importDefault(require("../../../components/generic/Icon/Icon"));
|
|
32
32
|
const classnames_1 = __importDefault(require("classnames"));
|
|
33
33
|
var AlertType;
|
|
34
34
|
(function (AlertType) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IconType } from '
|
|
1
|
+
import { IconType } from '../../../components/generic/Icon/Icon';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { PropsWithChildren } from 'react';
|
|
4
|
-
import { Color } from '
|
|
4
|
+
import { Color } from '../../../util/Color';
|
|
5
5
|
export interface BEButtonProps extends PropsWithChildren<any> {
|
|
6
6
|
[x: string]: React.ReactNode;
|
|
7
7
|
icon?: IconType;
|
|
@@ -26,10 +26,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
const Icon_1 = __importStar(require("
|
|
29
|
+
const Icon_1 = __importStar(require("../../../components/generic/Icon/Icon"));
|
|
30
30
|
const React = __importStar(require("react"));
|
|
31
31
|
const classnames_1 = __importDefault(require("classnames"));
|
|
32
|
-
const Color_1 = require("
|
|
32
|
+
const Color_1 = require("../../../util/Color");
|
|
33
33
|
function BEButton(props) {
|
|
34
34
|
const defaultProps = Object.assign({ size: 'normal', disabled: false, iconPosition: 'left', htmlType: 'button' }, props);
|
|
35
35
|
const classes = (0, classnames_1.default)({
|
|
@@ -27,8 +27,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const React = __importStar(require("react"));
|
|
30
|
-
const Icon_1 = require("
|
|
31
|
-
const BEButton_1 = __importDefault(require("
|
|
30
|
+
const Icon_1 = require("../../../components/generic/Icon/Icon");
|
|
31
|
+
const BEButton_1 = __importDefault(require("../../../components/generic/BEButton"));
|
|
32
32
|
const react_i18next_1 = require("react-i18next");
|
|
33
33
|
const Translation_1 = require("translations/Translation");
|
|
34
34
|
function BackButton(props) {
|
|
@@ -29,11 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.BookNowPayLaterInfoBlock = void 0;
|
|
30
30
|
const React = __importStar(require("react"));
|
|
31
31
|
const react_i18next_1 = require("react-i18next");
|
|
32
|
-
const hooks_1 = require("
|
|
32
|
+
const hooks_1 = require("../../../hooks/index.js");
|
|
33
33
|
const Translation_1 = require("translations/Translation");
|
|
34
|
-
const Color_1 = require("
|
|
35
|
-
const BookNowPayLaterIcon_1 = __importDefault(require("
|
|
36
|
-
const Text_1 = __importStar(require("
|
|
34
|
+
const Color_1 = require("../../../util/Color");
|
|
35
|
+
const BookNowPayLaterIcon_1 = __importDefault(require("../../../components/iconComponents/BookNowPayLaterIcon"));
|
|
36
|
+
const Text_1 = __importStar(require("../../../components/generic/Text"));
|
|
37
37
|
function BookNowPayLaterInfoBlock() {
|
|
38
38
|
var _a, _b;
|
|
39
39
|
const { t } = (0, react_i18next_1.useTranslation)();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BookingWizardContentProps } from './BookingWizardContent';
|
|
3
3
|
import { BookingWizardContextType, BookingWizardLayout, BookingWizardTheme } from './BookingWizardContext';
|
|
4
|
-
import { TBookingWizardProperties } from '
|
|
5
|
-
import { BookingWizardProperty } from '
|
|
4
|
+
import { TBookingWizardProperties } from '../../../../models/BookingWizard/BookingWizardTypes';
|
|
5
|
+
import { BookingWizardProperty } from '../../../../models/BookingWizard/BookingWizardProperty';
|
|
6
6
|
export declare enum EBookingWizardTheme {
|
|
7
7
|
Default = "default",
|
|
8
8
|
Specific = "specific"
|
|
@@ -28,7 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.EBookingWizardTheme = void 0;
|
|
30
30
|
const classnames_1 = __importDefault(require("classnames"));
|
|
31
|
-
const WindowSize_1 = require("
|
|
31
|
+
const WindowSize_1 = require("../../../../hooks/WindowSize");
|
|
32
32
|
const react_1 = __importStar(require("react"));
|
|
33
33
|
const BEButton_1 = __importDefault(require("../BEButton"));
|
|
34
34
|
const Icon_1 = __importStar(require("../Icon/Icon"));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import 'react-spring-bottom-sheet/dist/style.css';
|
|
3
|
-
import { BookingWizardProperty } from '
|
|
4
|
-
import { TBookingWizardProperties } from '
|
|
3
|
+
import { BookingWizardProperty } from '../../../../models/BookingWizard/BookingWizardProperty';
|
|
4
|
+
import { TBookingWizardProperties } from '../../../../models/BookingWizard/BookingWizardTypes';
|
|
5
5
|
export interface BookingWizardContentProps {
|
|
6
6
|
defaultColors: BookingWizardProperty['colors'];
|
|
7
7
|
properties: TBookingWizardProperties;
|
|
@@ -37,7 +37,7 @@ const BookingWizardDateSelector_1 = require("./BookingWizardDateSelector/Booking
|
|
|
37
37
|
const BookingWizardGuestSelector_1 = require("./BookingWizardGuestSelector/BookingWizardGuestSelector");
|
|
38
38
|
const BookingWizardHotelSelector_1 = require("./BookingWizardHotelSelector/BookingWizardHotelSelector");
|
|
39
39
|
require("react-spring-bottom-sheet/dist/style.css");
|
|
40
|
-
const RoomstayThemeEngine_1 = __importDefault(require("
|
|
40
|
+
const RoomstayThemeEngine_1 = __importDefault(require("../../../../providers/RoomstayThemeEngine"));
|
|
41
41
|
const BookingWizardContent = ({ properties, selectedProperty: defaultProperty, defaultColors }) => {
|
|
42
42
|
const bwContext = (0, react_1.useContext)(BookingWizardContext_1.BookingWizardContext);
|
|
43
43
|
const [checkInDate, setCheckInDate] = (0, react_1.useState)((0, dayjs_1.default)());
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { Placement } from '@popperjs/core';
|
|
3
3
|
import * as dayjs from 'dayjs';
|
|
4
|
-
import type ColorProfile from '
|
|
4
|
+
import type ColorProfile from '../../../../models/Client/Hotel/ColorProfile';
|
|
5
5
|
import { EBookingWizardTheme } from './BookingWizard';
|
|
6
6
|
export type BookingWizardLayout = 'vertical' | 'horizontal' | 'button';
|
|
7
7
|
export type BookingWizardOverlayType = 'popup' | 'inline' | 'bottom-sheet';
|
|
@@ -31,10 +31,10 @@ const classnames_1 = __importDefault(require("classnames"));
|
|
|
31
31
|
const dayjs_1 = __importDefault(require("dayjs"));
|
|
32
32
|
const react_1 = __importStar(require("react"));
|
|
33
33
|
const AutoAutoHeight_1 = __importDefault(require("animations/AutoAutoHeight"));
|
|
34
|
-
const BEButton_1 = __importDefault(require("
|
|
35
|
-
const DateRangePicker_1 = __importDefault(require("
|
|
36
|
-
const Icon_1 = __importStar(require("
|
|
37
|
-
const WindowSize_1 = require("
|
|
34
|
+
const BEButton_1 = __importDefault(require("../../../../../components/generic/BEButton"));
|
|
35
|
+
const DateRangePicker_1 = __importDefault(require("../../../../../components/generic/DateRangePicker/DateRangePicker"));
|
|
36
|
+
const Icon_1 = __importStar(require("../../../../../components/generic/Icon/Icon"));
|
|
37
|
+
const WindowSize_1 = require("../../../../../hooks/WindowSize");
|
|
38
38
|
const FloatingDateRangePicker_1 = __importDefault(require("../../DateRangePicker/FloatingDateRangePicker"));
|
|
39
39
|
const Text_1 = __importDefault(require("../../Text"));
|
|
40
40
|
const BookingWizard_module_scss_1 = __importDefault(require("../BookingWizard.module.scss"));
|
|
@@ -30,15 +30,15 @@ exports.BookingWizardGuestSelector = void 0;
|
|
|
30
30
|
const classnames_1 = __importDefault(require("classnames"));
|
|
31
31
|
const react_1 = __importStar(require("react"));
|
|
32
32
|
const AutoAutoHeight_1 = __importDefault(require("animations/AutoAutoHeight"));
|
|
33
|
-
const BEButton_1 = __importDefault(require("
|
|
34
|
-
const Icon_1 = __importStar(require("
|
|
35
|
-
const NumberIncrement_1 = __importDefault(require("
|
|
36
|
-
const Overlay_1 = require("
|
|
37
|
-
const Text_1 = __importDefault(require("
|
|
33
|
+
const BEButton_1 = __importDefault(require("../../../../../components/generic/BEButton"));
|
|
34
|
+
const Icon_1 = __importStar(require("../../../../../components/generic/Icon/Icon"));
|
|
35
|
+
const NumberIncrement_1 = __importDefault(require("../../../../../components/generic/NumberIncrement"));
|
|
36
|
+
const Overlay_1 = require("../../../../../components/generic/Overlay/Overlay");
|
|
37
|
+
const Text_1 = __importDefault(require("../../../../../components/generic/Text"));
|
|
38
38
|
const BookingWizardContext_1 = require("../BookingWizardContext");
|
|
39
39
|
const BookingWizardGuestSelector_module_scss_1 = __importDefault(require("./BookingWizardGuestSelector.module.scss"));
|
|
40
40
|
const BookingWizardBottomSheet_1 = __importDefault(require("../BookingWizardBottomSheet/BookingWizardBottomSheet"));
|
|
41
|
-
const StringHelper_1 = __importDefault(require("
|
|
41
|
+
const StringHelper_1 = __importDefault(require("../../../../../util/StringHelper"));
|
|
42
42
|
const BookingWizardGuestSelector = ({ onChange }) => {
|
|
43
43
|
const { overlay, type: overlayType, theme } = (0, BookingWizardContext_1.useBookingWizard)();
|
|
44
44
|
const ref = (0, react_1.useRef)(null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BookingWizardProperty } from '
|
|
2
|
-
import { TBookingWizardProperties } from '
|
|
1
|
+
import { BookingWizardProperty } from '../../../../../models/BookingWizard/BookingWizardProperty';
|
|
2
|
+
import { TBookingWizardProperties } from '../../../../../models/BookingWizard/BookingWizardTypes';
|
|
3
3
|
interface BookingWizardHotelSelectorProps {
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
selectedProperty?: BookingWizardProperty;
|
|
@@ -30,9 +30,9 @@ exports.BookingWizardHotelSelector = void 0;
|
|
|
30
30
|
const classnames_1 = __importDefault(require("classnames"));
|
|
31
31
|
const react_1 = __importStar(require("react"));
|
|
32
32
|
const AutoAutoHeight_1 = __importDefault(require("animations/AutoAutoHeight"));
|
|
33
|
-
const Icon_1 = __importStar(require("
|
|
34
|
-
const Text_1 = __importStar(require("
|
|
35
|
-
const Color_1 = require("
|
|
33
|
+
const Icon_1 = __importStar(require("../../../../../components/generic/Icon/Icon"));
|
|
34
|
+
const Text_1 = __importStar(require("../../../../../components/generic/Text"));
|
|
35
|
+
const Color_1 = require("../../../../../util/Color");
|
|
36
36
|
const Select_1 = require("../../Select/Select");
|
|
37
37
|
const BookingWizardContext_1 = require("../BookingWizardContext");
|
|
38
38
|
const BookingWizardHotelSelector_module_scss_1 = __importDefault(require("./BookingWizardHotelSelector.module.scss"));
|
|
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.Card = void 0;
|
|
30
30
|
const React = __importStar(require("react"));
|
|
31
31
|
const Card_module_scss_1 = __importDefault(require("./Card.module.scss"));
|
|
32
|
-
const Text_1 = __importDefault(require("
|
|
32
|
+
const Text_1 = __importDefault(require("../../../../../components/generic/Text"));
|
|
33
33
|
const classnames_1 = __importDefault(require("classnames"));
|
|
34
34
|
const Card = ({ title, children, className }) => {
|
|
35
35
|
return (React.createElement("div", { className: (0, classnames_1.default)(Card_module_scss_1.default.root, className) },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IconType } from '
|
|
2
|
-
import { Color } from '
|
|
1
|
+
import { IconType } from '../../../../../components/generic/Icon/Icon';
|
|
2
|
+
import { Color } from '../../../../../util/Color';
|
|
3
3
|
type IconNavCardProps = {
|
|
4
4
|
icon: IconType;
|
|
5
5
|
title: string;
|
|
@@ -29,11 +29,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.IconNavCard = void 0;
|
|
30
30
|
const React = __importStar(require("react"));
|
|
31
31
|
const IconNavCard_module_scss_1 = __importDefault(require("./IconNavCard.module.scss"));
|
|
32
|
-
const Icon_1 = __importStar(require("
|
|
33
|
-
const Color_1 = require("
|
|
34
|
-
const Text_1 = __importStar(require("
|
|
32
|
+
const Icon_1 = __importStar(require("../../../../../components/generic/Icon/Icon"));
|
|
33
|
+
const Color_1 = require("../../../../../util/Color");
|
|
34
|
+
const Text_1 = __importStar(require("../../../../../components/generic/Text"));
|
|
35
35
|
const react_router_dom_1 = require("react-router-dom");
|
|
36
|
-
const BEButton_1 = __importDefault(require("
|
|
36
|
+
const BEButton_1 = __importDefault(require("../../../../../components/generic/BEButton"));
|
|
37
37
|
const IconNavCard = (props) => {
|
|
38
38
|
var _a;
|
|
39
39
|
const { title, icon, description, link } = props;
|
|
@@ -38,8 +38,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
38
38
|
};
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
const React = __importStar(require("react"));
|
|
41
|
-
const Icon_1 = __importStar(require("
|
|
42
|
-
const Text_1 = __importStar(require("
|
|
41
|
+
const Icon_1 = __importStar(require("../../../../components/generic/Icon/Icon"));
|
|
42
|
+
const Text_1 = __importStar(require("../../../../components/generic/Text"));
|
|
43
43
|
const Checkbox_module_scss_1 = __importDefault(require("./Checkbox.module.scss"));
|
|
44
44
|
exports.default = React.forwardRef(function Checkbox(props, ref) {
|
|
45
45
|
const { label, checked, onChange: onCallbackChange } = props, restProps = __rest(props, ["label", "checked", "onChange"]);
|
|
@@ -27,12 +27,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
const React = __importStar(require("react"));
|
|
30
|
-
const CurrencyProvider_1 = __importDefault(require("
|
|
30
|
+
const CurrencyProvider_1 = __importDefault(require("../../../providers/CurrencyProvider"));
|
|
31
31
|
const react_1 = require("react");
|
|
32
|
-
const Icon_1 = __importStar(require("
|
|
33
|
-
const Color_1 = require("
|
|
34
|
-
const contexts_1 = require("
|
|
35
|
-
const hooks_1 = require("
|
|
32
|
+
const Icon_1 = __importStar(require("../../../components/generic/Icon/Icon"));
|
|
33
|
+
const Color_1 = require("../../../util/Color");
|
|
34
|
+
const contexts_1 = require("../../../contexts/index.js");
|
|
35
|
+
const hooks_1 = require("../../../hooks/index.js");
|
|
36
36
|
function Currency(props) {
|
|
37
37
|
var _a;
|
|
38
38
|
const { currentCurrency } = (0, react_1.useContext)(contexts_1.CompanyContext);
|
|
@@ -37,12 +37,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
38
|
const React = __importStar(require("react"));
|
|
39
39
|
const react_1 = require("react");
|
|
40
|
-
const Color_1 = require("
|
|
41
|
-
const Icon_1 = __importStar(require("
|
|
40
|
+
const Color_1 = require("../../../../util/Color");
|
|
41
|
+
const Icon_1 = __importStar(require("../../../../components/generic/Icon/Icon"));
|
|
42
42
|
const classnames_1 = __importDefault(require("classnames"));
|
|
43
43
|
const dayjs = __importStar(require("dayjs"));
|
|
44
|
-
const DateRangePickerContext_1 = require("
|
|
45
|
-
const DateRangePickerMonth_1 = __importDefault(require("
|
|
44
|
+
const DateRangePickerContext_1 = require("../../../../components/generic/DateRangePicker/DateRangePickerContext");
|
|
45
|
+
const DateRangePickerMonth_1 = __importDefault(require("../../../../components/generic/DateRangePicker/DateRangePickerMonth"));
|
|
46
46
|
const isSameOrBefore = __importStar(require("dayjs/plugin/isSameOrBefore"));
|
|
47
47
|
const isSameOrAfter = __importStar(require("dayjs/plugin/isSameOrAfter"));
|
|
48
48
|
const DateRangePicker_module_scss_1 = __importDefault(require("./DateRangePicker.module.scss"));
|