@zonos/elements 1.3.283 → 1.3.284
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/cjs/{cart-a1c00090.js → cart-94908542.js} +4 -4
- package/dist/cjs/{collect-e61eafca.js → collect-0c05e2b4.js} +3 -3
- package/dist/cjs/{debounce-9a712c79.js → debounce-7ca3c878.js} +1 -1
- package/dist/cjs/{getBorderRadius-4da24d7c.js → getBorderRadius-97fd5e02.js} +1 -1
- package/dist/cjs/{getContrastColor-2fb235b8.js → getContrastColor-956dfaf7.js} +2 -2
- package/dist/cjs/{getMissingRequiredShippingFields-a6c4f625.js → getMissingRequiredShippingFields-124b3f20.js} +1 -1
- package/dist/cjs/{hasInclusivePrice-e7b57e02.js → hasInclusivePrice-d0cd2007.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{invoice-ead45797.js → invoice-205fb5bc.js} +3 -3
- package/dist/cjs/{isContrastColor-ef24b7aa.js → isContrastColor-30f84a91.js} +1 -1
- package/dist/cjs/{isDarkColor-ebc74b4d.js → isDarkColor-a6e6fd5e.js} +1 -1
- package/dist/cjs/{localization-783849c8.js → localization-fb2ece37.js} +61 -2
- package/dist/cjs/{paypal-e1548f40.js → paypal-45ca5301.js} +5 -5
- package/dist/cjs/{placeTestOrder-d99b1fe2.js → placeTestOrder-302b6862.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-c942fcba.js → renderCheckoutCurrency-1b0cd5f2.js} +2 -2
- package/dist/cjs/shouldShowLanguageSelect-82985128.js +13 -0
- package/dist/cjs/{submitGtag-74762255.js → submitGtag-8a25f001.js} +1 -1
- package/dist/cjs/{throttle-34f7abf1.js → throttle-366c204b.js} +2 -2
- package/dist/cjs/{updateCheckoutSessionAttributes-f595319d.js → updateCheckoutSessionAttributes-de7b1466.js} +1 -1
- package/dist/cjs/zonos-address-completion-dialog_7.cjs.entry.js +17 -17
- package/dist/cjs/zonos-address-display_2.cjs.entry.js +6 -6
- package/dist/cjs/zonos-address_4.cjs.entry.js +13 -13
- package/dist/cjs/zonos-airwallex-payment.cjs.entry.js +6 -6
- package/dist/cjs/zonos-badge.cjs.entry.js +4 -4
- package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
- package/dist/cjs/zonos-button_3.cjs.entry.js +6 -6
- package/dist/cjs/zonos-card_5.cjs.entry.js +14 -14
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +29 -26
- package/dist/cjs/zonos-checkbox_2.cjs.entry.js +8 -8
- package/dist/cjs/zonos-checkout.cjs.entry.js +10 -10
- package/dist/cjs/zonos-collapse.cjs.entry.js +3 -3
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +9 -9
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +28 -26
- package/dist/cjs/zonos-collect.cjs.entry.js +10 -11
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +7 -7
- package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +16 -14
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +7 -7
- package/dist/cjs/zonos-hello.cjs.entry.js +3 -3
- package/dist/cjs/zonos-input.cjs.entry.js +6 -6
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +11 -11
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +23 -21
- package/dist/cjs/zonos-invoice.cjs.entry.js +10 -11
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -7
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +3 -3
- package/dist/cjs/zonos-policy-consent_2.cjs.entry.js +6 -6
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +7 -7
- package/dist/cjs/zonos-text.cjs.entry.js +1 -1
- package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +3 -3
- package/dist/cjs/{zonosStore-fee716c9.js → zonosStore-0af0b937.js} +3 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +8 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +2 -2
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-cart-items/zonos-collect-cart-items.js +1 -1
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +2 -2
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +7 -4
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.js +3 -3
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-subtotal/zonos-collect-subtotal.js +5 -5
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-cart-items/zonos-invoice-cart-items.js +2 -2
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-finish/zonos-invoice-finish.js +2 -2
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-footer/zonos-invoice-footer.js +7 -4
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-review/zonos-invoice-review.js +3 -3
- package/dist/collection/components/checkout/zonos-invoice/zonos-invoice-subtotal/zonos-invoice-subtotal.js +2 -2
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.js +3 -3
- package/dist/collection/components/common/zonos-card/zonos-card.js +4 -4
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +3 -3
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +3 -3
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +3 -3
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +3 -3
- package/dist/collection/components/common/zonos-h-stack/zonos-h-stack.js +2 -2
- package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +3 -3
- package/dist/collection/components/common/zonos-link/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +1 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +3 -3
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-skeleton/zonos-skeleton.js +1 -1
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +4 -4
- package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +5 -5
- package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
- package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +6 -3
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +5 -5
- package/dist/collection/components/main/zonos-controller.js +1 -1
- package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
- package/dist/collection/components/store/hello/localization.js +20 -1
- package/dist/collection/components/store/zonosStore.js +3 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
- package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +2 -2
- package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +2 -2
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/getSupportedLanguages.js +17 -0
- package/dist/collection/components/utils/shouldShowLanguageSelect.js +8 -0
- package/dist/collection/types/generated/graphql.frontend.types.js +4 -0
- package/dist/collection/types/generated/graphql.internal.types.js +302 -15
- package/dist/esm/{cart-93c36159.js → cart-2e407f7b.js} +4 -4
- package/dist/esm/{collect-42d4757a.js → collect-19428e18.js} +3 -3
- package/dist/esm/{debounce-c8d67b17.js → debounce-84ade9c2.js} +1 -1
- package/dist/esm/{getBorderRadius-dc982fe6.js → getBorderRadius-1f7be586.js} +1 -1
- package/dist/esm/{getContrastColor-af895b60.js → getContrastColor-4c0ae8c1.js} +2 -2
- package/dist/esm/{getMissingRequiredShippingFields-ebdccdcf.js → getMissingRequiredShippingFields-719b206f.js} +1 -1
- package/dist/esm/{hasInclusivePrice-4c12548f.js → hasInclusivePrice-d801be22.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{invoice-71471339.js → invoice-67a47785.js} +3 -3
- package/dist/esm/{isContrastColor-089de6ac.js → isContrastColor-9fa0d013.js} +1 -1
- package/dist/esm/{isDarkColor-039ef212.js → isDarkColor-939d8e9c.js} +1 -1
- package/dist/esm/{localization-754e7e8b.js → localization-36a4dc22.js} +60 -3
- package/dist/esm/{paypal-b1410e02.js → paypal-6dca6567.js} +5 -5
- package/dist/esm/{placeTestOrder-4267cafd.js → placeTestOrder-9563c89a.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-9a81e41c.js → renderCheckoutCurrency-282384f0.js} +2 -2
- package/dist/esm/shouldShowLanguageSelect-328f50e2.js +11 -0
- package/dist/esm/{submitGtag-dc54f5b9.js → submitGtag-71c450b6.js} +1 -1
- package/dist/esm/{throttle-44bfb6b5.js → throttle-c4c24e86.js} +2 -2
- package/dist/esm/{updateCheckoutSessionAttributes-e0a282d9.js → updateCheckoutSessionAttributes-23b222de.js} +1 -1
- package/dist/esm/zonos-address-completion-dialog_7.entry.js +17 -17
- package/dist/esm/zonos-address-display_2.entry.js +6 -6
- package/dist/esm/zonos-address_4.entry.js +13 -13
- package/dist/esm/zonos-airwallex-payment.entry.js +6 -6
- package/dist/esm/zonos-badge.entry.js +4 -4
- package/dist/esm/zonos-banner.entry.js +1 -1
- package/dist/esm/zonos-button_3.entry.js +6 -6
- package/dist/esm/zonos-card_5.entry.js +14 -14
- package/dist/esm/zonos-cart-items_12.entry.js +28 -25
- package/dist/esm/zonos-checkbox_2.entry.js +8 -8
- package/dist/esm/zonos-checkout.entry.js +10 -10
- package/dist/esm/zonos-collapse.entry.js +3 -3
- package/dist/esm/zonos-collect-cart-items_3.entry.js +9 -9
- package/dist/esm/zonos-collect-finish_6.entry.js +27 -25
- package/dist/esm/zonos-collect.entry.js +9 -10
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +7 -7
- package/dist/esm/zonos-country-flag.entry.js +2 -2
- package/dist/esm/zonos-country-select_4.entry.js +15 -13
- package/dist/esm/zonos-hello-dialog.entry.js +7 -7
- package/dist/esm/zonos-hello.entry.js +3 -3
- package/dist/esm/zonos-input.entry.js +6 -6
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +11 -11
- package/dist/esm/zonos-invoice-finish_5.entry.js +22 -20
- package/dist/esm/zonos-invoice.entry.js +9 -10
- package/dist/esm/zonos-language-select_2.entry.js +6 -7
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +3 -3
- package/dist/esm/zonos-policy-consent_2.entry.js +6 -6
- package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
- package/dist/esm/zonos-stripe-input.entry.js +7 -7
- package/dist/esm/zonos-text.entry.js +1 -1
- package/dist/esm/zonos-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +3 -3
- package/dist/esm/{zonosStore-b7d3f9b0.js → zonosStore-eca1e364.js} +3 -0
- package/dist/esm-es5/{cart-93c36159.js → cart-2e407f7b.js} +1 -1
- package/dist/esm-es5/{collect-42d4757a.js → collect-19428e18.js} +1 -1
- package/dist/esm-es5/{debounce-c8d67b17.js → debounce-84ade9c2.js} +1 -1
- package/dist/esm-es5/{getBorderRadius-dc982fe6.js → getBorderRadius-1f7be586.js} +1 -1
- package/dist/esm-es5/{getContrastColor-af895b60.js → getContrastColor-4c0ae8c1.js} +1 -1
- package/dist/esm-es5/{getMissingRequiredShippingFields-ebdccdcf.js → getMissingRequiredShippingFields-719b206f.js} +1 -1
- package/dist/esm-es5/{hasInclusivePrice-4c12548f.js → hasInclusivePrice-d801be22.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{invoice-71471339.js → invoice-67a47785.js} +1 -1
- package/dist/esm-es5/{isContrastColor-089de6ac.js → isContrastColor-9fa0d013.js} +1 -1
- package/dist/esm-es5/{isDarkColor-039ef212.js → isDarkColor-939d8e9c.js} +1 -1
- package/dist/esm-es5/{localization-754e7e8b.js → localization-36a4dc22.js} +1 -1
- package/dist/esm-es5/{paypal-b1410e02.js → paypal-6dca6567.js} +1 -1
- package/dist/esm-es5/{placeTestOrder-4267cafd.js → placeTestOrder-9563c89a.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-9a81e41c.js → renderCheckoutCurrency-282384f0.js} +1 -1
- package/dist/esm-es5/shouldShowLanguageSelect-328f50e2.js +1 -0
- package/dist/esm-es5/{submitGtag-dc54f5b9.js → submitGtag-71c450b6.js} +1 -1
- package/dist/esm-es5/throttle-c4c24e86.js +1 -0
- package/dist/esm-es5/{updateCheckoutSessionAttributes-e0a282d9.js → updateCheckoutSessionAttributes-23b222de.js} +1 -1
- package/dist/esm-es5/zonos-address-completion-dialog_7.entry.js +1 -1
- package/dist/esm-es5/zonos-address-display_2.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-airwallex-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card_5.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
- package/dist/esm-es5/zonos-collect.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-policy-consent_2.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-b7d3f9b0.js → zonosStore-eca1e364.js} +1 -1
- package/dist/scripts/index.d.ts +54 -34
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/store/hello/localization.d.ts +1 -1
- package/dist/types/components/store/zonosStore.d.ts +7 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components/utils/getSupportedLanguages.d.ts +167 -0
- package/dist/types/components/utils/shouldShowLanguageSelect.d.ts +7 -0
- package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +25 -24
- package/dist/types/types/generated/graphql.frontend.types.d.ts +9 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +6 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +463 -107
- package/dist/types/types/generated/graphql.internal.types.ts +601 -102
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-b93013f7.system.entry.js → p-083a11cd.system.entry.js} +1 -1
- package/dist/zonos-elements/p-0b29169b.js +1 -0
- package/dist/zonos-elements/{p-62609f19.entry.js → p-0c972ddf.entry.js} +1 -1
- package/dist/zonos-elements/{p-f9f3155b.js → p-0c9fec73.js} +1 -1
- package/dist/zonos-elements/{p-f1dbeb85.system.entry.js → p-0e199a6c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-76cdf517.js → p-0ff845ec.js} +1 -1
- package/dist/zonos-elements/p-1277abac.system.entry.js +1 -0
- package/dist/zonos-elements/p-14afffa8.system.js +1 -0
- package/dist/zonos-elements/{p-944282af.entry.js → p-171a7e1e.entry.js} +1 -1
- package/dist/zonos-elements/{p-f1aea919.js → p-1834f486.js} +1 -1
- package/dist/zonos-elements/p-1ac0c631.system.js +1 -0
- package/dist/zonos-elements/{p-fa80a973.entry.js → p-1be53c82.entry.js} +1 -1
- package/dist/zonos-elements/p-1cdd27ec.js +1 -0
- package/dist/zonos-elements/{p-c634546a.system.entry.js → p-1f8648c8.system.entry.js} +1 -1
- package/dist/zonos-elements/p-22e10b7d.entry.js +1 -0
- package/dist/zonos-elements/p-260ad739.system.entry.js +1 -0
- package/dist/zonos-elements/{p-9a417eeb.js → p-27660512.js} +1 -1
- package/dist/zonos-elements/{p-b567448d.system.js → p-2989da12.system.js} +1 -1
- package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
- package/dist/zonos-elements/{p-5fceef56.system.js → p-2b8c96e3.system.js} +1 -1
- package/dist/zonos-elements/{p-7bdce9d4.js → p-2bbe9d91.js} +1 -1
- package/dist/zonos-elements/{p-07c21940.entry.js → p-2c2afed4.entry.js} +1 -1
- package/dist/zonos-elements/{p-32b53999.entry.js → p-2c44e013.entry.js} +1 -1
- package/dist/zonos-elements/{p-e0cbc7c7.entry.js → p-2c7a425d.entry.js} +1 -1
- package/dist/zonos-elements/{p-0e1f13ff.system.entry.js → p-2cab1746.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1180a97c.system.entry.js → p-2cdd1b49.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d1e84608.entry.js → p-2ce039e5.entry.js} +1 -1
- package/dist/zonos-elements/{p-26bf0c31.entry.js → p-3490b6d0.entry.js} +1 -1
- package/dist/zonos-elements/{p-72280783.system.js → p-3a13e58c.system.js} +1 -1
- package/dist/zonos-elements/{p-ef2c264c.entry.js → p-4671fde7.entry.js} +1 -1
- package/dist/zonos-elements/{p-e2b8936a.js → p-46cd14e5.js} +1 -1
- package/dist/zonos-elements/{p-0d183f19.system.js → p-4a20893e.system.js} +1 -1
- package/dist/zonos-elements/{p-6325ee77.system.js → p-4b159ff3.system.js} +1 -1
- package/dist/zonos-elements/{p-34d6eb83.js → p-502d6eeb.js} +1 -1
- package/dist/zonos-elements/{p-8fa3a8f8.system.entry.js → p-51e4e61a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-496accce.system.js → p-551fa762.system.js} +1 -1
- package/dist/zonos-elements/p-5a491f28.js +1 -0
- package/dist/zonos-elements/{p-d74eda59.entry.js → p-5b990c91.entry.js} +1 -1
- package/dist/zonos-elements/{p-b7a03b08.entry.js → p-5ebb7ae6.entry.js} +1 -1
- package/dist/zonos-elements/p-60832726.system.js +1 -0
- package/dist/zonos-elements/{p-c515bc23.system.js → p-60a6b71d.system.js} +1 -1
- package/dist/zonos-elements/p-62f6a757.entry.js +1 -0
- package/dist/zonos-elements/p-65c1f51e.entry.js +1 -0
- package/dist/zonos-elements/{p-dab78981.system.js → p-6890e060.system.js} +1 -1
- package/dist/zonos-elements/{p-21f7d57b.entry.js → p-6afd5fab.entry.js} +1 -1
- package/dist/zonos-elements/{p-2837bfd2.js → p-6bdc5c96.js} +1 -1
- package/dist/zonos-elements/{p-e99654c1.system.entry.js → p-6dde1e85.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e3d0d8ff.entry.js → p-6ee4e027.entry.js} +1 -1
- package/dist/zonos-elements/p-7176f582.entry.js +1 -0
- package/dist/zonos-elements/{p-333f6018.system.entry.js → p-76834a0a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f2431e47.entry.js → p-7ada039e.entry.js} +1 -1
- package/dist/zonos-elements/{p-d706852e.system.js → p-7fbbdb0f.system.js} +1 -1
- package/dist/zonos-elements/{p-9ceb3d1c.entry.js → p-8311edc7.entry.js} +1 -1
- package/dist/zonos-elements/p-8a0b8175.system.entry.js +1 -0
- package/dist/zonos-elements/p-8a6c4017.js +1 -0
- package/dist/zonos-elements/p-8b298971.system.entry.js +1 -0
- package/dist/zonos-elements/p-8be02f3a.system.js +1 -0
- package/dist/zonos-elements/{p-6be4c473.entry.js → p-8bfe5b2b.entry.js} +1 -1
- package/dist/zonos-elements/{p-fc45b3a5.entry.js → p-8e6338b9.entry.js} +1 -1
- package/dist/zonos-elements/{p-22f7120a.system.js → p-916228fb.system.js} +1 -1
- package/dist/zonos-elements/{p-4dba0e9b.system.entry.js → p-94722bf6.system.entry.js} +1 -1
- package/dist/zonos-elements/p-947e4402.system.entry.js +1 -0
- package/dist/zonos-elements/p-9639a8ed.entry.js +1 -0
- package/dist/zonos-elements/{p-f2511b86.system.entry.js → p-9ad640b2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-781b3345.system.entry.js → p-9ecb9afc.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5a37683b.system.entry.js → p-a04e2750.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d93f4837.entry.js → p-a07e5011.entry.js} +1 -1
- package/dist/zonos-elements/{p-4a73906a.system.entry.js → p-a9ad74e5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-db65c60b.system.entry.js → p-acb7dee1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3d28353a.js → p-adfbf57b.js} +1 -1
- package/dist/zonos-elements/{p-39399f67.entry.js → p-ae0de3e4.entry.js} +1 -1
- package/dist/zonos-elements/{p-59824ac6.entry.js → p-aecb5d61.entry.js} +1 -1
- package/dist/zonos-elements/{p-33dd7dab.entry.js → p-aed4ffb2.entry.js} +1 -1
- package/dist/zonos-elements/{p-e977562b.system.js → p-af19722c.system.js} +1 -1
- package/dist/zonos-elements/{p-e8bb4f3b.entry.js → p-b1e95f95.entry.js} +1 -1
- package/dist/zonos-elements/{p-59e4e0b6.system.entry.js → p-b4ae66cb.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-55c5977b.entry.js → p-bb09ee50.entry.js} +1 -1
- package/dist/zonos-elements/{p-21489ff1.system.entry.js → p-bcaffb85.system.entry.js} +1 -1
- package/dist/zonos-elements/p-bced320e.entry.js +1 -0
- package/dist/zonos-elements/p-be6cd28c.system.entry.js +1 -0
- package/dist/zonos-elements/p-c1631c9c.js +1 -0
- package/dist/zonos-elements/{p-cb376f03.entry.js → p-c77b049c.entry.js} +1 -1
- package/dist/zonos-elements/{p-6146bfaa.system.entry.js → p-ca87ada5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-69871ab6.entry.js → p-cb49dcfe.entry.js} +1 -1
- package/dist/zonos-elements/p-cb4cb5a3.system.js +1 -0
- package/dist/zonos-elements/{p-aa7589de.system.entry.js → p-d20fe2c2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-76a75da9.system.entry.js → p-d42bd250.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-97f15546.system.entry.js → p-d6a73125.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-19bbf4b3.js → p-dc80cb87.js} +1 -1
- package/dist/zonos-elements/{p-4a5fa892.system.entry.js → p-dd3c00d6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-47a1d469.system.js → p-de58684b.system.js} +1 -1
- package/dist/zonos-elements/{p-1735a69b.js → p-e160b75f.js} +1 -1
- package/dist/zonos-elements/{p-2aebcfa8.system.entry.js → p-e1ef3984.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4b9c7803.entry.js → p-e27b8e18.entry.js} +1 -1
- package/dist/zonos-elements/{p-1cff471a.system.entry.js → p-e2b4c082.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-29ca1415.system.entry.js → p-e32ee011.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5b11bbca.system.entry.js → p-e4b07f7d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a2fe995b.js → p-e5c76a9b.js} +2 -2
- package/dist/zonos-elements/p-e8587f9f.system.entry.js +1 -0
- package/dist/zonos-elements/{p-cd5638b2.system.js → p-eb5f3451.system.js} +1 -1
- package/dist/zonos-elements/p-ebbda085.system.js +1 -0
- package/dist/zonos-elements/{p-daab3824.entry.js → p-f37150e8.entry.js} +1 -1
- package/dist/zonos-elements/p-f4720b0a.js +1 -0
- package/dist/zonos-elements/{p-38881097.js → p-f4acce01.js} +1 -1
- package/dist/zonos-elements/p-f59a0129.system.entry.js +1 -0
- package/dist/zonos-elements/{p-58da55e6.system.entry.js → p-f8356934.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-602de72d.system.js → p-fe5f05fc.system.js} +1 -1
- package/dist/zonos-elements/p-ff4e6811.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +3 -1
- package/dist/cjs/ILanguage-98b04442.js +0 -26
- package/dist/esm/ILanguage-cd6acb72.js +0 -24
- package/dist/esm-es5/ILanguage-cd6acb72.js +0 -1
- package/dist/esm-es5/throttle-44bfb6b5.js +0 -1
- package/dist/zonos-elements/p-007ff76a.entry.js +0 -1
- package/dist/zonos-elements/p-05cb0a0d.system.entry.js +0 -1
- package/dist/zonos-elements/p-065f3f66.system.entry.js +0 -1
- package/dist/zonos-elements/p-1af510ea.system.entry.js +0 -1
- package/dist/zonos-elements/p-30e9a6d7.system.js +0 -1
- package/dist/zonos-elements/p-342b062d.system.entry.js +0 -1
- package/dist/zonos-elements/p-35fd0fdb.js +0 -1
- package/dist/zonos-elements/p-3b479012.js +0 -1
- package/dist/zonos-elements/p-3d902845.entry.js +0 -1
- package/dist/zonos-elements/p-3dcb3794.entry.js +0 -1
- package/dist/zonos-elements/p-5c30d04b.js +0 -1
- package/dist/zonos-elements/p-67251274.system.js +0 -1
- package/dist/zonos-elements/p-73d1a554.entry.js +0 -1
- package/dist/zonos-elements/p-8eaf1316.js +0 -1
- package/dist/zonos-elements/p-97aceb11.js +0 -1
- package/dist/zonos-elements/p-a3c116d6.system.js +0 -1
- package/dist/zonos-elements/p-b0482924.entry.js +0 -1
- package/dist/zonos-elements/p-c43130a7.system.entry.js +0 -1
- package/dist/zonos-elements/p-c8a48cce.entry.js +0 -1
- package/dist/zonos-elements/p-c9e433c0.system.js +0 -1
- package/dist/zonos-elements/p-cc35d5f8.system.entry.js +0 -1
- package/dist/zonos-elements/p-d68425ad.js +0 -1
- package/dist/zonos-elements/p-dcf8ab79.entry.js +0 -1
- package/dist/zonos-elements/p-e2057ab0.system.entry.js +0 -1
- package/dist/zonos-elements/p-e8159288.system.entry.js +0 -1
- package/dist/zonos-elements/p-f29bcf8b.system.js +0 -1
- package/dist/zonos-elements/p-f61c0eef.system.js +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement, d as createEvent } from './index-cfd394c8.js';
|
|
2
|
-
import { f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
5
|
-
import { b as stripeStore, t as trackConversionEvent } from './cart-
|
|
6
|
-
import { s as storageStore } from './localization-
|
|
4
|
+
import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
|
|
5
|
+
import { b as stripeStore, t as trackConversionEvent } from './cart-2e407f7b.js';
|
|
6
|
+
import { s as storageStore } from './localization-36a4dc22.js';
|
|
7
7
|
import { l as logError } from './handleFetch-a844cac1.js';
|
|
8
|
-
import { d as paypalStoreInitButtons, e as paypalStoreOnChange } from './paypal-
|
|
8
|
+
import { d as paypalStoreInitButtons, e as paypalStoreOnChange } from './paypal-6dca6567.js';
|
|
9
9
|
import { l as log } from './VarianceTest-572cecf5.js';
|
|
10
|
-
import './isDarkColor-
|
|
10
|
+
import './isDarkColor-939d8e9c.js';
|
|
11
11
|
import './TaxId-63a14057.js';
|
|
12
|
-
import './isContrastColor-
|
|
13
|
-
import './submitGtag-
|
|
12
|
+
import './isContrastColor-9fa0d013.js';
|
|
13
|
+
import './submitGtag-71c450b6.js';
|
|
14
14
|
|
|
15
15
|
const zonosCardCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .styled-card{border:var(--zonos-elements-border);border-radius:var(--zonos--border-radius, var(--zonos-elements-radius-6));padding:var(--spacing, 24px);text-align:left;background-color:var(--zonos--background-color);overflow:hidden}:host .styled-card hr{margin-left:calc(var(--spacing, 24px) * -1);margin-right:calc(var(--spacing, 24px) * -1)}:host .styled-card .card-header{margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:var(--spacing, 24px);border-bottom:var(--zonos-elements-border);height:65px;line-height:65px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .styled-card .card-header h5{margin-bottom:0;-ms-flex:1;flex:1}:host .styled-card .card-footer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:calc(var(--spacing, 24px) * -1);padding:var(--spacing, 24px);border-top:var(--zonos-elements-border);background:var(--zonos-elements-surface-color-secondary);margin-top:var(--spacing, 24px);border-bottom-left-radius:var(--zonos-elements-radius-8);border-bottom-right-radius:var(--zonos-elements-radius-8);height:var(--footerHeight)}";
|
|
16
16
|
const ZonosCardStyle0 = zonosCardCss;
|
|
@@ -36,16 +36,16 @@ const ZonosCard = class {
|
|
|
36
36
|
customRoundRadius: `${this.borderRadius}px`,
|
|
37
37
|
overrideBorderStyle: 'ROUNDED',
|
|
38
38
|
});
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'afc0d2d9b79510aa9d85c89af3c01d5a5c767787', style: {
|
|
40
40
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
41
|
-
} }, h("div", { key: '
|
|
41
|
+
} }, h("div", { key: 'b68bbbb581f56db81f9b7819f6047c1ec48a956f', class: classes(['styled-card']), style: {
|
|
42
42
|
'--zonos--background-color': backgroundColor,
|
|
43
43
|
'--zonos--border-radius': borderRadius,
|
|
44
44
|
padding: this.spacing,
|
|
45
|
-
} }, this.label && (h("header", { key: '
|
|
45
|
+
} }, this.label && (h("header", { key: '27db75fa9c5ac5dbdfefd92656aa6d8e5b654349', class: "card-header", style: { padding: this.spacing } }, h("zonos-text", { key: 'f54d58eb5f010346d2fcf919baf69d5c799bdbc4', type: "subheader" }, this.label), h("h-stack", { key: 'a3cbee0ae5fc73bb9507d5e30ab6779f2ce46f55', spacing: 8 }, this.actions))), h("slot", { key: '6ce557ff8df6046d428b22b290c3d79ce6bf36ad' }), (this.footerActions || this.footerContent) && (h("footer", { key: '7cc44dfa05e46026444ac1db6755b30151937be0', class: "card-footer", style: {
|
|
46
46
|
height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
|
|
47
47
|
padding: this.spacing,
|
|
48
|
-
} }, h("div", { key: '
|
|
48
|
+
} }, h("div", { key: '6c401d4fbc34346f160b239a7190eb170763c382' }, this.footerContent), h("h-stack", { key: 'e6cc5de886d04757374b380149fe5b78b0874cf2', spacing: 8 }, this.footerActions))))));
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
ZonosCard.style = ZonosCardStyle0;
|
|
@@ -258,7 +258,7 @@ const ZonosPayment = class {
|
|
|
258
258
|
}
|
|
259
259
|
render() {
|
|
260
260
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
261
|
-
return (h(Host, { key: '
|
|
261
|
+
return (h(Host, { key: 'faf7791e4cbf6bf8c98fe0b2f368f408ef32b644', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: 'e6103d0e04f9905b90533bf94539aaae1d5aa604', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'b042060ff6fef2d7f20b20ec672b2696cb5f837c', class: "zonos--payment-component" }), h("div", { key: 'b6a220513bb964a057c70141dcec89059dbbb0c8', class: "zonos--payment-paypal-container" })));
|
|
262
262
|
}
|
|
263
263
|
get el() { return getElement(this); }
|
|
264
264
|
static get watchers() { return {
|
|
@@ -322,7 +322,7 @@ const ZonosPaypalPayment = class {
|
|
|
322
322
|
this.storeUnsubscribeList.forEach(unsubscribe => unsubscribe());
|
|
323
323
|
}
|
|
324
324
|
render() {
|
|
325
|
-
return (h(Host, { key: '
|
|
325
|
+
return (h(Host, { key: '2eb9e7f7acbe26f51c32ceb722f1e59832ac918a', class: "zonos--paypal-payment zonos--elements" }, h("div", { key: '47ad7f3dfdea67dd5e222e6bbba46ed4599680be', class: "zonos--payment-paypal-container" })));
|
|
326
326
|
}
|
|
327
327
|
get el() { return getElement(this); }
|
|
328
328
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { r as registerInstance, e as getAssetPath, h, a as Host, F as Fragment, d as createEvent, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { d as cartStore, M as cartStoreHasOneEligibleItem, N as isEuDapRemittance, b as stripeStore, O as stripeStoreApplyPromoCode, P as stripeStoreRemovePromoCode, F as stripeStoreReset, c as stripeStoreRetrievePayment, t as trackConversionEvent, Q as stripeStoreResetPromoCode, R as stripeStoreMessageBasedOnStatus, S as storeCreditStore, T as storeCreditStoreReset, z as storeCreditStoreCoversFullAmount, w as isPolicyConsentRequired, E as policyConsentStore, J as stripeStoreRecordPolicyConsent, v as cartStoreNextStep, U as extractName, V as stripeStoreTranslateAddressToLatin, G as cartStoreOnChange, W as getCountryField, X as stripeStoreAsyncAddressUpdate, L as cartStoreUpdateSelectedShippingOption, Y as cartStoreGetShippingTransitInfo, Z as cartStoreGetMethod, _ as sortServiceLevelOptionsByAmount } from './cart-
|
|
3
|
-
import { t as translate, l as localizationStore, s as storageStore,
|
|
4
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
2
|
+
import { d as cartStore, M as cartStoreHasOneEligibleItem, N as isEuDapRemittance, b as stripeStore, O as stripeStoreApplyPromoCode, P as stripeStoreRemovePromoCode, F as stripeStoreReset, c as stripeStoreRetrievePayment, t as trackConversionEvent, Q as stripeStoreResetPromoCode, R as stripeStoreMessageBasedOnStatus, S as storeCreditStore, T as storeCreditStoreReset, z as storeCreditStoreCoversFullAmount, w as isPolicyConsentRequired, E as policyConsentStore, J as stripeStoreRecordPolicyConsent, v as cartStoreNextStep, U as extractName, V as stripeStoreTranslateAddressToLatin, G as cartStoreOnChange, W as getCountryField, X as stripeStoreAsyncAddressUpdate, L as cartStoreUpdateSelectedShippingOption, Y as cartStoreGetShippingTransitInfo, Z as cartStoreGetMethod, _ as sortServiceLevelOptionsByAmount } from './cart-2e407f7b.js';
|
|
3
|
+
import { t as translate, l as localizationStore, s as storageStore, k as languages, v as getExchangeRate, w as numberFormat, e as localizationStoreOnChange } from './localization-36a4dc22.js';
|
|
4
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-282384f0.js';
|
|
5
5
|
import { c as cleanHtmlMarkdown } from './cleanHtmlMarkdown-87d195f6.js';
|
|
6
6
|
import { c as classes } from './classes-0d95c529.js';
|
|
7
|
-
import { z as zonosStore, c as createStore, h as zonosStoreOnChange, g as getZonosStoreTheme, f as zonosStoreFontFamily } from './zonosStore-
|
|
8
|
-
import { D as DUTY_KEY, T as TAXES_KEY, h as hasInclusivePrice } from './hasInclusivePrice-
|
|
7
|
+
import { z as zonosStore, c as createStore, h as zonosStoreOnChange, g as getZonosStoreTheme, f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
|
|
8
|
+
import { D as DUTY_KEY, T as TAXES_KEY, h as hasInclusivePrice } from './hasInclusivePrice-d801be22.js';
|
|
9
9
|
import { i as isSameHostCheckoutLink } from './isSameHostCheckoutLink-c1b88ab7.js';
|
|
10
|
-
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore } from './paypal-
|
|
10
|
+
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore } from './paypal-6dca6567.js';
|
|
11
11
|
import { h as handleFetch, s as sendErrorLog, j as jsonParse, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode, l as logError } from './handleFetch-a844cac1.js';
|
|
12
12
|
import { c as createCustomEvent } from './createCustomEvent-58159025.js';
|
|
13
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
13
|
+
import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
|
|
14
14
|
import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
|
|
15
|
-
import {
|
|
16
|
-
import { p as placeTestOrder } from './placeTestOrder-
|
|
17
|
-
import { i as isDarkColor } from './isDarkColor-
|
|
18
|
-
import { g as getContrastColor } from './getContrastColor-
|
|
15
|
+
import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-328f50e2.js';
|
|
16
|
+
import { p as placeTestOrder } from './placeTestOrder-9563c89a.js';
|
|
17
|
+
import { i as isDarkColor } from './isDarkColor-939d8e9c.js';
|
|
18
|
+
import { g as getContrastColor } from './getContrastColor-4c0ae8c1.js';
|
|
19
19
|
import { i as isColorVariable } from './isColorVariable-0a94004f.js';
|
|
20
|
-
import { u as updateCheckoutSessionAttributes } from './updateCheckoutSessionAttributes-
|
|
21
|
-
import { g as getMissingRequiredShippingFields } from './getMissingRequiredShippingFields-
|
|
20
|
+
import { u as updateCheckoutSessionAttributes } from './updateCheckoutSessionAttributes-23b222de.js';
|
|
21
|
+
import { g as getMissingRequiredShippingFields } from './getMissingRequiredShippingFields-719b206f.js';
|
|
22
22
|
import { c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
|
|
23
23
|
import { s as shouldRenderShortAddressCodeInput, a as shouldRenderTaxIdInput } from './shouldRenderTaxIdInput-ef7b5860.js';
|
|
24
24
|
import { e as euCountryCodes } from './TaxId-63a14057.js';
|
|
25
|
-
import './isContrastColor-
|
|
26
|
-
import './submitGtag-
|
|
27
|
-
import './debounce-
|
|
25
|
+
import './isContrastColor-9fa0d013.js';
|
|
26
|
+
import './submitGtag-71c450b6.js';
|
|
27
|
+
import './debounce-84ade9c2.js';
|
|
28
28
|
import './ShortAddressCode-7620e622.js';
|
|
29
29
|
|
|
30
30
|
const zonosCartItemsCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column:last-child{text-align:right}:host .zonos--cart-table .zonos--column:first-child{width:60px}:host .zonos--cart-table td{vertical-align:top}:host .zonos--cart-item-name{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:12px}:host .zonos--cart-item-name .zonos--cart-item-quantity>*{display:inline-block}:host .zonos--cart-item-price zonos-text{white-space:nowrap}:host img{min-width:40px;margin-top:6px}";
|
|
@@ -1111,13 +1111,16 @@ const ZonosCheckoutFooter = class {
|
|
|
1111
1111
|
}
|
|
1112
1112
|
render() {
|
|
1113
1113
|
var _a;
|
|
1114
|
+
// label resolves against every language, not just the offered ones, so the current
|
|
1115
|
+
// locale always renders even if the merchant later drops it from the selector
|
|
1114
1116
|
const languageLabel = (_a = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
|
|
1115
1117
|
// reverse color when on desktop. With the coversheet backdrop, the color should be white
|
|
1116
1118
|
const colorDesktop = this.dataTheme === 'LIGHT' && !this.mobile ? 'gray-0' : 'gray-1000';
|
|
1117
|
-
return (h(Host, { key: '
|
|
1119
|
+
return (h(Host, { key: 'e233dc26d3869dd123a76a6a20ef7ef20be04ac9', class: classes(['zonos--elements', this.isMobile && 'mobile']) }, h("div", { key: 'c00938cd7e9a015227e022b7085e0544c8567fc8', class: "zonos--checkout-footer" }, h("div", { key: '822887a65cad7554ec8295187166da4d53406b83', class: "zonos--checkout-locale-wrapper" }, shouldShowLanguageSelect() && (h(Fragment, { key: '1589f09bff0c417aed71f488b9799c3208c30b6b' }, h("zonos-button", { key: 'adb4467f16a158d3e6b6410fa0a6e81715d8b4a4', buttonColor: colorDesktop, class: "zonos--checkout-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: '9dcd8064cb9d2bca25756d6e5d2e9d28d39bea04', class: "zonos--checkout-locale-label" }, languageLabel, h("zonos-icon", { key: '53d267dc3667e8f0af4dd91748a95311e67ae6bb', "aria-hidden": "true", class: "zonos--checkout-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: '48b44da80d72aa1cf2c20bd2d1faa3935ac41c0a', class: classes([
|
|
1118
1120
|
'zonos--checkout-footer-dialog',
|
|
1119
|
-
this.showLanguageDialog &&
|
|
1120
|
-
|
|
1121
|
+
this.showLanguageDialog &&
|
|
1122
|
+
'zonos--checkout-footer-dialog-open',
|
|
1123
|
+
]) }, h("zonos-language-select", { key: '7cc39fa702bb6895556ac35815aea1a87237307b', handleOnClose: () => this.toggleLanguageDialog() }))))), h("div", { key: '7ea92dbdf7f70aeda580a8b06b111598e750e883', class: "zonos--checkout-footer-icon-wrapper" }, h("a", { key: '9463c3e591b4094e6516e55f127a193e58e63f75', href: "https://zonos.com/docs/legal/zonos-privacy-policy", rel: "noopener noreferrer", target: "_blank" }, h("zonos-text", { key: 'c09ac7de4a75b9667785eb3d023d838dcb70fded', textColor: colorDesktop }, translate('Privacy policy'))), h("div", { key: 'a3b7bccb55163b3dc38a778530ed24afaec42498', class: "zonos--checkout-footer-logo" }, h("zonos-text", { key: 'da8f3fb699d42192e9dc120f250cbf4029132c0c', textColor: colorDesktop }, translate('Powered by')), h("a", { key: '674f38407c93fe38801dce5475fd635b22449a44', href: "https://zonos.com", rel: "noopener noreferrer", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'f414178d37e8dc46fa6bb900112d985e9c111841', autoHeight: true, content: colorDesktop === 'gray-1000'
|
|
1121
1124
|
? ZonosIconLight
|
|
1122
1125
|
: ZonosIconDark, size: 108 })))))));
|
|
1123
1126
|
}
|
|
@@ -1590,17 +1593,17 @@ const ZonosCheckoutProgressTabs = class {
|
|
|
1590
1593
|
color: labelSelectedColor,
|
|
1591
1594
|
})
|
|
1592
1595
|
: labelSelectedColor;
|
|
1593
|
-
return (h(Host, { key: '
|
|
1596
|
+
return (h(Host, { key: '90dd30f544a4af6c2ed60b28c55c887dfd91151c', class: "zonos--elements", style: {
|
|
1594
1597
|
'--zonos--color': contrastLabelColor,
|
|
1595
1598
|
'--zonos--progress-percent': this.getTotalSuccessStep(),
|
|
1596
|
-
} }, h("div", { key: '
|
|
1599
|
+
} }, h("div", { key: '6fbdfc5306c7f266e7ad80f0daefdfe2c747df54', class: "zonos--tab-wrapper" }, Object.values(cartStore.tabItems).map((tab, index) => {
|
|
1597
1600
|
const isSelected = tab.value === selectedStep;
|
|
1598
1601
|
return (h("button", { "aria-label": `Tab ${tab.label}`, class: classes([
|
|
1599
1602
|
'zonos--tab-item',
|
|
1600
1603
|
tab.value === selectedStep && 'selected',
|
|
1601
1604
|
tab.isDone && 'done',
|
|
1602
1605
|
]), disabled: !this.isTabClickable(tab.value), key: tab.value, onClick: () => this.setTabSelected(tab.value) }, h("div", { class: "zonos--tab-index" }, h("zonos-text", { class: "zonos--tab-index-label", textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, index + 1), h("zonos-icon", { class: "zonos--tab-index-done-icon", content: TabCheckmark, iconColor: isSelected ? contrastLabelColor : 'gray-1000' })), h("zonos-text", { textColor: isSelected ? contrastLabelColor : 'gray-1000', type: "label" }, translate(tab.label))));
|
|
1603
|
-
})), h("div", { key: '
|
|
1606
|
+
})), h("div", { key: 'd797a4c506f42893919ecb30d2ee6a6f64b85ad4', class: "zonos--tab-progress" }, h("div", { key: '4c2a229a89f8e3bad1b8385a4311d5796981c834', class: "zonos--progress-bar-fill" }))));
|
|
1604
1607
|
}
|
|
1605
1608
|
static get assetsDirs() { return ["assets"]; }
|
|
1606
1609
|
get ele() { return getElement(this); }
|
|
@@ -2384,11 +2387,11 @@ const ZonosRestState = class {
|
|
|
2384
2387
|
}
|
|
2385
2388
|
render() {
|
|
2386
2389
|
const imageUrl = this.getImageRestState();
|
|
2387
|
-
return (h(Host, { key: '
|
|
2390
|
+
return (h(Host, { key: 'c59d087ef1e9d319835387dafd6044df02fbada4', class: classes(['zonos--elements zonos--restState']), style: {
|
|
2388
2391
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
2389
|
-
} }, h("div", { key: '
|
|
2392
|
+
} }, h("div", { key: '66c517e9e27d02039bb8d94084d27d7bdb63acbc', class: "zonos--restState-image" }, h("img", { key: 'c2591b221940f1526f57eefea0a1624826188465', alt: this.restStateType, onError: () => {
|
|
2390
2393
|
this.isErrorImageLoad = true;
|
|
2391
|
-
}, src: imageUrl })), h("div", { key: '
|
|
2394
|
+
}, src: imageUrl })), h("div", { key: '12831552ca7bc7c5caed1b8337e302bd757ce066', class: "content" }, h("zonos-text", { key: '8d59853bd8670442b50dff2209bcadc66ceee908', class: "title", type: "boldSubheader" }, this.restStateTitle), h("zonos-text", { key: '9c0c37ca8b9b4b7db7567b962cfe2547e16c515b', class: "subtitle" }, this.restStateSubtitle)), h("div", { key: '29487c0cf698f4f593f7b93a923810edcec1c800', class: "action" }, h("slot", { key: 'fc0a95a5691a15ffa2d83a7b51713209fb6ec095' }))));
|
|
2392
2395
|
}
|
|
2393
2396
|
static get assetsDirs() { return ["assets"]; }
|
|
2394
2397
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
5
|
-
import { i as isDarkColor } from './isDarkColor-
|
|
4
|
+
import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
|
|
5
|
+
import { i as isDarkColor } from './isDarkColor-939d8e9c.js';
|
|
6
6
|
import './VarianceTest-572cecf5.js';
|
|
7
7
|
|
|
8
8
|
const colorPrefixes = [
|
|
@@ -68,14 +68,14 @@ const ZonosCheckbox = class {
|
|
|
68
68
|
customRoundRadius: '4px',
|
|
69
69
|
overrideBorderStyle: this.borderStyle,
|
|
70
70
|
});
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: 'fc12195af264aaca9a9738f594316d5357f8ebb1', class: classes(['zonos--elements zonos--checkbox']), style: {
|
|
72
72
|
'--zonos--background-color': backgroundColor,
|
|
73
73
|
'--zonos--border-radius': borderStyle,
|
|
74
74
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
75
75
|
'--zonos--size': `${this.size}px`,
|
|
76
|
-
} }, h("label", { key: '
|
|
76
|
+
} }, h("label", { key: '0db316fec272f3409d2525b4102e8bc6b51b5447', class: classes([this.isDisabled && 'disabled']), htmlFor: this.inputId }, h("input", { key: '6e72a3e543dc6a0faa300d94adb226167a6f1114', checked: this.isChecked, disabled: this.isDisabled, hidden: true, id: this.inputId, onChange: e => {
|
|
77
77
|
this.checkboxSelected.emit(e.target.checked);
|
|
78
|
-
}, type: "checkbox" }), h("span", { key: '
|
|
78
|
+
}, type: "checkbox" }), h("span", { key: '7703e044bb17535afaf7d1f559e6808e0f7a0777', class: "checkmark-container" }, h("svg", { key: 'd6a0c3349d79e0d209c69e098f0b410a7ac67f98', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'e12f7a8f0ee87eb72ba9fd9d6f6dbca4e2757e14', "clip-rule": "evenodd", d: "M17.456 7.404a.75.75 0 0 1 .14 1.052l-6.5 8.5a.75.75 0 0 1-1.126.074l-4-4a.75.75 0 0 1 1.06-1.06l3.395 3.394 5.98-7.82a.75.75 0 0 1 1.05-.14Z", fill: "currentColor", "fill-rule": "evenodd" }))), this.label && (h("zonos-text", { key: 'dd53f7c4c37e21c745450476b69051ea65b03833', size: this.fontSize }, this.label)))));
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
ZonosCheckbox.style = ZonosCheckboxStyle0;
|
|
@@ -93,9 +93,9 @@ const ZonosToggle = class {
|
|
|
93
93
|
this.options = [];
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
|
-
return (h(Host, { key: '
|
|
96
|
+
return (h(Host, { key: 'ad5de3fba6f9f7a5d0820f95c809c6fd9e6d4ca7', class: classes(['zonos--elements zonos--toggle']), style: {
|
|
97
97
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
98
|
-
} }, h("div", { key: '
|
|
98
|
+
} }, h("div", { key: 'd3d4321651c434734e86c470d6861241fcac361b', class: "wrapper" }, this.options.map(option => {
|
|
99
99
|
const selected = option.value === this.value;
|
|
100
100
|
return (h("button", { class: classes(['zonos--option', selected && 'selected']), key: option.value, onClick: () => {
|
|
101
101
|
this.toggleChanged.emit(option.value);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { r as registerInstance, h, F as Fragment, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreSaveDomesticShippingSession, b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, p as policyConsentStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, l as stripeStoreHandleInventoryCheck, m as cartStoreStartCheckoutInterval, t as trackConversionEvent, n as getCheckoutSessionBody, o as cartStoreUpdateToErrorState, q as stripeStoreCleanupDomesticShippingSession, r as cartStoreSetCheckoutSession, u as stripeStorePrefetchLandedCost, v as cartStoreNextStep, w as isPolicyConsentRequired, x as stripeStoreUpdateCheckoutSessionBaseCurrency, y as storeCreditStoreApplyCredit, z as storeCreditStoreCoversFullAmount, A as validateCheckoutSession, B as storeCreditStoreCreateOrder, C as stripeStoreConfirmPayment, D as stripeStoreHandleInventoryRefund, E as policyConsentStore, F as stripeStoreReset, G as cartStoreOnChange, H as stripeStoreOnChange, I as storeCreditStoreGetEffectiveAmount } from './cart-
|
|
3
|
-
import { p as paypalStoreHasPaypalEnabled, s as submitAnalytics, a as paypalStore, b as paypalInitScript } from './paypal-
|
|
4
|
-
import { f as filterValidTests, a as fetchCheckoutId, b as fetchBigCommerceCheckout, i as isBigCommerceCustomerLoggedIn, l as localizationStore, c as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, d as storageStoreSetEnabledVariantTestKeys, t as translate, e as localizationStoreOnChange, h as currencyFormat } from './localization-
|
|
5
|
-
import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-
|
|
2
|
+
import { s as stripeStoreGetDomesticShippingSession, a as stripeStoreSaveDomesticShippingSession, b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, e as cartStoreUpdateItems, f as cartStoreReset, p as policyConsentStoreReset, g as cartStoreResetTabItems, h as cartStoreClearCheckoutInterval, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, l as stripeStoreHandleInventoryCheck, m as cartStoreStartCheckoutInterval, t as trackConversionEvent, n as getCheckoutSessionBody, o as cartStoreUpdateToErrorState, q as stripeStoreCleanupDomesticShippingSession, r as cartStoreSetCheckoutSession, u as stripeStorePrefetchLandedCost, v as cartStoreNextStep, w as isPolicyConsentRequired, x as stripeStoreUpdateCheckoutSessionBaseCurrency, y as storeCreditStoreApplyCredit, z as storeCreditStoreCoversFullAmount, A as validateCheckoutSession, B as storeCreditStoreCreateOrder, C as stripeStoreConfirmPayment, D as stripeStoreHandleInventoryRefund, E as policyConsentStore, F as stripeStoreReset, G as cartStoreOnChange, H as stripeStoreOnChange, I as storeCreditStoreGetEffectiveAmount } from './cart-2e407f7b.js';
|
|
3
|
+
import { p as paypalStoreHasPaypalEnabled, s as submitAnalytics, a as paypalStore, b as paypalInitScript } from './paypal-6dca6567.js';
|
|
4
|
+
import { f as filterValidTests, a as fetchCheckoutId, b as fetchBigCommerceCheckout, i as isBigCommerceCustomerLoggedIn, l as localizationStore, c as localizationStoreUpdateSelectedCountryCode, g as getZCountryUrlParam, s as storageStore, V as VARIANT_TEST_KEY_EXPIRATION, d as storageStoreSetEnabledVariantTestKeys, t as translate, e as localizationStoreOnChange, h as currencyFormat } from './localization-36a4dc22.js';
|
|
5
|
+
import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-eca1e364.js';
|
|
6
6
|
import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
|
|
7
7
|
import { h as handleFetch, g as getIsTestMode, j as jsonParse, l as logError, b as getAdditionalLogMetadata, s as sendErrorLog, a as getIsStagingMode, i as isCheckoutMobile } from './handleFetch-a844cac1.js';
|
|
8
|
-
import { u as updateCheckoutSessionAttributes } from './updateCheckoutSessionAttributes-
|
|
8
|
+
import { u as updateCheckoutSessionAttributes } from './updateCheckoutSessionAttributes-23b222de.js';
|
|
9
9
|
import { l as log, g as getElapsedTime, b as allLogs } from './VarianceTest-572cecf5.js';
|
|
10
10
|
import { _ as _getIsValidCartId, c as checkoutHiddenBtnSelector, a as checkoutHiddenInternationalBtnSelector, d as domesticRedirectedBtnSelector, g as getAbandonedCartRenewTokenValue } from './CheckoutConfig-724d7bae.js';
|
|
11
11
|
import { c as classes } from './classes-0d95c529.js';
|
|
12
12
|
import { c as createCustomEvent } from './createCustomEvent-58159025.js';
|
|
13
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
14
|
-
import { i as isDarkColor } from './isDarkColor-
|
|
13
|
+
import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
|
|
14
|
+
import { i as isDarkColor } from './isDarkColor-939d8e9c.js';
|
|
15
15
|
import { s as styles } from './styles-6fc2fad9.js';
|
|
16
16
|
import { R as RemoveIcon } from './RemoveIcon-9dc5dd1a.js';
|
|
17
17
|
import './TaxId-63a14057.js';
|
|
18
|
-
import './isContrastColor-
|
|
19
|
-
import './submitGtag-
|
|
20
|
-
import './debounce-
|
|
18
|
+
import './isContrastColor-9fa0d013.js';
|
|
19
|
+
import './submitGtag-71c450b6.js';
|
|
20
|
+
import './debounce-84ade9c2.js';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Check if store discount is enabled
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
|
|
3
3
|
import './VarianceTest-572cecf5.js';
|
|
4
4
|
|
|
5
5
|
const zonosCollapseCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out;overflow:hidden}:host div{position:relative}:host iframe{width:0;height:100%;position:absolute;top:0;border:0}";
|
|
@@ -53,10 +53,10 @@ const ZonosCollapse = class {
|
|
|
53
53
|
// set overflow to hidden to prevent content from showing when collapsed
|
|
54
54
|
this.el.style.overflow = 'hidden';
|
|
55
55
|
}
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'ccd63ae063383c197ef9e3de5fdea5bdfcc1951b', class: 'zonos--elements zonos--collapse', style: {
|
|
57
57
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
58
58
|
height: this.getElementHeight(),
|
|
59
|
-
} }, h("div", { key: '
|
|
59
|
+
} }, h("div", { key: '49d68d13f7d3fab4104908ec06706ded803b32fa' }, h("iframe", { key: '55c8aa296b517b1c69849c0fa56f407b217ad713', class: "height-change-listener", tabindex: "-1", title: "collapse-height-change-listener" }), h("slot", { key: '81207ecc6e59c358edbe4a653064d29c27ac5500' }))));
|
|
60
60
|
}
|
|
61
61
|
get el() { return getElement(this); }
|
|
62
62
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, e as getAssetPath, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { d as cartStore } from './cart-
|
|
2
|
+
import { d as cartStore } from './cart-2e407f7b.js';
|
|
3
3
|
import { c as cleanHtmlMarkdown } from './cleanHtmlMarkdown-87d195f6.js';
|
|
4
|
-
import { f as zonosStoreFontFamily } from './zonosStore-
|
|
4
|
+
import { f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
|
|
5
5
|
import { c as classes } from './classes-0d95c529.js';
|
|
6
6
|
import { s as styles } from './styles-6fc2fad9.js';
|
|
7
|
-
import './localization-
|
|
7
|
+
import './localization-36a4dc22.js';
|
|
8
8
|
import './handleFetch-a844cac1.js';
|
|
9
9
|
import './VarianceTest-572cecf5.js';
|
|
10
|
-
import './isDarkColor-
|
|
11
|
-
import './getBorderRadius-
|
|
10
|
+
import './isDarkColor-939d8e9c.js';
|
|
11
|
+
import './getBorderRadius-1f7be586.js';
|
|
12
12
|
import './TaxId-63a14057.js';
|
|
13
13
|
|
|
14
14
|
const zonosCollectCartItemsCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;padding-left:0;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column:first-child{width:48px}:host .zonos--cart-table td{vertical-align:middle}:host .zonos--cart-item-price zonos-text{white-space:nowrap}:host img{min-width:40px;margin-top:6px;-webkit-box-shadow:0 0 0 1px rgba(110, 110, 120, 0.1), 0 1px 2px 0 rgba(10, 10, 11, 0.06), 0 1px 3px 0 rgba(10, 10, 11, 0.1);box-shadow:0 0 0 1px rgba(110, 110, 120, 0.1), 0 1px 2px 0 rgba(10, 10, 11, 0.06), 0 1px 3px 0 rgba(10, 10, 11, 0.1);border-radius:10px}";
|
|
@@ -22,7 +22,7 @@ const ZonosCollectCartItems = class {
|
|
|
22
22
|
render() {
|
|
23
23
|
const emptyItemImg = getAssetPath('./assets/empty-item.jpeg');
|
|
24
24
|
const nonRestrictedItems = cartStore.items.filter(item => !item.isRestricted);
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '5a60fed50f3e58629cb85103d9c0ba52a3b88aa0', class: "zonos--collect-cart-items zonos--elements" }, h("table", { key: 'b1c10fa45ebe5404354284d64abb6460242f1463', class: "zonos--cart-table" }, h("tbody", { key: '1306747328419b524058be1cb04b6c0098c9ea89' }, nonRestrictedItems.map(item => {
|
|
26
26
|
const itemImg = item.imageUrl;
|
|
27
27
|
const cleanedItemNames = cleanHtmlMarkdown(item.name);
|
|
28
28
|
return (h("tr", { class: "zonos--collect-cart-item" }, h("td", { class: "zonos--column zonos--cart-item-image" }, itemImg && !this.errorImages.includes(itemImg) ? (h("img", { alt: item.name, onError: () => {
|
|
@@ -49,10 +49,10 @@ const HStack = class {
|
|
|
49
49
|
this.spacing = 24;
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '1b810737fd49ee23a1d9ce845049efa6782f5a16', style: {
|
|
53
53
|
'--spacing': `${this.spacing}px`,
|
|
54
54
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
55
|
-
} }, h("slot", { key: '
|
|
55
|
+
} }, h("slot", { key: '64b114c99ecd5d6b953e5ce77f7d2a820f32cd36' })));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
HStack.style = ZonosHStackStyle0;
|
|
@@ -75,7 +75,7 @@ const ZonosSkeleton = class {
|
|
|
75
75
|
this.skeletonHeight = '14px';
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
|
-
return (h(Host, { key: '
|
|
78
|
+
return (h(Host, { key: 'ba8efa50f345f97a2cf905068ff2d8d05557209e', class: classes(['zonos--elements zonos--skeleton']), style: styles({
|
|
79
79
|
'--zonos--skeleton-height': this.skeletonHeight,
|
|
80
80
|
'--zonos--skeleton-width': this.skeletonWidth,
|
|
81
81
|
}) }));
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, j as airwallexStoreMessageBasedOnStatus, k as airwallexStoreReset, c as collectStore, e as airwallexStoreIsPaidStatus } from './collect-
|
|
3
|
-
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, Q as stripeStoreResetPromoCode, F as stripeStoreReset, R as stripeStoreMessageBasedOnStatus, d as cartStore, v as cartStoreNextStep, G as cartStoreOnChange } from './cart-
|
|
4
|
-
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-
|
|
5
|
-
import { t as translate, s as storageStore, l as localizationStore,
|
|
6
|
-
import { z as zonosStore } from './zonosStore-
|
|
2
|
+
import { b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, j as airwallexStoreMessageBasedOnStatus, k as airwallexStoreReset, c as collectStore, e as airwallexStoreIsPaidStatus } from './collect-19428e18.js';
|
|
3
|
+
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, Q as stripeStoreResetPromoCode, F as stripeStoreReset, R as stripeStoreMessageBasedOnStatus, d as cartStore, v as cartStoreNextStep, G as cartStoreOnChange } from './cart-2e407f7b.js';
|
|
4
|
+
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-6dca6567.js';
|
|
5
|
+
import { t as translate, s as storageStore, k as languages, l as localizationStore, z as translationStoreOnChange } from './localization-36a4dc22.js';
|
|
6
|
+
import { z as zonosStore } from './zonosStore-eca1e364.js';
|
|
7
7
|
import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
|
|
8
8
|
import { c as createCustomEvent } from './createCustomEvent-58159025.js';
|
|
9
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
9
|
+
import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
|
|
10
10
|
import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
|
|
11
11
|
import { i as isCollectMobile, a as isCollectTablet } from './isCollectMobileTablet-111b0dd7.js';
|
|
12
12
|
import { c as classes } from './classes-0d95c529.js';
|
|
13
|
-
import {
|
|
14
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
15
|
-
import { p as placeTestOrder } from './placeTestOrder-
|
|
13
|
+
import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-328f50e2.js';
|
|
14
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-282384f0.js';
|
|
15
|
+
import { p as placeTestOrder } from './placeTestOrder-9563c89a.js';
|
|
16
16
|
import { r as renderFallback } from './renderFallback-b250f4e9.js';
|
|
17
|
-
import './isDarkColor-
|
|
17
|
+
import './isDarkColor-939d8e9c.js';
|
|
18
18
|
import './TaxId-63a14057.js';
|
|
19
|
-
import './isContrastColor-
|
|
20
|
-
import './submitGtag-
|
|
19
|
+
import './isContrastColor-9fa0d013.js';
|
|
20
|
+
import './submitGtag-71c450b6.js';
|
|
21
21
|
|
|
22
22
|
const RemoveIcon = `<svg color="var(--zonos-elements-red-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-red-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
|
|
23
23
|
|
|
@@ -376,11 +376,11 @@ const ZonosCollectFinish = class {
|
|
|
376
376
|
}
|
|
377
377
|
render() {
|
|
378
378
|
const cartId = window.Zonos.cartId;
|
|
379
|
-
return (h(Host, { key: '
|
|
379
|
+
return (h(Host, { key: 'af26499a2062cf495d4c46a7763ed988a4da0669', class: "zonos--checkout-finish zonos--elements", style: {
|
|
380
380
|
'--zonos--border-radius': getBorderRadius({
|
|
381
381
|
overrideBorderStyle: this.borderRadius,
|
|
382
382
|
}),
|
|
383
|
-
} }, !this.isLoading && (h("div", { key: '
|
|
383
|
+
} }, !this.isLoading && (h("div", { key: '54fb28be3daee7dd1d63f1dcbdb9a84354fcdb6c', class: "zonos--finish-details" }, h("div", { key: '9c71e5dbd23e613e1038924f14c0465d94dbad07', class: "zonos--group" }, this.notificationType === 'success' ? (h("zonos-icon", { "aria-label": "Order success", content: SuccessIcon, iconColor: 'blue-800', size: 50 })) : (h("zonos-icon", { "aria-label": "Order failed", content: RemoveIcon, iconColor: 'red-800', size: 50 })), h("zonos-text", { key: '3285f4bb8854d5bab6eef487d2b2ae3556794998', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: '4cecd6f15ed26fe1e525c01a48e3961845e6f6d8', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: 'dd7c4011d4d7f92fcd19d53e945adf42f2b3f05e', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: 'a11bd49a754d32dd15dc34f2311f9706d459f07b', class: "zonos--button-container" }, h("zonos-button", { key: '305bcf958a1772cc123414285522e9e0f0b1a839', onClick: () => {
|
|
384
384
|
window.open(this.getReceiptUrl({ cartId }), '_blank');
|
|
385
385
|
}, size: "lg", variant: "primary" }, translate('View receipt')))))))));
|
|
386
386
|
}
|
|
@@ -442,18 +442,20 @@ const ZonosCollectFooter = class {
|
|
|
442
442
|
}
|
|
443
443
|
render() {
|
|
444
444
|
var _a;
|
|
445
|
+
// label resolves against every language, not just the offered ones, so the current
|
|
446
|
+
// locale always renders even if the merchant later drops it from the selector
|
|
445
447
|
const languageLabel = (_a = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
|
|
446
448
|
// reverse color when on desktop. With the coversheet backdrop, the color should be white
|
|
447
449
|
const colorDesktop = 'gray-1000';
|
|
448
|
-
return (h(Host, { key: '
|
|
450
|
+
return (h(Host, { key: '7733eba3e2253cc976484a9da290f66afd6ef93d', class: classes([
|
|
449
451
|
'zonos--elements',
|
|
450
452
|
this.isMobile && 'mobile',
|
|
451
453
|
this.isTablet && 'tablet',
|
|
452
|
-
]) }, h("div", { key: '
|
|
454
|
+
]) }, h("div", { key: '2c5a058034844d818010f4002704fa17e6fd9a46', class: "zonos--collect-footer" }, h("div", { key: 'bffe2afd93ca0531b7eea825a7fd69d68b7aa308', class: "zonos--collect-locale-wrapper" }, shouldShowLanguageSelect() && (h(Fragment, { key: '5469f522ea7b4b3f25fd7c0a63e717c29e34a84c' }, h("zonos-button", { key: '1c88778482c2960cf2a5e55beeda3f3c7f21b950', buttonColor: colorDesktop, class: "zonos--collect-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: '451485445df5f34ca64a36dddd5007ce9f229173', class: "zonos--collect-locale-label" }, languageLabel, h("zonos-icon", { key: 'a395943215ca541f3db4d3aa6e111c87930a6d08', "aria-hidden": "true", class: "zonos--collect-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: '46edba3f7fc8f9316b69626872e0cb478e72cbd4', class: classes([
|
|
453
455
|
'zonos--collect-language-dialog',
|
|
454
456
|
this.showLanguageDialog &&
|
|
455
457
|
'zonos--collect-language-dialog-open',
|
|
456
|
-
]) }, h("zonos-language-select", { key: '
|
|
458
|
+
]) }, h("zonos-language-select", { key: 'e77a7197a218755149ee6b7f3e07a646bc95e930', handleOnClose: () => this.toggleLanguageDialog() }))))), h("div", { key: 'b18dcfe4f0806f3abb6b5855321381334e5206a7', class: "zonos--collect-footer-icon-wrapper" }, h("div", { key: '5c6c376fe1174cec16e9b6c029172138bc8b180a', class: "zonos--collect-footer-logo" }, h("zonos-text", { key: '0899e6990f8f37cf2d604ef15ffd3db0571d5389', textColor: colorDesktop }, "Powered by"), h("a", { key: '853891db2db1a4d1297597a9857772503e5b4d10', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'd8731023822bffdec3cfe821c67387df651de13a', autoHeight: true, content: ZonosWordmark, size: 42 }))), h("div", { key: 'ba5ae7870c1ed277142ceccf1d44276270b967d0', class: "dot" }), h("a", { key: '253dd9112d0626981473d0d0a3309cc577ea5b54', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: 'a5117f4e2194a4b5d1a5de1696763ca1e174b004', textColor: colorDesktop }, "Privacy policy"))))));
|
|
457
459
|
}
|
|
458
460
|
get el() { return getElement(this); }
|
|
459
461
|
static get watchers() { return {
|
|
@@ -794,13 +796,13 @@ const ZonosCollectReview = class {
|
|
|
794
796
|
}
|
|
795
797
|
render() {
|
|
796
798
|
const titleTextColor = this.isMobile ? 'gray-1000' : 'gray-800';
|
|
797
|
-
return (h(Host, { key: '
|
|
799
|
+
return (h(Host, { key: '2ed81c7a0a16b9414fe1ce3799efa3b85679f982', class: classes([
|
|
798
800
|
'zonos--collect-review zonos--elements',
|
|
799
801
|
this.isMobile && 'mobile',
|
|
800
802
|
this.isTablet && 'tablet',
|
|
801
|
-
]) }, h("div", { key: '
|
|
803
|
+
]) }, h("div", { key: 'fcf9fbc8dd807289bcd1c70406495b0c3396bfb8', class: "zonos--title" }, h("zonos-text", { key: '44cfb3b82b8e617687c212e108cacafb45713243', textColor: titleTextColor, type: 'semiBoldLabel' }, translate('Pay [organizationName] duties, taxes and fees for your shipment', {
|
|
802
804
|
organizationName: zonosStore.organizationName,
|
|
803
|
-
}))), h("div", { key: '
|
|
805
|
+
}))), h("div", { key: '5472a1ccc61b49ce8c9578a4c3f801386cab1e7d', class: "zonos--total-pay" }, renderFallback({
|
|
804
806
|
content: (h("zonos-text", { type: 'secondaryPageHeader' }, renderCheckoutCurrency({
|
|
805
807
|
amount: collectStore.amountDutyTaxFeeTotal || 0,
|
|
806
808
|
isForeign: true,
|
|
@@ -866,7 +868,7 @@ const ZonosCollectSubtotal = class {
|
|
|
866
868
|
}
|
|
867
869
|
render() {
|
|
868
870
|
this.initSubtotalData();
|
|
869
|
-
return (h(Host, { key: '
|
|
871
|
+
return (h(Host, { key: 'f014c2ae733fe652d7d74349c0e12f93f46d71f5', class: "zonos--collect-subtotal zonos--elements" }, h("table", { key: '0bab186aa957c29f026151f5a112ff66bb42cb04', class: "zonos--collect-table" }, !!this.subtotals[translate('Duties')] && (h("tr", { key: '97c24d5f179f5b59bcb91bc156b1d3e15b811262', class: "zonos--row zonos--collect-duty" }, h("td", { key: 'cba67296a6d17c0cd665981eb19ba95706f68843', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '6665f531a8656c4a1e0f9761d919c150587a36fb', type: "semiBoldLabel" }, translate('Duties'))), h("td", { key: '20aeeee1fde0e63aaa168f32a5400ea82758a14c', class: "zonos--column" }), h("td", { key: '14994ca56e814f68fa3511098f5299a0942a295a', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
|
|
870
872
|
content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
|
|
871
873
|
amount: this.subtotals[translate('Duties')] || 0,
|
|
872
874
|
isForeign: true,
|
|
@@ -874,7 +876,7 @@ const ZonosCollectSubtotal = class {
|
|
|
874
876
|
isLoading: collectStore.isFetchingShippingInfo,
|
|
875
877
|
skeletonHeight: '14px',
|
|
876
878
|
skeletonWidth: '150px',
|
|
877
|
-
})))), !!this.subtotals[translate('Taxes')] && (h("tr", { key: '
|
|
879
|
+
})))), !!this.subtotals[translate('Taxes')] && (h("tr", { key: 'cbbe4ddf13aabca9ff86b21317b067191f4155b8', class: "zonos--row zonos--collect-tax" }, h("td", { key: '675a36a92e136f3afd1960616e842e152cba6256', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '8896868f1e7f545d5b92c148a0f9812936ac2a9a', type: "semiBoldLabel" }, translate('Taxes'))), h("td", { key: '8a4c29f6d2d513fd7da8be7b1ab695794f3a99ab', class: "zonos--column" }), h("td", { key: 'c15f7a872e59cce222a674acb55388dd18bfb74a', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
|
|
878
880
|
content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
|
|
879
881
|
amount: this.subtotals[translate('Taxes')] || 0,
|
|
880
882
|
isForeign: true,
|
|
@@ -882,7 +884,7 @@ const ZonosCollectSubtotal = class {
|
|
|
882
884
|
isLoading: collectStore.isFetchingShippingInfo,
|
|
883
885
|
skeletonHeight: '14px',
|
|
884
886
|
skeletonWidth: '150px',
|
|
885
|
-
})))), !!this.subtotals[translate('Fees')] && (h("tr", { key: '
|
|
887
|
+
})))), !!this.subtotals[translate('Fees')] && (h("tr", { key: '4cf155874e4446b9ecab121cbaceba2328323359', class: "zonos--row zonos--collect-fee" }, h("td", { key: '3efcb4779f34f35a2398eb661f4b799b6b4480c7', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '41d30bb15d216663cd507f2c92d6639b5559708c', type: "semiBoldLabel" }, translate('Fees'))), h("td", { key: 'ef8259d337fb047d8979f5008d2d46f3fc76b007', class: "zonos--column" }), h("td", { key: 'e0430efffbe23880a776953ba6a05b0cea268df4', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
|
|
886
888
|
content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
|
|
887
889
|
amount: this.subtotals[translate('Fees')] || 0,
|
|
888
890
|
isForeign: true,
|
|
@@ -890,7 +892,7 @@ const ZonosCollectSubtotal = class {
|
|
|
890
892
|
isLoading: collectStore.isFetchingShippingInfo,
|
|
891
893
|
skeletonHeight: '14px',
|
|
892
894
|
skeletonWidth: '150px',
|
|
893
|
-
})))), h("tr", { key: '
|
|
895
|
+
})))), h("tr", { key: '279ddddfc6e9fe88bc1f16aeaeb6464737ec212f', class: "zonos--row zonos--collect-spacing" }, h("td", { key: 'de88842e26eb39938b573fc2ac89915d9f6708ba', class: "zonos--column", colSpan: 3 })), h("tr", { key: '48ecfc5852f1cb25b7816503f3279a3cffc1a581', class: "zonos--row zonos--collect-total zonos--collect-total-subtotal" }, h("td", { key: '06e65acfd5dd213481f415dc2475d9353e18ee53', class: "zonos--column" }), h("td", { key: 'b5ae37799d471defdb983a9167b96aa5e176f78e', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '52afa80c7b0eeda13093c26ce031dab4e4a62ee8', type: "label" }, translate('Subtotal'))), h("td", { key: '840e0413b9c0d651ba7de6529d7c6581f165c047', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
|
|
894
896
|
content: (h("zonos-text", { type: "label" }, renderCheckoutCurrency({
|
|
895
897
|
amount: collectStore.amountDutyTaxFeeTotal || 0,
|
|
896
898
|
isForeign: true,
|
|
@@ -898,7 +900,7 @@ const ZonosCollectSubtotal = class {
|
|
|
898
900
|
isLoading: collectStore.isFetchingShippingInfo,
|
|
899
901
|
skeletonHeight: '14px',
|
|
900
902
|
skeletonWidth: '150px',
|
|
901
|
-
}))), h("tr", { key: '
|
|
903
|
+
}))), h("tr", { key: '62ffc4102084c920e8bde4527415ea93d8ae8292', class: "zonos--row zonos--collect-total" }, h("td", { key: 'ef199898aa67686f1c36d2d0c73d1695443e81a9', class: "zonos--column" }), h("td", { key: '1bd5949e640823841ac7425a46b519482b975c37', class: "zonos--column zonos--collect-subtotal-title" }, h("zonos-text", { key: '96d53a1ffd935ac98cd5560419cc7d5395945da4', type: "semiBoldLabel" }, translate('Customs fees total'))), h("td", { key: '008f69a34b557f2660426acccafe925f6b554293', class: "zonos--column zonos--collect-subtotal-price" }, renderFallback({
|
|
902
904
|
content: (h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency({
|
|
903
905
|
amount: collectStore.amountDutyTaxFeeTotal || 0,
|
|
904
906
|
isForeign: true,
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, F as Fragment } from './index-cfd394c8.js';
|
|
2
|
-
import { c as collectStore, a as airwallexStoreSetFromSession, b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, e as airwallexStoreIsPaidStatus, f as airwallexStoreInitSdk, g as collectStoreUpdateSelectedShippingOption, h as collectStoreInitShippingInfo, i as collectStoreAsyncAddressUpdate } from './collect-
|
|
3
|
-
import { b as stripeStore, i as initStripeElements, d as cartStore, c as stripeStoreRetrievePayment, o as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, x as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-
|
|
4
|
-
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-
|
|
5
|
-
import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, l as localizationStore } from './localization-
|
|
6
|
-
import { z as zonosStore } from './zonosStore-
|
|
2
|
+
import { c as collectStore, a as airwallexStoreSetFromSession, b as airwallexStore, d as airwallexStoreRetrievePaymentIntent, e as airwallexStoreIsPaidStatus, f as airwallexStoreInitSdk, g as collectStoreUpdateSelectedShippingOption, h as collectStoreInitShippingInfo, i as collectStoreAsyncAddressUpdate } from './collect-19428e18.js';
|
|
3
|
+
import { b as stripeStore, i as initStripeElements, d as cartStore, c as stripeStoreRetrievePayment, o as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, x as stripeStoreUpdateCheckoutSessionBaseCurrency, C as stripeStoreConfirmPayment, H as stripeStoreOnChange, F as stripeStoreReset, f as cartStoreReset } from './cart-2e407f7b.js';
|
|
4
|
+
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-6dca6567.js';
|
|
5
|
+
import { s as storageStore, t as translate, e as localizationStoreOnChange, h as currencyFormat, k as languages, l as localizationStore } from './localization-36a4dc22.js';
|
|
6
|
+
import { z as zonosStore } from './zonosStore-eca1e364.js';
|
|
7
7
|
import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
|
|
8
8
|
import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-a844cac1.js';
|
|
9
9
|
import { i as isCollectMobile, a as isCollectTablet } from './isCollectMobileTablet-111b0dd7.js';
|
|
10
10
|
import { c as classes } from './classes-0d95c529.js';
|
|
11
11
|
import { l as log } from './VarianceTest-572cecf5.js';
|
|
12
12
|
import { r as renderFallback } from './renderFallback-b250f4e9.js';
|
|
13
|
-
import
|
|
14
|
-
import './
|
|
15
|
-
import './getBorderRadius-dc982fe6.js';
|
|
13
|
+
import './isDarkColor-939d8e9c.js';
|
|
14
|
+
import './getBorderRadius-1f7be586.js';
|
|
16
15
|
import './TaxId-63a14057.js';
|
|
17
|
-
import './isContrastColor-
|
|
18
|
-
import './submitGtag-
|
|
16
|
+
import './isContrastColor-9fa0d013.js';
|
|
17
|
+
import './submitGtag-71c450b6.js';
|
|
19
18
|
|
|
20
19
|
const ChevronDownIcon = `<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
|
|
21
20
|
|
|
@@ -27,7 +27,7 @@ const ZonosComponent = class {
|
|
|
27
27
|
return format(this.first, this.middle, this.last);
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return h("div", { key: '
|
|
30
|
+
return h("div", { key: '7cc54490d65b2d6596a09f37bd0a842c66179d2c' }, "Hello, World! I'm ", this.getText());
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
ZonosComponent.style = ZonosComponentStyle0;
|