@lookiero/checkout 0.4.0-beta.0 → 0.4.0-beta.2
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/domain/checkout/model/checkout.d.ts +5 -2
- package/dist/domain/checkout/model/checkout.js +13 -1
- package/dist/domain/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.d.ts +0 -1
- package/dist/domain/checkoutBooking/model/checkoutBooking.d.ts +0 -1
- package/dist/domain/checkoutItem/model/checkoutItem.js +4 -4
- package/dist/domain/checkoutItem/model/feedbacks.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -3
- package/dist/infrastructure/delivery/baseBootstrap.d.ts +17 -4
- package/dist/infrastructure/delivery/baseBootstrap.js +19 -2
- package/dist/infrastructure/delivery/bootstrap.d.ts +1 -1
- package/dist/infrastructure/delivery/bootstrap.js +19 -3
- package/dist/infrastructure/delivery/http/fetchHttpClient.d.ts +1 -1
- package/dist/infrastructure/delivery/http/fetchHttpClient.js +4 -4
- package/dist/infrastructure/delivery/mock/dataSourceCheckoutBookings.js +2 -4
- package/dist/infrastructure/delivery/mock/dataSourceCheckoutItems.js +2 -2
- package/dist/infrastructure/domain/checkout/model/httpCheckouts.js +7 -1
- package/dist/infrastructure/domain/checkout/react/useStartCheckout.d.ts +1 -1
- package/dist/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.js +0 -1
- package/dist/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBook.js +2 -3
- package/dist/infrastructure/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.d.ts +1 -3
- package/dist/infrastructure/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.js +3 -4
- package/dist/infrastructure/domain/checkoutItem/model/httpCheckoutItems.js +1 -1
- package/dist/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +1 -1
- package/dist/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +1 -1
- package/dist/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +1 -1
- package/dist/infrastructure/domain/uiSetting/react/useIncrementIntroShownCount.d.ts +1 -1
- package/dist/infrastructure/domain/uiSetting/react/useUpdateUiSetting.d.ts +1 -1
- package/dist/infrastructure/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.js +3 -0
- package/dist/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js +12 -1
- package/dist/infrastructure/ui/Root.d.ts +6 -0
- package/dist/infrastructure/ui/Root.js +4 -3
- package/dist/infrastructure/ui/components/atoms/price/Price.d.ts +3 -3
- package/dist/infrastructure/ui/components/layouts/body/Body.d.ts +1 -1
- package/dist/infrastructure/ui/components/layouts/body/Body.js +2 -2
- package/dist/infrastructure/ui/components/layouts/tabs/Tabs.js +1 -1
- package/dist/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.js +2 -1
- package/dist/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.d.ts +1 -1
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +1 -1
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +3 -3
- package/dist/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +1 -1
- package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.d.ts +3 -0
- package/dist/infrastructure/ui/components/templates/SafeAreaScrollView.js +10 -6
- package/dist/infrastructure/ui/i18n/i18n.d.ts +28 -2
- package/dist/infrastructure/ui/i18n/i18n.js +27 -1
- package/dist/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.js +1 -1
- package/dist/infrastructure/ui/routing/CheckoutMiddleware.d.ts +0 -1
- package/dist/infrastructure/ui/routing/CheckoutMiddleware.js +31 -8
- package/dist/infrastructure/ui/routing/Routing.d.ts +6 -2
- package/dist/infrastructure/ui/routing/Routing.js +26 -7
- package/dist/infrastructure/ui/routing/routes.d.ts +5 -1
- package/dist/infrastructure/ui/routing/routes.js +4 -0
- package/dist/infrastructure/ui/theme/theme.d.ts +2 -2
- package/dist/infrastructure/ui/views/App.d.ts +3 -0
- package/dist/infrastructure/ui/views/App.js +9 -2
- package/dist/infrastructure/ui/views/intro/Intro.d.ts +1 -1
- package/dist/infrastructure/ui/views/intro/Intro.js +1 -1
- package/dist/infrastructure/ui/views/item/Item.js +23 -16
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +1 -1
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +5 -5
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +3 -11
- package/dist/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +4 -12
- package/dist/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +1 -1
- package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.d.ts +2 -3
- package/dist/infrastructure/ui/views/item/components/itemActions/ItemActions.js +3 -5
- package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.d.ts +12 -1
- package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.js +28 -17
- package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.d.ts +22 -0
- package/dist/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.js +23 -1
- package/dist/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.d.ts +2 -1
- package/dist/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +1 -1
- package/dist/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.d.ts +0 -2
- package/dist/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +5 -7
- package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +2 -2
- package/dist/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +11 -11
- package/dist/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.js +1 -1
- package/dist/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +1 -1
- package/dist/infrastructure/ui/views/summary/Summary.js +39 -6
- package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.d.ts +3 -1
- package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.js +11 -10
- package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +3 -0
- package/dist/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +4 -1
- package/dist/projection/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.d.ts +1 -4
- package/dist/projection/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.d.ts +1 -1
- package/dist/projection/checkout/viewCheckoutById.d.ts +1 -1
- package/dist/projection/checkout/viewFirstAvailableCheckoutByCustomerId.d.ts +1 -1
- package/dist/projection/checkout/viewFiveItemsDiscountByCustomerId.d.ts +1 -1
- package/dist/projection/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +1 -1
- package/dist/projection/checkout/viewIsCheckoutEnabledByCustomerId.d.ts +1 -1
- package/dist/projection/checkoutBooking/checkoutBooking.d.ts +0 -1
- package/dist/projection/checkoutBooking/viewCheckoutBookingById.d.ts +1 -1
- package/dist/projection/checkoutItem/checkoutItem.d.ts +4 -12
- package/dist/projection/checkoutItem/checkoutItem.js +1 -2
- package/dist/projection/checkoutItem/viewCheckoutItemById.d.ts +1 -1
- package/dist/projection/feedback/feedback.d.ts +2 -2
- package/dist/projection/returnQuestion/listReturnQuestionsByCheckoutItemId.d.ts +1 -1
- package/dist/projection/uiSetting/viewUiSettingByKey.d.ts +1 -1
- package/package.json +1 -1
- package/dist/domain/checkoutBooking/command/bookSizeReplaceableProductVariantsForCheckoutItem.d.ts +0 -15
- package/dist/domain/checkoutBooking/command/bookSizeReplaceableProductVariantsForCheckoutItem.js +0 -7
- package/dist/infrastructure/domain/checkoutBooking/react/useBookSizeReplaceableProductVariantsForCheckoutItem.d.ts +0 -15
- package/dist/infrastructure/domain/checkoutBooking/react/useBookSizeReplaceableProductVariantsForCheckoutItem.js +0 -14
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/bookedSizeReplaceableProductVariants.mock.d.ts +0 -3
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/bookedSizeReplaceableProductVariants.mock.js +0 -17
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/httpBookedSizeReplaceableProductVariantsForCheckoutItemView.d.ts +0 -34
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/httpBookedSizeReplaceableProductVariantsForCheckoutItemView.js +0 -26
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/react/useViewBookedSizeReplaceableProductVariantsForCheckoutItem.d.ts +0 -10
- package/dist/infrastructure/projection/bookedSizeReplaceableProductVariants/react/useViewBookedSizeReplaceableProductVariantsForCheckoutItem.js +0 -9
- package/dist/infrastructure/projection/checkoutItem/checkoutItem.d.ts +0 -45
- package/dist/infrastructure/projection/checkoutItem/checkoutItem.js +0 -40
- package/dist/infrastructure/projection/feedback/feedback.mock.d.ts +0 -3
- package/dist/infrastructure/projection/feedback/feedback.mock.js +0 -6
- package/dist/infrastructure/projection/returnQuestion/returnQuestion.d.ts +0 -14
- package/dist/infrastructure/projection/returnQuestion/returnQuestion.js +0 -9
- package/dist/infrastructure/ui/shared/components/atoms/error/Error.d.ts +0 -10
- package/dist/infrastructure/ui/shared/components/atoms/error/Error.style.js +0 -9
- package/dist/infrastructure/ui/shared/components/atoms/field/Field.d.ts +0 -14
- package/dist/infrastructure/ui/shared/components/atoms/field/Field.js +0 -29
- package/dist/infrastructure/ui/shared/components/atoms/field/Field.style.js +0 -17
- package/dist/infrastructure/ui/shared/components/atoms/icon/Icon.d.ts +0 -12
- package/dist/infrastructure/ui/shared/components/atoms/icon/Icon.js +0 -7
- package/dist/infrastructure/ui/shared/components/atoms/icon/Icon.style.js +0 -16
- package/dist/infrastructure/ui/shared/components/atoms/input/Input.d.ts +0 -11
- package/dist/infrastructure/ui/shared/components/atoms/input/Input.js +0 -37
- package/dist/infrastructure/ui/shared/components/atoms/input/Input.style.js +0 -26
- package/dist/infrastructure/ui/shared/components/atoms/spinner/Spinner.js +0 -8
- package/dist/infrastructure/ui/shared/components/layouts/column/Column.d.ts +0 -10
- package/dist/infrastructure/ui/shared/components/layouts/modal/Modal.d.ts +0 -20
- package/dist/infrastructure/ui/shared/components/layouts/modal/Modal.js +0 -79
- package/dist/infrastructure/ui/shared/components/layouts/modal/Modal.style.js +0 -70
- package/dist/infrastructure/ui/shared/components/layouts/row/Row.style.js +0 -17
- package/dist/infrastructure/ui/shared/components/layouts/slider/Pagination.style.js +0 -27
- package/dist/infrastructure/ui/shared/components/layouts/sticky/Sticky.js +0 -12
- package/dist/infrastructure/ui/shared/components/layouts/sticky/Sticky.style.js +0 -33
- package/dist/infrastructure/ui/shared/components/molecules/buttonIcon/ButtonIcon.style.js +0 -10
- package/dist/infrastructure/ui/shared/components/molecules/inputField/InputField.d.ts +0 -25
- package/dist/infrastructure/ui/shared/components/molecules/inputField/InputField.js +0 -26
- package/dist/infrastructure/ui/shared/components/molecules/inputField/InputField.style.js +0 -20
- package/dist/infrastructure/ui/shared/components/molecules/selectField/SelectField.js +0 -26
- package/dist/infrastructure/ui/shared/components/molecules/selectField/SelectField.style.js +0 -18
- package/dist/infrastructure/ui/shared/hooks/useScreenSize.d.ts +0 -4
- package/dist/package.json +0 -117
- package/dist/projection/bookedSizeReplaceableProductVariants/viewBookedSizeReplaceableProductVariantsForCheckoutItem.d.ts +0 -33
- package/dist/projection/bookedSizeReplaceableProductVariants/viewBookedSizeReplaceableProductVariantsForCheckoutItem.js +0 -8
- package/dist/src/ExpoRoot.d.ts +0 -5
- package/dist/src/ExpoRoot.js +0 -105
- package/dist/src/domain/checkout/command/startCheckout.d.ts +0 -13
- package/dist/src/domain/checkout/command/startCheckout.js +0 -4
- package/dist/src/domain/checkout/model/checkout.d.ts +0 -21
- package/dist/src/domain/checkout/model/checkout.js +0 -32
- package/dist/src/domain/checkout/model/checkoutStarted.d.ts +0 -13
- package/dist/src/domain/checkout/model/checkoutStarted.js +0 -4
- package/dist/src/domain/checkout/model/checkouts.d.ts +0 -7
- package/dist/src/domain/checkout/model/checkouts.js +0 -1
- package/dist/src/domain/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.d.ts +0 -14
- package/dist/src/domain/checkoutBooking/command/bookCheckoutBookingForCheckoutItem.js +0 -7
- package/dist/src/domain/checkoutBooking/model/checkoutBooking.d.ts +0 -8
- package/dist/src/domain/checkoutBooking/model/checkoutBooking.js +0 -9
- package/dist/src/domain/checkoutBooking/model/checkoutBookingBooked.d.ts +0 -14
- package/dist/src/domain/checkoutBooking/model/checkoutBookingBooked.js +0 -7
- package/dist/src/domain/checkoutBooking/model/checkoutBookings.d.ts +0 -7
- package/dist/src/domain/checkoutBooking/model/checkoutBookings.js +0 -1
- package/dist/src/domain/checkoutItem/command/keepCheckoutItem.d.ts +0 -13
- package/dist/src/domain/checkoutItem/command/keepCheckoutItem.js +0 -4
- package/dist/src/domain/checkoutItem/command/replaceCheckoutItem.d.ts +0 -14
- package/dist/src/domain/checkoutItem/command/replaceCheckoutItem.js +0 -7
- package/dist/src/domain/checkoutItem/command/returnCheckoutItem.d.ts +0 -15
- package/dist/src/domain/checkoutItem/command/returnCheckoutItem.js +0 -7
- package/dist/src/domain/checkoutItem/model/checkoutItem.d.ts +0 -24
- package/dist/src/domain/checkoutItem/model/checkoutItem.js +0 -40
- package/dist/src/domain/checkoutItem/model/checkoutItemKept.d.ts +0 -13
- package/dist/src/domain/checkoutItem/model/checkoutItemKept.js +0 -4
- package/dist/src/domain/checkoutItem/model/checkoutItemReplaced.d.ts +0 -13
- package/dist/src/domain/checkoutItem/model/checkoutItemReplaced.js +0 -4
- package/dist/src/domain/checkoutItem/model/checkoutItemReturned.d.ts +0 -13
- package/dist/src/domain/checkoutItem/model/checkoutItemReturned.js +0 -4
- package/dist/src/domain/checkoutItem/model/checkoutItems.d.ts +0 -7
- package/dist/src/domain/checkoutItem/model/checkoutItems.js +0 -1
- package/dist/src/domain/checkoutItem/model/currency.d.ts +0 -5
- package/dist/src/domain/checkoutItem/model/currency.js +0 -6
- package/dist/src/domain/checkoutItem/model/feedbacks.d.ts +0 -3
- package/dist/src/domain/checkoutItem/model/feedbacks.js +0 -1
- package/dist/src/domain/checkoutItem/model/price.d.ts +0 -10
- package/dist/src/domain/uiSetting/command/updateUiSetting.d.ts +0 -15
- package/dist/src/domain/uiSetting/command/updateUiSetting.js +0 -10
- package/dist/src/domain/uiSetting/model/uiSetting.d.ts +0 -9
- package/dist/src/domain/uiSetting/model/uiSetting.js +0 -11
- package/dist/src/domain/uiSetting/model/uiSettingUpdated.d.ts +0 -14
- package/dist/src/domain/uiSetting/model/uiSettingUpdated.js +0 -7
- package/dist/src/domain/uiSetting/model/uiSettings.d.ts +0 -7
- package/dist/src/domain/uiSetting/model/uiSettings.js +0 -1
- package/dist/src/index.d.ts +0 -24
- package/dist/src/index.js +0 -22
- package/dist/src/infrastructure/delivery/baseBootstrap.d.ts +0 -69
- package/dist/src/infrastructure/delivery/baseBootstrap.js +0 -72
- package/dist/src/infrastructure/delivery/bootstrap.d.ts +0 -10
- package/dist/src/infrastructure/delivery/bootstrap.js +0 -60
- package/dist/src/infrastructure/delivery/http/fetchHttpClient.d.ts +0 -14
- package/dist/src/infrastructure/delivery/http/fetchHttpClient.js +0 -20
- package/dist/src/infrastructure/delivery/http/httpClient.d.ts +0 -16
- package/dist/src/infrastructure/delivery/http/httpClient.js +0 -1
- package/dist/src/infrastructure/delivery/mock/checkoutBookingDataSource.d.ts +0 -14
- package/dist/src/infrastructure/delivery/mock/checkoutBookingDataSource.js +0 -12
- package/dist/src/infrastructure/delivery/mock/checkoutDataSource.d.ts +0 -17
- package/dist/src/infrastructure/delivery/mock/checkoutDataSource.js +0 -18
- package/dist/src/infrastructure/delivery/mock/dataSourceCheckoutBookings.d.ts +0 -14
- package/dist/src/infrastructure/delivery/mock/dataSourceCheckoutBookings.js +0 -19
- package/dist/src/infrastructure/delivery/mock/dataSourceCheckoutItems.d.ts +0 -14
- package/dist/src/infrastructure/delivery/mock/dataSourceCheckoutItems.js +0 -25
- package/dist/src/infrastructure/delivery/mock/dataSourceCheckouts.d.ts +0 -11
- package/dist/src/infrastructure/delivery/mock/dataSourceCheckouts.js +0 -27
- package/dist/src/infrastructure/domain/checkout/model/httpCheckouts.d.ts +0 -16
- package/dist/src/infrastructure/domain/checkout/model/httpCheckouts.js +0 -25
- package/dist/src/infrastructure/domain/checkout/model/httpCheckoutsStart.d.ts +0 -5
- package/dist/src/infrastructure/domain/checkout/model/httpCheckoutsStart.js +0 -13
- package/dist/src/infrastructure/domain/checkout/react/useStartCheckout.d.ts +0 -13
- package/dist/src/infrastructure/domain/checkout/react/useStartCheckout.js +0 -10
- package/dist/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.d.ts +0 -16
- package/dist/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookings.js +0 -14
- package/dist/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBook.d.ts +0 -5
- package/dist/src/infrastructure/domain/checkoutBooking/model/httpCheckoutBookingsBook.js +0 -17
- package/dist/src/infrastructure/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.d.ts +0 -13
- package/dist/src/infrastructure/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.js +0 -14
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItems.d.ts +0 -16
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItems.js +0 -26
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsKeep.d.ts +0 -5
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsKeep.js +0 -13
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReplace.d.ts +0 -5
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReplace.js +0 -13
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReturn.d.ts +0 -5
- package/dist/src/infrastructure/domain/checkoutItem/model/httpCheckoutItemsReturn.js +0 -13
- package/dist/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.d.ts +0 -13
- package/dist/src/infrastructure/domain/checkoutItem/react/useKeepCheckoutItem.js +0 -12
- package/dist/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.d.ts +0 -16
- package/dist/src/infrastructure/domain/checkoutItem/react/useReplaceCheckoutItem.js +0 -13
- package/dist/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.d.ts +0 -17
- package/dist/src/infrastructure/domain/checkoutItem/react/useReturnCheckoutItem.js +0 -13
- package/dist/src/infrastructure/domain/uiSetting/model/storageUiSettings.d.ts +0 -17
- package/dist/src/infrastructure/domain/uiSetting/model/storageUiSettings.js +0 -20
- package/dist/src/infrastructure/domain/uiSetting/react/useIncrementIntroShownCount.d.ts +0 -10
- package/dist/src/infrastructure/domain/uiSetting/react/useIncrementIntroShownCount.js +0 -11
- package/dist/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.d.ts +0 -14
- package/dist/src/infrastructure/domain/uiSetting/react/useUpdateUiSetting.js +0 -15
- package/dist/src/infrastructure/persistence/asyncStorageStorage.d.ts +0 -5
- package/dist/src/infrastructure/persistence/asyncStorageStorage.js +0 -7
- package/dist/src/infrastructure/persistence/storage.d.ts +0 -7
- package/dist/src/infrastructure/persistence/uiSettingData.d.ts +0 -6
- package/dist/src/infrastructure/persistence/uiSettingData.js +0 -1
- package/dist/src/infrastructure/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.d.ts +0 -12
- package/dist/src/infrastructure/projection/bookedSizeChangeProductsVariants/httpBookedSizeChangeProductsVariantsForCheckoutItemView.js +0 -9
- package/dist/src/infrastructure/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.d.ts +0 -10
- package/dist/src/infrastructure/projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem.js +0 -12
- package/dist/src/infrastructure/projection/checkout/checkout.d.ts +0 -18
- package/dist/src/infrastructure/projection/checkout/checkout.js +0 -5
- package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/checkout/httpCheckoutByIdView.js +0 -10
- package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.js +0 -10
- package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.js +0 -8
- package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.js +0 -8
- package/dist/src/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.d.ts +0 -10
- package/dist/src/infrastructure/projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId.js +0 -25
- package/dist/src/infrastructure/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.d.ts +0 -10
- package/dist/src/infrastructure/projection/checkout/react/useViewFiveItemsDiscountByCustomerId.js +0 -9
- package/dist/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.d.ts +0 -10
- package/dist/src/infrastructure/projection/checkout/react/useViewIsCheckoutAccessibleByCustomerId.js +0 -9
- package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/checkoutBooking/httpCheckoutBookingByIdView.js +0 -9
- package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/checkoutItem/httpCheckoutItemByIdView.js +0 -9
- package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.d.ts +0 -12
- package/dist/src/infrastructure/projection/returnQuestion/httpReturnQuestionsByCheckoutItemIdView.js +0 -9
- package/dist/src/infrastructure/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.d.ts +0 -10
- package/dist/src/infrastructure/projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId.js +0 -9
- package/dist/src/infrastructure/projection/uiSetting/react/useShouldIntroBeShown.d.ts +0 -6
- package/dist/src/infrastructure/projection/uiSetting/react/useShouldIntroBeShown.js +0 -7
- package/dist/src/infrastructure/projection/uiSetting/react/useViewIntroShownCount.d.ts +0 -6
- package/dist/src/infrastructure/projection/uiSetting/react/useViewIntroShownCount.js +0 -9
- package/dist/src/infrastructure/projection/uiSetting/react/useViewUiSettingByKey.d.ts +0 -10
- package/dist/src/infrastructure/projection/uiSetting/react/useViewUiSettingByKey.js +0 -12
- package/dist/src/infrastructure/projection/uiSetting/storageUiSettingByKeyView.d.ts +0 -13
- package/dist/src/infrastructure/projection/uiSetting/storageUiSettingByKeyView.js +0 -15
- package/dist/src/infrastructure/ui/Root.d.ts +0 -26
- package/dist/src/infrastructure/ui/Root.js +0 -12
- package/dist/src/infrastructure/ui/components/atoms/price/Price.d.ts +0 -12
- package/dist/src/infrastructure/ui/components/atoms/price/Price.js +0 -28
- package/dist/src/infrastructure/ui/components/atoms/price/Price.style.d.ts +0 -13
- package/dist/src/infrastructure/ui/components/atoms/price/Price.style.js +0 -16
- package/dist/src/infrastructure/ui/components/layouts/body/Body.d.ts +0 -9
- package/dist/src/infrastructure/ui/components/layouts/body/Body.js +0 -7
- package/dist/src/infrastructure/ui/components/layouts/body/Body.style.d.ts +0 -7
- package/dist/src/infrastructure/ui/components/layouts/body/Body.style.js +0 -8
- package/dist/src/infrastructure/ui/components/layouts/tabs/Tabs.d.ts +0 -26
- package/dist/src/infrastructure/ui/components/layouts/tabs/Tabs.js +0 -47
- package/dist/src/infrastructure/ui/components/layouts/tabs/Tabs.style.d.ts +0 -32
- package/dist/src/infrastructure/ui/components/layouts/tabs/Tabs.style.js +0 -35
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.d.ts +0 -9
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestion.js +0 -8
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.d.ts +0 -8
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/ReturnQuestions.js +0 -4
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.d.ts +0 -29
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback.js +0 -28
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.d.ts +0 -18
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/behaviors/useReturnQuestionItem.js +0 -12
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.d.ts +0 -10
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/ReturnQuestionItem.js +0 -1
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionFeedbackItem/HostDefaultReturnQuestionFeedbackItem.js +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.js +0 -12
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.d.ts +0 -8
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostDefaultReturnQuestionItem/HostDefaultReturnQuestionItem.style.js +0 -11
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.js +0 -34
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.d.ts +0 -11
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostSelectReturnQuestionItem/HostSelectReturnQuestionItem.style.js +0 -14
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.js +0 -27
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.d.ts +0 -12
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/hostStackReturnQuestionItem/HostStackReturnQuestionItem.style.js +0 -15
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.js +0 -15
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.d.ts +0 -12
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/optionReturnQuestionItem/OptionReturnQuestionItem.style.js +0 -15
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.js +0 -26
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.d.ts +0 -10
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/returnQuestionFeedbackItem/ReturnQuestionFeedbackItem.style.js +0 -13
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.d.ts +0 -3
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/components/textareaReturnQuestionItem/TextareaReturnQuestionItem.js +0 -13
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.d.ts +0 -22
- package/dist/src/infrastructure/ui/components/organisms/returnQuestions/util/returnQuestionFeedback.js +0 -58
- package/dist/src/infrastructure/ui/components/templates/SafeAreaScrollView.d.ts +0 -11
- package/dist/src/infrastructure/ui/components/templates/SafeAreaScrollView.js +0 -18
- package/dist/src/infrastructure/ui/hooks/useMediaImage.d.ts +0 -7
- package/dist/src/infrastructure/ui/hooks/useMediaImage.js +0 -12
- package/dist/src/infrastructure/ui/i18n/i18n.d.ts +0 -65
- package/dist/src/infrastructure/ui/i18n/i18n.js +0 -66
- package/dist/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.d.ts +0 -9
- package/dist/src/infrastructure/ui/routing/CheckoutAccessibilityMiddleware.js +0 -21
- package/dist/src/infrastructure/ui/routing/CheckoutMiddleware.d.ts +0 -8
- package/dist/src/infrastructure/ui/routing/CheckoutMiddleware.js +0 -70
- package/dist/src/infrastructure/ui/routing/Routing.d.ts +0 -16
- package/dist/src/infrastructure/ui/routing/Routing.js +0 -64
- package/dist/src/infrastructure/ui/routing/router/Router.d.ts +0 -1
- package/dist/src/infrastructure/ui/routing/router/Router.js +0 -1
- package/dist/src/infrastructure/ui/routing/router/Router.native.d.ts +0 -1
- package/dist/src/infrastructure/ui/routing/router/Router.native.js +0 -1
- package/dist/src/infrastructure/ui/routing/routes.d.ts +0 -10
- package/dist/src/infrastructure/ui/routing/routes.js +0 -11
- package/dist/src/infrastructure/ui/settings/UISettings.d.ts +0 -4
- package/dist/src/infrastructure/ui/settings/UISettings.js +0 -5
- package/dist/src/infrastructure/ui/theme/theme.d.ts +0 -10
- package/dist/src/infrastructure/ui/theme/theme.js +0 -5
- package/dist/src/infrastructure/ui/views/App.d.ts +0 -9
- package/dist/src/infrastructure/ui/views/App.js +0 -13
- package/dist/src/infrastructure/ui/views/intro/Intro.d.ts +0 -6
- package/dist/src/infrastructure/ui/views/intro/Intro.js +0 -51
- package/dist/src/infrastructure/ui/views/intro/Intro.style.d.ts +0 -52
- package/dist/src/infrastructure/ui/views/intro/Intro.style.js +0 -55
- package/dist/src/infrastructure/ui/views/item/Item.d.ts +0 -7
- package/dist/src/infrastructure/ui/views/item/Item.js +0 -104
- package/dist/src/infrastructure/ui/views/item/Item.style.d.ts +0 -15
- package/dist/src/infrastructure/ui/views/item/Item.style.js +0 -18
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.d.ts +0 -10
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.js +0 -21
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.d.ts +0 -9
- package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js +0 -12
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.d.ts +0 -8
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.js +0 -34
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.d.ts +0 -19
- package/dist/src/infrastructure/ui/views/item/components/getOutOfCheckoutModal/GetOutOfCheckoutModal.style.js +0 -22
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.d.ts +0 -17
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.js +0 -31
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.style.d.ts +0 -21
- package/dist/src/infrastructure/ui/views/item/components/itemActions/ItemActions.style.js +0 -24
- package/dist/src/infrastructure/ui/views/item/components/productVariant/ProductVariant.d.ts +0 -24
- package/dist/src/infrastructure/ui/views/item/components/productVariant/ProductVariant.js +0 -41
- package/dist/src/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.d.ts +0 -45
- package/dist/src/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.js +0 -49
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.d.ts +0 -13
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.js +0 -26
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.d.ts +0 -19
- package/dist/src/infrastructure/ui/views/item/components/productVariantDescription/ProductVariantDescription.style.js +0 -22
- package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.d.ts +0 -7
- package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.js +0 -22
- package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.d.ts +0 -25
- package/dist/src/infrastructure/ui/views/item/components/productVariantSlider/ProductVariantSlider.style.js +0 -29
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.d.ts +0 -8
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.js +0 -30
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.d.ts +0 -12
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsFeedback/ReturnQuestionsFeedback.style.js +0 -15
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.d.ts +0 -15
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.js +0 -46
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.d.ts +0 -11
- package/dist/src/infrastructure/ui/views/item/components/returnQuestionsForm/ReturnQuestionsForm.style.js +0 -14
- package/dist/src/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.d.ts +0 -7
- package/dist/src/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.js +0 -25
- package/dist/src/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.d.ts +0 -16
- package/dist/src/infrastructure/ui/views/item/components/sizeChangeModal/SizeChangeModal.style.js +0 -19
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.d.ts +0 -7
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.js +0 -25
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.d.ts +0 -16
- package/dist/src/infrastructure/ui/views/item/components/sizeWithoutStockModal/SizeWithoutStockModal.style.js +0 -19
- package/dist/src/infrastructure/ui/views/summary/Summary.d.ts +0 -6
- package/dist/src/infrastructure/ui/views/summary/Summary.js +0 -51
- package/dist/src/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.d.ts +0 -9
- package/dist/src/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.js +0 -21
- package/dist/src/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.d.ts +0 -12
- package/dist/src/infrastructure/ui/views/summary/components/checkoutItemsTabs/CheckoutItemsTabs.style.js +0 -15
- package/dist/src/projection/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.d.ts +0 -10
- package/dist/src/projection/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants.js +0 -1
- package/dist/src/projection/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.d.ts +0 -25
- package/dist/src/projection/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem.js +0 -8
- package/dist/src/projection/checkout/checkout.d.ts +0 -12
- package/dist/src/projection/checkout/checkout.js +0 -1
- package/dist/src/projection/checkout/viewCheckoutById.d.ts +0 -25
- package/dist/src/projection/checkout/viewCheckoutById.js +0 -8
- package/dist/src/projection/checkout/viewFirstAvailableCheckoutByCustomerId.d.ts +0 -25
- package/dist/src/projection/checkout/viewFirstAvailableCheckoutByCustomerId.js +0 -8
- package/dist/src/projection/checkout/viewFiveItemsDiscountByCustomerId.d.ts +0 -24
- package/dist/src/projection/checkout/viewFiveItemsDiscountByCustomerId.js +0 -8
- package/dist/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.d.ts +0 -17
- package/dist/src/projection/checkout/viewIsCheckoutAccessibleByCustomerId.js +0 -13
- package/dist/src/projection/checkout/viewIsCheckoutEnabledByCustomerId.d.ts +0 -24
- package/dist/src/projection/checkout/viewIsCheckoutEnabledByCustomerId.js +0 -8
- package/dist/src/projection/checkoutBooking/checkoutBooking.d.ts +0 -5
- package/dist/src/projection/checkoutBooking/checkoutBooking.js +0 -1
- package/dist/src/projection/checkoutBooking/viewCheckoutBookingById.d.ts +0 -25
- package/dist/src/projection/checkoutBooking/viewCheckoutBookingById.js +0 -8
- package/dist/src/projection/checkoutItem/checkoutItem.d.ts +0 -45
- package/dist/src/projection/checkoutItem/checkoutItem.js +0 -16
- package/dist/src/projection/checkoutItem/viewCheckoutItemById.d.ts +0 -25
- package/dist/src/projection/checkoutItem/viewCheckoutItemById.js +0 -8
- package/dist/src/projection/feedback/feedback.d.ts +0 -3
- package/dist/src/projection/feedback/feedback.js +0 -1
- package/dist/src/projection/returnQuestion/listReturnQuestionsByCheckoutItemId.d.ts +0 -25
- package/dist/src/projection/returnQuestion/listReturnQuestionsByCheckoutItemId.js +0 -8
- package/dist/src/projection/returnQuestion/returnQuestion.d.ts +0 -17
- package/dist/src/projection/returnQuestion/returnQuestion.js +0 -11
- package/dist/src/projection/shared/price.js +0 -1
- package/dist/src/projection/shared/size.d.ts +0 -10
- package/dist/src/projection/shared/size.js +0 -1
- package/dist/src/projection/uiSetting/viewUiSettingByKey.d.ts +0 -29
- package/dist/src/projection/uiSetting/viewUiSettingByKey.js +0 -8
- package/dist/src/shared/notifications/infrastructure/persistence/storage.js +0 -1
- package/dist/src/shared/ui/components/atoms/error/Error.js +0 -5
- package/dist/src/shared/ui/components/atoms/error/Error.style.d.ts +0 -6
- package/dist/src/shared/ui/components/atoms/field/Field.style.d.ts +0 -14
- package/dist/src/shared/ui/components/atoms/icon/Icon.style.d.ts +0 -13
- package/dist/src/shared/ui/components/atoms/input/Input.style.d.ts +0 -19
- package/dist/src/shared/ui/components/atoms/spinner/Spinner.d.ts +0 -3
- package/dist/src/shared/ui/components/atoms/spinner/Spinner.style.d.ts +0 -9
- package/dist/src/shared/ui/components/atoms/spinner/Spinner.style.js +0 -10
- package/dist/src/shared/ui/components/layouts/column/Column.js +0 -10
- package/dist/src/shared/ui/components/layouts/column/Column.style.d.ts +0 -12
- package/dist/src/shared/ui/components/layouts/column/Column.style.js +0 -23
- package/dist/src/shared/ui/components/layouts/modal/Modal.style.d.ts +0 -58
- package/dist/src/shared/ui/components/layouts/row/Row.d.ts +0 -6
- package/dist/src/shared/ui/components/layouts/row/Row.js +0 -10
- package/dist/src/shared/ui/components/layouts/row/Row.style.d.ts +0 -13
- package/dist/src/shared/ui/components/layouts/slider/Pagination.d.ts +0 -14
- package/dist/src/shared/ui/components/layouts/slider/Pagination.js +0 -11
- package/dist/src/shared/ui/components/layouts/slider/Pagination.style.d.ts +0 -23
- package/dist/src/shared/ui/components/layouts/slider/Slider.d.ts +0 -20
- package/dist/src/shared/ui/components/layouts/slider/Slider.js +0 -132
- package/dist/src/shared/ui/components/layouts/slider/Slider.style.d.ts +0 -11
- package/dist/src/shared/ui/components/layouts/slider/Slider.style.js +0 -12
- package/dist/src/shared/ui/components/layouts/sticky/Sticky.d.ts +0 -14
- package/dist/src/shared/ui/components/layouts/sticky/Sticky.style.d.ts +0 -46
- package/dist/src/shared/ui/components/molecules/buttonIcon/ButtonIcon.d.ts +0 -16
- package/dist/src/shared/ui/components/molecules/buttonIcon/ButtonIcon.js +0 -7
- package/dist/src/shared/ui/components/molecules/buttonIcon/ButtonIcon.style.d.ts +0 -7
- package/dist/src/shared/ui/components/molecules/inputField/InputField.style.d.ts +0 -17
- package/dist/src/shared/ui/components/molecules/selectField/SelectField.d.ts +0 -26
- package/dist/src/shared/ui/components/molecules/selectField/SelectField.style.d.ts +0 -15
- package/dist/src/shared/ui/hooks/useScreenSize.js +0 -9
- /package/dist/{src/domain → domain}/checkout/command/markCheckoutAsPaid.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkout/command/markCheckoutAsPaid.js +0 -0
- /package/dist/{src/domain → domain}/checkout/model/checkoutPaid.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkout/model/checkoutPaid.js +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/command/giveCheckoutFeedback.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/command/giveCheckoutFeedback.js +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/checkoutFeedback.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/checkoutFeedback.js +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/checkoutFeedbackGiven.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/checkoutFeedbackGiven.js +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/checkoutFeedbacks.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/checkoutFeedbacks.js +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/feedbacks.d.ts +0 -0
- /package/dist/{src/domain → domain}/checkoutFeedback/model/feedbacks.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/checkoutFeedbackDataSource.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/checkoutFeedbackDataSource.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/dataSourceCheckoutFeedbacks.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/delivery/mock/dataSourceCheckoutFeedbacks.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/model/httpCheckoutsMarkAsPaid.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/model/httpCheckoutsMarkAsPaid.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/react/useMarkCheckoutAsPaid.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkout/react/useMarkCheckoutAsPaid.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacks.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacks.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutFeedback/model/httpCheckoutFeedbacksGive.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutFeedback/react/useGiveCheckoutFeedback.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/domain/checkoutFeedback/react/useGiveCheckoutFeedback.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutFeedback/httpCheckoutFeedbackByCheckoutIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutFeedback/httpCheckoutFeedbackByCheckoutIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutQuestion/httpCheckoutQuestionsByCheckoutIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/checkoutQuestion/react/useListCheckoutQuestionsByCheckoutId.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/payment/httpPaymentFlowPayloadByCheckoutIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/payment/react/useViewPaymentFlowPayloadByCheckoutId.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/pricing/httpPricingByCheckoutIdView.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/pricing/httpPricingByCheckoutIdView.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/projection/pricing/react/useViewPricingByCheckoutId.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/layouts/banner/Banner.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/layouts/banner/Banner.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/layouts/banner/Banner.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/layouts/banner/Banner.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestion.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestion.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestions.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/CheckoutQuestions.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionFeedback.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/behaviors/useCheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/CheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/buttonCheckoutQuestionItem/ButtonCheckoutQuestionItem.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostDefaultCheckoutQuestionItem/HostDefaultCheckoutQuestionItem.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/hostSelectCheckoutQuestionItem/HostSelectCheckoutQuestionItem.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/IconCheckoutQuestionItem.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Happy.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Happy.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Normal.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Normal.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Sad.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/Sad.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/icon.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/iconCheckoutQuestionItem/icons/icon.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/components/organisms/checkoutQuestions/components/textareaCheckoutQuestionItem/TextareaCheckoutQuestionItem.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/useBasePath.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/routing/useBasePath.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/App.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/App.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/Checkout.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/Checkout.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/Checkout.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/Checkout.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/components/checkoutSuccessModal/CheckoutSuccessModal.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/components/deliveryBanner/DeliveryBanner.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/checkout/components/deliveryBanner/DeliveryBanner.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/Feedback.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/Feedback.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/Feedback.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/Feedback.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/feedback/components/checkoutQuestionsForm/CheckoutQuestionsForm.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/Header.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/Header.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/Header.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/Header.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/components/Logo.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/components/Logo.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/components/Logo.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/header/components/Logo.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/Summary.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/Summary.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/fiveItemsDiscountBanner/FiveItemsDiscountBanner.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/Pricing.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/Pricing.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/Pricing.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/Pricing.style.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/icons/ArrowDown.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/icons/ArrowDown.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/icons/ArrowUp.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/pricing/icons/ArrowUp.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.js +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.style.d.ts +0 -0
- /package/dist/{src/infrastructure → infrastructure}/ui/views/summary/components/stickyPricing/StickyPricing.style.js +0 -0
- /package/dist/{src/projection → projection}/checkoutFeedback/checkoutFeedback.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkoutFeedback/checkoutFeedback.js +0 -0
- /package/dist/{src/projection → projection}/checkoutFeedback/viewCheckoutFeedbackByCheckoutId.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkoutFeedback/viewCheckoutFeedbackByCheckoutId.js +0 -0
- /package/dist/{src/projection → projection}/checkoutQuestion/checkoutQuestion.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkoutQuestion/checkoutQuestion.js +0 -0
- /package/dist/{src/projection → projection}/checkoutQuestion/listCheckoutQuestionsByCheckoutId.d.ts +0 -0
- /package/dist/{src/projection → projection}/checkoutQuestion/listCheckoutQuestionsByCheckoutId.js +0 -0
- /package/dist/{src/projection → projection}/payment/paymentFlowPayload.d.ts +0 -0
- /package/dist/{src/projection → projection}/payment/paymentFlowPayload.js +0 -0
- /package/dist/{src/projection → projection}/payment/viewPaymentFlowPayloadByCheckoutId.d.ts +0 -0
- /package/dist/{src/projection → projection}/payment/viewPaymentFlowPayloadByCheckoutId.js +0 -0
- /package/dist/{src/projection → projection}/pricing/pricing.d.ts +0 -0
- /package/dist/{src/projection → projection}/pricing/pricing.js +0 -0
- /package/dist/{src/projection → projection}/pricing/viewPricingByCheckoutId.d.ts +0 -0
- /package/dist/{src/projection → projection}/pricing/viewPricingByCheckoutId.js +0 -0
- /package/dist/{src/projection → projection}/shared/price.d.ts +0 -0
- /package/dist/{src/domain/checkoutItem/model → projection/shared}/price.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/command/createNotification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/command/createNotification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/command/removeNotification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/command/removeNotification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/command/removeNotification.tes.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/command/removeNotification.tes.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notificationCreated.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notificationCreated.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notificationRemoved.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notificationRemoved.js +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/domain/notification/model/notifications.js +0 -0
- /package/dist/{src/shared → shared}/notifications/index.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/index.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/delivery/bootstrap.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/delivery/bootstrap.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/model/storageNotifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/model/storageNotifications.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/model/storageNotificationsCreate.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/model/storageNotificationsRemove.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/react/useCreateNotification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/react/useCreateNotification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/react/useRemoveNotification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/domain/notification/react/useRemoveNotification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/persistence/inMemoryStorageNotifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/persistence/inMemoryStorageNotifications.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/persistence/notificationDto.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/persistence/notificationDto.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/persistence/storage.d.ts +0 -0
- /package/dist/{src → shared/notifications}/infrastructure/persistence/storage.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/projection/notification/notification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/projection/notification/notification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/projection/notification/storageListNotificationsView.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/projection/notification/storageListNotificationsView.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/components/NotificationItem.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/components/NotificationItem.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/components/Notifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/components/Notifications.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/components/Notifications.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/components/Notifications.style.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/notificationsRoot.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/notificationsRoot.js +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/views/Notifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/infrastructure/ui/views/Notifications.js +0 -0
- /package/dist/{src/shared → shared}/notifications/projection/notification/listNotifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/projection/notification/listNotifications.js +0 -0
- /package/dist/{src/shared → shared}/notifications/projection/notification/notification.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/projection/notification/notification.js +0 -0
- /package/dist/{src/shared → shared}/notifications/projection/notification/react/useListNotifications.d.ts +0 -0
- /package/dist/{src/shared → shared}/notifications/projection/notification/react/useListNotifications.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/error/Error.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/error/Error.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/error/Error.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/error/Error.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/field/Field.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/field/Field.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/field/Field.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/field/Field.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/icon/Icon.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/icon/Icon.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/icon/Icon.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/icon/Icon.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/input/Input.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/input/Input.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/input/Input.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/input/Input.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/spinner/Spinner.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/atoms/spinner/Spinner.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/spinner/Spinner.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/atoms/spinner/Spinner.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/column/Column.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/column/Column.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/column/Column.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/column/Column.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/modal/Modal.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/modal/Modal.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/modal/Modal.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/modal/Modal.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/row/Row.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/row/Row.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/row/Row.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/row/Row.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Pagination.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Pagination.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Pagination.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/slider/Pagination.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Slider.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Slider.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Slider.style.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/slider/Slider.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/stack/Stack.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/stack/Stack.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/stack/Stack.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/stack/Stack.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/sticky/Sticky.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/sticky/Sticky.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/layouts/sticky/Sticky.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/layouts/sticky/Sticky.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/molecules/buttonIcon/ButtonIcon.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/molecules/buttonIcon/ButtonIcon.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/molecules/buttonIcon/ButtonIcon.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/buttonIcon/ButtonIcon.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/inputField/InputField.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/inputField/InputField.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/molecules/inputField/InputField.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/inputField/InputField.style.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/molecules/selectField/SelectField.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/selectField/SelectField.js +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/components/molecules/selectField/SelectField.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/selectField/SelectField.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/toast/Toast.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/toast/Toast.js +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/toast/Toast.style.d.ts +0 -0
- /package/dist/{src/shared → shared}/ui/components/molecules/toast/Toast.style.js +0 -0
- /package/dist/{src/shared → shared}/ui/hooks/useScreenSize.d.ts +0 -0
- /package/dist/{infrastructure/ui/shared → shared/ui}/hooks/useScreenSize.js +0 -0
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import invariant from "tiny-invariant";
|
|
2
|
-
import { viewCheckoutBookingById, } from "../../../../projection/checkoutBooking/viewCheckoutBookingById";
|
|
3
|
-
import { httpCheckoutBookingsBook } from "./httpCheckoutBookingsBook";
|
|
4
|
-
const toDomain = (checkoutBooking) => {
|
|
5
|
-
invariant(checkoutBooking, "No checkout booking found!");
|
|
6
|
-
return {
|
|
7
|
-
checkoutItemIds: checkoutBooking.checkoutItemIds,
|
|
8
|
-
aggregateId: checkoutBooking.id,
|
|
9
|
-
domainEvents: [],
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
const getCheckoutBooking = ({ queryBus }) => async (aggregateId) => toDomain(await queryBus(viewCheckoutBookingById({ checkoutBookingId: aggregateId })));
|
|
13
|
-
const saveCheckoutBooking = ({ httpPost }) => async (aggregateRoot) => await httpCheckoutBookingsBook({ httpPost })(aggregateRoot);
|
|
14
|
-
export { getCheckoutBooking, saveCheckoutBooking };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { HttpCheckoutBookingsSaveFunction } from "./httpCheckoutBookings";
|
|
2
|
-
interface HttpCheckoutBookingsBookFunction extends HttpCheckoutBookingsSaveFunction {
|
|
3
|
-
}
|
|
4
|
-
declare const httpCheckoutBookingsBook: HttpCheckoutBookingsBookFunction;
|
|
5
|
-
export { httpCheckoutBookingsBook };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CHECKOUT_BOOKING_BOOKED, } from "../../../../domain/checkoutBooking/model/checkoutBookingBooked";
|
|
2
|
-
const isCheckoutBookingBooked = (event) => event.name === CHECKOUT_BOOKING_BOOKED;
|
|
3
|
-
const httpCheckoutBookingsBook = ({ httpPost }) => async ({ aggregateId, domainEvents }) => {
|
|
4
|
-
const checkoutBookingBooked = domainEvents.find(isCheckoutBookingBooked);
|
|
5
|
-
if (!checkoutBookingBooked) {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
const { checkoutItemId } = checkoutBookingBooked;
|
|
9
|
-
await httpPost({
|
|
10
|
-
endpoint: "/book-checkout-booking-for-checkout-item",
|
|
11
|
-
body: {
|
|
12
|
-
checkoutItemId,
|
|
13
|
-
checkoutBookingId: aggregateId,
|
|
14
|
-
},
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
export { httpCheckoutBookingsBook };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CommandStatus } from "@lookiero/messaging-react";
|
|
2
|
-
interface BookFunction {
|
|
3
|
-
(): Promise<void>;
|
|
4
|
-
}
|
|
5
|
-
type UseBookCheckouBookingForCheckoutItem = [book: BookFunction, status: CommandStatus];
|
|
6
|
-
interface UseBookCheckouBookingForCheckoutItemFunctionArgs {
|
|
7
|
-
readonly checkoutItemId: string;
|
|
8
|
-
}
|
|
9
|
-
interface UseBookCheckouBookingForCheckoutItemFunction {
|
|
10
|
-
(args: UseBookCheckouBookingForCheckoutItemFunctionArgs): UseBookCheckouBookingForCheckoutItem;
|
|
11
|
-
}
|
|
12
|
-
declare const useBookCheckouBookingForCheckoutItem: UseBookCheckouBookingForCheckoutItemFunction;
|
|
13
|
-
export { useBookCheckouBookingForCheckoutItem };
|
package/dist/src/infrastructure/domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { useCommand } from "@lookiero/messaging-react";
|
|
2
|
-
import { useCallback } from "react";
|
|
3
|
-
import { v4 as uuid } from "uuid";
|
|
4
|
-
import { bookCheckoutBookingForCheckoutItem } from "../../../../domain/checkoutBooking/command/bookCheckoutBookingForCheckoutItem";
|
|
5
|
-
import { MESSAGING_CONTEXT_ID } from "../../../delivery/baseBootstrap";
|
|
6
|
-
const useBookCheckouBookingForCheckoutItem = ({ checkoutItemId }) => {
|
|
7
|
-
const [commandBus, status] = useCommand({ contextId: MESSAGING_CONTEXT_ID });
|
|
8
|
-
const book = useCallback(() => commandBus(bookCheckoutBookingForCheckoutItem({
|
|
9
|
-
aggregateId: uuid(),
|
|
10
|
-
checkoutItemId,
|
|
11
|
-
})), [checkoutItemId, commandBus]);
|
|
12
|
-
return [book, status];
|
|
13
|
-
};
|
|
14
|
-
export { useBookCheckouBookingForCheckoutItem };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { RepositoryGetFunctionArgs, RepositorySaveFunctionArgs } from "@lookiero/messaging";
|
|
2
|
-
import { CheckoutItemsGetFunction, CheckoutItemsSaveFunction } from "../../../../domain/checkoutItem/model/checkoutItems";
|
|
3
|
-
import { HttpPostFunction } from "../../../delivery/http/httpClient";
|
|
4
|
-
interface HttpCheckoutItemsGetFunctionArgs extends RepositoryGetFunctionArgs {
|
|
5
|
-
}
|
|
6
|
-
interface HttpCheckoutItemsGetFunction extends CheckoutItemsGetFunction<HttpCheckoutItemsGetFunctionArgs> {
|
|
7
|
-
}
|
|
8
|
-
declare const getCheckoutItem: HttpCheckoutItemsGetFunction;
|
|
9
|
-
interface HttpCheckoutItemsSaveFunctionArgs extends RepositorySaveFunctionArgs {
|
|
10
|
-
readonly httpPost: HttpPostFunction;
|
|
11
|
-
}
|
|
12
|
-
interface HttpCheckoutItemsSaveFunction extends CheckoutItemsSaveFunction<HttpCheckoutItemsSaveFunctionArgs> {
|
|
13
|
-
}
|
|
14
|
-
declare const saveCheckoutItem: HttpCheckoutItemsSaveFunction;
|
|
15
|
-
export type { HttpCheckoutItemsSaveFunction };
|
|
16
|
-
export { getCheckoutItem, saveCheckoutItem };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import invariant from "tiny-invariant";
|
|
2
|
-
import { viewCheckoutItemById, } from "../../../../projection/checkoutItem/viewCheckoutItemById";
|
|
3
|
-
import { httpCheckoutItemsKeep } from "./httpCheckoutItemsKeep";
|
|
4
|
-
import { httpCheckoutItemsReplace } from "./httpCheckoutItemsReplace";
|
|
5
|
-
import { httpCheckoutItemsReturn } from "./httpCheckoutItemsReturn";
|
|
6
|
-
const toDomain = (checkoutItem) => {
|
|
7
|
-
invariant(checkoutItem, "No checkoutItem found!");
|
|
8
|
-
return {
|
|
9
|
-
id: checkoutItem.id,
|
|
10
|
-
status: checkoutItem.status,
|
|
11
|
-
price: checkoutItem.price,
|
|
12
|
-
feedbacks: checkoutItem.feedbacks,
|
|
13
|
-
replacedFor: checkoutItem.replacedFor,
|
|
14
|
-
aggregateId: checkoutItem.id,
|
|
15
|
-
domainEvents: [],
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
const getCheckoutItem = ({ queryBus }) => async (aggregateId) => toDomain(await queryBus(viewCheckoutItemById({ checkoutItemId: aggregateId })));
|
|
19
|
-
const saveCheckoutItem = ({ httpPost }) => async (aggregateRoot) => {
|
|
20
|
-
await Promise.all([
|
|
21
|
-
httpCheckoutItemsKeep({ httpPost })(aggregateRoot),
|
|
22
|
-
httpCheckoutItemsReturn({ httpPost })(aggregateRoot),
|
|
23
|
-
httpCheckoutItemsReplace({ httpPost })(aggregateRoot),
|
|
24
|
-
]);
|
|
25
|
-
};
|
|
26
|
-
export { getCheckoutItem, saveCheckoutItem };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CHECKOUT_ITEM_KEPT } from "../../../../domain/checkoutItem/model/checkoutItemKept";
|
|
2
|
-
const isCheckoutItemKept = (event) => event.name === CHECKOUT_ITEM_KEPT;
|
|
3
|
-
const httpCheckoutItemsKeep = ({ httpPost }) => async ({ aggregateId, domainEvents }) => {
|
|
4
|
-
const checkoutItemKept = domainEvents.find(isCheckoutItemKept);
|
|
5
|
-
if (!checkoutItemKept) {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
await httpPost({
|
|
9
|
-
endpoint: "/keep-checkout-item",
|
|
10
|
-
body: { checkoutItemId: aggregateId },
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
export { httpCheckoutItemsKeep };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { HttpCheckoutItemsSaveFunction } from "./httpCheckoutItems";
|
|
2
|
-
interface HttpCheckoutItemsReplaceFunction extends HttpCheckoutItemsSaveFunction {
|
|
3
|
-
}
|
|
4
|
-
declare const httpCheckoutItemsReplace: HttpCheckoutItemsReplaceFunction;
|
|
5
|
-
export { httpCheckoutItemsReplace };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CHECKOUT_ITEM_REPLACED, } from "../../../../domain/checkoutItem/model/checkoutItemReplaced";
|
|
2
|
-
const isCheckoutItemReplaced = (event) => event.name === CHECKOUT_ITEM_REPLACED;
|
|
3
|
-
const httpCheckoutItemsReplace = ({ httpPost }) => async ({ aggregateId, replacedFor, domainEvents }) => {
|
|
4
|
-
const checkoutItemReplaced = domainEvents.find(isCheckoutItemReplaced);
|
|
5
|
-
if (!checkoutItemReplaced) {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
await httpPost({
|
|
9
|
-
endpoint: "/replace-checkout-item",
|
|
10
|
-
body: { checkoutItemId: aggregateId, replacedFor },
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
export { httpCheckoutItemsReplace };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CHECKOUT_ITEM_RETURNED, } from "../../../../domain/checkoutItem/model/checkoutItemReturned";
|
|
2
|
-
const isCheckoutItemReturned = (event) => event.name === CHECKOUT_ITEM_RETURNED;
|
|
3
|
-
const httpCheckoutItemsReturn = ({ httpPost }) => async ({ aggregateId, feedbacks, domainEvents }) => {
|
|
4
|
-
const checkoutItemReturned = domainEvents.find(isCheckoutItemReturned);
|
|
5
|
-
if (!checkoutItemReturned) {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
await httpPost({
|
|
9
|
-
endpoint: "/return-checkout-item",
|
|
10
|
-
body: { checkoutItemId: aggregateId, feedbacks },
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
export { httpCheckoutItemsReturn };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CommandStatus } from "@lookiero/messaging-react";
|
|
2
|
-
interface KeepCheckoutItemFunction {
|
|
3
|
-
(): Promise<void>;
|
|
4
|
-
}
|
|
5
|
-
interface UseKeepCheckoutItemFunctionArgs {
|
|
6
|
-
readonly checkoutItemId: string;
|
|
7
|
-
}
|
|
8
|
-
type UseKeepCheckoutItemResult = [keep: KeepCheckoutItemFunction, status: CommandStatus];
|
|
9
|
-
interface UseKeepCheckoutItemFunction {
|
|
10
|
-
(args: UseKeepCheckoutItemFunctionArgs): UseKeepCheckoutItemResult;
|
|
11
|
-
}
|
|
12
|
-
declare const useKeepCheckoutItem: UseKeepCheckoutItemFunction;
|
|
13
|
-
export { useKeepCheckoutItem };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { useCommand } from "@lookiero/messaging-react";
|
|
2
|
-
import { useCallback } from "react";
|
|
3
|
-
import { keepCheckoutItem } from "../../../../domain/checkoutItem/command/keepCheckoutItem";
|
|
4
|
-
import { MESSAGING_CONTEXT_ID } from "../../../delivery/baseBootstrap";
|
|
5
|
-
const useKeepCheckoutItem = ({ checkoutItemId }) => {
|
|
6
|
-
const [commandBus, status] = useCommand({ contextId: MESSAGING_CONTEXT_ID });
|
|
7
|
-
const keep = useCallback(() => commandBus(keepCheckoutItem({
|
|
8
|
-
aggregateId: checkoutItemId,
|
|
9
|
-
})), [checkoutItemId, commandBus]);
|
|
10
|
-
return [keep, status];
|
|
11
|
-
};
|
|
12
|
-
export { useKeepCheckoutItem };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { CommandStatus } from "@lookiero/messaging-react";
|
|
2
|
-
interface ReplaceCheckoutItemFunctionArgs {
|
|
3
|
-
readonly replacedFor: string;
|
|
4
|
-
}
|
|
5
|
-
interface ReplaceCheckoutItemFunction {
|
|
6
|
-
(args: ReplaceCheckoutItemFunctionArgs): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
interface UseReplaceCheckoutItemFunctionArgs {
|
|
9
|
-
readonly checkoutItemId: string;
|
|
10
|
-
}
|
|
11
|
-
type UseReplaceCheckoutItemResult = [replace: ReplaceCheckoutItemFunction, status: CommandStatus];
|
|
12
|
-
interface UseReplaceCheckoutItemFunction {
|
|
13
|
-
(args: UseReplaceCheckoutItemFunctionArgs): UseReplaceCheckoutItemResult;
|
|
14
|
-
}
|
|
15
|
-
declare const useReplaceCheckoutItem: UseReplaceCheckoutItemFunction;
|
|
16
|
-
export { useReplaceCheckoutItem };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { useCommand } from "@lookiero/messaging-react";
|
|
2
|
-
import { useCallback } from "react";
|
|
3
|
-
import { replaceCheckoutItem } from "../../../../domain/checkoutItem/command/replaceCheckoutItem";
|
|
4
|
-
import { MESSAGING_CONTEXT_ID } from "../../../delivery/baseBootstrap";
|
|
5
|
-
const useReplaceCheckoutItem = ({ checkoutItemId }) => {
|
|
6
|
-
const [commandBus, status] = useCommand({ contextId: MESSAGING_CONTEXT_ID });
|
|
7
|
-
const replace = useCallback(({ replacedFor }) => commandBus(replaceCheckoutItem({
|
|
8
|
-
aggregateId: checkoutItemId,
|
|
9
|
-
replacedFor,
|
|
10
|
-
})), [checkoutItemId, commandBus]);
|
|
11
|
-
return [replace, status];
|
|
12
|
-
};
|
|
13
|
-
export { useReplaceCheckoutItem };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CommandStatus } from "@lookiero/messaging-react";
|
|
2
|
-
import { Feedbacks } from "../../../../domain/checkoutItem/model/feedbacks";
|
|
3
|
-
interface ReturnCheckoutItemFunctionArgs {
|
|
4
|
-
readonly feedbacks: Feedbacks;
|
|
5
|
-
}
|
|
6
|
-
interface ReturnCheckoutItemFunction {
|
|
7
|
-
(args: ReturnCheckoutItemFunctionArgs): Promise<void>;
|
|
8
|
-
}
|
|
9
|
-
interface UseReturnCheckoutItemFunctionArgs {
|
|
10
|
-
readonly checkoutItemId: string;
|
|
11
|
-
}
|
|
12
|
-
type UseReturnCheckoutItemResult = [returnCheckoutItem: ReturnCheckoutItemFunction, status: CommandStatus];
|
|
13
|
-
interface UseReturnCheckoutItemFunction {
|
|
14
|
-
(args: UseReturnCheckoutItemFunctionArgs): UseReturnCheckoutItemResult;
|
|
15
|
-
}
|
|
16
|
-
declare const useReturnCheckoutItem: UseReturnCheckoutItemFunction;
|
|
17
|
-
export { useReturnCheckoutItem };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { useCommand } from "@lookiero/messaging-react";
|
|
2
|
-
import { useCallback } from "react";
|
|
3
|
-
import { returnCheckoutItem as returnCheckoutItemCommand } from "../../../../domain/checkoutItem/command/returnCheckoutItem";
|
|
4
|
-
import { MESSAGING_CONTEXT_ID } from "../../../delivery/baseBootstrap";
|
|
5
|
-
const useReturnCheckoutItem = ({ checkoutItemId }) => {
|
|
6
|
-
const [commandBus, status] = useCommand({ contextId: MESSAGING_CONTEXT_ID });
|
|
7
|
-
const returnCheckoutItem = useCallback(({ feedbacks }) => commandBus(returnCheckoutItemCommand({
|
|
8
|
-
aggregateId: checkoutItemId,
|
|
9
|
-
feedbacks,
|
|
10
|
-
})), [checkoutItemId, commandBus]);
|
|
11
|
-
return [returnCheckoutItem, status];
|
|
12
|
-
};
|
|
13
|
-
export { useReturnCheckoutItem };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { RepositoryGetFunctionArgs, RepositorySaveFunctionArgs } from "@lookiero/messaging";
|
|
2
|
-
import { UiSettingGetFunction, UiSettingSaveFunction } from "../../../../domain/uiSetting/model/uiSettings";
|
|
3
|
-
import { ReadFunction, WriteFunction } from "../../../persistence/storage";
|
|
4
|
-
import { UiSettingDto } from "../../../persistence/uiSettingData";
|
|
5
|
-
interface StorageUiSettingsGetFunctionArgs extends RepositoryGetFunctionArgs {
|
|
6
|
-
readonly read: ReadFunction<UiSettingDto>;
|
|
7
|
-
}
|
|
8
|
-
interface StorageUiSettingsGetFunction extends UiSettingGetFunction<StorageUiSettingsGetFunctionArgs> {
|
|
9
|
-
}
|
|
10
|
-
declare const getUiSetting: StorageUiSettingsGetFunction;
|
|
11
|
-
interface StorageUiSettingsSaveFunctionArgs extends RepositorySaveFunctionArgs {
|
|
12
|
-
readonly write: WriteFunction<UiSettingDto>;
|
|
13
|
-
}
|
|
14
|
-
interface StorageUiSettingsSaveFunction extends UiSettingSaveFunction<StorageUiSettingsSaveFunctionArgs> {
|
|
15
|
-
}
|
|
16
|
-
declare const saveUiSetting: StorageUiSettingsSaveFunction;
|
|
17
|
-
export { getUiSetting, saveUiSetting };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
const toDomain = (uiSettingDto) => ({
|
|
2
|
-
aggregateId: uiSettingDto.id,
|
|
3
|
-
key: uiSettingDto.key,
|
|
4
|
-
value: uiSettingDto.value,
|
|
5
|
-
domainEvents: [],
|
|
6
|
-
});
|
|
7
|
-
const fromDomain = (uiSetting) => ({
|
|
8
|
-
id: uiSetting.aggregateId,
|
|
9
|
-
key: uiSetting.key,
|
|
10
|
-
value: uiSetting.value,
|
|
11
|
-
});
|
|
12
|
-
const getUiSetting = ({ read }) => async (uiSettingKey) => {
|
|
13
|
-
const uiSettingDto = await read(uiSettingKey);
|
|
14
|
-
if (!uiSettingDto) {
|
|
15
|
-
throw new Error(`UiSetting not found: ${uiSettingKey}`);
|
|
16
|
-
}
|
|
17
|
-
return toDomain(uiSettingDto);
|
|
18
|
-
};
|
|
19
|
-
const saveUiSetting = ({ write }) => async (aggregateRoot) => await write(aggregateRoot.key, fromDomain(aggregateRoot));
|
|
20
|
-
export { getUiSetting, saveUiSetting };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CommandStatus } from "@lookiero/messaging-react";
|
|
2
|
-
interface IncrementIntroShownCountFunction {
|
|
3
|
-
(): Promise<void>;
|
|
4
|
-
}
|
|
5
|
-
type UseIncrementIntroShownCount = [incrementIntroShownCount: IncrementIntroShownCountFunction, status: CommandStatus];
|
|
6
|
-
interface UseIncrementIntroShownCountFunction {
|
|
7
|
-
(): UseIncrementIntroShownCount;
|
|
8
|
-
}
|
|
9
|
-
declare const useIncrementIntroShownCount: UseIncrementIntroShownCountFunction;
|
|
10
|
-
export { useIncrementIntroShownCount };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { useCallback } from "react";
|
|
2
|
-
import { useViewIntroShownCount } from "../../../projection/uiSetting/react/useViewIntroShownCount";
|
|
3
|
-
import { UISettings } from "../../../ui/settings/UISettings";
|
|
4
|
-
import { useUpdateUiSetting } from "./useUpdateUiSetting";
|
|
5
|
-
const useIncrementIntroShownCount = () => {
|
|
6
|
-
const [update, status] = useUpdateUiSetting();
|
|
7
|
-
const [introShownCount] = useViewIntroShownCount();
|
|
8
|
-
const incrementIntroShownCount = useCallback(() => update({ key: UISettings.INTRO_SHOWN_COUNT, value: introShownCount + 1 }), [introShownCount, update]);
|
|
9
|
-
return [incrementIntroShownCount, status];
|
|
10
|
-
};
|
|
11
|
-
export { useIncrementIntroShownCount };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CommandStatus } from "@lookiero/messaging-react";
|
|
2
|
-
interface UpdateFunctionArgs {
|
|
3
|
-
readonly key: string;
|
|
4
|
-
readonly value: unknown;
|
|
5
|
-
}
|
|
6
|
-
interface UpdateFunction {
|
|
7
|
-
(args: UpdateFunctionArgs): Promise<void>;
|
|
8
|
-
}
|
|
9
|
-
type UseUpdateUiSetting = [update: UpdateFunction, status: CommandStatus];
|
|
10
|
-
interface UseUpdateUiSettingFunction {
|
|
11
|
-
(): UseUpdateUiSetting;
|
|
12
|
-
}
|
|
13
|
-
declare const useUpdateUiSetting: UseUpdateUiSettingFunction;
|
|
14
|
-
export { useUpdateUiSetting };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useCommand } from "@lookiero/messaging-react";
|
|
2
|
-
import { useCallback } from "react";
|
|
3
|
-
import { v4 as uuid } from "uuid";
|
|
4
|
-
import { updateUiSetting } from "../../../../domain/uiSetting/command/updateUiSetting";
|
|
5
|
-
import { MESSAGING_CONTEXT_ID } from "../../../delivery/baseBootstrap";
|
|
6
|
-
const useUpdateUiSetting = () => {
|
|
7
|
-
const [commandBus, status] = useCommand({ contextId: MESSAGING_CONTEXT_ID });
|
|
8
|
-
const update = useCallback(({ key, value }) => commandBus(updateUiSetting({
|
|
9
|
-
aggregateId: uuid(),
|
|
10
|
-
key,
|
|
11
|
-
value,
|
|
12
|
-
})), [commandBus]);
|
|
13
|
-
return [update, status];
|
|
14
|
-
};
|
|
15
|
-
export { useUpdateUiSetting };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import AsyncStorage from "@react-native-async-storage/async-storage";
|
|
2
|
-
const read = async (key) => {
|
|
3
|
-
const value = await AsyncStorage.getItem(key);
|
|
4
|
-
return value ? JSON.parse(value) : null;
|
|
5
|
-
};
|
|
6
|
-
const write = async (key, value) => AsyncStorage.setItem(key, JSON.stringify(value));
|
|
7
|
-
export { read, write };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BookedSizeChangeProductsVariantsForCheckoutItemView } from "../../../projection/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem";
|
|
2
|
-
import { HttpPostFunction } from "../../delivery/http/httpClient";
|
|
3
|
-
interface HttpBookedSizeChangeProductsVariantsForCheckoutItemView extends BookedSizeChangeProductsVariantsForCheckoutItemView {
|
|
4
|
-
}
|
|
5
|
-
interface HttpBookedSizeChangeProductsVariantsForCheckoutItemViewFunctionArgs {
|
|
6
|
-
readonly httpPost: HttpPostFunction;
|
|
7
|
-
}
|
|
8
|
-
interface HttpBookedSizeChangeProductsVariantsForCheckoutItemViewFunction {
|
|
9
|
-
(args: HttpBookedSizeChangeProductsVariantsForCheckoutItemViewFunctionArgs): HttpBookedSizeChangeProductsVariantsForCheckoutItemView;
|
|
10
|
-
}
|
|
11
|
-
declare const httpBookedSizeChangeProductsVariantsForCheckoutItemView: HttpBookedSizeChangeProductsVariantsForCheckoutItemViewFunction;
|
|
12
|
-
export { httpBookedSizeChangeProductsVariantsForCheckoutItemView };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
const httpBookedSizeChangeProductsVariantsForCheckoutItemView = ({ httpPost }) => async ({ checkoutItemId, signal }) => {
|
|
2
|
-
const response = await httpPost({
|
|
3
|
-
endpoint: "/view-booked-size-change-product-variants-for-checkout-item",
|
|
4
|
-
body: { checkoutItemId },
|
|
5
|
-
signal,
|
|
6
|
-
});
|
|
7
|
-
return !response.ok || response.status === 404 ? null : (await response.json()).result;
|
|
8
|
-
};
|
|
9
|
-
export { httpBookedSizeChangeProductsVariantsForCheckoutItemView };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { UseQueryFunctionResult } from "@lookiero/messaging-react";
|
|
2
|
-
import { BookedSizeChangeProductsVariantsProjection } from "../../../../projection/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants";
|
|
3
|
-
interface UseViewBookedSizeChangeProductsVariantsForCheckoutItemFunctionArgs {
|
|
4
|
-
readonly checkoutItemId: string;
|
|
5
|
-
}
|
|
6
|
-
interface UseViewBookedSizeChangeProductsVariantsForCheckoutItemFunction {
|
|
7
|
-
(args: UseViewBookedSizeChangeProductsVariantsForCheckoutItemFunctionArgs): UseQueryFunctionResult<BookedSizeChangeProductsVariantsProjection>;
|
|
8
|
-
}
|
|
9
|
-
declare const useViewBookedSizeChangeProductsVariantsForCheckoutItem: UseViewBookedSizeChangeProductsVariantsForCheckoutItemFunction;
|
|
10
|
-
export { useViewBookedSizeChangeProductsVariantsForCheckoutItem };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { useQuery } from "@lookiero/messaging-react";
|
|
2
|
-
import { CHECKOUT_BOOKING_BOOKED, } from "../../../../domain/checkoutBooking/model/checkoutBookingBooked";
|
|
3
|
-
import { viewBookedSizeChangeProductsVariantsForCheckoutItem } from "../../../../projection/bookedSizeChangeProductsVariants/viewBookedSizeChangeProductVariantsForCheckoutItem";
|
|
4
|
-
import { MESSAGING_CONTEXT_ID } from "../../../delivery/baseBootstrap";
|
|
5
|
-
const isCheckoutBookingBooked = (event) => event.name === CHECKOUT_BOOKING_BOOKED;
|
|
6
|
-
const useViewBookedSizeChangeProductsVariantsForCheckoutItem = ({ checkoutItemId }) => useQuery({
|
|
7
|
-
query: viewBookedSizeChangeProductsVariantsForCheckoutItem({ checkoutItemId }),
|
|
8
|
-
contextId: MESSAGING_CONTEXT_ID,
|
|
9
|
-
invalidation: isCheckoutBookingBooked,
|
|
10
|
-
options: { staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
11
|
-
});
|
|
12
|
-
export { useViewBookedSizeChangeProductsVariantsForCheckoutItem };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CheckoutStatus } from "../../../domain/checkout/model/checkout";
|
|
2
|
-
import { CheckoutProjection } from "../../../projection/checkout/checkout";
|
|
3
|
-
import { CheckoutItemProjection } from "../../../projection/checkoutItem/checkoutItem";
|
|
4
|
-
interface CheckoutDto {
|
|
5
|
-
readonly id: string;
|
|
6
|
-
readonly customerId: string;
|
|
7
|
-
readonly boxId: string;
|
|
8
|
-
readonly bookingId: string;
|
|
9
|
-
readonly status: CheckoutStatus;
|
|
10
|
-
readonly expiresOn: string;
|
|
11
|
-
readonly items: CheckoutItemProjection[];
|
|
12
|
-
}
|
|
13
|
-
interface ToCheckoutProjectionFunction {
|
|
14
|
-
(checkoutDto: CheckoutDto): CheckoutProjection;
|
|
15
|
-
}
|
|
16
|
-
declare const toCheckoutProjection: ToCheckoutProjectionFunction;
|
|
17
|
-
export type { CheckoutDto };
|
|
18
|
-
export { toCheckoutProjection };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CheckoutByIdView } from "../../../projection/checkout/viewCheckoutById";
|
|
2
|
-
import { HttpPostFunction } from "../../delivery/http/httpClient";
|
|
3
|
-
interface HttpCheckoutByIdView extends CheckoutByIdView {
|
|
4
|
-
}
|
|
5
|
-
interface HttpCheckoutByIdViewFunctionArgs {
|
|
6
|
-
readonly httpPost: HttpPostFunction;
|
|
7
|
-
}
|
|
8
|
-
interface HttpCheckoutByIdViewFunction {
|
|
9
|
-
(args: HttpCheckoutByIdViewFunctionArgs): HttpCheckoutByIdView;
|
|
10
|
-
}
|
|
11
|
-
declare const httpCheckoutByIdView: HttpCheckoutByIdViewFunction;
|
|
12
|
-
export { httpCheckoutByIdView };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { toCheckoutProjection } from "./checkout";
|
|
2
|
-
const httpCheckoutByIdView = ({ httpPost }) => async ({ checkoutId, signal }) => {
|
|
3
|
-
const response = await httpPost({
|
|
4
|
-
endpoint: "/view-checkout-by-id",
|
|
5
|
-
body: { checkoutId },
|
|
6
|
-
signal,
|
|
7
|
-
});
|
|
8
|
-
return !response.ok || response.status === 404 ? null : toCheckoutProjection((await response.json()).result);
|
|
9
|
-
};
|
|
10
|
-
export { httpCheckoutByIdView };
|
package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FirstAvailableCheckoutByCustomerIdView } from "../../../projection/checkout/viewFirstAvailableCheckoutByCustomerId";
|
|
2
|
-
import { HttpPostFunction } from "../../delivery/http/httpClient";
|
|
3
|
-
interface HttpFirstAvailableCheckoutByCustomerIdView extends FirstAvailableCheckoutByCustomerIdView {
|
|
4
|
-
}
|
|
5
|
-
interface HttpFirstAvailableCheckoutByCustomerIdViewFunctionArgs {
|
|
6
|
-
readonly httpPost: HttpPostFunction;
|
|
7
|
-
}
|
|
8
|
-
interface HttpFirstAvailableCheckoutByCustomerIdViewFunction {
|
|
9
|
-
(args: HttpFirstAvailableCheckoutByCustomerIdViewFunctionArgs): HttpFirstAvailableCheckoutByCustomerIdView;
|
|
10
|
-
}
|
|
11
|
-
declare const httpFirstAvailableCheckoutByCustomerIdView: HttpFirstAvailableCheckoutByCustomerIdViewFunction;
|
|
12
|
-
export { httpFirstAvailableCheckoutByCustomerIdView };
|
package/dist/src/infrastructure/projection/checkout/httpFirstAvailableCheckoutByCustomerIdView.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { toCheckoutProjection } from "./checkout";
|
|
2
|
-
const httpFirstAvailableCheckoutByCustomerIdView = ({ httpPost }) => async ({ customerId, signal }) => {
|
|
3
|
-
const response = await httpPost({
|
|
4
|
-
endpoint: "/view-first-available-checkout-by-customer-id",
|
|
5
|
-
body: { customerId },
|
|
6
|
-
signal,
|
|
7
|
-
});
|
|
8
|
-
return !response.ok || response.status === 404 ? null : toCheckoutProjection((await response.json()).result);
|
|
9
|
-
};
|
|
10
|
-
export { httpFirstAvailableCheckoutByCustomerIdView };
|
package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FiveItemsDiscountByCustomerIdView } from "../../../projection/checkout/viewFiveItemsDiscountByCustomerId";
|
|
2
|
-
import { HttpGetFunction } from "../../delivery/http/httpClient";
|
|
3
|
-
interface HttpFiveItemsDiscountByCustomerIdView extends FiveItemsDiscountByCustomerIdView {
|
|
4
|
-
}
|
|
5
|
-
interface HttpFiveItemsDiscountByCustomerIdViewFunctionArgs {
|
|
6
|
-
readonly httpGet: HttpGetFunction;
|
|
7
|
-
}
|
|
8
|
-
interface HttpFiveItemsDiscountByCustomerIdViewFunction {
|
|
9
|
-
(args: HttpFiveItemsDiscountByCustomerIdViewFunctionArgs): HttpFiveItemsDiscountByCustomerIdView;
|
|
10
|
-
}
|
|
11
|
-
declare const httpFiveItemsDiscountByCustomerIdView: HttpFiveItemsDiscountByCustomerIdViewFunction;
|
|
12
|
-
export { httpFiveItemsDiscountByCustomerIdView };
|
package/dist/src/infrastructure/projection/checkout/httpFiveItemsDiscountByCustomerIdView.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const httpFiveItemsDiscountByCustomerIdView = ({ httpGet }) => async ({ customerId, signal }) => {
|
|
2
|
-
const response = await httpGet({
|
|
3
|
-
endpoint: `/view-five-items-discount-by-customer-id/${customerId}`,
|
|
4
|
-
signal,
|
|
5
|
-
});
|
|
6
|
-
return !response.ok ? 0 : await response.json();
|
|
7
|
-
};
|
|
8
|
-
export { httpFiveItemsDiscountByCustomerIdView };
|
package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IsCheckoutEnabledByCustomerIdView } from "../../../projection/checkout/viewIsCheckoutEnabledByCustomerId";
|
|
2
|
-
import { HttpGetFunction } from "../../delivery/http/httpClient";
|
|
3
|
-
interface HttpIsCheckoutEnabledByCustomerIdView extends IsCheckoutEnabledByCustomerIdView {
|
|
4
|
-
}
|
|
5
|
-
interface HttpIsCheckoutEnabledByCustomerIdViewFunctionArgs {
|
|
6
|
-
readonly httpGet: HttpGetFunction;
|
|
7
|
-
}
|
|
8
|
-
interface HttpIsCheckoutEnabledByCustomerIdViewFunction {
|
|
9
|
-
(args: HttpIsCheckoutEnabledByCustomerIdViewFunctionArgs): HttpIsCheckoutEnabledByCustomerIdView;
|
|
10
|
-
}
|
|
11
|
-
declare const httpIsCheckoutEnabledByCustomerIdView: HttpIsCheckoutEnabledByCustomerIdViewFunction;
|
|
12
|
-
export { httpIsCheckoutEnabledByCustomerIdView };
|
package/dist/src/infrastructure/projection/checkout/httpIsCheckoutEnabledByCustomerIdView.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const httpIsCheckoutEnabledByCustomerIdView = ({ httpGet }) => async ({ customerId, signal }) => {
|
|
2
|
-
const response = await httpGet({
|
|
3
|
-
endpoint: `/is-new-checkout-enabled/${customerId}`,
|
|
4
|
-
signal,
|
|
5
|
-
});
|
|
6
|
-
return !response.ok ? false : await response.json();
|
|
7
|
-
};
|
|
8
|
-
export { httpIsCheckoutEnabledByCustomerIdView };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { UseQueryFunctionResult } from "@lookiero/messaging-react";
|
|
2
|
-
import { CheckoutProjection } from "../../../../projection/checkout/checkout";
|
|
3
|
-
interface UseViewFirstAvailableCheckoutByCustomerIdFunctionArgs {
|
|
4
|
-
readonly customerId: string;
|
|
5
|
-
}
|
|
6
|
-
interface UseViewFirstAvailableCheckoutByCustomerIdFunction {
|
|
7
|
-
(args: UseViewFirstAvailableCheckoutByCustomerIdFunctionArgs): UseQueryFunctionResult<CheckoutProjection>;
|
|
8
|
-
}
|
|
9
|
-
declare const useViewFirstAvailableCheckoutByCustomerId: UseViewFirstAvailableCheckoutByCustomerIdFunction;
|
|
10
|
-
export { useViewFirstAvailableCheckoutByCustomerId };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { useQuery } from "@lookiero/messaging-react";
|
|
2
|
-
import { CHECKOUT_PAID } from "../../../../domain/checkout/model/checkoutPaid";
|
|
3
|
-
import { CHECKOUT_FEEDBACK_GIVEN, } from "../../../../domain/checkoutFeedback/model/checkoutFeedbackGiven";
|
|
4
|
-
import { CHECKOUT_ITEM_KEPT } from "../../../../domain/checkoutItem/model/checkoutItemKept";
|
|
5
|
-
import { CHECKOUT_ITEM_REPLACED, } from "../../../../domain/checkoutItem/model/checkoutItemReplaced";
|
|
6
|
-
import { CHECKOUT_ITEM_RETURNED, } from "../../../../domain/checkoutItem/model/checkoutItemReturned";
|
|
7
|
-
import { viewFirstAvailableCheckoutByCustomerId } from "../../../../projection/checkout/viewFirstAvailableCheckoutByCustomerId";
|
|
8
|
-
import { MESSAGING_CONTEXT_ID } from "../../../delivery/baseBootstrap";
|
|
9
|
-
const isCheckoutItemKept = (event) => event.name === CHECKOUT_ITEM_KEPT;
|
|
10
|
-
const isCheckoutItemReturned = (event) => event.name === CHECKOUT_ITEM_RETURNED;
|
|
11
|
-
const isCheckoutItemReplaced = (event) => event.name === CHECKOUT_ITEM_REPLACED;
|
|
12
|
-
const isCheckoutPaid = (event) => event.name === CHECKOUT_PAID;
|
|
13
|
-
const isCheckoutFeedbackGiven = (event) => event.name === CHECKOUT_FEEDBACK_GIVEN;
|
|
14
|
-
const shouldInvalidate = (event) => isCheckoutItemKept(event) ||
|
|
15
|
-
isCheckoutItemReplaced(event) ||
|
|
16
|
-
isCheckoutItemReturned(event) ||
|
|
17
|
-
isCheckoutPaid(event) ||
|
|
18
|
-
isCheckoutFeedbackGiven(event);
|
|
19
|
-
const useViewFirstAvailableCheckoutByCustomerId = ({ customerId }) => useQuery({
|
|
20
|
-
query: viewFirstAvailableCheckoutByCustomerId({ customerId }),
|
|
21
|
-
contextId: MESSAGING_CONTEXT_ID,
|
|
22
|
-
invalidation: shouldInvalidate,
|
|
23
|
-
options: { staleTime: Infinity, retry: false, refetchOnWindowFocus: false },
|
|
24
|
-
});
|
|
25
|
-
export { useViewFirstAvailableCheckoutByCustomerId };
|