@lookiero/checkout 5.3.0 → 6.0.0-beta.1
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 +12 -10
- package/dist/index.js +11 -10
- 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/public/public/assets/adaptive-icon.png +0 -0
- package/dist/public/public/assets/favicon.png +0 -0
- package/dist/public/public/assets/icon.png +0 -0
- package/dist/public/public/assets/splash.png +0 -0
- package/dist/public/public/images/not-found.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 +75 -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
package/src/Expo.tsx
ADDED
package/src/ExpoRoot.tsx
ADDED
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { useFonts } from "expo-font";
|
|
2
|
+
import "expo/build/Expo.fx";
|
|
3
|
+
import React, { FC, useCallback, useState } from "react";
|
|
4
|
+
import { Platform, ScrollView } from "react-native";
|
|
5
|
+
import "react-native-get-random-values";
|
|
6
|
+
import { Navigate, Route, Routes } from "react-router-native";
|
|
7
|
+
import { Aurora, Text } from "@lookiero/aurora";
|
|
8
|
+
import { EventProvider } from "@lookiero/event";
|
|
9
|
+
import { EndpointFunction } from "@lookiero/i18n";
|
|
10
|
+
import { i18n } from "@lookiero/i18n-react";
|
|
11
|
+
import { PaymentsQueryProvider, setPaymentsBridge } from "@lookiero/payments-front";
|
|
12
|
+
import { Locale } from "@lookiero/sty-psp-locale";
|
|
13
|
+
import { SentryEnvironment } from "@lookiero/sty-psp-logging";
|
|
14
|
+
import { Segment } from "@lookiero/sty-psp-segment";
|
|
15
|
+
import { KameleoonEnvironment } from "./infrastructure/ab-testing/kameleoonEnvironment";
|
|
16
|
+
// import { bootstrap as checkoutMockBootstrap } from "./infrastructure/delivery/bootstrap.mock";
|
|
17
|
+
import { bootstrap as checkoutBootstrap } from "./infrastructure/delivery/bootstrap";
|
|
18
|
+
import { root } from "./infrastructure/ui/Root";
|
|
19
|
+
import { DummyLayout } from "./infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout";
|
|
20
|
+
import { fetchTranslations } from "./infrastructure/ui/i18n/fetchTranslations";
|
|
21
|
+
import { translationExternalEndpoint } from "./infrastructure/ui/i18n/translationEndpoint";
|
|
22
|
+
import { Router } from "./infrastructure/ui/routing/router/Router";
|
|
23
|
+
import { Country } from "./projection/shared/country";
|
|
24
|
+
import { Customer } from "./projection/shared/customer";
|
|
25
|
+
import { VERSION } from "./version";
|
|
26
|
+
|
|
27
|
+
const locale: Locale = Locale.ES;
|
|
28
|
+
|
|
29
|
+
const customer: Customer = {
|
|
30
|
+
customerId: "51a031b1-01e6-4717-97e5-157eb5a96953",
|
|
31
|
+
country: Country.ES,
|
|
32
|
+
segment: Segment.WOMEN,
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const sentryConfig: SentryEnvironment = {
|
|
36
|
+
publicKey: "66cadf9444db4ea5945670f12ec08ae7",
|
|
37
|
+
release: VERSION,
|
|
38
|
+
project: "4504400729276416",
|
|
39
|
+
environment: `${Platform.OS}-EXPO`,
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
const apiUrl =
|
|
43
|
+
Platform.OS !== "web" ? "https://web2.sp.dev.aws.lookiero.es/quiz/api" : __DEV__ ? "/local-to-dev" : "/checkout/api";
|
|
44
|
+
const authToken =
|
|
45
|
+
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUwNDY3MDcsImV4cCI6MTcxOTc0MTYzMCwiZGlzcGxheU5hbWUiOiJNaWtlbCIsImNvdW50cnlfY29kZSI6IkVTIiwiYWNjZXNzVmlhIjoiZW1haWwiLCJzdWJzY3JpcHRpb25TdGFydGluZ0RhdGUiOiIyMDI0LTA1LTI5IiwiaW1wZXJzb25hdGVkIjpmYWxzZSwidXVpZCI6IjUxYTAzMWIxLTAxZTYtNDcxNy05N2U1LTE1N2ViNWE5Njk1MyIsImlhdCI6MTcxNzA2MzIzMH0.k8T3SdiOVu0UkRqPI6QlFDldI9Dgi0p0nT0i9dwc2lU";
|
|
46
|
+
const getAuthToken = () => Promise.resolve(authToken);
|
|
47
|
+
|
|
48
|
+
const externalTranslationsUrl =
|
|
49
|
+
Platform.OS !== "web"
|
|
50
|
+
? "https://backend-for-user.dev.envs.lookiero.tech/api/v2/translations"
|
|
51
|
+
: __DEV__
|
|
52
|
+
? "/local-to-external-i18n"
|
|
53
|
+
: "/external-i18n";
|
|
54
|
+
const translations: EndpointFunction[] = [
|
|
55
|
+
(locale) =>
|
|
56
|
+
translationExternalEndpoint({
|
|
57
|
+
translationsUrl: externalTranslationsUrl,
|
|
58
|
+
projects: [["user-area-front"], ["inventory-catalog", "feature;feature_value;Color"], ["checkout"]],
|
|
59
|
+
})(locale),
|
|
60
|
+
];
|
|
61
|
+
|
|
62
|
+
const useRedirect: () => Record<string, string> = () => ({
|
|
63
|
+
returnUrl: "https://web2.dev.aws.lookiero.es/user/",
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
setPaymentsBridge({
|
|
67
|
+
getToken: getAuthToken,
|
|
68
|
+
stripeKey: "pk_test_6dwdUfkUm7AaUH3oSje9H0kk",
|
|
69
|
+
stripeUkKey:
|
|
70
|
+
"pk_test_51Jw6NEHQ1gSUXaQ8KKBLBhmzw7k0TCTN0GQ6qq8oGRmXCn09ptn7zrHX5jsyidv8iBDGuzUDV3R0fko01m5oJzMO00z6XmoLbn",
|
|
71
|
+
commonAssetsPath: "https://cdn.dev.envs.lookiero.tech/commons",
|
|
72
|
+
paymentsAssetsPath: "https://cdn.dev.envs.lookiero.tech/payments-front",
|
|
73
|
+
useAvoidKeyboard: () => ({
|
|
74
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
75
|
+
// @ts-ignore
|
|
76
|
+
setAvoidKeyboard: () => void 0,
|
|
77
|
+
}),
|
|
78
|
+
emitTrackingEvent: (e) => {
|
|
79
|
+
console.log("Tracking Payment event", e);
|
|
80
|
+
},
|
|
81
|
+
appVersion: VERSION,
|
|
82
|
+
graphqlUri: "/graphql",
|
|
83
|
+
googlePay: {
|
|
84
|
+
merchant: {
|
|
85
|
+
merchantId: "0123456789",
|
|
86
|
+
merchantName: "Lookiero",
|
|
87
|
+
},
|
|
88
|
+
isTestEnv: true,
|
|
89
|
+
},
|
|
90
|
+
useFeatureFlags: () => ({
|
|
91
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
92
|
+
ALLOW_GOOGLE_PAY_AT: true,
|
|
93
|
+
ALLOW_GOOGLE_PAY_BE: true,
|
|
94
|
+
ALLOW_GOOGLE_PAY_DE: true,
|
|
95
|
+
ALLOW_GOOGLE_PAY_ES: true,
|
|
96
|
+
ALLOW_GOOGLE_PAY_FR: true,
|
|
97
|
+
ALLOW_GOOGLE_PAY_GB: true,
|
|
98
|
+
ALLOW_GOOGLE_PAY_IT: true,
|
|
99
|
+
ALLOW_GOOGLE_PAY_LU: true,
|
|
100
|
+
ALLOW_GOOGLE_PAY_NL: true,
|
|
101
|
+
ALLOW_GOOGLE_PAY_PT: true,
|
|
102
|
+
ALLOW_GOOGLE_PAY_APP_AT: true,
|
|
103
|
+
ALLOW_GOOGLE_PAY_APP_BE: true,
|
|
104
|
+
ALLOW_GOOGLE_PAY_APP_DE: true,
|
|
105
|
+
ALLOW_GOOGLE_PAY_APP_ES: true,
|
|
106
|
+
ALLOW_GOOGLE_PAY_APP_FR: true,
|
|
107
|
+
ALLOW_GOOGLE_PAY_APP_GB: true,
|
|
108
|
+
ALLOW_GOOGLE_PAY_APP_IT: true,
|
|
109
|
+
ALLOW_GOOGLE_PAY_APP_LU: true,
|
|
110
|
+
ALLOW_GOOGLE_PAY_APP_NL: true,
|
|
111
|
+
ALLOW_GOOGLE_PAY_APP_PT: true,
|
|
112
|
+
/* eslint-enable @typescript-eslint/naming-convention */
|
|
113
|
+
}),
|
|
114
|
+
locale: () => Promise.resolve("es-ES"),
|
|
115
|
+
scrollView: ScrollView,
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
const kameleoonConfig: KameleoonEnvironment = {
|
|
119
|
+
siteCode: "aplm4v3ckn",
|
|
120
|
+
experiments: {
|
|
121
|
+
newFeedback: {
|
|
122
|
+
id: "245000",
|
|
123
|
+
variations: {
|
|
124
|
+
v1: "964072",
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
// const { Component: Messaging } = checkoutMockBootstrap();
|
|
131
|
+
const { Component: Messaging } = checkoutBootstrap({ apiUrl: () => apiUrl, getAuthToken });
|
|
132
|
+
const I18n = i18n({
|
|
133
|
+
fetchTranslation: fetchTranslations({ translations }),
|
|
134
|
+
contextId: "CheckoutI18n",
|
|
135
|
+
});
|
|
136
|
+
const Root = root({
|
|
137
|
+
Messaging,
|
|
138
|
+
I18n,
|
|
139
|
+
getAuthToken,
|
|
140
|
+
development: false,
|
|
141
|
+
sentry: () => sentryConfig,
|
|
142
|
+
kameleoon: () => kameleoonConfig,
|
|
143
|
+
})({ customerId: customer.customerId });
|
|
144
|
+
|
|
145
|
+
const ExpoRoot: FC = () => {
|
|
146
|
+
const [fontsLoaded] = useFonts({
|
|
147
|
+
["AreaInktrap-Semibold"]: require("@lookiero/aurora-fonts/AreaInktrap-Semibold.otf"),
|
|
148
|
+
["AreaNormal-Semibold"]: require("@lookiero/aurora-fonts/AreaNormal-Semibold.otf"),
|
|
149
|
+
["AreaNormal-Extrabold"]: require("@lookiero/aurora-fonts/AreaNormal-Extrabold.otf"),
|
|
150
|
+
auroraicons: require("@lookiero/aurora-iconfont/dist/auroraicons.ttf"),
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
const [isAccessible, setIsAccessible] = useState<boolean>();
|
|
154
|
+
const onNotAccessible = useCallback(() => setIsAccessible(false), []);
|
|
155
|
+
|
|
156
|
+
return fontsLoaded ? (
|
|
157
|
+
<PaymentsQueryProvider>
|
|
158
|
+
<EventProvider>
|
|
159
|
+
<Aurora>
|
|
160
|
+
{isAccessible === false && <Text heading={true}>Checkout is not accessible!</Text>}
|
|
161
|
+
|
|
162
|
+
<Router>
|
|
163
|
+
<Routes>
|
|
164
|
+
<Route
|
|
165
|
+
path="/checkout/*"
|
|
166
|
+
element={
|
|
167
|
+
<Root
|
|
168
|
+
basePath="/checkout"
|
|
169
|
+
customer={customer}
|
|
170
|
+
layout={DummyLayout}
|
|
171
|
+
locale={locale}
|
|
172
|
+
subscription="b"
|
|
173
|
+
useRedirect={useRedirect}
|
|
174
|
+
order={{
|
|
175
|
+
isFirstOrder: false,
|
|
176
|
+
orderNumber: 3687582,
|
|
177
|
+
coupon: "MYLOOKIERO",
|
|
178
|
+
}}
|
|
179
|
+
onNotAccessible={onNotAccessible}
|
|
180
|
+
/>
|
|
181
|
+
}
|
|
182
|
+
/>
|
|
183
|
+
|
|
184
|
+
<Route element={<Navigate to="/checkout" replace />} path="*" />
|
|
185
|
+
</Routes>
|
|
186
|
+
</Router>
|
|
187
|
+
</Aurora>
|
|
188
|
+
</EventProvider>
|
|
189
|
+
</PaymentsQueryProvider>
|
|
190
|
+
) : null;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
export { ExpoRoot };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { startCheckout as sut, START_CHECKOUT } from "./startCheckout";
|
|
2
|
+
|
|
3
|
+
describe("startCheckout", () => {
|
|
4
|
+
it("returns an startCheckout command", () => {
|
|
5
|
+
const aggregateId = "67ac1d5c-6d24-4b19-bc01-8f61c266670c";
|
|
6
|
+
|
|
7
|
+
const command = sut({ aggregateId });
|
|
8
|
+
|
|
9
|
+
expect(command.aggregateId).toBe(aggregateId);
|
|
10
|
+
expect(command.name).toBe(START_CHECKOUT);
|
|
11
|
+
});
|
|
12
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { command, Command } from "@lookiero/messaging";
|
|
2
|
+
|
|
3
|
+
const START_CHECKOUT = "start_checkout";
|
|
4
|
+
|
|
5
|
+
interface StartCheckoutPayload {
|
|
6
|
+
readonly aggregateId: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface StartCheckout extends Command<typeof START_CHECKOUT>, StartCheckoutPayload {}
|
|
10
|
+
|
|
11
|
+
interface StartCheckoutFunction {
|
|
12
|
+
(payload: StartCheckoutPayload): StartCheckout;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const startCheckout: StartCheckoutFunction = ({ aggregateId }) => command({ aggregateId, name: START_CHECKOUT });
|
|
16
|
+
|
|
17
|
+
export type { StartCheckout };
|
|
18
|
+
export { START_CHECKOUT, startCheckout };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { submitCheckout as sut, SUBMIT_CHECKOUT } from "./submitCheckout";
|
|
2
|
+
|
|
3
|
+
describe("submitCheckout", () => {
|
|
4
|
+
it("returns an submitCheckout command", () => {
|
|
5
|
+
const aggregateId = "67ac1d5c-6d24-4b19-bc01-8f61c266670c";
|
|
6
|
+
|
|
7
|
+
const command = sut({ aggregateId });
|
|
8
|
+
|
|
9
|
+
expect(command.aggregateId).toBe(aggregateId);
|
|
10
|
+
expect(command.name).toBe(SUBMIT_CHECKOUT);
|
|
11
|
+
});
|
|
12
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { command, Command } from "@lookiero/messaging";
|
|
2
|
+
|
|
3
|
+
const SUBMIT_CHECKOUT = "submit_checkout";
|
|
4
|
+
|
|
5
|
+
interface SubmitCheckoutPayload {
|
|
6
|
+
readonly aggregateId: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface SubmitCheckout extends Command<typeof SUBMIT_CHECKOUT>, SubmitCheckoutPayload {}
|
|
10
|
+
|
|
11
|
+
interface SubmitCheckoutFunction {
|
|
12
|
+
(payload: SubmitCheckoutPayload): SubmitCheckout;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const submitCheckout: SubmitCheckoutFunction = ({ aggregateId }) => command({ aggregateId, name: SUBMIT_CHECKOUT });
|
|
16
|
+
|
|
17
|
+
export type { SubmitCheckout };
|
|
18
|
+
export { SUBMIT_CHECKOUT, submitCheckout };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { NotificationType } from "@lookiero/sty-psp-notifications/dist/src/domain/notification/model/notification";
|
|
2
|
+
import { I18nMessages } from "../../../infrastructure/ui/i18n/i18n";
|
|
3
|
+
import { checkoutSubmitted } from "../model/checkoutSubmitted";
|
|
4
|
+
import {
|
|
5
|
+
CHECKOUT_SUCCESS_NOTIFICATION_ID,
|
|
6
|
+
createModalNotificationWhenCheckoutSubmitted as sut,
|
|
7
|
+
} from "./createModalNotificationWhenCheckoutSubmitted";
|
|
8
|
+
|
|
9
|
+
const aggregateId = "ac941883-271a-4566-94b3-4f79b4a22c7c";
|
|
10
|
+
|
|
11
|
+
describe("createModalNotificationWhenCheckoutSubmitted", () => {
|
|
12
|
+
const queryBus = jest.fn();
|
|
13
|
+
const commandBus = jest.fn();
|
|
14
|
+
|
|
15
|
+
test("create a modal notification when checkoutSubmitted occurred", async () => {
|
|
16
|
+
const checkoutSubmittedEvent = checkoutSubmitted({ aggregateId });
|
|
17
|
+
|
|
18
|
+
await sut({ queryBus, commandBus })(checkoutSubmittedEvent);
|
|
19
|
+
|
|
20
|
+
expect(commandBus).toHaveBeenCalledWith(
|
|
21
|
+
expect.objectContaining({
|
|
22
|
+
aggregateId: CHECKOUT_SUCCESS_NOTIFICATION_ID,
|
|
23
|
+
name: "create_modal_notification",
|
|
24
|
+
type: NotificationType.MODAL,
|
|
25
|
+
titleI18nKey: I18nMessages.CHECKOUT_SUCCESS_MODAL_TITLE,
|
|
26
|
+
bodyI18nKey: I18nMessages.CHECKOUT_SUCCESS_MODAL_DESCRIPTION,
|
|
27
|
+
acceptI18nKey: I18nMessages.CHECKOUT_SUCCESS_MODAL_BUTTON,
|
|
28
|
+
}),
|
|
29
|
+
);
|
|
30
|
+
});
|
|
31
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ProcessManagerFunction } from "@lookiero/messaging";
|
|
2
|
+
import { createModalNotification } from "@lookiero/sty-psp-notifications";
|
|
3
|
+
import { I18nMessages } from "../../../infrastructure/ui/i18n/i18n";
|
|
4
|
+
import { CheckoutSubmitted } from "../model/checkoutSubmitted";
|
|
5
|
+
|
|
6
|
+
const CHECKOUT_SUCCESS_NOTIFICATION_ID = "fa25dcdd-9f5d-4760-9e6f-27174205b1fa";
|
|
7
|
+
|
|
8
|
+
interface CreateModalNotificationWhenCheckoutSubmittedFunction extends ProcessManagerFunction<CheckoutSubmitted> {}
|
|
9
|
+
|
|
10
|
+
const createModalNotificationWhenCheckoutSubmitted: CreateModalNotificationWhenCheckoutSubmittedFunction =
|
|
11
|
+
({ commandBus }) =>
|
|
12
|
+
async () => {
|
|
13
|
+
await commandBus(
|
|
14
|
+
createModalNotification({
|
|
15
|
+
aggregateId: CHECKOUT_SUCCESS_NOTIFICATION_ID,
|
|
16
|
+
titleI18nKey: I18nMessages.CHECKOUT_SUCCESS_MODAL_TITLE,
|
|
17
|
+
bodyI18nKey: I18nMessages.CHECKOUT_SUCCESS_MODAL_DESCRIPTION,
|
|
18
|
+
acceptI18nKey: I18nMessages.CHECKOUT_SUCCESS_MODAL_BUTTON,
|
|
19
|
+
}),
|
|
20
|
+
);
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { createModalNotificationWhenCheckoutSubmitted, CHECKOUT_SUCCESS_NOTIFICATION_ID };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { mock } from "jest-mock-extended";
|
|
2
|
+
import { QueryBus } from "@lookiero/messaging";
|
|
3
|
+
import { startCheckout } from "../command/startCheckout";
|
|
4
|
+
import { submitCheckout } from "../command/submitCheckout";
|
|
5
|
+
import {
|
|
6
|
+
Checkout,
|
|
7
|
+
CheckoutStatus,
|
|
8
|
+
startCheckoutHandler as sutStart,
|
|
9
|
+
submitCheckoutHandler as sutSubmit,
|
|
10
|
+
} from "./checkout";
|
|
11
|
+
import { CHECKOUT_STARTED } from "./checkoutStarted";
|
|
12
|
+
import { CHECKOUT_SUBMITTED } from "./checkoutSubmitted";
|
|
13
|
+
|
|
14
|
+
const checkoutWithStatus = (status: CheckoutStatus): Checkout => ({
|
|
15
|
+
aggregateId: "fcb1a564-67be-40a1-9d7a-33dbd1e00062",
|
|
16
|
+
status,
|
|
17
|
+
customerId: "6f1c2968-e3d5-4cf0-9fbb-292c5ef46da2",
|
|
18
|
+
boxId: "9e283955-d25e-42c9-bf29-7f6d1c40fb69",
|
|
19
|
+
checkoutBookingId: "1f2125e2-c1d6-4cf1-84f2-5ac39de1116f",
|
|
20
|
+
expiresOn: new Date(),
|
|
21
|
+
domainEvents: [],
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
describe("checkout", () => {
|
|
25
|
+
const queryBus = mock<QueryBus>();
|
|
26
|
+
|
|
27
|
+
it("starts", async () => {
|
|
28
|
+
const checkout: Checkout = checkoutWithStatus(CheckoutStatus.NOTIFIED);
|
|
29
|
+
const command = startCheckout({ aggregateId: checkout.aggregateId });
|
|
30
|
+
|
|
31
|
+
const aggregateRoot = await sutStart({ queryBus })({ aggregateRoot: checkout, command });
|
|
32
|
+
|
|
33
|
+
expect(aggregateRoot.aggregateId).toBe(checkout.aggregateId);
|
|
34
|
+
expect(aggregateRoot.checkoutBookingId).toBe(checkout.checkoutBookingId);
|
|
35
|
+
expect(aggregateRoot.boxId).toBe(checkout.boxId);
|
|
36
|
+
expect(aggregateRoot.customerId).toBe(checkout.customerId);
|
|
37
|
+
expect(aggregateRoot.expiresOn).toBe(checkout.expiresOn);
|
|
38
|
+
expect(aggregateRoot.status).toBe(CheckoutStatus.STARTED);
|
|
39
|
+
expect(aggregateRoot.domainEvents[0].name).toBe(CHECKOUT_STARTED);
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
it("throws if trying to start and already started", async () => {
|
|
43
|
+
const checkout: Checkout = checkoutWithStatus(CheckoutStatus.STARTED);
|
|
44
|
+
const command = startCheckout({ aggregateId: checkout.aggregateId });
|
|
45
|
+
|
|
46
|
+
expect(async () => await sutStart({ queryBus })({ aggregateRoot: checkout, command })).rejects.toThrow();
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
it("throws if trying to start a completed checkout", async () => {
|
|
50
|
+
const checkout: Checkout = checkoutWithStatus(CheckoutStatus.COMPLETED);
|
|
51
|
+
const command = startCheckout({ aggregateId: checkout.aggregateId });
|
|
52
|
+
|
|
53
|
+
expect(async () => await sutStart({ queryBus })({ aggregateRoot: checkout, command })).rejects.toThrow();
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
it("submit checkout", async () => {
|
|
57
|
+
const checkout: Checkout = checkoutWithStatus(CheckoutStatus.STARTED);
|
|
58
|
+
const command = submitCheckout({ aggregateId: checkout.aggregateId });
|
|
59
|
+
|
|
60
|
+
const aggregateRoot = await sutSubmit({ queryBus })({ aggregateRoot: checkout, command });
|
|
61
|
+
|
|
62
|
+
expect(aggregateRoot.aggregateId).toBe(checkout.aggregateId);
|
|
63
|
+
expect(aggregateRoot.checkoutBookingId).toBe(checkout.checkoutBookingId);
|
|
64
|
+
expect(aggregateRoot.boxId).toBe(checkout.boxId);
|
|
65
|
+
expect(aggregateRoot.customerId).toBe(checkout.customerId);
|
|
66
|
+
expect(aggregateRoot.expiresOn).toBe(checkout.expiresOn);
|
|
67
|
+
expect(aggregateRoot.status).toBe(CheckoutStatus.SUBMITTED);
|
|
68
|
+
expect(aggregateRoot.domainEvents[0].name).toBe(CHECKOUT_SUBMITTED);
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
it("throws if trying to submit checkout a completed checkout", async () => {
|
|
72
|
+
const checkout: Checkout = checkoutWithStatus(CheckoutStatus.COMPLETED);
|
|
73
|
+
const command = submitCheckout({ aggregateId: checkout.aggregateId });
|
|
74
|
+
|
|
75
|
+
expect(async () => await sutSubmit({ queryBus })({ aggregateRoot: checkout, command })).rejects.toThrow();
|
|
76
|
+
});
|
|
77
|
+
});
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import invariant from "tiny-invariant";
|
|
2
|
+
import { AggregateRoot, CommandHandlerFunction } from "@lookiero/messaging";
|
|
3
|
+
import { StartCheckout } from "../command/startCheckout";
|
|
4
|
+
import { SubmitCheckout } from "../command/submitCheckout";
|
|
5
|
+
import { checkoutStarted } from "./checkoutStarted";
|
|
6
|
+
import { checkoutSubmitted } from "./checkoutSubmitted";
|
|
7
|
+
|
|
8
|
+
enum CheckoutStatus {
|
|
9
|
+
AVAILABLE = "AVAILABLE",
|
|
10
|
+
NOTIFIED = "NOTIFIED",
|
|
11
|
+
STARTED = "STARTED",
|
|
12
|
+
SUBMITTED = "SUBMITTED",
|
|
13
|
+
COMPLETED = "COMPLETED",
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
interface Checkout extends AggregateRoot {
|
|
17
|
+
readonly status: CheckoutStatus;
|
|
18
|
+
readonly customerId: string;
|
|
19
|
+
readonly boxId: string;
|
|
20
|
+
readonly checkoutBookingId: string;
|
|
21
|
+
readonly expiresOn: Date;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const startCheckoutHandler: CommandHandlerFunction<StartCheckout, Checkout> =
|
|
25
|
+
() =>
|
|
26
|
+
async ({ aggregateRoot, command }) => {
|
|
27
|
+
const { aggregateId } = command;
|
|
28
|
+
|
|
29
|
+
invariant(aggregateRoot.status !== CheckoutStatus.STARTED, "Checkout is already started");
|
|
30
|
+
invariant(aggregateRoot.status !== CheckoutStatus.SUBMITTED, "Checkout is already submitted");
|
|
31
|
+
invariant(aggregateRoot.status !== CheckoutStatus.COMPLETED, "Checkout is already completed");
|
|
32
|
+
|
|
33
|
+
return {
|
|
34
|
+
...aggregateRoot,
|
|
35
|
+
status: CheckoutStatus.STARTED,
|
|
36
|
+
domainEvents: [checkoutStarted({ aggregateId })],
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
const submitCheckoutHandler: CommandHandlerFunction<SubmitCheckout, Checkout> =
|
|
41
|
+
() =>
|
|
42
|
+
async ({ aggregateRoot, command }) => {
|
|
43
|
+
const { aggregateId } = command;
|
|
44
|
+
|
|
45
|
+
invariant(aggregateRoot.status !== CheckoutStatus.COMPLETED, "Checkout is already completed");
|
|
46
|
+
|
|
47
|
+
return {
|
|
48
|
+
...aggregateRoot,
|
|
49
|
+
status: CheckoutStatus.SUBMITTED,
|
|
50
|
+
domainEvents: [checkoutSubmitted({ aggregateId })],
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export type { Checkout };
|
|
55
|
+
export { CheckoutStatus, startCheckoutHandler, submitCheckoutHandler };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { checkoutStarted as sut, CHECKOUT_STARTED } from "./checkoutStarted";
|
|
2
|
+
|
|
3
|
+
describe("checkoutStarted", () => {
|
|
4
|
+
it("returns an CheckoutStarted domain event", () => {
|
|
5
|
+
const aggregateId = "44f9b453-e49a-4682-b28a-be26936f5eda";
|
|
6
|
+
|
|
7
|
+
const domainEvent = sut({ aggregateId });
|
|
8
|
+
|
|
9
|
+
expect(domainEvent.aggregateId).toBe(aggregateId);
|
|
10
|
+
expect(domainEvent.name).toBe(CHECKOUT_STARTED);
|
|
11
|
+
});
|
|
12
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { domainEvent, DomainEvent, MessageName } from "@lookiero/messaging";
|
|
2
|
+
|
|
3
|
+
const CHECKOUT_STARTED = "checkout_started";
|
|
4
|
+
|
|
5
|
+
interface CheckoutStartedPayload {
|
|
6
|
+
readonly aggregateId: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface CheckoutStarted extends DomainEvent<typeof CHECKOUT_STARTED>, CheckoutStartedPayload {}
|
|
10
|
+
|
|
11
|
+
interface CheckoutStartedFunction {
|
|
12
|
+
(payload: CheckoutStartedPayload): CheckoutStarted;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const checkoutStarted: CheckoutStartedFunction = ({ aggregateId }) =>
|
|
16
|
+
domainEvent({ aggregateId, name: CHECKOUT_STARTED });
|
|
17
|
+
|
|
18
|
+
const isCheckoutStarted = (event: DomainEvent<MessageName>): event is CheckoutStarted =>
|
|
19
|
+
event.name === CHECKOUT_STARTED;
|
|
20
|
+
|
|
21
|
+
export type { CheckoutStarted };
|
|
22
|
+
export { CHECKOUT_STARTED, checkoutStarted, isCheckoutStarted };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { checkoutSubmitted as sut, CHECKOUT_SUBMITTED } from "./checkoutSubmitted";
|
|
2
|
+
|
|
3
|
+
describe("checkoutSubmitted", () => {
|
|
4
|
+
it("returns an CheckoutSubmitted domain event", () => {
|
|
5
|
+
const aggregateId = "44f9b453-e49a-4682-b28a-be26936f5eda";
|
|
6
|
+
|
|
7
|
+
const domainEvent = sut({ aggregateId });
|
|
8
|
+
|
|
9
|
+
expect(domainEvent.aggregateId).toBe(aggregateId);
|
|
10
|
+
expect(domainEvent.name).toBe(CHECKOUT_SUBMITTED);
|
|
11
|
+
});
|
|
12
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { domainEvent, DomainEvent, MessageName } from "@lookiero/messaging";
|
|
2
|
+
|
|
3
|
+
const CHECKOUT_SUBMITTED = "checkout_submitted";
|
|
4
|
+
|
|
5
|
+
interface CheckoutSubmittedPayload {
|
|
6
|
+
readonly aggregateId: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface CheckoutSubmitted extends DomainEvent<typeof CHECKOUT_SUBMITTED>, CheckoutSubmittedPayload {}
|
|
10
|
+
|
|
11
|
+
interface CheckoutSubmittedFunction {
|
|
12
|
+
(payload: CheckoutSubmittedPayload): CheckoutSubmitted;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const checkoutSubmitted: CheckoutSubmittedFunction = ({ aggregateId }) =>
|
|
16
|
+
domainEvent({ aggregateId, name: CHECKOUT_SUBMITTED });
|
|
17
|
+
|
|
18
|
+
const isCheckoutSubmitted = (event: DomainEvent<MessageName>): event is CheckoutSubmitted =>
|
|
19
|
+
event.name === CHECKOUT_SUBMITTED;
|
|
20
|
+
|
|
21
|
+
export type { CheckoutSubmitted };
|
|
22
|
+
export { CHECKOUT_SUBMITTED, checkoutSubmitted, isCheckoutSubmitted };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RepositoryGetFunction,
|
|
3
|
+
RepositoryGetFunctionArgs,
|
|
4
|
+
RepositorySaveFunction,
|
|
5
|
+
RepositorySaveFunctionArgs,
|
|
6
|
+
} from "@lookiero/messaging";
|
|
7
|
+
import { Checkout } from "./checkout";
|
|
8
|
+
|
|
9
|
+
interface CheckoutsGetFunction<CheckoutsGetFunctionArgs extends RepositoryGetFunctionArgs>
|
|
10
|
+
extends RepositoryGetFunction<Checkout, CheckoutsGetFunctionArgs> {}
|
|
11
|
+
|
|
12
|
+
interface CheckoutsSaveFunction<CheckoutsSaveFunctionArgs extends RepositorySaveFunctionArgs>
|
|
13
|
+
extends RepositorySaveFunction<Checkout, CheckoutsSaveFunctionArgs> {}
|
|
14
|
+
|
|
15
|
+
export type { CheckoutsGetFunction, CheckoutsSaveFunction };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { blockCheckoutBooking as sut, BLOCK_CHECKOUT_BOOKING } from "./blockCheckoutBooking";
|
|
2
|
+
|
|
3
|
+
describe("blockCheckoutBooking", () => {
|
|
4
|
+
it("returns an BlockCheckoutBooking command", () => {
|
|
5
|
+
const aggregateId = "118f0698-a194-4edf-9f30-e936f985fde0";
|
|
6
|
+
|
|
7
|
+
const command = sut({ aggregateId });
|
|
8
|
+
|
|
9
|
+
expect(command.aggregateId).toBe(aggregateId);
|
|
10
|
+
expect(command.name).toBe(BLOCK_CHECKOUT_BOOKING);
|
|
11
|
+
});
|
|
12
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { command, Command } from "@lookiero/messaging";
|
|
2
|
+
|
|
3
|
+
const BLOCK_CHECKOUT_BOOKING = "block_checkout_booking";
|
|
4
|
+
|
|
5
|
+
interface BlockCheckoutBookingPayload {
|
|
6
|
+
readonly aggregateId: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface BlockCheckoutBooking extends Command<typeof BLOCK_CHECKOUT_BOOKING>, BlockCheckoutBookingPayload {}
|
|
10
|
+
|
|
11
|
+
interface BlockCheckoutBookingFunction {
|
|
12
|
+
(payload: BlockCheckoutBookingPayload): BlockCheckoutBooking;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const blockCheckoutBooking: BlockCheckoutBookingFunction = ({ aggregateId }) =>
|
|
16
|
+
command({ aggregateId, name: BLOCK_CHECKOUT_BOOKING });
|
|
17
|
+
|
|
18
|
+
export type { BlockCheckoutBooking };
|
|
19
|
+
export { BLOCK_CHECKOUT_BOOKING, blockCheckoutBooking };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
bookCheckoutBookingForCheckoutItem as sut,
|
|
3
|
+
BOOK_CHECKOUT_BOOKING_FOR_CHECKOUT_ITEM,
|
|
4
|
+
} from "./bookCheckoutBookingForCheckoutItem";
|
|
5
|
+
|
|
6
|
+
describe("bookCheckoutBookingForCheckoutItem", () => {
|
|
7
|
+
it("returns an bookCheckoutBookingForCheckoutItem command", () => {
|
|
8
|
+
const aggregateId = "118f0698-a194-4edf-9f30-e936f985fde0";
|
|
9
|
+
const checkoutItemId = "8ac1c68c-baee-454a-bb9b-71dd2dfa0dfa";
|
|
10
|
+
|
|
11
|
+
const command = sut({ aggregateId, checkoutItemId });
|
|
12
|
+
|
|
13
|
+
expect(command.aggregateId).toBe(aggregateId);
|
|
14
|
+
expect(command.checkoutItemId).toBe(checkoutItemId);
|
|
15
|
+
expect(command.name).toBe(BOOK_CHECKOUT_BOOKING_FOR_CHECKOUT_ITEM);
|
|
16
|
+
});
|
|
17
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { command, Command } from "@lookiero/messaging";
|
|
2
|
+
|
|
3
|
+
const BOOK_CHECKOUT_BOOKING_FOR_CHECKOUT_ITEM = "book_checkout_booking_for_checkout_item";
|
|
4
|
+
|
|
5
|
+
interface BookCheckoutBookingForCheckoutItemPayload {
|
|
6
|
+
readonly aggregateId: string;
|
|
7
|
+
readonly checkoutItemId: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
interface BookCheckoutBookingForCheckoutItem
|
|
11
|
+
extends Command<typeof BOOK_CHECKOUT_BOOKING_FOR_CHECKOUT_ITEM>,
|
|
12
|
+
BookCheckoutBookingForCheckoutItemPayload {}
|
|
13
|
+
|
|
14
|
+
interface BookCheckoutBookingForCheckoutItemFunction {
|
|
15
|
+
(payload: BookCheckoutBookingForCheckoutItemPayload): BookCheckoutBookingForCheckoutItem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const bookCheckoutBookingForCheckoutItem: BookCheckoutBookingForCheckoutItemFunction = ({
|
|
19
|
+
aggregateId,
|
|
20
|
+
...payload
|
|
21
|
+
}) => ({
|
|
22
|
+
...command({ aggregateId, name: BOOK_CHECKOUT_BOOKING_FOR_CHECKOUT_ITEM }),
|
|
23
|
+
...payload,
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
export type { BookCheckoutBookingForCheckoutItem };
|
|
27
|
+
export { BOOK_CHECKOUT_BOOKING_FOR_CHECKOUT_ITEM, bookCheckoutBookingForCheckoutItem };
|
package/src/domain/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.test.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NotificationLevel,
|
|
3
|
+
NotificationType,
|
|
4
|
+
} from "@lookiero/sty-psp-notifications/dist/src/domain/notification/model/notification";
|
|
5
|
+
import { I18nMessages } from "../../../infrastructure/ui/i18n/i18n";
|
|
6
|
+
import { checkoutBookingExpired } from "../model/checkoutBookingExpired";
|
|
7
|
+
import {
|
|
8
|
+
CHECKOUT_BOOKING_EXPIRED_NOTIFICATION_ID,
|
|
9
|
+
createToastNotificationWhenCheckoutBookingExpired as sut,
|
|
10
|
+
} from "./createToastNotificationWhenCheckoutBookingExpired";
|
|
11
|
+
|
|
12
|
+
const aggregateId = "b1cce669-a139-4689-83c8-733549e72b7b";
|
|
13
|
+
|
|
14
|
+
describe("createToastNotificationWhenCheckoutBookingExpired", () => {
|
|
15
|
+
const queryBus = jest.fn();
|
|
16
|
+
const commandBus = jest.fn();
|
|
17
|
+
|
|
18
|
+
test("create a toast notification when checkoutBookingExpired occurred", async () => {
|
|
19
|
+
const checkoutBookingExpiredEvent = checkoutBookingExpired({ aggregateId });
|
|
20
|
+
|
|
21
|
+
await sut({ queryBus, commandBus })(checkoutBookingExpiredEvent);
|
|
22
|
+
|
|
23
|
+
expect(commandBus).toHaveBeenCalledWith(
|
|
24
|
+
expect.objectContaining({
|
|
25
|
+
aggregateId: CHECKOUT_BOOKING_EXPIRED_NOTIFICATION_ID,
|
|
26
|
+
name: "create_toast_notification",
|
|
27
|
+
type: NotificationType.TOAST,
|
|
28
|
+
level: NotificationLevel.ERROR,
|
|
29
|
+
bodyI18nKey: I18nMessages.CHECKOUT_TOAST_BOOKING_EXPIRED,
|
|
30
|
+
}),
|
|
31
|
+
);
|
|
32
|
+
});
|
|
33
|
+
});
|