@weareconceptstudio/account 1.0.5 → 2.0.1
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/AccountProvider.d.ts.map +1 -1
- package/dist/AccountProvider.js +36 -9
- package/dist/AccountProvider.js.map +1 -1
- package/dist/components/AccountButton/style.d.ts +1 -1
- package/dist/components/AccountButton/style.d.ts.map +1 -1
- package/dist/components/AccountButton/style.js.map +1 -1
- package/dist/components/AccountContainer/style.d.ts +1 -1
- package/dist/components/AccountContainer/style.d.ts.map +1 -1
- package/dist/components/AccountCounter/index.js +2 -2
- package/dist/components/AccountCounter/index.js.map +1 -1
- package/dist/components/AccountCounter/style.d.ts +1 -1
- package/dist/components/AccountCounter/style.d.ts.map +1 -1
- package/dist/components/AccountCounter/style.js +5 -5
- package/dist/components/CustomCheckbox/style.d.ts +1 -1
- package/dist/components/CustomCheckbox/style.d.ts.map +1 -1
- package/dist/components/CustomCheckbox/style.js.map +1 -1
- package/dist/components/FormInputCode/style.d.ts +1 -1
- package/dist/components/FormInputCode/style.d.ts.map +1 -1
- package/dist/components/FormInputCode/style.js.map +1 -1
- package/dist/components/Loader/style.d.ts +1 -1
- package/dist/components/Loader/style.d.ts.map +1 -1
- package/dist/components/Loader/style.js +1 -1
- package/dist/components/Pagination/style.d.ts +1 -1
- package/dist/components/Pagination/style.d.ts.map +1 -1
- package/dist/components/Pagination/style.js.map +1 -1
- package/dist/components/Sequence/Skeleton/style.d.ts +1 -1
- package/dist/components/Sequence/Skeleton/style.d.ts.map +1 -1
- package/dist/components/Sequence/Skeleton/style.js.map +1 -1
- package/dist/components/Sequence/style.d.ts +1 -1
- package/dist/components/Sequence/style.d.ts.map +1 -1
- package/dist/components/SkeletonModel/style.d.ts +1 -1
- package/dist/components/SkeletonModel/style.d.ts.map +1 -1
- package/dist/components/SkeletonModel/style.js +2 -1
- package/dist/components/SkeletonModel/style.js.map +1 -1
- package/dist/components/TotalCheckout/BalanceComp/index.js +6 -5
- package/dist/components/TotalCheckout/BalanceComp/index.js.map +1 -1
- package/dist/components/TotalCheckout/BalanceComp/style.d.ts +1 -1
- package/dist/components/TotalCheckout/BalanceComp/style.d.ts.map +1 -1
- package/dist/components/TotalCheckout/CommentComp/index.js +1 -1
- package/dist/components/TotalCheckout/CommentComp/index.js.map +1 -1
- package/dist/components/TotalCheckout/CommentComp/style.d.ts +1 -1
- package/dist/components/TotalCheckout/CommentComp/style.d.ts.map +1 -1
- package/dist/components/TotalCheckout/CommentComp/style.js.map +1 -1
- package/dist/components/TotalCheckout/FreeShippingComp/index.d.ts.map +1 -1
- package/dist/components/TotalCheckout/FreeShippingComp/index.js +5 -5
- package/dist/components/TotalCheckout/FreeShippingComp/index.js.map +1 -1
- package/dist/components/TotalCheckout/FreeShippingComp/style.d.ts +1 -1
- package/dist/components/TotalCheckout/FreeShippingComp/style.d.ts.map +1 -1
- package/dist/components/TotalCheckout/FreeShippingComp/style.js.map +1 -1
- package/dist/components/TotalCheckout/GiftComp/index.d.ts.map +1 -1
- package/dist/components/TotalCheckout/GiftComp/index.js +6 -4
- package/dist/components/TotalCheckout/GiftComp/index.js.map +1 -1
- package/dist/components/TotalCheckout/GiftComp/style.d.ts +1 -1
- package/dist/components/TotalCheckout/GiftComp/style.d.ts.map +1 -1
- package/dist/components/TotalCheckout/GiftComp/style.js.map +1 -1
- package/dist/components/TotalCheckout/PromoCodeComp/AppliedPromotion/index.d.ts.map +1 -1
- package/dist/components/TotalCheckout/PromoCodeComp/AppliedPromotion/index.js.map +1 -1
- package/dist/components/TotalCheckout/PromoCodeComp/index.d.ts.map +1 -1
- package/dist/components/TotalCheckout/PromoCodeComp/index.js +1 -1
- package/dist/components/TotalCheckout/PromoCodeComp/index.js.map +1 -1
- package/dist/components/TotalCheckout/PromoCodeComp/style.d.ts +1 -1
- package/dist/components/TotalCheckout/PromoCodeComp/style.d.ts.map +1 -1
- package/dist/components/TotalCheckout/Skeleton/style.d.ts +1 -1
- package/dist/components/TotalCheckout/Skeleton/style.d.ts.map +1 -1
- package/dist/components/TotalCheckout/index.d.ts.map +1 -1
- package/dist/components/TotalCheckout/index.js +23 -19
- package/dist/components/TotalCheckout/index.js.map +1 -1
- package/dist/components/TotalCheckout/style.d.ts +1 -1
- package/dist/components/TotalCheckout/style.d.ts.map +1 -1
- package/dist/components/TotalCheckout/style.js +16 -1
- package/dist/components/TotalCheckout/style.js.map +1 -1
- package/dist/components/WarningMessage/style.d.ts +1 -1
- package/dist/components/WarningMessage/style.d.ts.map +1 -1
- package/dist/components/WarningMessage/style.js.map +1 -1
- package/dist/components/WarningMessageForPopup/index.d.ts.map +1 -1
- package/dist/components/WarningMessageForPopup/index.js.map +1 -1
- package/dist/components/WarningMessageForPopup/style.d.ts +1 -1
- package/dist/components/WarningMessageForPopup/style.d.ts.map +1 -1
- package/dist/components/WarningMessageForPopup/style.js.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/ProgressComponent/index.d.ts +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/ProgressComponent/index.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/ProgressComponent/index.js +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/ProgressComponent/index.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/ProgressComponent/style.d.ts +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/ProgressComponent/style.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/ProgressComponent/style.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/index.d.ts +3 -3
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/index.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/index.js +5 -7
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/index.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/style.d.ts +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/style.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/ProgressBalance/style.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/index.d.ts +1 -3
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/index.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/index.js +18 -8
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/index.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/style.d.ts +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/style.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HeroBalance/style.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HistoryBalance/ItemHistory/index.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HistoryBalance/ItemHistory/index.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HistoryBalance/ItemHistory/style.d.ts +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HistoryBalance/ItemHistory/style.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HistoryBalance/ItemHistory/style.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HistoryBalance/index.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HistoryBalance/index.js +5 -1
- package/dist/modules/account/AccountBalanceTemplate/HistoryBalance/index.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HistoryBalance/style.d.ts +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HistoryBalance/style.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/HistoryBalance/style.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/StatusBalance/ItemStatus/index.d.ts +2 -2
- package/dist/modules/account/AccountBalanceTemplate/StatusBalance/ItemStatus/index.js +3 -3
- package/dist/modules/account/AccountBalanceTemplate/StatusBalance/ItemStatus/index.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/StatusBalance/index.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/StatusBalance/index.js +4 -2
- package/dist/modules/account/AccountBalanceTemplate/StatusBalance/index.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/StatusBalance/style.d.ts +1 -1
- package/dist/modules/account/AccountBalanceTemplate/StatusBalance/style.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/StatusBalance/style.js +5 -1
- package/dist/modules/account/AccountBalanceTemplate/StatusBalance/style.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/Voucher/style.d.ts +1 -1
- package/dist/modules/account/AccountBalanceTemplate/Voucher/style.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/Voucher/style.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/index.d.ts +1 -2
- package/dist/modules/account/AccountBalanceTemplate/index.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/index.js +2 -2
- package/dist/modules/account/AccountBalanceTemplate/index.js.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/style.d.ts +1 -1
- package/dist/modules/account/AccountBalanceTemplate/style.d.ts.map +1 -1
- package/dist/modules/account/AccountBalanceTemplate/style.js.map +1 -1
- package/dist/modules/account/AccountSettingsTemplate/AccountInfo/index.d.ts.map +1 -1
- package/dist/modules/account/AccountSettingsTemplate/AccountInfo/index.js +37 -3
- package/dist/modules/account/AccountSettingsTemplate/AccountInfo/index.js.map +1 -1
- package/dist/modules/account/AccountSettingsTemplate/AccountInfo/style.d.ts +1 -1
- package/dist/modules/account/AccountSettingsTemplate/AccountInfo/style.d.ts.map +1 -1
- package/dist/modules/account/AccountSettingsTemplate/AccountInfo/style.js.map +1 -1
- package/dist/modules/account/AccountSettingsTemplate/AccountPassword/style.d.ts +1 -1
- package/dist/modules/account/AccountSettingsTemplate/AccountPassword/style.d.ts.map +1 -1
- package/dist/modules/account/AccountSettingsTemplate/AccountPassword/style.js.map +1 -1
- package/dist/modules/account/AccountSettingsTemplate/Subscription/style.d.ts +1 -1
- package/dist/modules/account/AccountSettingsTemplate/Subscription/style.d.ts.map +1 -1
- package/dist/modules/account/AccountSettingsTemplate/index.d.ts.map +1 -1
- package/dist/modules/account/AccountSettingsTemplate/index.js +2 -2
- package/dist/modules/account/AccountSettingsTemplate/index.js.map +1 -1
- package/dist/modules/account/AccountSettingsTemplate/style.d.ts +1 -1
- package/dist/modules/account/AccountSettingsTemplate/style.d.ts.map +1 -1
- package/dist/modules/account/AccountTemplate/index.js +1 -1
- package/dist/modules/account/AccountTemplate/index.js.map +1 -1
- package/dist/modules/account/AccountTemplate/style.d.ts +1 -1
- package/dist/modules/account/AccountTemplate/style.d.ts.map +1 -1
- package/dist/modules/address/AddressForm/index.d.ts.map +1 -1
- package/dist/modules/address/AddressForm/index.js +21 -3
- package/dist/modules/address/AddressForm/index.js.map +1 -1
- package/dist/modules/address/AddressForm/style.d.ts +1 -1
- package/dist/modules/address/AddressForm/style.d.ts.map +1 -1
- package/dist/modules/address/AddressForm/style.js.map +1 -1
- package/dist/modules/address/AddressItem/index.d.ts.map +1 -1
- package/dist/modules/address/AddressItem/index.js +12 -6
- package/dist/modules/address/AddressItem/index.js.map +1 -1
- package/dist/modules/address/AddressItem/style.d.ts +1 -1
- package/dist/modules/address/AddressItem/style.d.ts.map +1 -1
- package/dist/modules/address/AddressItem/style.js.map +1 -1
- package/dist/modules/address/AddressProvider.d.ts.map +1 -1
- package/dist/modules/address/AddressProvider.js +109 -20
- package/dist/modules/address/AddressProvider.js.map +1 -1
- package/dist/modules/address/AddressWrap/index.d.ts.map +1 -1
- package/dist/modules/address/AddressWrap/index.js +4 -2
- package/dist/modules/address/AddressWrap/index.js.map +1 -1
- package/dist/modules/address/AddressesTemplate/index.js +2 -2
- package/dist/modules/address/AddressesTemplate/index.js.map +1 -1
- package/dist/modules/address/AddressesTemplate/style.d.ts +1 -1
- package/dist/modules/address/AddressesTemplate/style.d.ts.map +1 -1
- package/dist/modules/address/AddressesTemplate/style.js.map +1 -1
- package/dist/modules/address/SelectAddress/Skeleton/style.d.ts +1 -1
- package/dist/modules/address/SelectAddress/Skeleton/style.d.ts.map +1 -1
- package/dist/modules/address/SelectAddress/Skeleton/style.js.map +1 -1
- package/dist/modules/address/SelectAddressPopup/index.d.ts.map +1 -1
- package/dist/modules/address/SelectAddressPopup/index.js +29 -21
- package/dist/modules/address/SelectAddressPopup/index.js.map +1 -1
- package/dist/modules/address/SelectAddressPopup/style.d.ts +1 -1
- package/dist/modules/address/SelectAddressPopup/style.d.ts.map +1 -1
- package/dist/modules/address/SelectAddressPopup/style.js.map +1 -1
- package/dist/modules/address/ShippingBillingForm/index.js +2 -2
- package/dist/modules/address/ShippingBillingForm/index.js.map +1 -1
- package/dist/modules/address/ShippingBillingForm/style.d.ts +1 -1
- package/dist/modules/address/ShippingBillingForm/style.d.ts.map +1 -1
- package/dist/modules/address/ShippingBillingForm/style.js.map +1 -1
- package/dist/modules/address/ShippingBillingInfo/index.d.ts.map +1 -1
- package/dist/modules/address/ShippingBillingInfo/index.js +10 -3
- package/dist/modules/address/ShippingBillingInfo/index.js.map +1 -1
- package/dist/modules/address/ShippingBillingInfo/style.d.ts +1 -1
- package/dist/modules/address/ShippingBillingInfo/style.d.ts.map +1 -1
- package/dist/modules/address/ShippingBillingInfo/style.js.map +1 -1
- package/dist/modules/auth/ForgotPasswordTemplate/index.d.ts.map +1 -1
- package/dist/modules/auth/ForgotPasswordTemplate/index.js +3 -1
- package/dist/modules/auth/ForgotPasswordTemplate/index.js.map +1 -1
- package/dist/modules/auth/ForgotPasswordTemplate/style.d.ts +1 -1
- package/dist/modules/auth/ForgotPasswordTemplate/style.d.ts.map +1 -1
- package/dist/modules/auth/ForgotPasswordTemplate/style.js.map +1 -1
- package/dist/modules/auth/ResetPasswordTemplate/ExpiredLink/index.js +1 -1
- package/dist/modules/auth/ResetPasswordTemplate/ExpiredLink/style.d.ts +1 -1
- package/dist/modules/auth/ResetPasswordTemplate/ExpiredLink/style.d.ts.map +1 -1
- package/dist/modules/auth/ResetPasswordTemplate/ExpiredLink/style.js.map +1 -1
- package/dist/modules/auth/ResetPasswordTemplate/style.d.ts +1 -1
- package/dist/modules/auth/ResetPasswordTemplate/style.d.ts.map +1 -1
- package/dist/modules/auth/SignInTemplate/index.d.ts +1 -2
- package/dist/modules/auth/SignInTemplate/index.d.ts.map +1 -1
- package/dist/modules/auth/SignInTemplate/index.js +4 -4
- package/dist/modules/auth/SignInTemplate/index.js.map +1 -1
- package/dist/modules/auth/SignInTemplate/style.d.ts +1 -1
- package/dist/modules/auth/SignInTemplate/style.d.ts.map +1 -1
- package/dist/modules/auth/SignInTemplate/style.js.map +1 -1
- package/dist/modules/auth/SignUpTemplate/index.d.ts +1 -2
- package/dist/modules/auth/SignUpTemplate/index.d.ts.map +1 -1
- package/dist/modules/auth/SignUpTemplate/index.js +4 -4
- package/dist/modules/auth/SignUpTemplate/index.js.map +1 -1
- package/dist/modules/auth/SignUpTemplate/style.d.ts +1 -1
- package/dist/modules/auth/SignUpTemplate/style.d.ts.map +1 -1
- package/dist/modules/auth/SignUpTemplate/style.js +1 -0
- package/dist/modules/auth/SignUpTemplate/style.js.map +1 -1
- package/dist/modules/auth/VerifyEmailAddressTemplate/style.d.ts +1 -1
- package/dist/modules/auth/VerifyEmailAddressTemplate/style.d.ts.map +1 -1
- package/dist/modules/auth/VerifyEmailAddressTemplate/style.js.map +1 -1
- package/dist/modules/cart/CartTemplate/Skeleton/SkeletonItem/index.d.ts.map +1 -1
- package/dist/modules/cart/CartTemplate/Skeleton/SkeletonItem/index.js +1 -1
- package/dist/modules/cart/CartTemplate/Skeleton/SkeletonItem/index.js.map +1 -1
- package/dist/modules/cart/CartTemplate/Skeleton/SkeletonItem/style.d.ts +1 -1
- package/dist/modules/cart/CartTemplate/Skeleton/SkeletonItem/style.d.ts.map +1 -1
- package/dist/modules/cart/CartTemplate/Skeleton/SkeletonItem/style.js.map +1 -1
- package/dist/modules/cart/CartTemplate/Skeleton/index.js +1 -1
- package/dist/modules/cart/CartTemplate/Skeleton/index.js.map +1 -1
- package/dist/modules/cart/CartTemplate/Skeleton/style.d.ts +1 -1
- package/dist/modules/cart/CartTemplate/Skeleton/style.d.ts.map +1 -1
- package/dist/modules/cart/CartTemplate/Skeleton/style.js.map +1 -1
- package/dist/modules/cart/CartTemplate/index.d.ts.map +1 -1
- package/dist/modules/cart/CartTemplate/index.js +15 -10
- package/dist/modules/cart/CartTemplate/index.js.map +1 -1
- package/dist/modules/cart/CartTemplate/style.d.ts +1 -1
- package/dist/modules/cart/CartTemplate/style.d.ts.map +1 -1
- package/dist/modules/cart/EmptyCart/index.d.ts.map +1 -1
- package/dist/modules/cart/EmptyCart/index.js +5 -3
- package/dist/modules/cart/EmptyCart/index.js.map +1 -1
- package/dist/modules/cart/EmptyCart/style.d.ts +1 -1
- package/dist/modules/cart/EmptyCart/style.d.ts.map +1 -1
- package/dist/modules/cart/EmptyCart/style.js +11 -10
- package/dist/modules/cart/EmptyCart/style.js.map +1 -1
- package/dist/modules/cart/components/CartItems/Item/EditButton.d.ts +11 -0
- package/dist/modules/cart/components/CartItems/Item/EditButton.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/EditButton.js +17 -0
- package/dist/modules/cart/components/CartItems/Item/EditButton.js.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/ItemActions.d.ts +11 -0
- package/dist/modules/cart/components/CartItems/Item/ItemActions.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/ItemActions.js +17 -0
- package/dist/modules/cart/components/CartItems/Item/ItemActions.js.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/ItemAttributes.d.ts +8 -0
- package/dist/modules/cart/components/CartItems/Item/ItemAttributes.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/ItemAttributes.js +38 -0
- package/dist/modules/cart/components/CartItems/Item/ItemAttributes.js.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/ItemImage.d.ts +9 -0
- package/dist/modules/cart/components/CartItems/Item/ItemImage.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/ItemImage.js +12 -0
- package/dist/modules/cart/components/CartItems/Item/ItemImage.js.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/ItemTitle.d.ts +10 -0
- package/dist/modules/cart/components/CartItems/Item/ItemTitle.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/ItemTitle.js +10 -0
- package/dist/modules/cart/components/CartItems/Item/ItemTitle.js.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/OutOfStockBadge.d.ts +6 -0
- package/dist/modules/cart/components/CartItems/Item/OutOfStockBadge.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/OutOfStockBadge.js +9 -0
- package/dist/modules/cart/components/CartItems/Item/OutOfStockBadge.js.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/PriceDisplay.d.ts +7 -0
- package/dist/modules/cart/components/CartItems/Item/PriceDisplay.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/PriceDisplay.js +25 -0
- package/dist/modules/cart/components/CartItems/Item/PriceDisplay.js.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/QuantitySelector.d.ts +14 -0
- package/dist/modules/cart/components/CartItems/Item/QuantitySelector.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/QuantitySelector.js +31 -0
- package/dist/modules/cart/components/CartItems/Item/QuantitySelector.js.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/TotalDisplay.d.ts +7 -0
- package/dist/modules/cart/components/CartItems/Item/TotalDisplay.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/TotalDisplay.js +25 -0
- package/dist/modules/cart/components/CartItems/Item/TotalDisplay.js.map +1 -0
- package/dist/modules/cart/components/CartItems/Item/index.d.ts.map +1 -1
- package/dist/modules/cart/components/CartItems/Item/index.js +39 -69
- package/dist/modules/cart/components/CartItems/Item/index.js.map +1 -1
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemActions.d.ts +14 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemActions.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemActions.js +22 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemActions.js.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemAttributes.d.ts +8 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemAttributes.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemAttributes.js +35 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemAttributes.js.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemImage.d.ts +9 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemImage.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemImage.js +12 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemImage.js.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemPrice.d.ts +8 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemPrice.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemPrice.js +38 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemPrice.js.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemQuantity.d.ts +14 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemQuantity.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemQuantity.js +47 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemQuantity.js.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemTitle.d.ts +10 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemTitle.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemTitle.js +10 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemTitle.js.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemTotal.d.ts +7 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemTotal.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemTotal.js +41 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileItemTotal.js.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileOutOfStockBadge.d.ts +6 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileOutOfStockBadge.d.ts.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileOutOfStockBadge.js +10 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/MobileOutOfStockBadge.js.map +1 -0
- package/dist/modules/cart/components/CartItems/ItemMobile/index.d.ts.map +1 -1
- package/dist/modules/cart/components/CartItems/ItemMobile/index.js +36 -70
- package/dist/modules/cart/components/CartItems/ItemMobile/index.js.map +1 -1
- package/dist/modules/cart/components/CartItems/index.d.ts.map +1 -1
- package/dist/modules/cart/components/CartItems/index.js +10 -6
- package/dist/modules/cart/components/CartItems/index.js.map +1 -1
- package/dist/modules/cart/components/CartItems/style.d.ts +1 -1
- package/dist/modules/cart/components/CartItems/style.d.ts.map +1 -1
- package/dist/modules/cart/components/CartItems/style.js +67 -7
- package/dist/modules/cart/components/CartItems/style.js.map +1 -1
- package/dist/modules/cart/index.d.ts +0 -1
- package/dist/modules/cart/index.d.ts.map +1 -1
- package/dist/modules/cart/index.js +3 -1
- package/dist/modules/cart/index.js.map +1 -1
- package/dist/modules/checkout/CheckoutTemplate/StepReview/index.d.ts.map +1 -1
- package/dist/modules/checkout/CheckoutTemplate/StepReview/index.js +4 -5
- package/dist/modules/checkout/CheckoutTemplate/StepReview/index.js.map +1 -1
- package/dist/modules/checkout/CheckoutTemplate/StepShipping/index.d.ts +4 -1
- package/dist/modules/checkout/CheckoutTemplate/StepShipping/index.d.ts.map +1 -1
- package/dist/modules/checkout/CheckoutTemplate/StepShipping/index.js +13 -4
- package/dist/modules/checkout/CheckoutTemplate/StepShipping/index.js.map +1 -1
- package/dist/modules/checkout/CheckoutTemplate/index.d.ts.map +1 -1
- package/dist/modules/checkout/CheckoutTemplate/index.js +41 -5
- package/dist/modules/checkout/CheckoutTemplate/index.js.map +1 -1
- package/dist/modules/checkout/CheckoutTemplate/style.d.ts +1 -1
- package/dist/modules/checkout/CheckoutTemplate/style.d.ts.map +1 -1
- package/dist/modules/checkout/PaymentFailedTemplate/index.js +1 -1
- package/dist/modules/checkout/PaymentFailedTemplate/index.js.map +1 -1
- package/dist/modules/checkout/PaymentFailedTemplate/style.d.ts +1 -1
- package/dist/modules/checkout/PaymentFailedTemplate/style.d.ts.map +1 -1
- package/dist/modules/checkout/PaymentFailedTemplate/style.js.map +1 -1
- package/dist/modules/checkout/ThankYouTemplate/index.js +1 -1
- package/dist/modules/checkout/ThankYouTemplate/index.js.map +1 -1
- package/dist/modules/checkout/ThankYouTemplate/style.d.ts +1 -1
- package/dist/modules/checkout/ThankYouTemplate/style.d.ts.map +1 -1
- package/dist/modules/checkout/ThankYouTemplate/style.js.map +1 -1
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.js +2 -1
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/order/EmptyOrders/style.d.ts +1 -1
- package/dist/modules/order/EmptyOrders/style.d.ts.map +1 -1
- package/dist/modules/order/EmptyOrders/style.js.map +1 -1
- package/dist/modules/order/OrderDetails/index.d.ts.map +1 -1
- package/dist/modules/order/OrderDetails/index.js +14 -14
- package/dist/modules/order/OrderDetails/index.js.map +1 -1
- package/dist/modules/order/OrderDetails/style.d.ts +1 -1
- package/dist/modules/order/OrderDetails/style.d.ts.map +1 -1
- package/dist/modules/order/OrderDetails/style.js.map +1 -1
- package/dist/modules/order/OrderHistoryTemplate/style.d.ts +1 -1
- package/dist/modules/order/OrderHistoryTemplate/style.d.ts.map +1 -1
- package/dist/modules/order/OrderIndividualTemplate/index.d.ts.map +1 -1
- package/dist/modules/order/OrderIndividualTemplate/index.js +5 -3
- package/dist/modules/order/OrderIndividualTemplate/index.js.map +1 -1
- package/dist/modules/order/OrderIndividualTemplate/style.d.ts +1 -1
- package/dist/modules/order/OrderIndividualTemplate/style.d.ts.map +1 -1
- package/dist/modules/order/OrderRatePopup/style.d.ts +1 -1
- package/dist/modules/order/OrderRatePopup/style.d.ts.map +1 -1
- package/dist/modules/order/OrderRateReview/style.d.ts +1 -1
- package/dist/modules/order/OrderRateReview/style.d.ts.map +1 -1
- package/dist/modules/order/OrderReview/style.d.ts +1 -1
- package/dist/modules/order/OrderReview/style.d.ts.map +1 -1
- package/dist/modules/order/OrderReviewPopup/style.d.ts +1 -1
- package/dist/modules/order/OrderReviewPopup/style.d.ts.map +1 -1
- package/dist/modules/order/OrderReviewPopup/style.js +1 -1
- package/dist/modules/order/OrderReviewTemplate/style.d.ts +1 -1
- package/dist/modules/order/OrderReviewTemplate/style.d.ts.map +1 -1
- package/dist/modules/order/OrderStatus/style.d.ts +1 -1
- package/dist/modules/order/OrderStatus/style.d.ts.map +1 -1
- package/dist/modules/order/OrderedItems/Item/index.d.ts.map +1 -1
- package/dist/modules/order/OrderedItems/Item/index.js +36 -31
- package/dist/modules/order/OrderedItems/Item/index.js.map +1 -1
- package/dist/modules/order/OrderedItems/ItemMobile/index.d.ts.map +1 -1
- package/dist/modules/order/OrderedItems/ItemMobile/index.js +32 -29
- package/dist/modules/order/OrderedItems/ItemMobile/index.js.map +1 -1
- package/dist/modules/order/OrderedItems/Review/Popup/index.d.ts +4 -0
- package/dist/modules/order/OrderedItems/Review/Popup/index.d.ts.map +1 -0
- package/dist/modules/order/OrderedItems/Review/Popup/index.js +70 -0
- package/dist/modules/order/OrderedItems/Review/Popup/index.js.map +1 -0
- package/dist/modules/order/OrderedItems/Review/Popup/style.d.ts +3 -0
- package/dist/modules/order/OrderedItems/Review/Popup/style.d.ts.map +1 -0
- package/dist/modules/order/OrderedItems/Review/Popup/style.js +326 -0
- package/dist/modules/order/OrderedItems/Review/Popup/style.js.map +1 -0
- package/dist/modules/order/OrderedItems/Review/index.d.ts +9 -0
- package/dist/modules/order/OrderedItems/Review/index.d.ts.map +1 -0
- package/dist/modules/order/OrderedItems/Review/index.js +57 -0
- package/dist/modules/order/OrderedItems/Review/index.js.map +1 -0
- package/dist/modules/order/OrderedItems/index.d.ts +2 -1
- package/dist/modules/order/OrderedItems/index.d.ts.map +1 -1
- package/dist/modules/order/OrderedItems/index.js +14 -6
- package/dist/modules/order/OrderedItems/index.js.map +1 -1
- package/dist/modules/order/OrderedItems/style.d.ts +1 -1
- package/dist/modules/order/OrderedItems/style.d.ts.map +1 -1
- package/dist/modules/order/OrderedItems/style.js +48 -12
- package/dist/modules/order/OrderedItems/style.js.map +1 -1
- package/dist/modules/order/OrderedItems/util.d.ts +4 -0
- package/dist/modules/order/OrderedItems/util.d.ts.map +1 -1
- package/dist/modules/order/OrderedItems/util.js +21 -0
- package/dist/modules/order/OrderedItems/util.js.map +1 -1
- package/dist/modules/order/OrdersList/Item/index.d.ts.map +1 -1
- package/dist/modules/order/OrdersList/Item/index.js +6 -7
- package/dist/modules/order/OrdersList/Item/index.js.map +1 -1
- package/dist/modules/order/OrdersList/ItemMobile/index.d.ts.map +1 -1
- package/dist/modules/order/OrdersList/ItemMobile/index.js +7 -7
- package/dist/modules/order/OrdersList/ItemMobile/index.js.map +1 -1
- package/dist/modules/order/OrdersList/index.d.ts.map +1 -1
- package/dist/modules/order/OrdersList/index.js +6 -4
- package/dist/modules/order/OrdersList/index.js.map +1 -1
- package/dist/modules/order/OrdersList/style.d.ts +1 -1
- package/dist/modules/order/OrdersList/style.d.ts.map +1 -1
- package/dist/modules/order/OrdersList/style.js +7 -7
- package/dist/modules/order/OrdersList/style.js.map +1 -1
- package/dist/modules/order/index.d.ts +1 -0
- package/dist/modules/order/index.d.ts.map +1 -1
- package/dist/modules/order/index.js +1 -0
- package/dist/modules/order/index.js.map +1 -1
- package/dist/modules/payment/AddNewCard/index.js +1 -1
- package/dist/modules/payment/AddNewCard/index.js.map +1 -1
- package/dist/modules/payment/AddNewCard/style.d.ts +1 -1
- package/dist/modules/payment/AddNewCard/style.d.ts.map +1 -1
- package/dist/modules/payment/AddNewCard/style.js +4 -1
- package/dist/modules/payment/AddNewCard/style.js.map +1 -1
- package/dist/modules/payment/Card/index.js +1 -1
- package/dist/modules/payment/Card/index.js.map +1 -1
- package/dist/modules/payment/Card/style.d.ts +1 -1
- package/dist/modules/payment/Card/style.d.ts.map +1 -1
- package/dist/modules/payment/Card/style.js +4 -1
- package/dist/modules/payment/Card/style.js.map +1 -1
- package/dist/modules/payment/Cards/style.d.ts +1 -1
- package/dist/modules/payment/Cards/style.d.ts.map +1 -1
- package/dist/modules/payment/Cards/style.js.map +1 -1
- package/dist/modules/payment/Payment/index.js +1 -1
- package/dist/modules/payment/Payment/index.js.map +1 -1
- package/dist/modules/payment/Payment/style.d.ts +1 -1
- package/dist/modules/payment/Payment/style.d.ts.map +1 -1
- package/dist/modules/payment/Payment/style.js.map +1 -1
- package/dist/modules/payment/PaymentMethodItem/style.d.ts +1 -1
- package/dist/modules/payment/PaymentMethodItem/style.d.ts.map +1 -1
- package/dist/modules/payment/PaymentMethodItem/style.js.map +1 -1
- package/dist/modules/payment/PaymentMethods/style.d.ts +1 -1
- package/dist/modules/payment/PaymentMethods/style.d.ts.map +1 -1
- package/dist/modules/payment/PaymentMethods/style.js.map +1 -1
- package/dist/modules/payment/PaymentMethodsTemplate/style.d.ts +1 -1
- package/dist/modules/payment/PaymentMethodsTemplate/style.d.ts.map +1 -1
- package/dist/modules/payment/PaymentWrap/style.d.ts +1 -1
- package/dist/modules/payment/PaymentWrap/style.d.ts.map +1 -1
- package/dist/modules/payment/PaymentWrap/style.js.map +1 -1
- package/dist/modules/payment/SelectPaymentMethodPopup/index.js +1 -1
- package/dist/modules/payment/SelectPaymentMethodPopup/index.js.map +1 -1
- package/dist/modules/payment/SelectPaymentMethodPopup/style.d.ts +1 -1
- package/dist/modules/payment/SelectPaymentMethodPopup/style.d.ts.map +1 -1
- package/dist/modules/payment/SelectPaymentMethodPopup/style.js.map +1 -1
- package/dist/modules/payment/SelectedPayment/index.js +1 -1
- package/dist/modules/payment/SelectedPayment/index.js.map +1 -1
- package/dist/translations/en.d.ts +23 -2
- package/dist/translations/en.d.ts.map +1 -1
- package/dist/translations/en.js +23 -2
- package/dist/translations/en.js.map +1 -1
- package/dist/translations/hy.d.ts +23 -2
- package/dist/translations/hy.d.ts.map +1 -1
- package/dist/translations/hy.js +23 -2
- package/dist/translations/hy.js.map +1 -1
- package/dist/translations/index.d.ts +374 -5
- package/dist/translations/index.d.ts.map +1 -1
- package/dist/translations/index.js +2 -1
- package/dist/translations/index.js.map +1 -1
- package/dist/translations/it.d.ts +309 -0
- package/dist/translations/it.d.ts.map +1 -0
- package/dist/translations/it.js +308 -0
- package/dist/translations/it.js.map +1 -0
- package/dist/translations/ru.d.ts +21 -1
- package/dist/translations/ru.d.ts.map +1 -1
- package/dist/translations/ru.js +25 -5
- package/dist/translations/ru.js.map +1 -1
- package/dist/utils/config.d.ts +48 -4
- package/dist/utils/config.d.ts.map +1 -1
- package/dist/utils/config.js +42 -7
- package/dist/utils/config.js.map +1 -1
- package/package.json +14 -6
- package/dist/modules/cart/CartProvider.d.ts +0 -79
- package/dist/modules/cart/CartProvider.d.ts.map +0 -1
- package/dist/modules/cart/CartProvider.js +0 -376
- package/dist/modules/cart/CartProvider.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderReviewPopup/style.js"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderReviewPopup/style.js"],"names":[],"mappings":";AAEA,8OAwTE"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default OrderReviewTemplateStyle;
|
|
2
|
-
declare const OrderReviewTemplateStyle: import("styled-components
|
|
2
|
+
declare const OrderReviewTemplateStyle: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>>;
|
|
3
3
|
//# sourceMappingURL=style.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderReviewTemplate/style.js"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderReviewTemplate/style.js"],"names":[],"mappings":";AAEA,iPAgHE"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default OrderStatusStyle;
|
|
2
|
-
declare const OrderStatusStyle: import("styled-components
|
|
2
|
+
declare const OrderStatusStyle: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
3
3
|
//# sourceMappingURL=style.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderStatus/style.js"],"names":[],"mappings":";AAEA
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderStatus/style.js"],"names":[],"mappings":";AAEA,+OAyCE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/order/OrderedItems/Item/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/order/OrderedItems/Item/index.js"],"names":[],"mappings":";AAOA,uDAwLG;kBA/LyB,OAAO"}
|
|
@@ -1,55 +1,60 @@
|
|
|
1
1
|
import React, { memo } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Image, Text, useTranslation } from '@weareconceptstudio/core';
|
|
3
3
|
import { useAccountContext } from '../../../../AccountProvider';
|
|
4
4
|
import { AccountButton } from '../../../../components';
|
|
5
|
-
import { defaultIconGift } from '../util';
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
import { defaultIconGift, getProductImage } from '../util';
|
|
6
|
+
import Review from '../Review';
|
|
7
|
+
const Item = memo(({ data, status, addOrUpdateReview }) => {
|
|
8
|
+
const { handleProductClick, globalSettings: { hasVariants }, } = useAccountContext();
|
|
8
9
|
const { translate } = useTranslation();
|
|
10
|
+
const { src: imageSrc, alt: imageAlt } = getProductImage(data);
|
|
9
11
|
return (React.createElement("div", { className: `item-wrap` },
|
|
10
12
|
React.createElement("div", { className: `item-inner-wrapper` },
|
|
11
13
|
React.createElement("div", { className: `col-item tl-col-1 col-item-1 first-col` },
|
|
12
14
|
React.createElement("div", { className: `image-wrapper` },
|
|
13
|
-
data
|
|
14
|
-
React.createElement(Image, { src:
|
|
15
|
+
data?.is_gift ? React.createElement("div", { className: 'wrapper-gift-icon' }, defaultIconGift) : null,
|
|
16
|
+
React.createElement(Image, { src: imageSrc, alt: imageAlt })),
|
|
15
17
|
React.createElement("div", { className: `col-1-right-wrap` },
|
|
16
|
-
React.createElement(
|
|
17
|
-
|
|
18
|
-
React.createElement(
|
|
19
|
-
|
|
20
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1
|
|
18
|
+
hasVariants ? (React.createElement(React.Fragment, null,
|
|
19
|
+
React.createElement(AccountButton, { disabled: !data?.product, btnType: `green-large-text`, className: `capitalize ordered-item-title`, text: data?.product?.name, url: data?.product?.url }))) : (React.createElement(React.Fragment, null,
|
|
20
|
+
React.createElement(AccountButton, { disabled: !data?.product, btnType: `green-large-text`, className: `capitalize ordered-item-title`, text: data?.product?.name || data?.product_name, onClick: () => data?.product && handleProductClick(data?.product) }))),
|
|
21
|
+
data?.color ? (React.createElement("div", { className: `right-first-item-wrap` },
|
|
22
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1` },
|
|
23
|
+
translate('account.general_actions.color'),
|
|
24
|
+
": \u00A0"),
|
|
25
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1 capitalize`, text: data.color }))) : data?.product?.short_info_1 ? (React.createElement("div", { className: `right-first-item-wrap` },
|
|
21
26
|
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1`, text: data.product.short_info_1 }))) : null,
|
|
22
|
-
data
|
|
23
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
data?.size ? (React.createElement("div", { className: `right-second-item-wrap` },
|
|
28
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1` },
|
|
29
|
+
translate('account.general_actions.size'),
|
|
30
|
+
": \u00A0"),
|
|
31
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1`, text: data.size }))) : data?.product?.short_info_2 ? (React.createElement("div", { className: `right-second-item-wrap` },
|
|
26
32
|
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1`, text: data.product.short_info_2 }))) : null)),
|
|
27
33
|
React.createElement("div", { className: `col-item tl-col-2` },
|
|
28
34
|
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1`, text: data?.qty })),
|
|
29
|
-
React.createElement("div", { className: `col-item tl-col-3 col-item-3 nowrap` }, data
|
|
30
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-bold account-secondary-color2 align-right order-sale-price` },
|
|
35
|
+
React.createElement("div", { className: `col-item tl-col-3 col-item-3 nowrap` }, data?.sale_price && !data?.is_gift ? (React.createElement("div", null,
|
|
36
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-bold account-secondary-color2 align-right order-sale-price` }, data?.formatted_sale_price),
|
|
31
37
|
React.createElement("div", { className: 'wrapper-discount' },
|
|
32
|
-
data
|
|
33
|
-
data.appliedPromotion.
|
|
34
|
-
data.appliedPromotion.type === 'percentage' ? '%' : ` ${currency}`,
|
|
38
|
+
data?.appliedPromotion ? (React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color2 discount-text` },
|
|
39
|
+
data.appliedPromotion.formatted_value,
|
|
35
40
|
"\u00A0",
|
|
36
41
|
React.createElement("span", { className: 'lowercase' }, translate('account.order_balance.discount')))) : null,
|
|
37
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color2 line-through value align-right order-price1` },
|
|
38
|
-
|
|
39
|
-
React.createElement("span", { className: 'gift-name-text' }, data?.appliedPromotion?.name))) : (
|
|
42
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color2 line-through value align-right order-price1` }, data?.formatted_price)))) : (React.createElement(Text, { className: `account-p account-p3 account-font-bold account-primary-color1 align-right order-sale-price` }, data?.is_gift ? (React.createElement(React.Fragment, null,
|
|
43
|
+
data?.formatted_total || 0,
|
|
44
|
+
React.createElement("span", { className: 'gift-name-text' }, data?.appliedPromotion?.name))) : (data?.formatted_price)))),
|
|
40
45
|
React.createElement("div", { className: `col-item tl-col-4 col-item-4 nowrap price-block` },
|
|
41
46
|
React.createElement("div", { className: `col-item-inner-wrap` },
|
|
42
|
-
React.createElement("div", { className: `flex-end-wrap` }, data
|
|
43
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-bold account-secondary-color2 align-right order-sale-price` },
|
|
47
|
+
React.createElement("div", { className: `flex-end-wrap` }, data?.sale_total && !data?.is_gift ? (React.createElement("div", null,
|
|
48
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-bold account-secondary-color2 align-right order-sale-price` }, data.formatted_sale_total),
|
|
44
49
|
React.createElement("div", { className: 'wrapper-discount' },
|
|
45
|
-
data
|
|
46
|
-
data.appliedPromotion.
|
|
47
|
-
data.appliedPromotion.type === 'percentage' ? '%' : ` ${currency}`,
|
|
50
|
+
data?.appliedPromotion ? (React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color2 discount-text` },
|
|
51
|
+
data.appliedPromotion.formatted_value,
|
|
48
52
|
"\u00A0",
|
|
49
53
|
React.createElement("span", { className: 'lowercase' }, translate('account.order_balance.discount')))) : null,
|
|
50
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color2 line-through value align-right order-price1` },
|
|
51
|
-
|
|
52
|
-
React.createElement("span", { className: 'gift-name-text' }, data?.appliedPromotion?.name))) : (
|
|
54
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color2 line-through value align-right order-price1` }, data?.formatted_total)))) : (React.createElement(Text, { className: `account-p account-p3 account-font-bold account-primary-color1 align-right order-sale-price` }, data?.is_gift ? (React.createElement(React.Fragment, null,
|
|
55
|
+
data?.formatted_total,
|
|
56
|
+
React.createElement("span", { className: 'gift-name-text' }, data?.appliedPromotion?.name))) : (data?.formatted_total))))))),
|
|
57
|
+
React.createElement(Review, { data: data, status: status, addOrUpdateReview: addOrUpdateReview, className: 'order-items-review-wrapper' })));
|
|
53
58
|
});
|
|
54
59
|
export default Item;
|
|
55
60
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/order/OrderedItems/Item/index.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/order/OrderedIt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iDAAiD;gBAChE,6BAAK,SAAS,EAAE,qBAAqB;oBACpC,6BAAK,SAAS,EAAE,eAAe,IAC7B,IAAI,EAAE,UAAU,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CACrC;wBACC,oBAAC,IAAI,IACJ,SAAS,EAAE,8FAA8F,IACxG,IAAI,CAAC,oBAAoB,CACpB;wBACP,6BAAK,SAAS,EAAE,kBAAkB;4BAChC,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,CACzB,oBAAC,IAAI,IACJ,SAAS,EAAE,+EAA+E;gCACzF,IAAI,CAAC,gBAAgB,CAAC,eAAe;;gCAEtC,8BAAM,SAAS,EAAC,WAAW,IACzB,SAAS,CAAC,gCAAgC,CAAC,CACtC,CACD,CACP,CAAC,CAAC,CAAC,IAAI;4BAER,oBAAC,IAAI,IACJ,SAAS,EAAE,8GAA8G,IACxH,IAAI,EAAE,eAAe,CAChB,CACF,CACD,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,IAAI,IACJ,SAAS,EAAE,4FAA4F,IACtG,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAChB;wBACE,IAAI,EAAE,eAAe;wBACtB,8BAAM,SAAS,EAAC,gBAAgB,IAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,CAAQ,CACpE,CACH,CAAC,CAAC,CAAC,CACH,IAAI,EAAE,eAAe,CACrB,CACK,CACP,CACI,CACD,CACD,CACD;QAEN,oBAAC,MAAM,IACN,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,iBAAiB,EACpC,SAAS,EAAC,4BAA4B,GACrC,CACG,CACN,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/order/OrderedItems/ItemMobile/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/order/OrderedItems/ItemMobile/index.js"],"names":[],"mappings":";AAOA,6DAuMG;kBA9MyB,OAAO"}
|
|
@@ -1,60 +1,63 @@
|
|
|
1
1
|
import React, { memo } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Image, Text, useTranslation } from '@weareconceptstudio/core';
|
|
3
3
|
import { useAccountContext } from '../../../../AccountProvider';
|
|
4
4
|
import { AccountButton } from '../../../../components';
|
|
5
|
-
import { defaultIconGift } from '../util';
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
import { defaultIconGift, getProductImage } from '../util';
|
|
6
|
+
import Review from '../Review';
|
|
7
|
+
const ItemMobile = memo(({ data, status, addOrUpdateReview }) => {
|
|
8
|
+
const { handleProductClick, globalSettings: { hasVariants }, } = useAccountContext();
|
|
8
9
|
const { translate } = useTranslation();
|
|
10
|
+
// Extract product image data with fallbacks
|
|
11
|
+
const { src: imageSrc, alt: imageAlt } = getProductImage(data);
|
|
9
12
|
return (React.createElement("div", { className: `mobile-order-item-wrap` },
|
|
10
13
|
React.createElement("div", { className: `mobile-order-item-inner-wrap` },
|
|
11
14
|
React.createElement("div", { className: `mobile-image-wrap` },
|
|
12
15
|
data.is_gift ? React.createElement("div", { className: 'wrapper-gift-icon' }, defaultIconGift) : null,
|
|
13
|
-
React.createElement(Image, { src:
|
|
16
|
+
React.createElement(Image, { src: imageSrc, alt: imageAlt, className: `${hasVariants ? 'is-variant-version-enabled' : ''}` })),
|
|
14
17
|
React.createElement("div", { className: `mobile-info-wrap` },
|
|
15
|
-
React.createElement(
|
|
16
|
-
|
|
18
|
+
hasVariants ? (React.createElement(React.Fragment, null,
|
|
19
|
+
React.createElement(AccountButton, { disabled: !data.product, btnType: `green-large-text`, className: `ordered-item-mobile-title`, text: data?.product?.name, url: data?.product?.url }))) : (React.createElement(React.Fragment, null,
|
|
20
|
+
React.createElement(AccountButton, { disabled: !data.product, btnType: `green-large-text`, className: `ordered-item-mobile-title`, text: data.product?.name || data.product_name, onClick: () => data.product && handleProductClick(data.product) }))),
|
|
21
|
+
data?.color ? (React.createElement("div", { className: `mobile-info-item` },
|
|
17
22
|
React.createElement(Text, { className: `account-p account-p3 account-font-bold account-primary-color1`, text: `account.general_actions.color` }),
|
|
18
|
-
"\u00A0",
|
|
19
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1 capitalize`, text: data.color }))) : data
|
|
23
|
+
": \u00A0",
|
|
24
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1 capitalize`, text: data.color }))) : data?.product?.short_info_1 ? (React.createElement("div", { className: `mobile-info-item` },
|
|
20
25
|
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1`, text: data.product.short_info_1 }))) : null,
|
|
21
|
-
data
|
|
26
|
+
data?.size ? (React.createElement("div", { className: `mobile-info-item` },
|
|
22
27
|
React.createElement(Text, { className: `account-p account-p3 account-font-bold account-primary-color1`, text: `account.general_actions.size` }),
|
|
23
|
-
"\u00A0",
|
|
24
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1`, text: data.size }))) : data
|
|
28
|
+
": \u00A0",
|
|
29
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1`, text: data.size }))) : data?.product?.short_info_2 ? (React.createElement("div", { className: `mobile-info-item` },
|
|
25
30
|
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1`, text: data.product.short_info_2 }))) : null,
|
|
26
31
|
React.createElement("div", { className: `mobile-info-item` },
|
|
27
32
|
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1` },
|
|
28
33
|
translate('account.order_balance.quantity'),
|
|
29
34
|
":"),
|
|
30
35
|
"\u00A0",
|
|
31
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1`, text: data?.qty })),
|
|
36
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1`, text: data?.quantity || data?.qty })),
|
|
32
37
|
React.createElement("div", { className: `mobile-price-wrap nowrap` },
|
|
33
38
|
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1`, text: `account.order_balance.price` }),
|
|
34
|
-
data
|
|
35
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-secondary-color2 sale-price` },
|
|
39
|
+
data?.sale_price && !data.is_gift ? (React.createElement(React.Fragment, null,
|
|
40
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-secondary-color2 sale-price` }, data?.formatted_sale_price),
|
|
36
41
|
React.createElement("div", { className: 'wrapper-discount' },
|
|
37
|
-
data
|
|
38
|
-
data.appliedPromotion.
|
|
39
|
-
data.appliedPromotion.type === 'percentage' ? '%' : ` ${currency}`,
|
|
42
|
+
data?.appliedPromotion ? (React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color2 discount-text-mobile` },
|
|
43
|
+
data.appliedPromotion.formatted_value,
|
|
40
44
|
"\u00A0",
|
|
41
45
|
React.createElement("span", { className: 'lowercase' }, translate('account.order_balance.discount')))) : null,
|
|
42
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color2 line-through price1` },
|
|
43
|
-
|
|
44
|
-
React.createElement("span", { className: 'gift-name-text' }, data?.appliedPromotion?.name))) : (
|
|
46
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color2 line-through price1` }, data?.formatted_price)))) : (React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1 price2` }, data?.is_gift ? (React.createElement(React.Fragment, null,
|
|
47
|
+
data?.formatted_total || 0,
|
|
48
|
+
React.createElement("span", { className: 'gift-name-text' }, data?.appliedPromotion?.name))) : (data?.formatted_price)))),
|
|
45
49
|
React.createElement("div", { className: `mobile-total-price-wrap nowrap` },
|
|
46
50
|
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1`, text: `account.order_balance.total` }),
|
|
47
|
-
data
|
|
48
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-secondary-color2 sale-total` },
|
|
51
|
+
data?.sale_total && !data.is_gift ? (React.createElement(React.Fragment, null,
|
|
52
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-medium account-secondary-color2 sale-total` }, data?.formatted_sale_total),
|
|
49
53
|
React.createElement("div", { className: 'wrapper-discount' },
|
|
50
|
-
data
|
|
51
|
-
data.appliedPromotion.
|
|
52
|
-
data.appliedPromotion.type === 'percentage' ? '%' : ` ${currency}`,
|
|
54
|
+
data?.appliedPromotion ? (React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color2 discount-text-mobile` },
|
|
55
|
+
data.appliedPromotion.formatted_value,
|
|
53
56
|
"\u00A0",
|
|
54
57
|
React.createElement("span", { className: 'lowercase' }, translate('account.order_balance.discount')))) : null,
|
|
55
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color2 line-through total1` },
|
|
56
|
-
|
|
57
|
-
React.createElement("span", { className: 'gift-name-text' }, data?.appliedPromotion?.name))) : (
|
|
58
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color2 line-through total1` }, data?.formatted_total)))) : (React.createElement(Text, { className: `account-p account-p3 account-font-medium account-primary-color1 total2` }, data?.is_gift ? (React.createElement(React.Fragment, null,
|
|
59
|
+
data?.formatted_total || 0,
|
|
60
|
+
React.createElement("span", { className: 'gift-name-text' }, data?.appliedPromotion?.name))) : (data?.formatted_total))))))));
|
|
58
61
|
});
|
|
59
62
|
export default ItemMobile;
|
|
60
63
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/order/OrderedItems/ItemMobile/index.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/order/OrderedItems/ItemMobile/index.js"],"names":[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 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/order/OrderedItems/Review/Popup/index.js"],"names":[],"mappings":";AASA,8DAiNG;kBA1NuD,OAAO"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import React, { memo, useCallback, useMemo, useRef } from 'react';
|
|
2
|
+
import ReviewPopupStyle from './style';
|
|
3
|
+
import { Image, Link, Text, useTranslation, useUi } from '@weareconceptstudio/core';
|
|
4
|
+
import { AccountButton, WarningMessageForPopup } from '../../../../../components';
|
|
5
|
+
import { useAccountContext } from '../../../../../AccountProvider';
|
|
6
|
+
import { FormBuilder } from '@weareconceptstudio/form';
|
|
7
|
+
const ReviewPopup = memo(({ className, orderItemId, product, review, addOrUpdateReview }) => {
|
|
8
|
+
const { translate } = useTranslation();
|
|
9
|
+
const { openPopup, winWidth, closePopup } = useUi();
|
|
10
|
+
const { useUser, order } = useAccountContext();
|
|
11
|
+
const { createReview, updateReview } = useUser();
|
|
12
|
+
//! Ref
|
|
13
|
+
const formRef = useRef();
|
|
14
|
+
//! Handle Finish Function
|
|
15
|
+
const onFinish = useCallback((values) => {
|
|
16
|
+
let newValues = {
|
|
17
|
+
...values,
|
|
18
|
+
order_item_id: orderItemId,
|
|
19
|
+
product_id: product.id,
|
|
20
|
+
};
|
|
21
|
+
return (review ? updateReview(review.id, newValues) : createReview(newValues)).then(({ data }) => {
|
|
22
|
+
addOrUpdateReview(orderItemId, data);
|
|
23
|
+
closePopup();
|
|
24
|
+
!review &&
|
|
25
|
+
openPopup(React.createElement(WarningMessageForPopup, { isThankYou: true, title: 'account.review.thankYouPopupTitle', description: 'account.review.thankYouPopupDesc' }), { className: 'messagePopup' });
|
|
26
|
+
});
|
|
27
|
+
}, [orderItemId, product, review]);
|
|
28
|
+
const initialValues = useMemo(() => {
|
|
29
|
+
return review
|
|
30
|
+
? {
|
|
31
|
+
...review,
|
|
32
|
+
is_recommended: review.is_recommended || '0',
|
|
33
|
+
images: review.images.map((item) => fileToUploadObj(item)),
|
|
34
|
+
}
|
|
35
|
+
: {
|
|
36
|
+
is_recommended: 1,
|
|
37
|
+
};
|
|
38
|
+
}, [review]);
|
|
39
|
+
return (React.createElement(ReviewPopupStyle, { className: `review-popup-wrapper ${className || ''}` },
|
|
40
|
+
React.createElement(Text, { className: `account-h6 account-font-bold account-primary-color1`, text: `account.review.writeYourReview` }),
|
|
41
|
+
React.createElement("div", { className: `info-wrap` }, !(winWidth < 768) ? (React.createElement(React.Fragment, null,
|
|
42
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1` },
|
|
43
|
+
translate('account.review.writeYourReviewDesc1'),
|
|
44
|
+
"\u00A0",
|
|
45
|
+
React.createElement(Link, { className: `info-link`, onClick: () => closePopup(), url: order.hasProductReviewPopup.url1, content: translate('account.review.reviewGuidelinesWithSymbol') })),
|
|
46
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1` },
|
|
47
|
+
translate('account.review.writeYourReviewDesc2'),
|
|
48
|
+
"\u00A0",
|
|
49
|
+
React.createElement(Link, { className: `info-link`, onClick: () => closePopup(), url: order.hasProductReviewPopup.url2, content: translate('account.review.contactUsWithSymbol') })))) : (React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1` },
|
|
50
|
+
translate('account.review.writeYourReviewDesc1'),
|
|
51
|
+
"\u00A0",
|
|
52
|
+
React.createElement(Link, { className: `info-link`, onClick: () => closePopup(), url: order.hasProductReviewPopup.url1, content: translate('account.review.reviewGuidelinesWithSymbol') }),
|
|
53
|
+
"\u00A0",
|
|
54
|
+
translate('account.review.writeYourReviewDesc2'),
|
|
55
|
+
"\u00A0",
|
|
56
|
+
React.createElement(Link, { className: `info-link`, onClick: () => closePopup(), url: order.hasProductReviewPopup.url2, content: translate('contactUsWithSymbol') })))),
|
|
57
|
+
React.createElement(Image, { src: product.images?.[0]?.src, alt: product.images?.[0]?.alt, className: `banner-image` }),
|
|
58
|
+
React.createElement("div", { className: `name-text` },
|
|
59
|
+
React.createElement(AccountButton, { text: product.name, btnType: `green-small-text`, url: product.url, target: `_blank`, customLinkProps: {
|
|
60
|
+
rel: 'noopener noreferrer',
|
|
61
|
+
} })),
|
|
62
|
+
React.createElement(FormBuilder, { fields: order.hasProductReviewPopup.formFields, onSubmit: onFinish, className: `review-popup-form-container`, formOptions: {
|
|
63
|
+
// className: '',
|
|
64
|
+
ref: formRef,
|
|
65
|
+
mode: 'onSubmit',
|
|
66
|
+
initialValues,
|
|
67
|
+
} })));
|
|
68
|
+
});
|
|
69
|
+
export default ReviewPopup;
|
|
70
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/order/OrderedItems/Review/Popup/index.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAElE,OAAO,gBAAgB,MAAM,SAAS,CAAC;AAEvC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,MAAM,WAAW,GAAG,IAAI,CAAC,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,EAAE,EAAE;IAC3F,MAAM,EAAE,SAAS,EAAE,GAAG,cAAc,EAAE,CAAC;IACvC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,CAAC;IACpD,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,G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AAG,EAAE,CAAC,UAAU,EAAE,EAC3B,GAAG,EAAE,KAAK,CAAC,qBAAqB,CAAC,IAAI,EACrC,OAAO,EAAE,SAAS,CAAC,qBAAqB,CAAC,GACxC,CACI,CACP,CACI;QAEN,oBAAC,KAAK,IACL,GAAG,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,EAC7B,GAAG,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,EAC7B,SAAS,EAAE,cAAc,GACxB;QAEF,6BAAK,SAAS,EAAE,WAAW;YAC1B,oBAAC,aAAa,IACb,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,OAAO,EAAE,kBAAkB,EAC3B,GAAG,EAAE,OAAO,CAAC,GAAG,EAChB,MAAM,EAAE,QAAQ,EAChB,eAAe,EAAE;oBAChB,GAAG,EAAE,qBAAqB;iBAC1B,GACA,CACG;QAEN,oBAAC,WAAW,IACX,MAAM,EAAE,KAAK,CAAC,qBAAqB,CAAC,UAAU,EAC9C,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,6BAA6B,EACxC,WAAW,EAAE;gBACZ,iBAAiB;gBACjB,GAAG,EAAE,OAAO;gBACZ,IAAI,EAAE,UAAU;gBAChB,aAAa;aACb,GACA,CAiFgB,CACnB,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export default ReviewPopupStyle;
|
|
2
|
+
declare const ReviewPopupStyle: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>>;
|
|
3
|
+
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/order/OrderedItems/Review/Popup/style.js"],"names":[],"mappings":";AAEA,yOA6UE"}
|