@lookiero/checkout 0.3.6 → 0.3.8

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,23 @@
1
+ import { storageNotificationsCreate } from "./storageNotificationsCreate";
2
+ import { storageNotificationsRemove } from "./storageNotificationsRemove";
3
+ const toDomain = ({ aggregateId, level, titleI18nKey, bodyI18nKey }) => ({
4
+ aggregateId,
5
+ level,
6
+ titleI18nKey,
7
+ bodyI18nKey,
8
+ domainEvents: [],
9
+ });
10
+ const getNotification = ({ storage }) => async (aggregateId) => {
11
+ const notificationDto = await storage.read(aggregateId);
12
+ if (!notificationDto) {
13
+ throw new Error(`Notification not found: ${aggregateId}`);
14
+ }
15
+ return toDomain(notificationDto);
16
+ };
17
+ const saveNotification = ({ storage }) => async (aggregateRoot) => {
18
+ await Promise.all([
19
+ storageNotificationsCreate({ storage })(aggregateRoot),
20
+ storageNotificationsRemove({ storage })(aggregateRoot),
21
+ ]);
22
+ };
23
+ export { getNotification, saveNotification };
@@ -0,0 +1,8 @@
1
+ import { Notification } from "../../../../domain/notification/model/notification";
2
+ import { NotificationDto } from "../../../persistence/notificationDto";
3
+ import { StorageNotificationsSaveFunction } from "./storageNotifications";
4
+ declare const fromDomain: ({ aggregateId, level, titleI18nKey, bodyI18nKey }: Notification) => NotificationDto;
5
+ interface StorageNotificationsCreateFunction extends StorageNotificationsSaveFunction {
6
+ }
7
+ declare const storageNotificationsCreate: StorageNotificationsCreateFunction;
8
+ export { storageNotificationsCreate, fromDomain };
@@ -0,0 +1,16 @@
1
+ import { NOTIFICATION_CREATED } from "../../../../domain/notification/model/notificationCreated";
2
+ const fromDomain = ({ aggregateId, level, titleI18nKey, bodyI18nKey }) => ({
3
+ aggregateId,
4
+ level,
5
+ titleI18nKey,
6
+ bodyI18nKey,
7
+ });
8
+ const isNotificationCreated = (event) => event.name === NOTIFICATION_CREATED;
9
+ const storageNotificationsCreate = ({ storage }) => async (aggregateRoot) => {
10
+ const notificationCreated = aggregateRoot.domainEvents.find(isNotificationCreated);
11
+ if (!notificationCreated) {
12
+ return;
13
+ }
14
+ await storage.write(aggregateRoot.aggregateId, fromDomain(aggregateRoot));
15
+ };
16
+ export { storageNotificationsCreate, fromDomain };
@@ -0,0 +1,5 @@
1
+ import { StorageNotificationsSaveFunction } from "./storageNotifications";
2
+ interface StorageNotificationsRemoveFunction extends StorageNotificationsSaveFunction {
3
+ }
4
+ declare const storageNotificationsRemove: StorageNotificationsRemoveFunction;
5
+ export { storageNotificationsRemove };
@@ -0,0 +1,10 @@
1
+ import { NOTIFICATION_REMOVED } from "../../../../domain/notification/model/notificationRemoved";
2
+ const isNotificationRemoved = (event) => event.name === NOTIFICATION_REMOVED;
3
+ const storageNotificationsRemove = ({ storage }) => async (aggregateRoot) => {
4
+ const notificationRemoved = aggregateRoot.domainEvents.find(isNotificationRemoved);
5
+ if (!notificationRemoved) {
6
+ return;
7
+ }
8
+ await storage.remove(aggregateRoot.aggregateId);
9
+ };
10
+ export { storageNotificationsRemove };
@@ -0,0 +1,16 @@
1
+ import { CommandStatus } from "@lookiero/messaging-react";
2
+ import { NotificationLevel } from "../../../../domain/notification/model/notification";
3
+ interface CreateNotificationFunctionArgs {
4
+ readonly aggregateId?: string;
5
+ readonly level: NotificationLevel;
6
+ readonly bodyI18nKey: string;
7
+ readonly titleI18nKey?: string;
8
+ }
9
+ interface CreateNotificationFunction {
10
+ (args: CreateNotificationFunctionArgs): Promise<void>;
11
+ }
12
+ interface UseCreateNotificationFunction {
13
+ (): [create: CreateNotificationFunction, status: CommandStatus];
14
+ }
15
+ declare const useCreateNotification: UseCreateNotificationFunction;
16
+ export { useCreateNotification };
@@ -0,0 +1,16 @@
1
+ import { useCommand } from "@lookiero/messaging-react";
2
+ import { useCallback } from "react";
3
+ import { v4 as uuid } from "uuid";
4
+ import { createNotification } from "../../../../domain/notification/command/createNotification";
5
+ import { NOTIFICATIONS_MESSAGING_CONTEXT_ID } from "../../../delivery/bootstrap";
6
+ const useCreateNotification = () => {
7
+ const [commandBus, status] = useCommand({ contextId: NOTIFICATIONS_MESSAGING_CONTEXT_ID });
8
+ const create = useCallback(({ aggregateId, level, titleI18nKey, bodyI18nKey }) => commandBus(createNotification({
9
+ aggregateId: aggregateId || uuid(),
10
+ level,
11
+ titleI18nKey,
12
+ bodyI18nKey,
13
+ })), [commandBus]);
14
+ return [create, status];
15
+ };
16
+ export { useCreateNotification };
@@ -0,0 +1,12 @@
1
+ import { CommandStatus } from "@lookiero/messaging-react";
2
+ interface RemoveNotificationFunctionArgs {
3
+ readonly aggregateId: string;
4
+ }
5
+ interface RemoveNotificationFunction {
6
+ (args: RemoveNotificationFunctionArgs): Promise<void>;
7
+ }
8
+ interface UseRemoveNotificationFunction {
9
+ (): [remove: RemoveNotificationFunction, status: CommandStatus];
10
+ }
11
+ declare const useRemoveNotification: UseRemoveNotificationFunction;
12
+ export { useRemoveNotification };
@@ -0,0 +1,10 @@
1
+ import { useCommand } from "@lookiero/messaging-react";
2
+ import { useCallback } from "react";
3
+ import { removeNotification } from "../../../../domain/notification/command/removeNotification";
4
+ import { NOTIFICATIONS_MESSAGING_CONTEXT_ID } from "../../../delivery/bootstrap";
5
+ const useRemoveNotification = () => {
6
+ const [commandBus, status] = useCommand({ contextId: NOTIFICATIONS_MESSAGING_CONTEXT_ID });
7
+ const remove = useCallback(({ aggregateId }) => commandBus(removeNotification({ aggregateId })), [commandBus]);
8
+ return [remove, status];
9
+ };
10
+ export { useRemoveNotification };
@@ -0,0 +1,7 @@
1
+ import { NotificationDto } from "./notificationDto";
2
+ import { Storage } from "./storage";
3
+ interface InMemoryStorageNotificationsFunction {
4
+ (): Storage<NotificationDto>;
5
+ }
6
+ declare const inMemoryStorageNotifications: InMemoryStorageNotificationsFunction;
7
+ export { inMemoryStorageNotifications };
@@ -0,0 +1,13 @@
1
+ const inMemoryStorageNotifications = () => {
2
+ const storage = {};
3
+ const read = async (key) => storage[key] || null;
4
+ const list = async () => Object.values(storage);
5
+ const write = async (key, value) => {
6
+ storage[key] = value;
7
+ };
8
+ const remove = async (key) => {
9
+ delete storage[key];
10
+ };
11
+ return { read, list, write, remove };
12
+ };
13
+ export { inMemoryStorageNotifications };
@@ -0,0 +1,8 @@
1
+ import { NotificationLevel } from "../../domain/notification/model/notification";
2
+ interface NotificationDto {
3
+ readonly aggregateId: string;
4
+ readonly level: NotificationLevel;
5
+ readonly bodyI18nKey: string;
6
+ readonly titleI18nKey: string | undefined;
7
+ }
8
+ export type { NotificationDto };
@@ -0,0 +1,7 @@
1
+ interface Storage<T> {
2
+ readonly read: (key: string) => Promise<T | null>;
3
+ readonly list: () => Promise<T[]>;
4
+ readonly write: (key: string, value: T) => Promise<void>;
5
+ readonly remove: (key: string) => Promise<void>;
6
+ }
7
+ export type { Storage };
@@ -0,0 +1,7 @@
1
+ import { NotificationProjection } from "../../../projection/notification/notification";
2
+ import { NotificationDto } from "../../persistence/notificationDto";
3
+ interface ToNotificationProjectionFunction {
4
+ (notificationDto: NotificationDto): NotificationProjection;
5
+ }
6
+ declare const toNotificationProjection: ToNotificationProjectionFunction;
7
+ export { toNotificationProjection };
@@ -0,0 +1,7 @@
1
+ const toNotificationProjection = (notificationDto) => ({
2
+ id: notificationDto.aggregateId,
3
+ level: notificationDto.level,
4
+ titleI18nKey: notificationDto.titleI18nKey,
5
+ bodyI18nKey: notificationDto.bodyI18nKey,
6
+ });
7
+ export { toNotificationProjection };
@@ -0,0 +1,13 @@
1
+ import { ListNotificationsView } from "../../../projection/notification/listNotifications";
2
+ import { NotificationDto } from "../../persistence/notificationDto";
3
+ import { Storage } from "../../persistence/storage";
4
+ interface StorageListNotificationsView extends ListNotificationsView {
5
+ }
6
+ interface StorageListNotificationsViewFunctionArgs {
7
+ readonly storage: Storage<NotificationDto>;
8
+ }
9
+ interface StorageListNotificationsViewFunction {
10
+ (args: StorageListNotificationsViewFunctionArgs): StorageListNotificationsView;
11
+ }
12
+ declare const storageListNotificationsView: StorageListNotificationsViewFunction;
13
+ export { storageListNotificationsView };
@@ -0,0 +1,6 @@
1
+ import { toNotificationProjection } from "./notification";
2
+ const storageListNotificationsView = ({ storage }) => async () => {
3
+ const notificationDtos = await storage.list();
4
+ return notificationDtos.map(toNotificationProjection);
5
+ };
6
+ export { storageListNotificationsView };
@@ -0,0 +1,12 @@
1
+ import { FC } from "react";
2
+ import { ToastStyle } from "../../../../ui/components/molecules/toast/Toast";
3
+ import { NotificationProjection } from "../../../projection/notification/notification";
4
+ interface NotificationItemProps {
5
+ readonly notification: NotificationProjection;
6
+ readonly onRemove: (notificationId: string) => void;
7
+ readonly autoHideTimeout?: number;
8
+ readonly testID?: string;
9
+ readonly style?: ToastStyle;
10
+ }
11
+ declare const NotificationItem: FC<NotificationItemProps>;
12
+ export { NotificationItem };
@@ -0,0 +1,24 @@
1
+ import { useI18nMessage } from "@lookiero/i18n-react";
2
+ import React from "react";
3
+ import { useCallback, useEffect } from "react";
4
+ import { Toast, ToastVariant } from "../../../../ui/components/molecules/toast/Toast";
5
+ import { NotificationLevel } from "../../../domain/notification/model/notification";
6
+ const toastVariantForNotificationLevel = {
7
+ [NotificationLevel.INFO]: ToastVariant.INFO,
8
+ [NotificationLevel.ERROR]: ToastVariant.ERROR,
9
+ [NotificationLevel.SUCCESS]: ToastVariant.SUCCESS,
10
+ };
11
+ const NotificationItem = ({ notification, onRemove, autoHideTimeout, testID = "notification-item", style: customStyle, }) => {
12
+ const title = useI18nMessage({ id: notification.titleI18nKey }) || undefined;
13
+ const body = useI18nMessage({ id: notification.bodyI18nKey || "" });
14
+ const handleOnClose = useCallback(() => onRemove(notification.id), [notification.id, onRemove]);
15
+ useEffect(() => {
16
+ if (!autoHideTimeout) {
17
+ return;
18
+ }
19
+ const hideTimeout = setTimeout(handleOnClose, autoHideTimeout);
20
+ return () => clearTimeout(hideTimeout);
21
+ }, [autoHideTimeout, handleOnClose]);
22
+ return (React.createElement(Toast, { body: body, style: customStyle, testID: testID, title: title, variant: toastVariantForNotificationLevel[notification.level], onClose: handleOnClose }));
23
+ };
24
+ export { NotificationItem };
@@ -0,0 +1,9 @@
1
+ import { FC } from "react";
2
+ import { NotificationProjection } from "../../../projection/notification/notification";
3
+ interface NotificationsProps {
4
+ readonly notifications?: NotificationProjection[];
5
+ readonly onRemove: (notificationId: string) => void;
6
+ readonly autoHideTimeout?: number;
7
+ }
8
+ declare const Notifications: FC<NotificationsProps>;
9
+ export { Notifications };
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { View } from "react-native";
3
+ import { Column } from "../../../../ui/components/layouts/column/Column";
4
+ import { Row } from "../../../../ui/components/layouts/row/Row";
5
+ import { Stack } from "../../../../ui/components/layouts/stack/Stack";
6
+ import { NotificationItem } from "./NotificationItem";
7
+ import { style } from "./Notifications.style";
8
+ const NOTIFICATIONS_AUTOHIDE_TIMEOUT = 10000;
9
+ const Notifications = ({ notifications = [], onRemove, autoHideTimeout = NOTIFICATIONS_AUTOHIDE_TIMEOUT, }) => (React.createElement(View, { pointerEvents: "box-none", style: style.notifications, testID: "notifications" },
10
+ React.createElement(Row, { style: style.row },
11
+ React.createElement(Column, null,
12
+ React.createElement(Stack, null, notifications.map((notification) => (React.createElement(NotificationItem, { key: notification.id, autoHideTimeout: autoHideTimeout, notification: notification, style: { toast: style.toast }, testID: notification.id, onRemove: onRemove }))))))));
13
+ export { Notifications };
@@ -0,0 +1,25 @@
1
+ declare const style: {
2
+ layoutLarge: {
3
+ paddingLeft: number;
4
+ paddingRight: number;
5
+ };
6
+ layoutSmall: {
7
+ paddingLeft: string;
8
+ paddingRight: string;
9
+ };
10
+ notifications: {
11
+ left: number;
12
+ position: "absolute";
13
+ top: number;
14
+ width: string;
15
+ zIndex: number;
16
+ };
17
+ row: {
18
+ flex: number;
19
+ justifyContent: "center";
20
+ };
21
+ toast: {
22
+ marginTop: number;
23
+ };
24
+ };
25
+ export { style };
@@ -0,0 +1,28 @@
1
+ import { StyleSheet } from "react-native";
2
+ import { theme } from "../../../../../infrastructure/ui/theme/theme";
3
+ const { spaceM } = theme();
4
+ const style = StyleSheet.create({
5
+ layoutLarge: {
6
+ paddingLeft: 0,
7
+ paddingRight: 0,
8
+ },
9
+ layoutSmall: {
10
+ paddingLeft: "$spaceM",
11
+ paddingRight: "$spaceM",
12
+ },
13
+ notifications: {
14
+ left: 0,
15
+ position: "absolute",
16
+ top: 0,
17
+ width: "100%",
18
+ zIndex: 20,
19
+ },
20
+ row: {
21
+ flex: 1,
22
+ justifyContent: "center",
23
+ },
24
+ toast: {
25
+ marginTop: spaceM,
26
+ },
27
+ });
28
+ export { style };
@@ -0,0 +1,13 @@
1
+ import { FC } from "react";
2
+ import { BootstrapFunctionArgs } from "../delivery/bootstrap";
3
+ interface NotificationsRootProps {
4
+ readonly children: JSX.Element;
5
+ readonly includeReactQueryDevTools?: boolean;
6
+ }
7
+ declare type NotificationsRoot = FC<NotificationsRootProps>;
8
+ interface NotificationsRootFunction {
9
+ (args?: BootstrapFunctionArgs): NotificationsRoot;
10
+ }
11
+ declare const notificationsRoot: NotificationsRootFunction;
12
+ export type { NotificationsRoot };
13
+ export { notificationsRoot };
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { bootstrap } from "../delivery/bootstrap";
3
+ import { inMemoryStorageNotifications } from "../persistence/inMemoryStorageNotifications";
4
+ const notificationsRoot = ({ storage } = {
5
+ storage: inMemoryStorageNotifications(),
6
+ }) => {
7
+ const { Component } = bootstrap({ storage });
8
+ // eslint-disable-next-line react/display-name, react/prop-types
9
+ return ({ children, includeReactQueryDevTools }) => (React.createElement(Component, { includeReactQueryDevTools: includeReactQueryDevTools }, children));
10
+ };
11
+ export { notificationsRoot };
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const Notifications: FC;
3
+ export { Notifications };
@@ -0,0 +1,11 @@
1
+ import React, { useCallback } from "react";
2
+ import { useListNotifications } from "../../../projection/notification/react/useListNotifications";
3
+ import { useRemoveNotification } from "../../domain/notification/react/useRemoveNotification";
4
+ import { Notifications as NotificationsTemplate } from "../components/Notifications";
5
+ const Notifications = () => {
6
+ const [notifications] = useListNotifications();
7
+ const [remove] = useRemoveNotification();
8
+ const onRemove = useCallback((id) => remove({ aggregateId: id }), [remove]);
9
+ return React.createElement(NotificationsTemplate, { notifications: notifications, onRemove: onRemove });
10
+ };
11
+ export { Notifications };
@@ -0,0 +1,19 @@
1
+ import { Query, QueryHandlerFunction, QueryHandlerFunctionArgs } from "@lookiero/messaging";
2
+ import { NotificationProjection } from "./notification";
3
+ declare const LIST_NOTIFICATIONS = "list_notifications";
4
+ interface ListNotifications extends Query<typeof LIST_NOTIFICATIONS> {
5
+ }
6
+ interface ListNotificationsFunction {
7
+ (): ListNotifications;
8
+ }
9
+ declare const listNotifications: ListNotificationsFunction;
10
+ declare type ListNotificationsResult = NotificationProjection[];
11
+ interface ListNotificationsView {
12
+ (): Promise<ListNotificationsResult>;
13
+ }
14
+ interface ListNotificationsHandlerFunctionArgs extends QueryHandlerFunctionArgs {
15
+ readonly view: ListNotificationsView;
16
+ }
17
+ declare const listNotificationsHandler: QueryHandlerFunction<ListNotifications, ListNotificationsResult, ListNotificationsHandlerFunctionArgs>;
18
+ export type { ListNotifications, ListNotificationsView, ListNotificationsResult };
19
+ export { LIST_NOTIFICATIONS, listNotifications, listNotificationsHandler };
@@ -0,0 +1,5 @@
1
+ import { query } from "@lookiero/messaging";
2
+ const LIST_NOTIFICATIONS = "list_notifications";
3
+ const listNotifications = () => query({ name: LIST_NOTIFICATIONS });
4
+ const listNotificationsHandler = ({ view }) => async () => view();
5
+ export { LIST_NOTIFICATIONS, listNotifications, listNotificationsHandler };
@@ -0,0 +1,8 @@
1
+ import { NotificationLevel } from "../../domain/notification/model/notification";
2
+ interface NotificationProjection {
3
+ readonly id: string;
4
+ readonly level: NotificationLevel;
5
+ readonly bodyI18nKey: string;
6
+ readonly titleI18nKey: string | undefined;
7
+ }
8
+ export type { NotificationProjection };
@@ -0,0 +1,7 @@
1
+ import { UseQueryFunctionResult } from "@lookiero/messaging-react";
2
+ import { ListNotificationsResult } from "../listNotifications";
3
+ interface UseListNotificationsFunction {
4
+ (): UseQueryFunctionResult<ListNotificationsResult>;
5
+ }
6
+ declare const useListNotifications: UseListNotificationsFunction;
7
+ export { useListNotifications };
@@ -0,0 +1,15 @@
1
+ import { useQuery } from "@lookiero/messaging-react";
2
+ import { NOTIFICATION_CREATED } from "../../../domain/notification/model/notificationCreated";
3
+ import { NOTIFICATION_REMOVED } from "../../../domain/notification/model/notificationRemoved";
4
+ import { NOTIFICATIONS_MESSAGING_CONTEXT_ID } from "../../../infrastructure/delivery/bootstrap";
5
+ import { listNotifications } from "../listNotifications";
6
+ const isNotificationCreated = (event) => event.name === NOTIFICATION_CREATED;
7
+ const isNotificationRemoved = (event) => event.name === NOTIFICATION_REMOVED;
8
+ const shouldInvalidate = (event) => isNotificationCreated(event) || isNotificationRemoved(event);
9
+ const useListNotifications = () => useQuery({
10
+ query: listNotifications(),
11
+ contextId: NOTIFICATIONS_MESSAGING_CONTEXT_ID,
12
+ invalidation: shouldInvalidate,
13
+ options: { staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
14
+ });
15
+ export { useListNotifications };
@@ -1,5 +1,5 @@
1
1
  import { StyleSheet } from "react-native";
2
- import { theme } from "../../../../theme/theme";
2
+ import { theme } from "../../../../../infrastructure/ui/theme/theme";
3
3
  const { colorPrimary } = theme();
4
4
  const style = StyleSheet.create({
5
5
  error: {
@@ -2,7 +2,7 @@ import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Tex
2
2
  import { animated, useSpring } from "@react-spring/native";
3
3
  import React from "react";
4
4
  import { View } from "react-native";
5
- import { theme } from "../../../../theme/theme";
5
+ import { theme } from "../../../../../infrastructure/ui/theme/theme";
6
6
  import { style } from "./Field.style";
7
7
  const { spaceM } = theme();
8
8
  const Field = ({ label, isFocused = false, style: customStyle }) => {
@@ -1,5 +1,5 @@
1
1
  import { StyleSheet } from "react-native";
2
- import { theme } from "../../../../theme/theme";
2
+ import { theme } from "../../../../../infrastructure/ui/theme/theme";
3
3
  const { colorBase, spaceS } = theme();
4
4
  const style = StyleSheet.create({
5
5
  fieldBackground: {
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { Text } from "react-native";
3
- import { theme } from "../../../../theme/theme";
3
+ import { theme } from "../../../../../infrastructure/ui/theme/theme";
4
4
  import { style } from "./Icon.style";
5
5
  const { iconGlyphs } = theme();
6
6
  const Icon = ({ name, style: customStyle }) => (React.createElement(Text, { accessibilityElementsHidden: true, allowFontScaling: false, importantForAccessibility: "no", selectable: false, style: [style.icon, customStyle], testID: "icon" }, String.fromCharCode(iconGlyphs[name])));
@@ -1,5 +1,5 @@
1
1
  import { StyleSheet } from "react-native";
2
- import { theme } from "../../../../theme/theme";
2
+ import { theme } from "../../../../../infrastructure/ui/theme/theme";
3
3
  const { iconFamily, iconSize } = theme();
4
4
  const style = StyleSheet.create({
5
5
  icon: {
@@ -1,6 +1,6 @@
1
1
  import React, { useCallback, useLayoutEffect, useRef, useState } from "react";
2
2
  import { Platform, TextInput, } from "react-native";
3
- import { theme } from "../../../../theme/theme";
3
+ import { theme } from "../../../../../infrastructure/ui/theme/theme";
4
4
  import { style, borderSize, paddingVertical } from "./Input.style";
5
5
  const MIN_HEIGHT = 56;
6
6
  const MAX_HEIGHT = 242; // 10 lines
@@ -1,5 +1,5 @@
1
1
  import { Platform, StyleSheet } from "react-native";
2
- import { theme } from "../../../../theme/theme";
2
+ import { theme } from "../../../../../infrastructure/ui/theme/theme";
3
3
  const { borderSize, colorContent, fontBodySize3, fontBodyHeight3, fontBodyLetterSpacing3, fontMap, spaceM } = theme();
4
4
  const paddingVertical = spaceM;
5
5
  // paddingVertical not working in iOS in multiline mode
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { ActivityIndicator, View } from "react-native";
3
- import { theme } from "../../../../theme/theme";
3
+ import { theme } from "../../../../../infrastructure/ui/theme/theme";
4
4
  import { style } from "./Spinner.style";
5
5
  const { colorPrimary } = theme();
6
6
  const Spinner = () => (React.createElement(View, { style: style.container },
@@ -4,7 +4,7 @@ import { animated, useTransition } from "@react-spring/native";
4
4
  import React, { useCallback, useMemo, useState } from "react";
5
5
  import { Dimensions, Platform, ScrollView, TouchableWithoutFeedback, View, } from "react-native";
6
6
  import { SafeAreaView, useSafeAreaInsets } from "react-native-safe-area-context";
7
- import { theme } from "../../../../theme/theme";
7
+ import { theme } from "../../../../../infrastructure/ui/theme/theme";
8
8
  import { useScreenSize } from "../../../hooks/useScreenSize";
9
9
  import { ButtonIcon } from "../../molecules/buttonIcon/ButtonIcon";
10
10
  import { Row } from "../row/Row";
@@ -1,5 +1,5 @@
1
1
  import { Platform, StyleSheet } from "react-native";
2
- import { theme } from "../../../../theme/theme";
2
+ import { theme } from "../../../../../infrastructure/ui/theme/theme";
3
3
  const { colorBase, colorOverlay, spaceM, spaceXL } = theme();
4
4
  const modalStylesForColumSize = {
5
5
  ["1/4"]: {
@@ -1,5 +1,5 @@
1
1
  import { StyleSheet } from "react-native";
2
- import { theme } from "../../../../theme/theme";
2
+ import { theme } from "../../../../../infrastructure/ui/theme/theme";
3
3
  const { spaceXXL, layoutMaxWidth } = theme();
4
4
  const rowLargeMaxWidth = layoutMaxWidth - 2 * spaceXXL;
5
5
  const style = StyleSheet.create({
@@ -1,5 +1,5 @@
1
1
  import { StyleSheet } from "react-native";
2
- import { theme } from "../../../../theme/theme";
2
+ import { theme } from "../../../../../infrastructure/ui/theme/theme";
3
3
  const { colorGrayscaleS, colorGrayscaleXL } = theme();
4
4
  const DOT_SIZE = 8;
5
5
  const style = StyleSheet.create({
@@ -0,0 +1,8 @@
1
+ import { FC, ReactElement } from "react";
2
+ import { StyleProp, ViewStyle } from "react-native";
3
+ interface StackProps {
4
+ readonly children: ReactElement | ReactElement[];
5
+ readonly style?: StyleProp<ViewStyle>;
6
+ }
7
+ declare const Stack: FC<StackProps>;
8
+ export { Stack };
@@ -0,0 +1,29 @@
1
+ import { animated, useTransition } from "@react-spring/native";
2
+ import React, { useCallback, useState, useMemo } from "react";
3
+ import { View } from "react-native";
4
+ import { style } from "./Stack.style";
5
+ const Stack = ({ children, style: customStyle }) => {
6
+ const [heights, setHeights] = useState({});
7
+ const handleOnLayout = useCallback((itemKey) => ({ nativeEvent: { layout } }) => setHeights((heights) => ({ ...heights, [itemKey]: layout.height })), []);
8
+ const outState = useMemo(() => ({ opacity: 0, height: 0, translateY: -50 }), []);
9
+ const inState = useCallback((height = 0) => ({ opacity: 1, height, translateY: 0 }), []);
10
+ const transitions = useTransition(children, {
11
+ keys: (item) => `${item.key}`,
12
+ native: true,
13
+ from: outState,
14
+ enter: (item) => inState(heights[item.key]),
15
+ update: (item) => inState(heights[item.key]),
16
+ leave: outState,
17
+ });
18
+ return (React.createElement(View, { pointerEvents: "box-none", style: [style.stack, customStyle] }, transitions(({ opacity, height, translateY }, item, { phase }) => (React.createElement(animated.View, { key: item.key, testID: "stack-item", style: [
19
+ {
20
+ zIndex: phase === "leave" ? 0 : 10,
21
+ opacity,
22
+ height,
23
+ transform: [{ translateY }],
24
+ },
25
+ style.stackItem,
26
+ ] },
27
+ React.createElement(View, { onLayout: handleOnLayout(item.key) }, item))))));
28
+ };
29
+ export { Stack };
@@ -0,0 +1,10 @@
1
+ declare const style: {
2
+ stack: {
3
+ flexDirection: "column";
4
+ width: string;
5
+ };
6
+ stackItem: {
7
+ width: string;
8
+ };
9
+ };
10
+ export { style };
@@ -0,0 +1,11 @@
1
+ import { StyleSheet } from "react-native";
2
+ const style = StyleSheet.create({
3
+ stack: {
4
+ flexDirection: "column",
5
+ width: "100%",
6
+ },
7
+ stackItem: {
8
+ width: "100%",
9
+ },
10
+ });
11
+ export { style };