@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,72 @@
|
|
|
1
|
+
import { useLayoutEffect } from "react";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { CheckoutItemStatus } from "../../domain/checkoutItem/model/checkoutItem";
|
|
5
|
+
import { Country } from "../../projection/shared/country";
|
|
6
|
+
import { ItemPageViewTrackingEvent, TrackingEventName, TrackingEventCategory } from "./tracking";
|
|
7
|
+
import { PROJECT, TrackingPage } from "./tracking";
|
|
8
|
+
|
|
9
|
+
interface UseTrackItemPageViewFunctionArgs {
|
|
10
|
+
readonly page: TrackingPage;
|
|
11
|
+
readonly country: Country;
|
|
12
|
+
readonly segment: Segment;
|
|
13
|
+
readonly checkoutId?: string;
|
|
14
|
+
readonly checkoutItemId: string;
|
|
15
|
+
readonly productVariantId: string;
|
|
16
|
+
readonly replaceableFor: string[] | undefined;
|
|
17
|
+
readonly status: CheckoutItemStatus;
|
|
18
|
+
readonly unique: boolean;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
interface UseTrackItemPageViewFunction {
|
|
22
|
+
(agrs: UseTrackItemPageViewFunctionArgs): void;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const useTrackItemPageView: UseTrackItemPageViewFunction = ({
|
|
26
|
+
page,
|
|
27
|
+
country,
|
|
28
|
+
segment,
|
|
29
|
+
checkoutId,
|
|
30
|
+
checkoutItemId,
|
|
31
|
+
productVariantId,
|
|
32
|
+
replaceableFor,
|
|
33
|
+
status,
|
|
34
|
+
unique,
|
|
35
|
+
}) => {
|
|
36
|
+
const emitUserEvent = useEmitUserEvent<ItemPageViewTrackingEvent>();
|
|
37
|
+
|
|
38
|
+
useLayoutEffect(() => {
|
|
39
|
+
if (!(checkoutId && replaceableFor)) {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const itemPageViewTrackingEvent: ItemPageViewTrackingEvent = {
|
|
44
|
+
event: TrackingEventName.PAGEVIEW,
|
|
45
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
46
|
+
section: `${PROJECT}_${page}`,
|
|
47
|
+
store: country,
|
|
48
|
+
segment,
|
|
49
|
+
checkoutId,
|
|
50
|
+
checkoutItemId,
|
|
51
|
+
status,
|
|
52
|
+
productVariantId,
|
|
53
|
+
replaceableFor: replaceableFor.toString(),
|
|
54
|
+
unique,
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
emitUserEvent(itemPageViewTrackingEvent);
|
|
58
|
+
}, [
|
|
59
|
+
checkoutId,
|
|
60
|
+
checkoutItemId,
|
|
61
|
+
country,
|
|
62
|
+
emitUserEvent,
|
|
63
|
+
page,
|
|
64
|
+
productVariantId,
|
|
65
|
+
replaceableFor,
|
|
66
|
+
segment,
|
|
67
|
+
status,
|
|
68
|
+
unique,
|
|
69
|
+
]);
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export { useTrackItemPageView };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { renderHook } from "@testing-library/react-native";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { Country } from "../../projection/shared/country";
|
|
5
|
+
import { KeepItemTrackingEvent, TrackingEventName, TrackingEventCategory } from "./tracking";
|
|
6
|
+
import { TrackingPage } from "./tracking";
|
|
7
|
+
import { useTrackKeepItem as sut } from "./useTrackKeepItem";
|
|
8
|
+
|
|
9
|
+
const mockEmitUserEvent = jest.fn();
|
|
10
|
+
jest.mock("@lookiero/sty-psp-tracking");
|
|
11
|
+
|
|
12
|
+
const country = Country.ES;
|
|
13
|
+
const segment = Segment.WOMEN;
|
|
14
|
+
|
|
15
|
+
const event: KeepItemTrackingEvent = {
|
|
16
|
+
event: TrackingEventName.KEEP_ITEM,
|
|
17
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
18
|
+
section: "checkout_item",
|
|
19
|
+
store: country,
|
|
20
|
+
segment,
|
|
21
|
+
checkoutId: "c513ebc8-df68-4f47-b899-8ec0ced84ca8",
|
|
22
|
+
checkoutItemId: "a72120a3-6837-4fe9-adc3-a891b14160ff",
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
describe("useTrackKeepItem custom hook", () => {
|
|
26
|
+
test("renders correctly", () => {
|
|
27
|
+
(useEmitUserEvent as jest.Mock).mockImplementation(() => mockEmitUserEvent);
|
|
28
|
+
|
|
29
|
+
const { result } = renderHook(() =>
|
|
30
|
+
sut({
|
|
31
|
+
page: TrackingPage.ITEM,
|
|
32
|
+
country,
|
|
33
|
+
segment,
|
|
34
|
+
checkoutId: "c513ebc8-df68-4f47-b899-8ec0ced84ca8",
|
|
35
|
+
checkoutItemId: "a72120a3-6837-4fe9-adc3-a891b14160ff",
|
|
36
|
+
}),
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
result.current();
|
|
40
|
+
|
|
41
|
+
expect(mockEmitUserEvent).toHaveBeenCalledWith(event);
|
|
42
|
+
});
|
|
43
|
+
});
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { useCallback } from "react";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { Country } from "../../projection/shared/country";
|
|
5
|
+
import { KeepItemTrackingEvent, TrackingEventName, TrackingEventCategory } from "./tracking";
|
|
6
|
+
import { PROJECT, TrackingPage } from "./tracking";
|
|
7
|
+
|
|
8
|
+
interface KeepItemFunction {
|
|
9
|
+
(): void;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface UseTrackKeepItemFunctionArgs {
|
|
13
|
+
readonly page: TrackingPage;
|
|
14
|
+
readonly country: Country;
|
|
15
|
+
readonly segment: Segment;
|
|
16
|
+
readonly checkoutId: string | undefined;
|
|
17
|
+
readonly checkoutItemId: string;
|
|
18
|
+
}
|
|
19
|
+
interface UseTrackKeepItemFunction {
|
|
20
|
+
(agrs: UseTrackKeepItemFunctionArgs): KeepItemFunction;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const useTrackKeepItem: UseTrackKeepItemFunction = ({ page, country, segment, checkoutId, checkoutItemId }) => {
|
|
24
|
+
const emitUserEvent = useEmitUserEvent<KeepItemTrackingEvent>();
|
|
25
|
+
|
|
26
|
+
const keepItem: KeepItemFunction = useCallback(() => {
|
|
27
|
+
if (!checkoutId) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const keepItemTrackingEvent: KeepItemTrackingEvent = {
|
|
32
|
+
event: TrackingEventName.KEEP_ITEM,
|
|
33
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
34
|
+
section: `${PROJECT}_${page}`,
|
|
35
|
+
store: country,
|
|
36
|
+
segment,
|
|
37
|
+
checkoutId,
|
|
38
|
+
checkoutItemId,
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
emitUserEvent(keepItemTrackingEvent);
|
|
42
|
+
}, [checkoutId, checkoutItemId, country, emitUserEvent, page, segment]);
|
|
43
|
+
|
|
44
|
+
return keepItem;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export { useTrackKeepItem };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { renderHook } from "@testing-library/react-native";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { Country } from "../../projection/shared/country";
|
|
5
|
+
import { TrackingEventName, TrackingEventCategory, PageViewTrackingEvent } from "./tracking";
|
|
6
|
+
import { TrackingPage } from "./tracking";
|
|
7
|
+
import { useTrackPageView as sut } from "./useTrackPageView";
|
|
8
|
+
|
|
9
|
+
const mockEmitUserEvent = jest.fn();
|
|
10
|
+
jest.mock("@lookiero/sty-psp-tracking");
|
|
11
|
+
|
|
12
|
+
const checkoutId = "c513ebc8-df68-4f47-b899-8ec0ced84ca8";
|
|
13
|
+
const country = Country.ES;
|
|
14
|
+
const segment = Segment.WOMEN;
|
|
15
|
+
|
|
16
|
+
const event: PageViewTrackingEvent = {
|
|
17
|
+
event: TrackingEventName.PAGEVIEW,
|
|
18
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
19
|
+
section: "checkout_item",
|
|
20
|
+
store: country,
|
|
21
|
+
segment,
|
|
22
|
+
checkoutId,
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
describe("useTrackPageView custom hook", () => {
|
|
26
|
+
test("renders correctly", () => {
|
|
27
|
+
(useEmitUserEvent as jest.Mock).mockImplementation(() => mockEmitUserEvent);
|
|
28
|
+
|
|
29
|
+
renderHook(() =>
|
|
30
|
+
sut({
|
|
31
|
+
page: TrackingPage.ITEM,
|
|
32
|
+
country,
|
|
33
|
+
segment,
|
|
34
|
+
checkoutId,
|
|
35
|
+
}),
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
expect(mockEmitUserEvent).toHaveBeenCalledWith(event);
|
|
39
|
+
});
|
|
40
|
+
});
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { useLayoutEffect } from "react";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { Country } from "../../projection/shared/country";
|
|
5
|
+
import { PROJECT, TrackingPage, PageViewTrackingEvent, TrackingEventName, TrackingEventCategory } from "./tracking";
|
|
6
|
+
|
|
7
|
+
interface UseTrackPageViewFunctionArgs {
|
|
8
|
+
readonly page: TrackingPage;
|
|
9
|
+
readonly country: Country;
|
|
10
|
+
readonly segment: Segment;
|
|
11
|
+
readonly checkoutId: string | undefined;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface UseTrackPageViewFunction {
|
|
15
|
+
(agrs: UseTrackPageViewFunctionArgs): void;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const useTrackPageView: UseTrackPageViewFunction = ({ page, country, segment, checkoutId }) => {
|
|
19
|
+
const emitUserEvent = useEmitUserEvent<PageViewTrackingEvent>();
|
|
20
|
+
|
|
21
|
+
useLayoutEffect(() => {
|
|
22
|
+
if (!checkoutId) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const pageViewTrackingEvent: PageViewTrackingEvent = {
|
|
27
|
+
event: TrackingEventName.PAGEVIEW,
|
|
28
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
29
|
+
section: `${PROJECT}_${page}`,
|
|
30
|
+
store: country,
|
|
31
|
+
segment,
|
|
32
|
+
checkoutId,
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
emitUserEvent(pageViewTrackingEvent);
|
|
36
|
+
}, [checkoutId, country, emitUserEvent, page, segment]);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export { useTrackPageView };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { renderHook } from "@testing-library/react-native";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { Country } from "../../projection/shared/country";
|
|
5
|
+
import { PressBackTrackingEvent, TrackingEventName, TrackingEventCategory } from "./tracking";
|
|
6
|
+
import { TrackingPage } from "./tracking";
|
|
7
|
+
import { useTrackPressBack as sut } from "./useTrackPressBack";
|
|
8
|
+
|
|
9
|
+
const mockEmitUserEvent = jest.fn();
|
|
10
|
+
jest.mock("@lookiero/sty-psp-tracking");
|
|
11
|
+
|
|
12
|
+
const country = Country.ES;
|
|
13
|
+
const segment = Segment.WOMEN;
|
|
14
|
+
|
|
15
|
+
const event: PressBackTrackingEvent = {
|
|
16
|
+
event: TrackingEventName.PRESS_BACK,
|
|
17
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
18
|
+
section: "checkout_item",
|
|
19
|
+
store: country,
|
|
20
|
+
segment,
|
|
21
|
+
checkoutId: "c513ebc8-df68-4f47-b899-8ec0ced84ca8",
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
describe("useTrackPressBack custom hook", () => {
|
|
25
|
+
test("renders correctly", () => {
|
|
26
|
+
(useEmitUserEvent as jest.Mock).mockImplementation(() => mockEmitUserEvent);
|
|
27
|
+
|
|
28
|
+
const { result } = renderHook(() =>
|
|
29
|
+
sut({
|
|
30
|
+
page: TrackingPage.ITEM,
|
|
31
|
+
country,
|
|
32
|
+
segment,
|
|
33
|
+
checkoutId: "c513ebc8-df68-4f47-b899-8ec0ced84ca8",
|
|
34
|
+
}),
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
result.current();
|
|
38
|
+
|
|
39
|
+
expect(mockEmitUserEvent).toHaveBeenCalledWith(event);
|
|
40
|
+
});
|
|
41
|
+
});
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { useCallback } from "react";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { Country } from "../../projection/shared/country";
|
|
5
|
+
import { PROJECT, TrackingPage, PressBackTrackingEvent, TrackingEventName, TrackingEventCategory } from "./tracking";
|
|
6
|
+
|
|
7
|
+
interface PressBackFunction {
|
|
8
|
+
(): void;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface UseTrackPressBackFunctionArgs {
|
|
12
|
+
readonly page: TrackingPage;
|
|
13
|
+
readonly country: Country;
|
|
14
|
+
readonly segment: Segment;
|
|
15
|
+
readonly checkoutId: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
interface UseTrackPressBackFunction {
|
|
19
|
+
(args: UseTrackPressBackFunctionArgs): PressBackFunction;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const useTrackPressBack: UseTrackPressBackFunction = ({ page, country, segment, checkoutId }) => {
|
|
23
|
+
const emitUserEvent = useEmitUserEvent<PressBackTrackingEvent>();
|
|
24
|
+
|
|
25
|
+
const pressBack: PressBackFunction = useCallback(() => {
|
|
26
|
+
if (!checkoutId) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const pressBackTrackingEvent: PressBackTrackingEvent = {
|
|
31
|
+
event: TrackingEventName.PRESS_BACK,
|
|
32
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
33
|
+
section: `${PROJECT}_${page}`,
|
|
34
|
+
store: country,
|
|
35
|
+
segment,
|
|
36
|
+
checkoutId,
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
emitUserEvent(pressBackTrackingEvent);
|
|
40
|
+
}, [checkoutId, country, emitUserEvent, page, segment]);
|
|
41
|
+
|
|
42
|
+
return pressBack;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export { useTrackPressBack };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { renderHook } from "@testing-library/react-native";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { Country } from "../../projection/shared/country";
|
|
5
|
+
import { PressContinueTrackingEvent, TrackingPage, TrackingEventName, TrackingEventCategory } from "./tracking";
|
|
6
|
+
import { useTrackPressContinue as sut } from "./useTrackPressContinue";
|
|
7
|
+
|
|
8
|
+
const mockEmitUserEvent = jest.fn();
|
|
9
|
+
jest.mock("@lookiero/sty-psp-tracking");
|
|
10
|
+
|
|
11
|
+
const country = Country.ES;
|
|
12
|
+
const segment = Segment.WOMEN;
|
|
13
|
+
|
|
14
|
+
const event: PressContinueTrackingEvent = {
|
|
15
|
+
event: TrackingEventName.PRESS_CONTINUE,
|
|
16
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
17
|
+
section: "checkout_item",
|
|
18
|
+
store: country,
|
|
19
|
+
segment,
|
|
20
|
+
checkoutId: "c513ebc8-df68-4f47-b899-8ec0ced84ca8",
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
describe("useTrackPressContinue custom hook", () => {
|
|
24
|
+
test("renders correctly", () => {
|
|
25
|
+
(useEmitUserEvent as jest.Mock).mockImplementation(() => mockEmitUserEvent);
|
|
26
|
+
|
|
27
|
+
const { result } = renderHook(() =>
|
|
28
|
+
sut({
|
|
29
|
+
page: TrackingPage.ITEM,
|
|
30
|
+
country,
|
|
31
|
+
segment,
|
|
32
|
+
checkoutId: "c513ebc8-df68-4f47-b899-8ec0ced84ca8",
|
|
33
|
+
}),
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
result.current();
|
|
37
|
+
|
|
38
|
+
expect(mockEmitUserEvent).toHaveBeenCalledWith(event);
|
|
39
|
+
});
|
|
40
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { useCallback } from "react";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { Country } from "../../projection/shared/country";
|
|
5
|
+
import {
|
|
6
|
+
PROJECT,
|
|
7
|
+
TrackingPage,
|
|
8
|
+
PressContinueTrackingEvent,
|
|
9
|
+
TrackingEventName,
|
|
10
|
+
TrackingEventCategory,
|
|
11
|
+
} from "./tracking";
|
|
12
|
+
|
|
13
|
+
interface PressContinueFunction {
|
|
14
|
+
(): void;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
interface UseTrackPressContinueFunctionArgs {
|
|
18
|
+
readonly page: TrackingPage;
|
|
19
|
+
readonly country: Country;
|
|
20
|
+
readonly segment: Segment;
|
|
21
|
+
readonly checkoutId: string | undefined;
|
|
22
|
+
}
|
|
23
|
+
interface UseTrackPressContinueFunction {
|
|
24
|
+
(agrs: UseTrackPressContinueFunctionArgs): PressContinueFunction;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const useTrackPressContinue: UseTrackPressContinueFunction = ({ page, country, segment, checkoutId }) => {
|
|
28
|
+
const emitUserEvent = useEmitUserEvent<PressContinueTrackingEvent>();
|
|
29
|
+
|
|
30
|
+
const pressContinue: PressContinueFunction = useCallback(() => {
|
|
31
|
+
if (!checkoutId) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const pressContinueTrackingEvent: PressContinueTrackingEvent = {
|
|
36
|
+
event: TrackingEventName.PRESS_CONTINUE,
|
|
37
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
38
|
+
section: `${PROJECT}_${page}`,
|
|
39
|
+
store: country,
|
|
40
|
+
segment,
|
|
41
|
+
checkoutId,
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
emitUserEvent(pressContinueTrackingEvent);
|
|
45
|
+
}, [checkoutId, country, emitUserEvent, page, segment]);
|
|
46
|
+
|
|
47
|
+
return pressContinue;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export { useTrackPressContinue };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { renderHook } from "@testing-library/react-native";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { Country } from "../../projection/shared/country";
|
|
5
|
+
import { TrackingPage, PressItemTrackingEvent, TrackingEventName, TrackingEventCategory } from "./tracking";
|
|
6
|
+
import { useTrackPressItem as sut } from "./useTrackPressItem";
|
|
7
|
+
|
|
8
|
+
const mockEmitUserEvent = jest.fn();
|
|
9
|
+
jest.mock("@lookiero/sty-psp-tracking");
|
|
10
|
+
|
|
11
|
+
const country = Country.ES;
|
|
12
|
+
const segment = Segment.WOMEN;
|
|
13
|
+
|
|
14
|
+
const event: PressItemTrackingEvent = {
|
|
15
|
+
event: TrackingEventName.PRESS_ITEM,
|
|
16
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
17
|
+
section: "checkout_item",
|
|
18
|
+
store: country,
|
|
19
|
+
segment,
|
|
20
|
+
checkoutId: "c513ebc8-df68-4f47-b899-8ec0ced84ca8",
|
|
21
|
+
checkoutItemId: "a72120a3-6837-4fe9-adc3-a891b14160ff",
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
describe("useTrackPressItem custom hook", () => {
|
|
25
|
+
test("renders correctly", () => {
|
|
26
|
+
(useEmitUserEvent as jest.Mock).mockImplementation(() => mockEmitUserEvent);
|
|
27
|
+
|
|
28
|
+
const { result } = renderHook(() =>
|
|
29
|
+
sut({
|
|
30
|
+
page: TrackingPage.ITEM,
|
|
31
|
+
country,
|
|
32
|
+
segment,
|
|
33
|
+
checkoutId: "c513ebc8-df68-4f47-b899-8ec0ced84ca8",
|
|
34
|
+
}),
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
result.current({ checkoutItemId: "a72120a3-6837-4fe9-adc3-a891b14160ff" });
|
|
38
|
+
|
|
39
|
+
expect(mockEmitUserEvent).toHaveBeenCalledWith(event);
|
|
40
|
+
});
|
|
41
|
+
});
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { useCallback } from "react";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { Country } from "../../projection/shared/country";
|
|
5
|
+
import { PROJECT, TrackingPage, PressItemTrackingEvent, TrackingEventName, TrackingEventCategory } from "./tracking";
|
|
6
|
+
|
|
7
|
+
interface PressItemFunctionArgs {
|
|
8
|
+
readonly checkoutItemId: string;
|
|
9
|
+
}
|
|
10
|
+
interface PressItemFunction {
|
|
11
|
+
(args: PressItemFunctionArgs): void;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface UseTrackPressItemFunctionArgs {
|
|
15
|
+
readonly page: TrackingPage;
|
|
16
|
+
readonly country: Country;
|
|
17
|
+
readonly segment: Segment;
|
|
18
|
+
readonly checkoutId: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
interface UseTrackPressItemFunction {
|
|
21
|
+
(agrs: UseTrackPressItemFunctionArgs): PressItemFunction;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const useTrackPressItem: UseTrackPressItemFunction = ({ page, country, segment, checkoutId }) => {
|
|
25
|
+
const emitUserEvent = useEmitUserEvent<PressItemTrackingEvent>();
|
|
26
|
+
|
|
27
|
+
const pressItem: PressItemFunction = useCallback(
|
|
28
|
+
({ checkoutItemId }) => {
|
|
29
|
+
if (!checkoutId) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const pressItemTrackingEvent: PressItemTrackingEvent = {
|
|
34
|
+
event: TrackingEventName.PRESS_ITEM,
|
|
35
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
36
|
+
section: `${PROJECT}_${page}`,
|
|
37
|
+
store: country,
|
|
38
|
+
segment,
|
|
39
|
+
checkoutId,
|
|
40
|
+
checkoutItemId,
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
emitUserEvent(pressItemTrackingEvent);
|
|
44
|
+
},
|
|
45
|
+
[checkoutId, country, emitUserEvent, page, segment],
|
|
46
|
+
);
|
|
47
|
+
|
|
48
|
+
return pressItem;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export { useTrackPressItem };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { renderHook } from "@testing-library/react-native";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { Country } from "../../projection/shared/country";
|
|
5
|
+
import { TrackingPage, PressNextTrackingEvent, TrackingEventName, TrackingEventCategory } from "./tracking";
|
|
6
|
+
import { useTrackPressNext as sut } from "./useTrackPressNext";
|
|
7
|
+
|
|
8
|
+
const mockEmitUserEvent = jest.fn();
|
|
9
|
+
jest.mock("@lookiero/sty-psp-tracking");
|
|
10
|
+
|
|
11
|
+
const country = Country.ES;
|
|
12
|
+
const segment = Segment.WOMEN;
|
|
13
|
+
|
|
14
|
+
const event: PressNextTrackingEvent = {
|
|
15
|
+
event: TrackingEventName.PRESS_NEXT,
|
|
16
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
17
|
+
section: "checkout_item",
|
|
18
|
+
store: country,
|
|
19
|
+
segment,
|
|
20
|
+
checkoutId: "c513ebc8-df68-4f47-b899-8ec0ced84ca8",
|
|
21
|
+
from: "faaf6ce4-8b7b-4cbd-a50b-32dd23388112",
|
|
22
|
+
to: "b5555baf-fec7-4ab2-bb6f-1d482acee8b2",
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
describe("useTrackPressNext custom hook", () => {
|
|
26
|
+
test("renders correctly", () => {
|
|
27
|
+
(useEmitUserEvent as jest.Mock).mockImplementation(() => mockEmitUserEvent);
|
|
28
|
+
|
|
29
|
+
const { result } = renderHook(() =>
|
|
30
|
+
sut({
|
|
31
|
+
page: TrackingPage.ITEM,
|
|
32
|
+
country,
|
|
33
|
+
segment,
|
|
34
|
+
checkoutId: "c513ebc8-df68-4f47-b899-8ec0ced84ca8",
|
|
35
|
+
}),
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
result.current({
|
|
39
|
+
from: "faaf6ce4-8b7b-4cbd-a50b-32dd23388112",
|
|
40
|
+
to: "b5555baf-fec7-4ab2-bb6f-1d482acee8b2",
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
expect(mockEmitUserEvent).toHaveBeenCalledWith(event);
|
|
44
|
+
});
|
|
45
|
+
});
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { useCallback } from "react";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { Country } from "../../projection/shared/country";
|
|
5
|
+
import { PROJECT, TrackingPage, PressNextTrackingEvent, TrackingEventName, TrackingEventCategory } from "./tracking";
|
|
6
|
+
|
|
7
|
+
interface PressNextFunctionArgs {
|
|
8
|
+
readonly from: string;
|
|
9
|
+
readonly to: string;
|
|
10
|
+
}
|
|
11
|
+
interface PressNextFunction {
|
|
12
|
+
(args: PressNextFunctionArgs): void;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface UseTrackPressNextFunctionArgs {
|
|
16
|
+
readonly page: TrackingPage;
|
|
17
|
+
readonly country: Country;
|
|
18
|
+
readonly segment: Segment;
|
|
19
|
+
readonly checkoutId: string | undefined;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface UseTrackPressNextFunction {
|
|
23
|
+
(args: UseTrackPressNextFunctionArgs): PressNextFunction;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const useTrackPressNext: UseTrackPressNextFunction = ({ page, country, segment, checkoutId }) => {
|
|
27
|
+
const emitUserEvent = useEmitUserEvent<PressNextTrackingEvent>();
|
|
28
|
+
|
|
29
|
+
const pressNext: PressNextFunction = useCallback(
|
|
30
|
+
({ from, to }) => {
|
|
31
|
+
if (!checkoutId) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const pressNextTrackingEvent: PressNextTrackingEvent = {
|
|
36
|
+
event: TrackingEventName.PRESS_NEXT,
|
|
37
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
38
|
+
section: `${PROJECT}_${page}`,
|
|
39
|
+
store: country,
|
|
40
|
+
segment,
|
|
41
|
+
checkoutId,
|
|
42
|
+
from,
|
|
43
|
+
to,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
emitUserEvent(pressNextTrackingEvent);
|
|
47
|
+
},
|
|
48
|
+
[checkoutId, country, emitUserEvent, page, segment],
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
return pressNext;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export { useTrackPressNext };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { renderHook } from "@testing-library/react-native";
|
|
2
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
3
|
+
import { useEmitUserEvent } from "@lookiero/sty-psp-tracking";
|
|
4
|
+
import { Country } from "../../projection/shared/country";
|
|
5
|
+
import { TrackingPage, PressPreviousTrackingEvent, TrackingEventName, TrackingEventCategory } from "./tracking";
|
|
6
|
+
import { useTrackPressPrevious as sut } from "./useTrackPressPrevious";
|
|
7
|
+
|
|
8
|
+
const mockEmitUserEvent = jest.fn();
|
|
9
|
+
jest.mock("@lookiero/sty-psp-tracking");
|
|
10
|
+
|
|
11
|
+
const country = Country.ES;
|
|
12
|
+
const segment = Segment.WOMEN;
|
|
13
|
+
|
|
14
|
+
const event: PressPreviousTrackingEvent = {
|
|
15
|
+
event: TrackingEventName.PRESS_PREVIOUS,
|
|
16
|
+
eventCategory: TrackingEventCategory.NAVIGATION,
|
|
17
|
+
section: "checkout_item",
|
|
18
|
+
store: country,
|
|
19
|
+
segment,
|
|
20
|
+
checkoutId: "c513ebc8-df68-4f47-b899-8ec0ced84ca8",
|
|
21
|
+
from: "faaf6ce4-8b7b-4cbd-a50b-32dd23388112",
|
|
22
|
+
to: "b5555baf-fec7-4ab2-bb6f-1d482acee8b2",
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
describe("useTrackPressPrevious custom hook", () => {
|
|
26
|
+
test("renders correctly", () => {
|
|
27
|
+
(useEmitUserEvent as jest.Mock).mockImplementation(() => mockEmitUserEvent);
|
|
28
|
+
|
|
29
|
+
const { result } = renderHook(() =>
|
|
30
|
+
sut({
|
|
31
|
+
page: TrackingPage.ITEM,
|
|
32
|
+
country,
|
|
33
|
+
segment,
|
|
34
|
+
checkoutId: "c513ebc8-df68-4f47-b899-8ec0ced84ca8",
|
|
35
|
+
}),
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
result.current({
|
|
39
|
+
from: "faaf6ce4-8b7b-4cbd-a50b-32dd23388112",
|
|
40
|
+
to: "b5555baf-fec7-4ab2-bb6f-1d482acee8b2",
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
expect(mockEmitUserEvent).toHaveBeenCalledWith(event);
|
|
44
|
+
});
|
|
45
|
+
});
|