@lookiero/checkout 5.3.0 → 6.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1553) hide show
  1. package/.eslintrc.js +9 -0
  2. package/.lintstagedrc.js +4 -0
  3. package/.prettierrc.json +1 -0
  4. package/@types/declarations.d.ts +1 -0
  5. package/@types/event.d.ts +1 -0
  6. package/app.json +36 -0
  7. package/babel.config.js +7 -0
  8. package/dist/index.d.ts +9 -9
  9. package/dist/index.js +8 -9
  10. package/dist/pact.config.d.ts +13 -0
  11. package/dist/pact.config.js +9 -0
  12. package/dist/public/assets/adaptive-icon.png +0 -0
  13. package/dist/public/assets/favicon.png +0 -0
  14. package/dist/public/assets/icon.png +0 -0
  15. package/dist/public/assets/splash.png +0 -0
  16. package/dist/src/Expo.js +5 -0
  17. package/dist/src/ExpoRoot.d.ts +5 -0
  18. package/dist/src/ExpoRoot.js +148 -0
  19. package/dist/src/domain/checkout/event/createModalNotificationWhenCheckoutSubmitted.js +12 -0
  20. package/dist/src/domain/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.js +11 -0
  21. package/dist/src/domain/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.js +12 -0
  22. package/dist/src/infrastructure/delivery/baseBootstrap.js +97 -0
  23. package/dist/src/infrastructure/delivery/bootstrap.js +64 -0
  24. package/dist/src/infrastructure/domain/checkout/model/httpCheckouts.d.ts +16 -0
  25. package/dist/src/infrastructure/domain/checkout/react/useStartCheckout.d.ts +15 -0
  26. package/dist/src/infrastructure/domain/checkout/react/useStartCheckout.js +21 -0
  27. package/dist/src/infrastructure/domain/checkout/react/useSubmitCheckout.d.ts +15 -0
  28. package/dist/src/infrastructure/domain/checkout/react/useSubmitCheckout.js +26 -0
  29. package/dist/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.d.ts +16 -0
  30. package/dist/src/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.d.ts +15 -0
  31. package/dist/src/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.js +27 -0
  32. package/dist/src/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.d.ts +16 -0
  33. package/dist/src/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.js +28 -0
  34. package/dist/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacks.d.ts +16 -0
  35. package/dist/src/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.d.ts +19 -0
  36. package/dist/src/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.js +27 -0
  37. package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItems.d.ts +16 -0
  38. package/dist/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +15 -0
  39. package/dist/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.js +24 -0
  40. package/dist/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +18 -0
  41. package/dist/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.js +24 -0
  42. package/dist/src/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.d.ts +15 -0
  43. package/dist/src/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.js +24 -0
  44. package/dist/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +19 -0
  45. package/dist/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.js +28 -0
  46. package/dist/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.d.ts +18 -0
  47. package/dist/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.js +22 -0
  48. package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.d.ts +3 -0
  49. package/dist/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.js +27 -0
  50. package/dist/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.d.ts +12 -0
  51. package/dist/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.js +46 -0
  52. package/dist/src/infrastructure/projection/checkout/checkout.mock.d.ts +19 -0
  53. package/dist/src/infrastructure/projection/checkout/checkout.mock.js +21 -0
  54. package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.d.ts +12 -0
  55. package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.js +105 -0
  56. package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts +12 -0
  57. package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.js +47 -0
  58. package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts +12 -0
  59. package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.js +42 -0
  60. package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts +12 -0
  61. package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.js +42 -0
  62. package/dist/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.d.ts +12 -0
  63. package/dist/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.js +42 -0
  64. package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.d.ts +3 -0
  65. package/dist/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.js +6 -0
  66. package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.d.ts +12 -0
  67. package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.js +47 -0
  68. package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.d.ts +15 -0
  69. package/dist/src/infrastructure/projection/checkoutItem/checkoutItem.mock.js +43 -0
  70. package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +12 -0
  71. package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.js +48 -0
  72. package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.d.ts +3 -0
  73. package/dist/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.js +103 -0
  74. package/dist/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.d.ts +12 -0
  75. package/dist/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.js +46 -0
  76. package/dist/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.d.ts +12 -0
  77. package/dist/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.js +103 -0
  78. package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.d.ts +6 -0
  79. package/dist/src/infrastructure/projection/payment/paymentFlowPayload.mock.js +183 -0
  80. package/dist/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.d.ts +12 -0
  81. package/dist/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.js +46 -0
  82. package/dist/src/infrastructure/projection/pricing/pricing.mock.d.ts +9 -0
  83. package/dist/src/infrastructure/projection/pricing/pricing.mock.js +42 -0
  84. package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.d.ts +12 -0
  85. package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.js +46 -0
  86. package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.d.ts +3 -0
  87. package/dist/src/infrastructure/projection/returnQuestion/returnQuestions.mock.js +400 -0
  88. package/dist/src/infrastructure/tracking/tracking.d.ts +112 -0
  89. package/dist/src/infrastructure/tracking/tracking.js +31 -0
  90. package/dist/src/infrastructure/tracking/useTrackAssignedVariationByExperiment.d.ts +20 -0
  91. package/dist/src/infrastructure/tracking/useTrackAssignedVariationByExperiment.js +25 -0
  92. package/dist/src/infrastructure/tracking/useTrackChangeFeedback.d.ts +22 -0
  93. package/dist/src/infrastructure/tracking/useTrackChangeFeedback.js +26 -0
  94. package/dist/src/infrastructure/tracking/useTrackCheckout.d.ts +30 -0
  95. package/dist/src/infrastructure/tracking/useTrackCheckout.js +38 -0
  96. package/dist/src/infrastructure/tracking/useTrackImageView.d.ts +23 -0
  97. package/dist/src/infrastructure/tracking/useTrackImageView.js +25 -0
  98. package/dist/src/infrastructure/tracking/useTrackItemPageView.d.ts +20 -0
  99. package/dist/src/infrastructure/tracking/useTrackItemPageView.js +38 -0
  100. package/dist/src/infrastructure/tracking/useTrackKeepItem.d.ts +18 -0
  101. package/dist/src/infrastructure/tracking/useTrackKeepItem.js +24 -0
  102. package/dist/src/infrastructure/tracking/useTrackPageView.d.ts +14 -0
  103. package/dist/src/infrastructure/tracking/useTrackPageView.js +21 -0
  104. package/dist/src/infrastructure/tracking/useTrackPressBack.d.ts +17 -0
  105. package/dist/src/infrastructure/tracking/useTrackPressBack.js +22 -0
  106. package/dist/src/infrastructure/tracking/useTrackPressContinue.d.ts +17 -0
  107. package/dist/src/infrastructure/tracking/useTrackPressContinue.js +22 -0
  108. package/dist/src/infrastructure/tracking/useTrackPressItem.d.ts +20 -0
  109. package/dist/src/infrastructure/tracking/useTrackPressItem.js +23 -0
  110. package/dist/src/infrastructure/tracking/useTrackPressNext.d.ts +21 -0
  111. package/dist/src/infrastructure/tracking/useTrackPressNext.js +24 -0
  112. package/dist/src/infrastructure/tracking/useTrackPressPrevious.d.ts +21 -0
  113. package/dist/src/infrastructure/tracking/useTrackPressPrevious.js +24 -0
  114. package/dist/src/infrastructure/tracking/useTrackPressPricing.d.ts +20 -0
  115. package/dist/src/infrastructure/tracking/useTrackPressPricing.js +24 -0
  116. package/dist/src/infrastructure/tracking/useTrackReplaceItem.d.ts +22 -0
  117. package/dist/src/infrastructure/tracking/useTrackReplaceItem.js +25 -0
  118. package/dist/src/infrastructure/tracking/useTrackResetItem.d.ts +18 -0
  119. package/dist/src/infrastructure/tracking/useTrackResetItem.js +23 -0
  120. package/dist/src/infrastructure/tracking/useTrackReturnItem.d.ts +18 -0
  121. package/dist/src/infrastructure/tracking/useTrackReturnItem.js +23 -0
  122. package/dist/src/infrastructure/tracking/useTrackTabView.d.ts +17 -0
  123. package/dist/src/infrastructure/tracking/useTrackTabView.js +23 -0
  124. package/dist/src/infrastructure/ui/Root.d.ts +36 -0
  125. package/dist/src/infrastructure/ui/Root.js +23 -0
  126. package/dist/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +16 -0
  127. package/dist/src/infrastructure/ui/components/atoms/price/Price.js +31 -0
  128. package/dist/src/infrastructure/ui/components/atoms/price/Price.style.js +19 -0
  129. package/dist/src/infrastructure/ui/components/layouts/body/Body.js +6 -0
  130. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +12 -0
  131. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.js +12 -0
  132. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.js +12 -0
  133. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.js +12 -0
  134. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.js +15 -0
  135. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.js +28 -0
  136. package/dist/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.js +12 -0
  137. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +23 -0
  138. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.js +18 -0
  139. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.js +14 -0
  140. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.style.js +14 -0
  141. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +40 -0
  142. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +17 -0
  143. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +27 -0
  144. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.style.js +9 -0
  145. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.d.ts +11 -0
  146. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.js +16 -0
  147. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.d.ts +12 -0
  148. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.js +15 -0
  149. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +14 -0
  150. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +15 -0
  151. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.js +49 -0
  152. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.style.js +7 -0
  153. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +20 -0
  154. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.js +13 -0
  155. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +20 -0
  156. package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.js +11 -0
  157. package/dist/src/infrastructure/ui/components/templates/footer/Footer.js +13 -0
  158. package/dist/src/infrastructure/ui/components/templates/header/Header.style.js +18 -0
  159. package/dist/src/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.js +11 -0
  160. package/dist/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.js +16 -0
  161. package/dist/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.style.js +10 -0
  162. package/dist/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.js +10 -0
  163. package/dist/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.js +14 -0
  164. package/dist/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.js +35 -0
  165. package/dist/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.style.js +10 -0
  166. package/dist/src/infrastructure/ui/components/templates/header/logo/Logo.d.ts +3 -0
  167. package/dist/src/infrastructure/ui/components/templates/header/logo/Logo.js +5 -0
  168. package/dist/src/infrastructure/ui/hooks/useNewFeedbackExperiment.d.ts +11 -0
  169. package/dist/src/infrastructure/ui/hooks/useNewFeedbackExperiment.js +49 -0
  170. package/dist/src/infrastructure/ui/hooks/usePaymentInstrumentEvents.d.ts +9 -0
  171. package/dist/src/infrastructure/ui/hooks/usePaymentInstrumentEvents.js +29 -0
  172. package/dist/src/infrastructure/ui/hooks/useStaticInfo.d.ts +15 -0
  173. package/dist/src/infrastructure/ui/hooks/useStaticInfo.js +13 -0
  174. package/dist/src/infrastructure/ui/hooks/useSubmitCheckout.d.ts +27 -0
  175. package/dist/src/infrastructure/ui/hooks/useSubmitCheckout.js +63 -0
  176. package/dist/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.js +21 -0
  177. package/dist/src/infrastructure/ui/routing/CheckoutMiddleware.js +91 -0
  178. package/dist/src/infrastructure/ui/routing/Routing.d.ts +32 -0
  179. package/dist/src/infrastructure/ui/routing/Routing.js +93 -0
  180. package/dist/src/infrastructure/ui/test/createWrapper.d.ts +12 -0
  181. package/dist/src/infrastructure/ui/test/createWrapper.js +5 -0
  182. package/dist/src/infrastructure/ui/test/render.d.ts +15 -0
  183. package/dist/src/infrastructure/ui/test/render.js +16 -0
  184. package/dist/src/infrastructure/ui/views/App.js +15 -0
  185. package/dist/src/infrastructure/ui/views/checkout/Checkout.d.ts +9 -0
  186. package/dist/src/infrastructure/ui/views/checkout/Checkout.js +85 -0
  187. package/dist/src/infrastructure/ui/views/checkout/Checkout.style.js +63 -0
  188. package/dist/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.d.ts +12 -0
  189. package/dist/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.js +90 -0
  190. package/dist/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.d.ts +3 -0
  191. package/dist/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.js +9 -0
  192. package/dist/src/infrastructure/ui/views/checkout/components/paymentInstrument/PaymentInstrument.js +12 -0
  193. package/dist/src/infrastructure/ui/views/feedback/Feedback.d.ts +7 -0
  194. package/dist/src/infrastructure/ui/views/feedback/Feedback.js +85 -0
  195. package/dist/src/infrastructure/ui/views/feedback/Feedback.style.js +17 -0
  196. package/dist/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.js +39 -0
  197. package/dist/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.js +10 -0
  198. package/dist/src/infrastructure/ui/views/item/Item.d.ts +7 -0
  199. package/dist/src/infrastructure/ui/views/item/Item.js +179 -0
  200. package/dist/src/infrastructure/ui/views/item/Item.style.js +20 -0
  201. package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +24 -0
  202. package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +12 -0
  203. package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +22 -0
  204. package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +22 -0
  205. package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +25 -0
  206. package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.d.ts +16 -0
  207. package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.js +39 -0
  208. package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.style.d.ts +26 -0
  209. package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.style.js +29 -0
  210. package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +23 -0
  211. package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +20 -0
  212. package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +35 -0
  213. package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.js +32 -0
  214. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +29 -0
  215. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +12 -0
  216. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +40 -0
  217. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +12 -0
  218. package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +15 -0
  219. package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.js +18 -0
  220. package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.style.d.ts +18 -0
  221. package/dist/src/infrastructure/ui/views/item/components/selectModal/SelectModal.style.js +21 -0
  222. package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +18 -0
  223. package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +15 -0
  224. package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +18 -0
  225. package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.d.ts +18 -0
  226. package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.js +47 -0
  227. package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.d.ts +17 -0
  228. package/dist/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.js +20 -0
  229. package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.d.ts +18 -0
  230. package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.js +71 -0
  231. package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.d.ts +7 -0
  232. package/dist/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.js +10 -0
  233. package/dist/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.d.ts +19 -0
  234. package/dist/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.js +35 -0
  235. package/dist/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.style.js +18 -0
  236. package/dist/src/infrastructure/ui/views/return/Return.d.ts +7 -0
  237. package/dist/src/infrastructure/ui/views/return/Return.js +141 -0
  238. package/dist/src/infrastructure/ui/views/return/Return.style.js +47 -0
  239. package/dist/src/infrastructure/ui/views/return/components/price/Price.js +25 -0
  240. package/dist/src/infrastructure/ui/views/return/components/price/Price.style.js +19 -0
  241. package/dist/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.js +36 -0
  242. package/dist/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.style.js +34 -0
  243. package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.js +38 -0
  244. package/dist/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.style.js +43 -0
  245. package/dist/src/infrastructure/ui/views/summary/Summary.d.ts +8 -0
  246. package/dist/src/infrastructure/ui/views/summary/Summary.js +98 -0
  247. package/dist/src/infrastructure/ui/views/summary/Summary.style.js +70 -0
  248. package/dist/src/infrastructure/ui/views/summary/components/pricing/Pricing.js +52 -0
  249. package/dist/src/infrastructure/ui/views/summary/components/pricing/Pricing.style.js +31 -0
  250. package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +13 -0
  251. package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.js +9 -0
  252. package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.style.d.ts +7 -0
  253. package/dist/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.style.js +10 -0
  254. package/dist/src/infrastructure/ui/views/summaryTabs/SummaryTabs.d.ts +3 -0
  255. package/dist/src/infrastructure/ui/views/summaryTabs/SummaryTabs.js +58 -0
  256. package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.js +24 -0
  257. package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +18 -0
  258. package/dist/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +21 -0
  259. package/dist/src/projection/payment/paymentFlowPayload.js +1 -0
  260. package/dist/src/projection/pricing/pricing.js +1 -0
  261. package/dist/src/projection/shared/customer.d.ts +8 -0
  262. package/dist/src/projection/shared/customer.js +1 -0
  263. package/dist/src/projection/shared/order.js +1 -0
  264. package/dist/src/projection/shared/price.js +1 -0
  265. package/dist/src/projection/shared/subscription.js +1 -0
  266. package/dist/src/shared/ui/components/atoms/error/Error.js +4 -0
  267. package/dist/src/shared/ui/components/atoms/field/Field.js +26 -0
  268. package/dist/src/shared/ui/components/atoms/field/Field.style.js +19 -0
  269. package/dist/src/shared/ui/components/molecules/inputField/InputField.d.ts +24 -0
  270. package/dist/src/shared/ui/components/molecules/inputField/InputField.js +29 -0
  271. package/dist/src/shared/ui/components/molecules/inputField/InputField.style.js +37 -0
  272. package/dist/src/version.d.ts +1 -0
  273. package/dist/src/version.js +1 -0
  274. package/index.ts +73 -0
  275. package/jest.config.js +10 -0
  276. package/jest.setup.js +65 -0
  277. package/package.json +61 -112
  278. package/pact.config.ts +31 -0
  279. package/pact.publish.js +32 -0
  280. package/public/assets/adaptive-icon.png +0 -0
  281. package/public/assets/favicon.png +0 -0
  282. package/public/assets/icon.png +0 -0
  283. package/public/assets/splash.png +0 -0
  284. package/public/images/not-found.png +0 -0
  285. package/src/Expo.tsx +7 -0
  286. package/src/ExpoRoot.tsx +193 -0
  287. package/src/domain/checkout/command/startCheckout.test.ts +12 -0
  288. package/src/domain/checkout/command/startCheckout.ts +18 -0
  289. package/src/domain/checkout/command/submitCheckout.test.ts +12 -0
  290. package/src/domain/checkout/command/submitCheckout.ts +18 -0
  291. package/src/domain/checkout/event/createModalNotificationWhenCheckoutSubmitted.test.ts +31 -0
  292. package/src/domain/checkout/event/createModalNotificationWhenCheckoutSubmitted.ts +23 -0
  293. package/src/domain/checkout/model/checkout.test.ts +77 -0
  294. package/src/domain/checkout/model/checkout.ts +55 -0
  295. package/src/domain/checkout/model/checkoutStarted.test.ts +12 -0
  296. package/src/domain/checkout/model/checkoutStarted.ts +22 -0
  297. package/src/domain/checkout/model/checkoutSubmitted.test.ts +12 -0
  298. package/src/domain/checkout/model/checkoutSubmitted.ts +22 -0
  299. package/src/domain/checkout/model/checkouts.ts +15 -0
  300. package/src/domain/checkoutBooking/command/blockCheckoutBooking.test.ts +12 -0
  301. package/src/domain/checkoutBooking/command/blockCheckoutBooking.ts +19 -0
  302. package/src/domain/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.test.ts +17 -0
  303. package/src/domain/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.ts +27 -0
  304. package/src/domain/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.test.ts +33 -0
  305. package/src/domain/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.ts +23 -0
  306. package/src/domain/checkoutBooking/model/checkoutBooking.test.ts +71 -0
  307. package/src/domain/checkoutBooking/model/checkoutBooking.ts +46 -0
  308. package/src/domain/checkoutBooking/model/checkoutBookingBlocked.test.ts +12 -0
  309. package/src/domain/checkoutBooking/model/checkoutBookingBlocked.ts +19 -0
  310. package/src/domain/checkoutBooking/model/checkoutBookingBooked.test.ts +14 -0
  311. package/src/domain/checkoutBooking/model/checkoutBookingBooked.ts +25 -0
  312. package/src/domain/checkoutBooking/model/checkoutBookingExpired.test.ts +12 -0
  313. package/src/domain/checkoutBooking/model/checkoutBookingExpired.ts +22 -0
  314. package/src/domain/checkoutBooking/model/checkoutBookings.ts +15 -0
  315. package/src/domain/checkoutFeedback/command/giveCheckoutFeedback.test.ts +13 -0
  316. package/src/domain/checkoutFeedback/command/giveCheckoutFeedback.ts +23 -0
  317. package/src/domain/checkoutFeedback/model/checkoutFeedback.test.ts +30 -0
  318. package/src/domain/checkoutFeedback/model/checkoutFeedback.ts +25 -0
  319. package/src/domain/checkoutFeedback/model/checkoutFeedbackGiven.test.ts +14 -0
  320. package/src/domain/checkoutFeedback/model/checkoutFeedbackGiven.ts +25 -0
  321. package/src/domain/checkoutFeedback/model/checkoutFeedbacks.ts +15 -0
  322. package/src/domain/checkoutFeedback/model/feedbacks.ts +5 -0
  323. package/src/domain/checkoutItem/command/keepCheckoutItem.test.ts +12 -0
  324. package/src/domain/checkoutItem/command/keepCheckoutItem.ts +19 -0
  325. package/src/domain/checkoutItem/command/replaceCheckoutItem.test.ts +14 -0
  326. package/src/domain/checkoutItem/command/replaceCheckoutItem.ts +22 -0
  327. package/src/domain/checkoutItem/command/resetCheckoutItem.test.ts +12 -0
  328. package/src/domain/checkoutItem/command/resetCheckoutItem.ts +19 -0
  329. package/src/domain/checkoutItem/command/returnCheckoutItem.test.ts +13 -0
  330. package/src/domain/checkoutItem/command/returnCheckoutItem.ts +23 -0
  331. package/src/domain/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.test.ts +31 -0
  332. package/src/domain/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.ts +24 -0
  333. package/src/domain/checkoutItem/model/checkoutItem.test.ts +80 -0
  334. package/src/domain/checkoutItem/model/checkoutItem.ts +84 -0
  335. package/src/domain/checkoutItem/model/checkoutItemKept.test.ts +12 -0
  336. package/src/domain/checkoutItem/model/checkoutItemKept.ts +22 -0
  337. package/src/domain/checkoutItem/model/checkoutItemReplaced.test.ts +12 -0
  338. package/src/domain/checkoutItem/model/checkoutItemReplaced.ts +22 -0
  339. package/src/domain/checkoutItem/model/checkoutItemReset.test.ts +12 -0
  340. package/src/domain/checkoutItem/model/checkoutItemReset.ts +22 -0
  341. package/src/domain/checkoutItem/model/checkoutItemReturned.test.ts +12 -0
  342. package/src/domain/checkoutItem/model/checkoutItemReturned.ts +22 -0
  343. package/src/domain/checkoutItem/model/checkoutItems.ts +15 -0
  344. package/src/domain/checkoutItem/model/currency.ts +7 -0
  345. package/src/domain/checkoutItem/model/feedbacks.ts +5 -0
  346. package/src/domain/checkoutItem/model/price.ts +12 -0
  347. package/src/domain/uiSetting/command/updateUiSetting.test.ts +18 -0
  348. package/src/domain/uiSetting/command/updateUiSetting.ts +26 -0
  349. package/src/domain/uiSetting/model/uiSetting.test.ts +25 -0
  350. package/src/domain/uiSetting/model/uiSetting.ts +24 -0
  351. package/src/domain/uiSetting/model/uiSettingUpdated.test.ts +16 -0
  352. package/src/domain/uiSetting/model/uiSettingUpdated.ts +25 -0
  353. package/src/domain/uiSetting/model/uiSettings.ts +15 -0
  354. package/src/infrastructure/ab-testing/kameleoonEnvironment.ts +13 -0
  355. package/src/infrastructure/delivery/baseBootstrap.ts +336 -0
  356. package/src/infrastructure/delivery/bootstrap.mock.ts +113 -0
  357. package/src/infrastructure/delivery/bootstrap.ts +77 -0
  358. package/src/infrastructure/delivery/mock/checkoutBookingDataSource.ts +31 -0
  359. package/src/infrastructure/delivery/mock/checkoutDataSource.ts +45 -0
  360. package/src/infrastructure/delivery/mock/checkoutFeedbackDataSource.ts +31 -0
  361. package/src/infrastructure/delivery/mock/dataSourceCheckoutBookings.ts +60 -0
  362. package/src/infrastructure/delivery/mock/dataSourceCheckoutFeedbacks.ts +31 -0
  363. package/src/infrastructure/delivery/mock/dataSourceCheckoutItems.ts +61 -0
  364. package/src/infrastructure/delivery/mock/dataSourceCheckouts.ts +56 -0
  365. package/src/infrastructure/domain/checkout/model/httpCheckouts.test.ts +65 -0
  366. package/src/infrastructure/domain/checkout/model/httpCheckouts.ts +58 -0
  367. package/src/infrastructure/domain/checkout/model/httpCheckoutsStart.test.ts +44 -0
  368. package/src/infrastructure/domain/checkout/model/httpCheckoutsStart.ts +25 -0
  369. package/src/infrastructure/domain/checkout/model/httpCheckoutsSubmit.test.ts +44 -0
  370. package/src/infrastructure/domain/checkout/model/httpCheckoutsSubmit.ts +25 -0
  371. package/src/infrastructure/domain/checkout/react/useStartCheckout.test.ts +92 -0
  372. package/src/infrastructure/domain/checkout/react/useStartCheckout.ts +41 -0
  373. package/src/infrastructure/domain/checkout/react/useSubmitCheckout.test.ts +85 -0
  374. package/src/infrastructure/domain/checkout/react/useSubmitCheckout.ts +46 -0
  375. package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.test.ts +45 -0
  376. package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.ts +61 -0
  377. package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBlock.test.ts +41 -0
  378. package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBlock.ts +30 -0
  379. package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBook.test.ts +45 -0
  380. package/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBook.ts +33 -0
  381. package/src/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.test.ts +83 -0
  382. package/src/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.ts +49 -0
  383. package/src/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.test.ts +71 -0
  384. package/src/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.ts +54 -0
  385. package/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacks.test.ts +34 -0
  386. package/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacks.ts +30 -0
  387. package/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.test.ts +42 -0
  388. package/src/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.ts +28 -0
  389. package/src/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.test.ts +81 -0
  390. package/src/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.ts +56 -0
  391. package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItems.test.ts +75 -0
  392. package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItems.ts +68 -0
  393. package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsKeep.test.ts +45 -0
  394. package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsKeep.ts +25 -0
  395. package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReplace.test.ts +45 -0
  396. package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReplace.ts +28 -0
  397. package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReset.test.ts +45 -0
  398. package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReset.ts +25 -0
  399. package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReturn.test.ts +45 -0
  400. package/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReturn.ts +28 -0
  401. package/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.test.ts +83 -0
  402. package/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.ts +43 -0
  403. package/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.test.ts +83 -0
  404. package/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.ts +50 -0
  405. package/src/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.test.ts +83 -0
  406. package/src/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.ts +43 -0
  407. package/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.test.ts +83 -0
  408. package/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.ts +55 -0
  409. package/src/infrastructure/domain/uiSetting/model/storageUiSettings.test.ts +50 -0
  410. package/src/infrastructure/domain/uiSetting/model/storageUiSettings.ts +49 -0
  411. package/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.test.ts +62 -0
  412. package/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.ts +50 -0
  413. package/src/infrastructure/persistence/asyncStorageStorage.ts +13 -0
  414. package/src/infrastructure/persistence/storage.ts +9 -0
  415. package/src/infrastructure/persistence/uiSettingData.ts +7 -0
  416. package/src/infrastructure/projection/bookedProductsVariants/bookedProductsVariants.mock.ts +30 -0
  417. package/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.ts +60 -0
  418. package/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.test.ts +55 -0
  419. package/src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.ts +34 -0
  420. package/src/infrastructure/projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem.test.ts +32 -0
  421. package/src/infrastructure/projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem.ts +32 -0
  422. package/src/infrastructure/projection/checkout/checkout.mock.ts +42 -0
  423. package/src/infrastructure/projection/checkout/checkout.ts +25 -0
  424. package/src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.ts +124 -0
  425. package/src/infrastructure/projection/checkout/httpCheckoutByIdView.test.ts +56 -0
  426. package/src/infrastructure/projection/checkout/httpCheckoutByIdView.ts +32 -0
  427. package/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.ts +61 -0
  428. package/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.test.ts +56 -0
  429. package/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.ts +35 -0
  430. package/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.ts +55 -0
  431. package/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.test.ts +39 -0
  432. package/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.ts +29 -0
  433. package/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.ts +55 -0
  434. package/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.test.ts +38 -0
  435. package/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.ts +29 -0
  436. package/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.ts +55 -0
  437. package/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.test.ts +38 -0
  438. package/src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.ts +29 -0
  439. package/src/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.test.ts +29 -0
  440. package/src/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.ts +49 -0
  441. package/src/infrastructure/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.test.ts +28 -0
  442. package/src/infrastructure/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.ts +25 -0
  443. package/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.test.ts +45 -0
  444. package/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.ts +33 -0
  445. package/src/infrastructure/projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId.test.ts +41 -0
  446. package/src/infrastructure/projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId.ts +30 -0
  447. package/src/infrastructure/projection/checkoutBooking/checkoutBooking.mock.ts +9 -0
  448. package/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.ts +61 -0
  449. package/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.test.ts +56 -0
  450. package/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.ts +34 -0
  451. package/src/infrastructure/projection/checkoutFeedback/checkoutFeedback.mock.ts +8 -0
  452. package/src/infrastructure/projection/checkoutItem/checkoutItem.mock.ts +68 -0
  453. package/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.ts +62 -0
  454. package/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.test.ts +56 -0
  455. package/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.ts +34 -0
  456. package/src/infrastructure/projection/checkoutQuestion/checkoutQuestions.mock.ts +108 -0
  457. package/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.ts +60 -0
  458. package/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.test.ts +55 -0
  459. package/src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.ts +34 -0
  460. package/src/infrastructure/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.test.ts +38 -0
  461. package/src/infrastructure/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.ts +21 -0
  462. package/src/infrastructure/projection/feedback/feedback.mock.ts +9 -0
  463. package/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.ts +130 -0
  464. package/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.test.ts +55 -0
  465. package/src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.ts +34 -0
  466. package/src/infrastructure/projection/payment/paymentFlowPayload.mock.ts +194 -0
  467. package/src/infrastructure/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.test.ts +29 -0
  468. package/src/infrastructure/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.ts +33 -0
  469. package/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.ts +60 -0
  470. package/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.test.ts +55 -0
  471. package/src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.ts +35 -0
  472. package/src/infrastructure/projection/pricing/pricing.mock.ts +53 -0
  473. package/src/infrastructure/projection/pricing/pricing.ts +32 -0
  474. package/src/infrastructure/projection/pricing/react/useViewPricingByCheckoutId.test.ts +32 -0
  475. package/src/infrastructure/projection/pricing/react/useViewPricingByCheckoutId.ts +50 -0
  476. package/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.ts +60 -0
  477. package/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.test.ts +55 -0
  478. package/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.ts +34 -0
  479. package/src/infrastructure/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.test.ts +34 -0
  480. package/src/infrastructure/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.ts +21 -0
  481. package/src/infrastructure/projection/returnQuestion/returnQuestions.mock.ts +402 -0
  482. package/src/infrastructure/projection/uiSetting/react/useViewUiSettingByKey.test.ts +33 -0
  483. package/src/infrastructure/projection/uiSetting/react/useViewUiSettingByKey.ts +22 -0
  484. package/src/infrastructure/projection/uiSetting/storageUiSettingByKeyView.test.ts +36 -0
  485. package/src/infrastructure/projection/uiSetting/storageUiSettingByKeyView.ts +37 -0
  486. package/src/infrastructure/tracking/tracking.ts +160 -0
  487. package/src/infrastructure/tracking/useTrackAssignedVariationByExperiment.test.ts +50 -0
  488. package/src/infrastructure/tracking/useTrackAssignedVariationByExperiment.ts +61 -0
  489. package/src/infrastructure/tracking/useTrackChangeFeedback.test.tsx +48 -0
  490. package/src/infrastructure/tracking/useTrackChangeFeedback.ts +56 -0
  491. package/src/infrastructure/tracking/useTrackCheckout.test.tsx +67 -0
  492. package/src/infrastructure/tracking/useTrackCheckout.ts +86 -0
  493. package/src/infrastructure/tracking/useTrackImageView.test.tsx +47 -0
  494. package/src/infrastructure/tracking/useTrackImageView.ts +63 -0
  495. package/src/infrastructure/tracking/useTrackItemPageView.test.tsx +50 -0
  496. package/src/infrastructure/tracking/useTrackItemPageView.ts +72 -0
  497. package/src/infrastructure/tracking/useTrackKeepItem.test.tsx +43 -0
  498. package/src/infrastructure/tracking/useTrackKeepItem.ts +47 -0
  499. package/src/infrastructure/tracking/useTrackPageView.test.tsx +40 -0
  500. package/src/infrastructure/tracking/useTrackPageView.ts +39 -0
  501. package/src/infrastructure/tracking/useTrackPressBack.test.tsx +41 -0
  502. package/src/infrastructure/tracking/useTrackPressBack.ts +45 -0
  503. package/src/infrastructure/tracking/useTrackPressContinue.test.tsx +40 -0
  504. package/src/infrastructure/tracking/useTrackPressContinue.ts +50 -0
  505. package/src/infrastructure/tracking/useTrackPressItem.test.tsx +41 -0
  506. package/src/infrastructure/tracking/useTrackPressItem.ts +51 -0
  507. package/src/infrastructure/tracking/useTrackPressNext.test.tsx +45 -0
  508. package/src/infrastructure/tracking/useTrackPressNext.ts +54 -0
  509. package/src/infrastructure/tracking/useTrackPressPrevious.test.tsx +45 -0
  510. package/src/infrastructure/tracking/useTrackPressPrevious.ts +60 -0
  511. package/src/infrastructure/tracking/useTrackPressPricing.test.tsx +41 -0
  512. package/src/infrastructure/tracking/useTrackPressPricing.ts +52 -0
  513. package/src/infrastructure/tracking/useTrackReplaceItem.test.tsx +45 -0
  514. package/src/infrastructure/tracking/useTrackReplaceItem.ts +62 -0
  515. package/src/infrastructure/tracking/useTrackResetItem.test.tsx +42 -0
  516. package/src/infrastructure/tracking/useTrackResetItem.ts +46 -0
  517. package/src/infrastructure/tracking/useTrackReturnItem.test.tsx +42 -0
  518. package/src/infrastructure/tracking/useTrackReturnItem.ts +46 -0
  519. package/src/infrastructure/tracking/useTrackTabView.test.tsx +42 -0
  520. package/src/infrastructure/tracking/useTrackTabView.ts +53 -0
  521. package/src/infrastructure/ui/Root.tsx +92 -0
  522. package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.ts +11 -0
  523. package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.test.tsx +20 -0
  524. package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.tsx +34 -0
  525. package/src/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/__snapshots__/FiveItemsDiscountBanner.test.tsx.snap +115 -0
  526. package/src/infrastructure/ui/components/atoms/price/Price.style.ts +22 -0
  527. package/src/infrastructure/ui/components/atoms/price/Price.test.tsx +49 -0
  528. package/src/infrastructure/ui/components/atoms/price/Price.tsx +70 -0
  529. package/src/infrastructure/ui/components/atoms/price/__snapshots__/Price.test.tsx.snap +159 -0
  530. package/src/infrastructure/ui/components/layouts/body/Body.style.ts +10 -0
  531. package/src/infrastructure/ui/components/layouts/body/Body.test.tsx +36 -0
  532. package/src/infrastructure/ui/components/layouts/body/Body.tsx +19 -0
  533. package/src/infrastructure/ui/components/layouts/body/__snapshots__/Body.test.tsx.snap +143 -0
  534. package/src/infrastructure/ui/components/layouts/layout/Layout.ts +25 -0
  535. package/src/infrastructure/ui/components/layouts/layout/components/footer/Footer.test.tsx +40 -0
  536. package/src/infrastructure/ui/components/layouts/layout/components/footer/Footer.tsx +9 -0
  537. package/src/infrastructure/ui/components/layouts/layout/components/footer/__snapshots__/Footer.test.tsx.snap +36 -0
  538. package/src/infrastructure/ui/components/layouts/layout/components/header/Header.style.ts +21 -0
  539. package/src/infrastructure/ui/components/layouts/layout/components/header/Header.test.tsx +26 -0
  540. package/src/infrastructure/ui/components/layouts/layout/components/header/Header.tsx +10 -0
  541. package/src/infrastructure/ui/components/layouts/layout/components/header/__snapshots__/Header.test.tsx.snap +45 -0
  542. package/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.style.ts +15 -0
  543. package/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.test.tsx +66 -0
  544. package/src/infrastructure/ui/components/layouts/layout/dummyLayout/DummyLayout.tsx +45 -0
  545. package/src/infrastructure/ui/components/layouts/layout/dummyLayout/__snapshots__/DummyLayout.test.tsx.snap +1349 -0
  546. package/src/infrastructure/ui/components/organisms/checkoutQuestions/CheckoutQuestion.test.tsx +85 -0
  547. package/src/infrastructure/ui/components/organisms/checkoutQuestions/CheckoutQuestion.tsx +33 -0
  548. package/src/infrastructure/ui/components/organisms/checkoutQuestions/CheckoutQuestions.test.tsx +70 -0
  549. package/src/infrastructure/ui/components/organisms/checkoutQuestions/CheckoutQuestions.tsx +17 -0
  550. package/src/infrastructure/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.test.ts +65 -0
  551. package/src/infrastructure/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.tsx +113 -0
  552. package/src/infrastructure/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.test.tsx +82 -0
  553. package/src/infrastructure/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.tsx +45 -0
  554. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.ts +14 -0
  555. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.ts +10 -0
  556. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.test.tsx +42 -0
  557. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.tsx +34 -0
  558. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.ts +15 -0
  559. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.tsx +24 -0
  560. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultReturnQuestionItem.test.tsx +33 -0
  561. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.ts +18 -0
  562. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.test.tsx +59 -0
  563. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.tsx +24 -0
  564. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.style.ts +9 -0
  565. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.test.tsx +50 -0
  566. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.tsx +55 -0
  567. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Happy.tsx +13 -0
  568. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Normal.tsx +13 -0
  569. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Sad.tsx +13 -0
  570. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.test.tsx +50 -0
  571. package/src/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.tsx +36 -0
  572. package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.test.tsx +82 -0
  573. package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.tsx +35 -0
  574. package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.test.tsx +63 -0
  575. package/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.tsx +23 -0
  576. package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/isChildReturnQuestion.ts +32 -0
  577. package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.test.ts +61 -0
  578. package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.tsx +147 -0
  579. package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.test.tsx +78 -0
  580. package/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.tsx +42 -0
  581. package/src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.ts +14 -0
  582. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.test.tsx +50 -0
  583. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.tsx +8 -0
  584. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.ts +21 -0
  585. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.test.tsx +61 -0
  586. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.tsx +41 -0
  587. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.style.ts +17 -0
  588. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.tsx +31 -0
  589. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.ts +20 -0
  590. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.test.tsx +112 -0
  591. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.tsx +98 -0
  592. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.tsx +21 -0
  593. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.style.ts +12 -0
  594. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.test.tsx +110 -0
  595. package/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.tsx +73 -0
  596. package/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.ts +18 -0
  597. package/src/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.tsx +48 -0
  598. package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.ts +18 -0
  599. package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.test.tsx +60 -0
  600. package/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.tsx +37 -0
  601. package/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.style.ts +10 -0
  602. package/src/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.tsx +97 -0
  603. package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.ts +16 -0
  604. package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.test.tsx +88 -0
  605. package/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.tsx +38 -0
  606. package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.ts +14 -0
  607. package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.test.tsx +64 -0
  608. package/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.tsx +50 -0
  609. package/src/infrastructure/ui/components/organisms/returnQuestions/util/__snapshots__/returnQuestionFeedback.test.ts.snap +46 -0
  610. package/src/infrastructure/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.test.ts +33 -0
  611. package/src/infrastructure/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.ts +120 -0
  612. package/src/infrastructure/ui/components/templates/footer/Footer.test.tsx +15 -0
  613. package/src/infrastructure/ui/components/templates/footer/Footer.tsx +19 -0
  614. package/src/infrastructure/ui/components/templates/footer/__snapshots__/Footer.test.tsx.snap +1127 -0
  615. package/src/infrastructure/ui/components/templates/header/Header.style.ts +22 -0
  616. package/src/infrastructure/ui/components/templates/header/Header.test.tsx +26 -0
  617. package/src/infrastructure/ui/components/templates/header/Header.tsx +17 -0
  618. package/src/infrastructure/ui/components/templates/header/__snapshots__/Header.test.tsx.snap +55 -0
  619. package/src/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.ts +14 -0
  620. package/src/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.tsx +7 -0
  621. package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.style.ts +13 -0
  622. package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.test.tsx +23 -0
  623. package/src/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.tsx +28 -0
  624. package/src/infrastructure/ui/components/templates/header/checkoutHeader/__snapshots__/CheckoutHeader.test.tsx.snap +213 -0
  625. package/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.test.tsx +23 -0
  626. package/src/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.tsx +18 -0
  627. package/src/infrastructure/ui/components/templates/header/defaultHeader/__snapshots__/DefaultHeader.test.tsx.snap +195 -0
  628. package/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.test.tsx +23 -0
  629. package/src/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.tsx +25 -0
  630. package/src/infrastructure/ui/components/templates/header/itemDetailHeader/__snapshots__/ItemDetailHeader.test.tsx.snap +201 -0
  631. package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.style.ts +13 -0
  632. package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.test.tsx +51 -0
  633. package/src/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.tsx +89 -0
  634. package/src/infrastructure/ui/components/templates/header/itemHeader/__snapshots__/ItemHeader.test.tsx.snap +314 -0
  635. package/src/infrastructure/ui/components/templates/header/logo/Logo.Base64.ts +4 -0
  636. package/src/infrastructure/ui/components/templates/header/logo/Logo.tsx +7 -0
  637. package/src/infrastructure/ui/hooks/useMediaImage.ts +23 -0
  638. package/src/infrastructure/ui/hooks/useNewFeedbackExperiment.test.tsx +84 -0
  639. package/src/infrastructure/ui/hooks/useNewFeedbackExperiment.tsx +82 -0
  640. package/src/infrastructure/ui/hooks/usePaymentInstrumentEvents.ts +75 -0
  641. package/src/infrastructure/ui/hooks/useStaticInfo.test.tsx +31 -0
  642. package/src/infrastructure/ui/hooks/useStaticInfo.tsx +36 -0
  643. package/src/infrastructure/ui/hooks/useSubmitCheckout.test.ts +239 -0
  644. package/src/infrastructure/ui/hooks/useSubmitCheckout.ts +119 -0
  645. package/src/infrastructure/ui/i18n/fetchTranslations.test.ts +29 -0
  646. package/src/infrastructure/ui/i18n/fetchTranslations.ts +27 -0
  647. package/src/infrastructure/ui/i18n/i18n.ts +61 -0
  648. package/src/infrastructure/ui/i18n/translationEndpoint.test.ts +13 -0
  649. package/src/infrastructure/ui/i18n/translationEndpoint.ts +50 -0
  650. package/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.test.tsx +74 -0
  651. package/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.tsx +39 -0
  652. package/src/infrastructure/ui/routing/CheckoutMiddleware.test.tsx +285 -0
  653. package/src/infrastructure/ui/routing/CheckoutMiddleware.tsx +134 -0
  654. package/src/infrastructure/ui/routing/Routing.tsx +178 -0
  655. package/src/infrastructure/ui/routing/router/Router.native.ts +1 -0
  656. package/src/infrastructure/ui/routing/router/Router.ts +1 -0
  657. package/src/infrastructure/ui/routing/routes.ts +11 -0
  658. package/src/infrastructure/ui/routing/useBasePath.test.tsx +19 -0
  659. package/src/infrastructure/ui/routing/useBasePath.tsx +24 -0
  660. package/src/infrastructure/ui/settings/UISettings.ts +3 -0
  661. package/src/infrastructure/ui/test/createWrapper.tsx +17 -0
  662. package/src/infrastructure/ui/test/render.tsx +46 -0
  663. package/src/infrastructure/ui/views/App.tsx +32 -0
  664. package/src/infrastructure/ui/views/checkout/Checkout.style.ts +66 -0
  665. package/src/infrastructure/ui/views/checkout/Checkout.test.tsx +144 -0
  666. package/src/infrastructure/ui/views/checkout/Checkout.tsx +162 -0
  667. package/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.test.tsx +131 -0
  668. package/src/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.tsx +125 -0
  669. package/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.test.tsx +17 -0
  670. package/src/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.tsx +19 -0
  671. package/src/infrastructure/ui/views/checkout/components/deliveryBanner/__snapshots__/DeliveryBanner.test.tsx.snap +93 -0
  672. package/src/infrastructure/ui/views/checkout/components/paymentInstrument/PaymentInstrument.tsx +27 -0
  673. package/src/infrastructure/ui/views/feedback/Feedback.style.ts +20 -0
  674. package/src/infrastructure/ui/views/feedback/Feedback.test.tsx +122 -0
  675. package/src/infrastructure/ui/views/feedback/Feedback.tsx +130 -0
  676. package/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.ts +13 -0
  677. package/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.test.tsx +50 -0
  678. package/src/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.tsx +73 -0
  679. package/src/infrastructure/ui/views/item/Item.style.ts +23 -0
  680. package/src/infrastructure/ui/views/item/Item.test.tsx +311 -0
  681. package/src/infrastructure/ui/views/item/Item.tsx +294 -0
  682. package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.ts +15 -0
  683. package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.test.tsx +37 -0
  684. package/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.tsx +42 -0
  685. package/src/infrastructure/ui/views/item/components/banner/__snapshots__/CustomerDecissionBanner.test.tsx.snap +508 -0
  686. package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.ts +28 -0
  687. package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.test.tsx +50 -0
  688. package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.tsx +44 -0
  689. package/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/__snapshots__/GetOutOfCheckoutModal.test.tsx.snap +461 -0
  690. package/src/infrastructure/ui/views/item/components/itemActions/ItemActions.style.ts +32 -0
  691. package/src/infrastructure/ui/views/item/components/itemActions/ItemActions.test.tsx +129 -0
  692. package/src/infrastructure/ui/views/item/components/itemActions/ItemActions.tsx +109 -0
  693. package/src/infrastructure/ui/views/item/components/itemActions/__snapshots__/ItemActions.test.tsx.snap +492 -0
  694. package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.ts +23 -0
  695. package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.test.tsx +66 -0
  696. package/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.tsx +52 -0
  697. package/src/infrastructure/ui/views/item/components/productVariantDescription/__snapshots__/ProductVariantDescription.test.tsx.snap +315 -0
  698. package/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.ts +36 -0
  699. package/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.test.tsx +59 -0
  700. package/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.tsx +83 -0
  701. package/src/infrastructure/ui/views/item/components/productVariantSlider/__snapshots__/ProductVariantSlider.test.tsx.snap +340 -0
  702. package/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.ts +15 -0
  703. package/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.tsx +49 -0
  704. package/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.ts +18 -0
  705. package/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.tsx +79 -0
  706. package/src/infrastructure/ui/views/item/components/selectModal/SelecModal.test.tsx +44 -0
  707. package/src/infrastructure/ui/views/item/components/selectModal/SelectModal.style.ts +24 -0
  708. package/src/infrastructure/ui/views/item/components/selectModal/SelectModal.tsx +83 -0
  709. package/src/infrastructure/ui/views/item/components/selectModal/__snapshots__/SelecModal.test.tsx.snap +297 -0
  710. package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.ts +20 -0
  711. package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.test.tsx +47 -0
  712. package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.tsx +33 -0
  713. package/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/__snapshots__/SizeWithoutStockModal.test.tsx.snap +402 -0
  714. package/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.ts +23 -0
  715. package/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.test.tsx +137 -0
  716. package/src/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.tsx +100 -0
  717. package/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.ts +13 -0
  718. package/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.test.tsx +211 -0
  719. package/src/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.tsx +135 -0
  720. package/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.style.ts +21 -0
  721. package/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.test.tsx +122 -0
  722. package/src/infrastructure/ui/views/item/views/productVariant/ProductVariant.tsx +92 -0
  723. package/src/infrastructure/ui/views/item/views/productVariant/__snapshots__/ProductVariant.test.tsx.snap +1462 -0
  724. package/src/infrastructure/ui/views/return/Return.style.ts +50 -0
  725. package/src/infrastructure/ui/views/return/Return.tsx +234 -0
  726. package/src/infrastructure/ui/views/return/components/price/Price.style.ts +22 -0
  727. package/src/infrastructure/ui/views/return/components/price/Price.test.tsx +49 -0
  728. package/src/infrastructure/ui/views/return/components/price/Price.tsx +48 -0
  729. package/src/infrastructure/ui/views/return/components/price/__snapshots__/Price.test.tsx.snap +168 -0
  730. package/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.style.ts +38 -0
  731. package/src/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.tsx +67 -0
  732. package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.style.ts +57 -0
  733. package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.test.tsx +98 -0
  734. package/src/infrastructure/ui/views/shared/components/productVariant/ProductVariant.tsx +102 -0
  735. package/src/infrastructure/ui/views/shared/components/productVariant/__snapshots__/ProductVariant.test.tsx.snap +487 -0
  736. package/src/infrastructure/ui/views/summary/Summary.style.ts +84 -0
  737. package/src/infrastructure/ui/views/summary/Summary.test.tsx +107 -0
  738. package/src/infrastructure/ui/views/summary/Summary.tsx +174 -0
  739. package/src/infrastructure/ui/views/summary/components/pricing/Pricing.style.ts +34 -0
  740. package/src/infrastructure/ui/views/summary/components/pricing/Pricing.test.tsx +118 -0
  741. package/src/infrastructure/ui/views/summary/components/pricing/Pricing.tsx +141 -0
  742. package/src/infrastructure/ui/views/summary/components/pricing/__snapshots__/Pricing.test.tsx.snap +601 -0
  743. package/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.style.ts +13 -0
  744. package/src/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.tsx +43 -0
  745. package/src/infrastructure/ui/views/summaryTabs/SummaryTabs.test.tsx +94 -0
  746. package/src/infrastructure/ui/views/summaryTabs/SummaryTabs.tsx +104 -0
  747. package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.ts +24 -0
  748. package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.test.tsx +94 -0
  749. package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.tsx +133 -0
  750. package/src/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/__snapshots__/CheckoutItemsTabs.test.tsx.snap +1261 -0
  751. package/src/projection/bookedProductsVariants/bookedProductsVariants.ts +12 -0
  752. package/src/projection/bookedProductsVariants/viewBookedProductVariantsForCheckoutItem.ts +61 -0
  753. package/src/projection/bookedProductsVariants/viewBookedProductsVariantsForCheckoutItem.test.ts +26 -0
  754. package/src/projection/checkout/checkout.ts +14 -0
  755. package/src/projection/checkout/viewCheckoutById.test.ts +20 -0
  756. package/src/projection/checkout/viewCheckoutById.ts +51 -0
  757. package/src/projection/checkout/viewFirstAvailableCheckoutByCustomerId.test.ts +23 -0
  758. package/src/projection/checkout/viewFirstAvailableCheckoutByCustomerId.ts +57 -0
  759. package/src/projection/checkout/viewFiveItemsDiscountByCustomerId.test.ts +22 -0
  760. package/src/projection/checkout/viewFiveItemsDiscountByCustomerId.ts +56 -0
  761. package/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.test.ts +54 -0
  762. package/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.ts +46 -0
  763. package/src/projection/checkout/viewIsCheckoutEnabledByCustomerId.test.ts +21 -0
  764. package/src/projection/checkout/viewIsCheckoutEnabledByCustomerId.ts +56 -0
  765. package/src/projection/checkout/viewIsSizeChangeEnabledByCheckoutId.test.ts +21 -0
  766. package/src/projection/checkout/viewIsSizeChangeEnabledByCheckoutId.ts +56 -0
  767. package/src/projection/checkoutBooking/checkoutBooking.ts +7 -0
  768. package/src/projection/checkoutBooking/viewCheckoutBookingById.test.ts +23 -0
  769. package/src/projection/checkoutBooking/viewCheckoutBookingById.ts +51 -0
  770. package/src/projection/checkoutFeedback/checkoutFeedback.ts +5 -0
  771. package/src/projection/checkoutItem/checkoutItem.ts +52 -0
  772. package/src/projection/checkoutItem/viewCheckoutItemById.test.ts +25 -0
  773. package/src/projection/checkoutItem/viewCheckoutItemById.ts +51 -0
  774. package/src/projection/checkoutQuestion/checkoutQuestion.ts +20 -0
  775. package/src/projection/checkoutQuestion/listCheckoutQuestionsByCheckoutId.test.ts +31 -0
  776. package/src/projection/checkoutQuestion/listCheckoutQuestionsByCheckoutId.ts +61 -0
  777. package/src/projection/feedback/feedback.ts +5 -0
  778. package/src/projection/payment/paymentFlowPayload.ts +42 -0
  779. package/src/projection/payment/viewPaymentFlowPayloadByCheckoutId.test.ts +23 -0
  780. package/src/projection/payment/viewPaymentFlowPayloadByCheckoutId.ts +61 -0
  781. package/src/projection/pricing/pricing.ts +22 -0
  782. package/src/projection/pricing/viewPricingByCheckoutId.test.ts +24 -0
  783. package/src/projection/pricing/viewPricingByCheckoutId.ts +51 -0
  784. package/src/projection/returnQuestion/listReturnQuestionsByCheckoutItemId.test.ts +30 -0
  785. package/src/projection/returnQuestion/listReturnQuestionsByCheckoutItemId.ts +61 -0
  786. package/src/projection/returnQuestion/returnQuestion.ts +20 -0
  787. package/src/projection/shared/country.ts +15 -0
  788. package/src/projection/shared/customer.ts +10 -0
  789. package/src/projection/shared/locale.ts +13 -0
  790. package/src/projection/shared/order.ts +7 -0
  791. package/src/projection/shared/price.ts +12 -0
  792. package/src/projection/shared/size.test.ts +24 -0
  793. package/src/projection/shared/size.ts +25 -0
  794. package/src/projection/shared/subscription.ts +3 -0
  795. package/src/projection/uiSetting/viewUiSettingByKey.test.ts +23 -0
  796. package/src/projection/uiSetting/viewUiSettingByKey.ts +50 -0
  797. package/src/shared/ui/components/atoms/aspectRatioView/AspectRatioView.tsx +46 -0
  798. package/src/shared/ui/components/atoms/error/Error.test.tsx +11 -0
  799. package/src/shared/ui/components/atoms/error/Error.tsx +18 -0
  800. package/src/shared/ui/components/atoms/error/__snapshots__/Error.test.tsx.snap +54 -0
  801. package/src/shared/ui/components/atoms/field/Field.style.ts +22 -0
  802. package/src/shared/ui/components/atoms/field/Field.test.tsx +19 -0
  803. package/src/shared/ui/components/atoms/field/Field.tsx +54 -0
  804. package/src/shared/ui/components/atoms/field/__snapshots__/Field.test.tsx.snap +189 -0
  805. package/src/shared/ui/components/molecules/inputField/InputField.style.ts +40 -0
  806. package/src/shared/ui/components/molecules/inputField/InputField.test.tsx +41 -0
  807. package/src/shared/ui/components/molecules/inputField/InputField.tsx +97 -0
  808. package/src/shared/ui/components/molecules/inputField/__snapshots__/InputField.test.tsx.snap +154 -0
  809. package/tsconfig.build.json +4 -0
  810. package/tsconfig.json +7 -0
  811. package/web/index.html +128 -0
  812. package/webpack.config.js +75 -0
  813. package/README.md +0 -54
  814. package/dist/domain/checkout/event/createModalNotificationWhenCheckoutSubmitted.js +0 -12
  815. package/dist/domain/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.js +0 -13
  816. package/dist/domain/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.js +0 -12
  817. package/dist/infrastructure/delivery/baseBootstrap.js +0 -98
  818. package/dist/infrastructure/delivery/bootstrap.js +0 -64
  819. package/dist/infrastructure/delivery/http/fetchHttpClient.d.ts +0 -14
  820. package/dist/infrastructure/delivery/http/fetchHttpClient.js +0 -37
  821. package/dist/infrastructure/delivery/http/httpClient.d.ts +0 -22
  822. package/dist/infrastructure/domain/checkout/model/httpCheckouts.d.ts +0 -16
  823. package/dist/infrastructure/domain/checkout/react/useStartCheckout.d.ts +0 -15
  824. package/dist/infrastructure/domain/checkout/react/useStartCheckout.js +0 -21
  825. package/dist/infrastructure/domain/checkout/react/useSubmitCheckout.d.ts +0 -15
  826. package/dist/infrastructure/domain/checkout/react/useSubmitCheckout.js +0 -27
  827. package/dist/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.d.ts +0 -16
  828. package/dist/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.d.ts +0 -15
  829. package/dist/infrastructure/domain/checkoutBooking/react/useBlockCheckoutBooking.js +0 -28
  830. package/dist/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.d.ts +0 -16
  831. package/dist/infrastructure/domain/checkoutBooking/react/useBookCheckoutBookingForCheckoutItem.js +0 -29
  832. package/dist/infrastructure/domain/checkoutFeedback/model/httpCheckoutFeedbacks.d.ts +0 -16
  833. package/dist/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.d.ts +0 -19
  834. package/dist/infrastructure/domain/checkoutFeedback/react/useGiveCheckoutFeedback.js +0 -28
  835. package/dist/infrastructure/domain/checkoutItem/model/httpCheckoutItems.d.ts +0 -16
  836. package/dist/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +0 -15
  837. package/dist/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.js +0 -25
  838. package/dist/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +0 -18
  839. package/dist/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.js +0 -25
  840. package/dist/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.d.ts +0 -15
  841. package/dist/infrastructure/domain/checkoutItem/react/useResetCheckoutItem.js +0 -25
  842. package/dist/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +0 -19
  843. package/dist/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.js +0 -29
  844. package/dist/infrastructure/domain/uiSetting/react/useUpdateUiSetting.d.ts +0 -18
  845. package/dist/infrastructure/domain/uiSetting/react/useUpdateUiSetting.js +0 -22
  846. package/dist/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.d.ts +0 -12
  847. package/dist/infrastructure/projection/checkout/httpCheckoutByIdView.d.ts +0 -12
  848. package/dist/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts +0 -12
  849. package/dist/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts +0 -12
  850. package/dist/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts +0 -12
  851. package/dist/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.d.ts +0 -12
  852. package/dist/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.d.ts +0 -12
  853. package/dist/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +0 -12
  854. package/dist/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.d.ts +0 -12
  855. package/dist/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.d.ts +0 -12
  856. package/dist/infrastructure/projection/pricing/httpPricingByCheckoutIdView.d.ts +0 -12
  857. package/dist/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.d.ts +0 -12
  858. package/dist/infrastructure/testing/AsyncKameleoon.d.ts +0 -18
  859. package/dist/infrastructure/testing/AsyncKameleoon.js +0 -40
  860. package/dist/infrastructure/testing/Kameleoon.d.ts +0 -49
  861. package/dist/infrastructure/testing/Kameleoon.js +0 -3
  862. package/dist/infrastructure/testing/react/Kameleoon.d.ts +0 -9
  863. package/dist/infrastructure/testing/react/Kameleoon.js +0 -3
  864. package/dist/infrastructure/testing/react/Kameleoon.web.d.ts +0 -4
  865. package/dist/infrastructure/testing/react/Kameleoon.web.js +0 -16
  866. package/dist/infrastructure/testing/react/useAssignedVariationByExperimentId.d.ts +0 -14
  867. package/dist/infrastructure/testing/react/useAssignedVariationByExperimentId.js +0 -4
  868. package/dist/infrastructure/testing/react/useAssignedVariationByExperimentId.web.d.ts +0 -3
  869. package/dist/infrastructure/testing/react/useAssignedVariationByExperimentId.web.js +0 -17
  870. package/dist/infrastructure/testing/react/useKameleoon.d.ts +0 -9
  871. package/dist/infrastructure/testing/react/useKameleoon.js +0 -10
  872. package/dist/infrastructure/testing/react/useTrackingConversion.d.ts +0 -12
  873. package/dist/infrastructure/testing/react/useTrackingConversion.js +0 -6
  874. package/dist/infrastructure/testing/react/useTrackingConversion.web.d.ts +0 -3
  875. package/dist/infrastructure/testing/react/useTrackingConversion.web.js +0 -13
  876. package/dist/infrastructure/tracking/tracking.d.ts +0 -9
  877. package/dist/infrastructure/tracking/tracking.js +0 -10
  878. package/dist/infrastructure/ui/Root.d.ts +0 -36
  879. package/dist/infrastructure/ui/Root.js +0 -18
  880. package/dist/infrastructure/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +0 -16
  881. package/dist/infrastructure/ui/components/atoms/price/Price.js +0 -31
  882. package/dist/infrastructure/ui/components/atoms/price/Price.style.js +0 -19
  883. package/dist/infrastructure/ui/components/layouts/body/Body.js +0 -7
  884. package/dist/infrastructure/ui/components/layouts/tabs/Tabs.d.ts +0 -28
  885. package/dist/infrastructure/ui/components/layouts/tabs/Tabs.js +0 -47
  886. package/dist/infrastructure/ui/components/layouts/tabs/Tabs.style.d.ts +0 -26
  887. package/dist/infrastructure/ui/components/layouts/tabs/Tabs.style.js +0 -29
  888. package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +0 -12
  889. package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.js +0 -12
  890. package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.js +0 -12
  891. package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.js +0 -12
  892. package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.js +0 -15
  893. package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.js +0 -28
  894. package/dist/infrastructure/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.js +0 -12
  895. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +0 -23
  896. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.js +0 -18
  897. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.js +0 -14
  898. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.style.js +0 -14
  899. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +0 -40
  900. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +0 -17
  901. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.js +0 -27
  902. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.style.js +0 -9
  903. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.d.ts +0 -11
  904. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.js +0 -14
  905. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.d.ts +0 -9
  906. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/modalOptionReturnQuestionItems/ModalOptionReturnQuestionItems.style.js +0 -8
  907. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +0 -14
  908. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +0 -15
  909. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.js +0 -49
  910. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.style.js +0 -7
  911. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +0 -20
  912. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.js +0 -13
  913. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +0 -20
  914. package/dist/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.js +0 -11
  915. package/dist/infrastructure/ui/components/templates/footer/Footer.js +0 -13
  916. package/dist/infrastructure/ui/components/templates/header/Header.style.js +0 -18
  917. package/dist/infrastructure/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.js +0 -11
  918. package/dist/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.js +0 -16
  919. package/dist/infrastructure/ui/components/templates/header/checkoutHeader/CheckoutHeader.style.js +0 -10
  920. package/dist/infrastructure/ui/components/templates/header/defaultHeader/DefaultHeader.js +0 -10
  921. package/dist/infrastructure/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.js +0 -14
  922. package/dist/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.js +0 -35
  923. package/dist/infrastructure/ui/components/templates/header/itemHeader/ItemHeader.style.js +0 -10
  924. package/dist/infrastructure/ui/components/templates/header/logo/Logo.d.ts +0 -9
  925. package/dist/infrastructure/ui/components/templates/header/logo/Logo.js +0 -9
  926. package/dist/infrastructure/ui/hooks/useNewFeedbackExperiment.d.ts +0 -14
  927. package/dist/infrastructure/ui/hooks/useNewFeedbackExperiment.js +0 -48
  928. package/dist/infrastructure/ui/hooks/usePaymentInstrumentEvents.d.ts +0 -9
  929. package/dist/infrastructure/ui/hooks/usePaymentInstrumentEvents.js +0 -30
  930. package/dist/infrastructure/ui/hooks/useStaticInfo.d.ts +0 -12
  931. package/dist/infrastructure/ui/hooks/useStaticInfo.js +0 -10
  932. package/dist/infrastructure/ui/hooks/useSubmitCheckout.d.ts +0 -27
  933. package/dist/infrastructure/ui/hooks/useSubmitCheckout.js +0 -64
  934. package/dist/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.js +0 -21
  935. package/dist/infrastructure/ui/routing/CheckoutMiddleware.js +0 -91
  936. package/dist/infrastructure/ui/routing/Routing.d.ts +0 -32
  937. package/dist/infrastructure/ui/routing/Routing.js +0 -93
  938. package/dist/infrastructure/ui/views/App.js +0 -14
  939. package/dist/infrastructure/ui/views/checkout/Checkout.d.ts +0 -12
  940. package/dist/infrastructure/ui/views/checkout/Checkout.js +0 -80
  941. package/dist/infrastructure/ui/views/checkout/Checkout.style.js +0 -63
  942. package/dist/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.d.ts +0 -15
  943. package/dist/infrastructure/ui/views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal.js +0 -87
  944. package/dist/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.d.ts +0 -3
  945. package/dist/infrastructure/ui/views/checkout/components/deliveryBanner/DeliveryBanner.js +0 -9
  946. package/dist/infrastructure/ui/views/checkout/components/paymentInstrument/PaymentInstrument.js +0 -12
  947. package/dist/infrastructure/ui/views/feedback/Feedback.d.ts +0 -10
  948. package/dist/infrastructure/ui/views/feedback/Feedback.js +0 -80
  949. package/dist/infrastructure/ui/views/feedback/Feedback.style.js +0 -17
  950. package/dist/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.js +0 -39
  951. package/dist/infrastructure/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.js +0 -10
  952. package/dist/infrastructure/ui/views/item/Item.d.ts +0 -10
  953. package/dist/infrastructure/ui/views/item/Item.js +0 -177
  954. package/dist/infrastructure/ui/views/item/Item.style.js +0 -20
  955. package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +0 -24
  956. package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +0 -12
  957. package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +0 -22
  958. package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +0 -22
  959. package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +0 -25
  960. package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.d.ts +0 -16
  961. package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.js +0 -39
  962. package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.style.d.ts +0 -25
  963. package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.style.js +0 -28
  964. package/dist/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +0 -23
  965. package/dist/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +0 -20
  966. package/dist/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +0 -37
  967. package/dist/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.js +0 -32
  968. package/dist/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +0 -29
  969. package/dist/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +0 -12
  970. package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +0 -38
  971. package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +0 -9
  972. package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +0 -12
  973. package/dist/infrastructure/ui/views/item/components/selectModal/SelectModal.js +0 -18
  974. package/dist/infrastructure/ui/views/item/components/selectModal/SelectModal.style.d.ts +0 -17
  975. package/dist/infrastructure/ui/views/item/components/selectModal/SelectModal.style.js +0 -20
  976. package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +0 -16
  977. package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +0 -12
  978. package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +0 -15
  979. package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.d.ts +0 -20
  980. package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.js +0 -44
  981. package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.d.ts +0 -15
  982. package/dist/infrastructure/ui/views/item/views/itemWithCustomerDecission/ItemWithCustomerDecission.style.js +0 -18
  983. package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.d.ts +0 -20
  984. package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.js +0 -67
  985. package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.d.ts +0 -6
  986. package/dist/infrastructure/ui/views/item/views/itemWithoutCustomerDecission/ItemWithoutCustomerDecission.style.js +0 -9
  987. package/dist/infrastructure/ui/views/item/views/productVariant/ProductVariant.d.ts +0 -17
  988. package/dist/infrastructure/ui/views/item/views/productVariant/ProductVariant.js +0 -34
  989. package/dist/infrastructure/ui/views/item/views/productVariant/ProductVariant.style.js +0 -18
  990. package/dist/infrastructure/ui/views/return/Return.d.ts +0 -10
  991. package/dist/infrastructure/ui/views/return/Return.js +0 -141
  992. package/dist/infrastructure/ui/views/return/Return.style.js +0 -47
  993. package/dist/infrastructure/ui/views/return/components/price/Price.js +0 -25
  994. package/dist/infrastructure/ui/views/return/components/price/Price.style.js +0 -19
  995. package/dist/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.js +0 -37
  996. package/dist/infrastructure/ui/views/return/components/productVariantPreview/ProductVariantPreview.style.js +0 -34
  997. package/dist/infrastructure/ui/views/shared/components/productVariant/ProductVariant.js +0 -38
  998. package/dist/infrastructure/ui/views/shared/components/productVariant/ProductVariant.style.js +0 -43
  999. package/dist/infrastructure/ui/views/summary/Summary.d.ts +0 -11
  1000. package/dist/infrastructure/ui/views/summary/Summary.js +0 -93
  1001. package/dist/infrastructure/ui/views/summary/Summary.style.js +0 -70
  1002. package/dist/infrastructure/ui/views/summary/components/pricing/Pricing.js +0 -52
  1003. package/dist/infrastructure/ui/views/summary/components/pricing/Pricing.style.js +0 -31
  1004. package/dist/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +0 -13
  1005. package/dist/infrastructure/ui/views/summary/components/stickyPricing/StickyPricing.js +0 -8
  1006. package/dist/infrastructure/ui/views/summaryTabs/SummaryTabs.d.ts +0 -8
  1007. package/dist/infrastructure/ui/views/summaryTabs/SummaryTabs.js +0 -52
  1008. package/dist/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.js +0 -24
  1009. package/dist/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +0 -10
  1010. package/dist/infrastructure/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +0 -13
  1011. package/dist/projection/shared/customer.d.ts +0 -6
  1012. package/dist/shared/logging/Logger.d.ts +0 -7
  1013. package/dist/shared/logging/SentryDependencies.d.ts +0 -11
  1014. package/dist/shared/logging/SentryDependencies.js +0 -17
  1015. package/dist/shared/logging/SentryDependencies.native.d.ts +0 -10
  1016. package/dist/shared/logging/SentryDependencies.native.js +0 -15
  1017. package/dist/shared/logging/SentryLogger.d.ts +0 -17
  1018. package/dist/shared/logging/SentryLogger.js +0 -118
  1019. package/dist/shared/logging/SentryLoggerHOC.d.ts +0 -15
  1020. package/dist/shared/logging/SentryLoggerHOC.js +0 -24
  1021. package/dist/shared/logging/reactRouterV6Instrumentation/NativeReactRouterV6Instrumentation.d.ts +0 -49
  1022. package/dist/shared/logging/reactRouterV6Instrumentation/NativeReactRouterV6Instrumentation.js +0 -131
  1023. package/dist/shared/logging/reactRouterV6Instrumentation/location.d.ts +0 -3
  1024. package/dist/shared/logging/reactRouterV6Instrumentation/location.js +0 -5
  1025. package/dist/shared/logging/reactRouterV6Instrumentation/normalizedNameAndMatchForLocation.d.ts +0 -12
  1026. package/dist/shared/logging/reactRouterV6Instrumentation/normalizedNameAndMatchForLocation.js +0 -34
  1027. package/dist/shared/logging/reactRouterV6Instrumentation/reactRouterV6Instrumentation.d.ts +0 -15
  1028. package/dist/shared/logging/reactRouterV6Instrumentation/reactRouterV6Instrumentation.js +0 -92
  1029. package/dist/shared/logging/reactRouterV6Instrumentation/types.d.ts +0 -9
  1030. package/dist/shared/logging/types.d.ts +0 -22
  1031. package/dist/shared/logging/useLogger.d.ts +0 -12
  1032. package/dist/shared/logging/useLogger.js +0 -10
  1033. package/dist/shared/notifications/domain/notification/command/createModalNotification.d.ts +0 -18
  1034. package/dist/shared/notifications/domain/notification/command/createModalNotification.js +0 -9
  1035. package/dist/shared/notifications/domain/notification/command/createToastNotification.d.ts +0 -18
  1036. package/dist/shared/notifications/domain/notification/command/createToastNotification.js +0 -9
  1037. package/dist/shared/notifications/domain/notification/command/removeNotification.d.ts +0 -13
  1038. package/dist/shared/notifications/domain/notification/command/removeNotification.js +0 -4
  1039. package/dist/shared/notifications/domain/notification/model/notification.d.ts +0 -25
  1040. package/dist/shared/notifications/domain/notification/model/notification.js +0 -43
  1041. package/dist/shared/notifications/domain/notification/model/notificationCreated.d.ts +0 -14
  1042. package/dist/shared/notifications/domain/notification/model/notificationCreated.js +0 -5
  1043. package/dist/shared/notifications/domain/notification/model/notificationRemoved.d.ts +0 -14
  1044. package/dist/shared/notifications/domain/notification/model/notificationRemoved.js +0 -5
  1045. package/dist/shared/notifications/domain/notification/model/notifications.d.ts +0 -7
  1046. package/dist/shared/notifications/index.d.ts +0 -9
  1047. package/dist/shared/notifications/index.js +0 -6
  1048. package/dist/shared/notifications/infrastructure/delivery/bootstrap.d.ts +0 -21
  1049. package/dist/shared/notifications/infrastructure/delivery/bootstrap.js +0 -21
  1050. package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotifications.d.ts +0 -18
  1051. package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotifications.js +0 -25
  1052. package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.d.ts +0 -8
  1053. package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.js +0 -18
  1054. package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.d.ts +0 -5
  1055. package/dist/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.js +0 -10
  1056. package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateModalNotification.d.ts +0 -20
  1057. package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateModalNotification.js +0 -22
  1058. package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateToastNotification.d.ts +0 -21
  1059. package/dist/shared/notifications/infrastructure/domain/notification/react/useCreateToastNotification.js +0 -22
  1060. package/dist/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.d.ts +0 -17
  1061. package/dist/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.js +0 -16
  1062. package/dist/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.d.ts +0 -7
  1063. package/dist/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.js +0 -13
  1064. package/dist/shared/notifications/infrastructure/persistence/notificationDto.d.ts +0 -10
  1065. package/dist/shared/notifications/infrastructure/persistence/storage.d.ts +0 -7
  1066. package/dist/shared/notifications/infrastructure/projection/notification/notification.d.ts +0 -7
  1067. package/dist/shared/notifications/infrastructure/projection/notification/notification.js +0 -17
  1068. package/dist/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.d.ts +0 -13
  1069. package/dist/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.js +0 -6
  1070. package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.d.ts +0 -10
  1071. package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.js +0 -29
  1072. package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.style.d.ts +0 -12
  1073. package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotificationItem.style.js +0 -15
  1074. package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotifications.d.ts +0 -8
  1075. package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotifications.js +0 -6
  1076. package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotifications.style.d.ts +0 -25
  1077. package/dist/shared/notifications/infrastructure/ui/components/modalNotifications/ModalNotifications.style.js +0 -18
  1078. package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotificationItem.d.ts +0 -15
  1079. package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotificationItem.js +0 -17
  1080. package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotifications.d.ts +0 -9
  1081. package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotifications.js +0 -20
  1082. package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotifications.style.d.ts +0 -116
  1083. package/dist/shared/notifications/infrastructure/ui/components/toastNotifications/ToastNotifications.style.js +0 -29
  1084. package/dist/shared/notifications/infrastructure/ui/notificationsRoot.d.ts +0 -13
  1085. package/dist/shared/notifications/infrastructure/ui/notificationsRoot.js +0 -11
  1086. package/dist/shared/notifications/infrastructure/ui/views/Notifications.d.ts +0 -6
  1087. package/dist/shared/notifications/infrastructure/ui/views/Notifications.js +0 -19
  1088. package/dist/shared/notifications/projection/notification/listNotifications.d.ts +0 -19
  1089. package/dist/shared/notifications/projection/notification/listNotifications.js +0 -5
  1090. package/dist/shared/notifications/projection/notification/notification.d.ts +0 -24
  1091. package/dist/shared/notifications/projection/notification/notification.js +0 -8
  1092. package/dist/shared/notifications/projection/notification/react/useListNotifications.d.ts +0 -10
  1093. package/dist/shared/notifications/projection/notification/react/useListNotifications.js +0 -12
  1094. package/dist/shared/tracking/infrastructure/useEmitUserEvent.d.ts +0 -6
  1095. package/dist/shared/tracking/infrastructure/useEmitUserEvent.js +0 -7
  1096. package/dist/shared/tracking/infrastructure/useTrackAssignedVariationByExperiment.d.ts +0 -18
  1097. package/dist/shared/tracking/infrastructure/useTrackAssignedVariationByExperiment.js +0 -24
  1098. package/dist/shared/tracking/infrastructure/useTrackChangeFeedback.d.ts +0 -20
  1099. package/dist/shared/tracking/infrastructure/useTrackChangeFeedback.js +0 -25
  1100. package/dist/shared/tracking/infrastructure/useTrackCheckout.d.ts +0 -28
  1101. package/dist/shared/tracking/infrastructure/useTrackCheckout.js +0 -37
  1102. package/dist/shared/tracking/infrastructure/useTrackImageView.d.ts +0 -21
  1103. package/dist/shared/tracking/infrastructure/useTrackImageView.js +0 -25
  1104. package/dist/shared/tracking/infrastructure/useTrackItemPageView.d.ts +0 -18
  1105. package/dist/shared/tracking/infrastructure/useTrackItemPageView.js +0 -26
  1106. package/dist/shared/tracking/infrastructure/useTrackKeepItem.d.ts +0 -16
  1107. package/dist/shared/tracking/infrastructure/useTrackKeepItem.js +0 -23
  1108. package/dist/shared/tracking/infrastructure/useTrackPageView.d.ts +0 -12
  1109. package/dist/shared/tracking/infrastructure/useTrackPageView.js +0 -21
  1110. package/dist/shared/tracking/infrastructure/useTrackPressBack.d.ts +0 -15
  1111. package/dist/shared/tracking/infrastructure/useTrackPressBack.js +0 -22
  1112. package/dist/shared/tracking/infrastructure/useTrackPressContinue.d.ts +0 -15
  1113. package/dist/shared/tracking/infrastructure/useTrackPressContinue.js +0 -22
  1114. package/dist/shared/tracking/infrastructure/useTrackPressItem.d.ts +0 -18
  1115. package/dist/shared/tracking/infrastructure/useTrackPressItem.js +0 -23
  1116. package/dist/shared/tracking/infrastructure/useTrackPressMenu.d.ts +0 -16
  1117. package/dist/shared/tracking/infrastructure/useTrackPressMenu.js +0 -23
  1118. package/dist/shared/tracking/infrastructure/useTrackPressNext.d.ts +0 -17
  1119. package/dist/shared/tracking/infrastructure/useTrackPressNext.js +0 -24
  1120. package/dist/shared/tracking/infrastructure/useTrackPressPrevious.d.ts +0 -17
  1121. package/dist/shared/tracking/infrastructure/useTrackPressPrevious.js +0 -24
  1122. package/dist/shared/tracking/infrastructure/useTrackPressPricing.d.ts +0 -18
  1123. package/dist/shared/tracking/infrastructure/useTrackPressPricing.js +0 -23
  1124. package/dist/shared/tracking/infrastructure/useTrackReplaceItem.d.ts +0 -20
  1125. package/dist/shared/tracking/infrastructure/useTrackReplaceItem.js +0 -25
  1126. package/dist/shared/tracking/infrastructure/useTrackResetItem.d.ts +0 -16
  1127. package/dist/shared/tracking/infrastructure/useTrackResetItem.js +0 -23
  1128. package/dist/shared/tracking/infrastructure/useTrackReturnItem.d.ts +0 -16
  1129. package/dist/shared/tracking/infrastructure/useTrackReturnItem.js +0 -23
  1130. package/dist/shared/tracking/infrastructure/useTrackTabView.d.ts +0 -15
  1131. package/dist/shared/tracking/infrastructure/useTrackTabView.js +0 -23
  1132. package/dist/shared/tracking/tracking.d.ts +0 -112
  1133. package/dist/shared/tracking/tracking.js +0 -26
  1134. package/dist/shared/ui/components/atoms/error/Error.js +0 -4
  1135. package/dist/shared/ui/components/atoms/field/Field.js +0 -25
  1136. package/dist/shared/ui/components/atoms/field/Field.style.js +0 -19
  1137. package/dist/shared/ui/components/atoms/spinner/Spinner.d.ts +0 -3
  1138. package/dist/shared/ui/components/atoms/spinner/Spinner.js +0 -7
  1139. package/dist/shared/ui/components/atoms/spinner/Spinner.style.d.ts +0 -9
  1140. package/dist/shared/ui/components/atoms/spinner/Spinner.style.js +0 -10
  1141. package/dist/shared/ui/components/layouts/carousel/Bullets.d.ts +0 -10
  1142. package/dist/shared/ui/components/layouts/carousel/Bullets.js +0 -28
  1143. package/dist/shared/ui/components/layouts/carousel/Bullets.style.d.ts +0 -12
  1144. package/dist/shared/ui/components/layouts/carousel/Bullets.style.js +0 -15
  1145. package/dist/shared/ui/components/layouts/carousel/Carousel.d.ts +0 -33
  1146. package/dist/shared/ui/components/layouts/carousel/Carousel.js +0 -87
  1147. package/dist/shared/ui/components/layouts/carousel/Carousel.style.d.ts +0 -24
  1148. package/dist/shared/ui/components/layouts/carousel/Carousel.style.js +0 -25
  1149. package/dist/shared/ui/components/layouts/column/Column.d.ts +0 -10
  1150. package/dist/shared/ui/components/layouts/column/Column.js +0 -10
  1151. package/dist/shared/ui/components/layouts/column/Column.style.d.ts +0 -12
  1152. package/dist/shared/ui/components/layouts/column/Column.style.js +0 -23
  1153. package/dist/shared/ui/components/layouts/modal/Modal.d.ts +0 -21
  1154. package/dist/shared/ui/components/layouts/modal/Modal.js +0 -95
  1155. package/dist/shared/ui/components/layouts/modal/Modal.style.d.ts +0 -153
  1156. package/dist/shared/ui/components/layouts/modal/Modal.style.js +0 -77
  1157. package/dist/shared/ui/components/layouts/row/Row.d.ts +0 -6
  1158. package/dist/shared/ui/components/layouts/row/Row.js +0 -10
  1159. package/dist/shared/ui/components/layouts/row/Row.style.d.ts +0 -13
  1160. package/dist/shared/ui/components/layouts/row/Row.style.js +0 -17
  1161. package/dist/shared/ui/components/layouts/stack/Stack.d.ts +0 -8
  1162. package/dist/shared/ui/components/layouts/stack/Stack.js +0 -28
  1163. package/dist/shared/ui/components/layouts/stack/Stack.style.d.ts +0 -10
  1164. package/dist/shared/ui/components/layouts/stack/Stack.style.js +0 -11
  1165. package/dist/shared/ui/components/layouts/sticky/Sticky.d.ts +0 -14
  1166. package/dist/shared/ui/components/layouts/sticky/Sticky.js +0 -8
  1167. package/dist/shared/ui/components/layouts/sticky/Sticky.style.d.ts +0 -105
  1168. package/dist/shared/ui/components/layouts/sticky/Sticky.style.js +0 -24
  1169. package/dist/shared/ui/components/molecules/inputField/InputField.d.ts +0 -24
  1170. package/dist/shared/ui/components/molecules/inputField/InputField.js +0 -28
  1171. package/dist/shared/ui/components/molecules/inputField/InputField.style.js +0 -37
  1172. package/dist/shared/ui/hooks/useScreenSize.d.ts +0 -4
  1173. package/dist/shared/ui/hooks/useScreenSize.js +0 -9
  1174. /package/dist/{domain/checkout/model/checkouts.js → src/Expo.d.ts} +0 -0
  1175. /package/dist/{domain → src/domain}/checkout/command/startCheckout.d.ts +0 -0
  1176. /package/dist/{domain → src/domain}/checkout/command/startCheckout.js +0 -0
  1177. /package/dist/{domain → src/domain}/checkout/command/submitCheckout.d.ts +0 -0
  1178. /package/dist/{domain → src/domain}/checkout/command/submitCheckout.js +0 -0
  1179. /package/dist/{domain → src/domain}/checkout/event/createModalNotificationWhenCheckoutSubmitted.d.ts +0 -0
  1180. /package/dist/{domain → src/domain}/checkout/model/checkout.d.ts +0 -0
  1181. /package/dist/{domain → src/domain}/checkout/model/checkout.js +0 -0
  1182. /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.d.ts +0 -0
  1183. /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.js +0 -0
  1184. /package/dist/{domain → src/domain}/checkout/model/checkoutSubmitted.d.ts +0 -0
  1185. /package/dist/{domain → src/domain}/checkout/model/checkoutSubmitted.js +0 -0
  1186. /package/dist/{domain → src/domain}/checkout/model/checkouts.d.ts +0 -0
  1187. /package/dist/{domain/checkoutBooking/model/checkoutBookings.js → src/domain/checkout/model/checkouts.js} +0 -0
  1188. /package/dist/{domain → src/domain}/checkoutBooking/command/blockCheckoutBooking.d.ts +0 -0
  1189. /package/dist/{domain → src/domain}/checkoutBooking/command/blockCheckoutBooking.js +0 -0
  1190. /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.d.ts +0 -0
  1191. /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.js +0 -0
  1192. /package/dist/{domain → src/domain}/checkoutBooking/event/createToastNotificationWhenCheckoutBookingExpired.d.ts +0 -0
  1193. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.d.ts +0 -0
  1194. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.js +0 -0
  1195. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBlocked.d.ts +0 -0
  1196. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBlocked.js +0 -0
  1197. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.d.ts +0 -0
  1198. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.js +0 -0
  1199. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingExpired.d.ts +0 -0
  1200. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingExpired.js +0 -0
  1201. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookings.d.ts +0 -0
  1202. /package/dist/{domain/checkoutFeedback/model/checkoutFeedbacks.js → src/domain/checkoutBooking/model/checkoutBookings.js} +0 -0
  1203. /package/dist/{domain → src/domain}/checkoutFeedback/command/giveCheckoutFeedback.d.ts +0 -0
  1204. /package/dist/{domain → src/domain}/checkoutFeedback/command/giveCheckoutFeedback.js +0 -0
  1205. /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedback.d.ts +0 -0
  1206. /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedback.js +0 -0
  1207. /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedbackGiven.d.ts +0 -0
  1208. /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedbackGiven.js +0 -0
  1209. /package/dist/{domain → src/domain}/checkoutFeedback/model/checkoutFeedbacks.d.ts +0 -0
  1210. /package/dist/{domain/checkoutFeedback/model/feedbacks.js → src/domain/checkoutFeedback/model/checkoutFeedbacks.js} +0 -0
  1211. /package/dist/{domain → src/domain}/checkoutFeedback/model/feedbacks.d.ts +0 -0
  1212. /package/dist/{domain/checkoutItem → src/domain/checkoutFeedback}/model/feedbacks.js +0 -0
  1213. /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.d.ts +0 -0
  1214. /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.js +0 -0
  1215. /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.d.ts +0 -0
  1216. /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.js +0 -0
  1217. /package/dist/{domain → src/domain}/checkoutItem/command/resetCheckoutItem.d.ts +0 -0
  1218. /package/dist/{domain → src/domain}/checkoutItem/command/resetCheckoutItem.js +0 -0
  1219. /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.d.ts +0 -0
  1220. /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.js +0 -0
  1221. /package/dist/{domain → src/domain}/checkoutItem/event/createModalNotificationWhenCheckoutItemReplaced.d.ts +0 -0
  1222. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.d.ts +0 -0
  1223. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.js +0 -0
  1224. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.d.ts +0 -0
  1225. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.js +0 -0
  1226. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.d.ts +0 -0
  1227. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.js +0 -0
  1228. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReset.d.ts +0 -0
  1229. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReset.js +0 -0
  1230. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.d.ts +0 -0
  1231. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.js +0 -0
  1232. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.d.ts +0 -0
  1233. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.js +0 -0
  1234. /package/dist/{domain → src/domain}/checkoutItem/model/currency.d.ts +0 -0
  1235. /package/dist/{domain → src/domain}/checkoutItem/model/currency.js +0 -0
  1236. /package/dist/{domain → src/domain}/checkoutItem/model/feedbacks.d.ts +0 -0
  1237. /package/dist/{domain/checkoutItem/model/price.js → src/domain/checkoutItem/model/feedbacks.js} +0 -0
  1238. /package/dist/{domain → src/domain}/checkoutItem/model/price.d.ts +0 -0
  1239. /package/dist/{projection/shared → src/domain/checkoutItem/model}/price.js +0 -0
  1240. /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.d.ts +0 -0
  1241. /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.js +0 -0
  1242. /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.d.ts +0 -0
  1243. /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.js +0 -0
  1244. /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.d.ts +0 -0
  1245. /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.js +0 -0
  1246. /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.d.ts +0 -0
  1247. /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.js +0 -0
  1248. /package/dist/{infrastructure/testing → src/infrastructure/ab-testing}/kameleoonEnvironment.d.ts +0 -0
  1249. /package/dist/{infrastructure/testing → src/infrastructure/ab-testing}/kameleoonEnvironment.js +0 -0
  1250. /package/dist/{infrastructure → src/infrastructure}/delivery/baseBootstrap.d.ts +0 -0
  1251. /package/dist/{infrastructure → src/infrastructure}/delivery/bootstrap.d.ts +0 -0
  1252. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.d.ts +0 -0
  1253. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.js +0 -0
  1254. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.d.ts +0 -0
  1255. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.js +0 -0
  1256. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutFeedbackDataSource.d.ts +0 -0
  1257. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutFeedbackDataSource.js +0 -0
  1258. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.d.ts +0 -0
  1259. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.js +0 -0
  1260. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutFeedbacks.d.ts +0 -0
  1261. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutFeedbacks.js +0 -0
  1262. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.d.ts +0 -0
  1263. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.js +0 -0
  1264. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.d.ts +0 -0
  1265. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.js +0 -0
  1266. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckouts.js +0 -0
  1267. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.d.ts +0 -0
  1268. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.js +0 -0
  1269. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsSubmit.d.ts +0 -0
  1270. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsSubmit.js +0 -0
  1271. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookings.js +0 -0
  1272. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBlock.d.ts +0 -0
  1273. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBlock.js +0 -0
  1274. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.d.ts +0 -0
  1275. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.js +0 -0
  1276. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacks.js +0 -0
  1277. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.d.ts +0 -0
  1278. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.js +0 -0
  1279. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItems.js +0 -0
  1280. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.d.ts +0 -0
  1281. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.js +0 -0
  1282. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.d.ts +0 -0
  1283. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.js +0 -0
  1284. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReset.d.ts +0 -0
  1285. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReset.js +0 -0
  1286. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.d.ts +0 -0
  1287. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.js +0 -0
  1288. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.d.ts +0 -0
  1289. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.js +0 -0
  1290. /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.d.ts +0 -0
  1291. /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.js +0 -0
  1292. /package/dist/{infrastructure → src/infrastructure}/persistence/storage.d.ts +0 -0
  1293. /package/dist/{infrastructure → src/infrastructure}/persistence/storage.js +0 -0
  1294. /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.d.ts +0 -0
  1295. /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.js +0 -0
  1296. /package/dist/{infrastructure → src/infrastructure}/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.js +0 -0
  1297. /package/dist/{infrastructure/delivery/http/httpClient.js → src/infrastructure/projection/bookedProductsVariants/httpBookedProductsVariantsForCheckoutItemView.pact.d.ts} +0 -0
  1298. /package/dist/{infrastructure → src/infrastructure}/projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem.d.ts +0 -0
  1299. /package/dist/{infrastructure → src/infrastructure}/projection/bookedProductsVariants/react/useViewBookedProductsVariantsForCheckoutItem.js +0 -0
  1300. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.d.ts +0 -0
  1301. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.js +0 -0
  1302. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpCheckoutByIdView.js +0 -0
  1303. /package/dist/{infrastructure/ui/components/layouts/layout/Layout.js → src/infrastructure/projection/checkout/httpCheckoutByIdView.pact.d.ts} +0 -0
  1304. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.js +0 -0
  1305. /package/dist/{infrastructure/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.js → src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.pact.d.ts} +0 -0
  1306. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFiveItemsDiscountByCustomerIdView.js +0 -0
  1307. /package/dist/{infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.js → src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.pact.d.ts} +0 -0
  1308. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.js +0 -0
  1309. /package/dist/{projection/bookedProductsVariants/bookedProductsVariants.js → src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.pact.d.ts} +0 -0
  1310. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.js +0 -0
  1311. /package/dist/{projection/checkout/checkout.js → src/infrastructure/projection/checkout/httpIsSizeChangeEnabledByCheckoutIdView.pact.d.ts} +0 -0
  1312. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
  1313. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js +0 -0
  1314. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.d.ts +0 -0
  1315. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.js +0 -0
  1316. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
  1317. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js +0 -0
  1318. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId.d.ts +0 -0
  1319. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId.js +0 -0
  1320. /package/dist/{infrastructure → src/infrastructure}/projection/checkoutBooking/httpCheckoutBookingByIdView.js +0 -0
  1321. /package/dist/{projection/checkoutBooking/checkoutBooking.js → src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.pact.d.ts} +0 -0
  1322. /package/dist/{infrastructure → src/infrastructure}/projection/checkoutItem/httpCheckoutItemByIdView.js +0 -0
  1323. /package/dist/{projection/checkoutFeedback/checkoutFeedback.js → src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.pact.d.ts} +0 -0
  1324. /package/dist/{infrastructure → src/infrastructure}/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.js +0 -0
  1325. /package/dist/{projection/feedback/feedback.js → src/infrastructure/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.pact.d.ts} +0 -0
  1326. /package/dist/{infrastructure → src/infrastructure}/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.d.ts +0 -0
  1327. /package/dist/{infrastructure → src/infrastructure}/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.js +0 -0
  1328. /package/dist/{infrastructure → src/infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.js +0 -0
  1329. /package/dist/{projection/payment/paymentFlowPayload.js → src/infrastructure/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.pact.d.ts} +0 -0
  1330. /package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
  1331. /package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.js +0 -0
  1332. /package/dist/{infrastructure → src/infrastructure}/projection/pricing/httpPricingByCheckoutIdView.js +0 -0
  1333. /package/dist/{projection/pricing/pricing.js → src/infrastructure/projection/pricing/httpPricingByCheckoutIdView.pact.d.ts} +0 -0
  1334. /package/dist/{infrastructure → src/infrastructure}/projection/pricing/pricing.d.ts +0 -0
  1335. /package/dist/{infrastructure → src/infrastructure}/projection/pricing/pricing.js +0 -0
  1336. /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.d.ts +0 -0
  1337. /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.js +0 -0
  1338. /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.js +0 -0
  1339. /package/dist/{projection/shared/customer.js → src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.pact.d.ts} +0 -0
  1340. /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.d.ts +0 -0
  1341. /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.js +0 -0
  1342. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.d.ts +0 -0
  1343. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.js +0 -0
  1344. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.d.ts +0 -0
  1345. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.js +0 -0
  1346. /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.d.ts +0 -0
  1347. /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.d.ts +0 -0
  1348. /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.js +0 -0
  1349. /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.d.ts +0 -0
  1350. /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.style.d.ts +0 -0
  1351. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.d.ts +0 -0
  1352. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.d.ts +0 -0
  1353. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.js +0 -0
  1354. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/Layout.d.ts +0 -0
  1355. /package/dist/{projection/shared/order.js → src/infrastructure/ui/components/layouts/layout/Layout.js} +0 -0
  1356. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/footer/Footer.d.ts +0 -0
  1357. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/footer/Footer.js +0 -0
  1358. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/header/Header.d.ts +0 -0
  1359. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/header/Header.js +0 -0
  1360. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/header/Header.style.d.ts +0 -0
  1361. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/components/header/Header.style.js +0 -0
  1362. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/dummyLayout/DummyLayout.d.ts +0 -0
  1363. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/dummyLayout/DummyLayout.js +0 -0
  1364. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/dummyLayout/DummyLayout.style.d.ts +0 -0
  1365. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/layout/dummyLayout/DummyLayout.style.js +0 -0
  1366. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestion.d.ts +0 -0
  1367. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestion.js +0 -0
  1368. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestions.d.ts +0 -0
  1369. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestions.js +0 -0
  1370. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.d.ts +0 -0
  1371. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.js +0 -0
  1372. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.d.ts +0 -0
  1373. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.js +0 -0
  1374. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.d.ts +0 -0
  1375. /package/dist/{projection/shared/subscription.js → src/infrastructure/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.js} +0 -0
  1376. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.d.ts +0 -0
  1377. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.d.ts +0 -0
  1378. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.js +0 -0
  1379. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.d.ts +0 -0
  1380. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.d.ts +0 -0
  1381. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.d.ts +0 -0
  1382. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.d.ts +0 -0
  1383. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.d.ts +0 -0
  1384. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.style.d.ts +0 -0
  1385. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.style.js +0 -0
  1386. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Happy.d.ts +0 -0
  1387. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Happy.js +0 -0
  1388. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Normal.d.ts +0 -0
  1389. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Normal.js +0 -0
  1390. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Sad.d.ts +0 -0
  1391. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Sad.js +0 -0
  1392. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.d.ts +0 -0
  1393. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.d.ts +0 -0
  1394. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.js +0 -0
  1395. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.d.ts +0 -0
  1396. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.js +0 -0
  1397. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/isChildReturnQuestion.d.ts +0 -0
  1398. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/isChildReturnQuestion.js +0 -0
  1399. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.d.ts +0 -0
  1400. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.js +0 -0
  1401. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.d.ts +0 -0
  1402. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.js +0 -0
  1403. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +0 -0
  1404. /package/dist/{shared/logging/Logger.js → src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.js} +0 -0
  1405. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.d.ts +0 -0
  1406. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.js +0 -0
  1407. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.d.ts +0 -0
  1408. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.d.ts +0 -0
  1409. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.d.ts +0 -0
  1410. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostRadioGroupReturnQuestionItem/HostRadioGroupReturnQuestionItem.style.d.ts +0 -0
  1411. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.d.ts +0 -0
  1412. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.d.ts +0 -0
  1413. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.d.ts +0 -0
  1414. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/form/HostStackReturnQuestionItem.js +0 -0
  1415. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.d.ts +0 -0
  1416. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/modal/HostStackReturnQuestionItem.style.d.ts +0 -0
  1417. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.d.ts +0 -0
  1418. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.d.ts +0 -0
  1419. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.d.ts +0 -0
  1420. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/radioReturnQuestionItem/RadioReturnQuestionItem.style.d.ts +0 -0
  1421. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.d.ts +0 -0
  1422. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.d.ts +0 -0
  1423. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.d.ts +0 -0
  1424. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.style.d.ts +0 -0
  1425. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.d.ts +0 -0
  1426. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.js +0 -0
  1427. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/footer/Footer.d.ts +0 -0
  1428. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/Header.d.ts +0 -0
  1429. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/Header.js +0 -0
  1430. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/Header.style.d.ts +0 -0
  1431. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.d.ts +0 -0
  1432. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.js +0 -0
  1433. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/buttonIconPlaceholder/ButtonIconPlaceholder.style.d.ts +0 -0
  1434. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/checkoutHeader/CheckoutHeader.d.ts +0 -0
  1435. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/checkoutHeader/CheckoutHeader.style.d.ts +0 -0
  1436. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/defaultHeader/DefaultHeader.d.ts +0 -0
  1437. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/itemDetailHeader/ItemDetailHeader.d.ts +0 -0
  1438. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/itemHeader/ItemHeader.d.ts +0 -0
  1439. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/itemHeader/ItemHeader.style.d.ts +0 -0
  1440. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/logo/Logo.Base64.d.ts +0 -0
  1441. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/header/logo/Logo.Base64.js +0 -0
  1442. /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.d.ts +0 -0
  1443. /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.js +0 -0
  1444. /package/dist/{infrastructure → src/infrastructure}/ui/i18n/fetchTranslations.d.ts +0 -0
  1445. /package/dist/{infrastructure → src/infrastructure}/ui/i18n/fetchTranslations.js +0 -0
  1446. /package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.d.ts +0 -0
  1447. /package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.js +0 -0
  1448. /package/dist/{infrastructure → src/infrastructure}/ui/i18n/translationEndpoint.d.ts +0 -0
  1449. /package/dist/{infrastructure → src/infrastructure}/ui/i18n/translationEndpoint.js +0 -0
  1450. /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutAccessibilityMiddleware.d.ts +0 -0
  1451. /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutMiddleware.d.ts +0 -0
  1452. /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.d.ts +0 -0
  1453. /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.js +0 -0
  1454. /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.d.ts +0 -0
  1455. /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.js +0 -0
  1456. /package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.d.ts +0 -0
  1457. /package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.js +0 -0
  1458. /package/dist/{infrastructure → src/infrastructure}/ui/routing/useBasePath.d.ts +0 -0
  1459. /package/dist/{infrastructure → src/infrastructure}/ui/routing/useBasePath.js +0 -0
  1460. /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.d.ts +0 -0
  1461. /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.js +0 -0
  1462. /package/dist/{infrastructure → src/infrastructure}/ui/views/App.d.ts +0 -0
  1463. /package/dist/{infrastructure → src/infrastructure}/ui/views/checkout/Checkout.style.d.ts +0 -0
  1464. /package/dist/{infrastructure → src/infrastructure}/ui/views/checkout/components/paymentInstrument/PaymentInstrument.d.ts +0 -0
  1465. /package/dist/{infrastructure → src/infrastructure}/ui/views/feedback/Feedback.style.d.ts +0 -0
  1466. /package/dist/{infrastructure → src/infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.d.ts +0 -0
  1467. /package/dist/{infrastructure → src/infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.d.ts +0 -0
  1468. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.style.d.ts +0 -0
  1469. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +0 -0
  1470. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +0 -0
  1471. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.d.ts +0 -0
  1472. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.d.ts +0 -0
  1473. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.d.ts +0 -0
  1474. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.d.ts +0 -0
  1475. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.d.ts +0 -0
  1476. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.d.ts +0 -0
  1477. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.d.ts +0 -0
  1478. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +0 -0
  1479. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/selectModal/SelectModal.d.ts +0 -0
  1480. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.d.ts +0 -0
  1481. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/views/productVariant/ProductVariant.style.d.ts +0 -0
  1482. /package/dist/{infrastructure → src/infrastructure}/ui/views/return/Return.style.d.ts +0 -0
  1483. /package/dist/{infrastructure → src/infrastructure}/ui/views/return/components/price/Price.d.ts +0 -0
  1484. /package/dist/{infrastructure → src/infrastructure}/ui/views/return/components/price/Price.style.d.ts +0 -0
  1485. /package/dist/{infrastructure → src/infrastructure}/ui/views/return/components/productVariantPreview/ProductVariantPreview.d.ts +0 -0
  1486. /package/dist/{infrastructure → src/infrastructure}/ui/views/return/components/productVariantPreview/ProductVariantPreview.style.d.ts +0 -0
  1487. /package/dist/{infrastructure → src/infrastructure}/ui/views/shared/components/productVariant/ProductVariant.d.ts +0 -0
  1488. /package/dist/{infrastructure → src/infrastructure}/ui/views/shared/components/productVariant/ProductVariant.style.d.ts +0 -0
  1489. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.style.d.ts +0 -0
  1490. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.d.ts +0 -0
  1491. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.style.d.ts +0 -0
  1492. /package/dist/{infrastructure → src/infrastructure}/ui/views/summaryTabs/components/checkoutItemsTabs/CheckoutItemsTabs.d.ts +0 -0
  1493. /package/dist/{projection → src/projection}/bookedProductsVariants/bookedProductsVariants.d.ts +0 -0
  1494. /package/dist/{shared/logging/reactRouterV6Instrumentation/types.js → src/projection/bookedProductsVariants/bookedProductsVariants.js} +0 -0
  1495. /package/dist/{projection → src/projection}/bookedProductsVariants/viewBookedProductVariantsForCheckoutItem.d.ts +0 -0
  1496. /package/dist/{projection → src/projection}/bookedProductsVariants/viewBookedProductVariantsForCheckoutItem.js +0 -0
  1497. /package/dist/{projection → src/projection}/checkout/checkout.d.ts +0 -0
  1498. /package/dist/{shared/logging/types.js → src/projection/checkout/checkout.js} +0 -0
  1499. /package/dist/{projection → src/projection}/checkout/viewCheckoutById.d.ts +0 -0
  1500. /package/dist/{projection → src/projection}/checkout/viewCheckoutById.js +0 -0
  1501. /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
  1502. /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.js +0 -0
  1503. /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.d.ts +0 -0
  1504. /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.js +0 -0
  1505. /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
  1506. /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.js +0 -0
  1507. /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.d.ts +0 -0
  1508. /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.js +0 -0
  1509. /package/dist/{projection → src/projection}/checkout/viewIsSizeChangeEnabledByCheckoutId.d.ts +0 -0
  1510. /package/dist/{projection → src/projection}/checkout/viewIsSizeChangeEnabledByCheckoutId.js +0 -0
  1511. /package/dist/{projection → src/projection}/checkoutBooking/checkoutBooking.d.ts +0 -0
  1512. /package/dist/{shared/notifications/domain/notification/model/notifications.js → src/projection/checkoutBooking/checkoutBooking.js} +0 -0
  1513. /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.d.ts +0 -0
  1514. /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.js +0 -0
  1515. /package/dist/{projection → src/projection}/checkoutFeedback/checkoutFeedback.d.ts +0 -0
  1516. /package/dist/{shared/notifications/infrastructure/persistence/notificationDto.js → src/projection/checkoutFeedback/checkoutFeedback.js} +0 -0
  1517. /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.d.ts +0 -0
  1518. /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.js +0 -0
  1519. /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.d.ts +0 -0
  1520. /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.js +0 -0
  1521. /package/dist/{projection → src/projection}/checkoutQuestion/checkoutQuestion.d.ts +0 -0
  1522. /package/dist/{projection → src/projection}/checkoutQuestion/checkoutQuestion.js +0 -0
  1523. /package/dist/{projection → src/projection}/checkoutQuestion/listCheckoutQuestionsByCheckoutId.d.ts +0 -0
  1524. /package/dist/{projection → src/projection}/checkoutQuestion/listCheckoutQuestionsByCheckoutId.js +0 -0
  1525. /package/dist/{projection → src/projection}/feedback/feedback.d.ts +0 -0
  1526. /package/dist/{shared/notifications/infrastructure/persistence/storage.js → src/projection/feedback/feedback.js} +0 -0
  1527. /package/dist/{projection → src/projection}/payment/paymentFlowPayload.d.ts +0 -0
  1528. /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
  1529. /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.js +0 -0
  1530. /package/dist/{projection → src/projection}/pricing/pricing.d.ts +0 -0
  1531. /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.d.ts +0 -0
  1532. /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.js +0 -0
  1533. /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.d.ts +0 -0
  1534. /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.js +0 -0
  1535. /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.d.ts +0 -0
  1536. /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.js +0 -0
  1537. /package/dist/{projection → src/projection}/shared/country.d.ts +0 -0
  1538. /package/dist/{projection → src/projection}/shared/country.js +0 -0
  1539. /package/dist/{projection → src/projection}/shared/locale.d.ts +0 -0
  1540. /package/dist/{projection → src/projection}/shared/locale.js +0 -0
  1541. /package/dist/{projection → src/projection}/shared/order.d.ts +0 -0
  1542. /package/dist/{projection → src/projection}/shared/price.d.ts +0 -0
  1543. /package/dist/{projection → src/projection}/shared/size.d.ts +0 -0
  1544. /package/dist/{projection → src/projection}/shared/size.js +0 -0
  1545. /package/dist/{projection → src/projection}/shared/subscription.d.ts +0 -0
  1546. /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.d.ts +0 -0
  1547. /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.js +0 -0
  1548. /package/dist/{shared → src/shared}/ui/components/atoms/aspectRatioView/AspectRatioView.d.ts +0 -0
  1549. /package/dist/{shared → src/shared}/ui/components/atoms/aspectRatioView/AspectRatioView.js +0 -0
  1550. /package/dist/{shared → src/shared}/ui/components/atoms/error/Error.d.ts +0 -0
  1551. /package/dist/{shared → src/shared}/ui/components/atoms/field/Field.d.ts +0 -0
  1552. /package/dist/{shared → src/shared}/ui/components/atoms/field/Field.style.d.ts +0 -0
  1553. /package/dist/{shared → src/shared}/ui/components/molecules/inputField/InputField.style.d.ts +0 -0
@@ -0,0 +1,285 @@
1
+ import { Router } from "@remix-run/router";
2
+ import { render, RenderResult } from "@testing-library/react-native";
3
+ import { mock } from "jest-mock-extended";
4
+ import React from "react";
5
+ import { Text } from "react-native";
6
+ import { generatePath } from "react-router-native";
7
+ import { createMemoryRouter, RouterProvider } from "react-router-native";
8
+ import { CommandStatus, QueryStatus } from "@lookiero/messaging-react";
9
+ import { Logger } from "@lookiero/sty-psp-logging";
10
+ import { CheckoutStatus } from "../../../domain/checkout/model/checkout";
11
+ import { CheckoutItemStatus } from "../../../domain/checkoutItem/model/checkoutItem";
12
+ import { useStartCheckout } from "../../domain/checkout/react/useStartCheckout";
13
+ import { checkout } from "../../projection/checkout/checkout.mock";
14
+ import { useViewFirstAvailableCheckoutByCustomerId } from "../../projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId";
15
+ import { CheckoutMiddleware } from "./CheckoutMiddleware";
16
+ import { Routes } from "./routes";
17
+ import { BasePathProvider } from "./useBasePath";
18
+
19
+ jest.mock("../../projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId", () => ({
20
+ useViewFirstAvailableCheckoutByCustomerId: jest.fn(),
21
+ }));
22
+ jest.mock("../../projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId", () => ({
23
+ useViewIsSizeChangeEnabledByCheckoutId: jest.fn(),
24
+ }));
25
+ const mockStartCheckout = jest.fn();
26
+ jest.mock("../../domain/checkout/react/useStartCheckout");
27
+ const mockLogger = mock<Logger>();
28
+ jest.mock("@lookiero/sty-psp-logging", () => ({
29
+ useLogger: () => mockLogger,
30
+ }));
31
+
32
+ const NOT_FINAL_STATUSES: CheckoutStatus[] = [
33
+ CheckoutStatus.AVAILABLE,
34
+ CheckoutStatus.STARTED,
35
+ CheckoutStatus.NOTIFIED,
36
+ ];
37
+
38
+ const summaryRedirectInitialPaths = [
39
+ Routes.HOME,
40
+ generatePath(Routes.ITEM, { id: "a5422445-0e62-4b11-8a3f-1bb5469ee154" }),
41
+ Routes.FEEDBACK,
42
+ ];
43
+ const summaryRedirectScenarios = NOT_FINAL_STATUSES.reduce(
44
+ (acc, status) => [...acc, ...summaryRedirectInitialPaths.map((route) => [status, route] as [CheckoutStatus, string])],
45
+ [] as [CheckoutStatus, string][],
46
+ );
47
+ const summaryNotRedirectInitialPaths = [
48
+ Routes.SUMMARY,
49
+ generatePath(Routes.ITEM_DETAIL, { id: "a5422445-0e62-4b11-8a3f-1bb5469ee154" }),
50
+ Routes.CHECKOUT,
51
+ ];
52
+ const summaryNotRedirectScenarios = NOT_FINAL_STATUSES.reduce(
53
+ (acc, status) => [
54
+ ...acc,
55
+ ...summaryNotRedirectInitialPaths.map((route) => [status, route] as [CheckoutStatus, string]),
56
+ ],
57
+ [] as [CheckoutStatus, string][],
58
+ );
59
+
60
+ const itemRedirectInitialPaths = [
61
+ Routes.HOME,
62
+ generatePath(Routes.ITEM, { id: "a5422445-0e62-4b11-8a3f-1bb5469ee154" }),
63
+ Routes.FEEDBACK,
64
+ Routes.SUMMARY,
65
+ generatePath(Routes.ITEM_DETAIL, { id: "a5422445-0e62-4b11-8a3f-1bb5469ee154" }),
66
+ Routes.CHECKOUT,
67
+ ];
68
+ const itemRedirectScenarios = NOT_FINAL_STATUSES.reduce(
69
+ (acc, status) => [...acc, ...itemRedirectInitialPaths.map((route) => [status, route] as [CheckoutStatus, string])],
70
+ [] as [CheckoutStatus, string][],
71
+ );
72
+
73
+ const customerId = "29790d24-b139-4ab8-b618-d796d101e974";
74
+ const loaderText = "loader-component";
75
+ const checkoutChildrenText = "children-component";
76
+
77
+ type RenderCheckoutMiddlewareParameters = {
78
+ readonly path: string;
79
+ readonly onNotAccessible?: () => void;
80
+ };
81
+ const renderCheckoutMiddleware = ({
82
+ path,
83
+ onNotAccessible = () => void 0,
84
+ }: RenderCheckoutMiddlewareParameters): {
85
+ result: RenderResult;
86
+ router: Router;
87
+ rootNode: typeof RouterProvider;
88
+ } => {
89
+ const router = createMemoryRouter(
90
+ [
91
+ {
92
+ path: "/*",
93
+ element: (
94
+ <BasePathProvider basePath="">
95
+ <CheckoutMiddleware
96
+ customerId={customerId}
97
+ loader={<Text>{loaderText}</Text>}
98
+ onNotAccessible={onNotAccessible}
99
+ >
100
+ <Text>{checkoutChildrenText}</Text>
101
+ </CheckoutMiddleware>
102
+ </BasePathProvider>
103
+ ),
104
+ },
105
+ ],
106
+ {
107
+ initialEntries: [`/${path}`],
108
+ },
109
+ );
110
+
111
+ return {
112
+ result: render(<RouterProvider router={router} />),
113
+ router,
114
+ rootNode: RouterProvider,
115
+ };
116
+ };
117
+
118
+ beforeEach(() => {
119
+ mockStartCheckout.mockClear();
120
+ });
121
+
122
+ describe("CheckoutMiddleware component", () => {
123
+ it("renders a loader while processing dependant use-cases", async () => {
124
+ (useViewFirstAvailableCheckoutByCustomerId as jest.Mock).mockReturnValue([undefined, QueryStatus.LOADING]);
125
+ (useStartCheckout as jest.Mock).mockReturnValue([mockStartCheckout, CommandStatus.SUCCESS]);
126
+
127
+ const { result } = renderCheckoutMiddleware({ path: Routes.HOME });
128
+ const loader = await result.findByText(loaderText);
129
+
130
+ expect(loader).toBeTruthy();
131
+ });
132
+
133
+ it("startCheckout should be called", async () => {
134
+ const checkoutMock = checkout({ items: [{ status: CheckoutItemStatus.INITIAL }] });
135
+ (useViewFirstAvailableCheckoutByCustomerId as jest.Mock).mockReturnValue([checkoutMock, QueryStatus.SUCCESS]);
136
+ (useStartCheckout as jest.Mock).mockReturnValue([mockStartCheckout, CommandStatus.SUCCESS]);
137
+
138
+ renderCheckoutMiddleware({ path: Routes.HOME });
139
+
140
+ expect(mockStartCheckout).toHaveBeenCalled();
141
+ });
142
+
143
+ it("payment route should not be directly accessible", async () => {
144
+ const checkoutMock = checkout({ items: [{ status: CheckoutItemStatus.INITIAL }] });
145
+ (useViewFirstAvailableCheckoutByCustomerId as jest.Mock).mockReturnValue([checkoutMock, QueryStatus.SUCCESS]);
146
+ (useStartCheckout as jest.Mock).mockReturnValue([mockStartCheckout, CommandStatus.SUCCESS]);
147
+
148
+ const onNotAccessible = jest.fn();
149
+ renderCheckoutMiddleware({ path: `${Routes.CHECKOUT}/${Routes.CHECKOUT_PAYMENT}`, onNotAccessible });
150
+
151
+ expect(onNotAccessible).toHaveBeenCalled();
152
+ });
153
+
154
+ it("should redirect to 'feedback' if checkout's status is SUBMITTED", async () => {
155
+ const checkoutMock = checkout({
156
+ status: CheckoutStatus.SUBMITTED,
157
+ items: [
158
+ { status: CheckoutItemStatus.KEPT },
159
+ { status: CheckoutItemStatus.KEPT },
160
+ { status: CheckoutItemStatus.KEPT },
161
+ { status: CheckoutItemStatus.KEPT },
162
+ { status: CheckoutItemStatus.KEPT },
163
+ ],
164
+ });
165
+ (useViewFirstAvailableCheckoutByCustomerId as jest.Mock).mockReturnValue([checkoutMock, QueryStatus.SUCCESS]);
166
+ (useStartCheckout as jest.Mock).mockReturnValue([mockStartCheckout, CommandStatus.SUCCESS]);
167
+
168
+ const { router } = renderCheckoutMiddleware({ path: Routes.HOME });
169
+
170
+ expect(router.state.location.pathname).toBe(`/${Routes.FEEDBACK}`);
171
+ });
172
+
173
+ test.each(summaryRedirectScenarios)(
174
+ "should redirect to 'summary' if checkout's status is %s and there is no itemWithoutCustomerDecision with initial path %s",
175
+ async (status, path) => {
176
+ const checkoutMock = checkout({
177
+ status: status as CheckoutStatus,
178
+ items: [
179
+ { status: CheckoutItemStatus.KEPT },
180
+ { status: CheckoutItemStatus.KEPT },
181
+ { status: CheckoutItemStatus.KEPT },
182
+ { status: CheckoutItemStatus.KEPT },
183
+ { status: CheckoutItemStatus.KEPT },
184
+ ],
185
+ });
186
+ (useViewFirstAvailableCheckoutByCustomerId as jest.Mock).mockReturnValue([checkoutMock, QueryStatus.SUCCESS]);
187
+ (useStartCheckout as jest.Mock).mockReturnValue([mockStartCheckout, CommandStatus.SUCCESS]);
188
+
189
+ const { router } = renderCheckoutMiddleware({ path });
190
+
191
+ expect(router.state.location.pathname).toBe(`/${Routes.SUMMARY}`);
192
+ },
193
+ );
194
+
195
+ test.each(summaryNotRedirectScenarios)(
196
+ "should NOT redirect to 'item' if checkout's status is %s and there is no itemWithoutCustomerDecision with initial path %s",
197
+ async (status, path) => {
198
+ const checkoutMock = checkout({
199
+ status,
200
+ items: [
201
+ { status: CheckoutItemStatus.KEPT },
202
+ { status: CheckoutItemStatus.KEPT },
203
+ { status: CheckoutItemStatus.KEPT },
204
+ { status: CheckoutItemStatus.KEPT },
205
+ { status: CheckoutItemStatus.KEPT },
206
+ ],
207
+ });
208
+ (useViewFirstAvailableCheckoutByCustomerId as jest.Mock).mockReturnValue([checkoutMock, QueryStatus.SUCCESS]);
209
+ (useStartCheckout as jest.Mock).mockReturnValue([mockStartCheckout, CommandStatus.SUCCESS]);
210
+
211
+ const { router } = renderCheckoutMiddleware({ path });
212
+
213
+ expect(router.state.location.pathname).toBe(`/${path}`);
214
+ },
215
+ );
216
+
217
+ test.each(itemRedirectScenarios)(
218
+ "should redirect to 'item' if checkout's status is %s and there is any itemWithoutCustomerDecision with initial route %s",
219
+ async (status, path) => {
220
+ const checkoutMock = checkout({
221
+ status,
222
+ items: [
223
+ { id: "a5422445-0e62-4b11-8a3f-1bb5469ee154", status: CheckoutItemStatus.KEPT },
224
+ { id: "cfc76463-621a-485a-b152-c5a9c4dc43d9", status: CheckoutItemStatus.INITIAL },
225
+ { id: "a9a4fa26-fcc2-4efa-a6a8-fa29ea07b128", status: CheckoutItemStatus.INITIAL },
226
+ { id: "8af02b73-0b0a-46a0-a3a8-d9710815c739", status: CheckoutItemStatus.KEPT },
227
+ { id: "8890e00b-d4ed-4220-ae13-52cd88ae8ed5", status: CheckoutItemStatus.KEPT },
228
+ ],
229
+ });
230
+ (useViewFirstAvailableCheckoutByCustomerId as jest.Mock).mockReturnValue([checkoutMock, QueryStatus.SUCCESS]);
231
+ (useStartCheckout as jest.Mock).mockReturnValue([mockStartCheckout, CommandStatus.SUCCESS]);
232
+
233
+ const { router } = renderCheckoutMiddleware({ path });
234
+
235
+ expect(router.state.location.pathname).toBe(
236
+ `/${generatePath(Routes.ITEM, { id: "cfc76463-621a-485a-b152-c5a9c4dc43d9" })}`,
237
+ );
238
+ },
239
+ );
240
+
241
+ test.each(NOT_FINAL_STATUSES)(
242
+ "should redirect to the recently-reset 'item' if checkout's status is %s",
243
+ async (status) => {
244
+ const checkoutMock = checkout({
245
+ status,
246
+ items: [
247
+ { id: "a5422445-0e62-4b11-8a3f-1bb5469ee154", status: CheckoutItemStatus.KEPT },
248
+ { id: "cfc76463-621a-485a-b152-c5a9c4dc43d9", status: CheckoutItemStatus.INITIAL },
249
+ { id: "a9a4fa26-fcc2-4efa-a6a8-fa29ea07b128", status: CheckoutItemStatus.KEPT },
250
+ { id: "8af02b73-0b0a-46a0-a3a8-d9710815c739", status: CheckoutItemStatus.KEPT },
251
+ { id: "8890e00b-d4ed-4220-ae13-52cd88ae8ed5", status: CheckoutItemStatus.KEPT },
252
+ ],
253
+ });
254
+ (useViewFirstAvailableCheckoutByCustomerId as jest.Mock).mockReturnValue([checkoutMock, QueryStatus.SUCCESS]);
255
+ (useStartCheckout as jest.Mock).mockReturnValue([mockStartCheckout, CommandStatus.SUCCESS]);
256
+
257
+ const { router, result } = renderCheckoutMiddleware({ path: Routes.ITEM_DETAIL });
258
+
259
+ expect(router.state.location.pathname).toBe(
260
+ `/${generatePath(Routes.ITEM, { id: "cfc76463-621a-485a-b152-c5a9c4dc43d9" })}`,
261
+ );
262
+
263
+ const updatedCheckoutMock = checkout({
264
+ status,
265
+ items: [
266
+ { id: "a5422445-0e62-4b11-8a3f-1bb5469ee154", status: CheckoutItemStatus.KEPT },
267
+ { id: "cfc76463-621a-485a-b152-c5a9c4dc43d9", status: CheckoutItemStatus.INITIAL },
268
+ { id: "a9a4fa26-fcc2-4efa-a6a8-fa29ea07b128", status: CheckoutItemStatus.KEPT },
269
+ { id: "8af02b73-0b0a-46a0-a3a8-d9710815c739", status: CheckoutItemStatus.KEPT },
270
+ { id: "8890e00b-d4ed-4220-ae13-52cd88ae8ed5", status: CheckoutItemStatus.INITIAL },
271
+ ],
272
+ });
273
+ (useViewFirstAvailableCheckoutByCustomerId as jest.Mock).mockReturnValue([
274
+ updatedCheckoutMock,
275
+ QueryStatus.SUCCESS,
276
+ ]);
277
+
278
+ result.rerender(<RouterProvider router={router} />);
279
+
280
+ expect(router.state.location.pathname).toBe(
281
+ `/${generatePath(Routes.ITEM, { id: "8890e00b-d4ed-4220-ae13-52cd88ae8ed5" })}`,
282
+ );
283
+ },
284
+ );
285
+ });
@@ -0,0 +1,134 @@
1
+ import React, { FC, useEffect, useRef } from "react";
2
+ import { generatePath, useMatch, useNavigate } from "react-router-native";
3
+ import { Spinner } from "@lookiero/aurora";
4
+ import { useLogger } from "@lookiero/sty-psp-logging";
5
+ import { CheckoutStatus } from "../../../domain/checkout/model/checkout";
6
+ import { CheckoutItemStatus } from "../../../domain/checkoutItem/model/checkoutItem";
7
+ import { CheckoutItemProjection } from "../../../projection/checkoutItem/checkoutItem";
8
+ import { useStartCheckout } from "../../domain/checkout/react/useStartCheckout";
9
+ import { useViewFirstAvailableCheckoutByCustomerId } from "../../projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId";
10
+ import { useViewIsSizeChangeEnabledByCheckoutId } from "../../projection/checkout/react/useViewIsSizeChangeEnabledByCheckoutId";
11
+ import { Routes } from "./routes";
12
+ import { useBasePath } from "./useBasePath";
13
+
14
+ interface CheckoutMiddlewareProps {
15
+ readonly customerId: string;
16
+ readonly onNotAccessible: () => void;
17
+ readonly loader?: JSX.Element;
18
+ readonly children: JSX.Element;
19
+ }
20
+
21
+ const CheckoutMiddleware: FC<CheckoutMiddlewareProps> = ({
22
+ customerId,
23
+ onNotAccessible,
24
+ loader = <Spinner />,
25
+ children,
26
+ }) => {
27
+ const logger = useLogger();
28
+ const basePath = useBasePath();
29
+ const navigate = useNavigate();
30
+ const navigateRef = useRef(navigate);
31
+ navigateRef.current = navigate;
32
+
33
+ const itemRouteMatch = useMatch(`${basePath}/${Routes.ITEM}`);
34
+ const itemRouteMatchRef = useRef(itemRouteMatch);
35
+ itemRouteMatchRef.current = itemRouteMatch;
36
+ const itemDetailRouteMatch = useMatch(`${basePath}/${Routes.ITEM_DETAIL}`);
37
+ const itemDetailRouteMatchRef = useRef(itemDetailRouteMatch);
38
+ itemDetailRouteMatchRef.current = itemDetailRouteMatch;
39
+ const summaryRouteMatch = useMatch(`${basePath}/${Routes.SUMMARY}`);
40
+ const summaryRouteMatchRef = useRef(summaryRouteMatch);
41
+ summaryRouteMatchRef.current = summaryRouteMatch;
42
+ const summaryTabsRouteMatch = useMatch(`${basePath}/${Routes.SUMMARY}/${Routes.SUMMARY_TABS}`);
43
+ const summaryTabsRouteMatchRef = useRef(summaryTabsRouteMatch);
44
+ summaryTabsRouteMatchRef.current = summaryTabsRouteMatch;
45
+ const checkoutRouteMatch = useMatch(`${basePath}/${Routes.CHECKOUT}`);
46
+ const checkoutRouteMatchRef = useRef(checkoutRouteMatch);
47
+ checkoutRouteMatchRef.current = checkoutRouteMatch;
48
+ const feedbackRouteMatch = useMatch(`${basePath}/${Routes.FEEDBACK}`);
49
+ const feedbackRouteMatchRef = useRef(feedbackRouteMatch);
50
+ feedbackRouteMatchRef.current = feedbackRouteMatch;
51
+ const checkoutPaymentRouteMatch = useMatch(`${basePath}/${Routes.CHECKOUT}/${Routes.CHECKOUT_PAYMENT}`);
52
+ const checkoutPaymentRouteMatchRef = useRef(checkoutPaymentRouteMatch);
53
+ checkoutPaymentRouteMatchRef.current = checkoutPaymentRouteMatch;
54
+
55
+ const checkoutShown = useRef(false);
56
+ checkoutShown.current = checkoutShown.current || (Boolean(checkoutRouteMatch) && !Boolean(checkoutPaymentRouteMatch));
57
+
58
+ const [checkout] = useViewFirstAvailableCheckoutByCustomerId({ customerId });
59
+ const checkoutItemsRef = useRef<CheckoutItemProjection[]>();
60
+
61
+ /* This hook is mounted at this level, although not being used directly, for optimization (regarding cache) */
62
+ useViewIsSizeChangeEnabledByCheckoutId({ checkoutId: checkout?.id });
63
+
64
+ const [startCheckout] = useStartCheckout({ checkoutId: checkout?.id, logger });
65
+ useEffect(() => {
66
+ if (checkout?.id) {
67
+ startCheckout();
68
+ }
69
+ }, [checkout?.id, startCheckout]);
70
+
71
+ useEffect(() => {
72
+ /* Navigate to the feedback if checkout is submitted */
73
+ if (checkout?.status === CheckoutStatus.SUBMITTED && !feedbackRouteMatchRef.current) {
74
+ navigateRef.current(`${basePath}/${Routes.FEEDBACK}`, { replace: true });
75
+ } else if (
76
+ [CheckoutStatus.AVAILABLE, CheckoutStatus.STARTED, CheckoutStatus.NOTIFIED].includes(
77
+ checkout?.status as CheckoutStatus,
78
+ )
79
+ ) {
80
+ /**
81
+ * If the customer has just reset an item's decission, navigate to that item.
82
+ * Otherwise, navigate to the first item without customer decission.
83
+ */
84
+ const itemWithoutCustomerDecision =
85
+ checkout?.items.find(
86
+ (item) =>
87
+ item.status === CheckoutItemStatus.INITIAL &&
88
+ checkoutItemsRef.current?.find(
89
+ (previousItem) => previousItem.id === item.id && previousItem.status !== CheckoutItemStatus.INITIAL,
90
+ ),
91
+ ) || checkout?.items.find((item) => item.status === CheckoutItemStatus.INITIAL);
92
+
93
+ checkoutItemsRef.current = checkout?.items;
94
+
95
+ /* Navigate to the summary if required */
96
+ if (
97
+ itemWithoutCustomerDecision === undefined &&
98
+ !(
99
+ summaryRouteMatchRef.current ||
100
+ summaryTabsRouteMatchRef.current ||
101
+ itemDetailRouteMatchRef.current ||
102
+ checkoutRouteMatchRef.current ||
103
+ checkoutPaymentRouteMatchRef.current
104
+ )
105
+ ) {
106
+ navigateRef.current(`${basePath}/${Routes.SUMMARY}`, { replace: true });
107
+ }
108
+
109
+ if (
110
+ itemWithoutCustomerDecision &&
111
+ !(itemRouteMatchRef.current && itemRouteMatchRef.current.params.id === itemWithoutCustomerDecision.id)
112
+ ) {
113
+ navigateRef.current(generatePath(`${basePath}/${Routes.ITEM}`, { id: itemWithoutCustomerDecision.id }), {
114
+ replace: true,
115
+ });
116
+ }
117
+ }
118
+ }, [basePath, checkout?.status, checkout?.items]);
119
+
120
+ if (!checkout) {
121
+ return loader;
122
+ }
123
+
124
+ /* Prevent direct payment access */
125
+ if (checkoutPaymentRouteMatch && !checkoutShown.current) {
126
+ onNotAccessible();
127
+
128
+ return null;
129
+ }
130
+
131
+ return children;
132
+ };
133
+
134
+ export { CheckoutMiddleware };
@@ -0,0 +1,178 @@
1
+ import React, { FC, lazy, memo, Suspense } from "react";
2
+ import { Navigate, Outlet, useRoutes as reactRouterUseRoutes } from "react-router-native";
3
+ import { Spinner } from "@lookiero/aurora";
4
+ import { I18n } from "@lookiero/i18n-react";
5
+ import { Kameleoon } from "@lookiero/sty-psp-ab-testing";
6
+ import { Customer } from "../../../projection/shared/customer";
7
+ import { Order } from "../../../projection/shared/order";
8
+ import { Subscription } from "../../../projection/shared/subscription";
9
+ import { KameleoonEnvironment } from "../../ab-testing/kameleoonEnvironment";
10
+ import { Layout } from "../components/layouts/layout/Layout";
11
+ import { NewFeedbackExperimentProvider } from "../hooks/useNewFeedbackExperiment";
12
+ import { StaticInfoProvider } from "../hooks/useStaticInfo";
13
+ import { App } from "../views/App";
14
+ import { CheckoutPaymentModal } from "../views/checkout/components/checkoutPaymentModal/CheckoutPaymentModal";
15
+ import { CheckoutAccessibilityMiddleware } from "./CheckoutAccessibilityMiddleware";
16
+ import { CheckoutMiddleware } from "./CheckoutMiddleware";
17
+ import { Routes } from "./routes";
18
+ import { BasePathProvider } from "./useBasePath";
19
+
20
+ const Item = lazy(() => import("../views/item/Item").then((module) => ({ default: module.Item })));
21
+ const Summary = lazy(() => import("../views/summary/Summary").then((module) => ({ default: module.Summary })));
22
+ const SummaryTabs = lazy(() =>
23
+ import("../views/summaryTabs/SummaryTabs").then((module) => ({ default: module.SummaryTabs })),
24
+ );
25
+ const Checkout = lazy(() => import("../views/checkout/Checkout").then((module) => ({ default: module.Checkout })));
26
+ const Feedback = lazy(() => import("../views/feedback/Feedback").then((module) => ({ default: module.Feedback })));
27
+ const Return = lazy(() => import("../views/return/Return").then((module) => ({ default: module.Return })));
28
+
29
+ interface RoutingProps {
30
+ readonly basePath?: string;
31
+ readonly customer: Customer;
32
+ readonly order: Order | undefined;
33
+ readonly subscription: Subscription | undefined;
34
+ readonly locale: string;
35
+ readonly I18n: I18n;
36
+ readonly kameleoon: KameleoonEnvironment;
37
+ readonly layout: Layout;
38
+ readonly getAuthToken: () => Promise<string>;
39
+ readonly onNotAccessible: () => void;
40
+ readonly onCheckoutSubmitted?: () => void;
41
+ readonly onI18nError?: (err: Error) => void;
42
+ readonly useRedirect: () => Record<string, string>;
43
+ readonly useRoutes: typeof reactRouterUseRoutes;
44
+ }
45
+
46
+ const Routing: FC<RoutingProps> = ({
47
+ basePath = "",
48
+ customer,
49
+ order,
50
+ subscription,
51
+ locale,
52
+ I18n,
53
+ kameleoon,
54
+ layout,
55
+ getAuthToken,
56
+ onI18nError,
57
+ onNotAccessible,
58
+ onCheckoutSubmitted,
59
+ useRedirect,
60
+ useRoutes = reactRouterUseRoutes,
61
+ }) => {
62
+ return useRoutes([
63
+ {
64
+ path: "",
65
+ element: (
66
+ <BasePathProvider basePath={basePath}>
67
+ <CheckoutAccessibilityMiddleware customerId={customer?.customerId} onNotAccessible={onNotAccessible}>
68
+ <StaticInfoProvider customer={customer} kameleoon={kameleoon}>
69
+ <I18n loader={<Spinner />} locale={locale} onError={onI18nError}>
70
+ <Kameleoon loader={<Spinner />} siteCode={kameleoon.siteCode}>
71
+ <CheckoutMiddleware customerId={customer?.customerId as string} onNotAccessible={onNotAccessible}>
72
+ <NewFeedbackExperimentProvider>
73
+ <App>
74
+ <Outlet />
75
+ </App>
76
+ </NewFeedbackExperimentProvider>
77
+ </CheckoutMiddleware>
78
+ </Kameleoon>
79
+ </I18n>
80
+ </StaticInfoProvider>
81
+ </CheckoutAccessibilityMiddleware>
82
+ </BasePathProvider>
83
+ ),
84
+ children: [
85
+ {
86
+ path: Routes.ITEM,
87
+ element: (
88
+ <Suspense fallback={<Spinner />}>
89
+ <Item layout={layout} />
90
+ </Suspense>
91
+ ),
92
+ },
93
+ {
94
+ path: Routes.ITEM_DETAIL,
95
+ element: (
96
+ <Suspense fallback={<Spinner />}>
97
+ <Item layout={layout} />
98
+ </Suspense>
99
+ ),
100
+ },
101
+ {
102
+ path: Routes.SUMMARY,
103
+ element: (
104
+ <Suspense fallback={<Spinner />}>
105
+ <Summary layout={layout}>
106
+ <Outlet />
107
+ </Summary>
108
+ </Suspense>
109
+ ),
110
+ children: [
111
+ {
112
+ path: Routes.SUMMARY_TABS,
113
+ element: (
114
+ <Suspense fallback={<Spinner />}>
115
+ <SummaryTabs />
116
+ </Suspense>
117
+ ),
118
+ },
119
+ ],
120
+ },
121
+ {
122
+ path: Routes.CHECKOUT,
123
+ element: (
124
+ <Suspense fallback={<Spinner />}>
125
+ <Checkout layout={layout} useRedirect={useRedirect}>
126
+ <Outlet />
127
+ </Checkout>
128
+ </Suspense>
129
+ ),
130
+ children: [
131
+ {
132
+ path: Routes.CHECKOUT_PAYMENT,
133
+ element: (
134
+ <CheckoutPaymentModal
135
+ coupon={order?.coupon || null}
136
+ getAuthToken={getAuthToken}
137
+ isFirstOrder={order?.isFirstOrder as boolean}
138
+ orderNumber={order?.orderNumber as number}
139
+ subscription={subscription as Subscription}
140
+ onCheckoutSubmitted={onCheckoutSubmitted}
141
+ />
142
+ ),
143
+ },
144
+ ],
145
+ },
146
+ {
147
+ path: Routes.FEEDBACK,
148
+ element: (
149
+ <Suspense fallback={<Spinner />}>
150
+ <Feedback layout={layout} />
151
+ </Suspense>
152
+ ),
153
+ },
154
+ {
155
+ path: Routes.RETURN,
156
+ element: (
157
+ <Suspense fallback={<Spinner />}>
158
+ <Return layout={layout} />
159
+ </Suspense>
160
+ ),
161
+ },
162
+ {
163
+ path: "*",
164
+ element: <Navigate to={`${Routes.HOME}`} replace />,
165
+ },
166
+ ],
167
+ },
168
+ ]);
169
+ };
170
+
171
+ /**
172
+ * Provided useRoutes is not stable (when integrated with Sentry) as it's rendering a different component tree.
173
+ *
174
+ * https://github.com/getsentry/sentry-javascript/blob/master/packages/react/src/reactrouterv6.tsx#L221
175
+ * (SentryRoutes is a new component after each re-render)
176
+ */
177
+ const MemoizedRouting = memo(Routing);
178
+ export { MemoizedRouting as Routing };
@@ -0,0 +1 @@
1
+ export { NativeRouter as Router } from "react-router-native";
@@ -0,0 +1 @@
1
+ export { BrowserRouter as Router } from "react-router-dom";
@@ -0,0 +1,11 @@
1
+ export enum Routes {
2
+ HOME = "",
3
+ ITEM_DETAIL = "item/:id/detail",
4
+ ITEM = "item/:id",
5
+ SUMMARY = "summary",
6
+ SUMMARY_TABS = "tabs/:tab",
7
+ CHECKOUT = "checkout",
8
+ CHECKOUT_PAYMENT = "payment",
9
+ FEEDBACK = "feedback",
10
+ RETURN = "return/:id",
11
+ }
@@ -0,0 +1,19 @@
1
+ import { renderHook, waitFor } from "@testing-library/react-native";
2
+ import React, { FC } from "react";
3
+ import { BasePathProvider, useBasePath as sut } from "./useBasePath";
4
+
5
+ const basePath = "/checkout";
6
+
7
+ interface WrapperProps {
8
+ readonly children: JSX.Element;
9
+ }
10
+
11
+ const Wrapper: FC<WrapperProps> = ({ children }) => <BasePathProvider basePath={basePath}>{children}</BasePathProvider>;
12
+
13
+ describe("useBasePath hook", () => {
14
+ it("returns the BasePathProvider provided basePath", async () => {
15
+ const { result } = renderHook(() => sut(), { wrapper: Wrapper });
16
+
17
+ await waitFor(() => expect(result.current).toStrictEqual(basePath));
18
+ });
19
+ });
@@ -0,0 +1,24 @@
1
+ import React, { createContext, FC, useContext } from "react";
2
+ import invariant from "tiny-invariant";
3
+
4
+ const BasePathContext = createContext<string>(null as unknown as string);
5
+
6
+ interface BasePathProviderProps {
7
+ readonly children: JSX.Element;
8
+ readonly basePath: string;
9
+ }
10
+
11
+ export const BasePathProvider: FC<BasePathProviderProps> = ({ basePath, children }) => (
12
+ <BasePathContext.Provider value={basePath}>{children}</BasePathContext.Provider>
13
+ );
14
+
15
+ export const useBasePath = () => {
16
+ const basePath = useContext(BasePathContext);
17
+
18
+ invariant(
19
+ basePath !== null,
20
+ "Your are trying to use the useBasePath hook without wrapping your app with the <BasePathProvider>.",
21
+ );
22
+
23
+ return basePath;
24
+ };
@@ -0,0 +1,3 @@
1
+ enum UISettings {}
2
+
3
+ export { UISettings };
@@ -0,0 +1,17 @@
1
+ import React, { FC, Fragment, ReactElement } from "react";
2
+
3
+ interface CreateWrapperFunctionArgs {
4
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
5
+ readonly wrapper?: FC<any>;
6
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
7
+ readonly initialProps?: Record<string, any>;
8
+ }
9
+ interface CreateWrapperFunction {
10
+ (args: CreateWrapperFunctionArgs): FC<{ children: ReactElement }>;
11
+ }
12
+ const createWrapper: CreateWrapperFunction =
13
+ ({ wrapper: Wrapper = Fragment, initialProps = {} }) =>
14
+ // eslint-disable-next-line react/display-name, react/prop-types
15
+ ({ children }) => <Wrapper {...initialProps}>{children}</Wrapper>;
16
+
17
+ export { createWrapper };