@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
|
@@ -5,19 +5,18 @@ import { SelectAddress } from '../../../address';
|
|
|
5
5
|
import { CartItems } from '../../../cart';
|
|
6
6
|
import Payment from '../../../payment/Payment';
|
|
7
7
|
import SelectPaymentMethodPopup from '../../../payment/SelectPaymentMethodPopup';
|
|
8
|
+
import { useAccountContext } from '../../../../AccountProvider';
|
|
8
9
|
const StepReview = () => {
|
|
9
10
|
const { openPopup } = useUi();
|
|
11
|
+
const { checkout } = useAccountContext();
|
|
10
12
|
const handleSelectPopup = useCallback(() => {
|
|
11
13
|
openPopup(React.createElement(SelectPaymentMethodPopup, null), { className: 'popup-payment-block' });
|
|
12
14
|
}, []);
|
|
13
15
|
return (React.createElement("div", { className: 'step-review' },
|
|
14
16
|
React.createElement(SelectAddress, null),
|
|
15
17
|
React.createElement(Payment, { title: 'account.payment_management.payment', onClick: handleSelectPopup }),
|
|
16
|
-
React.createElement(CartItems, {
|
|
17
|
-
|
|
18
|
-
select: false,
|
|
19
|
-
horizontalLine: false,
|
|
20
|
-
edit: { item: false, list: true },
|
|
18
|
+
React.createElement(CartItems, { className: `checkout-mt`, title: 'account.order_management.orderItems', additionalParameters: {
|
|
19
|
+
...checkout.item,
|
|
21
20
|
} })));
|
|
22
21
|
};
|
|
23
22
|
export default StepReview;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/checkout/CheckoutTemplate/StepReview/index.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEjD,cAAc;AACd,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,OAAO,MAAM,0BAA0B,CAAC;AAC/C,OAAO,wBAAwB,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/checkout/CheckoutTemplate/StepReview/index.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEjD,cAAc;AACd,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,OAAO,MAAM,0BAA0B,CAAC;AAC/C,OAAO,wBAAwB,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,MAAM,UAAU,GAAG,GAAG,EAAE;IACvB,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,CAAC;IAC9B,MAAM,EAAE,QAAQ,EAAE,GAAG,iBAAiB,EAAE,CAAC;IAEzC,MAAM,iBAAiB,GAAG,WAAW,CAAC,GAAG,EAAE;QAC1C,SAAS,CAAC,oBAAC,wBAAwB,OAAG,EAAE,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAAC,CAAC;IAC/E,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACN,6BAAK,SAAS,EAAC,aAAa;QAC3B,oBAAC,aAAa,OAAG;QAEjB,oBAAC,OAAO,IACP,KAAK,EAAE,oCAAoC,EAC3C,OAAO,EAAE,iBAAiB,GACzB;QAEF,oBAAC,SAAS,IACT,SAAS,EAAE,aAAa,EACxB,KAAK,EAAE,qCAAqC,EAC5C,oBAAoB,EAAE;gBACrB,GAAG,QAAQ,CAAC,IAAI;aAChB,GACA,CACG,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export default StepShipping;
|
|
2
|
-
declare function StepShipping({ firstStepFormRef }: {
|
|
2
|
+
declare function StepShipping({ firstStepFormRef, shippingFormRef, billingFormRef, setUseSameAddress }: {
|
|
3
3
|
firstStepFormRef: any;
|
|
4
|
+
shippingFormRef: any;
|
|
5
|
+
billingFormRef: any;
|
|
6
|
+
setUseSameAddress: any;
|
|
4
7
|
}): React.JSX.Element;
|
|
5
8
|
import React from 'react';
|
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/checkout/CheckoutTemplate/StepShipping/index.js"],"names":[],"mappings":";AAIA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/checkout/CheckoutTemplate/StepShipping/index.js"],"names":[],"mappings":";AAIA;;;;;sBAqEC;kBAzE+B,OAAO"}
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { AddressItem, ShippingBillingForm, useAddressContext } from '../../../address';
|
|
3
3
|
import { CustomCheckbox } from '../../../../components';
|
|
4
|
-
const StepShipping = ({ firstStepFormRef }) => {
|
|
5
|
-
const [hide, setHide] = useState();
|
|
6
|
-
const { hasAddressType } = useAddressContext();
|
|
7
|
-
return (React.createElement("div", { className: `billing-shipping-form-wrap` }, hasAddressType ? (React.createElement(React.Fragment, null
|
|
4
|
+
const StepShipping = ({ firstStepFormRef, shippingFormRef, billingFormRef, setUseSameAddress }) => {
|
|
5
|
+
const [hide, setHide] = useState(false);
|
|
6
|
+
const { hasAddressType, addresses, selectedAddresses } = useAddressContext();
|
|
7
|
+
return (React.createElement("div", { className: `billing-shipping-form-wrap` }, hasAddressType ? (React.createElement(React.Fragment, null,
|
|
8
|
+
addresses.shipping.length > 0 && selectedAddresses.shipping ? (React.createElement("div", { className: `shipping-address-wrapper` },
|
|
9
|
+
React.createElement(AddressItem, { title: 'account.address_management.shippingAddress', checkout_review: false, select_address: false, type: 'shipping', data: selectedAddresses.shipping }))) : (React.createElement(ShippingBillingForm, { type: 'shipping', title: 'account.address_management.shippingAddress', className: 'shipping-wrapper', firstStepFormRef: shippingFormRef })),
|
|
10
|
+
!(addresses.billing.length > 0 || addresses.shipping.length > 0) && (React.createElement(CustomCheckbox, { hide: hide, setHide: (value) => {
|
|
11
|
+
setHide(value);
|
|
12
|
+
setUseSameAddress?.(value);
|
|
13
|
+
}, isText: 'account.order_balance.useAlsoBillingAddress' })),
|
|
14
|
+
!hide &&
|
|
15
|
+
(addresses.billing.length > 0 && selectedAddresses.billing ? (React.createElement("div", { className: `billing-address-wrapper` },
|
|
16
|
+
React.createElement(AddressItem, { type: 'billing', select_address: false, checkout_review: false, title: 'account.address_management.billingAddress', data: selectedAddresses.billing }))) : (React.createElement(ShippingBillingForm, { type: 'billing', title: 'account.address_management.billingAddress', className: 'billing-wrapper', firstStepFormRef: billingFormRef }))))) : (React.createElement(ShippingBillingForm, { firstStepFormRef: firstStepFormRef, title: 'account.address_management.address' }))));
|
|
8
17
|
};
|
|
9
18
|
export default StepShipping;
|
|
10
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/checkout/CheckoutTemplate/StepShipping/index.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACvF,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,MAAM,YAAY,GAAG,CAAC,EAAE,gBAAgB,EAAE,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/checkout/CheckoutTemplate/StepShipping/index.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM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C,SAAS,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAC,CAC5D,6BAAK,SAAS,EAAE,yBAAyB;gBACxC,oBAAC,WAAW,IACX,IAAI,EAAE,SAAS,EACf,cAAc,EAAE,KAAK,EACrB,eAAe,EAAE,KAAK,EACtB,KAAK,EAAE,2CAA2C,EAClD,IAAI,EAAE,iBAAiB,CAAC,OAAO,GAC9B,CACG,CACN,CAAC,CAAC,CAAC,CACH,oBAAC,mBAAmB,IACnB,IAAI,EAAE,SAAS,EACf,KAAK,EAAE,2CAA2C,EAClD,SAAS,EAAE,iBAAiB,EAC5B,gBAAgB,EAAE,cAAc,GAC/B,CACF,CAAC,CACD,CACH,CAAC,CAAC,CAAC,CACH,oBAAC,mBAAmB,IACnB,gBAAgB,EAAE,gBAAgB,EAClC,KAAK,EAAC,oCAAoC,GACzC,CACF,CACI,CACN,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/checkout/CheckoutTemplate/index.js"],"names":[],"mappings":";AAkBA;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/checkout/CheckoutTemplate/index.js"],"names":[],"mappings":";AAkBA;;sBAgIC;kBAlJ+D,OAAO"}
|
|
@@ -3,7 +3,7 @@ import { Page } from '@weareconceptstudio/core';
|
|
|
3
3
|
import { Sequence, TotalCheckout } from '../../../components';
|
|
4
4
|
import { useAddressContext } from '../../address';
|
|
5
5
|
import { useAccountContext } from '../../../AccountProvider';
|
|
6
|
-
import { useCart } from '
|
|
6
|
+
import { useCart } from '@weareconceptstudio/cart';
|
|
7
7
|
import StepReview from './StepReview';
|
|
8
8
|
import StepShipping from './StepShipping';
|
|
9
9
|
import AccountContainer from '../../../components/AccountContainer';
|
|
@@ -15,16 +15,52 @@ import SequenceSkeleton from '../../../components/Sequence/Skeleton';
|
|
|
15
15
|
import SkeletonAddressSelect from '../../address/SelectAddress/Skeleton';
|
|
16
16
|
const CheckoutTemplate = ({ moreMenu }) => {
|
|
17
17
|
const firstStepFormRef = useRef(null);
|
|
18
|
+
const shippingFormRef = useRef(null);
|
|
19
|
+
const billingFormRef = useRef(null);
|
|
20
|
+
const [useSameAddress, setUseSameAddress] = useState(false);
|
|
18
21
|
const { useUser } = useAccountContext();
|
|
19
|
-
const { hasCheckoutAddress, addressLoading } = useAddressContext();
|
|
20
|
-
const { itemsCount, loading, handleCheckout } = useCart();
|
|
22
|
+
const { hasCheckoutAddress, addressLoading, hasAddressType, createAddress } = useAddressContext();
|
|
23
|
+
const { itemsCount, loading, handleCheckout, getCart, mergeCart, isLoggedIn } = useCart();
|
|
21
24
|
const { user } = useUser();
|
|
25
|
+
// Fetch cart when component mounts (like old version)
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
getCart();
|
|
28
|
+
if (isLoggedIn) {
|
|
29
|
+
mergeCart();
|
|
30
|
+
}
|
|
31
|
+
}, []);
|
|
22
32
|
const checkStep = {
|
|
23
33
|
isShipping: !hasCheckoutAddress,
|
|
24
34
|
isReview: hasCheckoutAddress,
|
|
25
35
|
};
|
|
26
36
|
const handleCheckoutFirstStep = () => {
|
|
27
|
-
|
|
37
|
+
if (hasAddressType) {
|
|
38
|
+
//! Dual address mode: submit both forms or copy shipping to billing if checkbox is checked
|
|
39
|
+
if (useSameAddress) {
|
|
40
|
+
//! User wants same address for shipping and billing
|
|
41
|
+
const shippingPromise = shippingFormRef.current?.submit();
|
|
42
|
+
//! After shipping address is created, copy it to billing
|
|
43
|
+
return shippingPromise?.then((shippingData) => {
|
|
44
|
+
//! Get the form values from shipping form
|
|
45
|
+
const shippingValues = shippingFormRef.current?.getValues();
|
|
46
|
+
if (shippingValues) {
|
|
47
|
+
//! Create billing address with the same data
|
|
48
|
+
return createAddress({ data: shippingValues, type: 'billing' });
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
//! Submit both forms separately
|
|
54
|
+
const shippingPromise = shippingFormRef.current?.submit();
|
|
55
|
+
const billingPromise = billingFormRef.current?.submit();
|
|
56
|
+
//! Wait for both forms to complete
|
|
57
|
+
return Promise.all([shippingPromise, billingPromise].filter(Boolean));
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
//! Single address mode: submit single form
|
|
62
|
+
return firstStepFormRef.current?.submit();
|
|
63
|
+
}
|
|
28
64
|
};
|
|
29
65
|
const [loadingProcessToPayment, setLoadingProcessToPayment] = useState(false);
|
|
30
66
|
const handleCheckoutBtn = useCallback(() => {
|
|
@@ -58,7 +94,7 @@ const CheckoutTemplate = ({ moreMenu }) => {
|
|
|
58
94
|
loadingButton: loadingProcessToPayment,
|
|
59
95
|
} }, !addressLoading && itemsCount ? (React.createElement(React.Fragment, null,
|
|
60
96
|
React.createElement(Sequence, { step: checkStep.isShipping ? 'shipping' : 'review' }),
|
|
61
|
-
checkStep.isShipping ? (React.createElement(StepShipping, { firstStepFormRef: firstStepFormRef })) : (React.createElement(React.Fragment, null,
|
|
97
|
+
checkStep.isShipping ? (React.createElement(StepShipping, { firstStepFormRef: firstStepFormRef, shippingFormRef: shippingFormRef, billingFormRef: billingFormRef, useSameAddress: useSameAddress, setUseSameAddress: setUseSameAddress })) : (React.createElement(React.Fragment, null,
|
|
62
98
|
React.createElement(StepReview, null),
|
|
63
99
|
moreMenu || null)))) : (React.createElement(React.Fragment, null,
|
|
64
100
|
React.createElement(SequenceSkeleton, { className: 'sequence-checkout-template' }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/checkout/CheckoutTemplate/index.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CA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,3 +1,3 @@
|
|
|
1
1
|
export default CheckoutTemplateStyle;
|
|
2
|
-
declare const CheckoutTemplateStyle: import("styled-components
|
|
2
|
+
declare const CheckoutTemplateStyle: 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/checkout/CheckoutTemplate/style.js"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/checkout/CheckoutTemplate/style.js"],"names":[],"mappings":";AAEA,8OA4GE"}
|
|
@@ -6,7 +6,7 @@ import ThankYouMessageStyle from './style';
|
|
|
6
6
|
import { useAccountContext } from '../../../AccountProvider';
|
|
7
7
|
import { paymentFailedImage } from './icons';
|
|
8
8
|
import AccountContainer from '../../../components/AccountContainer';
|
|
9
|
-
import { useCart } from '
|
|
9
|
+
import { useCart } from '@weareconceptstudio/cart';
|
|
10
10
|
const PaymentFailedTemplate = ({ orderNumber, failedIcon }) => {
|
|
11
11
|
const { shopUrl } = useAccountContext();
|
|
12
12
|
const { translate } = useTranslation();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/checkout/PaymentFailedTemplate/index.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,oBAAoB,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,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AE,sBAAsB;oBACpC,UAAU,IAAI,6BAAK,SAAS,EAAC,oBAAoB,IAAE,kBAAkB,CAAO;oBAE7E,oBAAC,IAAI,IACJ,GAAG,EAAE,IAAI,EACT,SAAS,EAAE,2DAA2D,EACtE,IAAI,EAAE,6CAA6C,GAClD;oBAEF,oBAAC,IAAI,IACJ,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,8EAA8E,EACzF,IAAI,EAAE,4CAA4C,GACjD;oBAED,WAAW,CAAC,CAAC,CAAC,CACd,oBAAC,IAAI,IACJ,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,+EAA+E,IACzF,SAAS,CAAC,sCAAsC,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,WAAW,CACtE,CACP,CAAC,CAAC,CAAC,IAAI;oBAER,oBAAC,aAAa,IACb,IAAI,EAAE,kCAAkC,EACxC,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,OAAO,GACX,CACG,CACY,CACG,CACjB,CACP,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default ThankYouMessageStyle;
|
|
2
|
-
declare const ThankYouMessageStyle: import("styled-components
|
|
2
|
+
declare const ThankYouMessageStyle: 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/checkout/PaymentFailedTemplate/style.js"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/checkout/PaymentFailedTemplate/style.js"],"names":[],"mappings":";AAEA,mPA6IE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.js","sourceRoot":"","sources":["../../../../src/modules/checkout/PaymentFailedTemplate/style.js"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCA8CD,CAAC,KAAK,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"style.js","sourceRoot":"","sources":["../../../../src/modules/checkout/PaymentFailedTemplate/style.js"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCA8CD,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACtF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB;;;;;;;;;;;;sCAYhB,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACrF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB;;;;;;;;;;;;sCAYhB,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACrF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB;;;;;;;;;;;;sCAYhB,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACrF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,qBAAqB;;;;;;;;;;;;sCAYjB,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACtF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB;;;;;;;;;;;;sCAYd,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,qBAAqB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACnF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB;;;;;;;;;;;;sCAYf,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,sBAAsB;;;;;;;;;;;CAWrG,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -6,7 +6,7 @@ import ThankYouMessageStyle from './style';
|
|
|
6
6
|
import { useAccountContext } from '../../../AccountProvider';
|
|
7
7
|
import { confirmImage } from './icons';
|
|
8
8
|
import AccountContainer from '../../../components/AccountContainer';
|
|
9
|
-
import { useCart } from '
|
|
9
|
+
import { useCart } from '@weareconceptstudio/cart';
|
|
10
10
|
const ThankYouTemplate = ({ orderNumber, thankIcon }) => {
|
|
11
11
|
const { shopUrl } = useAccountContext();
|
|
12
12
|
const { translate } = useTranslation();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/checkout/ThankYouTemplate/index.js"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,QA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SAAS,EAAE,gBAAgB;gBAC5C,oBAAC,QAAQ,IAAC,IAAI,EAAE,WAAW,GAAI;gBAE/B,6BAAK,SAAS,EAAE,sBAAsB;oBACpC,SAAS,IAAI,6BAAK,SAAS,EAAC,oBAAoB,IAAE,YAAY,CAAO;oBAEtE,oBAAC,IAAI,IACJ,GAAG,EAAE,IAAI,EACT,SAAS,EAAE,2DAA2D,EACtE,IAAI,EAAE,8CAA8C,GACnD;oBAEF,oBAAC,IAAI,IACJ,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,8EAA8E,EACzF,IAAI,EAAE,6CAA6C,GAClD;oBAED,WAAW,CAAC,CAAC,CAAC,CACd,oBAAC,IAAI,IACJ,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,+EAA+E,IACzF,SAAS,CAAC,sCAAsC,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,WAAW,CACtE,CACP,CAAC,CAAC,CAAC,IAAI;oBAER,oBAAC,aAAa,IACb,IAAI,EAAE,0CAA0C,EAChD,OAAO,EAAE,aAAa,EACtB,GAAG,EAAE,OAAO,GACX,CACG,CACY,CACG,CACjB,CACP,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default ThankYouMessageStyle;
|
|
2
|
-
declare const ThankYouMessageStyle: import("styled-components
|
|
2
|
+
declare const ThankYouMessageStyle: 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/checkout/ThankYouTemplate/style.js"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/checkout/ThankYouTemplate/style.js"],"names":[],"mappings":";AAEA,mPA6IE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.js","sourceRoot":"","sources":["../../../../src/modules/checkout/ThankYouTemplate/style.js"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCA8CD,CAAC,KAAK,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"style.js","sourceRoot":"","sources":["../../../../src/modules/checkout/ThankYouTemplate/style.js"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCA8CD,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACtF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB;;;;;;;;;;;;sCAYhB,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACrF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB;;;;;;;;;;;;sCAYhB,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACrF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB;;;;;;;;;;;;sCAYhB,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACrF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,qBAAqB;;;;;;;;;;;;sCAYjB,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACtF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB;;;;;;;;;;;;sCAYd,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,qBAAqB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACnF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB;;;;;;;;;;;;sCAYf,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,sBAAsB;;;;;;;;;;;CAWrG,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
package/dist/modules/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from "./account";
|
|
2
2
|
export * from "./address";
|
|
3
3
|
export * from "./auth";
|
|
4
|
-
export * from "./cart";
|
|
5
4
|
export * from "./checkout";
|
|
6
5
|
export * from "./order";
|
|
7
6
|
export * from "./payment";
|
|
7
|
+
export { EmptyCart, CartItems, CartTemplate } from "./cart";
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/modules/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export * from './account';
|
|
2
2
|
export * from './address';
|
|
3
3
|
export * from './auth';
|
|
4
|
-
|
|
4
|
+
// Cart UI components only (logic is in @weareconceptstudio/cart)
|
|
5
|
+
export { EmptyCart, CartItems, CartTemplate } from './cart';
|
|
5
6
|
export * from './checkout';
|
|
6
7
|
export * from './order';
|
|
7
8
|
export * from './payment';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.js"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.js"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,iEAAiE;AACjE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC5D,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default EmptyOrdersStyle;
|
|
2
|
-
declare const EmptyOrdersStyle: import("styled-components
|
|
2
|
+
declare const EmptyOrdersStyle: 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/EmptyOrders/style.js"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/EmptyOrders/style.js"],"names":[],"mappings":";AAEA,yOAuDE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.js","sourceRoot":"","sources":["../../../../src/modules/order/EmptyOrders/style.js"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,CAAA;;;;;;;;;sCASD,CAAC,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C,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,qBAAqB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACnF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB;;;;;sCAKf,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,sBAAsB;;;;CAIrG,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderDetails/index.js"],"names":[],"mappings":";AAMA,+
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderDetails/index.js"],"names":[],"mappings":";AAMA,+DAmJE;kBAzJ0B,OAAO"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { memo } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Text, useTranslation } from '@weareconceptstudio/core';
|
|
3
3
|
import { useAccountContext } from '../../../AccountProvider';
|
|
4
4
|
import OrderStatus from '../OrderStatus';
|
|
5
5
|
import OrderDetailsStyle from './style';
|
|
6
|
-
const OrderDetails = memo(({ className, status, date, orderNumber, itemsCount,
|
|
6
|
+
const OrderDetails = memo(({ className, status, date, orderNumber, itemsCount, formatted_subtotal, formatted_total, shippingCost, formatted_shippingCost, usedBalance, formatted_usedBalance, discounts = [], }) => {
|
|
7
7
|
const { translate } = useTranslation();
|
|
8
|
-
const {
|
|
8
|
+
const { order } = useAccountContext();
|
|
9
9
|
return (React.createElement(OrderDetailsStyle, { className: `${className || ''}` },
|
|
10
10
|
React.createElement(Text, { className: `account-p account-p1 account-font-bold account-primary-color1`, text: 'account.order_management.orderDetails' }),
|
|
11
11
|
React.createElement("div", { className: `info-space-line` }),
|
|
@@ -23,18 +23,18 @@ const OrderDetails = memo(({ className, status, date, orderNumber, itemsCount, t
|
|
|
23
23
|
React.createElement(Text, { className: `account-p account-p3 account-font-bold account-primary-color1` },
|
|
24
24
|
translate('account.order_management.orderNumber'),
|
|
25
25
|
":"),
|
|
26
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1 value`, text: orderNumber })),
|
|
26
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1 value`, text: `ID ${orderNumber}` })),
|
|
27
27
|
React.createElement("div", { className: `order-detail-item-wrap` },
|
|
28
28
|
React.createElement(Text, { className: `account-p account-p3 account-font-bold account-primary-color1` },
|
|
29
29
|
translate('account.order_management.totalItems'),
|
|
30
30
|
":"),
|
|
31
31
|
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1 value`, text: itemsCount })),
|
|
32
|
-
React.createElement("div", { className: `order-detail-item-wrap` },
|
|
32
|
+
order?.hasSubtotal ? (React.createElement("div", { className: `order-detail-item-wrap` },
|
|
33
33
|
React.createElement(Text, { className: `account-p account-p3 account-font-bold account-primary-color1` },
|
|
34
34
|
translate('account.cart_checkout.subtotal'),
|
|
35
35
|
":"),
|
|
36
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1 value` },
|
|
37
|
-
discounts?.length > 0
|
|
36
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1 value` }, formatted_subtotal))) : null,
|
|
37
|
+
order?.hasDiscounts ? (React.createElement(React.Fragment, null, discounts?.length > 0
|
|
38
38
|
? discounts.map((item, index) => {
|
|
39
39
|
if (item.discount != 0) {
|
|
40
40
|
return (React.createElement("div", { key: index, className: `order-detail-item-wrap` },
|
|
@@ -45,27 +45,27 @@ const OrderDetails = memo(({ className, status, date, orderNumber, itemsCount, t
|
|
|
45
45
|
"):"),
|
|
46
46
|
React.createElement(Text, { className: `account-p account-p3 account-font-regular value discount-color` },
|
|
47
47
|
"-",
|
|
48
|
-
|
|
48
|
+
item.formatted_discount)));
|
|
49
49
|
}
|
|
50
50
|
})
|
|
51
|
-
: null,
|
|
52
|
-
usedBalance ? (React.createElement("div", { className: `order-detail-item-wrap` },
|
|
51
|
+
: null)) : null,
|
|
52
|
+
order?.hasUsedBalance ? (React.createElement(React.Fragment, null, usedBalance ? (React.createElement("div", { className: `order-detail-item-wrap` },
|
|
53
53
|
React.createElement(Text, { className: `account-p account-p3 account-font-bold balance-color` },
|
|
54
54
|
translate('account.balance_promotions.usedBalance'),
|
|
55
55
|
":"),
|
|
56
56
|
React.createElement(Text, { className: `account-p account-p3 account-font-regular balance-color value` },
|
|
57
57
|
"-",
|
|
58
|
-
|
|
59
|
-
shippingCost ? (React.createElement("div", { className: `order-detail-item-wrap` },
|
|
58
|
+
formatted_usedBalance))) : null)) : null,
|
|
59
|
+
order?.hasShippingCost ? (React.createElement(React.Fragment, null, shippingCost ? (React.createElement("div", { className: `order-detail-item-wrap` },
|
|
60
60
|
React.createElement(Text, { className: `account-p account-p3 account-font-bold account-primary-color1` },
|
|
61
61
|
translate('account.order_balance.shippingCost'),
|
|
62
62
|
":"),
|
|
63
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1 value`, text: `${shippingCost == 0 ? 'account.order_balance.free' :
|
|
63
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1 value`, text: `${shippingCost == 0 ? 'account.order_balance.free' : formatted_shippingCost}` }))) : null)) : null,
|
|
64
64
|
React.createElement("div", { className: `order-detail-item-wrap` },
|
|
65
65
|
React.createElement(Text, { className: `account-p account-p3 account-font-bold account-primary-color1` },
|
|
66
66
|
translate('account.order_management.totalPrice'),
|
|
67
67
|
":"),
|
|
68
|
-
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1 value` },
|
|
68
|
+
React.createElement(Text, { className: `account-p account-p3 account-font-regular account-primary-color1 value` }, formatted_total))));
|
|
69
69
|
});
|
|
70
70
|
export default OrderDetails;
|
|
71
71
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/order/OrderDetails/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/OrderDetails/index.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,iBAAiB,MAAM,SAAS,CAAC;AAExC,MAAM,YAAY,GAAG,IAAI,CACxB,CAAC,EACA,SAAS,EACT,MAAM,EACN,IAAI,EACJ,WAAW,EACX,UAAU,EAEV,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,sBAAsB,EACtB,WAAW,EACX,qBAAqB,EACrB,SAAS,GAAG,EAAE,GACd,EAAE,EAAE;IACJ,MAAM,EAAE,SAAS,EAAE,GAAG,cAAc,EAAE,CAAC;IACvC,MAAM,EAAE,KAAK,EAAE,GAAG,iBAAiB,EAAE,CAAC;IAEtC,OAAO,CACN,oBAAC,iBAAiB,IAAC,SAAS,EAAE,GAAG,SAAS,IAAI,EAAE,EAAE;QACjD,oBAAC,IAAI,IACJ,SAAS,EAAE,+DAA+D,EAC1E,IAAI,EAAE,uCAAuC,GAC5C;QAEF,6BAAK,SAAS,EAAE,iBAAiB,GAAI;QAErC,6BAAK,SAAS,EAAE,wBAAwB;YACvC,oBAAC,IAAI,IAAC,SAAS,EAAE,+DAA+D;gBAC9E,SAAS,CAAC,sCAAsC,CAAC;oBAC5C;YACP,oBAAC,WAAW,IACX,MAAM,EAAE,MAAM,EACd,SAAS,EAAC,OAAO,GAChB,CACG;QAEN,6BAAK,SAAS,EAAE,wBAAwB;YACvC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
|
export default OrderDetailsStyle;
|
|
2
|
-
declare const OrderDetailsStyle: import("styled-components
|
|
2
|
+
declare const OrderDetailsStyle: 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/OrderDetails/style.js"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderDetails/style.js"],"names":[],"mappings":";AAEA,0OA2GE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.js","sourceRoot":"","sources":["../../../../src/modules/order/OrderDetails/style.js"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCAwCF,CAAC,KAAK,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"style.js","sourceRoot":"","sources":["../../../../src/modules/order/OrderDetails/style.js"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCAwCF,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACtF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB;;;;;;;;sCAQhB,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACrF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB;;;;;;;;sCAQhB,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACrF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB;;;;;;;;sCAQhB,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACrF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,qBAAqB;;;;;;;;sCAQjB,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,wBAAwB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACtF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB;;;;;;;;sCAQd,CAAC,KAAK,EAAE,EAAE,CAC7C,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,qBAAqB,qBAAqB,CAAC,KAAK,EAAE,EAAE,CACnF,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB;;;;;;;;sCAQf,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,sBAAsB;;;;;;;CAOrG,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default OrderHistoryTemplateStyle;
|
|
2
|
-
declare const OrderHistoryTemplateStyle: import("styled-components
|
|
2
|
+
declare const OrderHistoryTemplateStyle: 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/OrderHistoryTemplate/style.js"],"names":[],"mappings":";AAEA
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderHistoryTemplate/style.js"],"names":[],"mappings":";AAEA,kPAAmD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderIndividualTemplate/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderIndividualTemplate/index.js"],"names":[],"mappings":";AAeA;;sBAsDC;kBArEgC,OAAO"}
|
|
@@ -6,10 +6,12 @@ import OrderedItems from '../OrderedItems';
|
|
|
6
6
|
import OrderRateReview from '../OrderRateReview';
|
|
7
7
|
import { ShippingBillingInfo } from '../../address';
|
|
8
8
|
import { AccountButton } from '../../../components';
|
|
9
|
+
import { useOrderStore } from '../../../stores/orderStore';
|
|
10
|
+
import { useAccountContext } from '../../../AccountProvider';
|
|
9
11
|
//* Styles
|
|
10
12
|
import OrderIndividualTemplateStyle from './style';
|
|
11
|
-
import { useOrderStore } from '../../../stores/orderStore';
|
|
12
13
|
const OrderIndividualTemplate = ({ uniqueKey }) => {
|
|
14
|
+
const { order: configOrder } = useAccountContext();
|
|
13
15
|
const { order, orderLoading, getOrder } = useOrderStore();
|
|
14
16
|
useEffect(() => {
|
|
15
17
|
if (uniqueKey) {
|
|
@@ -21,8 +23,8 @@ const OrderIndividualTemplate = ({ uniqueKey }) => {
|
|
|
21
23
|
React.createElement(AccountButton, { btnType: `green-large-text`, url: '/account/order-history/', className: `back-to-list-btn-block`, text: `account.general_actions.backToList` }),
|
|
22
24
|
React.createElement("div", { className: `details-shipping-billing-wrap` },
|
|
23
25
|
React.createElement(OrderDetails, { className: `col-50`, ...order }),
|
|
24
|
-
React.createElement(ShippingBillingInfo, { className: `col-50`,
|
|
25
|
-
order.review ? (React.createElement(OrderReview, { review: order.review })) : order.canReview ? (React.createElement(OrderRateReview, { orderId: order.id, orderNumber: order.orderNumber })) : null,
|
|
26
|
+
React.createElement(ShippingBillingInfo, { className: `col-50`, shipping_address: order?.shippingAddress, billing_address: order?.billingAddress })),
|
|
27
|
+
configOrder?.hasReview ? (React.createElement(React.Fragment, null, order.review ? (React.createElement(OrderReview, { review: order.review })) : order.canReview ? (React.createElement(OrderRateReview, { orderId: order.id, orderNumber: order.orderNumber })) : null)) : null,
|
|
26
28
|
React.createElement(OrderedItems, { dataId: order.id, data: order.items, status: order.status })))) : null;
|
|
27
29
|
};
|
|
28
30
|
export default OrderIndividualTemplate;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/order/OrderIndividualTemplate/index.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,cAAc;AACd,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,YAAY,MAAM,iBAAiB,CAAC;AAC3C,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/order/OrderIndividualTemplate/index.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,cAAc;AACd,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,YAAY,MAAM,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,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CACf,oBAAC,WAAW,IAAC,MAAM,EAAE,KAAK,CAAC,MAAM,GAAI,CACrC,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CACrB,oBAAC,eAAe,IACf,OAAO,EAAE,KAAK,CAAC,EAAE,EACjB,WAAW,EAAE,KAAK,CAAC,WAAW,GAC7B,CACF,CAAC,CAAC,CAAC,IAAI,CACN,CACH,CAAC,CAAC,CAAC,IAAI;YAER,oBAAC,YAAY,IACZ,MAAM,EAAE,KAAK,CAAC,EAAE,EAChB,IAAI,EAAE,KAAK,CAAC,KAAK,EACjB,MAAM,EAAE,KAAK,CAAC,MAAM,GACnB,CACG,CACwB,CAC/B,CAAC,CAAC,CAAC,IAAI,CAAC;AACV,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default OrderIndividualTemplateStyle;
|
|
2
|
-
declare const OrderIndividualTemplateStyle: import("styled-components
|
|
2
|
+
declare const OrderIndividualTemplateStyle: 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/OrderIndividualTemplate/style.js"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderIndividualTemplate/style.js"],"names":[],"mappings":";AAEA,qPAAsD"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default OrderRatePopupStyle;
|
|
2
|
-
declare const OrderRatePopupStyle: import("styled-components
|
|
2
|
+
declare const OrderRatePopupStyle: 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/OrderRatePopup/style.js"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderRatePopup/style.js"],"names":[],"mappings":";AAEA,4OAkKE"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default OrderRateReviewStyle;
|
|
2
|
-
declare const OrderRateReviewStyle: import("styled-components
|
|
2
|
+
declare const OrderRateReviewStyle: 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/OrderRateReview/style.js"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderRateReview/style.js"],"names":[],"mappings":";AAEA,6OA4LE"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default OrderReviewStyle;
|
|
2
|
-
declare const OrderReviewStyle: import("styled-components
|
|
2
|
+
declare const OrderReviewStyle: 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/OrderReview/style.js"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/modules/order/OrderReview/style.js"],"names":[],"mappings":";AAEA,yOA2VE"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default OrderReviewPopupStyle;
|
|
2
|
-
declare const OrderReviewPopupStyle: import("styled-components
|
|
2
|
+
declare const OrderReviewPopupStyle: 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
|