@lookiero/checkout 5.3.0-beta.2 → 6.0.0-beta.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/.eslintrc.js +9 -0
- package/.lintstagedrc.js +4 -0
- package/.prettierrc.json +1 -0
- package/@types/declarations.d.ts +1 -0
- package/@types/event.d.ts +1 -0
- package/app.json +36 -0
- package/babel.config.js +7 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.js +8 -9
- package/dist/pact.config.d.ts +13 -0
- package/dist/pact.config.js +9 -0
- package/dist/public/assets/adaptive-icon.png +0 -0
- package/dist/public/assets/favicon.png +0 -0
- package/dist/public/assets/icon.png +0 -0
- package/dist/public/assets/splash.png +0 -0
- package/dist/src/Expo.js +5 -0
- package/dist/src/ExpoRoot.d.ts +5 -0
- package/dist/src/ExpoRoot.js +148 -0
- package/dist/src/domain/checkout/event/createModalNotificationWhenCheckoutSubmitted.js +12 -0
- package/dist/src/domain/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.js +11 -0
- package/dist/src/domain/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.js +12 -0
- package/dist/src/infrastructure/delivery/baseBootstrap.js +97 -0
- package/dist/src/infrastructure/delivery/bootstrap.js +64 -0
- package/dist/src/infrastructure/domain/checkout/model/httpCheckouts.d.ts +16 -0
- package/dist/src/infrastructure/domain/checkout/react/useStartCheckout.d.ts +15 -0
- package/dist/src/infrastructure/domain/checkout/react/useStartCheckout.js +21 -0
- package/dist/src/infrastructure/domain/checkout/react/useSubmitCheckout.d.ts +15 -0
- package/dist/src/infrastructure/domain/checkout/react/useSubmitCheckout.js +26 -0
- package/dist/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.d.ts +16 -0
- package/dist/src/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.d.ts +15 -0
- package/dist/src/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.js +27 -0
- package/dist/src/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.d.ts +16 -0
- package/dist/src/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.js +28 -0
- package/dist/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacks.d.ts +16 -0
- package/dist/src/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.d.ts +19 -0
- package/dist/src/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.js +27 -0
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItems.d.ts +16 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +15 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.js +24 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +18 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.js +24 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.d.ts +15 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.js +24 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +19 -0
- package/dist/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.js +28 -0
- package/dist/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.d.ts +18 -0
- package/dist/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.js +22 -0
- package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.js +27 -0
- package/dist/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.d.ts +12 -0
- package/dist/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.js +46 -0
- package/dist/src/infrastructure/projection/checkout/checkout.mock.d.ts +19 -0
- package/dist/src/infrastructure/projection/checkout/checkout.mock.js +21 -0
- package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.js +105 -0
- package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.js +47 -0
- package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.js +42 -0
- package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.js +42 -0
- package/dist/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.js +42 -0
- package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.js +6 -0
- package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.js +47 -0
- package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.d.ts +15 -0
- package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.js +43 -0
- package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.js +48 -0
- package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.js +103 -0
- package/dist/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.js +46 -0
- package/dist/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.js +103 -0
- package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.d.ts +6 -0
- package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.js +183 -0
- package/dist/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.js +46 -0
- package/dist/src/infrastructure/projection/pricing/pricing.mock.d.ts +9 -0
- package/dist/src/infrastructure/projection/pricing/pricing.mock.js +42 -0
- package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.d.ts +12 -0
- package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.js +46 -0
- package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.d.ts +3 -0
- package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.js +400 -0
- package/dist/src/infrastructure/tracking/tracking.d.ts +112 -0
- package/dist/src/infrastructure/tracking/tracking.js +31 -0
- package/dist/src/infrastructure/tracking/useTrackAssignedVariationByExperiment.d.ts +20 -0
- package/dist/src/infrastructure/tracking/useTrackAssignedVariationByExperiment.js +25 -0
- package/dist/src/infrastructure/tracking/useTrackChangeFeedback.d.ts +22 -0
- package/dist/src/infrastructure/tracking/useTrackChangeFeedback.js +26 -0
- package/dist/src/infrastructure/tracking/useTrackCheckout.d.ts +30 -0
- package/dist/src/infrastructure/tracking/useTrackCheckout.js +38 -0
- package/dist/src/infrastructure/tracking/useTrackImageView.d.ts +23 -0
- package/dist/src/infrastructure/tracking/useTrackImageView.js +25 -0
- package/dist/src/infrastructure/tracking/useTrackItemPageView.d.ts +20 -0
- package/dist/src/infrastructure/tracking/useTrackItemPageView.js +38 -0
- package/dist/src/infrastructure/tracking/useTrackKeepItem.d.ts +18 -0
- package/dist/src/infrastructure/tracking/useTrackKeepItem.js +24 -0
- package/dist/src/infrastructure/tracking/useTrackPageView.d.ts +14 -0
- package/dist/src/infrastructure/tracking/useTrackPageView.js +21 -0
- package/dist/src/infrastructure/tracking/useTrackPressBack.d.ts +17 -0
- package/dist/src/infrastructure/tracking/useTrackPressBack.js +22 -0
- package/dist/src/infrastructure/tracking/useTrackPressContinue.d.ts +17 -0
- package/dist/src/infrastructure/tracking/useTrackPressContinue.js +22 -0
- package/dist/src/infrastructure/tracking/useTrackPressItem.d.ts +20 -0
- package/dist/src/infrastructure/tracking/useTrackPressItem.js +23 -0
- package/dist/src/infrastructure/tracking/useTrackPressNext.d.ts +21 -0
- package/dist/src/infrastructure/tracking/useTrackPressNext.js +24 -0
- package/dist/src/infrastructure/tracking/useTrackPressPrevious.d.ts +21 -0
- package/dist/src/infrastructure/tracking/useTrackPressPrevious.js +24 -0
- package/dist/src/infrastructure/tracking/useTrackPressPricing.d.ts +20 -0
- package/dist/src/infrastructure/tracking/useTrackPressPricing.js +24 -0
- package/dist/src/infrastructure/tracking/useTrackReplaceItem.d.ts +22 -0
- package/dist/src/infrastructure/tracking/useTrackReplaceItem.js +25 -0
- package/dist/src/infrastructure/tracking/useTrackResetItem.d.ts +18 -0
- package/dist/src/infrastructure/tracking/useTrackResetItem.js +23 -0
- package/dist/src/infrastructure/tracking/useTrackReturnItem.d.ts +18 -0
- package/dist/src/infrastructure/tracking/useTrackReturnItem.js +23 -0
- package/dist/src/infrastructure/tracking/useTrackTabView.d.ts +17 -0
- package/dist/src/infrastructure/tracking/useTrackTabView.js +23 -0
- package/dist/src/infrastructure/ui/Root.d.ts +36 -0
- package/dist/src/infrastructure/ui/Root.js +23 -0
- package/dist/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +16 -0
- package/dist/src/infrastructure/ui/components/atoms/price/Price.js +31 -0
- package/dist/src/infrastructure/ui/components/atoms/price/Price.style.js +19 -0
- package/dist/src/infrastructure/ui/components/layouts/body/Body.js +6 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +12 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.js +12 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.js +12 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.js +12 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.js +15 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.js +28 -0
- package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.js +12 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +23 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.js +18 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.js +14 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.style.js +14 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +40 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +17 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +27 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.style.js +9 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.d.ts +11 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.js +16 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.d.ts +12 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.js +15 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +14 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +15 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.js +49 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.style.js +7 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +20 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.js +13 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +20 -0
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.js +11 -0
- package/dist/src/infrastructure/ui/components/templates/footer/Footer.js +13 -0
- package/dist/src/infrastructure/ui/components/templates/header/Header.style.js +18 -0
- package/dist/src/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.js +11 -0
- package/dist/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.js +16 -0
- package/dist/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.style.js +10 -0
- package/dist/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.js +10 -0
- package/dist/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.js +14 -0
- package/dist/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.js +35 -0
- package/dist/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.style.js +10 -0
- package/dist/src/infrastructure/ui/components/templates/header/logo/Logo.d.ts +3 -0
- package/dist/src/infrastructure/ui/components/templates/header/logo/Logo.js +5 -0
- package/dist/src/infrastructure/ui/hooks/useNewFeedbackExperiment.d.ts +11 -0
- package/dist/src/infrastructure/ui/hooks/useNewFeedbackExperiment.js +49 -0
- package/dist/src/infrastructure/ui/hooks/usePaymentInstrumentEvents.d.ts +9 -0
- package/dist/src/infrastructure/ui/hooks/usePaymentInstrumentEvents.js +29 -0
- package/dist/src/infrastructure/ui/hooks/useStaticInfo.d.ts +15 -0
- package/dist/src/infrastructure/ui/hooks/useStaticInfo.js +13 -0
- package/dist/src/infrastructure/ui/hooks/useSubmitCheckout.d.ts +27 -0
- package/dist/src/infrastructure/ui/hooks/useSubmitCheckout.js +63 -0
- package/dist/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.js +21 -0
- package/dist/src/infrastructure/ui/routing/CheckoutMiddleware.js +91 -0
- package/dist/src/infrastructure/ui/routing/Routing.d.ts +32 -0
- package/dist/src/infrastructure/ui/routing/Routing.js +93 -0
- package/dist/src/infrastructure/ui/test/createWrapper.d.ts +12 -0
- package/dist/src/infrastructure/ui/test/createWrapper.js +5 -0
- package/dist/src/infrastructure/ui/test/render.d.ts +15 -0
- package/dist/src/infrastructure/ui/test/render.js +16 -0
- package/dist/src/infrastructure/ui/views/App.js +15 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.d.ts +9 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.js +85 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.style.js +63 -0
- package/dist/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.d.ts +12 -0
- package/dist/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.js +90 -0
- package/dist/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.d.ts +3 -0
- package/dist/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.js +9 -0
- package/dist/src/infrastructure/ui/views/checkout/components/paymentInstrument/PaymentInstrument.js +12 -0
- package/dist/src/infrastructure/ui/views/feedback/Feedback.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/feedback/Feedback.js +85 -0
- package/dist/src/infrastructure/ui/views/feedback/Feedback.style.js +17 -0
- package/dist/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.js +39 -0
- package/dist/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.js +10 -0
- package/dist/src/infrastructure/ui/views/item/Item.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/item/Item.js +179 -0
- package/dist/src/infrastructure/ui/views/item/Item.style.js +20 -0
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +24 -0
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +12 -0
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +22 -0
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +22 -0
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +25 -0
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.d.ts +16 -0
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.js +39 -0
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.style.d.ts +26 -0
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.style.js +29 -0
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +23 -0
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +20 -0
- package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +35 -0
- package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.js +32 -0
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +29 -0
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +12 -0
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +40 -0
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +12 -0
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +15 -0
- package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.js +18 -0
- package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.style.d.ts +18 -0
- package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.style.js +21 -0
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +18 -0
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +15 -0
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +18 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.d.ts +18 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.js +47 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.d.ts +17 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.js +20 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.d.ts +18 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.js +71 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.js +10 -0
- package/dist/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.d.ts +19 -0
- package/dist/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.js +35 -0
- package/dist/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.style.js +18 -0
- package/dist/src/infrastructure/ui/views/return/Return.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/return/Return.js +141 -0
- package/dist/src/infrastructure/ui/views/return/Return.style.js +47 -0
- package/dist/src/infrastructure/ui/views/return/components/price/Price.js +25 -0
- package/dist/src/infrastructure/ui/views/return/components/price/Price.style.js +19 -0
- package/dist/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.js +36 -0
- package/dist/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.style.js +34 -0
- package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.js +38 -0
- package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.style.js +43 -0
- package/dist/src/infrastructure/ui/views/summary/Summary.d.ts +8 -0
- package/dist/src/infrastructure/ui/views/summary/Summary.js +98 -0
- package/dist/src/infrastructure/ui/views/summary/Summary.style.js +70 -0
- package/dist/src/infrastructure/ui/views/summary/components/pricing/Pricing.js +52 -0
- package/dist/src/infrastructure/ui/views/summary/components/pricing/Pricing.style.js +31 -0
- package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +13 -0
- package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.js +9 -0
- package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.style.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.style.js +10 -0
- package/dist/src/infrastructure/ui/views/summaryTabs/SummaryTabs.d.ts +3 -0
- package/dist/src/infrastructure/ui/views/summaryTabs/SummaryTabs.js +58 -0
- package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.js +24 -0
- package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +18 -0
- package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +21 -0
- package/dist/src/projection/payment/paymentFlowPayload.js +1 -0
- package/dist/src/projection/pricing/pricing.js +1 -0
- package/dist/src/projection/shared/customer.d.ts +8 -0
- package/dist/src/projection/shared/customer.js +1 -0
- package/dist/src/projection/shared/order.js +1 -0
- package/dist/src/projection/shared/price.js +1 -0
- package/dist/src/projection/shared/subscription.js +1 -0
- package/dist/src/shared/ui/components/atoms/error/Error.js +4 -0
- package/dist/src/shared/ui/components/atoms/field/Field.js +26 -0
- package/dist/src/shared/ui/components/atoms/field/Field.style.js +19 -0
- package/dist/src/shared/ui/components/molecules/inputField/InputField.d.ts +24 -0
- package/dist/src/shared/ui/components/molecules/inputField/InputField.js +29 -0
- package/dist/src/shared/ui/components/molecules/inputField/InputField.style.js +37 -0
- package/dist/src/version.d.ts +1 -0
- package/dist/src/version.js +1 -0
- package/index.ts +73 -0
- package/jest.config.js +10 -0
- package/jest.setup.js +65 -0
- package/package.json +61 -112
- package/pact.config.ts +31 -0
- package/pact.publish.js +32 -0
- package/public/assets/adaptive-icon.png +0 -0
- package/public/assets/favicon.png +0 -0
- package/public/assets/icon.png +0 -0
- package/public/assets/splash.png +0 -0
- package/public/images/not-found.png +0 -0
- package/src/Expo.tsx +7 -0
- package/src/ExpoRoot.tsx +193 -0
- package/src/domain/checkout/command/startCheckout.test.ts +12 -0
- package/src/domain/checkout/command/startCheckout.ts +18 -0
- package/src/domain/checkout/command/submitCheckout.test.ts +12 -0
- package/src/domain/checkout/command/submitCheckout.ts +18 -0
- package/src/domain/checkout/event/createModalNotificationWhenCheckoutSubmitted.test.ts +31 -0
- package/src/domain/checkout/event/createModalNotificationWhenCheckoutSubmitted.ts +23 -0
- package/src/domain/checkout/model/checkout.test.ts +77 -0
- package/src/domain/checkout/model/checkout.ts +55 -0
- package/src/domain/checkout/model/checkoutStarted.test.ts +12 -0
- package/src/domain/checkout/model/checkoutStarted.ts +22 -0
- package/src/domain/checkout/model/checkoutSubmitted.test.ts +12 -0
- package/src/domain/checkout/model/checkoutSubmitted.ts +22 -0
- package/src/domain/checkout/model/checkouts.ts +15 -0
- package/src/domain/checkoutBooking/command/blockCheckoutBooking.test.ts +12 -0
- package/src/domain/checkoutBooking/command/blockCheckoutBooking.ts +19 -0
- package/src/domain/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.test.ts +17 -0
- package/src/domain/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.ts +27 -0
- package/src/domain/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.test.ts +33 -0
- package/src/domain/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.ts +23 -0
- package/src/domain/checkoutBooking/model/checkoutBooking.test.ts +71 -0
- package/src/domain/checkoutBooking/model/checkoutBooking.ts +46 -0
- package/src/domain/checkoutBooking/model/checkoutBookingBlocked.test.ts +12 -0
- package/src/domain/checkoutBooking/model/checkoutBookingBlocked.ts +19 -0
- package/src/domain/checkoutBooking/model/checkoutBookingBooked.test.ts +14 -0
- package/src/domain/checkoutBooking/model/checkoutBookingBooked.ts +25 -0
- package/src/domain/checkoutBooking/model/checkoutBookingExpired.test.ts +12 -0
- package/src/domain/checkoutBooking/model/checkoutBookingExpired.ts +22 -0
- package/src/domain/checkoutBooking/model/checkoutBookings.ts +15 -0
- package/src/domain/checkoutFeedback/command/giveCheckoutFeedback.test.ts +13 -0
- package/src/domain/checkoutFeedback/command/giveCheckoutFeedback.ts +23 -0
- package/src/domain/checkoutFeedback/model/checkoutFeedback.test.ts +30 -0
- package/src/domain/checkoutFeedback/model/checkoutFeedback.ts +25 -0
- package/src/domain/checkoutFeedback/model/checkoutFeedbackGiven.test.ts +14 -0
- package/src/domain/checkoutFeedback/model/checkoutFeedbackGiven.ts +25 -0
- package/src/domain/checkoutFeedback/model/checkoutFeedbacks.ts +15 -0
- package/src/domain/checkoutFeedback/model/feedbacks.ts +5 -0
- package/src/domain/checkoutItem/command/keepCheckoutItem.test.ts +12 -0
- package/src/domain/checkoutItem/command/keepCheckoutItem.ts +19 -0
- package/src/domain/checkoutItem/command/replaceCheckoutItem.test.ts +14 -0
- package/src/domain/checkoutItem/command/replaceCheckoutItem.ts +22 -0
- package/src/domain/checkoutItem/command/resetCheckoutItem.test.ts +12 -0
- package/src/domain/checkoutItem/command/resetCheckoutItem.ts +19 -0
- package/src/domain/checkoutItem/command/returnCheckoutItem.test.ts +13 -0
- package/src/domain/checkoutItem/command/returnCheckoutItem.ts +23 -0
- package/src/domain/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.test.ts +31 -0
- package/src/domain/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.ts +24 -0
- package/src/domain/checkoutItem/model/checkoutItem.test.ts +80 -0
- package/src/domain/checkoutItem/model/checkoutItem.ts +84 -0
- package/src/domain/checkoutItem/model/checkoutItemKept.test.ts +12 -0
- package/src/domain/checkoutItem/model/checkoutItemKept.ts +22 -0
- package/src/domain/checkoutItem/model/checkoutItemReplaced.test.ts +12 -0
- package/src/domain/checkoutItem/model/checkoutItemReplaced.ts +22 -0
- package/src/domain/checkoutItem/model/checkoutItemReset.test.ts +12 -0
- package/src/domain/checkoutItem/model/checkoutItemReset.ts +22 -0
- package/src/domain/checkoutItem/model/checkoutItemReturned.test.ts +12 -0
- package/src/domain/checkoutItem/model/checkoutItemReturned.ts +22 -0
- package/src/domain/checkoutItem/model/checkoutItems.ts +15 -0
- package/src/domain/checkoutItem/model/currency.ts +7 -0
- package/src/domain/checkoutItem/model/feedbacks.ts +5 -0
- package/src/domain/checkoutItem/model/price.ts +12 -0
- package/src/domain/uiSetting/command/updateUiSetting.test.ts +18 -0
- package/src/domain/uiSetting/command/updateUiSetting.ts +26 -0
- package/src/domain/uiSetting/model/uiSetting.test.ts +25 -0
- package/src/domain/uiSetting/model/uiSetting.ts +24 -0
- package/src/domain/uiSetting/model/uiSettingUpdated.test.ts +16 -0
- package/src/domain/uiSetting/model/uiSettingUpdated.ts +25 -0
- package/src/domain/uiSetting/model/uiSettings.ts +15 -0
- package/src/infrastructure/ab-testing/kameleoonEnvironment.ts +13 -0
- package/src/infrastructure/delivery/baseBootstrap.ts +336 -0
- package/src/infrastructure/delivery/bootstrap.mock.ts +113 -0
- package/src/infrastructure/delivery/bootstrap.ts +77 -0
- package/src/infrastructure/delivery/mock/checkoutBookingDataSource.ts +31 -0
- package/src/infrastructure/delivery/mock/checkoutDataSource.ts +45 -0
- package/src/infrastructure/delivery/mock/checkoutFeedbackDataSource.ts +31 -0
- package/src/infrastructure/delivery/mock/dataSourceCheckoutBookings.ts +60 -0
- package/src/infrastructure/delivery/mock/dataSourceCheckoutFeedbacks.ts +31 -0
- package/src/infrastructure/delivery/mock/dataSourceCheckoutItems.ts +61 -0
- package/src/infrastructure/delivery/mock/dataSourceCheckouts.ts +56 -0
- package/src/infrastructure/domain/checkout/model/httpCheckouts.test.ts +65 -0
- package/src/infrastructure/domain/checkout/model/httpCheckouts.ts +58 -0
- package/src/infrastructure/domain/checkout/model/httpCheckoutsStart.test.ts +44 -0
- package/src/infrastructure/domain/checkout/model/httpCheckoutsStart.ts +25 -0
- package/src/infrastructure/domain/checkout/model/httpCheckoutsSubmit.test.ts +44 -0
- package/src/infrastructure/domain/checkout/model/httpCheckoutsSubmit.ts +25 -0
- package/src/infrastructure/domain/checkout/react/useStartCheckout.test.ts +92 -0
- package/src/infrastructure/domain/checkout/react/useStartCheckout.ts +41 -0
- package/src/infrastructure/domain/checkout/react/useSubmitCheckout.test.ts +85 -0
- package/src/infrastructure/domain/checkout/react/useSubmitCheckout.ts +46 -0
- package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.test.ts +45 -0
- package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.ts +61 -0
- package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBlock.test.ts +41 -0
- package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBlock.ts +30 -0
- package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBook.test.ts +45 -0
- package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBook.ts +33 -0
- package/src/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.test.ts +83 -0
- package/src/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.ts +49 -0
- package/src/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.test.ts +71 -0
- package/src/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.ts +54 -0
- package/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacks.test.ts +34 -0
- package/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacks.ts +30 -0
- package/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.test.ts +42 -0
- package/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.ts +28 -0
- package/src/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.test.ts +81 -0
- package/src/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.ts +56 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItems.test.ts +75 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItems.ts +68 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsKeep.test.ts +45 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsKeep.ts +25 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReplace.test.ts +45 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReplace.ts +28 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReset.test.ts +45 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReset.ts +25 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReturn.test.ts +45 -0
- package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReturn.ts +28 -0
- package/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.test.ts +83 -0
- package/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.ts +43 -0
- package/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.test.ts +83 -0
- package/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.ts +50 -0
- package/src/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.test.ts +83 -0
- package/src/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.ts +43 -0
- package/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.test.ts +83 -0
- package/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.ts +55 -0
- package/src/infrastructure/domain/uiSetting/model/storageUiSettings.test.ts +50 -0
- package/src/infrastructure/domain/uiSetting/model/storageUiSettings.ts +49 -0
- package/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.test.ts +62 -0
- package/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.ts +50 -0
- package/src/infrastructure/persistence/asyncStorageStorage.ts +13 -0
- package/src/infrastructure/persistence/storage.ts +9 -0
- package/src/infrastructure/persistence/uiSettingData.ts +7 -0
- package/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.ts +30 -0
- package/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.ts +60 -0
- package/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.test.ts +55 -0
- package/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.ts +34 -0
- package/src/infrastructure/projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem.test.ts +32 -0
- package/src/infrastructure/projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem.ts +32 -0
- package/src/infrastructure/projection/checkout/checkout.mock.ts +42 -0
- package/src/infrastructure/projection/checkout/checkout.ts +25 -0
- package/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.ts +124 -0
- package/src/infrastructure/projection/checkout/httpCheckoutByIdView.test.ts +56 -0
- package/src/infrastructure/projection/checkout/httpCheckoutByIdView.ts +32 -0
- package/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.ts +61 -0
- package/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.test.ts +56 -0
- package/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.ts +35 -0
- package/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.ts +55 -0
- package/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.test.ts +39 -0
- package/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.ts +29 -0
- package/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.ts +55 -0
- package/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.test.ts +38 -0
- package/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.ts +29 -0
- package/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.ts +55 -0
- package/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.test.ts +38 -0
- package/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.ts +29 -0
- package/src/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.test.ts +29 -0
- package/src/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.ts +49 -0
- package/src/infrastructure/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.test.ts +28 -0
- package/src/infrastructure/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.ts +25 -0
- package/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.test.ts +45 -0
- package/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.ts +33 -0
- package/src/infrastructure/projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId.test.ts +41 -0
- package/src/infrastructure/projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId.ts +30 -0
- package/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.ts +9 -0
- package/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.ts +61 -0
- package/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.test.ts +56 -0
- package/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.ts +34 -0
- package/src/infrastructure/projection/checkoutFeedback/checkoutFeedback.mock.ts +8 -0
- package/src/infrastructure/projection/checkoutItem/checkoutItem.mock.ts +68 -0
- package/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.ts +62 -0
- package/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.test.ts +56 -0
- package/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.ts +34 -0
- package/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.ts +108 -0
- package/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.ts +60 -0
- package/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.test.ts +55 -0
- package/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.ts +34 -0
- package/src/infrastructure/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.test.ts +38 -0
- package/src/infrastructure/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.ts +21 -0
- package/src/infrastructure/projection/feedback/feedback.mock.ts +9 -0
- package/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.ts +130 -0
- package/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.test.ts +55 -0
- package/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.ts +34 -0
- package/src/infrastructure/projection/payment/paymentFlowPayload.mock.ts +194 -0
- package/src/infrastructure/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.test.ts +29 -0
- package/src/infrastructure/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.ts +33 -0
- package/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.ts +60 -0
- package/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.test.ts +55 -0
- package/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.ts +35 -0
- package/src/infrastructure/projection/pricing/pricing.mock.ts +53 -0
- package/src/infrastructure/projection/pricing/pricing.ts +32 -0
- package/src/infrastructure/projection/pricing/react/useViewPricingByCheckoutId.test.ts +32 -0
- package/src/infrastructure/projection/pricing/react/useViewPricingByCheckoutId.ts +50 -0
- package/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.ts +60 -0
- package/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.test.ts +55 -0
- package/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.ts +34 -0
- package/src/infrastructure/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.test.ts +34 -0
- package/src/infrastructure/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.ts +21 -0
- package/src/infrastructure/projection/returnQuestion/returnQuestions.mock.ts +402 -0
- package/src/infrastructure/projection/uiSetting/react/useViewUiSettingByKey.test.ts +33 -0
- package/src/infrastructure/projection/uiSetting/react/useViewUiSettingByKey.ts +22 -0
- package/src/infrastructure/projection/uiSetting/storageUiSettingByKeyView.test.ts +36 -0
- package/src/infrastructure/projection/uiSetting/storageUiSettingByKeyView.ts +37 -0
- package/src/infrastructure/tracking/tracking.ts +160 -0
- package/src/infrastructure/tracking/useTrackAssignedVariationByExperiment.test.ts +50 -0
- package/src/infrastructure/tracking/useTrackAssignedVariationByExperiment.ts +61 -0
- package/src/infrastructure/tracking/useTrackChangeFeedback.test.tsx +48 -0
- package/src/infrastructure/tracking/useTrackChangeFeedback.ts +56 -0
- package/src/infrastructure/tracking/useTrackCheckout.test.tsx +67 -0
- package/src/infrastructure/tracking/useTrackCheckout.ts +86 -0
- package/src/infrastructure/tracking/useTrackImageView.test.tsx +47 -0
- package/src/infrastructure/tracking/useTrackImageView.ts +63 -0
- package/src/infrastructure/tracking/useTrackItemPageView.test.tsx +50 -0
- package/src/infrastructure/tracking/useTrackItemPageView.ts +72 -0
- package/src/infrastructure/tracking/useTrackKeepItem.test.tsx +43 -0
- package/src/infrastructure/tracking/useTrackKeepItem.ts +47 -0
- package/src/infrastructure/tracking/useTrackPageView.test.tsx +40 -0
- package/src/infrastructure/tracking/useTrackPageView.ts +39 -0
- package/src/infrastructure/tracking/useTrackPressBack.test.tsx +41 -0
- package/src/infrastructure/tracking/useTrackPressBack.ts +45 -0
- package/src/infrastructure/tracking/useTrackPressContinue.test.tsx +40 -0
- package/src/infrastructure/tracking/useTrackPressContinue.ts +50 -0
- package/src/infrastructure/tracking/useTrackPressItem.test.tsx +41 -0
- package/src/infrastructure/tracking/useTrackPressItem.ts +51 -0
- package/src/infrastructure/tracking/useTrackPressNext.test.tsx +45 -0
- package/src/infrastructure/tracking/useTrackPressNext.ts +54 -0
- package/src/infrastructure/tracking/useTrackPressPrevious.test.tsx +45 -0
- package/src/infrastructure/tracking/useTrackPressPrevious.ts +60 -0
- package/src/infrastructure/tracking/useTrackPressPricing.test.tsx +41 -0
- package/src/infrastructure/tracking/useTrackPressPricing.ts +52 -0
- package/src/infrastructure/tracking/useTrackReplaceItem.test.tsx +45 -0
- package/src/infrastructure/tracking/useTrackReplaceItem.ts +62 -0
- package/src/infrastructure/tracking/useTrackResetItem.test.tsx +42 -0
- package/src/infrastructure/tracking/useTrackResetItem.ts +46 -0
- package/src/infrastructure/tracking/useTrackReturnItem.test.tsx +42 -0
- package/src/infrastructure/tracking/useTrackReturnItem.ts +46 -0
- package/src/infrastructure/tracking/useTrackTabView.test.tsx +42 -0
- package/src/infrastructure/tracking/useTrackTabView.ts +53 -0
- package/src/infrastructure/ui/Root.tsx +92 -0
- package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.ts +11 -0
- package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.test.tsx +20 -0
- package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.tsx +34 -0
- package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/__snapshots__/FiveItemsDiscountBanner.test.tsx.snap +115 -0
- package/src/infrastructure/ui/components/atoms/price/Price.style.ts +22 -0
- package/src/infrastructure/ui/components/atoms/price/Price.test.tsx +49 -0
- package/src/infrastructure/ui/components/atoms/price/Price.tsx +70 -0
- package/src/infrastructure/ui/components/atoms/price/__snapshots__/Price.test.tsx.snap +159 -0
- package/src/infrastructure/ui/components/layouts/body/Body.style.ts +10 -0
- package/src/infrastructure/ui/components/layouts/body/Body.test.tsx +36 -0
- package/src/infrastructure/ui/components/layouts/body/Body.tsx +19 -0
- package/src/infrastructure/ui/components/layouts/body/__snapshots__/Body.test.tsx.snap +143 -0
- package/src/infrastructure/ui/components/layouts/layout/Layout.ts +25 -0
- package/src/infrastructure/ui/components/layouts/layout/components/footer/Footer.test.tsx +40 -0
- package/src/infrastructure/ui/components/layouts/layout/components/footer/Footer.tsx +9 -0
- package/src/infrastructure/ui/components/layouts/layout/components/footer/__snapshots__/Footer.test.tsx.snap +36 -0
- package/src/infrastructure/ui/components/layouts/layout/components/header/Header.style.ts +21 -0
- package/src/infrastructure/ui/components/layouts/layout/components/header/Header.test.tsx +26 -0
- package/src/infrastructure/ui/components/layouts/layout/components/header/Header.tsx +10 -0
- package/src/infrastructure/ui/components/layouts/layout/components/header/__snapshots__/Header.test.tsx.snap +45 -0
- package/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.style.ts +15 -0
- package/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.test.tsx +66 -0
- package/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.tsx +45 -0
- package/src/infrastructure/ui/components/layouts/layout/dummyLayout/__snapshots__/DummyLayout.test.tsx.snap +1349 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/CheckoutQuestion.test.tsx +85 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/CheckoutQuestion.tsx +33 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/CheckoutQuestions.test.tsx +70 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/CheckoutQuestions.tsx +17 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.test.ts +65 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.tsx +113 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.test.tsx +82 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.tsx +45 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.ts +14 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.ts +10 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.test.tsx +42 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.tsx +34 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.ts +15 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.tsx +24 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultReturnQuestionItem.test.tsx +33 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.ts +18 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.test.tsx +59 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.tsx +24 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.style.ts +9 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.test.tsx +50 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.tsx +55 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Happy.tsx +13 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Normal.tsx +13 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Sad.tsx +13 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.test.tsx +50 -0
- package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.tsx +36 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.test.tsx +82 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.tsx +35 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.test.tsx +63 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.tsx +23 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/isChildReturnQuestion.ts +32 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.test.ts +61 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.tsx +147 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.test.tsx +78 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.tsx +42 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.ts +14 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.test.tsx +50 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.tsx +8 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.ts +21 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.test.tsx +61 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.tsx +41 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.style.ts +17 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.tsx +31 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.ts +20 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.test.tsx +112 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.tsx +98 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.tsx +21 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.style.ts +12 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.test.tsx +110 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.tsx +73 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.ts +18 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.tsx +48 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.ts +18 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.test.tsx +60 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.tsx +37 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.style.ts +10 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.tsx +97 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.ts +16 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.test.tsx +88 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.tsx +38 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.ts +14 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.test.tsx +64 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.tsx +50 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/util/__snapshots__/returnQuestionFeedback.test.ts.snap +46 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.test.ts +33 -0
- package/src/infrastructure/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.ts +120 -0
- package/src/infrastructure/ui/components/templates/footer/Footer.test.tsx +15 -0
- package/src/infrastructure/ui/components/templates/footer/Footer.tsx +19 -0
- package/src/infrastructure/ui/components/templates/footer/__snapshots__/Footer.test.tsx.snap +1127 -0
- package/src/infrastructure/ui/components/templates/header/Header.style.ts +22 -0
- package/src/infrastructure/ui/components/templates/header/Header.test.tsx +26 -0
- package/src/infrastructure/ui/components/templates/header/Header.tsx +17 -0
- package/src/infrastructure/ui/components/templates/header/__snapshots__/Header.test.tsx.snap +55 -0
- package/src/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.ts +14 -0
- package/src/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.tsx +7 -0
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.style.ts +13 -0
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.test.tsx +23 -0
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.tsx +28 -0
- package/src/infrastructure/ui/components/templates/header/checkoutHeader/__snapshots__/CheckoutHeader.test.tsx.snap +213 -0
- package/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.test.tsx +23 -0
- package/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.tsx +18 -0
- package/src/infrastructure/ui/components/templates/header/defaultHeader/__snapshots__/DefaultHeader.test.tsx.snap +195 -0
- package/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.test.tsx +23 -0
- package/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.tsx +25 -0
- package/src/infrastructure/ui/components/templates/header/itemDetailHeader/__snapshots__/ItemDetailHeader.test.tsx.snap +201 -0
- package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.style.ts +13 -0
- package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.test.tsx +51 -0
- package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.tsx +89 -0
- package/src/infrastructure/ui/components/templates/header/itemHeader/__snapshots__/ItemHeader.test.tsx.snap +314 -0
- package/src/infrastructure/ui/components/templates/header/logo/Logo.Base64.ts +4 -0
- package/src/infrastructure/ui/components/templates/header/logo/Logo.tsx +7 -0
- package/src/infrastructure/ui/hooks/useMediaImage.ts +23 -0
- package/src/infrastructure/ui/hooks/useNewFeedbackExperiment.test.tsx +84 -0
- package/src/infrastructure/ui/hooks/useNewFeedbackExperiment.tsx +82 -0
- package/src/infrastructure/ui/hooks/usePaymentInstrumentEvents.ts +75 -0
- package/src/infrastructure/ui/hooks/useStaticInfo.test.tsx +31 -0
- package/src/infrastructure/ui/hooks/useStaticInfo.tsx +36 -0
- package/src/infrastructure/ui/hooks/useSubmitCheckout.test.ts +239 -0
- package/src/infrastructure/ui/hooks/useSubmitCheckout.ts +119 -0
- package/src/infrastructure/ui/i18n/fetchTranslations.test.ts +29 -0
- package/src/infrastructure/ui/i18n/fetchTranslations.ts +27 -0
- package/src/infrastructure/ui/i18n/i18n.ts +61 -0
- package/src/infrastructure/ui/i18n/translationEndpoint.test.ts +13 -0
- package/src/infrastructure/ui/i18n/translationEndpoint.ts +50 -0
- package/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.test.tsx +74 -0
- package/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.tsx +39 -0
- package/src/infrastructure/ui/routing/CheckoutMiddleware.test.tsx +285 -0
- package/src/infrastructure/ui/routing/CheckoutMiddleware.tsx +134 -0
- package/src/infrastructure/ui/routing/Routing.tsx +178 -0
- package/src/infrastructure/ui/routing/router/Router.native.ts +1 -0
- package/src/infrastructure/ui/routing/router/Router.ts +1 -0
- package/src/infrastructure/ui/routing/routes.ts +11 -0
- package/src/infrastructure/ui/routing/useBasePath.test.tsx +19 -0
- package/src/infrastructure/ui/routing/useBasePath.tsx +24 -0
- package/src/infrastructure/ui/settings/UISettings.ts +3 -0
- package/src/infrastructure/ui/test/createWrapper.tsx +17 -0
- package/src/infrastructure/ui/test/render.tsx +46 -0
- package/src/infrastructure/ui/views/App.tsx +32 -0
- package/src/infrastructure/ui/views/checkout/Checkout.style.ts +66 -0
- package/src/infrastructure/ui/views/checkout/Checkout.test.tsx +144 -0
- package/src/infrastructure/ui/views/checkout/Checkout.tsx +162 -0
- package/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.test.tsx +131 -0
- package/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.tsx +125 -0
- package/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.test.tsx +17 -0
- package/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.tsx +19 -0
- package/src/infrastructure/ui/views/checkout/components/deliveryBanner/__snapshots__/DeliveryBanner.test.tsx.snap +93 -0
- package/src/infrastructure/ui/views/checkout/components/paymentInstrument/PaymentInstrument.tsx +27 -0
- package/src/infrastructure/ui/views/feedback/Feedback.style.ts +20 -0
- package/src/infrastructure/ui/views/feedback/Feedback.test.tsx +122 -0
- package/src/infrastructure/ui/views/feedback/Feedback.tsx +130 -0
- package/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.ts +13 -0
- package/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.test.tsx +50 -0
- package/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.tsx +73 -0
- package/src/infrastructure/ui/views/item/Item.style.ts +23 -0
- package/src/infrastructure/ui/views/item/Item.test.tsx +311 -0
- package/src/infrastructure/ui/views/item/Item.tsx +294 -0
- package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.ts +15 -0
- package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.test.tsx +37 -0
- package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.tsx +42 -0
- package/src/infrastructure/ui/views/item/components/banner/__snapshots__/CustomerDecissionBanner.test.tsx.snap +508 -0
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.ts +28 -0
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.test.tsx +50 -0
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.tsx +44 -0
- package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/__snapshots__/GetOutOfCheckoutModal.test.tsx.snap +461 -0
- package/src/infrastructure/ui/views/item/components/itemActions/ItemActions.style.ts +32 -0
- package/src/infrastructure/ui/views/item/components/itemActions/ItemActions.test.tsx +129 -0
- package/src/infrastructure/ui/views/item/components/itemActions/ItemActions.tsx +109 -0
- package/src/infrastructure/ui/views/item/components/itemActions/__snapshots__/ItemActions.test.tsx.snap +492 -0
- package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.ts +23 -0
- package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.test.tsx +66 -0
- package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.tsx +52 -0
- package/src/infrastructure/ui/views/item/components/productVariantDescription/__snapshots__/ProductVariantDescription.test.tsx.snap +315 -0
- package/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.ts +36 -0
- package/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.test.tsx +59 -0
- package/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.tsx +83 -0
- package/src/infrastructure/ui/views/item/components/productVariantSlider/__snapshots__/ProductVariantSlider.test.tsx.snap +340 -0
- package/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.ts +15 -0
- package/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.tsx +49 -0
- package/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.ts +18 -0
- package/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.tsx +79 -0
- package/src/infrastructure/ui/views/item/components/selectModal/SelecModal.test.tsx +44 -0
- package/src/infrastructure/ui/views/item/components/selectModal/SelectModal.style.ts +24 -0
- package/src/infrastructure/ui/views/item/components/selectModal/SelectModal.tsx +83 -0
- package/src/infrastructure/ui/views/item/components/selectModal/__snapshots__/SelecModal.test.tsx.snap +297 -0
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.ts +20 -0
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.test.tsx +47 -0
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.tsx +33 -0
- package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/__snapshots__/SizeWithoutStockModal.test.tsx.snap +402 -0
- package/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.ts +23 -0
- package/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.test.tsx +137 -0
- package/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.tsx +100 -0
- package/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.ts +13 -0
- package/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.test.tsx +211 -0
- package/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.tsx +135 -0
- package/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.style.ts +21 -0
- package/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.test.tsx +122 -0
- package/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.tsx +92 -0
- package/src/infrastructure/ui/views/item/views/productVariant/__snapshots__/ProductVariant.test.tsx.snap +1462 -0
- package/src/infrastructure/ui/views/return/Return.style.ts +50 -0
- package/src/infrastructure/ui/views/return/Return.tsx +234 -0
- package/src/infrastructure/ui/views/return/components/price/Price.style.ts +22 -0
- package/src/infrastructure/ui/views/return/components/price/Price.test.tsx +49 -0
- package/src/infrastructure/ui/views/return/components/price/Price.tsx +48 -0
- package/src/infrastructure/ui/views/return/components/price/__snapshots__/Price.test.tsx.snap +168 -0
- package/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.style.ts +38 -0
- package/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.tsx +67 -0
- package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.style.ts +57 -0
- package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.test.tsx +98 -0
- package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.tsx +102 -0
- package/src/infrastructure/ui/views/shared/components/productVariant/__snapshots__/ProductVariant.test.tsx.snap +487 -0
- package/src/infrastructure/ui/views/summary/Summary.style.ts +84 -0
- package/src/infrastructure/ui/views/summary/Summary.test.tsx +107 -0
- package/src/infrastructure/ui/views/summary/Summary.tsx +174 -0
- package/src/infrastructure/ui/views/summary/components/pricing/Pricing.style.ts +34 -0
- package/src/infrastructure/ui/views/summary/components/pricing/Pricing.test.tsx +118 -0
- package/src/infrastructure/ui/views/summary/components/pricing/Pricing.tsx +141 -0
- package/src/infrastructure/ui/views/summary/components/pricing/__snapshots__/Pricing.test.tsx.snap +601 -0
- package/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.style.ts +13 -0
- package/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.tsx +43 -0
- package/src/infrastructure/ui/views/summaryTabs/SummaryTabs.test.tsx +94 -0
- package/src/infrastructure/ui/views/summaryTabs/SummaryTabs.tsx +104 -0
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.ts +24 -0
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.test.tsx +94 -0
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.tsx +133 -0
- package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/__snapshots__/CheckoutItemsTabs.test.tsx.snap +1261 -0
- package/src/projection/bookedProductsVariants/bookedProductsVariants.ts +12 -0
- package/src/projection/bookedProductsVariants/viewBookedProductVariantsForCheckoutItem.ts +61 -0
- package/src/projection/bookedProductsVariants/viewBookedProductsVariantsForCheckoutItem.test.ts +26 -0
- package/src/projection/checkout/checkout.ts +14 -0
- package/src/projection/checkout/viewCheckoutById.test.ts +20 -0
- package/src/projection/checkout/viewCheckoutById.ts +51 -0
- package/src/projection/checkout/viewFirstAvailableCheckoutByCustomerId.test.ts +23 -0
- package/src/projection/checkout/viewFirstAvailableCheckoutByCustomerId.ts +57 -0
- package/src/projection/checkout/viewFiveItemsDiscountByCustomerId.test.ts +22 -0
- package/src/projection/checkout/viewFiveItemsDiscountByCustomerId.ts +56 -0
- package/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.test.ts +54 -0
- package/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.ts +46 -0
- package/src/projection/checkout/viewIsCheckoutEnabledByCustomerId.test.ts +21 -0
- package/src/projection/checkout/viewIsCheckoutEnabledByCustomerId.ts +56 -0
- package/src/projection/checkout/viewIsSizeChangeEnabledByCheckoutId.test.ts +21 -0
- package/src/projection/checkout/viewIsSizeChangeEnabledByCheckoutId.ts +56 -0
- package/src/projection/checkoutBooking/checkoutBooking.ts +7 -0
- package/src/projection/checkoutBooking/viewCheckoutBookingById.test.ts +23 -0
- package/src/projection/checkoutBooking/viewCheckoutBookingById.ts +51 -0
- package/src/projection/checkoutFeedback/checkoutFeedback.ts +5 -0
- package/src/projection/checkoutItem/checkoutItem.ts +52 -0
- package/src/projection/checkoutItem/viewCheckoutItemById.test.ts +25 -0
- package/src/projection/checkoutItem/viewCheckoutItemById.ts +51 -0
- package/src/projection/checkoutQuestion/checkoutQuestion.ts +20 -0
- package/src/projection/checkoutQuestion/listCheckoutQuestionsByCheckoutId.test.ts +31 -0
- package/src/projection/checkoutQuestion/listCheckoutQuestionsByCheckoutId.ts +61 -0
- package/src/projection/feedback/feedback.ts +5 -0
- package/src/projection/payment/paymentFlowPayload.ts +42 -0
- package/src/projection/payment/viewPaymentFlowPayloadByCheckoutId.test.ts +23 -0
- package/src/projection/payment/viewPaymentFlowPayloadByCheckoutId.ts +61 -0
- package/src/projection/pricing/pricing.ts +22 -0
- package/src/projection/pricing/viewPricingByCheckoutId.test.ts +24 -0
- package/src/projection/pricing/viewPricingByCheckoutId.ts +51 -0
- package/src/projection/returnQuestion/listReturnQuestionsByCheckoutItemId.test.ts +30 -0
- package/src/projection/returnQuestion/listReturnQuestionsByCheckoutItemId.ts +61 -0
- package/src/projection/returnQuestion/returnQuestion.ts +20 -0
- package/src/projection/shared/country.ts +15 -0
- package/src/projection/shared/customer.ts +10 -0
- package/src/projection/shared/locale.ts +13 -0
- package/src/projection/shared/order.ts +7 -0
- package/src/projection/shared/price.ts +12 -0
- package/src/projection/shared/size.test.ts +24 -0
- package/src/projection/shared/size.ts +25 -0
- package/src/projection/shared/subscription.ts +3 -0
- package/src/projection/uiSetting/viewUiSettingByKey.test.ts +23 -0
- package/src/projection/uiSetting/viewUiSettingByKey.ts +50 -0
- package/src/shared/ui/components/atoms/aspectRatioView/AspectRatioView.tsx +46 -0
- package/src/shared/ui/components/atoms/error/Error.test.tsx +11 -0
- package/src/shared/ui/components/atoms/error/Error.tsx +18 -0
- package/src/shared/ui/components/atoms/error/__snapshots__/Error.test.tsx.snap +54 -0
- package/src/shared/ui/components/atoms/field/Field.style.ts +22 -0
- package/src/shared/ui/components/atoms/field/Field.test.tsx +19 -0
- package/src/shared/ui/components/atoms/field/Field.tsx +54 -0
- package/src/shared/ui/components/atoms/field/__snapshots__/Field.test.tsx.snap +189 -0
- package/src/shared/ui/components/molecules/inputField/InputField.style.ts +40 -0
- package/src/shared/ui/components/molecules/inputField/InputField.test.tsx +41 -0
- package/src/shared/ui/components/molecules/inputField/InputField.tsx +97 -0
- package/src/shared/ui/components/molecules/inputField/__snapshots__/InputField.test.tsx.snap +154 -0
- package/tsconfig.build.json +4 -0
- package/tsconfig.json +7 -0
- package/web/index.html +128 -0
- package/webpack.config.js +75 -0
- package/README.md +0 -54
- package/dist/domain/checkout/event/createModalNotificationWhenCheckoutSubmitted.js +0 -12
- package/dist/domain/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.js +0 -13
- package/dist/domain/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.js +0 -12
- package/dist/infrastructure/delivery/baseBootstrap.js +0 -98
- package/dist/infrastructure/delivery/bootstrap.js +0 -64
- package/dist/infrastructure/delivery/http/fetchHttpClient.d.ts +0 -14
- package/dist/infrastructure/delivery/http/fetchHttpClient.js +0 -37
- package/dist/infrastructure/delivery/http/httpClient.d.ts +0 -22
- package/dist/infrastructure/domain/checkout/model/httpCheckouts.d.ts +0 -16
- package/dist/infrastructure/domain/checkout/react/useStartCheckout.d.ts +0 -15
- package/dist/infrastructure/domain/checkout/react/useStartCheckout.js +0 -21
- package/dist/infrastructure/domain/checkout/react/useSubmitCheckout.d.ts +0 -15
- package/dist/infrastructure/domain/checkout/react/useSubmitCheckout.js +0 -27
- package/dist/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.d.ts +0 -16
- package/dist/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.d.ts +0 -15
- package/dist/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.js +0 -28
- package/dist/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.d.ts +0 -16
- package/dist/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.js +0 -29
- package/dist/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacks.d.ts +0 -16
- package/dist/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.d.ts +0 -19
- package/dist/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.js +0 -28
- package/dist/infrastructure/domain/checkoutItem/model/httpCheckoutItems.d.ts +0 -16
- package/dist/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +0 -15
- package/dist/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.js +0 -25
- package/dist/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +0 -18
- package/dist/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.js +0 -25
- package/dist/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.d.ts +0 -15
- package/dist/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.js +0 -25
- package/dist/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +0 -19
- package/dist/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.js +0 -29
- package/dist/infrastructure/domain/uiSetting/react/useUpdateUiSetting.d.ts +0 -18
- package/dist/infrastructure/domain/uiSetting/react/useUpdateUiSetting.js +0 -22
- package/dist/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.d.ts +0 -12
- package/dist/infrastructure/projection/checkout/httpCheckoutByIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +0 -12
- package/dist/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.d.ts +0 -12
- package/dist/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.d.ts +0 -12
- package/dist/infrastructure/projection/pricing/httpPricingByCheckoutIdView.d.ts +0 -12
- package/dist/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.d.ts +0 -12
- package/dist/infrastructure/testing/AsyncKameleoon.d.ts +0 -18
- package/dist/infrastructure/testing/AsyncKameleoon.js +0 -40
- package/dist/infrastructure/testing/Kameleoon.d.ts +0 -49
- package/dist/infrastructure/testing/Kameleoon.js +0 -3
- package/dist/infrastructure/testing/react/Kameleoon.d.ts +0 -9
- package/dist/infrastructure/testing/react/Kameleoon.js +0 -3
- package/dist/infrastructure/testing/react/Kameleoon.web.d.ts +0 -4
- package/dist/infrastructure/testing/react/Kameleoon.web.js +0 -16
- package/dist/infrastructure/testing/react/useAssignedVariationByExperimentId.d.ts +0 -14
- package/dist/infrastructure/testing/react/useAssignedVariationByExperimentId.js +0 -4
- package/dist/infrastructure/testing/react/useAssignedVariationByExperimentId.web.d.ts +0 -3
- package/dist/infrastructure/testing/react/useAssignedVariationByExperimentId.web.js +0 -17
- package/dist/infrastructure/testing/react/useKameleoon.d.ts +0 -9
- package/dist/infrastructure/testing/react/useKameleoon.js +0 -10
- package/dist/infrastructure/testing/react/useTrackingConversion.d.ts +0 -12
- package/dist/infrastructure/testing/react/useTrackingConversion.js +0 -6
- package/dist/infrastructure/testing/react/useTrackingConversion.web.d.ts +0 -3
- package/dist/infrastructure/testing/react/useTrackingConversion.web.js +0 -13
- package/dist/infrastructure/tracking/tracking.d.ts +0 -9
- package/dist/infrastructure/tracking/tracking.js +0 -10
- package/dist/infrastructure/ui/Root.d.ts +0 -36
- package/dist/infrastructure/ui/Root.js +0 -18
- package/dist/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +0 -16
- package/dist/infrastructure/ui/components/atoms/price/Price.js +0 -31
- package/dist/infrastructure/ui/components/atoms/price/Price.style.js +0 -19
- package/dist/infrastructure/ui/components/layouts/body/Body.js +0 -7
- package/dist/infrastructure/ui/components/layouts/tabs/Tabs.d.ts +0 -28
- package/dist/infrastructure/ui/components/layouts/tabs/Tabs.js +0 -47
- package/dist/infrastructure/ui/components/layouts/tabs/Tabs.style.d.ts +0 -26
- package/dist/infrastructure/ui/components/layouts/tabs/Tabs.style.js +0 -29
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +0 -12
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.js +0 -12
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.js +0 -12
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.js +0 -12
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.js +0 -15
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.js +0 -28
- package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.js +0 -12
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +0 -23
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.js +0 -18
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.js +0 -14
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.style.js +0 -14
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +0 -40
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +0 -17
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +0 -27
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.style.js +0 -9
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.d.ts +0 -11
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.js +0 -14
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.d.ts +0 -9
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.js +0 -8
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +0 -14
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +0 -15
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.js +0 -49
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.style.js +0 -7
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +0 -20
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.js +0 -13
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +0 -20
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.js +0 -11
- package/dist/infrastructure/ui/components/templates/footer/Footer.js +0 -13
- package/dist/infrastructure/ui/components/templates/header/Header.style.js +0 -18
- package/dist/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.js +0 -11
- package/dist/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.js +0 -16
- package/dist/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.style.js +0 -10
- package/dist/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.js +0 -10
- package/dist/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.js +0 -14
- package/dist/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.js +0 -35
- package/dist/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.style.js +0 -10
- package/dist/infrastructure/ui/components/templates/header/logo/Logo.d.ts +0 -9
- package/dist/infrastructure/ui/components/templates/header/logo/Logo.js +0 -9
- package/dist/infrastructure/ui/hooks/useNewFeedbackExperiment.d.ts +0 -14
- package/dist/infrastructure/ui/hooks/useNewFeedbackExperiment.js +0 -48
- package/dist/infrastructure/ui/hooks/usePaymentInstrumentEvents.d.ts +0 -9
- package/dist/infrastructure/ui/hooks/usePaymentInstrumentEvents.js +0 -30
- package/dist/infrastructure/ui/hooks/useStaticInfo.d.ts +0 -12
- package/dist/infrastructure/ui/hooks/useStaticInfo.js +0 -10
- package/dist/infrastructure/ui/hooks/useSubmitCheckout.d.ts +0 -27
- package/dist/infrastructure/ui/hooks/useSubmitCheckout.js +0 -64
- package/dist/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.js +0 -21
- package/dist/infrastructure/ui/routing/CheckoutMiddleware.js +0 -91
- package/dist/infrastructure/ui/routing/Routing.d.ts +0 -32
- package/dist/infrastructure/ui/routing/Routing.js +0 -93
- package/dist/infrastructure/ui/views/App.js +0 -14
- package/dist/infrastructure/ui/views/checkout/Checkout.d.ts +0 -12
- package/dist/infrastructure/ui/views/checkout/Checkout.js +0 -80
- package/dist/infrastructure/ui/views/checkout/Checkout.style.js +0 -63
- package/dist/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.d.ts +0 -15
- package/dist/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.js +0 -87
- package/dist/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.d.ts +0 -3
- package/dist/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.js +0 -9
- package/dist/infrastructure/ui/views/checkout/components/paymentInstrument/PaymentInstrument.js +0 -12
- package/dist/infrastructure/ui/views/feedback/Feedback.d.ts +0 -10
- package/dist/infrastructure/ui/views/feedback/Feedback.js +0 -80
- package/dist/infrastructure/ui/views/feedback/Feedback.style.js +0 -17
- package/dist/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.js +0 -39
- package/dist/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.js +0 -10
- package/dist/infrastructure/ui/views/item/Item.d.ts +0 -10
- package/dist/infrastructure/ui/views/item/Item.js +0 -177
- package/dist/infrastructure/ui/views/item/Item.style.js +0 -20
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +0 -24
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +0 -12
- package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +0 -22
- package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +0 -22
- package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +0 -25
- package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.d.ts +0 -16
- package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.js +0 -39
- package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.style.d.ts +0 -25
- package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.style.js +0 -28
- package/dist/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +0 -23
- package/dist/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +0 -20
- package/dist/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +0 -37
- package/dist/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.js +0 -32
- package/dist/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +0 -29
- package/dist/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +0 -12
- package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +0 -38
- package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +0 -9
- package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +0 -12
- package/dist/infrastructure/ui/views/item/components/selectModal/SelectModal.js +0 -18
- package/dist/infrastructure/ui/views/item/components/selectModal/SelectModal.style.d.ts +0 -17
- package/dist/infrastructure/ui/views/item/components/selectModal/SelectModal.style.js +0 -20
- package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +0 -16
- package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +0 -12
- package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +0 -15
- package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.d.ts +0 -20
- package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.js +0 -44
- package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.d.ts +0 -15
- package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.js +0 -18
- package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.d.ts +0 -20
- package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.js +0 -67
- package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.d.ts +0 -6
- package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.js +0 -9
- package/dist/infrastructure/ui/views/item/views/productVariant/ProductVariant.d.ts +0 -17
- package/dist/infrastructure/ui/views/item/views/productVariant/ProductVariant.js +0 -34
- package/dist/infrastructure/ui/views/item/views/productVariant/ProductVariant.style.js +0 -18
- package/dist/infrastructure/ui/views/return/Return.d.ts +0 -10
- package/dist/infrastructure/ui/views/return/Return.js +0 -141
- package/dist/infrastructure/ui/views/return/Return.style.js +0 -47
- package/dist/infrastructure/ui/views/return/components/price/Price.js +0 -25
- package/dist/infrastructure/ui/views/return/components/price/Price.style.js +0 -19
- package/dist/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.js +0 -37
- package/dist/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.style.js +0 -34
- package/dist/infrastructure/ui/views/shared/components/productVariant/ProductVariant.js +0 -38
- package/dist/infrastructure/ui/views/shared/components/productVariant/ProductVariant.style.js +0 -43
- package/dist/infrastructure/ui/views/summary/Summary.d.ts +0 -11
- package/dist/infrastructure/ui/views/summary/Summary.js +0 -93
- package/dist/infrastructure/ui/views/summary/Summary.style.js +0 -70
- package/dist/infrastructure/ui/views/summary/components/pricing/Pricing.js +0 -52
- package/dist/infrastructure/ui/views/summary/components/pricing/Pricing.style.js +0 -31
- package/dist/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +0 -13
- package/dist/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.js +0 -8
- package/dist/infrastructure/ui/views/summaryTabs/SummaryTabs.d.ts +0 -8
- package/dist/infrastructure/ui/views/summaryTabs/SummaryTabs.js +0 -52
- package/dist/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.js +0 -24
- package/dist/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +0 -10
- package/dist/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +0 -13
- package/dist/projection/shared/customer.d.ts +0 -6
- package/dist/shared/logging/Logger.d.ts +0 -7
- package/dist/shared/logging/SentryDependencies.d.ts +0 -11
- package/dist/shared/logging/SentryDependencies.js +0 -17
- package/dist/shared/logging/SentryDependencies.native.d.ts +0 -10
- package/dist/shared/logging/SentryDependencies.native.js +0 -15
- package/dist/shared/logging/SentryLogger.d.ts +0 -17
- package/dist/shared/logging/SentryLogger.js +0 -118
- package/dist/shared/logging/SentryLoggerHOC.d.ts +0 -15
- package/dist/shared/logging/SentryLoggerHOC.js +0 -24
- package/dist/shared/logging/reactRouterV6Instrumentation/NativeReactRouterV6Instrumentation.d.ts +0 -49
- package/dist/shared/logging/reactRouterV6Instrumentation/NativeReactRouterV6Instrumentation.js +0 -131
- package/dist/shared/logging/reactRouterV6Instrumentation/location.d.ts +0 -3
- package/dist/shared/logging/reactRouterV6Instrumentation/location.js +0 -5
- package/dist/shared/logging/reactRouterV6Instrumentation/normalizedNameAndMatchForLocation.d.ts +0 -12
- package/dist/shared/logging/reactRouterV6Instrumentation/normalizedNameAndMatchForLocation.js +0 -34
- package/dist/shared/logging/reactRouterV6Instrumentation/reactRouterV6Instrumentation.d.ts +0 -15
- package/dist/shared/logging/reactRouterV6Instrumentation/reactRouterV6Instrumentation.js +0 -92
- package/dist/shared/logging/reactRouterV6Instrumentation/types.d.ts +0 -9
- package/dist/shared/logging/types.d.ts +0 -22
- package/dist/shared/logging/useLogger.d.ts +0 -12
- package/dist/shared/logging/useLogger.js +0 -10
- package/dist/shared/notifications/domain/notification/command/createModalNotification.d.ts +0 -18
- package/dist/shared/notifications/domain/notification/command/createModalNotification.js +0 -9
- package/dist/shared/notifications/domain/notification/command/createToastNotification.d.ts +0 -18
- package/dist/shared/notifications/domain/notification/command/createToastNotification.js +0 -9
- package/dist/shared/notifications/domain/notification/command/removeNotification.d.ts +0 -13
- package/dist/shared/notifications/domain/notification/command/removeNotification.js +0 -4
- package/dist/shared/notifications/domain/notification/model/notification.d.ts +0 -25
- package/dist/shared/notifications/domain/notification/model/notification.js +0 -43
- package/dist/shared/notifications/domain/notification/model/notificationCreated.d.ts +0 -14
- package/dist/shared/notifications/domain/notification/model/notificationCreated.js +0 -5
- package/dist/shared/notifications/domain/notification/model/notificationRemoved.d.ts +0 -14
- package/dist/shared/notifications/domain/notification/model/notificationRemoved.js +0 -5
- package/dist/shared/notifications/domain/notification/model/notifications.d.ts +0 -7
- package/dist/shared/notifications/index.d.ts +0 -9
- package/dist/shared/notifications/index.js +0 -6
- package/dist/shared/notifications/infrastructure/delivery/bootstrap.d.ts +0 -21
- package/dist/shared/notifications/infrastructure/delivery/bootstrap.js +0 -21
- package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotifications.d.ts +0 -18
- package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotifications.js +0 -25
- package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.d.ts +0 -8
- package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.js +0 -18
- package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.d.ts +0 -5
- package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.js +0 -10
- package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateModalNotification.d.ts +0 -20
- package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateModalNotification.js +0 -22
- package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateToastNotification.d.ts +0 -21
- package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateToastNotification.js +0 -22
- package/dist/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.d.ts +0 -17
- package/dist/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.js +0 -16
- package/dist/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.d.ts +0 -7
- package/dist/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.js +0 -13
- package/dist/shared/notifications/infrastructure/persistence/notificationDto.d.ts +0 -10
- package/dist/shared/notifications/infrastructure/persistence/storage.d.ts +0 -7
- package/dist/shared/notifications/infrastructure/projection/notification/notification.d.ts +0 -7
- package/dist/shared/notifications/infrastructure/projection/notification/notification.js +0 -17
- package/dist/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.d.ts +0 -13
- package/dist/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.js +0 -6
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.d.ts +0 -10
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.js +0 -29
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.style.d.ts +0 -12
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.style.js +0 -15
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotifications.d.ts +0 -8
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotifications.js +0 -6
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotifications.style.d.ts +0 -25
- package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotifications.style.js +0 -18
- package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotificationItem.d.ts +0 -15
- package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotificationItem.js +0 -17
- package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotifications.d.ts +0 -9
- package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotifications.js +0 -20
- package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotifications.style.d.ts +0 -116
- package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotifications.style.js +0 -29
- package/dist/shared/notifications/infrastructure/ui/notificationsRoot.d.ts +0 -13
- package/dist/shared/notifications/infrastructure/ui/notificationsRoot.js +0 -11
- package/dist/shared/notifications/infrastructure/ui/views/Notifications.d.ts +0 -6
- package/dist/shared/notifications/infrastructure/ui/views/Notifications.js +0 -19
- package/dist/shared/notifications/projection/notification/listNotifications.d.ts +0 -19
- package/dist/shared/notifications/projection/notification/listNotifications.js +0 -5
- package/dist/shared/notifications/projection/notification/notification.d.ts +0 -24
- package/dist/shared/notifications/projection/notification/notification.js +0 -8
- package/dist/shared/notifications/projection/notification/react/useListNotifications.d.ts +0 -10
- package/dist/shared/notifications/projection/notification/react/useListNotifications.js +0 -12
- package/dist/shared/tracking/infrastructure/useEmitUserEvent.d.ts +0 -6
- package/dist/shared/tracking/infrastructure/useEmitUserEvent.js +0 -7
- package/dist/shared/tracking/infrastructure/useTrackAssignedVariationByExperiment.d.ts +0 -18
- package/dist/shared/tracking/infrastructure/useTrackAssignedVariationByExperiment.js +0 -24
- package/dist/shared/tracking/infrastructure/useTrackChangeFeedback.d.ts +0 -20
- package/dist/shared/tracking/infrastructure/useTrackChangeFeedback.js +0 -25
- package/dist/shared/tracking/infrastructure/useTrackCheckout.d.ts +0 -28
- package/dist/shared/tracking/infrastructure/useTrackCheckout.js +0 -37
- package/dist/shared/tracking/infrastructure/useTrackImageView.d.ts +0 -21
- package/dist/shared/tracking/infrastructure/useTrackImageView.js +0 -25
- package/dist/shared/tracking/infrastructure/useTrackItemPageView.d.ts +0 -18
- package/dist/shared/tracking/infrastructure/useTrackItemPageView.js +0 -26
- package/dist/shared/tracking/infrastructure/useTrackKeepItem.d.ts +0 -16
- package/dist/shared/tracking/infrastructure/useTrackKeepItem.js +0 -23
- package/dist/shared/tracking/infrastructure/useTrackPageView.d.ts +0 -12
- package/dist/shared/tracking/infrastructure/useTrackPageView.js +0 -21
- package/dist/shared/tracking/infrastructure/useTrackPressBack.d.ts +0 -15
- package/dist/shared/tracking/infrastructure/useTrackPressBack.js +0 -22
- package/dist/shared/tracking/infrastructure/useTrackPressContinue.d.ts +0 -15
- package/dist/shared/tracking/infrastructure/useTrackPressContinue.js +0 -22
- package/dist/shared/tracking/infrastructure/useTrackPressItem.d.ts +0 -18
- package/dist/shared/tracking/infrastructure/useTrackPressItem.js +0 -23
- package/dist/shared/tracking/infrastructure/useTrackPressMenu.d.ts +0 -16
- package/dist/shared/tracking/infrastructure/useTrackPressMenu.js +0 -23
- package/dist/shared/tracking/infrastructure/useTrackPressNext.d.ts +0 -17
- package/dist/shared/tracking/infrastructure/useTrackPressNext.js +0 -24
- package/dist/shared/tracking/infrastructure/useTrackPressPrevious.d.ts +0 -17
- package/dist/shared/tracking/infrastructure/useTrackPressPrevious.js +0 -24
- package/dist/shared/tracking/infrastructure/useTrackPressPricing.d.ts +0 -18
- package/dist/shared/tracking/infrastructure/useTrackPressPricing.js +0 -23
- package/dist/shared/tracking/infrastructure/useTrackReplaceItem.d.ts +0 -20
- package/dist/shared/tracking/infrastructure/useTrackReplaceItem.js +0 -25
- package/dist/shared/tracking/infrastructure/useTrackResetItem.d.ts +0 -16
- package/dist/shared/tracking/infrastructure/useTrackResetItem.js +0 -23
- package/dist/shared/tracking/infrastructure/useTrackReturnItem.d.ts +0 -16
- package/dist/shared/tracking/infrastructure/useTrackReturnItem.js +0 -23
- package/dist/shared/tracking/infrastructure/useTrackTabView.d.ts +0 -15
- package/dist/shared/tracking/infrastructure/useTrackTabView.js +0 -23
- package/dist/shared/tracking/tracking.d.ts +0 -112
- package/dist/shared/tracking/tracking.js +0 -26
- package/dist/shared/ui/components/atoms/error/Error.js +0 -4
- package/dist/shared/ui/components/atoms/field/Field.js +0 -25
- package/dist/shared/ui/components/atoms/field/Field.style.js +0 -19
- package/dist/shared/ui/components/atoms/spinner/Spinner.d.ts +0 -3
- package/dist/shared/ui/components/atoms/spinner/Spinner.js +0 -7
- package/dist/shared/ui/components/atoms/spinner/Spinner.style.d.ts +0 -9
- package/dist/shared/ui/components/atoms/spinner/Spinner.style.js +0 -10
- package/dist/shared/ui/components/layouts/carousel/Bullets.d.ts +0 -10
- package/dist/shared/ui/components/layouts/carousel/Bullets.js +0 -28
- package/dist/shared/ui/components/layouts/carousel/Bullets.style.d.ts +0 -12
- package/dist/shared/ui/components/layouts/carousel/Bullets.style.js +0 -15
- package/dist/shared/ui/components/layouts/carousel/Carousel.d.ts +0 -33
- package/dist/shared/ui/components/layouts/carousel/Carousel.js +0 -87
- package/dist/shared/ui/components/layouts/carousel/Carousel.style.d.ts +0 -24
- package/dist/shared/ui/components/layouts/carousel/Carousel.style.js +0 -25
- package/dist/shared/ui/components/layouts/column/Column.d.ts +0 -10
- package/dist/shared/ui/components/layouts/column/Column.js +0 -10
- package/dist/shared/ui/components/layouts/column/Column.style.d.ts +0 -12
- package/dist/shared/ui/components/layouts/column/Column.style.js +0 -23
- package/dist/shared/ui/components/layouts/modal/Modal.d.ts +0 -21
- package/dist/shared/ui/components/layouts/modal/Modal.js +0 -95
- package/dist/shared/ui/components/layouts/modal/Modal.style.d.ts +0 -153
- package/dist/shared/ui/components/layouts/modal/Modal.style.js +0 -77
- package/dist/shared/ui/components/layouts/row/Row.d.ts +0 -6
- package/dist/shared/ui/components/layouts/row/Row.js +0 -10
- package/dist/shared/ui/components/layouts/row/Row.style.d.ts +0 -13
- package/dist/shared/ui/components/layouts/row/Row.style.js +0 -17
- package/dist/shared/ui/components/layouts/stack/Stack.d.ts +0 -8
- package/dist/shared/ui/components/layouts/stack/Stack.js +0 -28
- package/dist/shared/ui/components/layouts/stack/Stack.style.d.ts +0 -10
- package/dist/shared/ui/components/layouts/stack/Stack.style.js +0 -11
- package/dist/shared/ui/components/layouts/sticky/Sticky.d.ts +0 -14
- package/dist/shared/ui/components/layouts/sticky/Sticky.js +0 -8
- package/dist/shared/ui/components/layouts/sticky/Sticky.style.d.ts +0 -105
- package/dist/shared/ui/components/layouts/sticky/Sticky.style.js +0 -24
- package/dist/shared/ui/components/molecules/inputField/InputField.d.ts +0 -24
- package/dist/shared/ui/components/molecules/inputField/InputField.js +0 -28
- package/dist/shared/ui/components/molecules/inputField/InputField.style.js +0 -37
- package/dist/shared/ui/hooks/useScreenSize.d.ts +0 -4
- package/dist/shared/ui/hooks/useScreenSize.js +0 -9
- /package/dist/{domain/checkout/model/checkouts.js → src/Expo.d.ts} +0 -0
- /package/dist/{domain → src/domain}/checkout/command/startCheckout.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/command/startCheckout.js +0 -0
- /package/dist/{domain → src/domain}/checkout/command/submitCheckout.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/command/submitCheckout.js +0 -0
- /package/dist/{domain → src/domain}/checkout/event/createModalNotificationWhenCheckoutSubmitted.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkout.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkout.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutSubmitted.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutSubmitted.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkouts.d.ts +0 -0
- /package/dist/{domain/checkoutBooking/model/checkoutBookings.js → src/domain/checkout/model/checkouts.js} +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/command/blockCheckoutBooking.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/command/blockCheckoutBooking.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBlocked.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBlocked.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingExpired.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingExpired.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookings.d.ts +0 -0
- /package/dist/{domain/checkoutFeedback/model/checkoutFeedbacks.js → src/domain/checkoutBooking/model/checkoutBookings.js} +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/command/giveCheckoutFeedback.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/command/giveCheckoutFeedback.js +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedback.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedback.js +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedbackGiven.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedbackGiven.js +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedbacks.d.ts +0 -0
- /package/dist/{domain/checkoutFeedback/model/feedbacks.js → src/domain/checkoutFeedback/model/checkoutFeedbacks.js} +0 -0
- /package/dist/{domain → src/domain}/checkoutFeedback/model/feedbacks.d.ts +0 -0
- /package/dist/{domain/checkoutItem → src/domain/checkoutFeedback}/model/feedbacks.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/resetCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/resetCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReset.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReset.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/currency.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/currency.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/feedbacks.d.ts +0 -0
- /package/dist/{domain/checkoutItem/model/price.js → src/domain/checkoutItem/model/feedbacks.js} +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/price.d.ts +0 -0
- /package/dist/{projection/shared → src/domain/checkoutItem/model}/price.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.js +0 -0
- /package/dist/{infrastructure/testing → src/infrastructure/ab-testing}/kameleoonEnvironment.d.ts +0 -0
- /package/dist/{infrastructure/testing → src/infrastructure/ab-testing}/kameleoonEnvironment.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/baseBootstrap.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/bootstrap.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutFeedbackDataSource.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutFeedbackDataSource.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutFeedbacks.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutFeedbacks.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckouts.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsSubmit.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsSubmit.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBlock.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBlock.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacks.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItems.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReset.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReset.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/storage.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/storage.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.js +0 -0
- /package/dist/{infrastructure/delivery/http/httpClient.js → src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpCheckoutByIdView.js +0 -0
- /package/dist/{infrastructure/ui/components/layouts/layout/Layout.js → src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.js +0 -0
- /package/dist/{infrastructure/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.js → src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFiveItemsDiscountByCustomerIdView.js +0 -0
- /package/dist/{infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.js → src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.js +0 -0
- /package/dist/{projection/bookedProductsVariants/bookedProductsVariants.js → src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.js +0 -0
- /package/dist/{projection/checkout/checkout.js → src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutBooking/httpCheckoutBookingByIdView.js +0 -0
- /package/dist/{projection/checkoutBooking/checkoutBooking.js → src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutItem/httpCheckoutItemByIdView.js +0 -0
- /package/dist/{projection/checkoutFeedback/checkoutFeedback.js → src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.js +0 -0
- /package/dist/{projection/feedback/feedback.js → src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.js +0 -0
- /package/dist/{projection/payment/paymentFlowPayload.js → src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/httpPricingByCheckoutIdView.js +0 -0
- /package/dist/{projection/pricing/pricing.js → src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/pricing.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/pricing.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.js +0 -0
- /package/dist/{projection/shared/customer.js → src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/Layout.d.ts +0 -0
- /package/dist/{projection/shared/order.js → src/infrastructure/ui/components/layouts/layout/Layout.js} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/footer/Footer.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/footer/Footer.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/header/Header.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/header/Header.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/header/Header.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/header/Header.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/dummyLayout/DummyLayout.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/dummyLayout/DummyLayout.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/dummyLayout/DummyLayout.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/dummyLayout/DummyLayout.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestion.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestion.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestions.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestions.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.d.ts +0 -0
- /package/dist/{projection/shared/subscription.js → src/infrastructure/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.js} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Happy.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Happy.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Normal.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Normal.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Sad.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Sad.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/isChildReturnQuestion.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/isChildReturnQuestion.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +0 -0
- /package/dist/{shared/logging/Logger.js → src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.js} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/footer/Footer.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/Header.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/Header.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/Header.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/checkoutHeader/CheckoutHeader.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/checkoutHeader/CheckoutHeader.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/defaultHeader/DefaultHeader.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/itemHeader/ItemHeader.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/itemHeader/ItemHeader.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/logo/Logo.Base64.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/logo/Logo.Base64.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/i18n/fetchTranslations.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/i18n/fetchTranslations.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/i18n/translationEndpoint.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/i18n/translationEndpoint.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutAccessibilityMiddleware.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutMiddleware.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/useBasePath.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/useBasePath.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/App.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/checkout/Checkout.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/checkout/components/paymentInstrument/PaymentInstrument.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/feedback/Feedback.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/selectModal/SelectModal.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/views/productVariant/ProductVariant.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/return/Return.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/return/components/price/Price.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/return/components/price/Price.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/return/components/productVariantPreview/ProductVariantPreview.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/return/components/productVariantPreview/ProductVariantPreview.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/shared/components/productVariant/ProductVariant.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/shared/components/productVariant/ProductVariant.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.d.ts +0 -0
- /package/dist/{projection → src/projection}/bookedProductsVariants/bookedProductsVariants.d.ts +0 -0
- /package/dist/{shared/logging/reactRouterV6Instrumentation/types.js → src/projection/bookedProductsVariants/bookedProductsVariants.js} +0 -0
- /package/dist/{projection → src/projection}/bookedProductsVariants/viewBookedProductVariantsForCheckoutItem.d.ts +0 -0
- /package/dist/{projection → src/projection}/bookedProductsVariants/viewBookedProductVariantsForCheckoutItem.js +0 -0
- /package/dist/{projection → src/projection}/checkout/checkout.d.ts +0 -0
- /package/dist/{shared/logging/types.js → src/projection/checkout/checkout.js} +0 -0
- /package/dist/{projection → src/projection}/checkout/viewCheckoutById.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewCheckoutById.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsSizeChangeEnabledByCheckoutId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsSizeChangeEnabledByCheckoutId.js +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/checkoutBooking.d.ts +0 -0
- /package/dist/{shared/notifications/domain/notification/model/notifications.js → src/projection/checkoutBooking/checkoutBooking.js} +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.js +0 -0
- /package/dist/{projection → src/projection}/checkoutFeedback/checkoutFeedback.d.ts +0 -0
- /package/dist/{shared/notifications/infrastructure/persistence/notificationDto.js → src/projection/checkoutFeedback/checkoutFeedback.js} +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.js +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.js +0 -0
- /package/dist/{projection → src/projection}/checkoutQuestion/checkoutQuestion.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutQuestion/checkoutQuestion.js +0 -0
- /package/dist/{projection → src/projection}/checkoutQuestion/listCheckoutQuestionsByCheckoutId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutQuestion/listCheckoutQuestionsByCheckoutId.js +0 -0
- /package/dist/{projection → src/projection}/feedback/feedback.d.ts +0 -0
- /package/dist/{shared/notifications/infrastructure/persistence/storage.js → src/projection/feedback/feedback.js} +0 -0
- /package/dist/{projection → src/projection}/payment/paymentFlowPayload.d.ts +0 -0
- /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
- /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.js +0 -0
- /package/dist/{projection → src/projection}/pricing/pricing.d.ts +0 -0
- /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.d.ts +0 -0
- /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.js +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.d.ts +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.js +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.d.ts +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.js +0 -0
- /package/dist/{projection → src/projection}/shared/country.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/country.js +0 -0
- /package/dist/{projection → src/projection}/shared/locale.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/locale.js +0 -0
- /package/dist/{projection → src/projection}/shared/order.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/price.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/size.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/size.js +0 -0
- /package/dist/{projection → src/projection}/shared/subscription.d.ts +0 -0
- /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.d.ts +0 -0
- /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.js +0 -0
- /package/dist/{shared → src/shared}/ui/components/atoms/aspectRatioView/AspectRatioView.d.ts +0 -0
- /package/dist/{shared → src/shared}/ui/components/atoms/aspectRatioView/AspectRatioView.js +0 -0
- /package/dist/{shared → src/shared}/ui/components/atoms/error/Error.d.ts +0 -0
- /package/dist/{shared → src/shared}/ui/components/atoms/field/Field.d.ts +0 -0
- /package/dist/{shared → src/shared}/ui/components/atoms/field/Field.style.d.ts +0 -0
- /package/dist/{shared → src/shared}/ui/components/molecules/inputField/InputField.style.d.ts +0 -0
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { act, renderHook, waitFor } from "@testing-library/react-native";
|
|
2
|
+
import { mock } from "jest-mock-extended";
|
|
3
|
+
import { RefObject } from "react";
|
|
4
|
+
import { CommandStatus } from "@lookiero/messaging-react";
|
|
5
|
+
import { PaymentFlowRef } from "@lookiero/payments-front";
|
|
6
|
+
import { ChargeStatus } from "@lookiero/payments-front/build/infrastructure/CheckoutAPI";
|
|
7
|
+
import { Logger } from "@lookiero/sty-psp-logging";
|
|
8
|
+
import { NotificationLevel, useCreateToastNotification } from "@lookiero/sty-psp-notifications";
|
|
9
|
+
import { useSubmitCheckout } from "../../domain/checkout/react/useSubmitCheckout";
|
|
10
|
+
import { useBlockCheckoutBooking } from "../../domain/checkoutBooking/react/useBlockCheckoutBooking";
|
|
11
|
+
import { paymentFlowPayload as mockPaymentFlowPayload } from "../../projection/payment/paymentFlowPayload.mock";
|
|
12
|
+
import { useSubmitCheckout as sut } from "./useSubmitCheckout";
|
|
13
|
+
|
|
14
|
+
const checkoutId = "9c450400-0cd7-44a4-b0e3-e0002a9bf8df";
|
|
15
|
+
const checkoutBookingId = "07c996bb-a0b4-45f9-ae21-6bb9c784d12b";
|
|
16
|
+
const errorChargeStatuses = Object.values(ChargeStatus).filter((status) => status !== ChargeStatus.EXECUTED);
|
|
17
|
+
|
|
18
|
+
const logger = mock<Logger>();
|
|
19
|
+
|
|
20
|
+
jest.mock("@lookiero/sty-psp-notifications");
|
|
21
|
+
jest.mock("../../domain/checkout/react/useSubmitCheckout");
|
|
22
|
+
jest.mock("../../domain/checkoutBooking/react/useBlockCheckoutBooking");
|
|
23
|
+
|
|
24
|
+
describe("useSubmitCheckout custom hook", () => {
|
|
25
|
+
test("returns success as the status right after calling 'submitCheckout'", async () => {
|
|
26
|
+
const mockBlockCheckoutBooking = jest.fn();
|
|
27
|
+
const mockSubmitCheckout = jest.fn();
|
|
28
|
+
const mockCreateToastNotification = jest.fn();
|
|
29
|
+
const mockOnError = jest.fn();
|
|
30
|
+
const mockOnSuccess = jest.fn();
|
|
31
|
+
const mockPaymentFlowRef: RefObject<PaymentFlowRef> = {
|
|
32
|
+
current: {
|
|
33
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
34
|
+
startLegacyBoxCheckout: jest.fn().mockImplementation((_payload, callback) => {
|
|
35
|
+
callback({ status: ChargeStatus.EXECUTED, final: true });
|
|
36
|
+
}),
|
|
37
|
+
startCheckout: jest.fn(),
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
(useBlockCheckoutBooking as jest.Mock).mockReturnValue([mockBlockCheckoutBooking, CommandStatus.SUCCESS]);
|
|
42
|
+
(useCreateToastNotification as jest.Mock).mockReturnValue([mockCreateToastNotification, CommandStatus.SUCCESS]);
|
|
43
|
+
(useSubmitCheckout as jest.Mock).mockReturnValue([mockSubmitCheckout, CommandStatus.SUCCESS]);
|
|
44
|
+
|
|
45
|
+
const { result } = renderHook(() =>
|
|
46
|
+
sut({
|
|
47
|
+
checkoutId,
|
|
48
|
+
checkoutBookingId,
|
|
49
|
+
paymentFlowRef: mockPaymentFlowRef,
|
|
50
|
+
onError: mockOnError,
|
|
51
|
+
onSuccess: mockOnSuccess,
|
|
52
|
+
logger,
|
|
53
|
+
}),
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
await act(async () => {
|
|
57
|
+
const [submitCheckout] = result.current;
|
|
58
|
+
await submitCheckout({ paymentFlowPayload: mockPaymentFlowPayload, sizeChangeEnabled: true });
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
await waitFor(() => {
|
|
62
|
+
const [, status] = result.current;
|
|
63
|
+
|
|
64
|
+
expect(mockBlockCheckoutBooking).toHaveBeenCalled();
|
|
65
|
+
expect(mockCreateToastNotification).not.toHaveBeenCalled();
|
|
66
|
+
expect(mockSubmitCheckout).toHaveBeenCalled();
|
|
67
|
+
|
|
68
|
+
expect(status).toBe("success");
|
|
69
|
+
expect(mockOnSuccess).toHaveBeenCalled();
|
|
70
|
+
expect(mockOnError).not.toHaveBeenCalled();
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
test("does not call blockCheckoutBooking if sizeChange is not enabled after calling 'submitCheckout'", async () => {
|
|
75
|
+
const mockBlockCheckoutBooking = jest.fn();
|
|
76
|
+
const mockSubmitCheckout = jest.fn();
|
|
77
|
+
const mockCreateToastNotification = jest.fn();
|
|
78
|
+
const mockOnError = jest.fn();
|
|
79
|
+
const mockPaymentFlowRef: RefObject<PaymentFlowRef> = {
|
|
80
|
+
current: {
|
|
81
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
82
|
+
startLegacyBoxCheckout: jest.fn().mockImplementation((_payload, callback) => {
|
|
83
|
+
callback({ status: ChargeStatus.EXECUTED, final: true });
|
|
84
|
+
}),
|
|
85
|
+
startCheckout: jest.fn(),
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
(useBlockCheckoutBooking as jest.Mock).mockReturnValue([mockBlockCheckoutBooking, CommandStatus.SUCCESS]);
|
|
90
|
+
(useCreateToastNotification as jest.Mock).mockReturnValue([mockCreateToastNotification, CommandStatus.SUCCESS]);
|
|
91
|
+
(useSubmitCheckout as jest.Mock).mockReturnValue([mockSubmitCheckout, CommandStatus.SUCCESS]);
|
|
92
|
+
|
|
93
|
+
const { result } = renderHook(() =>
|
|
94
|
+
sut({ checkoutId, checkoutBookingId, paymentFlowRef: mockPaymentFlowRef, onError: mockOnError, logger }),
|
|
95
|
+
);
|
|
96
|
+
|
|
97
|
+
await act(async () => {
|
|
98
|
+
const [submitCheckout] = result.current;
|
|
99
|
+
await submitCheckout({ paymentFlowPayload: mockPaymentFlowPayload, sizeChangeEnabled: false });
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
await waitFor(() => {
|
|
103
|
+
const [, status] = result.current;
|
|
104
|
+
|
|
105
|
+
expect(mockBlockCheckoutBooking).not.toHaveBeenCalled();
|
|
106
|
+
expect(mockCreateToastNotification).not.toHaveBeenCalled();
|
|
107
|
+
expect(mockSubmitCheckout).toHaveBeenCalled();
|
|
108
|
+
|
|
109
|
+
expect(status).toBe("success");
|
|
110
|
+
expect(mockOnError).not.toHaveBeenCalled();
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
test("returns blockCheckoutBooking error as the status right after calling 'submitCheckout'", async () => {
|
|
115
|
+
const mockBlockCheckoutBooking = jest.fn();
|
|
116
|
+
const mockSubmitCheckout = jest.fn();
|
|
117
|
+
const mockCreateToastNotification = jest.fn();
|
|
118
|
+
const mockOnError = jest.fn();
|
|
119
|
+
const mockPaymentFlowRef: RefObject<PaymentFlowRef> = {
|
|
120
|
+
current: {
|
|
121
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
122
|
+
startLegacyBoxCheckout: jest.fn().mockImplementation((_payload, callback) => {
|
|
123
|
+
callback({ status: ChargeStatus.EXECUTED, final: true });
|
|
124
|
+
}),
|
|
125
|
+
startCheckout: jest.fn(),
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
(useBlockCheckoutBooking as jest.Mock).mockReturnValue([mockBlockCheckoutBooking, CommandStatus.ERROR]);
|
|
130
|
+
(useCreateToastNotification as jest.Mock).mockReturnValue([mockCreateToastNotification, CommandStatus.IDLE]);
|
|
131
|
+
(useSubmitCheckout as jest.Mock).mockReturnValue([mockSubmitCheckout, CommandStatus.IDLE]);
|
|
132
|
+
|
|
133
|
+
const { result } = renderHook(() =>
|
|
134
|
+
sut({ checkoutId, checkoutBookingId, paymentFlowRef: mockPaymentFlowRef, onError: mockOnError, logger }),
|
|
135
|
+
);
|
|
136
|
+
|
|
137
|
+
await act(async () => {
|
|
138
|
+
const [submitCheckout] = result.current;
|
|
139
|
+
await submitCheckout({ paymentFlowPayload: mockPaymentFlowPayload, sizeChangeEnabled: true });
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
await waitFor(() => {
|
|
143
|
+
const [, status] = result.current;
|
|
144
|
+
|
|
145
|
+
expect(mockBlockCheckoutBooking).toHaveBeenCalled();
|
|
146
|
+
expect(mockCreateToastNotification).not.toHaveBeenCalled();
|
|
147
|
+
expect(status).toBe("error");
|
|
148
|
+
expect(mockOnError).toHaveBeenCalled();
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
test.each(errorChargeStatuses)(
|
|
153
|
+
"shows an 'error' notification when the checkout-flow fails (status %s)",
|
|
154
|
+
async (chargeStatus) => {
|
|
155
|
+
const mockBlockCheckoutBooking = jest.fn();
|
|
156
|
+
const mockSubmitCheckout = jest.fn();
|
|
157
|
+
const mockCreateToastNotification = jest.fn();
|
|
158
|
+
const mockOnError = jest.fn();
|
|
159
|
+
const mockPaymentFlowRef: RefObject<PaymentFlowRef> = {
|
|
160
|
+
current: {
|
|
161
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
162
|
+
startLegacyBoxCheckout: jest.fn().mockImplementation((_payload, callback) => {
|
|
163
|
+
callback({ status: chargeStatus, toaster: { id: `${chargeStatus}_toaster_id` }, final: true });
|
|
164
|
+
}),
|
|
165
|
+
startCheckout: jest.fn(),
|
|
166
|
+
},
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
(useBlockCheckoutBooking as jest.Mock).mockReturnValue([mockBlockCheckoutBooking, CommandStatus.SUCCESS]);
|
|
170
|
+
(useCreateToastNotification as jest.Mock).mockReturnValue([mockCreateToastNotification, CommandStatus.SUCCESS]);
|
|
171
|
+
(useSubmitCheckout as jest.Mock).mockReturnValue([mockSubmitCheckout, CommandStatus.IDLE]);
|
|
172
|
+
|
|
173
|
+
const { result } = renderHook(() =>
|
|
174
|
+
sut({ checkoutId, checkoutBookingId, paymentFlowRef: mockPaymentFlowRef, onError: mockOnError, logger }),
|
|
175
|
+
);
|
|
176
|
+
|
|
177
|
+
await act(async () => {
|
|
178
|
+
const [submitCheckout] = result.current;
|
|
179
|
+
await submitCheckout({ paymentFlowPayload: mockPaymentFlowPayload, sizeChangeEnabled: true });
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
await waitFor(() => {
|
|
183
|
+
const [, status] = result.current;
|
|
184
|
+
|
|
185
|
+
expect(mockBlockCheckoutBooking).toHaveBeenCalled();
|
|
186
|
+
expect(mockCreateToastNotification).toHaveBeenCalledWith(
|
|
187
|
+
expect.objectContaining({
|
|
188
|
+
level: NotificationLevel.ERROR,
|
|
189
|
+
bodyI18nKey: `${chargeStatus}_toaster_id`,
|
|
190
|
+
}),
|
|
191
|
+
);
|
|
192
|
+
expect(mockSubmitCheckout).not.toHaveBeenCalled();
|
|
193
|
+
|
|
194
|
+
expect(status).toBe("error");
|
|
195
|
+
expect(mockOnError).toHaveBeenCalled();
|
|
196
|
+
});
|
|
197
|
+
},
|
|
198
|
+
);
|
|
199
|
+
|
|
200
|
+
test("returns submitCheckout error as the status right after calling 'submitCheckout'", async () => {
|
|
201
|
+
const mockBlockCheckoutBooking = jest.fn();
|
|
202
|
+
const mockSubmitCheckout = jest.fn();
|
|
203
|
+
const mockCreateToastNotification = jest.fn();
|
|
204
|
+
const mockOnError = jest.fn();
|
|
205
|
+
const mockPaymentFlowRef: RefObject<PaymentFlowRef> = {
|
|
206
|
+
current: {
|
|
207
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
208
|
+
startLegacyBoxCheckout: jest.fn().mockImplementation((_payload, callback) => {
|
|
209
|
+
callback({ status: ChargeStatus.EXECUTED, final: true });
|
|
210
|
+
}),
|
|
211
|
+
startCheckout: jest.fn(),
|
|
212
|
+
},
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
(useBlockCheckoutBooking as jest.Mock).mockReturnValue([mockBlockCheckoutBooking, CommandStatus.SUCCESS]);
|
|
216
|
+
(useSubmitCheckout as jest.Mock).mockReturnValue([mockSubmitCheckout, CommandStatus.ERROR]);
|
|
217
|
+
(useCreateToastNotification as jest.Mock).mockReturnValue([mockCreateToastNotification, CommandStatus.SUCCESS]);
|
|
218
|
+
|
|
219
|
+
const { result } = renderHook(() =>
|
|
220
|
+
sut({ checkoutId, checkoutBookingId, paymentFlowRef: mockPaymentFlowRef, onError: mockOnError, logger }),
|
|
221
|
+
);
|
|
222
|
+
|
|
223
|
+
await act(async () => {
|
|
224
|
+
const [submitCheckout] = result.current;
|
|
225
|
+
submitCheckout({ paymentFlowPayload: mockPaymentFlowPayload, sizeChangeEnabled: true });
|
|
226
|
+
});
|
|
227
|
+
|
|
228
|
+
await waitFor(() => {
|
|
229
|
+
const [, status] = result.current;
|
|
230
|
+
|
|
231
|
+
expect(mockBlockCheckoutBooking).toHaveBeenCalled();
|
|
232
|
+
expect(mockCreateToastNotification).not.toHaveBeenCalled();
|
|
233
|
+
expect(mockSubmitCheckout).toHaveBeenCalled();
|
|
234
|
+
|
|
235
|
+
expect(status).toBe("error");
|
|
236
|
+
expect(mockOnError).toHaveBeenCalled();
|
|
237
|
+
});
|
|
238
|
+
});
|
|
239
|
+
});
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { RefObject, useCallback, useMemo, useState } from "react";
|
|
2
|
+
import { CommandStatus } from "@lookiero/messaging-react";
|
|
3
|
+
import { PaymentFlowRef } from "@lookiero/payments-front";
|
|
4
|
+
import { LegacyBoxCheckout } from "@lookiero/payments-front/build/components/PaymentFlow/internals/strategies/LegacyBoxCheckoutStrategy";
|
|
5
|
+
import { ChargeStatus } from "@lookiero/payments-front/build/infrastructure/CheckoutAPI";
|
|
6
|
+
import { Logger } from "@lookiero/sty-psp-logging";
|
|
7
|
+
import { NotificationLevel, useCreateToastNotification } from "@lookiero/sty-psp-notifications";
|
|
8
|
+
import { PaymentFlowPayloadProjection } from "../../../projection/payment/paymentFlowPayload";
|
|
9
|
+
import { MESSAGING_CONTEXT_ID } from "../../delivery/baseBootstrap";
|
|
10
|
+
import { useSubmitCheckout as useSubmitCheckoutCommand } from "../../domain/checkout/react/useSubmitCheckout";
|
|
11
|
+
import { useBlockCheckoutBooking } from "../../domain/checkoutBooking/react/useBlockCheckoutBooking";
|
|
12
|
+
import { I18nMessages } from "../i18n/i18n";
|
|
13
|
+
|
|
14
|
+
type Status = "idle" | "loading" | "success" | "error";
|
|
15
|
+
|
|
16
|
+
interface SubmitCheckoutFunctionArgs {
|
|
17
|
+
readonly paymentFlowPayload: PaymentFlowPayloadProjection;
|
|
18
|
+
readonly sizeChangeEnabled: boolean;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
interface SubmitCheckoutFunction {
|
|
22
|
+
(args: SubmitCheckoutFunctionArgs): Promise<void>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
type UseSubmitCheckoutResult = [submitCheckout: SubmitCheckoutFunction, status: Status];
|
|
26
|
+
|
|
27
|
+
interface UseSubmitCheckoutFunctionArgs {
|
|
28
|
+
readonly checkoutId: string;
|
|
29
|
+
readonly checkoutBookingId: string;
|
|
30
|
+
readonly paymentFlowRef: RefObject<PaymentFlowRef>;
|
|
31
|
+
readonly onError: () => void;
|
|
32
|
+
readonly onSuccess?: () => void;
|
|
33
|
+
readonly logger: Logger;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
interface UseSubmitCheckoutFunction {
|
|
37
|
+
(args: UseSubmitCheckoutFunctionArgs): UseSubmitCheckoutResult;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const useSubmitCheckout: UseSubmitCheckoutFunction = ({
|
|
41
|
+
checkoutId,
|
|
42
|
+
checkoutBookingId,
|
|
43
|
+
paymentFlowRef,
|
|
44
|
+
onError,
|
|
45
|
+
onSuccess,
|
|
46
|
+
logger,
|
|
47
|
+
}) => {
|
|
48
|
+
const [submitCheckoutCommand, submitCheckoutCommandStatus] = useSubmitCheckoutCommand({ checkoutId, logger });
|
|
49
|
+
const [blockCheckoutBooking, blockCheckoutBookingStatus] = useBlockCheckoutBooking({ checkoutBookingId, logger });
|
|
50
|
+
const [createNotification] = useCreateToastNotification({ contextId: MESSAGING_CONTEXT_ID, logger });
|
|
51
|
+
|
|
52
|
+
const [startLegacyBoxCheckoutStatus, setStartLegacyBoxCheckoutStatus] = useState<Status>("idle");
|
|
53
|
+
|
|
54
|
+
const submitCheckout: SubmitCheckoutFunction = useCallback(
|
|
55
|
+
async ({ paymentFlowPayload, sizeChangeEnabled }) => {
|
|
56
|
+
try {
|
|
57
|
+
sizeChangeEnabled && (await blockCheckoutBooking());
|
|
58
|
+
} catch (error) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
paymentFlowRef.current?.startLegacyBoxCheckout(
|
|
63
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
64
|
+
// @ts-ignore
|
|
65
|
+
paymentFlowPayload,
|
|
66
|
+
async ({ status, toaster, final }: LegacyBoxCheckout) => {
|
|
67
|
+
setStartLegacyBoxCheckoutStatus("loading");
|
|
68
|
+
|
|
69
|
+
if (final) {
|
|
70
|
+
if (status === ChargeStatus.EXECUTED) {
|
|
71
|
+
setStartLegacyBoxCheckoutStatus("success");
|
|
72
|
+
await submitCheckoutCommand();
|
|
73
|
+
onSuccess?.();
|
|
74
|
+
} else {
|
|
75
|
+
createNotification({
|
|
76
|
+
level: NotificationLevel.ERROR,
|
|
77
|
+
bodyI18nKey: toaster?.id || I18nMessages.CHECKOUT_TOAST_PAYMENT_ERROR,
|
|
78
|
+
});
|
|
79
|
+
setStartLegacyBoxCheckoutStatus("error");
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
);
|
|
84
|
+
},
|
|
85
|
+
[paymentFlowRef, blockCheckoutBooking, submitCheckoutCommand, onSuccess, createNotification],
|
|
86
|
+
);
|
|
87
|
+
|
|
88
|
+
const status: Status = useMemo(() => {
|
|
89
|
+
if (
|
|
90
|
+
blockCheckoutBookingStatus === CommandStatus.LOADING ||
|
|
91
|
+
startLegacyBoxCheckoutStatus === "loading" ||
|
|
92
|
+
submitCheckoutCommandStatus === CommandStatus.LOADING
|
|
93
|
+
) {
|
|
94
|
+
return "loading";
|
|
95
|
+
}
|
|
96
|
+
if (
|
|
97
|
+
blockCheckoutBookingStatus === CommandStatus.SUCCESS &&
|
|
98
|
+
startLegacyBoxCheckoutStatus === "success" &&
|
|
99
|
+
submitCheckoutCommandStatus === CommandStatus.SUCCESS
|
|
100
|
+
) {
|
|
101
|
+
return "success";
|
|
102
|
+
}
|
|
103
|
+
if (
|
|
104
|
+
blockCheckoutBookingStatus === CommandStatus.ERROR ||
|
|
105
|
+
startLegacyBoxCheckoutStatus === "error" ||
|
|
106
|
+
submitCheckoutCommandStatus === CommandStatus.ERROR
|
|
107
|
+
) {
|
|
108
|
+
onError();
|
|
109
|
+
return "error";
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
return "idle";
|
|
113
|
+
}, [blockCheckoutBookingStatus, submitCheckoutCommandStatus, onError, startLegacyBoxCheckoutStatus]);
|
|
114
|
+
|
|
115
|
+
return [submitCheckout, status];
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export type { Status, SubmitCheckoutFunction };
|
|
119
|
+
export { useSubmitCheckout };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { EndpointFunction } from "@lookiero/i18n";
|
|
2
|
+
import { fetchTranslations } from "./fetchTranslations";
|
|
3
|
+
import { translationEndpoint } from "./translationEndpoint";
|
|
4
|
+
|
|
5
|
+
const translations: EndpointFunction[] = [
|
|
6
|
+
(locale) => translationEndpoint({ translationsUrl: "", translationsApiKey: "" })(locale),
|
|
7
|
+
(locale) => translationEndpoint({ translationsUrl: "", translationsApiKey: "" })(locale),
|
|
8
|
+
];
|
|
9
|
+
const locale = "es";
|
|
10
|
+
|
|
11
|
+
const mockFetchFetchTranslation = jest.fn();
|
|
12
|
+
jest.mock("@lookiero/i18n", () => ({
|
|
13
|
+
fetchFetchTranslation: jest.fn(() => mockFetchFetchTranslation),
|
|
14
|
+
}));
|
|
15
|
+
|
|
16
|
+
describe("fetchTranslations", () => {
|
|
17
|
+
test("does fetch translations with the expected response", async () => {
|
|
18
|
+
mockFetchFetchTranslation
|
|
19
|
+
.mockResolvedValueOnce({ test: "test" })
|
|
20
|
+
.mockResolvedValueOnce({ another_test: "another_test" });
|
|
21
|
+
|
|
22
|
+
const results = await fetchTranslations({ translations })({ locale });
|
|
23
|
+
|
|
24
|
+
expect(results).toStrictEqual({
|
|
25
|
+
test: "test",
|
|
26
|
+
another_test: "another_test",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EndpointFunction, fetchFetchTranslation, FetchTranslationFuction } from "@lookiero/i18n";
|
|
2
|
+
|
|
3
|
+
interface FetchTranslationsFuntionArgs {
|
|
4
|
+
readonly translations: EndpointFunction[];
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
interface FetchTranslationsFuntion {
|
|
8
|
+
(args: FetchTranslationsFuntionArgs): FetchTranslationFuction;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const fetchTranslations: FetchTranslationsFuntion =
|
|
12
|
+
({ translations }) =>
|
|
13
|
+
async ({ locale }) => {
|
|
14
|
+
const translationsMessages = await Promise.all(
|
|
15
|
+
translations.map((endpoint) => fetchFetchTranslation({ endpoint })({ locale })),
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
return translationsMessages.reduce(
|
|
19
|
+
(acc, translationMessages) => ({
|
|
20
|
+
...acc,
|
|
21
|
+
...translationMessages,
|
|
22
|
+
}),
|
|
23
|
+
{},
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export { fetchTranslations };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// TODO: deprecated?
|
|
2
|
+
const COLOR_I18N_PREFIX = "catalog.color.";
|
|
3
|
+
|
|
4
|
+
enum I18nMessages {
|
|
5
|
+
TOAST_GENERIC_ERROR = "toast_generic_error",
|
|
6
|
+
ITEM_SIZE = "item.size",
|
|
7
|
+
ITEM_UNIQUE = "item.unique",
|
|
8
|
+
ITEM_KEEP_BUTTON = "item.keep_button",
|
|
9
|
+
ITEM_RETURN_BUTTON = "item.return_button",
|
|
10
|
+
ITEM_CHANGE_SIZE_BUTTON = "item.change_size_button",
|
|
11
|
+
ITEM_BANNER_CUSTOMER_KEPT_DECISSION = "item.banner_customer_kept_decission",
|
|
12
|
+
ITEM_BANNER_CUSTOMER_REPLACED_DECISSION = "item.banner_customer_replaced_decission",
|
|
13
|
+
ITEM_BANNER_CUSTOMER_RETURNED_DECISSION = "item.banner_customer_returned_decission",
|
|
14
|
+
ITEM_BANNER_BUTTON = "item.banner_button",
|
|
15
|
+
SIZE_CHANGE_MODAL_TITLE = "size_change_modal.title",
|
|
16
|
+
SIZE_CHANGE_MODAL_DESCRIPTION = "size_change_modal.description",
|
|
17
|
+
SIZE_CHANGE_MODAL_BUTTON = "size_change_modal.button",
|
|
18
|
+
SIZE_WITHOUT_STOCK_MODAL_TITLE = "size_without_stock_modal.title",
|
|
19
|
+
SIZE_WITHOUT_STOCK_MODAL_DESCRIPTION = "size_without_stock_modal.description",
|
|
20
|
+
SIZE_WITHOUT_STOCK_MODAL_BUTTON = "size_without_stock_modal.button",
|
|
21
|
+
GET_OUT_OF_CHECKOUT_MODAL_TITLE = "get_out_of_checkout_modal.title",
|
|
22
|
+
GET_OUT_OF_CHECKOUT_MODAL_DESCRIPTION = "get_out_of_checkout_modal.description",
|
|
23
|
+
GET_OUT_OF_CHECKOUT_MODAL_DISMISS_BUTTON = "get_out_of_checkout_modal.dismiss_button",
|
|
24
|
+
GET_OUT_OF_CHECKOUT_MODAL_CONFIRM_BUTTON = "get_out_of_checkout_modal.confirm_button",
|
|
25
|
+
FEEDBACK_TITLE = "return_questions_feedback.feedback.title",
|
|
26
|
+
FEEDBACK_UNANSWERED = "return_questions_feedback.feedback.unanswered",
|
|
27
|
+
RETURN_QUESTIONS_TITLE = "return_questions.title",
|
|
28
|
+
RETURN_QUESTIONS_DESCRIPTION = "return_questions.description",
|
|
29
|
+
RETURN_QUESTIONS_SUBMIT_BUTTON = "return_questions.submit_button",
|
|
30
|
+
RETURN_QUESTION_MAIN_ALL_OPINION = "return_question.main.all.opinion",
|
|
31
|
+
RETURN_QUESTION_TOAST_SUCCESS = "return_question.thankyou",
|
|
32
|
+
SUMMARY_TITLE = "summary.title",
|
|
33
|
+
SUMMARY_DESCRIPTION = "summary.description",
|
|
34
|
+
BANNER_DISCOUNT_TEXT = "summary.banner.text",
|
|
35
|
+
SUMMARY_KEEP_TAB = "summary.keep_tab",
|
|
36
|
+
SUMMARY_RETURN_TAB = "summary.return_tab",
|
|
37
|
+
SUMMARY_KEEP_EMPTY = "summary.keep_empty",
|
|
38
|
+
SUMMARY_RETURN_EMPTY = "summary.return_empty",
|
|
39
|
+
SUMMARY_TOTAL = "summary.total",
|
|
40
|
+
SUMMARY_SUBTOTAL = "summary.subtotal",
|
|
41
|
+
SUMMARY_SUBMIT_BUTTON = "summary.submit_button",
|
|
42
|
+
SUMMARY_FREE = "summary.free",
|
|
43
|
+
SUMMARY_DISCOUNT = "summary.discount",
|
|
44
|
+
SUMMARY_TOTAL_ITEMS_KEPT = "summary.total_items_kept",
|
|
45
|
+
SUMMARY_CREDIT = "summary.credit",
|
|
46
|
+
SUMMARY_FEE = "summary.fee",
|
|
47
|
+
PRODUCT_VARIANT_SIZE_CHANGE = "product_variant.size_change",
|
|
48
|
+
CHECKOUT_TITLE = "checkout.title",
|
|
49
|
+
CHECKOUT_PAY_BUTTON = "checkout.pay_button",
|
|
50
|
+
CHECKOUT_TOAST_PAYMENT_ERROR = "checkout.toast_payment_error",
|
|
51
|
+
CHECKOUT_SUCCESS_MODAL_TITLE = "checkout.success_modal_title",
|
|
52
|
+
CHECKOUT_SUCCESS_MODAL_DESCRIPTION = "checkout.success_modal_description",
|
|
53
|
+
CHECKOUT_SUCCESS_MODAL_BUTTON = "checkout.success_modal_button",
|
|
54
|
+
CHECKOUT_DELIVERY_BANNER = "checkout.delivery_banner",
|
|
55
|
+
HEADER_CHECKOUT_TITLE = "header.checkout_title",
|
|
56
|
+
HEADER_COMPLETE_CHECKOUT_TITLE = "header.complete_checkout_title",
|
|
57
|
+
FEEDBACK_BUTTON = "feedback.button",
|
|
58
|
+
CHECKOUT_TOAST_BOOKING_EXPIRED = "checkout.toast_booking_expired",
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { I18nMessages, COLOR_I18N_PREFIX };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { translationEndpoint } from "./translationEndpoint";
|
|
2
|
+
|
|
3
|
+
const translationsUrl = "https://translation_url.com";
|
|
4
|
+
const translationsApiKey = "NZpj4kL_BRo0ugLDTgV34s9ZVlopBFyM";
|
|
5
|
+
const locale = "es";
|
|
6
|
+
|
|
7
|
+
describe("translationEndpoint", () => {
|
|
8
|
+
test("create translation endpoint with the expected response", async () => {
|
|
9
|
+
expect(translationEndpoint({ translationsUrl, translationsApiKey })(locale)).toStrictEqual(
|
|
10
|
+
"https://translation_url.com/es?key=NZpj4kL_BRo0ugLDTgV34s9ZVlopBFyM&no-folding=true",
|
|
11
|
+
);
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EndpointFunction } from "@lookiero/i18n";
|
|
2
|
+
import { Country } from "../../../projection/shared/country";
|
|
3
|
+
import { Locale } from "../../../projection/shared/locale";
|
|
4
|
+
|
|
5
|
+
interface TranslationEndpointFunctionArgs {
|
|
6
|
+
readonly translationsUrl: string;
|
|
7
|
+
readonly translationsApiKey: string;
|
|
8
|
+
}
|
|
9
|
+
interface TranslationEndpointFunction {
|
|
10
|
+
(args: TranslationEndpointFunctionArgs): EndpointFunction;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const translationEndpoint: TranslationEndpointFunction =
|
|
14
|
+
({ translationsUrl, translationsApiKey }) =>
|
|
15
|
+
(locale) =>
|
|
16
|
+
`${translationsUrl}/${locale}?key=${translationsApiKey}&no-folding=true`;
|
|
17
|
+
|
|
18
|
+
type Project = "user-area-front" | "inventory-catalog" | "checkout";
|
|
19
|
+
|
|
20
|
+
const COUNTRY: Record<Locale, Country> = {
|
|
21
|
+
[Locale.ES]: Country.ES,
|
|
22
|
+
[Locale.FR]: Country.FR,
|
|
23
|
+
[Locale.EN]: Country.GB,
|
|
24
|
+
[Locale.IT]: Country.IT,
|
|
25
|
+
[Locale.PT]: Country.PT,
|
|
26
|
+
[Locale.DE]: Country.DE,
|
|
27
|
+
[Locale.AT]: Country.AT,
|
|
28
|
+
[Locale.NL]: Country.NL,
|
|
29
|
+
[Locale.SE]: Country.SE,
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
interface TranslationExternalEndpointFunctionArgs {
|
|
33
|
+
readonly translationsUrl: string;
|
|
34
|
+
readonly projects: [project: Project, filter?: string][];
|
|
35
|
+
}
|
|
36
|
+
interface TranslationExternalEndpointFunction {
|
|
37
|
+
(args: TranslationExternalEndpointFunctionArgs): EndpointFunction;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const translationExternalEndpoint: TranslationExternalEndpointFunction =
|
|
41
|
+
({ translationsUrl, projects }) =>
|
|
42
|
+
(locale) => {
|
|
43
|
+
const projectsQueryParam = projects
|
|
44
|
+
.map(([project, filter]) => `projectFilter=${project}${filter ? `:${filter}` : ""}`)
|
|
45
|
+
.join("&");
|
|
46
|
+
|
|
47
|
+
return `${translationsUrl}/${locale}/${COUNTRY[locale as Locale]}?${projectsQueryParam}`;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export { translationEndpoint, translationExternalEndpoint };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { render, RenderResult } from "@testing-library/react-native";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Text } from "react-native";
|
|
4
|
+
import { MemoryRouter, Outlet, Route, Routes } from "react-router-native";
|
|
5
|
+
import { QueryStatus } from "@lookiero/messaging-react";
|
|
6
|
+
import { useViewIsCheckoutAccessibleByCustomerId } from "../../projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId";
|
|
7
|
+
import { CheckoutAccessibilityMiddleware } from "./CheckoutAccessibilityMiddleware";
|
|
8
|
+
|
|
9
|
+
jest.mock("../../projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId", () => ({
|
|
10
|
+
useViewIsCheckoutAccessibleByCustomerId: jest.fn(),
|
|
11
|
+
}));
|
|
12
|
+
|
|
13
|
+
const customerId = "29790d24-b139-4ab8-b618-d796d101e974";
|
|
14
|
+
const checkoutRouteText = "checkout-route-component";
|
|
15
|
+
const loaderText = "loader-component";
|
|
16
|
+
|
|
17
|
+
interface RenderCheckoutAccessibilityMiddlewareArgs {
|
|
18
|
+
readonly onNotAccessible?: () => void;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
interface RenderCheckoutAccessibilityMiddlewareFunction {
|
|
22
|
+
(args?: RenderCheckoutAccessibilityMiddlewareArgs): RenderResult;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const renderCheckoutAccessibilityMiddleware: RenderCheckoutAccessibilityMiddlewareFunction = ({
|
|
26
|
+
onNotAccessible = () => void 0,
|
|
27
|
+
} = {}) =>
|
|
28
|
+
render(
|
|
29
|
+
<MemoryRouter initialEntries={["/"]}>
|
|
30
|
+
<Routes>
|
|
31
|
+
<Route
|
|
32
|
+
path="/"
|
|
33
|
+
element={
|
|
34
|
+
<CheckoutAccessibilityMiddleware
|
|
35
|
+
customerId={customerId}
|
|
36
|
+
loader={<Text>{loaderText}</Text>}
|
|
37
|
+
onNotAccessible={onNotAccessible}
|
|
38
|
+
>
|
|
39
|
+
<Outlet />
|
|
40
|
+
</CheckoutAccessibilityMiddleware>
|
|
41
|
+
}
|
|
42
|
+
>
|
|
43
|
+
<Route element={<Text>{checkoutRouteText}</Text>} path="/" />
|
|
44
|
+
</Route>
|
|
45
|
+
</Routes>
|
|
46
|
+
</MemoryRouter>,
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
describe("CheckoutAccessibilityMiddleware component", () => {
|
|
50
|
+
it("renders a loader while processing viewIsCheckoutAccessibleByCustomerId use-case", async () => {
|
|
51
|
+
(useViewIsCheckoutAccessibleByCustomerId as jest.Mock).mockReturnValue([undefined, QueryStatus.LOADING]);
|
|
52
|
+
const { findByText } = renderCheckoutAccessibilityMiddleware();
|
|
53
|
+
const loader = await findByText(loaderText);
|
|
54
|
+
|
|
55
|
+
expect(loader).toBeTruthy();
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
it("renders its Outlet's content if it is accessible", async () => {
|
|
59
|
+
(useViewIsCheckoutAccessibleByCustomerId as jest.Mock).mockReturnValue([true, QueryStatus.SUCCESS]);
|
|
60
|
+
const { findByText } = renderCheckoutAccessibilityMiddleware();
|
|
61
|
+
const checkoutContent = await findByText(checkoutRouteText);
|
|
62
|
+
|
|
63
|
+
expect(checkoutContent).toBeTruthy();
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
it("calls onNotAccessible callback if it is not accessible", async () => {
|
|
67
|
+
(useViewIsCheckoutAccessibleByCustomerId as jest.Mock).mockReturnValue([false, QueryStatus.SUCCESS]);
|
|
68
|
+
const onNotAccessibleFn = jest.fn();
|
|
69
|
+
const { toJSON } = renderCheckoutAccessibilityMiddleware({ onNotAccessible: onNotAccessibleFn });
|
|
70
|
+
|
|
71
|
+
expect(toJSON()).toBeNull();
|
|
72
|
+
expect(onNotAccessibleFn).toHaveBeenCalled();
|
|
73
|
+
});
|
|
74
|
+
});
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React, { FC, useEffect, useRef } from "react";
|
|
2
|
+
import { Spinner } from "@lookiero/aurora";
|
|
3
|
+
import { QueryStatus } from "@lookiero/messaging-react";
|
|
4
|
+
import { useViewIsCheckoutAccessibleByCustomerId } from "../../projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId";
|
|
5
|
+
|
|
6
|
+
interface CheckoutAccessibilityMiddlewareProps {
|
|
7
|
+
readonly customerId: string | undefined;
|
|
8
|
+
readonly onNotAccessible: () => void;
|
|
9
|
+
readonly loader?: JSX.Element;
|
|
10
|
+
readonly children: JSX.Element;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const CheckoutAccessibilityMiddleware: FC<CheckoutAccessibilityMiddlewareProps> = ({
|
|
14
|
+
customerId,
|
|
15
|
+
onNotAccessible,
|
|
16
|
+
loader = <Spinner />,
|
|
17
|
+
children,
|
|
18
|
+
}) => {
|
|
19
|
+
const [accessible, status] = useViewIsCheckoutAccessibleByCustomerId({ customerId });
|
|
20
|
+
|
|
21
|
+
const onNotAccessibleRef = useRef(onNotAccessible);
|
|
22
|
+
onNotAccessibleRef.current = onNotAccessible;
|
|
23
|
+
|
|
24
|
+
const notAccessible = accessible === false || status === QueryStatus.ERROR;
|
|
25
|
+
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
if (notAccessible) {
|
|
28
|
+
onNotAccessibleRef.current();
|
|
29
|
+
}
|
|
30
|
+
}, [notAccessible]);
|
|
31
|
+
|
|
32
|
+
return accessible === undefined && [QueryStatus.IDLE, QueryStatus.LOADING].includes(status)
|
|
33
|
+
? loader
|
|
34
|
+
: accessible
|
|
35
|
+
? children
|
|
36
|
+
: null;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export { CheckoutAccessibilityMiddleware };
|