@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,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { b as stripeStore } from './cart-
|
|
3
|
-
import { j as getOverridenZCountry,
|
|
4
|
-
import { z as zonosStore, e as zonosStoreInitSetting, f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { b as stripeStore } from './cart-2e407f7b.js';
|
|
3
|
+
import { j as getOverridenZCountry, m as isValidSelector, n as initLocalizationStore, s as storageStore, c as localizationStoreUpdateSelectedCountryCode } from './localization-36a4dc22.js';
|
|
4
|
+
import { z as zonosStore, e as zonosStoreInitSetting, f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
|
|
5
5
|
import { g as getGenericSettingsOverride, i as iframeServices, a as injectPrivateIframe } from './getGenericSettingsOverride-0bc3e118.js';
|
|
6
6
|
import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
|
|
7
7
|
import { l as log } from './VarianceTest-572cecf5.js';
|
|
8
|
-
import { a as ensureAnalyticsRelayPing } from './submitGtag-
|
|
9
|
-
import './isDarkColor-
|
|
10
|
-
import './getBorderRadius-
|
|
8
|
+
import { a as ensureAnalyticsRelayPing } from './submitGtag-71c450b6.js';
|
|
9
|
+
import './isDarkColor-939d8e9c.js';
|
|
10
|
+
import './getBorderRadius-1f7be586.js';
|
|
11
11
|
import './TaxId-63a14057.js';
|
|
12
12
|
|
|
13
13
|
const getZonosSettings = async () => {
|
|
@@ -859,7 +859,7 @@ const ZonosController = class {
|
|
|
859
859
|
zonosStore.organizationName = organizationName;
|
|
860
860
|
}
|
|
861
861
|
render() {
|
|
862
|
-
return h(Host, { key: '
|
|
862
|
+
return h(Host, { key: '12257443495182932a4ca497928398e22f5fb892', class: "zonos--elements" });
|
|
863
863
|
}
|
|
864
864
|
};
|
|
865
865
|
ZonosController.style = ZonosControllerStyle0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { l as localizationStore } from './localization-
|
|
3
|
-
import { f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { l as localizationStore } from './localization-36a4dc22.js';
|
|
3
|
+
import { f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import './handleFetch-a844cac1.js';
|
|
6
6
|
import './VarianceTest-572cecf5.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { c as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './localization-
|
|
3
|
-
import { f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { c as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore, k as languages } from './localization-36a4dc22.js';
|
|
3
|
+
import { f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
|
|
4
4
|
import { f as formatStringWithLinks } from './formatStringWithLinks-0d48f183.js';
|
|
5
|
-
import { i as isDarkColor } from './isDarkColor-
|
|
6
|
-
import {
|
|
5
|
+
import { i as isDarkColor } from './isDarkColor-939d8e9c.js';
|
|
6
|
+
import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-328f50e2.js';
|
|
7
7
|
import { c as classes } from './classes-0d95c529.js';
|
|
8
8
|
import './handleFetch-a844cac1.js';
|
|
9
9
|
import './VarianceTest-572cecf5.js';
|
|
@@ -1680,13 +1680,13 @@ const ZonosCountrySelect = class {
|
|
|
1680
1680
|
? fuseObject.map(country => country.item)
|
|
1681
1681
|
: countries.sort((a, b) => a.displayName.localeCompare(b.displayName));
|
|
1682
1682
|
const isEmpty = !filteredCountries.length;
|
|
1683
|
-
return (h(Host, { key: '
|
|
1683
|
+
return (h(Host, { key: '315a4cef4eaeecdc0bc1d2f05ae656f370c247ca', class: "zonos--elements", style: {
|
|
1684
1684
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
1685
|
-
} }, h("div", { key: '
|
|
1685
|
+
} }, h("div", { key: 'fb45324e739bed4c056d2d3a7342a2f9860cb5d1', class: "zonos--country-select" }, h("zonos-v-stack", { key: 'f229faa99429adcb0305a1d2a838f90b651fe966', class: "zonos--country-select-header", spacing: 8 }, h("zonos-select-dialog-header", { key: '680a6089bc12308bc41ee0620c8c90bc9db4ba7f', handleOnClose: () => this.handleOnClose(), label: translate('Select a country') }, h("input", { key: '1819f9226fde595a5904ac1204ffa9180c225053', autoComplete: "off", class: "zonos--country-select-input", onInput: this.handleInputChange, placeholder: translate('Search countries'), ref: el => {
|
|
1686
1686
|
if (el) {
|
|
1687
1687
|
this.inputRef = el;
|
|
1688
1688
|
}
|
|
1689
|
-
}, type: "text", value: this.inputValue }))), h("div", { key: '
|
|
1689
|
+
}, type: "text", value: this.inputValue }))), h("div", { key: 'c7fda9cb96abca4e55958d58b4268633aae8ad43', class: "zonos--country-select-content" }, isEmpty && (h("zonos-text", { key: 'd4f62720173f886908d56eefa09f3a55c7774326', class: "no-country", textColor: "gray-800" }, translate('No countries found'))), h("zonos-virtual-scroll", { key: 'd867490feeb0d626b4004f1aaab74230bb46b9d4', class: "zonos--country-filter-content", fallbackItemHeight: 34, itemHeights: filteredCountries.map(() => 34), renderItem: index => {
|
|
1690
1690
|
const country = filteredCountries[index];
|
|
1691
1691
|
if (!country) {
|
|
1692
1692
|
return null;
|
|
@@ -1715,9 +1715,9 @@ const ZonosCustomMessage = class {
|
|
|
1715
1715
|
}
|
|
1716
1716
|
render() {
|
|
1717
1717
|
const messageWithLinks = formatStringWithLinks(this.message);
|
|
1718
|
-
return (h(Host, { key: '
|
|
1718
|
+
return (h(Host, { key: '3b47c062d2c2b22976206b3a71012c9de87d5b72', class: "zonos--elements", style: {
|
|
1719
1719
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
1720
|
-
} }, this.message && (h("zonos-card", { key: '
|
|
1720
|
+
} }, this.message && (h("zonos-card", { key: 'ab6385a3369d4e7ce017409dd92379f48f6867cc', class: "zonos--custom-message", spacing: "12px" }, h("div", { key: 'ef7c63319e469fd1f283a9eaa2e97bcb2253b840', class: "zonos--flex-message" }, h("zonos-icon", { key: 'e2c12c9419e3702cbdd155cf4099d6528db59312', "aria-label": "Custom message icon", content: this.icon }), h("zonos-text", { key: 'f21324ea031b937d0b65540b51dbe5b5c8bd4fad', innerHTML: messageWithLinks }))))));
|
|
1721
1721
|
}
|
|
1722
1722
|
};
|
|
1723
1723
|
ZonosCustomMessage.style = ZonosCustomMessageStyle0;
|
|
@@ -1773,12 +1773,14 @@ const ZonosHelloDialogFooter = class {
|
|
|
1773
1773
|
render() {
|
|
1774
1774
|
var _a, _b;
|
|
1775
1775
|
const primaryColor = (_a = this.appearanceSettings) === null || _a === void 0 ? void 0 : _a.colorPrimary;
|
|
1776
|
+
// label resolves against every language, not just the offered ones, so the current
|
|
1777
|
+
// locale always renders even if the merchant later drops it from the selector
|
|
1776
1778
|
const language = (_b = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _b === void 0 ? void 0 : _b.translatedLabel;
|
|
1777
1779
|
// Only use gray-0 (white) when the background color is dark (apply inverted color if the element is using dark theme variable)
|
|
1778
1780
|
const mainColor = primaryColor && isDarkColor(primaryColor) ? 'white' : 'black';
|
|
1779
|
-
return (h(Host, { key: '
|
|
1781
|
+
return (h(Host, { key: '6541ca916c9d51407a45f2ec88ce59c64db2d7d1', class: "zonos--elements" }, h("div", { key: '0b34542b6b33cf9f5763a5da6b893a8a3dee45fc', class: "zonos--hello-dialog-footer", style: {
|
|
1780
1782
|
'--zonos--primary-color': primaryColor,
|
|
1781
|
-
} }, h("a", { key: '
|
|
1783
|
+
} }, h("a", { key: 'd0ccce33137960b2f05abdbe25f5e406b5a668a9', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: '0146c3b517a2f1bd7e8a3c3875b7d289aedcd369', "aria-label": "Zonos Logo", autoHeight: true, content: mainColor === 'black' ? ZonosIconLight : ZonosIconDark, iconColor: mainColor, size: 108 })), h("div", { key: 'f592e799d627b6b12c8be2e46390ffa07a90021f', class: "zonos--hello-locale-wrapper" }, shouldShowLanguageSelect() && (h("zonos-button", { key: 'c91b238982a230bf56d7971820d4e11a3ab848f4', buttonColor: mainColor, icon: h("zonos-icon", { "aria-label": "Open language select", content: Globe, iconColor: mainColor }), onClick: () => this.setShowLanguageSelect(true), variant: "subtle" }, h("span", { key: 'eda1e60d6f5e0f9b19ab6aa13741be8b3bd72e12', class: "zonos--hello-locale-label" }, language, h("zonos-icon", { key: 'e78f0f8d16d123e656beb7d342d41ab9841c89cc', "aria-hidden": "true", class: "zonos--hello-locale-chevron", content: ChevronDownIcon, iconColor: mainColor, size: 18 })))), h("zonos-button", { key: '69e0987e3c45890bc5cfb3bfe9cbb71850398521', buttonColor: mainColor, icon: h("zonos-country-flag", { "aria-label": "Open country select", class: "zonos--footer-country-flag", countryCode: localizationStore.selectedCountryCode }), onClick: () => this.setShowCountrySelect(true), variant: "subtle" }, h("span", { key: '8ac960e3cadc0fdc70f0d04f336c2e8bfaafcf84', class: "zonos--hello-locale-label" }, localizationStore.selectedCountryCode, h("zonos-icon", { key: 'f5a1e98416357831c89998f64e845f8190f6219a', "aria-hidden": "true", class: "zonos--hello-locale-chevron", content: ChevronDownIcon, iconColor: mainColor, size: 18 })))))));
|
|
1782
1784
|
}
|
|
1783
1785
|
get ele() { return getElement(this); }
|
|
1784
1786
|
};
|
|
@@ -1887,10 +1889,10 @@ const ZonosVirtualScroll = class {
|
|
|
1887
1889
|
render() {
|
|
1888
1890
|
const { width: containerWidth } = this.containerDimensions;
|
|
1889
1891
|
const visibleItems = this.getVisibleItems();
|
|
1890
|
-
return (h(Host, { key: '
|
|
1892
|
+
return (h(Host, { key: 'c0fd60e189050acf992bc2026e4ad8ccb29979b7', class: classes(['zonos--virtual-scroll']) }, h("div", { key: 'bff8755f234cf5d424c43d14b5b565e09bab6096', class: classes(['scroller']), style: {
|
|
1891
1893
|
height: `${this.totalHeight}px`,
|
|
1892
1894
|
width: `${containerWidth}px`,
|
|
1893
|
-
} }), h("div", { key: '
|
|
1895
|
+
} }), h("div", { key: '95cc9958b418e2c42936b08f453f2415279985e9', class: classes(['item-container']), style: {
|
|
1894
1896
|
height: `${this.totalHeight}px`,
|
|
1895
1897
|
} }, visibleItems.map(({ element }) => element))));
|
|
1896
1898
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { l as localizationStore, t as translate, h as currencyFormat } from './localization-
|
|
3
|
-
import { z as zonosStore } from './zonosStore-
|
|
2
|
+
import { l as localizationStore, t as translate, h as currencyFormat } from './localization-36a4dc22.js';
|
|
3
|
+
import { z as zonosStore } from './zonosStore-eca1e364.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import { f as formatStringWithLinks } from './formatStringWithLinks-0d48f183.js';
|
|
6
|
-
import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-
|
|
6
|
+
import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-d801be22.js';
|
|
7
7
|
import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
|
|
8
8
|
import { e as euCountryCodes } from './TaxId-63a14057.js';
|
|
9
9
|
import './handleFetch-a844cac1.js';
|
|
@@ -382,25 +382,25 @@ const ZonosHelloDialog = class {
|
|
|
382
382
|
// If deminimis is undefined or null, assume it's $0
|
|
383
383
|
const taxDeMinimisMessage = this.getTaxMessage();
|
|
384
384
|
const inclusivePriceMessage = this.getInclusivePriceMessage();
|
|
385
|
-
return (h(Host, { key: '
|
|
385
|
+
return (h(Host, { key: '4e9a8cb8064ba558d21a45675c3165621e44b1fa', class: "zonos--elements" }, h("div", { key: 'ab9428c38706dc0e908786a1d8965db4773bc9a4', class: classes([
|
|
386
386
|
'zonos--hello-dialog',
|
|
387
387
|
animateLeft && 'zonos--hello-dialog-animate-from-left',
|
|
388
388
|
animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
|
|
389
389
|
!!this.mobileLocationOverride &&
|
|
390
390
|
'zonos--hello-dialog-mobile-override',
|
|
391
391
|
this.isOpen && 'zonos--hello-dialog-open',
|
|
392
|
-
]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '
|
|
392
|
+
]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '8cb7b88b669c208f0cb46c1e2a3c6a2c953c4f15' }, h("div", { key: '9f7cb8f8146479fa2e3cad74deec1eef039dd7fc', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: 'cdec0506fd5f4a8fd4ab152ed79946e0af4ae05e', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: 'd16e6a8caea049e7d253c9d25e86bb761af1b209', spacing: 24 }, h("zonos-country-flag", { key: 'b5f8a405697b45383e3f79787dd6c8dbc05b5c79', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '781c5dddeb71d07792727e31e9b18631792c49ea', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '43eb83b2f31824cee858edb805d7fc1d7ffe6043', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: '6d77de6b476ff69a8f397060f6b0cf351c116dee', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '0bb7f48528f1890e13c12e739c93a8cd82456f7b', spacing: 8 }, this.restrictedItems.map(item => {
|
|
393
393
|
var _a;
|
|
394
394
|
return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
|
|
395
395
|
}), (dutyDeMinimisMessage ||
|
|
396
396
|
taxDeMinimisMessage ||
|
|
397
397
|
inclusivePriceMessage ||
|
|
398
|
-
!!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (h("zonos-card", { key: '
|
|
398
|
+
!!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (h("zonos-card", { key: '3c3b6e2b3bc79cc2d2771253df1b1e63078ab5eb', spacing: "12px" }, h("zonos-v-stack", { key: '15c26e6682006159018d52fb608dfed31a6298b0', spacing: 12 }, this.renderHelloMessage({
|
|
399
399
|
dutyDeMinimisMessage,
|
|
400
400
|
inclusivePriceMessage,
|
|
401
401
|
taxDeMinimisMessage,
|
|
402
402
|
}), additionalInformation === null || additionalInformation === void 0 ? void 0 :
|
|
403
|
-
additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '
|
|
403
|
+
additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '85b7a06c12465363e5c658603e197f65c9d8d64a', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: '343554a61f2ce5b011ea7b896e52bec5c9c1a2fd' }, h("zonos-country-select", { key: '9cea5cded20ca68c0e6ed4ca89df776acd08e1b1', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '6e6d43b3fb6961b0968355fc8cf5dd2ff7a54ca6' }, h("zonos-language-select", { key: '42b784a64350f9816bf15906f73e009ac14052d9', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
|
|
404
404
|
}
|
|
405
405
|
static get assetsDirs() { return ["assets"]; }
|
|
406
406
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { d as debounce_1 } from './debounce-
|
|
3
|
-
import { l as localizationStore,
|
|
4
|
-
import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-
|
|
2
|
+
import { d as debounce_1 } from './debounce-84ade9c2.js';
|
|
3
|
+
import { l as localizationStore, m as isValidSelector, t as translate, g as getZCountryUrlParam, o as setZCountryUrlParam, p as currencyDisplay, q as currencyConvertAndFormat, r as currencyConvert, h as currencyFormat, u as shouldShowHelloWidget } from './localization-36a4dc22.js';
|
|
4
|
+
import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-eca1e364.js';
|
|
5
5
|
import { c as classes } from './classes-0d95c529.js';
|
|
6
6
|
import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
|
|
7
7
|
import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, 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 { c as classes } from './classes-0d95c529.js';
|
|
4
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
4
|
+
import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
|
|
5
5
|
import './VarianceTest-572cecf5.js';
|
|
6
6
|
|
|
7
7
|
const zonosInputCss = ":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{margin:1px}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%;background:var(--zonos-elements-input-background);border-radius:var(--zonos--border-radius);border:var(--zonos-elements-border)}:host .zonos--label-wrapper:hover{border:1px solid var(--zonos-elements-gray-300)}:host .zonos--floated-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--zonos--border-radius);background:var(--zonos-elements-input-background);border:0;-ms-flex-order:2;order:2;font-weight:500}:host .zonos--floated-input :-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}:host .zonos--floated-input :-internal-autofill-selected+label+div{background-color:#e8f0fe}:host .zonos--floated-input.has-label{padding:16px 4px 8px 16px}:host .zonos--floated-input.has-label.has-input-prefix{padding-left:0}:host .zonos--floated-input.has-label.has-input-prefix+.zonos--floated-label::before{margin-left:0}:host .zonos--floated-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:focus{outline:none}:host .zonos--floated-input:focus+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-blue);box-shadow:var(--zonos-elements-glow-blue)}:host .zonos--floated-input.has-error+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-error);box-shadow:var(--zonos-elements-glow-error)}:host .zonos--floated-input.has-content::-webkit-input-placeholder,:host .zonos--floated-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-moz-placeholder,:host .zonos--floated-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content:-ms-input-placeholder,:host .zonos--floated-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-ms-input-placeholder,:host .zonos--floated-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::placeholder,:host .zonos--floated-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content+.zonos--floated-label::before,:host .zonos--floated-input:focus+.zonos--floated-label::before{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-input:-webkit-autofill,:host .zonos--floated-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label::before{content:attr(data-label);color:var(--zonos-elements-gray-800);position:absolute;font-size:var(--zonos-elements-font-size-base);line-height:var(--zonos-elements-font-size-base);display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - var(--zonos-elements-font-size-base) / 2);z-index:1}:host .zonos--floated-label::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius)}:host{}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host(.sm){height:calc(var(--zonos-elements-size-sm) - 2px)}:host(.sm) .zonos--floated-input.has-label{padding-top:13px;padding-bottom:0}:host(.sm) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.sm) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:2px}:host(.md){height:calc(var(--zonos-elements-size-md) - 2px)}:host(.md) .zonos--floated-input.has-label{padding-top:20px}:host(.md) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.md) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:6px}:host(.lg){height:calc(var(--zonos-elements-size-lg) - 2px)}:host(.lg) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.lg) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:10px}:host(.xl){height:calc(var(--zonos-elements-size-xl) - 2px)}:host(.xl) .zonos--floated-input.has-label{padding-bottom:2px}";
|
|
@@ -38,17 +38,17 @@ const ZonosInput = class {
|
|
|
38
38
|
this.inputChange.emit(newValue);
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'bda69850cbd7478614011282716320c87ae9f9aa', class: classes([
|
|
42
42
|
'zonos--input zonos--elements',
|
|
43
43
|
this.inputSize,
|
|
44
44
|
this.isError && 'has-error',
|
|
45
45
|
]), style: {
|
|
46
46
|
'--zonos--border-radius': getBorderRadius(),
|
|
47
47
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
48
|
-
} }, h("div", { key: '
|
|
48
|
+
} }, h("div", { key: '4159ba855ec2b63cdeba2f1c22179ca52e0c677d', class: classes([
|
|
49
49
|
'zonos--label-wrapper',
|
|
50
50
|
this.isDisabled && 'disabled',
|
|
51
|
-
]) }, h("input", { key: '
|
|
51
|
+
]) }, h("input", { key: '97609767c20661f2dc485b56cb90a6007102660b', class: classes([
|
|
52
52
|
'zonos--floated-input',
|
|
53
53
|
!!this.inputLabel && 'has-label',
|
|
54
54
|
this.inputValue && 'has-content',
|
|
@@ -56,7 +56,7 @@ const ZonosInput = class {
|
|
|
56
56
|
]), disabled: this.isDisabled, onInput: e => {
|
|
57
57
|
const input = e.target;
|
|
58
58
|
this.inputChange.emit(input.value);
|
|
59
|
-
}, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '
|
|
59
|
+
}, placeholder: this.inputPlaceholder, type: "text", value: this.value }), h("label", { key: '9bb796fcb97082a8d2c3945ed6f0a4181d6ca7d9', class: "zonos--floated-label", "data-label": this.inputLabel }))));
|
|
60
60
|
}
|
|
61
61
|
get el() { return getElement(this); }
|
|
62
62
|
static get watchers() { return {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { d as cartStore } from './cart-
|
|
3
|
-
import { t as translate } from './localization-
|
|
4
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
2
|
+
import { d as cartStore } from './cart-2e407f7b.js';
|
|
3
|
+
import { t as translate } from './localization-36a4dc22.js';
|
|
4
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-282384f0.js';
|
|
5
5
|
import { c as classes } from './classes-0d95c529.js';
|
|
6
|
-
import { c as invoiceStore } from './invoice-
|
|
6
|
+
import { c as invoiceStore } from './invoice-67a47785.js';
|
|
7
7
|
import { r as renderFallback } from './renderFallback-b250f4e9.js';
|
|
8
|
-
import './zonosStore-
|
|
8
|
+
import './zonosStore-eca1e364.js';
|
|
9
9
|
import './VarianceTest-572cecf5.js';
|
|
10
10
|
import './handleFetch-a844cac1.js';
|
|
11
|
-
import './isDarkColor-
|
|
12
|
-
import './getBorderRadius-
|
|
11
|
+
import './isDarkColor-939d8e9c.js';
|
|
12
|
+
import './getBorderRadius-1f7be586.js';
|
|
13
13
|
import './TaxId-63a14057.js';
|
|
14
14
|
|
|
15
15
|
const zonosInvoiceCartItemsCss = ":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:last-child{text-align:right;padding-right:0}:host .zonos--cart-table .zonos--column:first-child{padding-left:0;width:50px}:host .zonos--cart-table .zonos--cart-item-link{text-align:left}:host .zonos--cart-table .zonos--cart-item-created-at{text-align:right}:host .zonos--cart-table td{vertical-align:middle}:host .zonos--cart-item-price zonos-text{white-space:nowrap}:host(.mobile) table{margin-top:16px}:host(.mobile) table td{vertical-align:top}";
|
|
@@ -31,10 +31,10 @@ const ZonosInvoiceCartItems = class {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
const nonRestrictedItems = cartStore.items.filter(item => !item.isRestricted);
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '48cbe765b1096303cf0f2b051b0bac3911fba19b', class: classes([
|
|
35
35
|
'zonos--invoice-cart-items zonos--elements',
|
|
36
36
|
this.isMobile && 'mobile',
|
|
37
|
-
]) }, h("table", { key: '
|
|
37
|
+
]) }, h("table", { key: '83a2f9d2de381d1f941f5d09681b3a8e58a38a08', class: "zonos--cart-table" }, h("tbody", { key: '5fbce46a1069457eb578ea737b42f05982aa5867' }, nonRestrictedItems.map(item => {
|
|
38
38
|
var _a, _b, _c, _d;
|
|
39
39
|
const invoiceId = (_b = (_a = item.attributes) === null || _a === void 0 ? void 0 : _a.find(metadata => metadata.key === 'invoiceId' || metadata.key === 'INVOICE_ID')) === null || _b === void 0 ? void 0 : _b.value;
|
|
40
40
|
const invoiceCreatedAt = (_d = (_c = item.attributes) === null || _c === void 0 ? void 0 : _c.find(metadata => metadata.key === 'invoiceCreatedAt')) === null || _d === void 0 ? void 0 : _d.value;
|
|
@@ -70,10 +70,10 @@ const ZonosInvoiceSubtotal = class {
|
|
|
70
70
|
this.isMobile = false;
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: 'b98712b01891581bb2b64f5afd82711f7d41b585', class: classes([
|
|
74
74
|
'zonos--invoice-subtotal zonos--elements',
|
|
75
75
|
this.isMobile && 'mobile',
|
|
76
|
-
]) }, h("table", { key: '
|
|
76
|
+
]) }, h("table", { key: 'ea7242545b5aa891a5214d426a96fa51ed8d5b5c', class: "zonos--invoice-table" }, h("tr", { key: '7aef27c5154017fd322869c514dc20c42009a855', class: "zonos--row zonos--invoice-total" }, h("td", { key: '60c5689c39d962b6c5a415bb93243259c815bfad', class: "zonos--column" }), h("td", { key: 'b5886f54449738b01fa7a2884f7101a2f910dd21', class: "zonos--column zonos--invoice-subtotal-title" }, h("zonos-text", { key: '1689b03f73918e7c2b6d3e1ef458473e817ac54c', type: "semiBoldLabel" }, translate('Payment total'))), h("td", { key: 'f456cd24f03fe451814a7f0de609eed2ad761530', class: "zonos--column zonos--invoice-subtotal-price" }, renderFallback({
|
|
77
77
|
content: (h("zonos-text", { type: "semiBoldLabel" }, renderCheckoutCurrency({
|
|
78
78
|
amount: invoiceStore.amountTotalDue || 0,
|
|
79
79
|
isForeign: true,
|
|
@@ -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 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-
|
|
3
|
-
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-
|
|
4
|
-
import { t as translate, s as storageStore, l as localizationStore } from './localization-
|
|
5
|
-
import { z as zonosStore } from './zonosStore-
|
|
2
|
+
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';
|
|
3
|
+
import { s as submitAnalytics, c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-6dca6567.js';
|
|
4
|
+
import { t as translate, s as storageStore, k as languages, l as localizationStore } from './localization-36a4dc22.js';
|
|
5
|
+
import { z as zonosStore } from './zonosStore-eca1e364.js';
|
|
6
6
|
import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
|
|
7
7
|
import { c as createCustomEvent } from './createCustomEvent-58159025.js';
|
|
8
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
8
|
+
import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
|
|
9
9
|
import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
|
|
10
10
|
import { i as isInvoiceMobile, a as isInvoiceTablet } from './isInvoiceMobileTablet-1f7b614e.js';
|
|
11
11
|
import { c as classes } from './classes-0d95c529.js';
|
|
12
|
-
import {
|
|
13
|
-
import { c as invoiceStore } from './invoice-
|
|
14
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
15
|
-
import { p as placeTestOrder } from './placeTestOrder-
|
|
12
|
+
import { s as shouldShowLanguageSelect } from './shouldShowLanguageSelect-328f50e2.js';
|
|
13
|
+
import { c as invoiceStore } from './invoice-67a47785.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
|
|
|
@@ -270,11 +270,11 @@ const ZonosInvoiceFinish = class {
|
|
|
270
270
|
}
|
|
271
271
|
render() {
|
|
272
272
|
const cartId = window.Zonos.cartId;
|
|
273
|
-
return (h(Host, { key: '
|
|
273
|
+
return (h(Host, { key: '755581819b6a2e9d97e0faf671320e9390a3000a', class: "zonos--checkout-finish zonos--elements", style: {
|
|
274
274
|
'--zonos--border-radius': getBorderRadius({
|
|
275
275
|
overrideBorderStyle: this.borderRadius,
|
|
276
276
|
}),
|
|
277
|
-
} }, !this.isLoading && (h("div", { key: '
|
|
277
|
+
} }, !this.isLoading && (h("div", { key: 'a5112a4c35f95d80d567d1d9ca690c297f75bba8', class: "zonos--finish-details" }, h("div", { key: 'f17f25e741a7a846e4d0d653f2e67c6b36ebd77a', 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: '1169bd299d16f1b063de9638c6c6fce00cf9d0a6', class: "zonos--title", type: "semiBoldSubheader" }, this.notificationTitle), this.confirmationId && (h("zonos-badge", { key: 'db6aebf906ad52207c8bc898c856b7a2a7f061e1', badgeColor: "gray" }, this.confirmationId)), h("zonos-text", { key: 'fd5516196ec5f645718b7fbf0c9de66ab322505b', class: "zonos--subtitle", textColor: "gray-600" }, this.notificationMessages.map(message => (h(Fragment, null, message, h("br", null))))), this.order && cartId && (h("div", { key: 'f50f1e9ed26e609346cdf3bdc1f93689d3c99d06', class: "zonos--button-container" }, h("zonos-button", { key: '3dadbbfe5113e02412bb6b890b4d2923101e3c31', onClick: () => {
|
|
278
278
|
window.open(this.getReceiptUrl({ cartId }), '_blank');
|
|
279
279
|
}, size: "lg", variant: "primary" }, translate('View receipt')))))))));
|
|
280
280
|
}
|
|
@@ -336,18 +336,20 @@ const ZonosInvoiceFooter = class {
|
|
|
336
336
|
}
|
|
337
337
|
render() {
|
|
338
338
|
var _a;
|
|
339
|
+
// label resolves against every language, not just the offered ones, so the current
|
|
340
|
+
// locale always renders even if the merchant later drops it from the selector
|
|
339
341
|
const languageLabel = (_a = languages.find(x => x.code === localizationStore.selectedLocale)) === null || _a === void 0 ? void 0 : _a.label;
|
|
340
342
|
// reverse color when on desktop. With the coversheet backdrop, the color should be white
|
|
341
343
|
const colorDesktop = 'gray-1000';
|
|
342
|
-
return (h(Host, { key: '
|
|
344
|
+
return (h(Host, { key: '1cd5499e17c070498d65ebbca71d0cbe3c825456', class: classes([
|
|
343
345
|
'zonos--elements',
|
|
344
346
|
this.isMobile && 'mobile',
|
|
345
347
|
this.isTablet && 'tablet',
|
|
346
|
-
]) }, h("div", { key: '
|
|
348
|
+
]) }, h("div", { key: '2f31caade367c351d84571034eda59179c227084', class: "zonos--invoice-footer" }, h("div", { key: '25f127514ad98939aee122c6b4772198e095b26d', class: "zonos--invoice-locale-wrapper" }, shouldShowLanguageSelect() && (h(Fragment, { key: '03d37a0e0e94cf42d74a5c59905f7e7219533274' }, h("zonos-button", { key: '76aab1e78afa3a51f579f865a24591acea0baadc', buttonColor: colorDesktop, class: "zonos--invoice-footer-language-button", icon: h("zonos-icon", { "aria-label": "Language select", content: Globe, iconColor: colorDesktop }), onClick: () => this.toggleLanguageDialog(), variant: "subtle" }, h("span", { key: '28642dac198b7c61bef48d211c8a820e0c8d1fcc', class: "zonos--invoice-locale-label" }, languageLabel, h("zonos-icon", { key: '364b048befa8c5f45b6869f18b90b27da4b37056', "aria-hidden": "true", class: "zonos--invoice-locale-chevron", content: ChevronDownIcon$1, iconColor: colorDesktop, size: 18 }))), h("div", { key: 'ed4b425741e6aecc49882993be57da58de7d437b', class: classes([
|
|
347
349
|
'zonos--invoice-language-dialog',
|
|
348
350
|
this.showLanguageDialog &&
|
|
349
351
|
'zonos--invoice-language-dialog-open',
|
|
350
|
-
]) }, h("zonos-language-select", { key: '
|
|
352
|
+
]) }, h("zonos-language-select", { key: 'e4c5e31e8cfdf0ca52a5b935743bda347f9fa7c1', handleOnClose: () => this.toggleLanguageDialog() }))))), h("div", { key: '1d0a2613e3a0d487b059fc66fb48f53858a4e6c7', class: "zonos--invoice-footer-icon-wrapper" }, h("div", { key: 'a27c7eebe0dca7fedbc1e6e22438393391ec9024', class: "zonos--invoice-footer-logo" }, h("zonos-text", { key: '1013250d247fdb33ec365f8b3ffe9ca65d431d9d', textColor: colorDesktop }, translate('Powered by')), h("a", { key: 'ef93dda1f051f353da9e5f286942cc0a0e8015f7', href: "https://zonos.com", target: "_blank", title: "Zonos website" }, h("zonos-icon", { key: 'de7cc9e5027eb85e7c578afda15a3b3f4e260e91', autoHeight: true, content: ZonosWordmark, size: 42 }))), h("div", { key: '180e60cdd756303a14a4a80b72b81b4a4e1c124a', class: "dot" }), h("a", { key: '7f46908aa8cd49974d7525d7110dbb25402586ab', href: "https://zonos.com/docs/legal/zonos-privacy-policy", target: "_blank" }, h("zonos-text", { key: 'bba7017be84a8e320ca4d8fb2074822cd7e9f917', textColor: colorDesktop }, translate('Privacy policy')))))));
|
|
351
353
|
}
|
|
352
354
|
get el() { return getElement(this); }
|
|
353
355
|
static get watchers() { return {
|
|
@@ -660,13 +662,13 @@ const ZonosInvoiceReview = class {
|
|
|
660
662
|
}
|
|
661
663
|
render() {
|
|
662
664
|
const titleTextColor = this.isMobile ? 'gray-1000' : 'gray-800';
|
|
663
|
-
return (h(Host, { key: '
|
|
665
|
+
return (h(Host, { key: '46c130c8e6aeacdd5f74feb613ec5829c0be396d', class: classes([
|
|
664
666
|
'zonos--invoice-review zonos--elements',
|
|
665
667
|
this.isMobile && 'mobile',
|
|
666
668
|
this.isTablet && 'tablet',
|
|
667
|
-
]) }, h("div", { key: '
|
|
669
|
+
]) }, h("div", { key: '9649e31a3053c9772363620cf2acfe557ace8715', class: "zonos--title" }, h("zonos-text", { key: '1b365c27c2280e61c4849c7382a945716ec2abf8', textColor: titleTextColor, type: 'semiBoldLabel' }, translate('Pay [organizationName]', {
|
|
668
670
|
organizationName: zonosStore.organizationName,
|
|
669
|
-
}))), h("div", { key: '
|
|
671
|
+
}))), h("div", { key: 'a1f24eb0f3080ec0ddad9ca323f49dd391117326', class: "zonos--total-pay" }, renderFallback({
|
|
670
672
|
content: (h("zonos-text", { type: 'secondaryPageHeader' }, renderCheckoutCurrency({
|
|
671
673
|
amount: invoiceStore.amountTotalDue || 0,
|
|
672
674
|
isForeign: true,
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, F as Fragment } from './index-cfd394c8.js';
|
|
2
|
-
import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, 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-
|
|
3
|
-
import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-
|
|
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 { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, 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';
|
|
3
|
+
import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-67a47785.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 isInvoiceMobile, a as isInvoiceTablet } from './isInvoiceMobileTablet-1f7b614e.js';
|
|
10
10
|
import { c as classes } from './classes-0d95c529.js';
|
|
11
11
|
import { l as log } from './VarianceTest-572cecf5.js';
|
|
12
|
-
import
|
|
13
|
-
import './
|
|
14
|
-
import './getBorderRadius-dc982fe6.js';
|
|
12
|
+
import './isDarkColor-939d8e9c.js';
|
|
13
|
+
import './getBorderRadius-1f7be586.js';
|
|
15
14
|
import './TaxId-63a14057.js';
|
|
16
|
-
import './isContrastColor-
|
|
17
|
-
import './submitGtag-
|
|
15
|
+
import './isContrastColor-9fa0d013.js';
|
|
16
|
+
import './submitGtag-71c450b6.js';
|
|
18
17
|
|
|
19
18
|
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>`;
|
|
20
19
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import {
|
|
3
|
-
import { f as zonosStoreFontFamily } from './zonosStore-
|
|
4
|
-
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
2
|
+
import { C as localizationStoreUpdateSelectedLocale, t as translate, y as getSupportedLanguages, l as localizationStore } from './localization-36a4dc22.js';
|
|
3
|
+
import { f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
|
|
5
4
|
import './handleFetch-a844cac1.js';
|
|
6
5
|
import './VarianceTest-572cecf5.js';
|
|
7
6
|
|
|
@@ -30,9 +29,9 @@ const ZonosLanguageSelect = class {
|
|
|
30
29
|
}
|
|
31
30
|
render() {
|
|
32
31
|
const { selectedLocale } = localizationStore;
|
|
33
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'b557082e699209af33ab25715d5cb23fb8a20f56', class: "zonos--elements", style: {
|
|
34
33
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
35
|
-
} }, h("div", { key: '
|
|
34
|
+
} }, h("div", { key: 'f5fa8a8163aa46589d67df8d7b69a9b60c7c3994', class: "zonos--language-select" }, h("zonos-select-dialog-header", { key: '7ffc14b7fab4014352361424de6ea6e2fc8d7f6c', handleOnClose: () => this.handleOnClose(), label: translate('Select a language') }), h("div", { key: 'ab06dd27d199ef7223ce4421ab4d4e7a5816e402', class: "zonos--language-select-content" }, getSupportedLanguages().map(language => (h("button", { class: "zonos--language-select-button", onClick: () => this.languageSelected(language.code) }, h("zonos-text", { textColor: "gray-800" }, language.translatedLabel), language.code === selectedLocale && (h("zonos-icon", { content: GreenCheckDuotoneIcon, size: 16 })))))))));
|
|
36
35
|
}
|
|
37
36
|
};
|
|
38
37
|
ZonosLanguageSelect.style = ZonosLanguageSelectStyle0;
|
|
@@ -56,9 +55,9 @@ const ZonosSelectDialogHeader = class {
|
|
|
56
55
|
this.label = '';
|
|
57
56
|
}
|
|
58
57
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: '2c3fe65b8226875d1e543d87d622a2356c975bae', class: "zonos--elements", style: {
|
|
60
59
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
61
|
-
} }, h("zonos-v-stack", { key: '
|
|
60
|
+
} }, h("zonos-v-stack", { key: '7e065cce508376405350d8cf0b90437c5bbbd6e9', class: "zonos--select-dialog-header-wrapper", spacing: 8 }, h("div", { key: '363ff8e4b18b50497b904af45bcf62ae374f90de', class: "zonos--select-dialog-header" }, h("zonos-text", { key: '5b3833d7186579859d067c205ab3cb70bf01ed99', type: "boldLabel" }, this.label), h("zonos-button", { key: '7dd27337e33c3d97544696a8d850204296474f5e', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close select dialog", content: RemoveIcon, size: 20 }), noBackground: true, onClick: () => this.handleOnClose() })), h("slot", { key: 'a5f6b16ecc6a1fb8c24bd783f0384d3506656f01' }))));
|
|
62
61
|
}
|
|
63
62
|
};
|
|
64
63
|
ZonosSelectDialogHeader.style = ZonosSelectDialogHeaderStyle0;
|
|
@@ -12,7 +12,7 @@ const ZonosLink = class {
|
|
|
12
12
|
this.href = '';
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'a8f6a7e96c5da6d98554ca6e40999596f7d4ead8', class: "zonos--elements" }, h("a", { key: '1df6e963d3e2e2dd5fadd97e39d3a05981458170', href: this.href, rel: this.rel, target: this.target, title: this.linkTitle }, h("slot", { key: '515048e9395bf523b29efaad40d60509ef0d767f' }))));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
ZonosLink.style = ZonosLinkStyle0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, e as getAssetPath, 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
4
|
import './VarianceTest-572cecf5.js';
|
|
5
5
|
|
|
@@ -22,11 +22,11 @@ const ZonosLogo = class {
|
|
|
22
22
|
const filterColor = this.theme === 'DARK'
|
|
23
23
|
? 'invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%)'
|
|
24
24
|
: 'whiteinvert(0%) sepia(100%) saturate(32%) hue-rotate(92deg) brightness(107%) contrast(107%)';
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '89d856c28d227afbe76656ce217544faad91715e', class: classes(['zonos--elements zonos--logo']), style: {
|
|
26
26
|
'--zonos--filter-color': filterColor,
|
|
27
27
|
'--zonos--font-family': zonosStoreFontFamily(),
|
|
28
28
|
'--zonos--width': this.width,
|
|
29
|
-
} }, h("img", { key: '
|
|
29
|
+
} }, h("img", { key: '025c97e65f2666028391f6ca2d548bf905528133', alt: "Zonos Logo", src: getAssetPath('./assets/ZonosLogo.png') })));
|
|
30
30
|
}
|
|
31
31
|
static get assetsDirs() { return ["assets"]; }
|
|
32
32
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { $ as getEnabledPolicies, E as policyConsentStore, a0 as storeCreditStoreSetEnabled, a1 as storeCreditStoreSetUseFullBalance, a2 as cartStoreUpdateStoreCredit, S as storeCreditStore, a3 as storeCreditStoreSetAmount, a4 as storeCreditStoreRefreshBalance, I as storeCreditStoreGetEffectiveAmount } from './cart-
|
|
3
|
-
import { l as localizationStore, t as translate } from './localization-
|
|
4
|
-
import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-
|
|
5
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
6
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
2
|
+
import { $ as getEnabledPolicies, E as policyConsentStore, a0 as storeCreditStoreSetEnabled, a1 as storeCreditStoreSetUseFullBalance, a2 as cartStoreUpdateStoreCredit, S as storeCreditStore, a3 as storeCreditStoreSetAmount, a4 as storeCreditStoreRefreshBalance, I as storeCreditStoreGetEffectiveAmount } from './cart-2e407f7b.js';
|
|
3
|
+
import { l as localizationStore, t as translate } from './localization-36a4dc22.js';
|
|
4
|
+
import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-eca1e364.js';
|
|
5
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-282384f0.js';
|
|
6
|
+
import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
|
|
7
7
|
import './VarianceTest-572cecf5.js';
|
|
8
8
|
import './handleFetch-a844cac1.js';
|
|
9
|
-
import './isDarkColor-
|
|
9
|
+
import './isDarkColor-939d8e9c.js';
|
|
10
10
|
import './TaxId-63a14057.js';
|
|
11
11
|
|
|
12
12
|
const zonosPolicyConsentCss = ":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{display:block;margin-top:20px}.zonos--policy-consent{background-color:var(--zonos-elements-gray-50);border:1px solid var(--zonos-elements-gray-200);border-radius:8px;padding:12px 14px;-webkit-transition:border-color 0.15s ease, background-color 0.15s ease;transition:border-color 0.15s ease, background-color 0.15s ease}.zonos--policy-consent:hover{border-color:var(--zonos-elements-gray-300)}.zonos--policy-consent--error{background-color:var(--zonos-elements-red-50);border-color:var(--zonos-elements-red-400)}.zonos--policy-consent-label{-ms-flex-align:center;align-items:center;cursor:pointer;display:-ms-flexbox;display:flex;gap:10px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.zonos--policy-consent-checkbox{accent-color:var(--zonos-elements-blue-600);cursor:pointer;-ms-flex-negative:0;flex-shrink:0;height:18px;margin:0;width:18px}.zonos--policy-consent-text{color:var(--zonos-elements-gray-800);font-size:14px;line-height:1.45}.zonos--policy-consent-text a{color:var(--zonos-elements-blue-600);text-decoration:underline;text-underline-offset:2px}.zonos--policy-consent-text a:hover{color:var(--zonos-elements-blue-700)}.zonos--policy-consent-error{color:var(--zonos-elements-red-600);font-size:13px;line-height:1.4;margin-top:8px;padding:0 4px}";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { f as zonosStoreFontFamily, z as zonosStore } from './zonosStore-
|
|
2
|
+
import { f as zonosStoreFontFamily, z as zonosStore } from './zonosStore-eca1e364.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
5
|
-
import { g as getContrastColor } from './getContrastColor-
|
|
4
|
+
import { g as getBorderRadius } from './getBorderRadius-1f7be586.js';
|
|
5
|
+
import { g as getContrastColor } from './getContrastColor-4c0ae8c1.js';
|
|
6
6
|
import { i as isColorVariable } from './isColorVariable-0a94004f.js';
|
|
7
7
|
import './VarianceTest-572cecf5.js';
|
|
8
|
-
import './isDarkColor-
|
|
9
|
-
import './isContrastColor-
|
|
8
|
+
import './isDarkColor-939d8e9c.js';
|
|
9
|
+
import './isContrastColor-9fa0d013.js';
|
|
10
10
|
|
|
11
11
|
const zonosShippingRichRadioCss = ":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{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--zonos--selected-border-color, var(--zonos-elements-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:16px;-ms-flex-align:center;align-items:center;gap:16px;cursor:pointer;border:1px solid var(--zonos-elements-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));border-top-right-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));border-bottom-left-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--zonos--selected-border-color, var(--zonos-elements-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";
|
|
12
12
|
const ZonosShippingRichRadioStyle0 = zonosShippingRichRadioCss;
|