@lookiero/checkout 0.3.6 → 0.3.7

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 (479) hide show
  1. package/dist/package.json +116 -0
  2. package/dist/src/ExpoRoot.d.ts +5 -0
  3. package/dist/src/ExpoRoot.js +94 -0
  4. package/dist/{index.d.ts → src/index.d.ts} +1 -1
  5. package/dist/{index.js → src/index.js} +6 -3
  6. package/dist/{infrastructure → src/infrastructure}/delivery/bootstrap.d.ts +1 -1
  7. package/dist/{infrastructure → src/infrastructure}/delivery/bootstrap.js +3 -3
  8. package/dist/{infrastructure → src/infrastructure}/delivery/http/fetchHttpClient.d.ts +1 -1
  9. package/dist/src/infrastructure/delivery/http/fetchHttpClient.js +20 -0
  10. package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useMarkCheckoutAsPaid.d.ts +2 -2
  11. package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useMarkCheckoutAsPaid.js +7 -3
  12. package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.d.ts +1 -1
  13. package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.js +2 -2
  14. package/dist/{infrastructure → src/infrastructure}/ui/Root.d.ts +3 -0
  15. package/dist/{infrastructure → src/infrastructure}/ui/Root.js +3 -2
  16. package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.js +2 -2
  17. package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.js +1 -1
  18. package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +3 -3
  19. package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +1 -1
  20. package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.d.ts +8 -1
  21. package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.js +7 -0
  22. package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutAccessibilityMiddleware.js +1 -1
  23. package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutMiddleware.js +5 -1
  24. package/dist/{infrastructure → src/infrastructure}/ui/routing/Routing.d.ts +3 -2
  25. package/dist/{infrastructure → src/infrastructure}/ui/routing/Routing.js +8 -2
  26. package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.d.ts +3 -1
  27. package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.js +2 -0
  28. package/dist/{infrastructure → src/infrastructure}/ui/views/App.js +2 -0
  29. package/dist/src/infrastructure/ui/views/checkout/Checkout.d.ts +7 -0
  30. package/dist/src/infrastructure/ui/views/checkout/Checkout.js +78 -0
  31. package/dist/src/infrastructure/ui/views/checkout/Checkout.style.d.ts +22 -0
  32. package/dist/src/infrastructure/ui/views/checkout/Checkout.style.js +25 -0
  33. package/dist/src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.d.ts +7 -0
  34. package/dist/src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.js +25 -0
  35. package/dist/src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.style.js +19 -0
  36. package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.js +1 -1
  37. package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.js +1 -1
  38. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +1 -1
  39. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.d.ts +1 -1
  40. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.js +2 -2
  41. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.js +1 -1
  42. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +1 -1
  43. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +1 -1
  44. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +1 -1
  45. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.js +1 -1
  46. package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +1 -1
  47. package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +16 -0
  48. package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.js +1 -1
  49. package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.js +1 -1
  50. package/dist/src/shared/notifications/domain/notification/command/createNotification.d.ts +17 -0
  51. package/dist/src/shared/notifications/domain/notification/command/createNotification.js +7 -0
  52. package/dist/src/shared/notifications/domain/notification/command/removeNotification.d.ts +13 -0
  53. package/dist/src/shared/notifications/domain/notification/command/removeNotification.js +4 -0
  54. package/dist/src/shared/notifications/domain/notification/command/removeNotification.tes.d.ts +1 -0
  55. package/dist/src/shared/notifications/domain/notification/command/removeNotification.tes.js +9 -0
  56. package/dist/src/shared/notifications/domain/notification/model/notification.d.ts +18 -0
  57. package/dist/src/shared/notifications/domain/notification/model/notification.js +27 -0
  58. package/dist/src/shared/notifications/domain/notification/model/notificationCreated.d.ts +13 -0
  59. package/dist/src/shared/notifications/domain/notification/model/notificationCreated.js +4 -0
  60. package/dist/src/shared/notifications/domain/notification/model/notificationRemoved.d.ts +13 -0
  61. package/dist/src/shared/notifications/domain/notification/model/notificationRemoved.js +4 -0
  62. package/dist/src/shared/notifications/domain/notification/model/notifications.d.ts +7 -0
  63. package/dist/src/shared/notifications/domain/notification/model/notifications.js +1 -0
  64. package/dist/src/shared/notifications/index.d.ts +8 -0
  65. package/dist/src/shared/notifications/index.js +5 -0
  66. package/dist/src/shared/notifications/infrastructure/delivery/bootstrap.d.ts +13 -0
  67. package/dist/src/shared/notifications/infrastructure/delivery/bootstrap.js +14 -0
  68. package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotifications.d.ts +18 -0
  69. package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotifications.js +23 -0
  70. package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.d.ts +8 -0
  71. package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.js +16 -0
  72. package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.d.ts +5 -0
  73. package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.js +10 -0
  74. package/dist/src/shared/notifications/infrastructure/domain/notification/react/useCreateNotification.d.ts +16 -0
  75. package/dist/src/shared/notifications/infrastructure/domain/notification/react/useCreateNotification.js +16 -0
  76. package/dist/src/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.d.ts +12 -0
  77. package/dist/src/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.js +10 -0
  78. package/dist/src/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.d.ts +7 -0
  79. package/dist/src/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.js +13 -0
  80. package/dist/src/shared/notifications/infrastructure/persistence/notificationDto.d.ts +8 -0
  81. package/dist/src/shared/notifications/infrastructure/persistence/notificationDto.js +1 -0
  82. package/dist/src/shared/notifications/infrastructure/persistence/storage.d.ts +7 -0
  83. package/dist/src/shared/notifications/infrastructure/persistence/storage.js +1 -0
  84. package/dist/src/shared/notifications/infrastructure/projection/notification/notification.d.ts +7 -0
  85. package/dist/src/shared/notifications/infrastructure/projection/notification/notification.js +7 -0
  86. package/dist/src/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.d.ts +13 -0
  87. package/dist/src/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.js +6 -0
  88. package/dist/src/shared/notifications/infrastructure/ui/components/NotificationItem.d.ts +12 -0
  89. package/dist/src/shared/notifications/infrastructure/ui/components/NotificationItem.js +24 -0
  90. package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.d.ts +9 -0
  91. package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.js +13 -0
  92. package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.style.d.ts +25 -0
  93. package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.style.js +28 -0
  94. package/dist/src/shared/notifications/infrastructure/ui/notificationsRoot.d.ts +13 -0
  95. package/dist/src/shared/notifications/infrastructure/ui/notificationsRoot.js +11 -0
  96. package/dist/src/shared/notifications/infrastructure/ui/views/Notifications.d.ts +3 -0
  97. package/dist/src/shared/notifications/infrastructure/ui/views/Notifications.js +11 -0
  98. package/dist/src/shared/notifications/projection/notification/listNotifications.d.ts +19 -0
  99. package/dist/src/shared/notifications/projection/notification/listNotifications.js +5 -0
  100. package/dist/src/shared/notifications/projection/notification/notification.d.ts +8 -0
  101. package/dist/src/shared/notifications/projection/notification/notification.js +1 -0
  102. package/dist/src/shared/notifications/projection/notification/react/useListNotifications.d.ts +7 -0
  103. package/dist/src/shared/notifications/projection/notification/react/useListNotifications.js +15 -0
  104. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.style.js +1 -1
  105. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.js +1 -1
  106. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.style.js +1 -1
  107. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.js +1 -1
  108. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.style.js +1 -1
  109. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.js +1 -1
  110. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.style.js +1 -1
  111. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.js +1 -1
  112. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.js +1 -1
  113. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.style.js +1 -1
  114. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.style.js +1 -1
  115. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.style.js +1 -1
  116. package/dist/src/shared/ui/components/layouts/stack/Stack.d.ts +8 -0
  117. package/dist/src/shared/ui/components/layouts/stack/Stack.js +29 -0
  118. package/dist/src/shared/ui/components/layouts/stack/Stack.style.d.ts +10 -0
  119. package/dist/src/shared/ui/components/layouts/stack/Stack.style.js +11 -0
  120. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.js +1 -1
  121. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.style.js +1 -1
  122. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.style.js +1 -1
  123. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.js +1 -1
  124. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.style.js +1 -1
  125. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.js +1 -1
  126. package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.style.js +1 -1
  127. package/dist/src/shared/ui/components/molecules/toast/Toast.d.ts +25 -0
  128. package/dist/src/shared/ui/components/molecules/toast/Toast.js +22 -0
  129. package/dist/src/shared/ui/components/molecules/toast/Toast.style.d.ts +34 -0
  130. package/dist/src/shared/ui/components/molecules/toast/Toast.style.js +37 -0
  131. package/package.json +23 -4
  132. package/dist/infrastructure/delivery/http/fetchHttpClient.js +0 -20
  133. /package/dist/{domain → src/domain}/checkout/command/markCheckoutAsPaid.d.ts +0 -0
  134. /package/dist/{domain → src/domain}/checkout/command/markCheckoutAsPaid.js +0 -0
  135. /package/dist/{domain → src/domain}/checkout/command/startCheckout.d.ts +0 -0
  136. /package/dist/{domain → src/domain}/checkout/command/startCheckout.js +0 -0
  137. /package/dist/{domain → src/domain}/checkout/model/checkout.d.ts +0 -0
  138. /package/dist/{domain → src/domain}/checkout/model/checkout.js +0 -0
  139. /package/dist/{domain → src/domain}/checkout/model/checkoutPaid.d.ts +0 -0
  140. /package/dist/{domain → src/domain}/checkout/model/checkoutPaid.js +0 -0
  141. /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.d.ts +0 -0
  142. /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.js +0 -0
  143. /package/dist/{domain → src/domain}/checkout/model/checkouts.d.ts +0 -0
  144. /package/dist/{domain → src/domain}/checkout/model/checkouts.js +0 -0
  145. /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.d.ts +0 -0
  146. /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.js +0 -0
  147. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.d.ts +0 -0
  148. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.js +0 -0
  149. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.d.ts +0 -0
  150. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.js +0 -0
  151. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookings.d.ts +0 -0
  152. /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookings.js +0 -0
  153. /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.d.ts +0 -0
  154. /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.js +0 -0
  155. /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.d.ts +0 -0
  156. /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.js +0 -0
  157. /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.d.ts +0 -0
  158. /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.js +0 -0
  159. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.d.ts +0 -0
  160. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.js +0 -0
  161. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.d.ts +0 -0
  162. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.js +0 -0
  163. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.d.ts +0 -0
  164. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.js +0 -0
  165. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.d.ts +0 -0
  166. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.js +0 -0
  167. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.d.ts +0 -0
  168. /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.js +0 -0
  169. /package/dist/{domain → src/domain}/checkoutItem/model/currency.d.ts +0 -0
  170. /package/dist/{domain → src/domain}/checkoutItem/model/currency.js +0 -0
  171. /package/dist/{domain → src/domain}/checkoutItem/model/feedbacks.d.ts +0 -0
  172. /package/dist/{domain → src/domain}/checkoutItem/model/feedbacks.js +0 -0
  173. /package/dist/{domain → src/domain}/checkoutItem/model/price.d.ts +0 -0
  174. /package/dist/{domain → src/domain}/checkoutItem/model/price.js +0 -0
  175. /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.d.ts +0 -0
  176. /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.js +0 -0
  177. /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.d.ts +0 -0
  178. /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.js +0 -0
  179. /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.d.ts +0 -0
  180. /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.js +0 -0
  181. /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.d.ts +0 -0
  182. /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.js +0 -0
  183. /package/dist/{infrastructure → src/infrastructure}/delivery/baseBootstrap.d.ts +0 -0
  184. /package/dist/{infrastructure → src/infrastructure}/delivery/baseBootstrap.js +0 -0
  185. /package/dist/{infrastructure → src/infrastructure}/delivery/http/httpClient.d.ts +0 -0
  186. /package/dist/{infrastructure → src/infrastructure}/delivery/http/httpClient.js +0 -0
  187. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.d.ts +0 -0
  188. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.js +0 -0
  189. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.d.ts +0 -0
  190. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.js +0 -0
  191. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.d.ts +0 -0
  192. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.js +0 -0
  193. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.d.ts +0 -0
  194. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.js +0 -0
  195. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.d.ts +0 -0
  196. /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.js +0 -0
  197. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckouts.d.ts +0 -0
  198. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckouts.js +0 -0
  199. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsMarkAsPaid.d.ts +0 -0
  200. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsMarkAsPaid.js +0 -0
  201. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.d.ts +0 -0
  202. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.js +0 -0
  203. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useStartCheckout.d.ts +0 -0
  204. /package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useStartCheckout.js +0 -0
  205. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookings.d.ts +0 -0
  206. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookings.js +0 -0
  207. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.d.ts +0 -0
  208. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.js +0 -0
  209. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.d.ts +0 -0
  210. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.js +0 -0
  211. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItems.d.ts +0 -0
  212. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItems.js +0 -0
  213. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.d.ts +0 -0
  214. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.js +0 -0
  215. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.d.ts +0 -0
  216. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.js +0 -0
  217. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.d.ts +0 -0
  218. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.js +0 -0
  219. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +0 -0
  220. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useKeepCheckoutItem.js +0 -0
  221. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +0 -0
  222. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReplaceCheckoutItem.js +0 -0
  223. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +0 -0
  224. /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReturnCheckoutItem.js +0 -0
  225. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.d.ts +0 -0
  226. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.js +0 -0
  227. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useIncrementIntroShownCount.d.ts +0 -0
  228. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useIncrementIntroShownCount.js +0 -0
  229. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useUpdateUiSetting.d.ts +0 -0
  230. /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useUpdateUiSetting.js +0 -0
  231. /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.d.ts +0 -0
  232. /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.js +0 -0
  233. /package/dist/{infrastructure → src/infrastructure}/persistence/storage.d.ts +0 -0
  234. /package/dist/{infrastructure → src/infrastructure}/persistence/storage.js +0 -0
  235. /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.d.ts +0 -0
  236. /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.js +0 -0
  237. /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.d.ts +0 -0
  238. /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.js +0 -0
  239. /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.d.ts +0 -0
  240. /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.js +0 -0
  241. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.d.ts +0 -0
  242. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.js +0 -0
  243. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpCheckoutByIdView.d.ts +0 -0
  244. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpCheckoutByIdView.js +0 -0
  245. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts +0 -0
  246. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.js +0 -0
  247. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts +0 -0
  248. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFiveItemsDiscountByCustomerIdView.js +0 -0
  249. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts +0 -0
  250. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.js +0 -0
  251. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
  252. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js +0 -0
  253. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.d.ts +0 -0
  254. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.js +0 -0
  255. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
  256. /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js +0 -0
  257. /package/dist/{infrastructure → src/infrastructure}/projection/checkoutBooking/httpCheckoutBookingByIdView.d.ts +0 -0
  258. /package/dist/{infrastructure → src/infrastructure}/projection/checkoutBooking/httpCheckoutBookingByIdView.js +0 -0
  259. /package/dist/{infrastructure → src/infrastructure}/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +0 -0
  260. /package/dist/{infrastructure → src/infrastructure}/projection/checkoutItem/httpCheckoutItemByIdView.js +0 -0
  261. /package/dist/{infrastructure → src/infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.d.ts +0 -0
  262. /package/dist/{infrastructure → src/infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.js +0 -0
  263. /package/dist/{infrastructure → src/infrastructure}/projection/pricing/httpPricingByCheckoutIdView.d.ts +0 -0
  264. /package/dist/{infrastructure → src/infrastructure}/projection/pricing/httpPricingByCheckoutIdView.js +0 -0
  265. /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.d.ts +0 -0
  266. /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.js +0 -0
  267. /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.d.ts +0 -0
  268. /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.js +0 -0
  269. /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.d.ts +0 -0
  270. /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.js +0 -0
  271. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useShouldIntroBeShown.d.ts +0 -0
  272. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useShouldIntroBeShown.js +0 -0
  273. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewIntroShownCount.d.ts +0 -0
  274. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewIntroShownCount.js +0 -0
  275. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.d.ts +0 -0
  276. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.js +0 -0
  277. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.d.ts +0 -0
  278. /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.js +0 -0
  279. /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.d.ts +0 -0
  280. /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.js +0 -0
  281. /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.style.d.ts +0 -0
  282. /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.style.js +0 -0
  283. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.d.ts +0 -0
  284. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.d.ts +0 -0
  285. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.js +0 -0
  286. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.d.ts +0 -0
  287. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.style.d.ts +0 -0
  288. /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.style.js +0 -0
  289. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.d.ts +0 -0
  290. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.js +0 -0
  291. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.d.ts +0 -0
  292. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.js +0 -0
  293. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.d.ts +0 -0
  294. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.js +0 -0
  295. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.d.ts +0 -0
  296. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.js +0 -0
  297. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +0 -0
  298. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.js +0 -0
  299. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.d.ts +0 -0
  300. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.js +0 -0
  301. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.d.ts +0 -0
  302. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +0 -0
  303. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.d.ts +0 -0
  304. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.js +0 -0
  305. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.d.ts +0 -0
  306. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.d.ts +0 -0
  307. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +0 -0
  308. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.d.ts +0 -0
  309. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.js +0 -0
  310. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.d.ts +0 -0
  311. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.js +0 -0
  312. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.d.ts +0 -0
  313. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +0 -0
  314. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.d.ts +0 -0
  315. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +0 -0
  316. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.d.ts +0 -0
  317. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +0 -0
  318. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.d.ts +0 -0
  319. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.js +0 -0
  320. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.d.ts +0 -0
  321. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.d.ts +0 -0
  322. /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.js +0 -0
  323. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/SafeAreaScrollView.d.ts +0 -0
  324. /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/SafeAreaScrollView.js +0 -0
  325. /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.d.ts +0 -0
  326. /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.js +0 -0
  327. /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutAccessibilityMiddleware.d.ts +0 -0
  328. /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutMiddleware.d.ts +0 -0
  329. /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.d.ts +0 -0
  330. /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.js +0 -0
  331. /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.d.ts +0 -0
  332. /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.js +0 -0
  333. /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.d.ts +0 -0
  334. /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.js +0 -0
  335. /package/dist/{infrastructure → src/infrastructure}/ui/theme/theme.d.ts +0 -0
  336. /package/dist/{infrastructure → src/infrastructure}/ui/theme/theme.js +0 -0
  337. /package/dist/{infrastructure → src/infrastructure}/ui/views/App.d.ts +0 -0
  338. /package/dist/{infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.d.ts → src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.style.d.ts} +0 -0
  339. /package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.d.ts +0 -0
  340. /package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.style.d.ts +0 -0
  341. /package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.style.js +0 -0
  342. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.d.ts +0 -0
  343. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.style.d.ts +0 -0
  344. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.style.js +0 -0
  345. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +0 -0
  346. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.js +0 -0
  347. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +0 -0
  348. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.style.js +0 -0
  349. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.d.ts +0 -0
  350. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +0 -0
  351. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +0 -0
  352. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.style.d.ts +0 -0
  353. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.style.js +0 -0
  354. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.d.ts +0 -0
  355. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.style.d.ts +0 -0
  356. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.style.js +0 -0
  357. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.d.ts +0 -0
  358. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +0 -0
  359. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.d.ts +0 -0
  360. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +0 -0
  361. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.d.ts +0 -0
  362. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.d.ts +0 -0
  363. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.js +0 -0
  364. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.d.ts +0 -0
  365. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.d.ts +0 -0
  366. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +0 -0
  367. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +0 -0
  368. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +0 -0
  369. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +0 -0
  370. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.d.ts +0 -0
  371. /package/dist/{infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts → src/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.d.ts} +0 -0
  372. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.js +0 -0
  373. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.d.ts +0 -0
  374. /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +0 -0
  375. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.d.ts +0 -0
  376. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.style.d.ts +0 -0
  377. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.style.js +0 -0
  378. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.d.ts +0 -0
  379. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.js +0 -0
  380. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +0 -0
  381. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +0 -0
  382. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.d.ts +0 -0
  383. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +0 -0
  384. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.d.ts +0 -0
  385. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.js +0 -0
  386. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.d.ts +0 -0
  387. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.js +0 -0
  388. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.style.d.ts +0 -0
  389. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.style.js +0 -0
  390. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowDown.d.ts +0 -0
  391. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowDown.js +0 -0
  392. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowUp.d.ts +0 -0
  393. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowUp.js +0 -0
  394. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +0 -0
  395. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.style.d.ts +0 -0
  396. /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.style.js +0 -0
  397. /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.d.ts +0 -0
  398. /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.js +0 -0
  399. /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.d.ts +0 -0
  400. /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.js +0 -0
  401. /package/dist/{projection → src/projection}/checkout/checkout.d.ts +0 -0
  402. /package/dist/{projection → src/projection}/checkout/checkout.js +0 -0
  403. /package/dist/{projection → src/projection}/checkout/viewCheckoutById.d.ts +0 -0
  404. /package/dist/{projection → src/projection}/checkout/viewCheckoutById.js +0 -0
  405. /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
  406. /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.js +0 -0
  407. /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.d.ts +0 -0
  408. /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.js +0 -0
  409. /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
  410. /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.js +0 -0
  411. /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.d.ts +0 -0
  412. /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.js +0 -0
  413. /package/dist/{projection → src/projection}/checkoutBooking/checkoutBooking.d.ts +0 -0
  414. /package/dist/{projection → src/projection}/checkoutBooking/checkoutBooking.js +0 -0
  415. /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.d.ts +0 -0
  416. /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.js +0 -0
  417. /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.d.ts +0 -0
  418. /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.js +0 -0
  419. /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.d.ts +0 -0
  420. /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.js +0 -0
  421. /package/dist/{projection → src/projection}/feedback/feedback.d.ts +0 -0
  422. /package/dist/{projection → src/projection}/feedback/feedback.js +0 -0
  423. /package/dist/{projection → src/projection}/payment/paymentFlowPayload.d.ts +0 -0
  424. /package/dist/{projection → src/projection}/payment/paymentFlowPayload.js +0 -0
  425. /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
  426. /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.js +0 -0
  427. /package/dist/{projection → src/projection}/pricing/pricing.d.ts +0 -0
  428. /package/dist/{projection → src/projection}/pricing/pricing.js +0 -0
  429. /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.d.ts +0 -0
  430. /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.js +0 -0
  431. /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.d.ts +0 -0
  432. /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.js +0 -0
  433. /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.d.ts +0 -0
  434. /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.js +0 -0
  435. /package/dist/{projection → src/projection}/shared/price.d.ts +0 -0
  436. /package/dist/{projection → src/projection}/shared/price.js +0 -0
  437. /package/dist/{projection → src/projection}/shared/size.d.ts +0 -0
  438. /package/dist/{projection → src/projection}/shared/size.js +0 -0
  439. /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.d.ts +0 -0
  440. /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.js +0 -0
  441. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.d.ts +0 -0
  442. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.js +0 -0
  443. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.style.d.ts +0 -0
  444. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.d.ts +0 -0
  445. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.style.d.ts +0 -0
  446. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.d.ts +0 -0
  447. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.style.d.ts +0 -0
  448. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.d.ts +0 -0
  449. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.style.d.ts +0 -0
  450. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.d.ts +0 -0
  451. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.style.d.ts +0 -0
  452. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.style.js +0 -0
  453. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.d.ts +0 -0
  454. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.js +0 -0
  455. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.style.d.ts +0 -0
  456. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.style.js +0 -0
  457. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.d.ts +0 -0
  458. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.style.d.ts +0 -0
  459. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.d.ts +0 -0
  460. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.js +0 -0
  461. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.style.d.ts +0 -0
  462. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.d.ts +0 -0
  463. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.js +0 -0
  464. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.style.d.ts +0 -0
  465. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.d.ts +0 -0
  466. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.js +0 -0
  467. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.style.d.ts +0 -0
  468. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.style.js +0 -0
  469. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.d.ts +0 -0
  470. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.style.d.ts +0 -0
  471. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.d.ts +0 -0
  472. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.js +0 -0
  473. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.style.d.ts +0 -0
  474. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.d.ts +0 -0
  475. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.style.d.ts +0 -0
  476. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.d.ts +0 -0
  477. /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.style.d.ts +0 -0
  478. /package/dist/{infrastructure/ui/shared → src/shared/ui}/hooks/useScreenSize.d.ts +0 -0
  479. /package/dist/{infrastructure/ui/shared → src/shared/ui}/hooks/useScreenSize.js +0 -0
@@ -0,0 +1,78 @@
1
+ import { Button } from "@lookiero/aurora-next/build/components/atoms/Button/Button";
2
+ import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Text";
3
+ import { useI18nMessage } from "@lookiero/i18n-react";
4
+ import { CommandStatus, QueryStatus } from "@lookiero/messaging-react";
5
+ import { CheckoutStatus, PaymentFlow } from "@lookiero/payments-front";
6
+ import React, { useCallback, useRef, useState } from "react";
7
+ import { View } from "react-native";
8
+ import { useNavigate } from "react-router-native";
9
+ import { useCreateNotification } from "../../../../shared/notifications";
10
+ import { NotificationLevel } from "../../../../shared/notifications/domain/notification/model/notification";
11
+ import { Spinner } from "../../../../shared/ui/components/atoms/spinner/Spinner";
12
+ import { useMarkCheckoutAsPaid } from "../../../domain/checkout/react/useMarkCheckoutAsPaid";
13
+ import { useViewFirstAvailableCheckoutByCustomerId } from "../../../projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId";
14
+ import { useViewPaymentFlowPayloadByCheckoutId } from "../../../projection/payment/react/useViewPaymentFlowPayloadByCheckoutId";
15
+ import { Body } from "../../components/layouts/body/Body";
16
+ import { SafeAreaScrollView } from "../../components/templates/SafeAreaScrollView";
17
+ import { I18nMessages } from "../../i18n/i18n";
18
+ import { Routes } from "../../routing/routes";
19
+ import { style } from "./Checkout.style";
20
+ import { CheckoutSuccessModal } from "./components/CheckoutSuccessModal";
21
+ const Checkout = ({ customerId, authToken }) => {
22
+ const titleText = useI18nMessage({ id: I18nMessages.CHECKOUT_TITLE });
23
+ const payButtonText = useI18nMessage({ id: I18nMessages.CHECKOUT_PAY_BUTTON });
24
+ const paymentFlowRef = useRef(null);
25
+ const [checkout, checkoutStatus] = useViewFirstAvailableCheckoutByCustomerId({ customerId });
26
+ const [paymentFlowPayload] = useViewPaymentFlowPayloadByCheckoutId({
27
+ checkoutId: checkout?.id,
28
+ });
29
+ const [markAsPaid, markAsPaidStatus] = useMarkCheckoutAsPaid({ checkoutId: checkout?.id });
30
+ const [createNotification] = useCreateNotification();
31
+ const [processingCheckout, setProcessingCheckout] = useState(false);
32
+ const navigate = useNavigate();
33
+ const onSubmitCheckout = useCallback(() => {
34
+ if (!paymentFlowRef.current) {
35
+ return;
36
+ }
37
+ setProcessingCheckout(true);
38
+ paymentFlowRef.current.startLegacyBoxCheckout(
39
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
40
+ // @ts-ignore
41
+ paymentFlowPayload,
42
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
43
+ // @ts-ignore
44
+ async ({ status, final, ...rest }) => {
45
+ console.log("Checkout flow event", status, final, rest);
46
+ if (status === CheckoutStatus.REJECTED) {
47
+ createNotification({ level: NotificationLevel.ERROR, bodyI18nKey: I18nMessages.CHECKOUT_TOAST_REJECTED });
48
+ }
49
+ else if (status === CheckoutStatus.ERROR) {
50
+ createNotification({ level: NotificationLevel.ERROR, bodyI18nKey: I18nMessages.CHECKOUT_TOAST_ERROR });
51
+ }
52
+ else if (status === CheckoutStatus.FULFILLED) {
53
+ markAsPaid();
54
+ }
55
+ if (final) {
56
+ setProcessingCheckout(false);
57
+ }
58
+ });
59
+ }, [createNotification, markAsPaid, paymentFlowPayload]);
60
+ const handleOnSuccessModalDismiss = useCallback(() => navigate(Routes.FEEDBACK), [navigate]);
61
+ const dependenciesLoadedStatuses = [QueryStatus.ERROR, QueryStatus.SUCCESS];
62
+ const dependenciesLoaded = dependenciesLoadedStatuses.includes(checkoutStatus);
63
+ if (!dependenciesLoaded)
64
+ return React.createElement(Spinner, null);
65
+ return (React.createElement(React.Fragment, null,
66
+ React.createElement(SafeAreaScrollView, null,
67
+ React.createElement(Body, { style: { column: style.bodyColumn } },
68
+ React.createElement(View, { style: style.container },
69
+ React.createElement(View, { style: style.content },
70
+ React.createElement(Text, { level: 3, style: style.title, heading: true }, titleText),
71
+ React.createElement(Button, { busy: processingCheckout || markAsPaidStatus === CommandStatus.LOADING,
72
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
73
+ // @ts-ignore
74
+ testID: "submit-checkout-button", onPress: onSubmitCheckout }, payButtonText),
75
+ React.createElement(CheckoutSuccessModal, { visible: markAsPaidStatus === CommandStatus.SUCCESS, onDismiss: handleOnSuccessModalDismiss }))))),
76
+ React.createElement(PaymentFlow, { ref: paymentFlowRef, token: authToken })));
77
+ };
78
+ export { Checkout };
@@ -0,0 +1,22 @@
1
+ declare const style: {
2
+ bodyColumn: {
3
+ paddingHorizontal: number;
4
+ };
5
+ bullet: {
6
+ alignItems: "center";
7
+ flexDirection: "row";
8
+ marginVertical: number;
9
+ };
10
+ container: {
11
+ flex: number;
12
+ justifyContent: "space-between";
13
+ };
14
+ content: {
15
+ alignItems: "center";
16
+ };
17
+ title: {
18
+ marginBottom: number;
19
+ textAlign: "center";
20
+ };
21
+ };
22
+ export { style };
@@ -0,0 +1,25 @@
1
+ import { StyleSheet } from "react-native";
2
+ import { theme } from "../../theme/theme";
3
+ const { spaceS, spaceM, spaceXL } = theme();
4
+ const style = StyleSheet.create({
5
+ bodyColumn: {
6
+ paddingHorizontal: spaceXL,
7
+ },
8
+ bullet: {
9
+ alignItems: "center",
10
+ flexDirection: "row",
11
+ marginVertical: spaceS,
12
+ },
13
+ container: {
14
+ flex: 1,
15
+ justifyContent: "space-between",
16
+ },
17
+ content: {
18
+ alignItems: "center",
19
+ },
20
+ title: {
21
+ marginBottom: spaceM,
22
+ textAlign: "center",
23
+ },
24
+ });
25
+ export { style };
@@ -0,0 +1,7 @@
1
+ import { FC } from "react";
2
+ interface CheckoutSuccessModalProps {
3
+ readonly visible: boolean;
4
+ readonly onDismiss: () => void;
5
+ }
6
+ declare const CheckoutSuccessModal: FC<CheckoutSuccessModalProps>;
7
+ export { CheckoutSuccessModal };
@@ -0,0 +1,25 @@
1
+ import { Button } from "@lookiero/aurora-next/build/components/atoms/Button/Button";
2
+ import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Text";
3
+ import { useI18nMessage } from "@lookiero/i18n-react";
4
+ import React from "react";
5
+ import { View } from "react-native";
6
+ import { Modal } from "../../../../../shared/ui/components/layouts/modal/Modal";
7
+ import { I18nMessages } from "../../../i18n/i18n";
8
+ import { style } from "./CheckoutSuccessModal.style";
9
+ const CheckoutSuccessModal = ({ visible, onDismiss }) => {
10
+ const titleText = useI18nMessage({ id: I18nMessages.CHECKOUT_SUCCESS_MODAL_TITLE });
11
+ const descriptionText = useI18nMessage({ id: I18nMessages.CHECKOUT_SUCCESS_MODAL_DESCRIPTION });
12
+ const buttonText = useI18nMessage({ id: I18nMessages.CHECKOUT_SUCCESS_MODAL_BUTTON });
13
+ return (React.createElement(Modal, { visible: visible, onClose: onDismiss },
14
+ React.createElement(View, { style: style.modal },
15
+ React.createElement(Text, { level: 1, style: style.modalTitle, body: true }, titleText),
16
+ React.createElement(Text, { level: 3, style: style.modalDescription, body: true }, descriptionText),
17
+ React.createElement(Button
18
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
19
+ // @ts-ignore
20
+ , {
21
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
22
+ // @ts-ignore
23
+ style: style.button, onPress: onDismiss }, buttonText))));
24
+ };
25
+ export { CheckoutSuccessModal };
@@ -0,0 +1,19 @@
1
+ import { StyleSheet } from "react-native";
2
+ import { theme } from "../../../theme/theme";
3
+ const { spaceXL } = theme();
4
+ const style = StyleSheet.create({
5
+ button: {
6
+ flex: 0,
7
+ },
8
+ modal: {
9
+ padding: spaceXL,
10
+ },
11
+ modalDescription: {
12
+ marginVertical: spaceXL,
13
+ textAlign: "center",
14
+ },
15
+ modalTitle: {
16
+ textAlign: "center",
17
+ },
18
+ });
19
+ export { style };
@@ -5,12 +5,12 @@ import { useI18nMessage } from "@lookiero/i18n-react";
5
5
  import { CommandStatus, QueryStatus } from "@lookiero/messaging-react";
6
6
  import React from "react";
7
7
  import { View } from "react-native";
8
+ import { Spinner } from "../../../../shared/ui/components/atoms/spinner/Spinner";
8
9
  import { useIncrementIntroShownCount } from "../../../domain/uiSetting/react/useIncrementIntroShownCount";
9
10
  import { useViewFiveItemsDiscountByCustomerId } from "../../../projection/checkout/react/useViewFiveItemsDiscountByCustomerId";
10
11
  import { Body } from "../../components/layouts/body/Body";
11
12
  import { SafeAreaScrollView } from "../../components/templates/SafeAreaScrollView";
12
13
  import { I18nMessages } from "../../i18n/i18n";
13
- import { Spinner } from "../../shared/components/atoms/spinner/Spinner";
14
14
  import { style } from "./Intro.style";
15
15
  const Bullet = ({ text }) => (React.createElement(View, { style: style.bullet },
16
16
  React.createElement(Icon, { name: "rounded-tick", style: style.tickIcon }),
@@ -4,6 +4,7 @@ import { View } from "react-native";
4
4
  import { useParams } from "react-router-native";
5
5
  import { CheckoutItemStatus } from "../../../../domain/checkoutItem/model/checkoutItem";
6
6
  import "../../../../projection/checkout/viewFirstAvailableCheckoutByCustomerId";
7
+ import { Spinner } from "../../../../shared/ui/components/atoms/spinner/Spinner";
7
8
  import { useBookCheckouBookingForCheckoutItem } from "../../../domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem";
8
9
  import { useKeepCheckoutItem } from "../../../domain/checkoutItem/react/useKeepCheckoutItem";
9
10
  import { useReplaceCheckoutItem } from "../../../domain/checkoutItem/react/useReplaceCheckoutItem";
@@ -14,7 +15,6 @@ import { useListReturnQuestionsByCheckoutItemId } from "../../../projection/retu
14
15
  import { Body } from "../../components/layouts/body/Body";
15
16
  import { ReturnQuestionFeedbackProvider } from "../../components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback";
16
17
  import { SafeAreaScrollView } from "../../components/templates/SafeAreaScrollView";
17
- import { Spinner } from "../../shared/components/atoms/spinner/Spinner";
18
18
  import { style } from "./Item.style";
19
19
  import { CustomerDecissionBanner } from "./components/banner/CustomerDecissionBanner";
20
20
  import { ItemActions } from "./components/itemActions/ItemActions";
@@ -4,8 +4,8 @@ import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Tex
4
4
  import { useI18nMessage } from "@lookiero/i18n-react";
5
5
  import React from "react";
6
6
  import { View } from "react-native";
7
+ import { Modal } from "../../../../../../shared/ui/components/layouts/modal/Modal";
7
8
  import { I18nMessages } from "../../../../i18n/i18n";
8
- import { Modal } from "../../../../shared/components/layouts/modal/Modal";
9
9
  import { style } from "./GetOutOfCheckoutModal.style";
10
10
  const GetOutOfCheckoutModal = ({ visible, onDismiss, onConfirm }) => {
11
11
  const titleText = useI18nMessage({ id: I18nMessages.GET_OUT_OF_CHECKOUT_MODAL_TITLE });
@@ -1,6 +1,6 @@
1
1
  import { FC } from "react";
2
2
  import { ProductVariantProjection } from "../../../../../../projection/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants";
3
- import { Layout } from "../../../../shared/components/layouts/sticky/Sticky";
3
+ import { Layout } from "../../../../../../shared/ui/components/layouts/sticky/Sticky";
4
4
  interface ItemActionsProps {
5
5
  readonly productVariants: ProductVariantProjection[];
6
6
  readonly productVariantSelected: ProductVariantProjection;
@@ -3,10 +3,10 @@ import { BUTTON_VARIANT } from "@lookiero/aurora-next/build/components/atoms/But
3
3
  import { useI18nMessage } from "@lookiero/i18n-react";
4
4
  import React, { useCallback, useMemo } from "react";
5
5
  import { View } from "react-native";
6
+ import { Sticky } from "../../../../../../shared/ui/components/layouts/sticky/Sticky";
7
+ import { SelectField } from "../../../../../../shared/ui/components/molecules/selectField/SelectField";
6
8
  import { Body } from "../../../../components/layouts/body/Body";
7
9
  import { I18nMessages } from "../../../../i18n/i18n";
8
- import { Sticky } from "../../../../shared/components/layouts/sticky/Sticky";
9
- import { SelectField } from "../../../../shared/components/molecules/selectField/SelectField";
10
10
  import { style } from "./ItemActions.style";
11
11
  const ItemActions = ({ productVariants, productVariantSelected, keepButtonLoading = false, returnButtonLoading = false, sizeSelectorDisabled = false, onSizeSelectorPress = () => void 0, onKeep, onReplace, onReturn, onLayout, }) => {
12
12
  const sizeSelectorLabelText = useI18nMessage({ id: I18nMessages.ITEM_SIZES_LABEL });
@@ -4,10 +4,10 @@ import React from "react";
4
4
  import { Image, Pressable, View } from "react-native";
5
5
  import Svg, { Line } from "react-native-svg";
6
6
  import { CheckoutItemStatus } from "../../../../../../domain/checkoutItem/model/checkoutItem";
7
+ import { ButtonIcon } from "../../../../../../shared/ui/components/molecules/buttonIcon/ButtonIcon";
7
8
  import { Price } from "../../../../components/atoms/price/Price";
8
9
  import { useMediaImage } from "../../../../hooks/useMediaImage";
9
10
  import { COLOR_I18N_PREFIX, I18nMessages } from "../../../../i18n/i18n";
10
- import { ButtonIcon } from "../../../../shared/components/molecules/buttonIcon/ButtonIcon";
11
11
  import { IMAGE_WIDTH, style } from "./ProductVariant.style";
12
12
  const ProductVariant = ({ media, brand, name, price, size, color, status, discarded, style: customStyle, onPress, }) => {
13
13
  const uniqueText = useI18nMessage({ id: I18nMessages.ITEM_UNIQUE });
@@ -1,7 +1,7 @@
1
1
  import React, { useCallback, useState } from "react";
2
2
  import { Image } from "react-native";
3
+ import { Slider } from "../../../../../../shared/ui/components/layouts/slider/Slider";
3
4
  import { useMediaImage } from "../../../../hooks/useMediaImage";
4
- import { Slider } from "../../../../shared/components/layouts/slider/Slider";
5
5
  import { style } from "./ProductVariantSlider.style";
6
6
  const ProductVariantSlider = ({ producVariantMedia }) => {
7
7
  const cdnImageUrl = useMediaImage();
@@ -3,12 +3,12 @@ import { useI18nMessage } from "@lookiero/i18n-react";
3
3
  import React from "react";
4
4
  import { View } from "react-native";
5
5
  import { ReturnQuestionType, } from "../../../../../../projection/returnQuestion/returnQuestion";
6
+ import { ButtonIcon } from "../../../../../../shared/ui/components/molecules/buttonIcon/ButtonIcon";
6
7
  import { ReturnQuestions } from "../../../../components/organisms/returnQuestions/ReturnQuestions";
7
8
  import { ReturnQuestionItemProvider, } from "../../../../components/organisms/returnQuestions/behaviors/useReturnQuestionItem";
8
9
  import { HostDefaultReturnQuestionFeedbackItem } from "../../../../components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem";
9
10
  import { ReturnQuestionFeedbackItem } from "../../../../components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem";
10
11
  import { I18nMessages, RETURN_QUESTIONS_FEEDBACK_PREFIX } from "../../../../i18n/i18n";
11
- import { ButtonIcon } from "../../../../shared/components/molecules/buttonIcon/ButtonIcon";
12
12
  import { style } from "./ReturnQuestionsFeedback.style";
13
13
  const returnQuestionItems = {
14
14
  [ReturnQuestionType.HOST_DEFAULT]: HostDefaultReturnQuestionFeedbackItem,
@@ -5,6 +5,7 @@ import { useI18nMessage } from "@lookiero/i18n-react";
5
5
  import React, { useCallback } from "react";
6
6
  import { View } from "react-native";
7
7
  import { ReturnQuestionType, } from "../../../../../../projection/returnQuestion/returnQuestion";
8
+ import { Modal } from "../../../../../../shared/ui/components/layouts/modal/Modal";
8
9
  import { ReturnQuestions } from "../../../../components/organisms/returnQuestions/ReturnQuestions";
9
10
  import { useReturnQuestionFeedback } from "../../../../components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback";
10
11
  import { ReturnQuestionItemProvider, } from "../../../../components/organisms/returnQuestions/behaviors/useReturnQuestionItem";
@@ -14,7 +15,6 @@ import { HostStackReturnQuestionItem } from "../../../../components/organisms/re
14
15
  import { OptionReturnQuestionItem } from "../../../../components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem";
15
16
  import { TextareaReturnQuestionItem } from "../../../../components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem";
16
17
  import { I18nMessages, RETURN_QUESTIONS_PREFIX } from "../../../../i18n/i18n";
17
- import { Modal } from "../../../../shared/components/layouts/modal/Modal";
18
18
  import { ProductVariant } from "../productVariant/ProductVariant";
19
19
  import { style } from "./ReturnQuestionsForm.style";
20
20
  const RETURN_QUESTION_FORM_PORTAL_HOST_NAME = "return-question-form-portal";
@@ -3,8 +3,8 @@ import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Tex
3
3
  import { useI18nMessage } from "@lookiero/i18n-react";
4
4
  import React from "react";
5
5
  import { View } from "react-native";
6
+ import { Modal } from "../../../../../../shared/ui/components/layouts/modal/Modal";
6
7
  import { I18nMessages } from "../../../../i18n/i18n";
7
- import { Modal } from "../../../../shared/components/layouts/modal/Modal";
8
8
  import { style } from "./SizeChangeModal.style";
9
9
  const SizeChangeModal = ({ visible, onDismiss }) => {
10
10
  const titleText = useI18nMessage({ id: I18nMessages.SIZE_CHANGE_MODAL_TITLE });
@@ -3,8 +3,8 @@ import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Tex
3
3
  import { useI18nMessage } from "@lookiero/i18n-react";
4
4
  import React from "react";
5
5
  import { View } from "react-native";
6
+ import { Modal } from "../../../../../../shared/ui/components/layouts/modal/Modal";
6
7
  import { I18nMessages } from "../../../../i18n/i18n";
7
- import { Modal } from "../../../../shared/components/layouts/modal/Modal";
8
8
  import { style } from "./SizeWithoutStockModal.style";
9
9
  const SizeWithoutStockModal = ({ visible, onDismiss }) => {
10
10
  const titleText = useI18nMessage({ id: I18nMessages.SIZE_WITHOUT_STOCK_MODAL_TITLE });
@@ -0,0 +1,16 @@
1
+ declare const style: {
2
+ button: {
3
+ flex: number;
4
+ };
5
+ modal: {
6
+ padding: number;
7
+ };
8
+ modalDescription: {
9
+ marginVertical: number;
10
+ textAlign: "center";
11
+ };
12
+ modalTitle: {
13
+ textAlign: "center";
14
+ };
15
+ };
16
+ export { style };
@@ -5,6 +5,7 @@ import React, { useCallback, useMemo, useState } from "react";
5
5
  import { View } from "react-native";
6
6
  import { generatePath, useNavigate } from "react-router-native";
7
7
  import { CheckoutItemStatus } from "../../../../domain/checkoutItem/model/checkoutItem";
8
+ import { Spinner } from "../../../../shared/ui/components/atoms/spinner/Spinner";
8
9
  import { useViewFirstAvailableCheckoutByCustomerId } from "../../../projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId";
9
10
  import { useViewFiveItemsDiscountByCustomerId } from "../../../projection/checkout/react/useViewFiveItemsDiscountByCustomerId";
10
11
  import { useViewPricingByCheckoutId } from "../../../projection/pricing/react/useViewPricingByCheckoutId";
@@ -12,7 +13,6 @@ import { Body } from "../../components/layouts/body/Body";
12
13
  import { SafeAreaScrollView } from "../../components/templates/SafeAreaScrollView";
13
14
  import { I18nMessages } from "../../i18n/i18n";
14
15
  import { Routes } from "../../routing/routes";
15
- import { Spinner } from "../../shared/components/atoms/spinner/Spinner";
16
16
  import { style } from "./Summary.style";
17
17
  import { CheckoutItemsTabs } from "./components/checkoutItemsTabs/CheckoutItemsTabs";
18
18
  import { FiveItemsDiscountBanner } from "./components/fiveItemsDiscountBanner/FiveItemsDiscountBanner";
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
+ import { Sticky } from "../../../../../../shared/ui/components/layouts/sticky/Sticky";
2
3
  import { Body } from "../../../../components/layouts/body/Body";
3
- import { Sticky } from "../../../../shared/components/layouts/sticky/Sticky";
4
4
  import { Pricing } from "../pricing/Pricing";
5
5
  import { style } from "./StickyPricing.style";
6
6
  const StickyPricing = ({ pricing, totalCheckoutItemsKept, collapsed, onPress, onSubmit }) => (React.createElement(Sticky, null,
@@ -0,0 +1,17 @@
1
+ import { Command } from "@lookiero/messaging";
2
+ import { NotificationLevel } from "../model/notification";
3
+ declare const CREATE_NOTIFICATION = "create_notification";
4
+ interface CreateNotificationPayload {
5
+ readonly aggregateId: string;
6
+ readonly level: NotificationLevel;
7
+ readonly bodyI18nKey: string;
8
+ readonly titleI18nKey: string | undefined;
9
+ }
10
+ interface CreateNotification extends Command<typeof CREATE_NOTIFICATION>, CreateNotificationPayload {
11
+ }
12
+ interface CreateNotificationFunction {
13
+ (payload: CreateNotificationPayload): CreateNotification;
14
+ }
15
+ declare const createNotification: CreateNotificationFunction;
16
+ export type { CreateNotification };
17
+ export { CREATE_NOTIFICATION, createNotification };
@@ -0,0 +1,7 @@
1
+ import { command } from "@lookiero/messaging";
2
+ const CREATE_NOTIFICATION = "create_notification";
3
+ const createNotification = ({ aggregateId, ...payload }) => ({
4
+ ...command({ aggregateId, name: CREATE_NOTIFICATION }),
5
+ ...payload,
6
+ });
7
+ export { CREATE_NOTIFICATION, createNotification };
@@ -0,0 +1,13 @@
1
+ import { Command } from "@lookiero/messaging";
2
+ declare const REMOVE_NOTIFICATION = "REMOVE_NOTIFICATION";
3
+ interface RemoveNotificationPayload {
4
+ readonly aggregateId: string;
5
+ }
6
+ interface RemoveNotification extends Command<typeof REMOVE_NOTIFICATION>, RemoveNotificationPayload {
7
+ }
8
+ interface RemoveNotificationFunction {
9
+ (payload: RemoveNotificationPayload): RemoveNotification;
10
+ }
11
+ declare const removeNotification: RemoveNotificationFunction;
12
+ export type { RemoveNotification };
13
+ export { REMOVE_NOTIFICATION, removeNotification };
@@ -0,0 +1,4 @@
1
+ import { command } from "@lookiero/messaging";
2
+ const REMOVE_NOTIFICATION = "REMOVE_NOTIFICATION";
3
+ const removeNotification = ({ aggregateId }) => command({ aggregateId, name: REMOVE_NOTIFICATION });
4
+ export { REMOVE_NOTIFICATION, removeNotification };
@@ -0,0 +1,9 @@
1
+ import { removeNotification as sut, REMOVE_NOTIFICATION } from "./removeNotification";
2
+ describe("removeNotification", () => {
3
+ it("returns a RemoveNotification command", () => {
4
+ const aggregateId = "67ac1d5c-6d24-4b19-bc01-8f61c266670c";
5
+ const command = sut({ aggregateId });
6
+ expect(command.aggregateId).toBe(aggregateId);
7
+ expect(command.name).toBe(REMOVE_NOTIFICATION);
8
+ });
9
+ });
@@ -0,0 +1,18 @@
1
+ import { AggregateRoot, CommandHandlerFunction } from "@lookiero/messaging";
2
+ import { CreateNotification } from "../command/createNotification";
3
+ import { RemoveNotification } from "../command/removeNotification";
4
+ declare enum NotificationLevel {
5
+ INFO = "INFO",
6
+ ERROR = "ERROR",
7
+ SUCCESS = "SUCCESS"
8
+ }
9
+ export { NotificationLevel };
10
+ interface Notification extends AggregateRoot {
11
+ readonly level: NotificationLevel;
12
+ readonly bodyI18nKey: string;
13
+ readonly titleI18nKey: string | undefined;
14
+ }
15
+ declare const createNotificationHandler: CommandHandlerFunction<CreateNotification, Notification>;
16
+ declare const removeNotificationHandler: CommandHandlerFunction<RemoveNotification, Notification>;
17
+ export type { Notification };
18
+ export { createNotificationHandler, removeNotificationHandler };
@@ -0,0 +1,27 @@
1
+ import { notificationCreated } from "./notificationCreated";
2
+ import { notificationRemoved } from "./notificationRemoved";
3
+ var NotificationLevel;
4
+ (function (NotificationLevel) {
5
+ NotificationLevel["INFO"] = "INFO";
6
+ NotificationLevel["ERROR"] = "ERROR";
7
+ NotificationLevel["SUCCESS"] = "SUCCESS";
8
+ })(NotificationLevel || (NotificationLevel = {}));
9
+ export { NotificationLevel };
10
+ const createNotificationHandler = () => async ({ aggregateRoot, command }) => {
11
+ const { aggregateId, level, titleI18nKey, bodyI18nKey } = command;
12
+ return {
13
+ ...aggregateRoot,
14
+ level,
15
+ titleI18nKey,
16
+ bodyI18nKey,
17
+ domainEvents: [notificationCreated({ aggregateId })],
18
+ };
19
+ };
20
+ const removeNotificationHandler = () => async ({ aggregateRoot, command }) => {
21
+ const { aggregateId } = command;
22
+ return {
23
+ ...aggregateRoot,
24
+ domainEvents: [notificationRemoved({ aggregateId })],
25
+ };
26
+ };
27
+ export { createNotificationHandler, removeNotificationHandler };
@@ -0,0 +1,13 @@
1
+ import { DomainEvent } from "@lookiero/messaging";
2
+ declare const NOTIFICATION_CREATED = "notification_created";
3
+ interface NotificationCreatedPayload {
4
+ readonly aggregateId: string;
5
+ }
6
+ interface NotificationCreated extends DomainEvent<typeof NOTIFICATION_CREATED>, NotificationCreatedPayload {
7
+ }
8
+ interface NotificationCreatedFunction {
9
+ (payload: NotificationCreatedPayload): NotificationCreated;
10
+ }
11
+ declare const notificationCreated: NotificationCreatedFunction;
12
+ export type { NotificationCreated };
13
+ export { NOTIFICATION_CREATED, notificationCreated };
@@ -0,0 +1,4 @@
1
+ import { domainEvent } from "@lookiero/messaging";
2
+ const NOTIFICATION_CREATED = "notification_created";
3
+ const notificationCreated = ({ aggregateId }) => domainEvent({ aggregateId, name: NOTIFICATION_CREATED });
4
+ export { NOTIFICATION_CREATED, notificationCreated };
@@ -0,0 +1,13 @@
1
+ import { DomainEvent } from "@lookiero/messaging";
2
+ declare const NOTIFICATION_REMOVED = "notification_removed";
3
+ interface NotificationRemovedPayload {
4
+ readonly aggregateId: string;
5
+ }
6
+ interface NotificationRemoved extends DomainEvent<typeof NOTIFICATION_REMOVED>, NotificationRemovedPayload {
7
+ }
8
+ interface NotificationRemovedFunction {
9
+ (payload: NotificationRemovedPayload): NotificationRemoved;
10
+ }
11
+ declare const notificationRemoved: NotificationRemovedFunction;
12
+ export type { NotificationRemoved };
13
+ export { NOTIFICATION_REMOVED, notificationRemoved };
@@ -0,0 +1,4 @@
1
+ import { domainEvent } from "@lookiero/messaging";
2
+ const NOTIFICATION_REMOVED = "notification_removed";
3
+ const notificationRemoved = ({ aggregateId }) => domainEvent({ aggregateId, name: NOTIFICATION_REMOVED });
4
+ export { NOTIFICATION_REMOVED, notificationRemoved };
@@ -0,0 +1,7 @@
1
+ import { RepositoryGetFunction, RepositoryGetFunctionArgs, RepositorySaveFunction, RepositorySaveFunctionArgs } from "@lookiero/messaging";
2
+ import { Notification } from "./notification";
3
+ interface NotificationsGetFunction<NotificationsGetFunctionArgs extends RepositoryGetFunctionArgs> extends RepositoryGetFunction<Notification, NotificationsGetFunctionArgs> {
4
+ }
5
+ interface NotificationsSaveFunction<NotificationsSaveFunctionArgs extends RepositorySaveFunctionArgs> extends RepositorySaveFunction<Notification, NotificationsSaveFunctionArgs> {
6
+ }
7
+ export type { NotificationsGetFunction, NotificationsSaveFunction };
@@ -0,0 +1,8 @@
1
+ import { useCreateNotification } from "./infrastructure/domain/notification/react/useCreateNotification";
2
+ import { useRemoveNotification } from "./infrastructure/domain/notification/react/useRemoveNotification";
3
+ import { NotificationDto } from "./infrastructure/persistence/notificationDto";
4
+ import { Storage } from "./infrastructure/persistence/storage";
5
+ import { notificationsRoot, NotificationsRoot } from "./infrastructure/ui/notificationsRoot";
6
+ import { useListNotifications } from "./projection/notification/react/useListNotifications";
7
+ export type { Storage, NotificationDto, NotificationsRoot };
8
+ export { useListNotifications, useCreateNotification, useRemoveNotification, notificationsRoot };
@@ -0,0 +1,5 @@
1
+ import { useCreateNotification } from "./infrastructure/domain/notification/react/useCreateNotification";
2
+ import { useRemoveNotification } from "./infrastructure/domain/notification/react/useRemoveNotification";
3
+ import { notificationsRoot } from "./infrastructure/ui/notificationsRoot";
4
+ import { useListNotifications } from "./projection/notification/react/useListNotifications";
5
+ export { useListNotifications, useCreateNotification, useRemoveNotification, notificationsRoot };
@@ -0,0 +1,13 @@
1
+ import { BuildBootstrapFunctionReturn } from "@lookiero/messaging-react";
2
+ import { NotificationDto } from "../persistence/notificationDto";
3
+ import { Storage } from "../persistence/storage";
4
+ declare const NOTIFICATIONS_MESSAGING_CONTEXT_ID = "notifications";
5
+ interface BootstrapFunctionArgs {
6
+ readonly storage: Storage<NotificationDto>;
7
+ }
8
+ interface BootstrapFunction {
9
+ (args: BootstrapFunctionArgs): BuildBootstrapFunctionReturn;
10
+ }
11
+ declare const bootstrap: BootstrapFunction;
12
+ export type { BootstrapFunctionArgs };
13
+ export { NOTIFICATIONS_MESSAGING_CONTEXT_ID, bootstrap };
@@ -0,0 +1,14 @@
1
+ import { bootstrap as messagingReactBootstrap } from "@lookiero/messaging-react";
2
+ import { CREATE_NOTIFICATION } from "../../domain/notification/command/createNotification";
3
+ import { REMOVE_NOTIFICATION } from "../../domain/notification/command/removeNotification";
4
+ import { createNotificationHandler, removeNotificationHandler } from "../../domain/notification/model/notification";
5
+ import { listNotificationsHandler, LIST_NOTIFICATIONS } from "../../projection/notification/listNotifications";
6
+ import { getNotification, saveNotification } from "../domain/notification/model/storageNotifications";
7
+ import { storageListNotificationsView } from "../projection/notification/storageListNotificationsView";
8
+ const NOTIFICATIONS_MESSAGING_CONTEXT_ID = "notifications";
9
+ const bootstrap = ({ storage }) => messagingReactBootstrap({ id: NOTIFICATIONS_MESSAGING_CONTEXT_ID })
10
+ .query(LIST_NOTIFICATIONS, listNotificationsHandler, { view: storageListNotificationsView({ storage }) })
11
+ .command(CREATE_NOTIFICATION, createNotificationHandler)(getNotification, saveNotification, { storage })
12
+ .command(REMOVE_NOTIFICATION, removeNotificationHandler)(getNotification, saveNotification, { storage })
13
+ .build();
14
+ export { NOTIFICATIONS_MESSAGING_CONTEXT_ID, bootstrap };
@@ -0,0 +1,18 @@
1
+ import { RepositoryGetFunctionArgs, RepositorySaveFunctionArgs } from "@lookiero/messaging";
2
+ import { NotificationsGetFunction, NotificationsSaveFunction } from "../../../../domain/notification/model/notifications";
3
+ import { NotificationDto } from "../../../persistence/notificationDto";
4
+ import { Storage } from "../../../persistence/storage";
5
+ interface StorageNotificationsGetFunctionArgs extends RepositoryGetFunctionArgs {
6
+ readonly storage: Storage<NotificationDto>;
7
+ }
8
+ interface StorageNotificationsGetFunction extends NotificationsGetFunction<StorageNotificationsGetFunctionArgs> {
9
+ }
10
+ declare const getNotification: StorageNotificationsGetFunction;
11
+ interface StorageNotificationsSaveFunctionArgs extends RepositorySaveFunctionArgs {
12
+ readonly storage: Storage<NotificationDto>;
13
+ }
14
+ interface StorageNotificationsSaveFunction extends NotificationsSaveFunction<StorageNotificationsSaveFunctionArgs> {
15
+ }
16
+ declare const saveNotification: StorageNotificationsSaveFunction;
17
+ export type { StorageNotificationsSaveFunction };
18
+ export { getNotification, saveNotification };