@zonos/elements 1.3.219 → 1.3.220
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-9a2b32e4.js → cart-9a9ae4b9.js} +2 -2
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{isCollectMobileTablet-7e57fd90.js → isCollectMobileTablet-7a9413e3.js} +12 -9
- package/dist/cjs/{localization-b12edb2a.js → localization-0169b27d.js} +1 -1
- package/dist/cjs/{paypal-e80871d0.js → paypal-9ee374a0.js} +3 -3
- package/dist/cjs/{placeTestOrder-8222fe95.js → placeTestOrder-0dfff170.js} +2 -2
- package/dist/cjs/{translationStore-20a6d8bf.js → translationStore-0c67178f.js} +60 -0
- package/dist/cjs/zonos-address_11.cjs.entry.js +40 -28
- package/dist/cjs/zonos-badge.cjs.entry.js +3 -3
- package/dist/cjs/zonos-banner_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +11 -14
- package/dist/cjs/zonos-checkout.cjs.entry.js +4 -4
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +6 -6
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +44 -43
- package/dist/cjs/zonos-collect.cjs.entry.js +5 -5
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-confirm-dialog_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-controller.cjs.entry.js +4 -4
- package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +11 -11
- package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +14 -6
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +6 -6
- package/dist/cjs/zonos-hello.cjs.entry.js +2 -2
- package/dist/cjs/zonos-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -6
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
- package/dist/cjs/zonos-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +0 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +1 -1
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.css +6 -0
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.js +23 -21
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-footer/zonos-collect-footer.js +3 -3
- package/dist/collection/components/checkout/zonos-collect/zonos-collect-review/zonos-collect-review.css +3 -0
- 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 +7 -7
- 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 +2 -2
- 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-stripe-select/zonos-stripe-select.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-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +4 -4
- 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/checkout/collect.js +10 -7
- package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
- package/dist/collection/components/store/translationStore/strings.base.js +3 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
- package/dist/collection/components/store/translationStore/strings.french.js +3 -0
- package/dist/collection/components/store/translationStore/strings.german.js +3 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.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-link-authentication/zonos-link-authentication.js +15 -3
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +9 -1
- package/dist/collection/types/generated/graphql.internal.types.js +10 -0
- package/dist/esm/{cart-acf4ebf5.js → cart-b2dd578c.js} +2 -2
- package/dist/esm/index.js +7 -7
- package/dist/esm/{isCollectMobileTablet-b72b81c5.js → isCollectMobileTablet-7f9a5e2b.js} +12 -9
- package/dist/esm/{localization-8646f526.js → localization-d7125e4e.js} +1 -1
- package/dist/esm/{paypal-2fa930eb.js → paypal-555bbf1e.js} +3 -3
- package/dist/esm/{placeTestOrder-d1ad9cf6.js → placeTestOrder-2d67c1a9.js} +2 -2
- package/dist/esm/{translationStore-c9743292.js → translationStore-13502f49.js} +60 -0
- package/dist/esm/zonos-address_11.entry.js +40 -28
- package/dist/esm/zonos-badge.entry.js +3 -3
- package/dist/esm/zonos-banner_2.entry.js +4 -4
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-cart-items_12.entry.js +11 -14
- package/dist/esm/zonos-checkout.entry.js +4 -4
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-collect-cart-items_3.entry.js +6 -6
- package/dist/esm/zonos-collect-finish_6.entry.js +44 -43
- package/dist/esm/zonos-collect.entry.js +5 -5
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-confirm-dialog_2.entry.js +5 -5
- package/dist/esm/zonos-controller.entry.js +4 -4
- package/dist/esm/zonos-country-flag.entry.js +2 -2
- package/dist/esm/zonos-country-select_4.entry.js +11 -11
- package/dist/esm/zonos-empty-state-payment_4.entry.js +14 -6
- package/dist/esm/zonos-hello-dialog.entry.js +6 -6
- package/dist/esm/zonos-hello.entry.js +2 -2
- package/dist/esm/zonos-input.entry.js +4 -4
- package/dist/esm/zonos-language-select_2.entry.js +6 -6
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-stripe-input.entry.js +4 -4
- package/dist/esm/zonos-toggle.entry.js +2 -2
- package/dist/esm/zonos-tooltip.entry.js +2 -2
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm-es5/{cart-acf4ebf5.js → cart-b2dd578c.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/isCollectMobileTablet-7f9a5e2b.js +1 -0
- package/dist/esm-es5/{localization-8646f526.js → localization-d7125e4e.js} +1 -1
- package/dist/esm-es5/{paypal-2fa930eb.js → paypal-555bbf1e.js} +2 -2
- package/dist/esm-es5/{placeTestOrder-d1ad9cf6.js → placeTestOrder-2d67c1a9.js} +1 -1
- package/dist/esm-es5/translationStore-13502f49.js +1 -0
- package/dist/esm-es5/zonos-address_11.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner_2.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.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-confirm-dialog_2.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-empty-state-payment_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-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-stripe-input.entry.js +1 -1
- package/dist/esm-es5/zonos-toggle.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/scripts/index.d.ts +5 -4
- 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/checkout/zonos-collect/zonos-collect-finish/zonos-collect-finish.d.ts +1 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
- package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +1 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +205 -16
- package/dist/types/types/generated/graphql.internal.types.ts +218 -16
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-d045e2e5.entry.js → p-02667a58.entry.js} +1 -1
- package/dist/zonos-elements/{p-c0a54cf6.system.js → p-031d646e.system.js} +1 -1
- package/dist/zonos-elements/{p-c3c9b089.entry.js → p-0e07e1d6.entry.js} +1 -1
- package/dist/zonos-elements/p-126087a2.system.entry.js +1 -0
- package/dist/zonos-elements/{p-03980f76.entry.js → p-14f9bc8c.entry.js} +1 -1
- package/dist/zonos-elements/p-27d9abab.js +1 -0
- package/dist/zonos-elements/p-2813d72e.system.js +1 -0
- package/dist/zonos-elements/{p-10797d2b.system.entry.js → p-295d9c07.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-485416ec.js → p-2a6c964d.js} +1 -1
- package/dist/zonos-elements/{p-b12ec9f2.system.entry.js → p-2b3c7c77.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6696617a.system.entry.js → p-2b8897d1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d351ece6.system.entry.js → p-30432622.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9c0b78bf.system.entry.js → p-3462e9e4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-23293a0b.entry.js → p-372c2fc5.entry.js} +1 -1
- package/dist/zonos-elements/{p-195b33b6.system.entry.js → p-3c1b1be1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-69fd1b88.js → p-40a4266f.js} +1 -1
- package/dist/zonos-elements/{p-f74a6b78.system.entry.js → p-421dfb66.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-009c3ac5.system.entry.js → p-4f8563ad.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3c9714a8.system.entry.js → p-52d35358.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d26cffba.entry.js → p-567f7de7.entry.js} +1 -1
- package/dist/zonos-elements/p-5d9410da.entry.js +1 -0
- package/dist/zonos-elements/{p-f129a83b.system.entry.js → p-637b22ee.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-61c2c336.entry.js → p-63a42823.entry.js} +1 -1
- package/dist/zonos-elements/{p-8ca25e6c.entry.js → p-6b3a0874.entry.js} +1 -1
- package/dist/zonos-elements/p-73c1e91f.js +1 -0
- package/dist/zonos-elements/{p-909d36bf.entry.js → p-759ef3ca.entry.js} +1 -1
- package/dist/zonos-elements/{p-c8784a01.system.entry.js → p-79d8c3f3.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2c9381be.entry.js → p-7c4e7651.entry.js} +1 -1
- package/dist/zonos-elements/{p-70b81bbc.entry.js → p-7d2d2c94.entry.js} +1 -1
- package/dist/zonos-elements/{p-e455f060.system.entry.js → p-7e5bd9af.system.entry.js} +1 -1
- package/dist/zonos-elements/p-7ecbb2cb.entry.js +1 -0
- package/dist/zonos-elements/p-81b357f7.system.js +1 -1
- package/dist/zonos-elements/{p-f17fde5f.system.js → p-82e88a33.system.js} +1 -1
- package/dist/zonos-elements/{p-873b698a.entry.js → p-849b47aa.entry.js} +1 -1
- package/dist/zonos-elements/{p-0cec2dd2.system.entry.js → p-8dd47520.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-772ac0b7.js → p-932600b7.js} +1 -1
- package/dist/zonos-elements/{p-b1bd9fe7.system.entry.js → p-960e0ab1.system.entry.js} +1 -1
- package/dist/zonos-elements/p-9c5b8239.system.js +1 -0
- package/dist/zonos-elements/p-9fdd3264.system.entry.js +1 -0
- package/dist/zonos-elements/{p-58afbe2b.entry.js → p-a08a005d.entry.js} +1 -1
- package/dist/zonos-elements/p-a10de7fb.entry.js +1 -0
- package/dist/zonos-elements/p-a49b5e7f.system.entry.js +1 -0
- package/dist/zonos-elements/{p-23735db6.entry.js → p-a5b0a636.entry.js} +1 -1
- package/dist/zonos-elements/{p-dfb92907.entry.js → p-a77ed1b9.entry.js} +1 -1
- package/dist/zonos-elements/{p-750b7f32.system.entry.js → p-a800965d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-aca272ea.entry.js → p-b3d5bcf9.entry.js} +1 -1
- package/dist/zonos-elements/{p-2323ff0f.system.entry.js → p-b669050d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-95461a1b.system.entry.js → p-b9e9b82f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e2a45188.system.entry.js → p-ba18c5f5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-106ae0f1.entry.js → p-bbf48b31.entry.js} +1 -1
- package/dist/zonos-elements/{p-b5406d26.entry.js → p-c4b3c878.entry.js} +1 -1
- package/dist/zonos-elements/{p-2cc031b3.js → p-c7b57886.js} +2 -2
- package/dist/zonos-elements/{p-a7204d41.entry.js → p-c803753e.entry.js} +1 -1
- package/dist/zonos-elements/{p-29499a5f.entry.js → p-cbb01de9.entry.js} +1 -1
- package/dist/zonos-elements/{p-6dd63754.system.js → p-ce15d62d.system.js} +1 -1
- package/dist/zonos-elements/{p-1fe5d4da.system.entry.js → p-d291e964.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-07bea979.system.js → p-d3485a03.system.js} +1 -1
- package/dist/zonos-elements/{p-f0be0ca9.system.entry.js → p-de626806.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-56ee6d4b.system.entry.js → p-e5388438.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0d6c6a38.entry.js → p-e77b6e42.entry.js} +1 -1
- package/dist/zonos-elements/{p-d63696ac.system.js → p-ea8aff21.system.js} +1 -1
- package/dist/zonos-elements/{p-34a37ce7.system.entry.js → p-eb6a35ce.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-60c61982.system.entry.js → p-ee6f8c02.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2a9681b4.entry.js → p-f4fa8720.entry.js} +1 -1
- package/dist/zonos-elements/{p-26573347.entry.js → p-fa90adb8.entry.js} +1 -1
- package/dist/zonos-elements/{p-bfbc081f.entry.js → p-fe7e2dc4.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/isCollectMobileTablet-b72b81c5.js +0 -1
- package/dist/esm-es5/translationStore-c9743292.js +0 -1
- package/dist/zonos-elements/p-5e372fb9.entry.js +0 -1
- package/dist/zonos-elements/p-5ff4f9df.system.js +0 -1
- package/dist/zonos-elements/p-6761091e.entry.js +0 -1
- package/dist/zonos-elements/p-6761286d.js +0 -1
- package/dist/zonos-elements/p-6e8aae27.system.entry.js +0 -1
- package/dist/zonos-elements/p-81e23f30.system.js +0 -1
- package/dist/zonos-elements/p-87e2a777.entry.js +0 -1
- package/dist/zonos-elements/p-986ebccc.js +0 -1
- package/dist/zonos-elements/p-ddb29c2a.system.entry.js +0 -1
- package/dist/zonos-elements/p-eb54ece4.system.entry.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const zonosStore = require('./zonosStore-f8ee56aa.js');
|
|
4
|
-
const localization = require('./localization-
|
|
5
|
-
const translationStore = require('./translationStore-
|
|
4
|
+
const localization = require('./localization-0169b27d.js');
|
|
5
|
+
const translationStore = require('./translationStore-0c67178f.js');
|
|
6
6
|
const handleFetch = require('./handleFetch-45f35cac.js');
|
|
7
7
|
const isDarkColor = require('./isDarkColor-428965f4.js');
|
|
8
8
|
const getBorderRadius = require('./getBorderRadius-1b5e33cf.js');
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -132,7 +132,7 @@ const getZonosQaUrl = () => {
|
|
|
132
132
|
return null;
|
|
133
133
|
}
|
|
134
134
|
const qaUrl = extractZonosQaUrl(window.location.href);
|
|
135
|
-
const cdnUrl = "https://v1.3.
|
|
135
|
+
const cdnUrl = "https://v1.3.220.js.zonos.com";
|
|
136
136
|
// when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
|
|
137
137
|
if (!qaUrl &&
|
|
138
138
|
(cdnUrl.includes('test.') ||
|
|
@@ -379,10 +379,10 @@ const zonosLoadUrl = (() => {
|
|
|
379
379
|
}
|
|
380
380
|
return null;
|
|
381
381
|
})();
|
|
382
|
-
const ZONOS_URL = "https://v1.3.
|
|
383
|
-
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.
|
|
384
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.
|
|
385
|
-
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.
|
|
382
|
+
const ZONOS_URL = "https://v1.3.220.js.zonos.com";
|
|
383
|
+
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.220";
|
|
384
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.220";
|
|
385
|
+
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.220";
|
|
386
386
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
387
387
|
const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
|
|
388
388
|
class Zonos {
|
|
@@ -400,7 +400,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
|
|
|
400
400
|
? new URLSearchParams(window.location.search).get('iframeLogType')
|
|
401
401
|
: null;
|
|
402
402
|
Zonos.isBigCommerce = false;
|
|
403
|
-
Zonos.releaseDate = "
|
|
403
|
+
Zonos.releaseDate = "1751901283853";
|
|
404
404
|
Zonos.isLegacyCheckout = false;
|
|
405
405
|
Zonos.domain = typeof window !== 'undefined'
|
|
406
406
|
? // domain that embeds the iframe
|
|
@@ -419,7 +419,7 @@ Zonos.isNpm = true;
|
|
|
419
419
|
Zonos.zonosQaUrl = null;
|
|
420
420
|
Zonos.zonosQaUrlApi = null;
|
|
421
421
|
Zonos.trackEventLogs = [];
|
|
422
|
-
Zonos.version = `v${"1.3.
|
|
422
|
+
Zonos.version = `v${"1.3.220"}`;
|
|
423
423
|
Zonos.modeAlerted = false;
|
|
424
424
|
Zonos.cartData = null;
|
|
425
425
|
Zonos.paypal = null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const zonosStore = require('./zonosStore-f8ee56aa.js');
|
|
4
|
-
const cart = require('./cart-
|
|
5
|
-
const localization = require('./localization-
|
|
4
|
+
const cart = require('./cart-9a9ae4b9.js');
|
|
5
|
+
const localization = require('./localization-0169b27d.js');
|
|
6
6
|
const handleFetch = require('./handleFetch-45f35cac.js');
|
|
7
7
|
|
|
8
8
|
const { reset: collectStoreReset, state: collectStore } = zonosStore.createStore(() => ({
|
|
@@ -15,7 +15,7 @@ const { reset: collectStoreReset, state: collectStore } = zonosStore.createStore
|
|
|
15
15
|
shippingAddress: null,
|
|
16
16
|
}));
|
|
17
17
|
const collectStoreInitShippingInfo = async ({ landedCostId, retries = 5, }) => {
|
|
18
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j
|
|
18
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
19
19
|
collectStore.isFetchingShippingInfo = true;
|
|
20
20
|
const response = await handleFetch.handleFetch('/api/zonos-elements/collect/get-shipping-info-by-lc-id', {
|
|
21
21
|
body: {
|
|
@@ -39,14 +39,17 @@ const collectStoreInitShippingInfo = async ({ landedCostId, retries = 5, }) => {
|
|
|
39
39
|
collectStore.isFetchingShippingInfo = false;
|
|
40
40
|
collectStore.shippingAddress = ((_b = response.json) === null || _b === void 0 ? void 0 : _b.shipping) || null;
|
|
41
41
|
const landedCost = (_c = cart.cartStore.checkoutSession) === null || _c === void 0 ? void 0 : _c.landedCost;
|
|
42
|
+
const checkoutSessionSubtotals = (_d = cart.cartStore.checkoutSession) === null || _d === void 0 ? void 0 : _d.subtotals;
|
|
43
|
+
const amountTotalPaid = (((_e = landedCost === null || landedCost === void 0 ? void 0 : landedCost.amountSubtotals) === null || _e === void 0 ? void 0 : _e.shipping) || 0) +
|
|
44
|
+
(((_f = landedCost === null || landedCost === void 0 ? void 0 : landedCost.amountSubtotals) === null || _f === void 0 ? void 0 : _f.items) || 0);
|
|
45
|
+
// Convert the amount to the presentment currency
|
|
42
46
|
collectStore.amountTotalPaid =
|
|
43
|
-
(((
|
|
44
|
-
(((_e = landedCost === null || landedCost === void 0 ? void 0 : landedCost.amountSubtotals) === null || _e === void 0 ? void 0 : _e.items) || 0);
|
|
47
|
+
amountTotalPaid * (((_g = checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.exchangeRate) === null || _g === void 0 ? void 0 : _g.rate) || 1);
|
|
45
48
|
collectStore.amountDutyTaxFeeTotal =
|
|
46
|
-
((
|
|
47
|
-
((
|
|
48
|
-
((
|
|
49
|
-
collectStore.originCompanyName = ((
|
|
49
|
+
((checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.duties) || 0) +
|
|
50
|
+
((checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.taxes) || 0) +
|
|
51
|
+
((checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.fees) || 0);
|
|
52
|
+
collectStore.originCompanyName = ((_j = (_h = response.json) === null || _h === void 0 ? void 0 : _h.origin) === null || _j === void 0 ? void 0 : _j.companyName) || null;
|
|
50
53
|
if (collectStore.amountTotalPaid === 0) {
|
|
51
54
|
void handleFetch.sendErrorLog({
|
|
52
55
|
endpoint: 'COLLECT_NO_TOTAL_PAID',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const zonosStore = require('./zonosStore-f8ee56aa.js');
|
|
4
4
|
const handleFetch = require('./handleFetch-45f35cac.js');
|
|
5
5
|
const VarianceTest = require('./VarianceTest-0cb1e118.js');
|
|
6
|
-
const translationStore = require('./translationStore-
|
|
6
|
+
const translationStore = require('./translationStore-0c67178f.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Check if the response contains at least one available test key that we support
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const zonosStore = require('./zonosStore-f8ee56aa.js');
|
|
4
|
-
const cart = require('./cart-
|
|
5
|
-
const localization = require('./localization-
|
|
6
|
-
const translationStore = require('./translationStore-
|
|
4
|
+
const cart = require('./cart-9a9ae4b9.js');
|
|
5
|
+
const localization = require('./localization-0169b27d.js');
|
|
6
|
+
const translationStore = require('./translationStore-0c67178f.js');
|
|
7
7
|
const handleFetch = require('./handleFetch-45f35cac.js');
|
|
8
8
|
const isDarkColor = require('./isDarkColor-428965f4.js');
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const cart = require('./cart-
|
|
4
|
-
const localization = require('./localization-
|
|
3
|
+
const cart = require('./cart-9a9ae4b9.js');
|
|
4
|
+
const localization = require('./localization-0169b27d.js');
|
|
5
5
|
const handleFetch = require('./handleFetch-45f35cac.js');
|
|
6
6
|
|
|
7
7
|
const getDisplayCurrency = () => {
|
|
@@ -636,6 +636,9 @@ const stringsArabic = {
|
|
|
636
636
|
'Update your address': {
|
|
637
637
|
value: 'قم بتحديث عنوانك',
|
|
638
638
|
},
|
|
639
|
+
'View receipt': {
|
|
640
|
+
value: 'عرض الإيصال',
|
|
641
|
+
},
|
|
639
642
|
Village: {
|
|
640
643
|
value: 'قرية',
|
|
641
644
|
},
|
|
@@ -1348,6 +1351,9 @@ const stringsBase = {
|
|
|
1348
1351
|
'Update your address': {
|
|
1349
1352
|
value: 'Update your address',
|
|
1350
1353
|
},
|
|
1354
|
+
'View receipt': {
|
|
1355
|
+
value: 'View receipt',
|
|
1356
|
+
},
|
|
1351
1357
|
Village: {
|
|
1352
1358
|
value: 'Village',
|
|
1353
1359
|
},
|
|
@@ -2059,6 +2065,9 @@ const stringsChinese = {
|
|
|
2059
2065
|
'Update your address': {
|
|
2060
2066
|
value: '更新您的地址',
|
|
2061
2067
|
},
|
|
2068
|
+
'View receipt': {
|
|
2069
|
+
value: '查看收据',
|
|
2070
|
+
},
|
|
2062
2071
|
Village: {
|
|
2063
2072
|
value: '村庄',
|
|
2064
2073
|
},
|
|
@@ -2770,6 +2779,9 @@ const stringsDanish = {
|
|
|
2770
2779
|
'Update your address': {
|
|
2771
2780
|
value: 'Opdater din adresse',
|
|
2772
2781
|
},
|
|
2782
|
+
'View receipt': {
|
|
2783
|
+
value: 'Se kvittering',
|
|
2784
|
+
},
|
|
2773
2785
|
Village: {
|
|
2774
2786
|
value: 'Landsby',
|
|
2775
2787
|
},
|
|
@@ -3481,6 +3493,9 @@ const stringsDutch = {
|
|
|
3481
3493
|
'Update your address': {
|
|
3482
3494
|
value: 'Update uw adres',
|
|
3483
3495
|
},
|
|
3496
|
+
'View receipt': {
|
|
3497
|
+
value: 'Bekijk bon',
|
|
3498
|
+
},
|
|
3484
3499
|
Village: {
|
|
3485
3500
|
value: 'Dorp',
|
|
3486
3501
|
},
|
|
@@ -4192,6 +4207,9 @@ const stringsFrench = {
|
|
|
4192
4207
|
'Update your address': {
|
|
4193
4208
|
value: 'Mettez à jour votre adresse',
|
|
4194
4209
|
},
|
|
4210
|
+
'View receipt': {
|
|
4211
|
+
value: 'Voir le reçu',
|
|
4212
|
+
},
|
|
4195
4213
|
Village: {
|
|
4196
4214
|
value: 'Village',
|
|
4197
4215
|
},
|
|
@@ -4903,6 +4921,9 @@ const stringsGerman = {
|
|
|
4903
4921
|
'Update your address': {
|
|
4904
4922
|
value: 'Aktualisieren Sie Ihre Adresse',
|
|
4905
4923
|
},
|
|
4924
|
+
'View receipt': {
|
|
4925
|
+
value: 'Beleg anzeigen',
|
|
4926
|
+
},
|
|
4906
4927
|
Village: {
|
|
4907
4928
|
value: 'Dorf',
|
|
4908
4929
|
},
|
|
@@ -5614,6 +5635,9 @@ const stringsHebrew = {
|
|
|
5614
5635
|
'Update your address': {
|
|
5615
5636
|
value: 'עדכן את הכתובת שלך',
|
|
5616
5637
|
},
|
|
5638
|
+
'View receipt': {
|
|
5639
|
+
value: 'הצג קבלה',
|
|
5640
|
+
},
|
|
5617
5641
|
Village: {
|
|
5618
5642
|
value: 'כפר',
|
|
5619
5643
|
},
|
|
@@ -6325,6 +6349,9 @@ const stringsIndonesian = {
|
|
|
6325
6349
|
'Update your address': {
|
|
6326
6350
|
value: 'Perbarui alamat Anda',
|
|
6327
6351
|
},
|
|
6352
|
+
'View receipt': {
|
|
6353
|
+
value: 'Lihat tanda terima',
|
|
6354
|
+
},
|
|
6328
6355
|
Village: {
|
|
6329
6356
|
value: 'Desa',
|
|
6330
6357
|
},
|
|
@@ -7036,6 +7063,9 @@ const stringsItalian = {
|
|
|
7036
7063
|
'Update your address': {
|
|
7037
7064
|
value: 'Aggiorna il tuo indirizzo',
|
|
7038
7065
|
},
|
|
7066
|
+
'View receipt': {
|
|
7067
|
+
value: 'Visualizza ricevuta',
|
|
7068
|
+
},
|
|
7039
7069
|
Village: {
|
|
7040
7070
|
value: 'Villaggio',
|
|
7041
7071
|
},
|
|
@@ -7747,6 +7777,9 @@ const stringsJapanese = {
|
|
|
7747
7777
|
'Update your address': {
|
|
7748
7778
|
value: '住所を更新する',
|
|
7749
7779
|
},
|
|
7780
|
+
'View receipt': {
|
|
7781
|
+
value: '領収書を見る',
|
|
7782
|
+
},
|
|
7750
7783
|
Village: {
|
|
7751
7784
|
value: '村',
|
|
7752
7785
|
},
|
|
@@ -8458,6 +8491,9 @@ const stringsKorean = {
|
|
|
8458
8491
|
'Update your address': {
|
|
8459
8492
|
value: '주소를 업데이트하세요',
|
|
8460
8493
|
},
|
|
8494
|
+
'View receipt': {
|
|
8495
|
+
value: '영수증 보기',
|
|
8496
|
+
},
|
|
8461
8497
|
Village: {
|
|
8462
8498
|
value: '마을',
|
|
8463
8499
|
},
|
|
@@ -9169,6 +9205,9 @@ const stringsNorwegian = {
|
|
|
9169
9205
|
'Update your address': {
|
|
9170
9206
|
value: 'Oppdater adressen din',
|
|
9171
9207
|
},
|
|
9208
|
+
'View receipt': {
|
|
9209
|
+
value: 'Vis kvittering',
|
|
9210
|
+
},
|
|
9172
9211
|
Village: {
|
|
9173
9212
|
value: 'Landsby',
|
|
9174
9213
|
},
|
|
@@ -9880,6 +9919,9 @@ const stringsPolish = {
|
|
|
9880
9919
|
'Update your address': {
|
|
9881
9920
|
value: 'Zaktualizuj swój adres',
|
|
9882
9921
|
},
|
|
9922
|
+
'View receipt': {
|
|
9923
|
+
value: 'Zobacz paragon',
|
|
9924
|
+
},
|
|
9883
9925
|
Village: {
|
|
9884
9926
|
value: 'Wioska',
|
|
9885
9927
|
},
|
|
@@ -10591,6 +10633,9 @@ const stringsPortuguese = {
|
|
|
10591
10633
|
'Update your address': {
|
|
10592
10634
|
value: 'Atualize seu endereço',
|
|
10593
10635
|
},
|
|
10636
|
+
'View receipt': {
|
|
10637
|
+
value: 'Ver recibo',
|
|
10638
|
+
},
|
|
10594
10639
|
Village: {
|
|
10595
10640
|
value: 'Aldeia',
|
|
10596
10641
|
},
|
|
@@ -11302,6 +11347,9 @@ const stringsRussian = {
|
|
|
11302
11347
|
'Update your address': {
|
|
11303
11348
|
value: 'Обновите ваш адрес',
|
|
11304
11349
|
},
|
|
11350
|
+
'View receipt': {
|
|
11351
|
+
value: 'Просмотреть квитанцию',
|
|
11352
|
+
},
|
|
11305
11353
|
Village: {
|
|
11306
11354
|
value: 'Деревня',
|
|
11307
11355
|
},
|
|
@@ -12013,6 +12061,9 @@ const stringsSpanish = {
|
|
|
12013
12061
|
'Update your address': {
|
|
12014
12062
|
value: 'Actualiza tu dirección',
|
|
12015
12063
|
},
|
|
12064
|
+
'View receipt': {
|
|
12065
|
+
value: 'Ver recibo',
|
|
12066
|
+
},
|
|
12016
12067
|
Village: {
|
|
12017
12068
|
value: 'Pueblo',
|
|
12018
12069
|
},
|
|
@@ -12724,6 +12775,9 @@ const stringsSwedish = {
|
|
|
12724
12775
|
'Update your address': {
|
|
12725
12776
|
value: 'Uppdatera din adress',
|
|
12726
12777
|
},
|
|
12778
|
+
'View receipt': {
|
|
12779
|
+
value: 'Visa kvitto',
|
|
12780
|
+
},
|
|
12727
12781
|
Village: {
|
|
12728
12782
|
value: 'By',
|
|
12729
12783
|
},
|
|
@@ -13435,6 +13489,9 @@ const stringsTurkish = {
|
|
|
13435
13489
|
'Update your address': {
|
|
13436
13490
|
value: 'Adresini güncelle',
|
|
13437
13491
|
},
|
|
13492
|
+
'View receipt': {
|
|
13493
|
+
value: 'Makbuzu görüntüle',
|
|
13494
|
+
},
|
|
13438
13495
|
Village: {
|
|
13439
13496
|
value: 'Köy',
|
|
13440
13497
|
},
|
|
@@ -14146,6 +14203,9 @@ const stringsVietnamese = {
|
|
|
14146
14203
|
'Update your address': {
|
|
14147
14204
|
value: 'Cập nhật địa chỉ của bạn',
|
|
14148
14205
|
},
|
|
14206
|
+
'View receipt': {
|
|
14207
|
+
value: 'Xem biên lai',
|
|
14208
|
+
},
|
|
14149
14209
|
Village: {
|
|
14150
14210
|
value: 'Làng',
|
|
14151
14211
|
},
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-1c710d00.js');
|
|
6
6
|
const debounce$1 = require('./debounce-465a4328.js');
|
|
7
7
|
const zonosStore = require('./zonosStore-f8ee56aa.js');
|
|
8
|
-
const cart = require('./cart-
|
|
9
|
-
const localization = require('./localization-
|
|
10
|
-
const translationStore = require('./translationStore-
|
|
8
|
+
const cart = require('./cart-9a9ae4b9.js');
|
|
9
|
+
const localization = require('./localization-0169b27d.js');
|
|
10
|
+
const translationStore = require('./translationStore-0c67178f.js');
|
|
11
11
|
const handleFetch = require('./handleFetch-45f35cac.js');
|
|
12
12
|
const shouldRenderTaxIdInput = require('./shouldRenderTaxIdInput-9b8a8de1.js');
|
|
13
13
|
const classes = require('./classes-b7918f56.js');
|
|
@@ -397,11 +397,11 @@ const ZonosAddress$1 = class {
|
|
|
397
397
|
this.isAddressFilled = true;
|
|
398
398
|
}
|
|
399
399
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
400
|
-
return (index.h(index.Host, { key: '
|
|
400
|
+
return (index.h(index.Host, { key: '15928518601e48825589ce4de4580263fec6a745', class: classes.classes([
|
|
401
401
|
'zonos--address',
|
|
402
402
|
'zonos--elements',
|
|
403
403
|
`zonos--${this.type}-address`,
|
|
404
|
-
]) }, this.titleText && (index.h("zonos-text", { key: '
|
|
404
|
+
]) }, this.titleText && (index.h("zonos-text", { key: '2e666ed81597ac95d3de575a2d901d083e9100cc', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), this.renderCompanyNameInput(), this.renderTaxIdInput(), index.h("div", { key: '51aa6d2415bf6c7e067d0565b11a0d2c0629200b', class: "zonos--address-component" })));
|
|
405
405
|
}
|
|
406
406
|
get el() { return index.getElement(this); }
|
|
407
407
|
static get watchers() { return {
|
|
@@ -563,9 +563,9 @@ const ZonosAddressSuggestions = class {
|
|
|
563
563
|
return segments;
|
|
564
564
|
}
|
|
565
565
|
render() {
|
|
566
|
-
return (index.h(index.Host, { key: '
|
|
566
|
+
return (index.h(index.Host, { key: '8ef1b971b88cd2280c40e69e1f6824f64e618467', class: "zonos--address-suggestions", role: "group", style: {
|
|
567
567
|
'--zonos--border-radius': getBorderRadius.getBorderRadius(),
|
|
568
|
-
} }, index.h("ul", { key: '
|
|
568
|
+
} }, index.h("ul", { key: '383e615d02815aad0f06d468dfcfbef3640fd5f5', "aria-label": "Suggestions", class: "wrapper", role: "listbox" }, !!this.localSuggestions.length && (index.h("li", { key: 'f2e6b766f567b0933263e19666e440cf692f248c', "aria-selected": false, class: "powered-by option", role: "option" }, index.h("div", { key: 'd629272b98461726f7eda75fde4cf1070946cd70', class: "powered-by-container" }, index.h("zonos-text", { key: '5b5591b04da2034b783f61394dbdc8f172484972', type: "caption" }, "Suggestions powered by"), index.h("zonos-text", { key: '45352a7ba4314ee1d68c2a53bb722368182283ee', type: "semiBoldLabel" }, "Google")), index.h("zonos-button", { key: '506450cf69ef74cde9ed5159633040701994f455', "aria-label": "Clear suggestions", icon: index.h("zonos-icon", { content: RemoveIcon$1 }), noBackground: true, onClick: () => {
|
|
569
569
|
this.localSuggestions = [];
|
|
570
570
|
} }))), this.localSuggestions.map(suggestion => (
|
|
571
571
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
@@ -835,14 +835,14 @@ const ZonosCheckbox = class {
|
|
|
835
835
|
customRoundRadius: '4px',
|
|
836
836
|
overrideBorderStyle: this.borderStyle,
|
|
837
837
|
});
|
|
838
|
-
return (index.h(index.Host, { key: '
|
|
838
|
+
return (index.h(index.Host, { key: 'bef392ce775e35da3f0640dcbb8271437995daa7', class: classes.classes(['zonos--elements zonos--checkbox']), style: {
|
|
839
839
|
'--zonos--background-color': backgroundColor,
|
|
840
840
|
'--zonos--border-radius': borderStyle,
|
|
841
841
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
842
842
|
'--zonos--size': `${this.size}px`,
|
|
843
|
-
} }, index.h("label", { key: '
|
|
843
|
+
} }, index.h("label", { key: '059e2eabc4825738a6607cd307694b252ba55905', class: classes.classes([this.isDisabled && 'disabled']), htmlFor: this.inputId }, index.h("input", { key: 'a35c086ae478d5ac932608859e6b3250738c870f', checked: this.isChecked, disabled: this.isDisabled, hidden: true, id: this.inputId, onChange: e => {
|
|
844
844
|
this.checkboxSelected.emit(e.target.checked);
|
|
845
|
-
}, type: "checkbox" }), index.h("span", { key: '
|
|
845
|
+
}, type: "checkbox" }), index.h("span", { key: '2482799b470a2ef5050709b6de36469ec8321b04', class: "checkmark-container" }, index.h("svg", { key: '1034db2d054e98fe06688b602346097b3e7c7d9d', class: "checkmark", color: checkmarkColor, fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'b926b486910470ea3180a904e8ec5ca2cf8e452f', "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 && (index.h("zonos-text", { key: '5a31f075fb462c7419597f0d15b5e4a2f4e40148', size: this.fontSize }, this.label)))));
|
|
846
846
|
}
|
|
847
847
|
};
|
|
848
848
|
ZonosCheckbox.style = ZonosCheckboxStyle0;
|
|
@@ -1755,10 +1755,10 @@ const ZonosAddress = class {
|
|
|
1755
1755
|
this.country = localization.localizationStore.selectedCountryCode;
|
|
1756
1756
|
}
|
|
1757
1757
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
1758
|
-
return (index.h(index.Host, { key: '
|
|
1758
|
+
return (index.h(index.Host, { key: 'dcddfc6f0c63371c49f223f86a6c00df7ab30eed', class: classes.classes([
|
|
1759
1759
|
'zonos--address zonos--elements',
|
|
1760
1760
|
`zonos--${this.type}-address`,
|
|
1761
|
-
]) }, index.h("zonos-text", { key: '
|
|
1761
|
+
]) }, index.h("zonos-text", { key: '70139b5412028d5dba2cc51ee8e3a81e182fd19a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderCustomAddressForm()));
|
|
1762
1762
|
}
|
|
1763
1763
|
get el() { return index.getElement(this); }
|
|
1764
1764
|
static get watchers() { return {
|
|
@@ -1868,7 +1868,7 @@ const ZonosDialog = class {
|
|
|
1868
1868
|
const borderStyle = getBorderRadius.getBorderRadius({
|
|
1869
1869
|
overrideBorderStyle: this.borderStyle,
|
|
1870
1870
|
});
|
|
1871
|
-
return (index.h(index.Host, { key: '
|
|
1871
|
+
return (index.h(index.Host, { key: '6e673f681a3111d8e33c8cf4e8ab0c8f27c75d48', class: classes.classes([
|
|
1872
1872
|
'zonos--elements',
|
|
1873
1873
|
this.open && 'open',
|
|
1874
1874
|
this.isLoading && 'is-loading',
|
|
@@ -1880,10 +1880,10 @@ const ZonosDialog = class {
|
|
|
1880
1880
|
'--zonos--height': this.height || 'initial',
|
|
1881
1881
|
'--zonos--min-height': this.minHeight || '500px',
|
|
1882
1882
|
'--zonos--width': this.width,
|
|
1883
|
-
} }, index.h("div", { key: '
|
|
1883
|
+
} }, index.h("div", { key: 'f245de30fb680fd673bd8531f3982b73ed506308', class: "zonos--backdrop" }), index.h("div", { key: 'ee75ecd48e28f38be08b5db9078c0b3b28b9bd9f', class: "zonos--dialog-layout", inert: !this.open, onClick: this.clickOutsideDialogHandler }, index.h("div", { key: 'ce7d2273f358001b5899ba7a6ea8d5bd91ab55cb', class: "zonos--dialog" }, this.isLoading && (index.h("div", { key: 'e2cd0f877ed4f8b78b549a4aaedf1e67a234b0f7', class: "zonos--loading" }, index.h("zonos-spinner", { key: 'e0507e5fea599494979287fc4f13a7da08be758b', size: 30 }))), (this.headerText || !this.noCloseButton) && (index.h("div", { key: '8d6cac393a445febf36cc6fb1811c00223518481', class: "zonos--header" }, this.headerText && (index.h("h3", { key: 'cb634d14db0a14144a370d66e3d5aa9147914038', class: "zonos--header-text" }, this.headerText)), !this.noCloseButton && (index.h("zonos-button", { key: 'd11ff8473046b201bad444c9b81a0566dd400829', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close dialog", content: RemoveIcon }), noBackground: true, onClick: this.closeButtonHandler, title: "Close dialog", variant: "subtle" })))), index.h("div", { key: '356588fe85cce5298e4c2e862c31dab3018602a5', class: classes.classes([
|
|
1884
1884
|
'zonos--body',
|
|
1885
1885
|
this.noBodyPadding && 'zonos--no-body-padding',
|
|
1886
|
-
]) }, index.h("slot", { key: '
|
|
1886
|
+
]) }, index.h("slot", { key: 'd525f4fab2449a219d42ccb45b4497076b5973c9' })), index.h("slot", { key: 'febb4e4ab0cb950b3a346052d60fa70ec8346be4', name: "dialog-footer" })))));
|
|
1887
1887
|
}
|
|
1888
1888
|
static get assetsDirs() { return ["assets"]; }
|
|
1889
1889
|
};
|
|
@@ -1936,10 +1936,10 @@ const ZonosLinkAuthentication = class {
|
|
|
1936
1936
|
watchIsStagingMode() {
|
|
1937
1937
|
// Wait for the DOM to be ready before re-initializing Link element
|
|
1938
1938
|
setTimeout(() => {
|
|
1939
|
-
this.watchInitStripe();
|
|
1939
|
+
void this.watchInitStripe();
|
|
1940
1940
|
}, 0);
|
|
1941
1941
|
}
|
|
1942
|
-
watchInitStripe() {
|
|
1942
|
+
async watchInitStripe() {
|
|
1943
1943
|
if (!this.stripe || !cart.stripeStore.stripeElements) {
|
|
1944
1944
|
return;
|
|
1945
1945
|
}
|
|
@@ -2007,9 +2007,21 @@ const ZonosLinkAuthentication = class {
|
|
|
2007
2007
|
}
|
|
2008
2008
|
componentDidLoad() {
|
|
2009
2009
|
this.storeUnsubscribeList = [
|
|
2010
|
-
cart.stripeStoreOnChange('stripeElements', () => {
|
|
2010
|
+
cart.stripeStoreOnChange('stripeElements', async () => {
|
|
2011
|
+
// Wait for the stripe elements to be ready with the new client secret
|
|
2012
|
+
await new Promise(resolve => setTimeout(resolve, 1));
|
|
2011
2013
|
void this.watchInitStripe();
|
|
2012
2014
|
}),
|
|
2015
|
+
cart.stripeStoreOnChange('clientSecret', async () => {
|
|
2016
|
+
// Wait for the stripe elements to be ready with the new client secret
|
|
2017
|
+
await new Promise(resolve => setTimeout(resolve, 1));
|
|
2018
|
+
this.clientSecret = cart.stripeStore.clientSecret;
|
|
2019
|
+
}),
|
|
2020
|
+
cart.stripeStoreOnChange('stripe', async () => {
|
|
2021
|
+
// Wait for the stripe elements to be ready with the new client secret
|
|
2022
|
+
await new Promise(resolve => setTimeout(resolve, 1));
|
|
2023
|
+
this.stripe = cart.stripeStore.stripe;
|
|
2024
|
+
}),
|
|
2013
2025
|
];
|
|
2014
2026
|
// @Watch doesn't get trigger on initial load
|
|
2015
2027
|
this.watchInitStripe();
|
|
@@ -8079,24 +8091,24 @@ const ZonosStripePhoneInput = class {
|
|
|
8079
8091
|
.filter(Boolean)
|
|
8080
8092
|
.sort((a, b) => a.displayName.localeCompare(b.displayName))
|
|
8081
8093
|
: [];
|
|
8082
|
-
return (index.h(index.Host, { key: '
|
|
8094
|
+
return (index.h(index.Host, { key: 'ed5b02d0f617b0611ecba382cf8447570c3cee76', class: classes.classes([
|
|
8083
8095
|
'zonos--phone-input zonos--elements',
|
|
8084
8096
|
isDark && 'dark',
|
|
8085
|
-
]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: '
|
|
8097
|
+
]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: '8644eb1a24b4a2cdf491a8176f70e2fa35389fa6', class: classes.classes([
|
|
8086
8098
|
'zonos--label-wrapper',
|
|
8087
8099
|
this.disabled && 'disabled',
|
|
8088
8100
|
this.isFocused && 'focused',
|
|
8089
8101
|
hasContent && 'has-content',
|
|
8090
8102
|
this.error && 'has-error',
|
|
8091
8103
|
this.inputLabel && 'has-label',
|
|
8092
|
-
]) }, index.h("select", { key: '
|
|
8104
|
+
]) }, index.h("select", { key: '747109b80d3d02778ded01392d853a050f675114', class: "zonos--select", disabled: this.disabled, onBlur: this.handleBlur, onChange: this.handleCountryChange, onFocus: this.handleFocus }, countryOptionsList.map(option => {
|
|
8093
8105
|
var _a;
|
|
8094
8106
|
return (index.h("option", { key: option.countryCode, selected: option.countryCode === ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.countryCode), value: option.countryCode }, option.displayName, " (+", option.phoneCode, ")"));
|
|
8095
|
-
})), index.h("div", { key: '
|
|
8107
|
+
})), index.h("div", { key: '399beecaead5791d81ffd1db679f5b235c056769', class: "zonos--input-group" }, index.h("div", { key: '599a287f610935762e3229577bf35cfaee8ffe7f', class: "zonos--select-wrapper" }, index.h("div", { key: 'a1402a12ffa599e4dd42523696121d0a1cec60b6', class: "zonos--country-select" }, index.h("div", { key: 'a798cf4e8f4f5cfef5554404c578076f507d0dd2', class: "zonos--country-select-content" }, this.selectedCountry && (index.h("div", { key: '6a0313b6cd969a095002b18830fcbbd104e42570', class: "zonos--country-select-selected" }, index.h("div", { key: 'b6d2403854632f40dfd23d15b1eb8ef5625e1059', class: "zonos--country-flag-wrapper" }, index.h("zonos-country-flag", { key: '60397bbbbc9c6083064de1427cedeb148f36a35d', class: "zonos--country-flag", countryCode: this.selectedCountry.countryCode })), index.h("div", { key: 'effc1b9bc5fa1cd832e686b6e87ccac87e41ffb8', class: "zonos--country-code" }, "+", this.selectedCountry.phoneCode))), index.h("div", { key: '8e5aa3603dc4a869ce7335c2903a15903d5e61d4', class: "zonos--select-chevron-wrapper" }, index.h("zonos-icon", { key: '8b9ea89b5234a345d556d06649add11401baa184', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon$1, iconColor: "gray-800" }))))), index.h("div", { key: '21514d3e3f66095b79eb53e47fff6a98fbf12fba', class: classes.classes([
|
|
8096
8108
|
'zonos--input-container',
|
|
8097
8109
|
this.inputLabel && 'has-label',
|
|
8098
8110
|
hasContent && 'has-content',
|
|
8099
|
-
]) }, index.h("input", Object.assign({ key: '
|
|
8111
|
+
]) }, index.h("input", Object.assign({ key: '50421e7a8343203ee623a4e61f957abd115d0495' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: "zonos--floated-input", disabled: this.disabled, id: this.inputId, onBlur: this.handleBlur, onFocus: this.handleFocus, onInput: this.handlePhoneChange, placeholder: ((_a = this.selectedCountry) === null || _a === void 0 ? void 0 : _a.phonePlaceholder) || '', ref: el => (this.inputRef = el), type: "tel" })), this.inputLabel && (index.h("div", { key: '5025154c17fc9145b1b2bf2036ec7796287094ea', class: "zonos--floated-label" }, index.h("label", { key: '9af81cc3320de319ea84637bbb923c4b81a506d1', htmlFor: this.inputId }, this.inputLabel || translationStore.translate('Phone number'))))))), this.error && (index.h("zonos-text", { key: '523df8b2d650663ac43516d8ae9954ffd208c5e8', textColor: "red-600" }, this.error))));
|
|
8100
8112
|
}
|
|
8101
8113
|
get el() { return index.getElement(this); }
|
|
8102
8114
|
static get watchers() { return {
|
|
@@ -8212,14 +8224,14 @@ const ZonosStripeSelect = class {
|
|
|
8212
8224
|
const fontSize = zonosStore.zonosStore.appearance.fontSizeInputValue || 16;
|
|
8213
8225
|
const hasContent = this.internalValue || this.selectPlaceholder;
|
|
8214
8226
|
const showClearButton = this.isClearable && this.internalValue && !this.isDisabled;
|
|
8215
|
-
return (index.h(index.Host, { key: '
|
|
8227
|
+
return (index.h(index.Host, { key: 'e781d691f1f1f72ceed06c488af7f427ed4f82d0', class: classes.classes([
|
|
8216
8228
|
'zonos--select zonos--elements',
|
|
8217
8229
|
isDark && 'dark',
|
|
8218
8230
|
this.isError && 'has-error',
|
|
8219
|
-
]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: '
|
|
8231
|
+
]), "data-theme": isDark ? 'DARK' : 'LIGHT', style: Object.assign({ '--zonos--border-radius': getBorderRadius.getBorderRadius(), '--zonos--font-family': zonosStore.zonosStoreFontFamily(), '--zonos--font-size': `${fontSize}px`, '--zonos--primary-color': secondaryColor }, (this.minWidth ? { '--zonos--min-width': this.minWidth } : {})) }, index.h("div", { key: '4df83fa9bcb12e94e2d4bba3d6f31a4f56006097', class: classes.classes([
|
|
8220
8232
|
'zonos--label-wrapper',
|
|
8221
8233
|
this.isDisabled && 'disabled',
|
|
8222
|
-
]) }, index.h("select", Object.assign({ key: '
|
|
8234
|
+
]) }, index.h("select", Object.assign({ key: '31daa88fdaeb8a35055b97ade6aa10bbd234568a' }, this.inheritedAttributes, { autoComplete: this.autoComplete, class: classes.classes([
|
|
8223
8235
|
'zonos--floated-select',
|
|
8224
8236
|
!!this.selectLabel && 'has-label',
|
|
8225
8237
|
hasContent && 'has-content',
|
|
@@ -8229,9 +8241,9 @@ const ZonosStripeSelect = class {
|
|
|
8229
8241
|
this.selectChange.emit(select.value);
|
|
8230
8242
|
this.selectedValue = select.value;
|
|
8231
8243
|
this.el.dispatchEvent(new Event('change'));
|
|
8232
|
-
}, required: this.required }), index.h("option", { key: '
|
|
8244
|
+
}, required: this.required }), index.h("option", { key: '4c5c09493d0e9d38bc56860682c092017dc927ff', disabled: true, selected: !this.internalValue, value: "" }, this.selectPlaceholder || translationStore.translate('Select')), this.internalOptions.map(option => (index.h("option", { key: option.value, selected: this.internalValue === option.value ||
|
|
8233
8245
|
// Sometimes google returns the label not the code for some countries
|
|
8234
|
-
this.internalValue === option.label, value: option.value }, option.label)))), index.h("div", { key: '
|
|
8246
|
+
this.internalValue === option.label, value: option.value }, option.label)))), index.h("div", { key: 'abe6ea181a207b8b85232226078c92ab1a8b6618', class: "zonos--floated-label" }, index.h("label", { key: 'c079f2f21289e5ba06906fd7e29b3c8216c6ae01', htmlFor: this.selectId }, this.selectLabel)), index.h("div", { key: '3cad61609828a9b38a4a38625629481c9fb5411e', class: "zonos--actions-wrapper" }, showClearButton && (index.h("button", { key: 'f24323bdbd652cff52bec827f3a93a2e343e35c4', "aria-label": "Clear selection", class: "zonos--clear-button", onClick: this.handleClear, tabIndex: 0, type: "button" }, index.h("zonos-icon", { key: 'e8fe204b510477855de4dfee29d1200f30c50933', class: "zonos--clear-icon", content: RemoveLineIcon, iconColor: "gray-1200" }))), index.h("zonos-icon", { key: 'f071765d705d67b741f9381bbe96e2e8beb0968d', "aria-label": "Expand collapsed section", class: "zonos--select-chevron", content: ChevronDownIcon, iconColor: "gray-800" }))), this.error && (index.h("zonos-text", { key: '7425ced4032df77a7f1219f9c03caedcd1a55841', textColor: "red-600" }, this.error))));
|
|
8235
8247
|
}
|
|
8236
8248
|
get el() { return index.getElement(this); }
|
|
8237
8249
|
static get watchers() { return {
|
|
@@ -50,16 +50,16 @@ const ZonosBadge = class {
|
|
|
50
50
|
this.loading = false;
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (index.h(index.Host, { key: '
|
|
53
|
+
return (index.h(index.Host, { key: '5213d69a38c0e00d02d4c85d499ee5b5ca5a929c', class: classes.classes(['zonos--elements zonos--badge']), style: {
|
|
54
54
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
55
|
-
} }, index.h("div", { key: '
|
|
55
|
+
} }, index.h("div", { key: '178886813185320c971444c181a4fe0e8b57d7e3', class: classes.classes([
|
|
56
56
|
'zonos--badge-content',
|
|
57
57
|
this.badgeColor,
|
|
58
58
|
this.rounded && 'rounded',
|
|
59
59
|
this.iconRight && 'icon-right',
|
|
60
60
|
this.size,
|
|
61
61
|
this.bold && 'bold',
|
|
62
|
-
]) }, this.icon, index.h("zonos-text", { key: '
|
|
62
|
+
]) }, this.icon, index.h("zonos-text", { key: '6e75ee5fbbbe62b2d2c875a4866f33060dd9618b', textColor: `${this.badgeColor}-800` }, index.h("slot", { key: 'b6c1dcd8b29f1c99dc2cbd37d944ad8af3267713' })), this.dismissHandler && (index.h("zonos-icon", { key: '232d8056ee38962614267def07647c3f52246f0d', "aria-label": "Remove action", class: "zonos--badge-dismiss", content: RemoveLineIcon, onClick: () => { var _a; return (_a = this.dismissHandler) === null || _a === void 0 ? void 0 : _a.call(this); } })))));
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
ZonosBadge.style = ZonosBadgeStyle0;
|
|
@@ -98,16 +98,16 @@ const ZonosCard = class {
|
|
|
98
98
|
customRoundRadius: `${this.borderRadius}px`,
|
|
99
99
|
overrideBorderStyle: 'ROUNDED',
|
|
100
100
|
});
|
|
101
|
-
return (index.h(index.Host, { key: '
|
|
101
|
+
return (index.h(index.Host, { key: '9423d1472ed313f50c5f4ecc61251025ac6083ed', style: {
|
|
102
102
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
103
|
-
} }, index.h("div", { key: '
|
|
103
|
+
} }, index.h("div", { key: '7d2506d2fa9297dce93676bd09dd854a84f27db3', class: classes.classes(['styled-card']), style: {
|
|
104
104
|
'--zonos--background-color': backgroundColor,
|
|
105
105
|
'--zonos--border-radius': borderRadius,
|
|
106
106
|
padding: this.spacing,
|
|
107
|
-
} }, this.label && (index.h("header", { key: '
|
|
107
|
+
} }, this.label && (index.h("header", { key: '81e381540ecbd5c398e5cabf6626d701569e16e5', class: "card-header", style: { padding: this.spacing } }, index.h("zonos-text", { key: '7929725b31dec41dbab855daa3bd7ae97fb00eb3', type: "subheader" }, this.label), index.h("h-stack", { key: 'c69fe767e575b3aaf824eb355d7bb35e395ba77a', spacing: 8 }, this.actions))), index.h("slot", { key: 'ada30bc1760b957a817e0982e46f3def97974297' }), (this.footerActions || this.footerContent) && (index.h("footer", { key: '854c3d583cb293f5c064af87e839641a5201c900', class: "card-footer", style: {
|
|
108
108
|
height: this.footerHeight ? `${this.footerHeight}px` : 'auto',
|
|
109
109
|
padding: this.spacing,
|
|
110
|
-
} }, index.h("div", { key: '
|
|
110
|
+
} }, index.h("div", { key: '0a799500938f8d04a8551134b21fe18a05f93de0' }, this.footerContent), index.h("h-stack", { key: '927b51384452ab01b28da02c9a83256ab7dc6991', spacing: 8 }, this.footerActions))))));
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
ZonosCard.style = ZonosCardStyle0;
|
|
@@ -211,13 +211,13 @@ const ZonosButton = class {
|
|
|
211
211
|
const borderStyle = getBorderRadius.getBorderRadius({
|
|
212
212
|
overrideBorderStyle: this.borderStyle,
|
|
213
213
|
});
|
|
214
|
-
return (index.h(index.Host, { key: '
|
|
214
|
+
return (index.h(index.Host, { key: 'd44e5db9b123906c2435285d23d0d05b6c15d8b3', class: classes.classes(['zonos--elements']), "data-theme": this.theme || buttonTheme, disabled: disabled, style: styles.styles({
|
|
215
215
|
'--zonos--background-color': backgroundColor,
|
|
216
216
|
'--zonos--border-radius': borderStyle,
|
|
217
217
|
'--zonos--color': color,
|
|
218
218
|
'--zonos--font-family': zonosStore.zonosStoreFontFamily(),
|
|
219
219
|
'--zonos--font-weight': this.bold ? 'bold' : 'normal',
|
|
220
|
-
}) }, index.h("button", Object.assign({ key: '
|
|
220
|
+
}) }, index.h("button", Object.assign({ key: 'a937efb3d014fd8f5501fcde7c3c2f0cb33439aa' }, this.inheritedAttributes, { class: classes.classes([
|
|
221
221
|
this.hasIcon && 'has-icon',
|
|
222
222
|
this.hasContent && 'has-content',
|
|
223
223
|
this.noBackground && 'no-background',
|
|
@@ -232,7 +232,7 @@ const ZonosButton = class {
|
|
|
232
232
|
backgroundColor && variant === 'standard' && 'override-background',
|
|
233
233
|
]), disabled: disabled, style: {
|
|
234
234
|
justifyContent: this.justifyContent,
|
|
235
|
-
} }), this.loading && (index.h("div", { key: '
|
|
235
|
+
} }), this.loading && (index.h("div", { key: '09292867f621fd3e04313494809e59254a353403', class: "zonos--spinner-wrapper" }, index.h("zonos-spinner", { key: '250912ac9cc2ba4d9d5db8fdc67fa6009d5ea7ac', size: 16, spinnerColor: spinnerColor }))), !this.loading && !this.iconRight && this.icon, index.h("slot", { key: '0695250725aff37526e6ea4f94456a368b873c59', onSlotchange: this.handleSlotChange }), !this.loading && this.iconRight && this.icon)));
|
|
236
236
|
}
|
|
237
237
|
static get delegatesFocus() { return true; }
|
|
238
238
|
get ele() { return index.getElement(this); }
|