@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,104 +0,0 @@
|
|
|
1
|
-
import { CommandStatus, QueryStatus } from "@lookiero/messaging-react";
|
|
2
|
-
import React, { useCallback, useEffect, useMemo, useState } from "react";
|
|
3
|
-
import { View } from "react-native";
|
|
4
|
-
import { useParams } from "react-router-native";
|
|
5
|
-
import { CheckoutItemStatus } from "../../../../domain/checkoutItem/model/checkoutItem";
|
|
6
|
-
import "../../../../projection/checkout/viewFirstAvailableCheckoutByCustomerId";
|
|
7
|
-
import { Spinner } from "../../../../shared/ui/components/atoms/spinner/Spinner";
|
|
8
|
-
import { useBookCheckouBookingForCheckoutItem } from "../../../domain/checkoutBooking/react/useBookCheckouBookingForCheckoutItem";
|
|
9
|
-
import { useKeepCheckoutItem } from "../../../domain/checkoutItem/react/useKeepCheckoutItem";
|
|
10
|
-
import { useReplaceCheckoutItem } from "../../../domain/checkoutItem/react/useReplaceCheckoutItem";
|
|
11
|
-
import { useReturnCheckoutItem } from "../../../domain/checkoutItem/react/useReturnCheckoutItem";
|
|
12
|
-
import { useViewBookedSizeChangeProductsVariantsForCheckoutItem } from "../../../projection/bookedSizeChangeProductsVariants/react/useViewBookedSizeChangeProductsVariantsForCheckoutItem";
|
|
13
|
-
import { useViewFirstAvailableCheckoutByCustomerId } from "../../../projection/checkout/react/useViewFirstAvailableCheckoutByCustomerId";
|
|
14
|
-
import { useListReturnQuestionsByCheckoutItemId } from "../../../projection/returnQuestion/react/useListReturnQuestionsByCheckoutItemId";
|
|
15
|
-
import { Body } from "../../components/layouts/body/Body";
|
|
16
|
-
import { ReturnQuestionFeedbackProvider } from "../../components/organisms/returnQuestions/behaviors/useReturnQuestionFeedback";
|
|
17
|
-
import { SafeAreaScrollView } from "../../components/templates/SafeAreaScrollView";
|
|
18
|
-
import { style } from "./Item.style";
|
|
19
|
-
import { CustomerDecissionBanner } from "./components/banner/CustomerDecissionBanner";
|
|
20
|
-
import { ItemActions } from "./components/itemActions/ItemActions";
|
|
21
|
-
import { ProductVariantDescription } from "./components/productVariantDescription/ProductVariantDescription";
|
|
22
|
-
import { ProductVariantSlider } from "./components/productVariantSlider/ProductVariantSlider";
|
|
23
|
-
import { ReturnQuestionsFeedback } from "./components/returnQuestionsFeedback/ReturnQuestionsFeedback";
|
|
24
|
-
import { ReturnQuestionsForm } from "./components/returnQuestionsForm/ReturnQuestionsForm";
|
|
25
|
-
import { SizeChangeModal } from "./components/sizeChangeModal/SizeChangeModal";
|
|
26
|
-
import { SizeWithoutStockModal } from "./components/sizeWithoutStockModal/SizeWithoutStockModal";
|
|
27
|
-
const Item = ({ customerId }) => {
|
|
28
|
-
const { id } = useParams();
|
|
29
|
-
const [checkout, checkoutStatus] = useViewFirstAvailableCheckoutByCustomerId({ customerId });
|
|
30
|
-
const checkoutItem = checkout?.items.find((checkoutItem) => checkoutItem.id === id);
|
|
31
|
-
const [customerDecissionMade, setCustomerDecissionMade] = useState(() => checkoutItem.status === CheckoutItemStatus.INITIAL || checkoutItem.status === CheckoutItemStatus.EXPIRED);
|
|
32
|
-
const handleOnBannerPress = useCallback(() => setCustomerDecissionMade(!customerDecissionMade), [customerDecissionMade]);
|
|
33
|
-
const [sizeWithoutStockModalVisible, setSizeWithoutStockModalVisible] = useState(false);
|
|
34
|
-
const handleOnShowSizeWithoutStockModal = useCallback(() => setSizeWithoutStockModalVisible(true), []);
|
|
35
|
-
const handleOnHideSizeWithoutStockModal = useCallback(() => setSizeWithoutStockModalVisible(false), []);
|
|
36
|
-
const [sizeChangeModalVisible, setSizeChangeModalVisible] = useState(false);
|
|
37
|
-
const handleOnShowSizeChangeModal = useCallback(() => setSizeChangeModalVisible(true), []);
|
|
38
|
-
const handleOnHideSizeChangeModal = useCallback(() => setSizeChangeModalVisible(false), []);
|
|
39
|
-
const [bookedSizeChangeProductsVariants, bookedSizeChangeProductsVariantsStatus] = useViewBookedSizeChangeProductsVariantsForCheckoutItem({
|
|
40
|
-
checkoutItemId: checkoutItem.id,
|
|
41
|
-
});
|
|
42
|
-
const [bookCheckouBooking] = useBookCheckouBookingForCheckoutItem({
|
|
43
|
-
checkoutItemId: checkoutItem.id,
|
|
44
|
-
});
|
|
45
|
-
useEffect(() => {
|
|
46
|
-
bookedSizeChangeProductsVariants === null && bookCheckouBooking();
|
|
47
|
-
}, [bookCheckouBooking, bookedSizeChangeProductsVariants, bookedSizeChangeProductsVariants?.bookingId]);
|
|
48
|
-
const [returnQuestions, returnQuestionsStatus] = useListReturnQuestionsByCheckoutItemId({
|
|
49
|
-
checkoutItemId: checkoutItem.id,
|
|
50
|
-
});
|
|
51
|
-
const [keepCheckoutItem, keepCheckoutItemStatus] = useKeepCheckoutItem({ checkoutItemId: checkoutItem.id });
|
|
52
|
-
const [returnCheckoutItem, returnCheckoutItemStatus] = useReturnCheckoutItem({
|
|
53
|
-
checkoutItemId: checkoutItem.id,
|
|
54
|
-
});
|
|
55
|
-
const [replaceCheckoutItem, replaceCheckoutItemStatus] = useReplaceCheckoutItem({
|
|
56
|
-
checkoutItemId: checkoutItem.id,
|
|
57
|
-
});
|
|
58
|
-
const [stickyHeight, setStickyHeight] = useState(0);
|
|
59
|
-
const handleOnStickyLayout = useCallback(({ height }) => setStickyHeight(height), []);
|
|
60
|
-
const [returnQuestionsVisible, setReturnQuestionsVisible] = useState(false);
|
|
61
|
-
const handleOnShowReturnQuestions = useCallback(() => setReturnQuestionsVisible(true), []);
|
|
62
|
-
const handleOnHideReturnQuestions = useCallback(() => setReturnQuestionsVisible(false), []);
|
|
63
|
-
const handleOnEditFeedback = useCallback(() => handleOnShowReturnQuestions(), [handleOnShowReturnQuestions]);
|
|
64
|
-
const handleOnSubmit = useCallback((feedbacks) => {
|
|
65
|
-
handleOnHideReturnQuestions();
|
|
66
|
-
returnCheckoutItem({ feedbacks });
|
|
67
|
-
}, [handleOnHideReturnQuestions, returnCheckoutItem]);
|
|
68
|
-
const handleOnReplace = useCallback((replacedFor) => {
|
|
69
|
-
handleOnShowSizeChangeModal();
|
|
70
|
-
replaceCheckoutItem({ replacedFor });
|
|
71
|
-
}, [handleOnShowSizeChangeModal, replaceCheckoutItem]);
|
|
72
|
-
const handleOnReturn = useCallback(() => handleOnShowReturnQuestions(), [handleOnShowReturnQuestions]);
|
|
73
|
-
const productVariantSelected = useMemo(() => checkoutItem.replacedFor
|
|
74
|
-
? bookedSizeChangeProductsVariants?.productVariants.find((productVariant) => productVariant.id === checkoutItem.replacedFor)
|
|
75
|
-
: { id: checkoutItem.productVariant.id, size: checkoutItem.productVariant.size }, [
|
|
76
|
-
bookedSizeChangeProductsVariants?.productVariants,
|
|
77
|
-
checkoutItem.productVariant.id,
|
|
78
|
-
checkoutItem.productVariant.size,
|
|
79
|
-
checkoutItem.replacedFor,
|
|
80
|
-
]);
|
|
81
|
-
const dependenciesLoadedStatuses = [QueryStatus.ERROR, QueryStatus.SUCCESS];
|
|
82
|
-
const dependenciesLoaded = dependenciesLoadedStatuses.includes(returnQuestionsStatus) &&
|
|
83
|
-
dependenciesLoadedStatuses.includes(checkoutStatus) &&
|
|
84
|
-
dependenciesLoadedStatuses.includes(bookedSizeChangeProductsVariantsStatus);
|
|
85
|
-
if (!dependenciesLoaded)
|
|
86
|
-
return React.createElement(Spinner, null);
|
|
87
|
-
const { price } = checkoutItem;
|
|
88
|
-
const { media, brand, name, color } = checkoutItem.productVariant;
|
|
89
|
-
return (React.createElement(ReturnQuestionFeedbackProvider, { feedback: checkoutItem.feedbacks || {} },
|
|
90
|
-
React.createElement(SizeWithoutStockModal, { visible: sizeWithoutStockModalVisible, onDismiss: handleOnHideSizeWithoutStockModal }),
|
|
91
|
-
React.createElement(SizeChangeModal, { visible: sizeChangeModalVisible, onDismiss: handleOnHideSizeChangeModal }),
|
|
92
|
-
React.createElement(SafeAreaScrollView, null,
|
|
93
|
-
React.createElement(Body, null,
|
|
94
|
-
!customerDecissionMade && (React.createElement(CustomerDecissionBanner, { checkoutItemStatus: checkoutItem.status, onPress: handleOnBannerPress })),
|
|
95
|
-
React.createElement(View, { style: [style.container, { paddingBottom: stickyHeight }] },
|
|
96
|
-
React.createElement(View, { style: style.sliderContainer },
|
|
97
|
-
React.createElement(ProductVariantSlider, { producVariantMedia: media })),
|
|
98
|
-
React.createElement(ProductVariantDescription, { brand: brand, color: color, name: name, price: price, size: productVariantSelected.size }),
|
|
99
|
-
checkoutItem.status === CheckoutItemStatus.RETURNED && (React.createElement(View, { style: style.feedbackContainer },
|
|
100
|
-
React.createElement(ReturnQuestionsFeedback, { returnQuestions: returnQuestions || [], onEditFeedback: handleOnEditFeedback })))))),
|
|
101
|
-
customerDecissionMade && (React.createElement(ItemActions, { keepButtonLoading: keepCheckoutItemStatus === CommandStatus.LOADING, productVariantSelected: productVariantSelected, productVariants: bookedSizeChangeProductsVariants?.productVariants || [], returnButtonLoading: returnCheckoutItemStatus === CommandStatus.LOADING, sizeSelectorDisabled: replaceCheckoutItemStatus === CommandStatus.LOADING, onKeep: keepCheckoutItem, onLayout: handleOnStickyLayout, onReplace: handleOnReplace, onReturn: handleOnReturn, onSizeSelectorPress: handleOnShowSizeWithoutStockModal })),
|
|
102
|
-
React.createElement(ReturnQuestionsForm, { checkoutItemPrice: checkoutItem.price, productVariant: checkoutItem.productVariant, returnQuestions: returnQuestions || [], visible: returnQuestionsVisible, onClose: handleOnHideReturnQuestions, onSubmit: handleOnSubmit })));
|
|
103
|
-
};
|
|
104
|
-
export { Item };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare const style: {
|
|
2
|
-
container: {
|
|
3
|
-
paddingHorizontal: number;
|
|
4
|
-
};
|
|
5
|
-
feedbackContainer: {
|
|
6
|
-
borderTopColor: string;
|
|
7
|
-
borderTopWidth: number;
|
|
8
|
-
marginVertical: number;
|
|
9
|
-
};
|
|
10
|
-
sliderContainer: {
|
|
11
|
-
marginBottom: number;
|
|
12
|
-
minHeight: number;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export { style };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { StyleSheet } from "react-native";
|
|
2
|
-
import { theme } from "../../theme/theme";
|
|
3
|
-
const { borderSize, colorGrayscaleM, spaceXL } = theme();
|
|
4
|
-
const style = StyleSheet.create({
|
|
5
|
-
container: {
|
|
6
|
-
paddingHorizontal: spaceXL,
|
|
7
|
-
},
|
|
8
|
-
feedbackContainer: {
|
|
9
|
-
borderTopColor: colorGrayscaleM,
|
|
10
|
-
borderTopWidth: borderSize,
|
|
11
|
-
marginVertical: spaceXL,
|
|
12
|
-
},
|
|
13
|
-
sliderContainer: {
|
|
14
|
-
marginBottom: spaceXL,
|
|
15
|
-
minHeight: 500,
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
export { style };
|
package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { CheckoutItemStatus } from "../../../../../../domain/checkoutItem/model/checkoutItem";
|
|
3
|
-
type CustomerDecissionBannerStatus = Exclude<CheckoutItemStatus, CheckoutItemStatus.INITIAL | CheckoutItemStatus.EXPIRED>;
|
|
4
|
-
interface CustomerDecissionBannerProps {
|
|
5
|
-
readonly checkoutItemStatus: CustomerDecissionBannerStatus;
|
|
6
|
-
readonly onPress: () => void;
|
|
7
|
-
}
|
|
8
|
-
declare const CustomerDecissionBanner: FC<CustomerDecissionBannerProps>;
|
|
9
|
-
export type { CustomerDecissionBannerStatus };
|
|
10
|
-
export { CustomerDecissionBanner };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Text";
|
|
2
|
-
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { Pressable } from "react-native";
|
|
5
|
-
import { CheckoutItemStatus } from "../../../../../../domain/checkoutItem/model/checkoutItem";
|
|
6
|
-
import { Banner } from "../../../../components/layouts/banner/Banner";
|
|
7
|
-
import { I18nMessages } from "../../../../i18n/i18n";
|
|
8
|
-
import { style } from "./CustomerDecissionBanner.style";
|
|
9
|
-
const i18nMessageForCheckoutItemStatus = {
|
|
10
|
-
[CheckoutItemStatus.KEPT]: I18nMessages.ITEM_BANNER_CUSTOMER_KEPT_DECISSION,
|
|
11
|
-
[CheckoutItemStatus.REPLACED]: I18nMessages.ITEM_BANNER_CUSTOMER_REPLACED_DECISSION,
|
|
12
|
-
[CheckoutItemStatus.RETURNED]: I18nMessages.ITEM_BANNER_CUSTOMER_RETURNED_DECISSION,
|
|
13
|
-
};
|
|
14
|
-
const CustomerDecissionBanner = ({ checkoutItemStatus, onPress }) => {
|
|
15
|
-
const decissionText = useI18nMessage({ id: i18nMessageForCheckoutItemStatus[checkoutItemStatus] }) || "";
|
|
16
|
-
const bannerButtonText = useI18nMessage({ id: I18nMessages.ITEM_BANNER_BUTTON });
|
|
17
|
-
return (React.createElement(Banner, { text: decissionText },
|
|
18
|
-
React.createElement(Pressable, { style: style.button, onPress: onPress },
|
|
19
|
-
React.createElement(Text, { level: 2, style: style.buttonText, detail: true }, bannerButtonText))));
|
|
20
|
-
};
|
|
21
|
-
export { CustomerDecissionBanner };
|
package/dist/src/infrastructure/ui/views/item/components/banner/CustomerDecissionBanner.style.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { StyleSheet } from "react-native";
|
|
2
|
-
import { theme } from "../../../../theme/theme";
|
|
3
|
-
const { spaceM } = theme();
|
|
4
|
-
const style = StyleSheet.create({
|
|
5
|
-
button: {
|
|
6
|
-
marginTop: spaceM,
|
|
7
|
-
},
|
|
8
|
-
buttonText: {
|
|
9
|
-
textDecorationLine: "underline",
|
|
10
|
-
},
|
|
11
|
-
});
|
|
12
|
-
export { style };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
interface GetOutOfCheckoutModalProps {
|
|
3
|
-
readonly visible: boolean;
|
|
4
|
-
readonly onDismiss: () => void;
|
|
5
|
-
readonly onConfirm: () => void;
|
|
6
|
-
}
|
|
7
|
-
declare const GetOutOfCheckoutModal: FC<GetOutOfCheckoutModalProps>;
|
|
8
|
-
export { GetOutOfCheckoutModal };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Button } from "@lookiero/aurora-next/build/components/atoms/Button/Button";
|
|
2
|
-
import { BUTTON_VARIANT } from "@lookiero/aurora-next/build/components/atoms/Button/Button.definition";
|
|
3
|
-
import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Text";
|
|
4
|
-
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
5
|
-
import React from "react";
|
|
6
|
-
import { View } from "react-native";
|
|
7
|
-
import { Modal } from "../../../../../../shared/ui/components/layouts/modal/Modal";
|
|
8
|
-
import { I18nMessages } from "../../../../i18n/i18n";
|
|
9
|
-
import { style } from "./GetOutOfCheckoutModal.style";
|
|
10
|
-
const GetOutOfCheckoutModal = ({ visible, onDismiss, onConfirm }) => {
|
|
11
|
-
const titleText = useI18nMessage({ id: I18nMessages.GET_OUT_OF_CHECKOUT_MODAL_TITLE });
|
|
12
|
-
const descriptionText = useI18nMessage({ id: I18nMessages.GET_OUT_OF_CHECKOUT_MODAL_DESCRIPTION });
|
|
13
|
-
const dismissButtonText = useI18nMessage({ id: I18nMessages.GET_OUT_OF_CHECKOUT_MODAL_DISMISS_BUTTON });
|
|
14
|
-
const confirmButtonText = useI18nMessage({ id: I18nMessages.GET_OUT_OF_CHECKOUT_MODAL_CONFIRM_BUTTON });
|
|
15
|
-
return (React.createElement(Modal, { visible: visible, onClose: onDismiss },
|
|
16
|
-
React.createElement(View, { style: style.modal },
|
|
17
|
-
React.createElement(Text, { level: 1, style: style.modalTitle, body: true }, titleText),
|
|
18
|
-
React.createElement(Text, { level: 3, style: style.modalDescription, body: true }, descriptionText),
|
|
19
|
-
React.createElement(Button
|
|
20
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
, {
|
|
23
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
24
|
-
// @ts-ignore
|
|
25
|
-
style: style.button, onPress: onDismiss }, dismissButtonText),
|
|
26
|
-
React.createElement(Button
|
|
27
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
, {
|
|
30
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
style: [style.button, style.confirmButton], variant: BUTTON_VARIANT.SECONDARY, onPress: onConfirm }, confirmButtonText))));
|
|
33
|
-
};
|
|
34
|
-
export { GetOutOfCheckoutModal };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const style: {
|
|
2
|
-
button: {
|
|
3
|
-
flex: number;
|
|
4
|
-
};
|
|
5
|
-
confirmButton: {
|
|
6
|
-
marginTop: number;
|
|
7
|
-
};
|
|
8
|
-
modal: {
|
|
9
|
-
padding: number;
|
|
10
|
-
};
|
|
11
|
-
modalDescription: {
|
|
12
|
-
marginVertical: number;
|
|
13
|
-
textAlign: "center";
|
|
14
|
-
};
|
|
15
|
-
modalTitle: {
|
|
16
|
-
textAlign: "center";
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export { style };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { StyleSheet } from "react-native";
|
|
2
|
-
import { theme } from "../../../../theme/theme";
|
|
3
|
-
const { spaceXL } = theme();
|
|
4
|
-
const style = StyleSheet.create({
|
|
5
|
-
button: {
|
|
6
|
-
flex: 0,
|
|
7
|
-
},
|
|
8
|
-
confirmButton: {
|
|
9
|
-
marginTop: spaceXL,
|
|
10
|
-
},
|
|
11
|
-
modal: {
|
|
12
|
-
padding: spaceXL,
|
|
13
|
-
},
|
|
14
|
-
modalDescription: {
|
|
15
|
-
marginVertical: spaceXL,
|
|
16
|
-
textAlign: "center",
|
|
17
|
-
},
|
|
18
|
-
modalTitle: {
|
|
19
|
-
textAlign: "center",
|
|
20
|
-
},
|
|
21
|
-
});
|
|
22
|
-
export { style };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { ProductVariantProjection } from "../../../../../../projection/bookedSizeChangeProductsVariants/bookedSizeChangeProductsVariants";
|
|
3
|
-
import { Layout } from "../../../../../../shared/ui/components/layouts/sticky/Sticky";
|
|
4
|
-
interface ItemActionsProps {
|
|
5
|
-
readonly productVariants: ProductVariantProjection[];
|
|
6
|
-
readonly productVariantSelected: ProductVariantProjection;
|
|
7
|
-
readonly keepButtonLoading?: boolean;
|
|
8
|
-
readonly returnButtonLoading?: boolean;
|
|
9
|
-
readonly sizeSelectorDisabled?: boolean;
|
|
10
|
-
readonly onSizeSelectorPress?: () => void;
|
|
11
|
-
readonly onKeep: () => void;
|
|
12
|
-
readonly onReturn: () => void;
|
|
13
|
-
readonly onReplace: (value: string) => void;
|
|
14
|
-
readonly onLayout?: ({ width, height }: Layout) => void;
|
|
15
|
-
}
|
|
16
|
-
declare const ItemActions: FC<ItemActionsProps>;
|
|
17
|
-
export { ItemActions };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Button } from "@lookiero/aurora-next/build/components/atoms/Button/Button";
|
|
2
|
-
import { BUTTON_VARIANT } from "@lookiero/aurora-next/build/components/atoms/Button/Button.definition";
|
|
3
|
-
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
4
|
-
import React, { useCallback, useMemo } from "react";
|
|
5
|
-
import { View } from "react-native";
|
|
6
|
-
import { Sticky } from "../../../../../../shared/ui/components/layouts/sticky/Sticky";
|
|
7
|
-
import { SelectField } from "../../../../../../shared/ui/components/molecules/selectField/SelectField";
|
|
8
|
-
import { Body } from "../../../../components/layouts/body/Body";
|
|
9
|
-
import { I18nMessages } from "../../../../i18n/i18n";
|
|
10
|
-
import { style } from "./ItemActions.style";
|
|
11
|
-
const ItemActions = ({ productVariants, productVariantSelected, keepButtonLoading = false, returnButtonLoading = false, sizeSelectorDisabled = false, onSizeSelectorPress = () => void 0, onKeep, onReplace, onReturn, onLayout, }) => {
|
|
12
|
-
const sizeSelectorLabelText = useI18nMessage({ id: I18nMessages.ITEM_SIZES_LABEL });
|
|
13
|
-
const keepButtonText = useI18nMessage({ id: I18nMessages.ITEM_KEEP_BUTTON });
|
|
14
|
-
const returnButtonText = useI18nMessage({ id: I18nMessages.ITEM_RETURN_BUTTON });
|
|
15
|
-
const sizeSelectorOptions = useMemo(() => productVariants.map((productVariant) => ({ label: productVariant.size.lookiero, value: productVariant.id })), [productVariants]);
|
|
16
|
-
const disabledSizeSelector = useMemo(() => sizeSelectorOptions.length === 1 && sizeSelectorOptions[0]?.value === productVariantSelected.id, [sizeSelectorOptions, productVariantSelected.id]);
|
|
17
|
-
const handleOnPressSizeSelector = useCallback(() => onSizeSelectorPress(), [onSizeSelectorPress]);
|
|
18
|
-
return (React.createElement(Sticky, { onLayout: onLayout },
|
|
19
|
-
React.createElement(Body, { style: { column: style.container } },
|
|
20
|
-
React.createElement(Button, { busy: keepButtonLoading, onPress: onKeep }, keepButtonText),
|
|
21
|
-
React.createElement(View, { style: style.row },
|
|
22
|
-
!productVariantSelected.size.unique && (React.createElement(SelectField, { ...(disabledSizeSelector && {
|
|
23
|
-
onPress: handleOnPressSizeSelector,
|
|
24
|
-
}), disabled: sizeSelectorDisabled, options: sizeSelectorOptions, placeholder: sizeSelectorLabelText || "", testID: "size-selector", value: productVariantSelected.id, style: {
|
|
25
|
-
selectField: style.sizeSelector,
|
|
26
|
-
inputField: { input: (disabledSizeSelector || sizeSelectorDisabled) && style.inputDisabled },
|
|
27
|
-
}, onChange: onReplace })),
|
|
28
|
-
React.createElement(View, { style: style.returnButtonContainer },
|
|
29
|
-
React.createElement(Button, { busy: returnButtonLoading, variant: BUTTON_VARIANT.SECONDARY, onPress: onReturn }, returnButtonText))))));
|
|
30
|
-
};
|
|
31
|
-
export { ItemActions };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
declare const style: {
|
|
2
|
-
container: {
|
|
3
|
-
paddingHorizontal: number;
|
|
4
|
-
};
|
|
5
|
-
inputDisabled: {
|
|
6
|
-
color: string;
|
|
7
|
-
};
|
|
8
|
-
returnButtonContainer: {
|
|
9
|
-
flex: number;
|
|
10
|
-
};
|
|
11
|
-
row: {
|
|
12
|
-
alignItems: "center";
|
|
13
|
-
flexDirection: "row";
|
|
14
|
-
marginTop: number;
|
|
15
|
-
};
|
|
16
|
-
sizeSelector: {
|
|
17
|
-
flex: number;
|
|
18
|
-
marginRight: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export { style };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { StyleSheet } from "react-native";
|
|
2
|
-
import { theme } from "../../../../theme/theme";
|
|
3
|
-
const { colorGrayscaleL, spaceL, spaceXL } = theme();
|
|
4
|
-
const style = StyleSheet.create({
|
|
5
|
-
container: {
|
|
6
|
-
paddingHorizontal: spaceXL,
|
|
7
|
-
},
|
|
8
|
-
inputDisabled: {
|
|
9
|
-
color: colorGrayscaleL,
|
|
10
|
-
},
|
|
11
|
-
returnButtonContainer: {
|
|
12
|
-
flex: 1,
|
|
13
|
-
},
|
|
14
|
-
row: {
|
|
15
|
-
alignItems: "center",
|
|
16
|
-
flexDirection: "row",
|
|
17
|
-
marginTop: spaceL,
|
|
18
|
-
},
|
|
19
|
-
sizeSelector: {
|
|
20
|
-
flex: 1,
|
|
21
|
-
marginRight: spaceL,
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
export { style };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { ImageStyle, StyleProp } from "react-native";
|
|
3
|
-
import { CheckoutItemStatus } from "../../../../../../domain/checkoutItem/model/checkoutItem";
|
|
4
|
-
import { ColorProjection, MediaProjection } from "../../../../../../projection/checkoutItem/checkoutItem";
|
|
5
|
-
import { PriceProjection } from "../../../../../../projection/shared/price";
|
|
6
|
-
import { SizeProjection } from "../../../../../../projection/shared/size";
|
|
7
|
-
interface ProductVariantStyle {
|
|
8
|
-
readonly image: StyleProp<ImageStyle>;
|
|
9
|
-
}
|
|
10
|
-
interface ProductVariantProps {
|
|
11
|
-
readonly media: MediaProjection[];
|
|
12
|
-
readonly brand: string;
|
|
13
|
-
readonly name: string;
|
|
14
|
-
readonly price: PriceProjection;
|
|
15
|
-
readonly size: SizeProjection;
|
|
16
|
-
readonly color: ColorProjection;
|
|
17
|
-
readonly status?: CheckoutItemStatus;
|
|
18
|
-
readonly discarded?: boolean;
|
|
19
|
-
readonly style?: Partial<ProductVariantStyle>;
|
|
20
|
-
readonly onPress?: () => void;
|
|
21
|
-
}
|
|
22
|
-
declare const ProductVariant: FC<ProductVariantProps>;
|
|
23
|
-
export type { ProductVariantStyle };
|
|
24
|
-
export { ProductVariant };
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Text";
|
|
2
|
-
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { Image, Pressable, View } from "react-native";
|
|
5
|
-
import Svg, { Line } from "react-native-svg";
|
|
6
|
-
import { CheckoutItemStatus } from "../../../../../../domain/checkoutItem/model/checkoutItem";
|
|
7
|
-
import { ButtonIcon } from "../../../../../../shared/ui/components/molecules/buttonIcon/ButtonIcon";
|
|
8
|
-
import { Price } from "../../../../components/atoms/price/Price";
|
|
9
|
-
import { useMediaImage } from "../../../../hooks/useMediaImage";
|
|
10
|
-
import { COLOR_I18N_PREFIX, I18nMessages } from "../../../../i18n/i18n";
|
|
11
|
-
import { IMAGE_WIDTH, style } from "./ProductVariant.style";
|
|
12
|
-
const ProductVariant = ({ media, brand, name, price, size, color, status, discarded, style: customStyle, onPress, }) => {
|
|
13
|
-
const uniqueText = useI18nMessage({ id: I18nMessages.ITEM_UNIQUE });
|
|
14
|
-
const colorLabel = useI18nMessage({ id: color.label, prefix: COLOR_I18N_PREFIX });
|
|
15
|
-
const sizeChangeText = useI18nMessage({ id: I18nMessages.PRODUCT_VARIANT_SIZE_CHANGE });
|
|
16
|
-
const cdnImageUrl = useMediaImage();
|
|
17
|
-
return (React.createElement(Pressable, { pointerEvents: onPress ? "auto" : "none", style: style.container, testID: "product-variant", onPress: onPress },
|
|
18
|
-
React.createElement(View, { style: style.row },
|
|
19
|
-
React.createElement(View, null,
|
|
20
|
-
React.createElement(Image, { resizeMode: "contain", style: [style.media, customStyle?.image], testID: "product-variant-media", source: {
|
|
21
|
-
uri: cdnImageUrl({
|
|
22
|
-
url: media[0]?.url,
|
|
23
|
-
width: IMAGE_WIDTH,
|
|
24
|
-
}),
|
|
25
|
-
} }),
|
|
26
|
-
discarded && (React.createElement(Svg, { preserveAspectRatio: "none", style: style.discarded, testID: "discarded", viewBox: "0 0 100 100" },
|
|
27
|
-
React.createElement(Line, { vectorEffect: "non-scaling-stroke", x1: "100", x2: "0", y1: "0", y2: "100" })))),
|
|
28
|
-
React.createElement(View, { style: style.descriptionContainer },
|
|
29
|
-
React.createElement(View, null,
|
|
30
|
-
React.createElement(Text, { level: 2, style: style.brand, detail: true }, brand),
|
|
31
|
-
React.createElement(Text, { level: 2, detail: true }, name),
|
|
32
|
-
React.createElement(Text, { level: 2, style: style.priceAndColor, detail: true },
|
|
33
|
-
size.unique ? uniqueText : size.lookiero,
|
|
34
|
-
" / ",
|
|
35
|
-
colorLabel),
|
|
36
|
-
status === CheckoutItemStatus.REPLACED && (React.createElement(View, { style: style.sizeChange },
|
|
37
|
-
React.createElement(Text, { level: 3, style: style.sizeChangeText, detail: true }, sizeChangeText)))),
|
|
38
|
-
React.createElement(Price, { price: price, variant: "detail" }))),
|
|
39
|
-
onPress && React.createElement(ButtonIcon, { name: "arrow-right" })));
|
|
40
|
-
};
|
|
41
|
-
export { ProductVariant };
|
package/dist/src/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
declare const IMAGE_WIDTH = 96;
|
|
2
|
-
declare const style: {
|
|
3
|
-
brand: {
|
|
4
|
-
color: string;
|
|
5
|
-
};
|
|
6
|
-
container: {
|
|
7
|
-
flexDirection: "row";
|
|
8
|
-
justifyContent: "space-between";
|
|
9
|
-
};
|
|
10
|
-
descriptionContainer: {
|
|
11
|
-
justifyContent: "space-between";
|
|
12
|
-
marginLeft: number;
|
|
13
|
-
};
|
|
14
|
-
discarded: {
|
|
15
|
-
height: string;
|
|
16
|
-
left: number;
|
|
17
|
-
position: "absolute";
|
|
18
|
-
stroke: string;
|
|
19
|
-
top: number;
|
|
20
|
-
width: string;
|
|
21
|
-
zIndex: number;
|
|
22
|
-
};
|
|
23
|
-
media: {
|
|
24
|
-
borderColor: string;
|
|
25
|
-
borderWidth: number;
|
|
26
|
-
height: number;
|
|
27
|
-
width: number;
|
|
28
|
-
};
|
|
29
|
-
priceAndColor: {
|
|
30
|
-
color: string;
|
|
31
|
-
};
|
|
32
|
-
row: {
|
|
33
|
-
flexDirection: "row";
|
|
34
|
-
};
|
|
35
|
-
sizeChange: {
|
|
36
|
-
backgroundColor: string;
|
|
37
|
-
marginTop: number;
|
|
38
|
-
paddingHorizontal: number;
|
|
39
|
-
paddingVertical: number;
|
|
40
|
-
};
|
|
41
|
-
sizeChangeText: {
|
|
42
|
-
textTransform: "uppercase";
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
export { style, IMAGE_WIDTH };
|
package/dist/src/infrastructure/ui/views/item/components/productVariant/ProductVariant.style.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { StyleSheet } from "react-native";
|
|
2
|
-
import { theme } from "../../../../theme/theme";
|
|
3
|
-
const { borderSize, colorContent, colorGrayscaleL, colorInfo, spaceXS, spaceS, spaceM } = theme();
|
|
4
|
-
const IMAGE_WIDTH = 96;
|
|
5
|
-
const IMAGE_HEIGHT = 120;
|
|
6
|
-
const style = StyleSheet.create({
|
|
7
|
-
brand: {
|
|
8
|
-
color: colorGrayscaleL,
|
|
9
|
-
},
|
|
10
|
-
container: {
|
|
11
|
-
flexDirection: "row",
|
|
12
|
-
justifyContent: "space-between",
|
|
13
|
-
},
|
|
14
|
-
descriptionContainer: {
|
|
15
|
-
justifyContent: "space-between",
|
|
16
|
-
marginLeft: spaceS,
|
|
17
|
-
},
|
|
18
|
-
discarded: {
|
|
19
|
-
height: "100%",
|
|
20
|
-
left: 0,
|
|
21
|
-
position: "absolute",
|
|
22
|
-
stroke: colorContent,
|
|
23
|
-
top: 0,
|
|
24
|
-
width: "100%",
|
|
25
|
-
zIndex: 10,
|
|
26
|
-
},
|
|
27
|
-
media: {
|
|
28
|
-
borderColor: colorGrayscaleL,
|
|
29
|
-
borderWidth: borderSize,
|
|
30
|
-
height: IMAGE_HEIGHT,
|
|
31
|
-
width: IMAGE_WIDTH,
|
|
32
|
-
},
|
|
33
|
-
priceAndColor: {
|
|
34
|
-
color: colorGrayscaleL,
|
|
35
|
-
},
|
|
36
|
-
row: {
|
|
37
|
-
flexDirection: "row",
|
|
38
|
-
},
|
|
39
|
-
sizeChange: {
|
|
40
|
-
backgroundColor: colorInfo,
|
|
41
|
-
marginTop: spaceM,
|
|
42
|
-
paddingHorizontal: spaceS,
|
|
43
|
-
paddingVertical: spaceXS,
|
|
44
|
-
},
|
|
45
|
-
sizeChangeText: {
|
|
46
|
-
textTransform: "uppercase",
|
|
47
|
-
},
|
|
48
|
-
});
|
|
49
|
-
export { style, IMAGE_WIDTH };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { ColorProjection } from "../../../../../../projection/checkoutItem/checkoutItem";
|
|
3
|
-
import { PriceProjection } from "../../../../../../projection/shared/price";
|
|
4
|
-
import { SizeProjection } from "../../../../../../projection/shared/size";
|
|
5
|
-
interface ProductVariantDescriptionProps {
|
|
6
|
-
readonly brand: string;
|
|
7
|
-
readonly name: string;
|
|
8
|
-
readonly price: PriceProjection;
|
|
9
|
-
readonly size: SizeProjection;
|
|
10
|
-
readonly color: ColorProjection;
|
|
11
|
-
}
|
|
12
|
-
declare const ProductVariantDescription: FC<ProductVariantDescriptionProps>;
|
|
13
|
-
export { ProductVariantDescription };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Text } from "@lookiero/aurora-next/build/components/primitives/Text/Text";
|
|
2
|
-
import { useI18nMessage } from "@lookiero/i18n-react";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { View } from "react-native";
|
|
5
|
-
import { Price } from "../../../../components/atoms/price/Price";
|
|
6
|
-
import { COLOR_I18N_PREFIX, I18nMessages } from "../../../../i18n/i18n";
|
|
7
|
-
import { style } from "./ProductVariantDescription.style";
|
|
8
|
-
const ProductVariantDescription = ({ brand, name, price, size, color }) => {
|
|
9
|
-
const sizeText = useI18nMessage({ id: I18nMessages.ITEM_SIZE });
|
|
10
|
-
const colorText = useI18nMessage({ id: I18nMessages.ITEM_COLOR });
|
|
11
|
-
const uniqueText = useI18nMessage({ id: I18nMessages.ITEM_UNIQUE });
|
|
12
|
-
const colorLabel = useI18nMessage({ id: color.label, prefix: COLOR_I18N_PREFIX });
|
|
13
|
-
return (React.createElement(View, { style: style.container },
|
|
14
|
-
React.createElement(Text, { level: 3, style: style.brand, detail: true }, brand),
|
|
15
|
-
React.createElement(Text, { level: 2, style: style.name, body: true }, name),
|
|
16
|
-
React.createElement(Price, { price: price }),
|
|
17
|
-
React.createElement(Text, { level: 2, style: style.size, detail: true },
|
|
18
|
-
sizeText,
|
|
19
|
-
": ",
|
|
20
|
-
React.createElement(Text, { style: style.text }, size.unique ? uniqueText : size.lookiero)),
|
|
21
|
-
React.createElement(Text, { level: 2, detail: true },
|
|
22
|
-
colorText,
|
|
23
|
-
": ",
|
|
24
|
-
React.createElement(Text, { style: style.text }, colorLabel))));
|
|
25
|
-
};
|
|
26
|
-
export { ProductVariantDescription };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const style: {
|
|
2
|
-
brand: {
|
|
3
|
-
color: string;
|
|
4
|
-
textTransform: "uppercase";
|
|
5
|
-
};
|
|
6
|
-
container: {
|
|
7
|
-
width: string;
|
|
8
|
-
};
|
|
9
|
-
name: {
|
|
10
|
-
marginVertical: number;
|
|
11
|
-
};
|
|
12
|
-
size: {
|
|
13
|
-
marginVertical: number;
|
|
14
|
-
};
|
|
15
|
-
text: {
|
|
16
|
-
color: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export { style };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { StyleSheet } from "react-native";
|
|
2
|
-
import { theme } from "../../../../theme/theme";
|
|
3
|
-
const { colorGrayscaleL, spaceS, spaceL } = theme();
|
|
4
|
-
const style = StyleSheet.create({
|
|
5
|
-
brand: {
|
|
6
|
-
color: colorGrayscaleL,
|
|
7
|
-
textTransform: "uppercase",
|
|
8
|
-
},
|
|
9
|
-
container: {
|
|
10
|
-
width: "100%",
|
|
11
|
-
},
|
|
12
|
-
name: {
|
|
13
|
-
marginVertical: spaceS,
|
|
14
|
-
},
|
|
15
|
-
size: {
|
|
16
|
-
marginVertical: spaceL,
|
|
17
|
-
},
|
|
18
|
-
text: {
|
|
19
|
-
color: colorGrayscaleL,
|
|
20
|
-
},
|
|
21
|
-
});
|
|
22
|
-
export { style };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { MediaProjection } from "../../../../../../projection/checkoutItem/checkoutItem";
|
|
3
|
-
interface ProductVariantSlider {
|
|
4
|
-
readonly producVariantMedia: MediaProjection[];
|
|
5
|
-
}
|
|
6
|
-
declare const ProductVariantSlider: FC<ProductVariantSlider>;
|
|
7
|
-
export { ProductVariantSlider };
|