@lookiero/checkout 5.3.0 → 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,10 @@
|
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
import { theme } from "@lookiero/sty-psp-ui";
|
|
3
|
+
const { space6, space8 } = theme();
|
|
4
|
+
const style = StyleSheet.create({
|
|
5
|
+
buttonContainer: {
|
|
6
|
+
paddingHorizontal: space6,
|
|
7
|
+
paddingVertical: space8,
|
|
8
|
+
},
|
|
9
|
+
});
|
|
10
|
+
export { style };
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import React, { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
2
|
+
import { generatePath, useMatch, useNavigate, useParams } from "react-router-native";
|
|
3
|
+
import { Box, Spinner } from "@lookiero/aurora";
|
|
4
|
+
import { CommandStatus, QueryStatus } from "@lookiero/messaging-react";
|
|
5
|
+
import { useLogger } from "@lookiero/sty-psp-logging";
|
|
6
|
+
import { useScreenSize } from "@lookiero/sty-psp-ui";
|
|
7
|
+
import { CheckoutItemStatus } from "../../../../domain/checkoutItem/model/checkoutItem";
|
|
8
|
+
import { useBookCheckoutBookingForCheckoutItem } from "../../../domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem";
|
|
9
|
+
import { useReturnCheckoutItem } from "../../../domain/checkoutItem/react/useReturnCheckoutItem";
|
|
10
|
+
import { useViewBookedProductsVariantsForCheckoutItem } from "../../../projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem";
|
|
11
|
+
import { useViewFirstAvailableCheckoutByCustomerId } from "../../../projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId";
|
|
12
|
+
import { useViewFiveItemsDiscountByCustomerId } from "../../../projection/checkout/react/useViewFiveItemsDiscountByCustomerId";
|
|
13
|
+
import { useViewIsSizeChangeEnabledByCheckoutId } from "../../../projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId";
|
|
14
|
+
import { useListReturnQuestionsByCheckoutItemId } from "../../../projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId";
|
|
15
|
+
import { TrackingPage } from "../../../tracking/tracking";
|
|
16
|
+
import { useTrackItemPageView } from "../../../tracking/useTrackItemPageView";
|
|
17
|
+
import { useTrackPressBack } from "../../../tracking/useTrackPressBack";
|
|
18
|
+
import { useTrackPressNext } from "../../../tracking/useTrackPressNext";
|
|
19
|
+
import { useTrackPressPrevious } from "../../../tracking/useTrackPressPrevious";
|
|
20
|
+
import { useTrackReturnItem } from "../../../tracking/useTrackReturnItem";
|
|
21
|
+
import { FiveItemsDiscountBanner } from "../../components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner";
|
|
22
|
+
import { ReturnQuestionFeedbackProvider } from "../../components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback";
|
|
23
|
+
import { ItemDetailHeader } from "../../components/templates/header/itemDetailHeader/ItemDetailHeader";
|
|
24
|
+
import { ItemHeader } from "../../components/templates/header/itemHeader/ItemHeader";
|
|
25
|
+
import { NewFeedbackExperimentVariation, useNewFeedbackExperiment } from "../../hooks/useNewFeedbackExperiment";
|
|
26
|
+
import { useStaticInfo } from "../../hooks/useStaticInfo";
|
|
27
|
+
import { Routes } from "../../routing/routes";
|
|
28
|
+
import { useBasePath } from "../../routing/useBasePath";
|
|
29
|
+
import { style } from "./Item.style";
|
|
30
|
+
import { ReturnQuestionsForm } from "./components/returnQuestionsForm/ReturnQuestionsForm";
|
|
31
|
+
import { ItemWithCustomerDecission, } from "./views/itemWithCustomerDecission/ItemWithCustomerDecission";
|
|
32
|
+
import { ItemWithoutCustomerDecission, } from "./views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission";
|
|
33
|
+
const Item = ({ layout: Layout }) => {
|
|
34
|
+
const logger = useLogger();
|
|
35
|
+
const screenSize = useScreenSize();
|
|
36
|
+
const navigate = useNavigate();
|
|
37
|
+
const basePath = useBasePath();
|
|
38
|
+
const { customer: { customerId, country, segment }, } = useStaticInfo();
|
|
39
|
+
const isDesktopScreen = screenSize !== "S";
|
|
40
|
+
const { id } = useParams();
|
|
41
|
+
const [fiveItemsDiscount = 0, fiveItemsDiscountStatus] = useViewFiveItemsDiscountByCustomerId({ customerId });
|
|
42
|
+
const [checkout, checkoutStatus] = useViewFirstAvailableCheckoutByCustomerId({ customerId });
|
|
43
|
+
const checkoutItem = checkout?.items.find((checkoutItem) => checkoutItem.id === id);
|
|
44
|
+
/* Kameleoon experiment */
|
|
45
|
+
const newFeedbackVariation = useNewFeedbackExperiment();
|
|
46
|
+
const redirectToReturnPage = newFeedbackVariation === NewFeedbackExperimentVariation.RETURN_PAGE;
|
|
47
|
+
/* Kameleoon experiment */
|
|
48
|
+
/* SizeChange and Booking */
|
|
49
|
+
const [isSizeChangeEnabled, sizeChangeEnabledStatus] = useViewIsSizeChangeEnabledByCheckoutId({
|
|
50
|
+
checkoutId: checkout?.id,
|
|
51
|
+
});
|
|
52
|
+
const [bookedProductsVariants, bookedProductsVariantsStatus] = useViewBookedProductsVariantsForCheckoutItem({
|
|
53
|
+
checkoutItemId: checkoutItem.id,
|
|
54
|
+
});
|
|
55
|
+
const isBookingRequired = bookedProductsVariants === null && isSizeChangeEnabled;
|
|
56
|
+
const [bookCheckoutBooking] = useBookCheckoutBookingForCheckoutItem({
|
|
57
|
+
checkoutItemId: checkoutItem.id,
|
|
58
|
+
checkoutBookingId: checkout?.checkoutBookingId,
|
|
59
|
+
logger,
|
|
60
|
+
});
|
|
61
|
+
// This reference is used for the effect not be triggered twice
|
|
62
|
+
// (bookCheckoutBooking changes when the checkout has a proper checkoutBookingId)
|
|
63
|
+
const bookCheckoutBookingRef = useRef(bookCheckoutBooking);
|
|
64
|
+
bookCheckoutBookingRef.current = bookCheckoutBooking;
|
|
65
|
+
useEffect(() => {
|
|
66
|
+
if (isBookingRequired) {
|
|
67
|
+
bookCheckoutBookingRef.current();
|
|
68
|
+
}
|
|
69
|
+
}, [isBookingRequired]);
|
|
70
|
+
/* SizeChange and Booking */
|
|
71
|
+
/* ReturnCheckoutItem */
|
|
72
|
+
const [returnQuestions] = useListReturnQuestionsByCheckoutItemId({
|
|
73
|
+
checkoutItemId: checkoutItem.id,
|
|
74
|
+
});
|
|
75
|
+
const [returnQuestionsVisible, setReturnQuestionsVisible] = useState(false);
|
|
76
|
+
const showReturnQuestions = useCallback(() => setReturnQuestionsVisible(true), []);
|
|
77
|
+
const hideReturnQuestions = useCallback(() => setReturnQuestionsVisible(false), []);
|
|
78
|
+
const goToReturnPage = useCallback(() => {
|
|
79
|
+
navigate(`${basePath}/${generatePath(Routes.RETURN, { id: checkoutItem.id })}`);
|
|
80
|
+
}, [basePath, checkoutItem.id, navigate]);
|
|
81
|
+
const [returnCheckoutItem, returnCheckoutItemStatus] = useReturnCheckoutItem({
|
|
82
|
+
checkoutItemId: checkoutItem.id,
|
|
83
|
+
logger,
|
|
84
|
+
});
|
|
85
|
+
const trackReturnItem = useTrackReturnItem({
|
|
86
|
+
page: TrackingPage.ITEM,
|
|
87
|
+
country,
|
|
88
|
+
segment,
|
|
89
|
+
checkoutId: checkout?.id,
|
|
90
|
+
checkoutItemId: checkoutItem.id,
|
|
91
|
+
});
|
|
92
|
+
const returnItem = useCallback(async (feedbacks) => {
|
|
93
|
+
hideReturnQuestions();
|
|
94
|
+
returnCheckoutItem({ feedbacks });
|
|
95
|
+
trackReturnItem();
|
|
96
|
+
}, [hideReturnQuestions, returnCheckoutItem, trackReturnItem]);
|
|
97
|
+
/* ReturnCheckoutItem */
|
|
98
|
+
const currentProductVariant = useMemo(() => checkoutItem.status === CheckoutItemStatus.REPLACED && checkoutItem.replacedFor
|
|
99
|
+
? { id: checkoutItem.replacedFor.id, size: checkoutItem.replacedFor.size }
|
|
100
|
+
: { id: checkoutItem.productVariant.id, size: checkoutItem.productVariant.size }, [checkoutItem.productVariant.id, checkoutItem.productVariant.size, checkoutItem.replacedFor, checkoutItem.status]);
|
|
101
|
+
const replaceableFor = useMemo(() => sizeChangeEnabledStatus === QueryStatus.SUCCESS
|
|
102
|
+
? isSizeChangeEnabled
|
|
103
|
+
? bookedProductsVariants
|
|
104
|
+
? bookedProductsVariants.productVariants
|
|
105
|
+
.filter(({ id }) => id !== currentProductVariant.id)
|
|
106
|
+
.map(({ size }) => size.lookiero)
|
|
107
|
+
: undefined
|
|
108
|
+
: []
|
|
109
|
+
: undefined, [bookedProductsVariants, currentProductVariant.id, isSizeChangeEnabled, sizeChangeEnabledStatus]);
|
|
110
|
+
useTrackItemPageView({
|
|
111
|
+
page: TrackingPage.ITEM,
|
|
112
|
+
country,
|
|
113
|
+
segment,
|
|
114
|
+
checkoutId: checkout?.id,
|
|
115
|
+
checkoutItemId: checkoutItem.id,
|
|
116
|
+
status: checkoutItem.status,
|
|
117
|
+
productVariantId: checkoutItem.productVariant.id,
|
|
118
|
+
replaceableFor,
|
|
119
|
+
unique: checkoutItem.productVariant.size.unique,
|
|
120
|
+
});
|
|
121
|
+
const trackPressNext = useTrackPressNext({
|
|
122
|
+
page: TrackingPage.ITEM,
|
|
123
|
+
country,
|
|
124
|
+
segment,
|
|
125
|
+
checkoutId: checkout?.id,
|
|
126
|
+
});
|
|
127
|
+
const handleOnNext = useCallback(({ from, to }) => trackPressNext({ from, to }), [trackPressNext]);
|
|
128
|
+
const trackPressPrevious = useTrackPressPrevious({
|
|
129
|
+
page: TrackingPage.ITEM,
|
|
130
|
+
country,
|
|
131
|
+
segment,
|
|
132
|
+
checkoutId: checkout?.id,
|
|
133
|
+
});
|
|
134
|
+
const handleOnPrevious = useCallback(({ from, to }) => trackPressPrevious({ from, to }), [trackPressPrevious]);
|
|
135
|
+
const trackPressBack = useTrackPressBack({
|
|
136
|
+
page: TrackingPage.ITEM,
|
|
137
|
+
country,
|
|
138
|
+
segment,
|
|
139
|
+
checkoutId: checkout?.id,
|
|
140
|
+
});
|
|
141
|
+
const handleOnBack = useCallback(() => {
|
|
142
|
+
trackPressBack();
|
|
143
|
+
navigate(-1);
|
|
144
|
+
}, [navigate, trackPressBack]);
|
|
145
|
+
const itemDetailRouteMatch = useMatch(`${basePath}/${Routes.ITEM_DETAIL}`);
|
|
146
|
+
const header = useMemo(() => (React.createElement(Box, { style: style.headerWrapper },
|
|
147
|
+
itemDetailRouteMatch ? (React.createElement(ItemDetailHeader, { onBack: handleOnBack })) : (React.createElement(ItemHeader, { item: checkoutItem, items: checkout?.items, onNext: handleOnNext, onPrevious: handleOnPrevious })),
|
|
148
|
+
fiveItemsDiscount !== 0 ? React.createElement(FiveItemsDiscountBanner, { fiveItemsDiscount: fiveItemsDiscount }) : null)), [
|
|
149
|
+
checkout?.items,
|
|
150
|
+
checkoutItem,
|
|
151
|
+
fiveItemsDiscount,
|
|
152
|
+
handleOnBack,
|
|
153
|
+
handleOnNext,
|
|
154
|
+
handleOnPrevious,
|
|
155
|
+
itemDetailRouteMatch,
|
|
156
|
+
]);
|
|
157
|
+
const itemWithoutCustomerDecission = checkoutItem.status === CheckoutItemStatus.INITIAL;
|
|
158
|
+
const dependenciesLoaded = checkoutStatus !== QueryStatus.LOADING &&
|
|
159
|
+
checkout &&
|
|
160
|
+
checkoutItem &&
|
|
161
|
+
returnQuestions &&
|
|
162
|
+
// This will ensure that the view is not shown until bookCheckoutBooking use-case is dispatched (if required)
|
|
163
|
+
bookedProductsVariantsStatus !== QueryStatus.LOADING &&
|
|
164
|
+
fiveItemsDiscountStatus !== QueryStatus.LOADING &&
|
|
165
|
+
sizeChangeEnabledStatus !== QueryStatus.LOADING &&
|
|
166
|
+
(isBookingRequired ? checkout.checkoutBookingId && bookedProductsVariants : true) &&
|
|
167
|
+
returnCheckoutItemStatus !== CommandStatus.LOADING;
|
|
168
|
+
if (!dependenciesLoaded) {
|
|
169
|
+
return React.createElement(Spinner, { testID: "spinner" });
|
|
170
|
+
}
|
|
171
|
+
return (React.createElement(ReturnQuestionFeedbackProvider, { key: checkoutItem.id, feedback: checkoutItem.feedbacks || {} },
|
|
172
|
+
React.createElement(Layout, { header: header, scrollEnabled: !itemWithoutCustomerDecission, style: {
|
|
173
|
+
header: fiveItemsDiscount !== 0 ? style.headerWithDoubleHeight : style.header,
|
|
174
|
+
scrollView: { height: itemWithoutCustomerDecission ? "100%" : "auto" },
|
|
175
|
+
safeAreaView: isDesktopScreen ? style.safeAreaView : null,
|
|
176
|
+
} }, itemWithoutCustomerDecission ? (React.createElement(ItemWithoutCustomerDecission, { bookedProductsVariants: bookedProductsVariants, checkoutId: checkout.id, checkoutItem: checkoutItem, currentProductVariant: currentProductVariant, onReturn: redirectToReturnPage ? goToReturnPage : showReturnQuestions })) : (React.createElement(ItemWithCustomerDecission, { checkoutId: checkout.id, checkoutItem: checkoutItem, currentProductVariant: currentProductVariant, returnQuestions: returnQuestions, onEditFeedback: redirectToReturnPage ? goToReturnPage : showReturnQuestions }))),
|
|
177
|
+
!redirectToReturnPage ? (React.createElement(ReturnQuestionsForm, { returnQuestions: returnQuestions, visible: returnQuestionsVisible, onClose: hideReturnQuestions, onSubmit: returnItem })) : null));
|
|
178
|
+
};
|
|
179
|
+
export { Item };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
import { theme } from "@lookiero/sty-psp-ui";
|
|
3
|
+
import { HEADER_HEIGHT } from "../../components/templates/header/Header.style";
|
|
4
|
+
const { colorBgPrimaryLight } = theme();
|
|
5
|
+
const style = StyleSheet.create({
|
|
6
|
+
header: {
|
|
7
|
+
height: HEADER_HEIGHT,
|
|
8
|
+
},
|
|
9
|
+
headerWithDoubleHeight: {
|
|
10
|
+
height: HEADER_HEIGHT * 2,
|
|
11
|
+
},
|
|
12
|
+
headerWrapper: {
|
|
13
|
+
display: "flex",
|
|
14
|
+
flexDirection: "column",
|
|
15
|
+
},
|
|
16
|
+
safeAreaView: {
|
|
17
|
+
backgroundColor: colorBgPrimaryLight,
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
export { style };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Pressable, View } from "react-native";
|
|
3
|
+
import { InfoBox, Text } from "@lookiero/aurora";
|
|
4
|
+
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
5
|
+
import { useScreenSize } from "@lookiero/sty-psp-ui";
|
|
6
|
+
import { CheckoutItemStatus } from "../../../../../../domain/checkoutItem/model/checkoutItem";
|
|
7
|
+
import { I18nMessages } from "../../../../i18n/i18n";
|
|
8
|
+
import { style } from "./CustomerDecissionBanner.style";
|
|
9
|
+
const i18nMessageForCheckoutItemStatus = {
|
|
10
|
+
[CheckoutItemStatus.KEPT]: I18nMessages.ITEM_BANNER_CUSTOMER_KEPT_DECISSION,
|
|
11
|
+
[CheckoutItemStatus.REPLACED]: I18nMessages.ITEM_BANNER_CUSTOMER_REPLACED_DECISSION,
|
|
12
|
+
[CheckoutItemStatus.RETURNED]: I18nMessages.ITEM_BANNER_CUSTOMER_RETURNED_DECISSION,
|
|
13
|
+
};
|
|
14
|
+
const CustomerDecissionBanner = ({ checkoutItemStatus, onPress }) => {
|
|
15
|
+
const decissionText = useI18nMessage({ id: i18nMessageForCheckoutItemStatus[checkoutItemStatus] });
|
|
16
|
+
const bannerButtonText = useI18nMessage({ id: I18nMessages.ITEM_BANNER_BUTTON });
|
|
17
|
+
const screenSize = useScreenSize();
|
|
18
|
+
const isSmallScreen = screenSize === "S";
|
|
19
|
+
return (React.createElement(View, { style: [style.container, isSmallScreen ? style.smallContainer : null] },
|
|
20
|
+
React.createElement(InfoBox, { text: decissionText },
|
|
21
|
+
React.createElement(Pressable, { testID: "customer-decission-banner", onPress: onPress },
|
|
22
|
+
React.createElement(Text, { level: isSmallScreen ? 2 : 1, detail: true, underlined: true }, bannerButtonText)))));
|
|
23
|
+
};
|
|
24
|
+
export { CustomerDecissionBanner };
|
package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
import { theme } from "@lookiero/sty-psp-ui";
|
|
3
|
+
const { space4, space6 } = theme();
|
|
4
|
+
const style = StyleSheet.create({
|
|
5
|
+
container: {
|
|
6
|
+
marginBottom: space4,
|
|
7
|
+
},
|
|
8
|
+
smallContainer: {
|
|
9
|
+
marginHorizontal: space6,
|
|
10
|
+
},
|
|
11
|
+
});
|
|
12
|
+
export { style };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
import { ALIGN, Button, BUTTON_VARIANT, Text } from "@lookiero/aurora";
|
|
4
|
+
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
5
|
+
import { Modal } from "@lookiero/sty-psp-ui";
|
|
6
|
+
import { I18nMessages } from "../../../../i18n/i18n";
|
|
7
|
+
import { style } from "./GetOutOfCheckoutModal.style";
|
|
8
|
+
const GetOutOfCheckoutModal = ({ visible, onDismiss, onConfirm }) => {
|
|
9
|
+
const titleText = useI18nMessage({ id: I18nMessages.GET_OUT_OF_CHECKOUT_MODAL_TITLE });
|
|
10
|
+
const descriptionText = useI18nMessage({ id: I18nMessages.GET_OUT_OF_CHECKOUT_MODAL_DESCRIPTION });
|
|
11
|
+
const dismissButtonText = useI18nMessage({ id: I18nMessages.GET_OUT_OF_CHECKOUT_MODAL_DISMISS_BUTTON });
|
|
12
|
+
const confirmButtonText = useI18nMessage({ id: I18nMessages.GET_OUT_OF_CHECKOUT_MODAL_CONFIRM_BUTTON });
|
|
13
|
+
return (React.createElement(Modal, { visible: visible, onClose: onDismiss },
|
|
14
|
+
React.createElement(View, { style: style.modalContent },
|
|
15
|
+
React.createElement(Text, { align: ALIGN.CENTER, level: 1, style: style.title }, titleText),
|
|
16
|
+
React.createElement(Text, { level: 3, style: style.description }, descriptionText),
|
|
17
|
+
React.createElement(Button, { style: style.button, onPress: onDismiss },
|
|
18
|
+
React.createElement(Text, { align: ALIGN.CENTER, level: 3, selectable: false, style: style.buttonText, action: true, upperCase: true }, dismissButtonText)),
|
|
19
|
+
React.createElement(Button, { style: [style.button, style.confirmButton], variant: BUTTON_VARIANT.SECONDARY, onPress: onConfirm },
|
|
20
|
+
React.createElement(Text, { align: ALIGN.CENTER, level: 3, selectable: false, style: style.buttonText, action: true, upperCase: true }, confirmButtonText)))));
|
|
21
|
+
};
|
|
22
|
+
export { GetOutOfCheckoutModal };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const style: {
|
|
2
|
+
button: {
|
|
3
|
+
flex: number;
|
|
4
|
+
};
|
|
5
|
+
buttonText: {
|
|
6
|
+
width: "100%";
|
|
7
|
+
};
|
|
8
|
+
confirmButton: {
|
|
9
|
+
marginTop: number;
|
|
10
|
+
};
|
|
11
|
+
description: {
|
|
12
|
+
marginVertical: number;
|
|
13
|
+
width: "100%";
|
|
14
|
+
};
|
|
15
|
+
modalContent: {
|
|
16
|
+
paddingHorizontal: number;
|
|
17
|
+
};
|
|
18
|
+
title: {
|
|
19
|
+
width: "100%";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export { style };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
import { theme } from "@lookiero/sty-psp-ui";
|
|
3
|
+
const { space6, space8 } = theme();
|
|
4
|
+
const style = StyleSheet.create({
|
|
5
|
+
button: {
|
|
6
|
+
flex: 0,
|
|
7
|
+
},
|
|
8
|
+
buttonText: {
|
|
9
|
+
width: "100%",
|
|
10
|
+
},
|
|
11
|
+
confirmButton: {
|
|
12
|
+
marginTop: space8,
|
|
13
|
+
},
|
|
14
|
+
description: {
|
|
15
|
+
marginVertical: space8,
|
|
16
|
+
width: "100%",
|
|
17
|
+
},
|
|
18
|
+
modalContent: {
|
|
19
|
+
paddingHorizontal: space6,
|
|
20
|
+
},
|
|
21
|
+
title: {
|
|
22
|
+
width: "100%",
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
export { style };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { LayoutRectangle } from "react-native";
|
|
3
|
+
import { ProductVariantProjection } from "../../../../../../projection/bookedProductsVariants/bookedProductsVariants";
|
|
4
|
+
import { Country } from "../../../../../../projection/shared/country";
|
|
5
|
+
interface ItemActionsProps {
|
|
6
|
+
readonly productVariants?: ProductVariantProjection[];
|
|
7
|
+
readonly currentProductVariant: ProductVariantProjection;
|
|
8
|
+
readonly country: Country;
|
|
9
|
+
readonly onShowSizeWithoutStockModal?: () => void;
|
|
10
|
+
readonly onKeep: () => void;
|
|
11
|
+
readonly onReturn: () => void;
|
|
12
|
+
readonly onReplace: (value: string) => void;
|
|
13
|
+
readonly onLayout?: ({ width, height }: LayoutRectangle) => void;
|
|
14
|
+
}
|
|
15
|
+
declare const ItemActions: FC<ItemActionsProps>;
|
|
16
|
+
export { ItemActions };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React, { useCallback, useMemo, useState } from "react";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
import { Button, BUTTON_VARIANT } from "@lookiero/aurora";
|
|
4
|
+
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
5
|
+
import { Sticky } from "@lookiero/sty-psp-ui";
|
|
6
|
+
import { size } from "../../../../../../projection/shared/size";
|
|
7
|
+
import { Body } from "../../../../components/layouts/body/Body";
|
|
8
|
+
import { I18nMessages } from "../../../../i18n/i18n";
|
|
9
|
+
import { SelectModal } from "../selectModal/SelectModal";
|
|
10
|
+
import { style } from "./ItemActions.style";
|
|
11
|
+
const ItemActions = ({ productVariants, currentProductVariant, country, onShowSizeWithoutStockModal = () => void 0, onKeep, onReplace, onReturn, onLayout, }) => {
|
|
12
|
+
const [modalVisible, setModalVisible] = useState(false);
|
|
13
|
+
const changeSizeButtonText = useI18nMessage({ id: I18nMessages.ITEM_CHANGE_SIZE_BUTTON });
|
|
14
|
+
const keepButtonText = useI18nMessage({ id: I18nMessages.ITEM_KEEP_BUTTON });
|
|
15
|
+
const returnButtonText = useI18nMessage({ id: I18nMessages.ITEM_RETURN_BUTTON });
|
|
16
|
+
const sizeSelectorOptions = useMemo(() => (productVariants || []).map((productVariant) => ({
|
|
17
|
+
label: size({ size: productVariant.size, country }),
|
|
18
|
+
value: productVariant.id,
|
|
19
|
+
})), [country, productVariants]);
|
|
20
|
+
const disabledSizeSelector = useMemo(() => sizeSelectorOptions.length === 0 ||
|
|
21
|
+
(sizeSelectorOptions.length === 1 && sizeSelectorOptions[0]?.value === currentProductVariant.id), [sizeSelectorOptions, currentProductVariant.id]);
|
|
22
|
+
const handleOnPressSelectField = useCallback(() => {
|
|
23
|
+
if (disabledSizeSelector) {
|
|
24
|
+
onShowSizeWithoutStockModal();
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
setModalVisible(true);
|
|
28
|
+
}
|
|
29
|
+
}, [onShowSizeWithoutStockModal, setModalVisible, disabledSizeSelector]);
|
|
30
|
+
const handleOnModalClose = useCallback(() => setModalVisible(false), []);
|
|
31
|
+
return (React.createElement(Sticky, { style: style.sticky, onLayout: onLayout },
|
|
32
|
+
React.createElement(Body, { style: { row: style.row } },
|
|
33
|
+
React.createElement(View, { style: style.actionsRow },
|
|
34
|
+
!currentProductVariant.size.unique && productVariants ? (React.createElement(Button, { style: style.sizeSelector, testID: "size-selector", variant: BUTTON_VARIANT.SECONDARY, small: true, onPress: handleOnPressSelectField }, changeSizeButtonText)) : null,
|
|
35
|
+
React.createElement(Button, { style: style.returnButton, testID: "return-button", variant: BUTTON_VARIANT.SECONDARY, small: true, onPress: onReturn }, returnButtonText)),
|
|
36
|
+
React.createElement(Button, { testID: "keep-button", small: true, onPress: onKeep }, keepButtonText)),
|
|
37
|
+
React.createElement(SelectModal, { modalVisible: modalVisible, options: sizeSelectorOptions, testID: "select-field-modal", title: changeSizeButtonText, value: currentProductVariant.id, onChange: onReplace, onClose: handleOnModalClose })));
|
|
38
|
+
};
|
|
39
|
+
export { ItemActions };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const style: {
|
|
2
|
+
actionsRow: {
|
|
3
|
+
alignItems: "center";
|
|
4
|
+
flexDirection: "row";
|
|
5
|
+
marginBottom: number;
|
|
6
|
+
};
|
|
7
|
+
inputDisabled: {
|
|
8
|
+
color: string;
|
|
9
|
+
};
|
|
10
|
+
returnButton: {
|
|
11
|
+
flex: number;
|
|
12
|
+
};
|
|
13
|
+
row: {
|
|
14
|
+
paddingHorizontal: number;
|
|
15
|
+
};
|
|
16
|
+
sizeSelector: {
|
|
17
|
+
flex: number;
|
|
18
|
+
marginRight: number;
|
|
19
|
+
};
|
|
20
|
+
sticky: {
|
|
21
|
+
paddingBottom: number;
|
|
22
|
+
paddingHorizontal: number;
|
|
23
|
+
paddingTop: number;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export { style };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
import { theme } from "@lookiero/sty-psp-ui";
|
|
3
|
+
const { colorTextDisabled, space3, space2, space4, space6 } = theme();
|
|
4
|
+
const style = StyleSheet.create({
|
|
5
|
+
actionsRow: {
|
|
6
|
+
alignItems: "center",
|
|
7
|
+
flexDirection: "row",
|
|
8
|
+
marginBottom: space4,
|
|
9
|
+
},
|
|
10
|
+
inputDisabled: {
|
|
11
|
+
color: colorTextDisabled,
|
|
12
|
+
},
|
|
13
|
+
returnButton: {
|
|
14
|
+
flex: 1,
|
|
15
|
+
},
|
|
16
|
+
row: {
|
|
17
|
+
paddingHorizontal: space3,
|
|
18
|
+
},
|
|
19
|
+
sizeSelector: {
|
|
20
|
+
flex: 1,
|
|
21
|
+
marginRight: space2,
|
|
22
|
+
},
|
|
23
|
+
sticky: {
|
|
24
|
+
paddingBottom: space6,
|
|
25
|
+
paddingHorizontal: 0,
|
|
26
|
+
paddingTop: space6,
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
export { style };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
import { COLOR, Text } from "@lookiero/aurora";
|
|
4
|
+
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
5
|
+
import { useScreenSize } from "@lookiero/sty-psp-ui";
|
|
6
|
+
import { size } from "../../../../../../projection/shared/size";
|
|
7
|
+
import { Price } from "../../../../components/atoms/price/Price";
|
|
8
|
+
import { I18nMessages } from "../../../../i18n/i18n";
|
|
9
|
+
import { style } from "./ProductVariantDescription.style";
|
|
10
|
+
const ProductVariantDescription = ({ brand, name, price, size: sizeProjection, country, }) => {
|
|
11
|
+
const sizeText = useI18nMessage({ id: I18nMessages.ITEM_SIZE });
|
|
12
|
+
const uniqueText = useI18nMessage({ id: I18nMessages.ITEM_UNIQUE });
|
|
13
|
+
const screenDevice = useScreenSize();
|
|
14
|
+
const isDesktopScreen = screenDevice !== "S";
|
|
15
|
+
return (React.createElement(View, { style: [style.container, isDesktopScreen ? null : style.smallContainer] },
|
|
16
|
+
React.createElement(View, { style: style.info },
|
|
17
|
+
React.createElement(View, { style: style.brand },
|
|
18
|
+
React.createElement(Text, { color: COLOR.TEXT_MEDIUM, level: 1, detail: true }, brand),
|
|
19
|
+
React.createElement(Text, { level: 1, detailBold: true }, name)),
|
|
20
|
+
React.createElement(Price, { price: price, withPercentage: true })),
|
|
21
|
+
React.createElement(Text, { level: 1, detail: true }, `${sizeText} ${sizeProjection.unique ? uniqueText : size({ size: sizeProjection, country })}`)));
|
|
22
|
+
};
|
|
23
|
+
export { ProductVariantDescription };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
import { theme } from "@lookiero/sty-psp-ui";
|
|
3
|
+
const { space4, space6 } = theme();
|
|
4
|
+
const style = StyleSheet.create({
|
|
5
|
+
brand: {
|
|
6
|
+
flex: 1,
|
|
7
|
+
},
|
|
8
|
+
container: {
|
|
9
|
+
width: "100%",
|
|
10
|
+
},
|
|
11
|
+
info: {
|
|
12
|
+
display: "flex",
|
|
13
|
+
flexDirection: "row",
|
|
14
|
+
marginBottom: space4,
|
|
15
|
+
},
|
|
16
|
+
smallContainer: {
|
|
17
|
+
paddingHorizontal: space6,
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
export { style };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React, { useCallback, useState } from "react";
|
|
2
|
+
import { Image } from "react-native";
|
|
3
|
+
import { Bullets, Carousel, theme, useScreenSize, } from "@lookiero/sty-psp-ui";
|
|
4
|
+
import { MediaPerspective } from "../../../../../../projection/checkoutItem/checkoutItem";
|
|
5
|
+
import { AspectRatioView } from "../../../../../../shared/ui/components/atoms/aspectRatioView/AspectRatioView";
|
|
6
|
+
import { useMediaImage } from "../../../../hooks/useMediaImage";
|
|
7
|
+
import { style } from "./ProductVariantSlider.style";
|
|
8
|
+
const { space16 } = theme();
|
|
9
|
+
const ProductVariantSlider = ({ producVariantMedia, onChanged }) => {
|
|
10
|
+
const cdnImageUrl = useMediaImage();
|
|
11
|
+
const screenSize = useScreenSize();
|
|
12
|
+
const isDesktopScreen = screenSize !== "S";
|
|
13
|
+
const [activeIndex, setActiveIndex] = useState(0);
|
|
14
|
+
const handleOnActiveChanged = useCallback((activeIndex) => {
|
|
15
|
+
setActiveIndex(activeIndex);
|
|
16
|
+
onChanged?.(activeIndex);
|
|
17
|
+
}, [onChanged]);
|
|
18
|
+
const renderItem = useCallback(({ item, index }) => {
|
|
19
|
+
const isCollageImage = item.perspective === MediaPerspective.COLLAGE;
|
|
20
|
+
const isLastItem = index === producVariantMedia.length - 1;
|
|
21
|
+
return (React.createElement(AspectRatioView, { aspectRatio: 4 / 3, multiplier: isCollageImage && isLastItem ? 2 : 1, style: {
|
|
22
|
+
marginTop: isCollageImage && !isDesktopScreen ? space16 : 0,
|
|
23
|
+
alignSelf: isCollageImage ? (isLastItem ? "flex-end" : "flex-start") : undefined,
|
|
24
|
+
} },
|
|
25
|
+
React.createElement(Image, { resizeMode: "stretch", style: [style.image, isDesktopScreen ? style.largeImage : null], testID: "product-variant-image", source: {
|
|
26
|
+
uri: cdnImageUrl({
|
|
27
|
+
url: item.url,
|
|
28
|
+
width: 600,
|
|
29
|
+
}),
|
|
30
|
+
} })));
|
|
31
|
+
}, [cdnImageUrl, isDesktopScreen, producVariantMedia.length]);
|
|
32
|
+
const renderBullets = useCallback(({ activeIndex, count, onChange }) => React.createElement(Bullets, { activeIndex: activeIndex, count: count, onChange: onChange }), []);
|
|
33
|
+
return (React.createElement(Carousel, { activeIndex: activeIndex, bullets: renderBullets, data: producVariantMedia, onActiveIndexChanged: handleOnActiveChanged }, renderItem));
|
|
34
|
+
};
|
|
35
|
+
export { ProductVariantSlider };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
import { theme } from "@lookiero/sty-psp-ui";
|
|
3
|
+
const { borderRadius4, colorBgBase, colorBgPrimaryMediumLight, colorBorderActionSecondary, space4 } = theme();
|
|
4
|
+
const PAGINATION_SIZE = 37;
|
|
5
|
+
const style = StyleSheet.create({
|
|
6
|
+
image: {
|
|
7
|
+
flex: 1,
|
|
8
|
+
},
|
|
9
|
+
largeImage: {
|
|
10
|
+
borderRadius: borderRadius4,
|
|
11
|
+
},
|
|
12
|
+
paginationActiveItemStyle: {
|
|
13
|
+
borderColor: colorBorderActionSecondary,
|
|
14
|
+
},
|
|
15
|
+
paginationImage: {
|
|
16
|
+
flex: 1,
|
|
17
|
+
},
|
|
18
|
+
paginationItemStyle: {
|
|
19
|
+
backgroundColor: colorBgBase,
|
|
20
|
+
borderColor: colorBgPrimaryMediumLight,
|
|
21
|
+
borderRadius: 0,
|
|
22
|
+
borderWidth: 1,
|
|
23
|
+
height: PAGINATION_SIZE,
|
|
24
|
+
width: PAGINATION_SIZE,
|
|
25
|
+
},
|
|
26
|
+
paginationStyle: {
|
|
27
|
+
bottom: 0,
|
|
28
|
+
marginTop: space4,
|
|
29
|
+
position: "relative",
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
export { style };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
import { ButtonIcon, Text } from "@lookiero/aurora";
|
|
4
|
+
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
5
|
+
import { ReturnQuestionType, } from "../../../../../../projection/returnQuestion/returnQuestion";
|
|
6
|
+
import { ReturnQuestions } from "../../../../components/organisms/returnQuestions/ReturnQuestions";
|
|
7
|
+
import { ReturnQuestionItemProvider, } from "../../../../components/organisms/returnQuestions/behaviors/useReturnQuestionItem";
|
|
8
|
+
import { HostDefaultReturnQuestionFeedbackItem } from "../../../../components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem";
|
|
9
|
+
import { ReturnQuestionFeedbackItem } from "../../../../components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem";
|
|
10
|
+
import { I18nMessages } from "../../../../i18n/i18n";
|
|
11
|
+
import { style } from "./ReturnQuestionsFeedback.style";
|
|
12
|
+
const returnQuestionItems = {
|
|
13
|
+
[ReturnQuestionType.HOST_DEFAULT]: HostDefaultReturnQuestionFeedbackItem,
|
|
14
|
+
[ReturnQuestionType.HOST_TEXTAREA]: ReturnQuestionFeedbackItem,
|
|
15
|
+
[ReturnQuestionType.HOST_SELECT]: ReturnQuestionFeedbackItem,
|
|
16
|
+
[ReturnQuestionType.HOST_STACK]: ReturnQuestionFeedbackItem,
|
|
17
|
+
[ReturnQuestionType.TEXTAREA]: ReturnQuestionFeedbackItem,
|
|
18
|
+
[ReturnQuestionType.OPTION]: ReturnQuestionFeedbackItem,
|
|
19
|
+
};
|
|
20
|
+
const ReturnQuestionsFeedback = ({ returnQuestions, onEditFeedback }) => {
|
|
21
|
+
const titleText = useI18nMessage({ id: I18nMessages.FEEDBACK_TITLE });
|
|
22
|
+
return (React.createElement(View, null,
|
|
23
|
+
React.createElement(View, { style: style.titleContainer },
|
|
24
|
+
React.createElement(Text, { level: 2 }, titleText),
|
|
25
|
+
React.createElement(ButtonIcon, { name: "pencil", testID: "edit-feedback", onPress: onEditFeedback })),
|
|
26
|
+
React.createElement(ReturnQuestionItemProvider, { returnQuestionItems: returnQuestionItems },
|
|
27
|
+
React.createElement(ReturnQuestions, { returnQuestions: returnQuestions }))));
|
|
28
|
+
};
|
|
29
|
+
export { ReturnQuestionsFeedback };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StyleSheet } from "react-native";
|
|
2
|
+
import { theme } from "@lookiero/sty-psp-ui";
|
|
3
|
+
const { space4 } = theme();
|
|
4
|
+
const style = StyleSheet.create({
|
|
5
|
+
titleContainer: {
|
|
6
|
+
alignItems: "center",
|
|
7
|
+
flexDirection: "row",
|
|
8
|
+
justifyContent: "space-between",
|
|
9
|
+
marginBottom: space4,
|
|
10
|
+
},
|
|
11
|
+
});
|
|
12
|
+
export { style };
|