@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.
- package/dist/package.json +116 -0
- package/dist/src/ExpoRoot.d.ts +5 -0
- package/dist/src/ExpoRoot.js +94 -0
- package/dist/{index.d.ts → src/index.d.ts} +1 -1
- package/dist/{index.js → src/index.js} +6 -3
- package/dist/{infrastructure → src/infrastructure}/delivery/bootstrap.d.ts +1 -1
- package/dist/{infrastructure → src/infrastructure}/delivery/bootstrap.js +3 -3
- package/dist/{infrastructure → src/infrastructure}/delivery/http/fetchHttpClient.d.ts +1 -1
- package/dist/src/infrastructure/delivery/http/fetchHttpClient.js +20 -0
- package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useMarkCheckoutAsPaid.d.ts +2 -2
- package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useMarkCheckoutAsPaid.js +7 -3
- package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.d.ts +1 -1
- package/dist/{infrastructure → src/infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.js +2 -2
- package/dist/{infrastructure → src/infrastructure}/ui/Root.d.ts +3 -0
- package/dist/{infrastructure → src/infrastructure}/ui/Root.js +3 -2
- package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.js +2 -2
- package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +3 -3
- package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.d.ts +8 -1
- package/dist/{infrastructure → src/infrastructure}/ui/i18n/i18n.js +7 -0
- package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutAccessibilityMiddleware.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutMiddleware.js +5 -1
- package/dist/{infrastructure → src/infrastructure}/ui/routing/Routing.d.ts +3 -2
- package/dist/{infrastructure → src/infrastructure}/ui/routing/Routing.js +8 -2
- package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.d.ts +3 -1
- package/dist/{infrastructure → src/infrastructure}/ui/routing/routes.js +2 -0
- package/dist/{infrastructure → src/infrastructure}/ui/views/App.js +2 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.js +78 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.style.d.ts +22 -0
- package/dist/src/infrastructure/ui/views/checkout/Checkout.style.js +25 -0
- package/dist/src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.d.ts +7 -0
- package/dist/src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.js +25 -0
- package/dist/src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.style.js +19 -0
- package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.d.ts +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.js +2 -2
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +1 -1
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +16 -0
- package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.js +1 -1
- package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.js +1 -1
- package/dist/src/shared/notifications/domain/notification/command/createNotification.d.ts +17 -0
- package/dist/src/shared/notifications/domain/notification/command/createNotification.js +7 -0
- package/dist/src/shared/notifications/domain/notification/command/removeNotification.d.ts +13 -0
- package/dist/src/shared/notifications/domain/notification/command/removeNotification.js +4 -0
- package/dist/src/shared/notifications/domain/notification/command/removeNotification.tes.d.ts +1 -0
- package/dist/src/shared/notifications/domain/notification/command/removeNotification.tes.js +9 -0
- package/dist/src/shared/notifications/domain/notification/model/notification.d.ts +18 -0
- package/dist/src/shared/notifications/domain/notification/model/notification.js +27 -0
- package/dist/src/shared/notifications/domain/notification/model/notificationCreated.d.ts +13 -0
- package/dist/src/shared/notifications/domain/notification/model/notificationCreated.js +4 -0
- package/dist/src/shared/notifications/domain/notification/model/notificationRemoved.d.ts +13 -0
- package/dist/src/shared/notifications/domain/notification/model/notificationRemoved.js +4 -0
- package/dist/src/shared/notifications/domain/notification/model/notifications.d.ts +7 -0
- package/dist/src/shared/notifications/domain/notification/model/notifications.js +1 -0
- package/dist/src/shared/notifications/index.d.ts +8 -0
- package/dist/src/shared/notifications/index.js +5 -0
- package/dist/src/shared/notifications/infrastructure/delivery/bootstrap.d.ts +13 -0
- package/dist/src/shared/notifications/infrastructure/delivery/bootstrap.js +14 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotifications.d.ts +18 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotifications.js +23 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.d.ts +8 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.js +16 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.d.ts +5 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.js +10 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/react/useCreateNotification.d.ts +16 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/react/useCreateNotification.js +16 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.d.ts +12 -0
- package/dist/src/shared/notifications/infrastructure/domain/notification/react/useRemoveNotification.js +10 -0
- package/dist/src/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.d.ts +7 -0
- package/dist/src/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.js +13 -0
- package/dist/src/shared/notifications/infrastructure/persistence/notificationDto.d.ts +8 -0
- package/dist/src/shared/notifications/infrastructure/persistence/notificationDto.js +1 -0
- package/dist/src/shared/notifications/infrastructure/persistence/storage.d.ts +7 -0
- package/dist/src/shared/notifications/infrastructure/persistence/storage.js +1 -0
- package/dist/src/shared/notifications/infrastructure/projection/notification/notification.d.ts +7 -0
- package/dist/src/shared/notifications/infrastructure/projection/notification/notification.js +7 -0
- package/dist/src/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.d.ts +13 -0
- package/dist/src/shared/notifications/infrastructure/projection/notification/storageListNotificationsView.js +6 -0
- package/dist/src/shared/notifications/infrastructure/ui/components/NotificationItem.d.ts +12 -0
- package/dist/src/shared/notifications/infrastructure/ui/components/NotificationItem.js +24 -0
- package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.d.ts +9 -0
- package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.js +13 -0
- package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.style.d.ts +25 -0
- package/dist/src/shared/notifications/infrastructure/ui/components/Notifications.style.js +28 -0
- package/dist/src/shared/notifications/infrastructure/ui/notificationsRoot.d.ts +13 -0
- package/dist/src/shared/notifications/infrastructure/ui/notificationsRoot.js +11 -0
- package/dist/src/shared/notifications/infrastructure/ui/views/Notifications.d.ts +3 -0
- package/dist/src/shared/notifications/infrastructure/ui/views/Notifications.js +11 -0
- package/dist/src/shared/notifications/projection/notification/listNotifications.d.ts +19 -0
- package/dist/src/shared/notifications/projection/notification/listNotifications.js +5 -0
- package/dist/src/shared/notifications/projection/notification/notification.d.ts +8 -0
- package/dist/src/shared/notifications/projection/notification/notification.js +1 -0
- package/dist/src/shared/notifications/projection/notification/react/useListNotifications.d.ts +7 -0
- package/dist/src/shared/notifications/projection/notification/react/useListNotifications.js +15 -0
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.style.js +1 -1
- package/dist/src/shared/ui/components/layouts/stack/Stack.d.ts +8 -0
- package/dist/src/shared/ui/components/layouts/stack/Stack.js +29 -0
- package/dist/src/shared/ui/components/layouts/stack/Stack.style.d.ts +10 -0
- package/dist/src/shared/ui/components/layouts/stack/Stack.style.js +11 -0
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.style.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.js +1 -1
- package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.style.js +1 -1
- package/dist/src/shared/ui/components/molecules/toast/Toast.d.ts +25 -0
- package/dist/src/shared/ui/components/molecules/toast/Toast.js +22 -0
- package/dist/src/shared/ui/components/molecules/toast/Toast.style.d.ts +34 -0
- package/dist/src/shared/ui/components/molecules/toast/Toast.style.js +37 -0
- package/package.json +23 -4
- package/dist/infrastructure/delivery/http/fetchHttpClient.js +0 -20
- /package/dist/{domain → src/domain}/checkout/command/markCheckoutAsPaid.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/command/markCheckoutAsPaid.js +0 -0
- /package/dist/{domain → src/domain}/checkout/command/startCheckout.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/command/startCheckout.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkout.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkout.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutPaid.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutPaid.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkoutStarted.js +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkouts.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkout/model/checkouts.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBooking.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookingBooked.js +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookings.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutBooking/model/checkoutBookings.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/keepCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/replaceCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/command/returnCheckoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItem.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemKept.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReplaced.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItemReturned.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/checkoutItems.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/currency.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/currency.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/feedbacks.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/feedbacks.js +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/price.d.ts +0 -0
- /package/dist/{domain → src/domain}/checkoutItem/model/price.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/command/updateUiSetting.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSetting.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettingUpdated.js +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.d.ts +0 -0
- /package/dist/{domain → src/domain}/uiSetting/model/uiSettings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/baseBootstrap.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/baseBootstrap.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/http/httpClient.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/http/httpClient.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutBookingDataSource.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/checkoutDataSource.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutBookings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckoutItems.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/delivery/mock/dataSourceCheckouts.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckouts.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckouts.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsMarkAsPaid.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsMarkAsPaid.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/model/httpCheckoutsStart.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useStartCheckout.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkout/react/useStartCheckout.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/model/httpCheckoutBookingsBook.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItems.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItems.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsKeep.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReplace.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/model/httpCheckoutItemsReturn.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useKeepCheckoutItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReplaceCheckoutItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/checkoutItem/react/useReturnCheckoutItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/model/storageUiSettings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useIncrementIntroShownCount.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useIncrementIntroShownCount.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useUpdateUiSetting.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/domain/uiSetting/react/useUpdateUiSetting.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/asyncStorageStorage.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/storage.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/storage.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/persistence/uiSettingData.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/checkout.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpCheckoutByIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpCheckoutByIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpFiveItemsDiscountByCustomerIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutBooking/httpCheckoutBookingByIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutBooking/httpCheckoutBookingByIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/checkoutItem/httpCheckoutItemByIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/httpPricingByCheckoutIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/httpPricingByCheckoutIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useShouldIntroBeShown.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useShouldIntroBeShown.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewIntroShownCount.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewIntroShownCount.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/react/useViewUiSettingByKey.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/projection/uiSetting/storageUiSettingByKeyView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/atoms/price/Price.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/body/Body.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/layouts/tabs/Tabs.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestion.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/ReturnQuestions.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/SafeAreaScrollView.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/components/templates/SafeAreaScrollView.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/hooks/useMediaImage.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutAccessibilityMiddleware.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/CheckoutMiddleware.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/routing/router/Router.native.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/settings/UISettings.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/theme/theme.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/theme/theme.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/App.d.ts +0 -0
- /package/dist/{infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.d.ts → src/infrastructure/ui/views/checkout/components/CheckoutSuccessModal.style.d.ts} +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/intro/Intro.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/Item.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/banner/CustomerDecissionBanner.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/itemActions/ItemActions.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariant/ProductVariant.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.d.ts +0 -0
- /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
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/Summary.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/Pricing.style.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowDown.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowDown.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowUp.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/pricing/icons/ArrowUp.js +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.style.d.ts +0 -0
- /package/dist/{infrastructure → src/infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.style.js +0 -0
- /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.d.ts +0 -0
- /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.js +0 -0
- /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.d.ts +0 -0
- /package/dist/{projection → src/projection}/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.js +0 -0
- /package/dist/{projection → src/projection}/checkout/checkout.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/checkout.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewCheckoutById.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewCheckoutById.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFirstAvailableCheckoutByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewFiveItemsDiscountByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutAccessibleByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkout/viewIsCheckoutEnabledByCustomerId.js +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/checkoutBooking.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/checkoutBooking.js +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutBooking/viewCheckoutBookingById.js +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/checkoutItem.js +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.d.ts +0 -0
- /package/dist/{projection → src/projection}/checkoutItem/viewCheckoutItemById.js +0 -0
- /package/dist/{projection → src/projection}/feedback/feedback.d.ts +0 -0
- /package/dist/{projection → src/projection}/feedback/feedback.js +0 -0
- /package/dist/{projection → src/projection}/payment/paymentFlowPayload.d.ts +0 -0
- /package/dist/{projection → src/projection}/payment/paymentFlowPayload.js +0 -0
- /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
- /package/dist/{projection → src/projection}/payment/viewPaymentFlowPayloadByCheckoutId.js +0 -0
- /package/dist/{projection → src/projection}/pricing/pricing.d.ts +0 -0
- /package/dist/{projection → src/projection}/pricing/pricing.js +0 -0
- /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.d.ts +0 -0
- /package/dist/{projection → src/projection}/pricing/viewPricingByCheckoutId.js +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.d.ts +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/listReturnQuestionsByCheckoutItemId.js +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.d.ts +0 -0
- /package/dist/{projection → src/projection}/returnQuestion/returnQuestion.js +0 -0
- /package/dist/{projection → src/projection}/shared/price.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/price.js +0 -0
- /package/dist/{projection → src/projection}/shared/size.d.ts +0 -0
- /package/dist/{projection → src/projection}/shared/size.js +0 -0
- /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.d.ts +0 -0
- /package/dist/{projection → src/projection}/uiSetting/viewUiSettingByKey.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/error/Error.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/field/Field.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/icon/Icon.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/spinner/Spinner.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/column/Column.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/row/Row.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Pagination.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/slider/Slider.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/sticky/Sticky.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.js +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/buttonIcon/ButtonIcon.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/inputField/InputField.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/components/molecules/selectField/SelectField.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → src/shared/ui}/hooks/useScreenSize.d.ts +0 -0
- /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 };
|
package/dist/src/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.d.ts
ADDED
|
@@ -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 };
|
package/dist/src/shared/notifications/infrastructure/persistence/inMemoryStorageNotifications.js
ADDED
|
@@ -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 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/src/shared/notifications/infrastructure/projection/notification/notification.d.ts
ADDED
|
@@ -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,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,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 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 };
|
|
@@ -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 "
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Text } from "react-native";
|
|
3
|
-
import { theme } from "
|
|
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,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 "
|
|
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
|
package/dist/{infrastructure/ui/shared → src/shared/ui}/components/atoms/input/Input.style.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Platform, StyleSheet } from "react-native";
|
|
2
|
-
import { theme } from "
|
|
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 "
|
|
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 "
|
|
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";
|
package/dist/{infrastructure/ui/shared → src/shared/ui}/components/layouts/modal/Modal.style.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Platform, StyleSheet } from "react-native";
|
|
2
|
-
import { theme } from "
|
|
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 "
|
|
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 "
|
|
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 };
|