@zonos/elements 1.3.219 → 1.3.221
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 +38 -32
- 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 +13 -7
- 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 +38 -32
- 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-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-48356573.entry.js +1 -0
- 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-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-c0a54cf6.system.js → p-7e000a9a.system.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-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-af7b7931.system.entry.js +1 -0
- 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
|
@@ -52,7 +52,7 @@ export class ZonosPaypalPayment {
|
|
|
52
52
|
this.storeUnsubscribeList.forEach(unsubscribe => unsubscribe());
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: 'bcf11ef0ceab1d847c237ec26ec604440983c16f', class: "zonos--paypal-payment zonos--elements" }, h("div", { key: 'ce5033f39b2e9644e30fc1e0e35f64e5d9b9730d', class: "zonos--payment-paypal-container" })));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "zonos-paypal-payment"; }
|
|
58
58
|
static get encapsulation() { return "scoped"; }
|
|
@@ -17,7 +17,7 @@ const { reset: collectStoreReset, state: collectStore } = createStore(() => ({
|
|
|
17
17
|
shippingAddress: null,
|
|
18
18
|
}));
|
|
19
19
|
const collectStoreInitShippingInfo = async ({ landedCostId, retries = 5, }) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
21
21
|
collectStore.isFetchingShippingInfo = true;
|
|
22
22
|
const response = await handleFetch('/api/zonos-elements/collect/get-shipping-info-by-lc-id', {
|
|
23
23
|
body: {
|
|
@@ -41,14 +41,17 @@ const collectStoreInitShippingInfo = async ({ landedCostId, retries = 5, }) => {
|
|
|
41
41
|
collectStore.isFetchingShippingInfo = false;
|
|
42
42
|
collectStore.shippingAddress = ((_b = response.json) === null || _b === void 0 ? void 0 : _b.shipping) || null;
|
|
43
43
|
const landedCost = (_c = cartStore.checkoutSession) === null || _c === void 0 ? void 0 : _c.landedCost;
|
|
44
|
+
const checkoutSessionSubtotals = (_d = cartStore.checkoutSession) === null || _d === void 0 ? void 0 : _d.subtotals;
|
|
45
|
+
const amountTotalPaid = (((_e = landedCost === null || landedCost === void 0 ? void 0 : landedCost.amountSubtotals) === null || _e === void 0 ? void 0 : _e.shipping) || 0) +
|
|
46
|
+
(((_f = landedCost === null || landedCost === void 0 ? void 0 : landedCost.amountSubtotals) === null || _f === void 0 ? void 0 : _f.items) || 0);
|
|
47
|
+
// Convert the amount to the presentment currency
|
|
44
48
|
collectStore.amountTotalPaid =
|
|
45
|
-
(((
|
|
46
|
-
(((_e = landedCost === null || landedCost === void 0 ? void 0 : landedCost.amountSubtotals) === null || _e === void 0 ? void 0 : _e.items) || 0);
|
|
49
|
+
amountTotalPaid * (((_g = checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.exchangeRate) === null || _g === void 0 ? void 0 : _g.rate) || 1);
|
|
47
50
|
collectStore.amountDutyTaxFeeTotal =
|
|
48
|
-
((
|
|
49
|
-
((
|
|
50
|
-
((
|
|
51
|
-
collectStore.originCompanyName = ((
|
|
51
|
+
((checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.duties) || 0) +
|
|
52
|
+
((checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.taxes) || 0) +
|
|
53
|
+
((checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.fees) || 0);
|
|
54
|
+
collectStore.originCompanyName = ((_j = (_h = response.json) === null || _h === void 0 ? void 0 : _h.origin) === null || _j === void 0 ? void 0 : _j.companyName) || null;
|
|
52
55
|
if (collectStore.amountTotalPaid === 0) {
|
|
53
56
|
void sendErrorLog({
|
|
54
57
|
endpoint: 'COLLECT_NO_TOTAL_PAID',
|
|
@@ -319,11 +319,11 @@ export class ZonosAddress {
|
|
|
319
319
|
this.isAddressFilled = true;
|
|
320
320
|
}
|
|
321
321
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
322
|
-
return (h(Host, { key: '
|
|
322
|
+
return (h(Host, { key: '15928518601e48825589ce4de4580263fec6a745', class: classes([
|
|
323
323
|
'zonos--address',
|
|
324
324
|
'zonos--elements',
|
|
325
325
|
`zonos--${this.type}-address`,
|
|
326
|
-
]) }, this.titleText && (h("zonos-text", { key: '
|
|
326
|
+
]) }, this.titleText && (h("zonos-text", { key: '2e666ed81597ac95d3de575a2d901d083e9100cc', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), this.renderCompanyNameInput(), this.renderTaxIdInput(), h("div", { key: '51aa6d2415bf6c7e067d0565b11a0d2c0629200b', class: "zonos--address-component" })));
|
|
327
327
|
}
|
|
328
328
|
static get is() { return "zonos-address"; }
|
|
329
329
|
static get encapsulation() { return "scoped"; }
|
|
@@ -78,9 +78,9 @@ export class ZonosAddressSuggestions {
|
|
|
78
78
|
return segments;
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
|
-
return (h(Host, { key: '
|
|
81
|
+
return (h(Host, { key: '8ef1b971b88cd2280c40e69e1f6824f64e618467', class: "zonos--address-suggestions", role: "group", style: {
|
|
82
82
|
'--zonos--border-radius': getBorderRadius(),
|
|
83
|
-
} }, h("ul", { key: '
|
|
83
|
+
} }, h("ul", { key: '383e615d02815aad0f06d468dfcfbef3640fd5f5', "aria-label": "Suggestions", class: "wrapper", role: "listbox" }, !!this.localSuggestions.length && (h("li", { key: 'f2e6b766f567b0933263e19666e440cf692f248c', "aria-selected": false, class: "powered-by option", role: "option" }, h("div", { key: 'd629272b98461726f7eda75fde4cf1070946cd70', class: "powered-by-container" }, h("zonos-text", { key: '5b5591b04da2034b783f61394dbdc8f172484972', type: "caption" }, "Suggestions powered by"), h("zonos-text", { key: '45352a7ba4314ee1d68c2a53bb722368182283ee', type: "semiBoldLabel" }, "Google")), h("zonos-button", { key: '506450cf69ef74cde9ed5159633040701994f455', "aria-label": "Clear suggestions", icon: h("zonos-icon", { content: RemoveIcon }), noBackground: true, onClick: () => {
|
|
84
84
|
this.localSuggestions = [];
|
|
85
85
|
} }))), this.localSuggestions.map(suggestion => (
|
|
86
86
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
@@ -894,10 +894,10 @@ export class ZonosAddress {
|
|
|
894
894
|
this.country = localizationStore.selectedCountryCode;
|
|
895
895
|
}
|
|
896
896
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
897
|
-
return (h(Host, { key: '
|
|
897
|
+
return (h(Host, { key: 'dcddfc6f0c63371c49f223f86a6c00df7ab30eed', class: classes([
|
|
898
898
|
'zonos--address zonos--elements',
|
|
899
899
|
`zonos--${this.type}-address`,
|
|
900
|
-
]) }, h("zonos-text", { key: '
|
|
900
|
+
]) }, h("zonos-text", { key: '70139b5412028d5dba2cc51ee8e3a81e182fd19a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), this.renderCompanyNameInput(), this.renderTaxIdInput(), this.renderCustomAddressForm()));
|
|
901
901
|
}
|
|
902
902
|
static get is() { return "zonos-custom-address"; }
|
|
903
903
|
static get encapsulation() { return "scoped"; }
|
package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js
CHANGED
|
@@ -47,10 +47,10 @@ export class ZonosLinkAuthentication {
|
|
|
47
47
|
watchIsStagingMode() {
|
|
48
48
|
// Wait for the DOM to be ready before re-initializing Link element
|
|
49
49
|
setTimeout(() => {
|
|
50
|
-
this.watchInitStripe();
|
|
50
|
+
void this.watchInitStripe();
|
|
51
51
|
}, 0);
|
|
52
52
|
}
|
|
53
|
-
watchInitStripe() {
|
|
53
|
+
async watchInitStripe() {
|
|
54
54
|
if (!this.stripe || !stripeStore.stripeElements) {
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
@@ -58,6 +58,8 @@ export class ZonosLinkAuthentication {
|
|
|
58
58
|
if (cartStore.isStagingMode || !this.clientSecret) {
|
|
59
59
|
return;
|
|
60
60
|
}
|
|
61
|
+
// Wait for the stripe elements to be ready with the new client secret
|
|
62
|
+
await new Promise(resolve => setTimeout(resolve, 50));
|
|
61
63
|
const defaultValues = this.defaultEmail
|
|
62
64
|
? {
|
|
63
65
|
email: this.defaultEmail,
|
|
@@ -105,9 +107,7 @@ export class ZonosLinkAuthentication {
|
|
|
105
107
|
log('Reset stripe link element when default email is changed', 'info', {
|
|
106
108
|
defaultEmail: newDefaultEmail,
|
|
107
109
|
});
|
|
108
|
-
|
|
109
|
-
void this.watchInitStripe();
|
|
110
|
-
}, 5);
|
|
110
|
+
void this.watchInitStripe();
|
|
111
111
|
}
|
|
112
112
|
disconnectedCallback() {
|
|
113
113
|
// unsubscribe from store subscriptions
|
|
@@ -118,12 +118,18 @@ export class ZonosLinkAuthentication {
|
|
|
118
118
|
}
|
|
119
119
|
componentDidLoad() {
|
|
120
120
|
this.storeUnsubscribeList = [
|
|
121
|
-
stripeStoreOnChange('stripeElements', () => {
|
|
121
|
+
stripeStoreOnChange('stripeElements', async () => {
|
|
122
122
|
void this.watchInitStripe();
|
|
123
123
|
}),
|
|
124
|
+
stripeStoreOnChange('clientSecret', async () => {
|
|
125
|
+
this.clientSecret = stripeStore.clientSecret;
|
|
126
|
+
}),
|
|
127
|
+
stripeStoreOnChange('stripe', async () => {
|
|
128
|
+
this.stripe = stripeStore.stripe;
|
|
129
|
+
}),
|
|
124
130
|
];
|
|
125
131
|
// @Watch doesn't get trigger on initial load
|
|
126
|
-
this.watchInitStripe();
|
|
132
|
+
void this.watchInitStripe();
|
|
127
133
|
if (!this.defaultEmail) {
|
|
128
134
|
return;
|
|
129
135
|
}
|
|
@@ -29,12 +29,20 @@ export class ZonosPayment {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
watchInitStripe() {
|
|
32
|
+
var _a;
|
|
32
33
|
if (!this.stripeElements) {
|
|
33
34
|
return;
|
|
34
35
|
}
|
|
35
36
|
// Create and mount the Authentication Element in ${type} mode
|
|
36
37
|
const paymentElement = stripeStore.stripePaymentElement ||
|
|
37
38
|
this.stripeElements.create('payment', {
|
|
39
|
+
defaultValues: {
|
|
40
|
+
billingDetails: {
|
|
41
|
+
address: {
|
|
42
|
+
country: (_a = stripeStore.stripeAddressEventData) === null || _a === void 0 ? void 0 : _a.value.address.country,
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
38
46
|
layout: 'tabs',
|
|
39
47
|
});
|
|
40
48
|
const paymentElementContainer = this.el.querySelector('.zonos--payment-component');
|
|
@@ -57,7 +65,7 @@ export class ZonosPayment {
|
|
|
57
65
|
}
|
|
58
66
|
render() {
|
|
59
67
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
60
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'c0b27f25785a9f6de2705e16d97f1bf5f7bcb0a4', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '1cfdb16f94a5219882da9da013a6e2de6a6b3c3f', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'bb5ac07b4c32f2469f4825426160542d9729d332', class: "zonos--payment-component" }), h("div", { key: '34f805b56fa151e8a3102361df9fb8b3e636dc75', class: "zonos--payment-paypal-container" })));
|
|
61
69
|
}
|
|
62
70
|
static get is() { return "zonos-payment"; }
|
|
63
71
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1309,6 +1309,7 @@ export const emailTemplateType = {
|
|
|
1309
1309
|
ManualClassificationExport: 'MANUAL_CLASSIFICATION_EXPORT',
|
|
1310
1310
|
MerchantOrderConfirmation: 'MERCHANT_ORDER_CONFIRMATION',
|
|
1311
1311
|
OrderCanceled: 'ORDER_CANCELED',
|
|
1312
|
+
OrderCollectConfirmation: 'ORDER_COLLECT_CONFIRMATION',
|
|
1312
1313
|
OrderConfirmation: 'ORDER_CONFIRMATION',
|
|
1313
1314
|
OrderReceipt: 'ORDER_RECEIPT',
|
|
1314
1315
|
OrderShipped: 'ORDER_SHIPPED',
|
|
@@ -2998,6 +2999,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2998
2999
|
fulfillmentCenter(variables, requestHeaders) {
|
|
2999
3000
|
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'fulfillmentCenter', 'query');
|
|
3000
3001
|
},
|
|
3002
|
+
getCartForCollectReceipt(variables, requestHeaders) {
|
|
3003
|
+
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCartForCollectReceipt', 'query');
|
|
3004
|
+
},
|
|
3001
3005
|
getCartInfo(variables, requestHeaders) {
|
|
3002
3006
|
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCartInfo', 'query');
|
|
3003
3007
|
},
|
|
@@ -3028,6 +3032,12 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
3028
3032
|
getPartyInfoByLandedCostId(variables, requestHeaders) {
|
|
3029
3033
|
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getPartyInfoByLandedCostId', 'query');
|
|
3030
3034
|
},
|
|
3035
|
+
getReceiptCheckoutSession(variables, requestHeaders) {
|
|
3036
|
+
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getReceiptCheckoutSession', 'query');
|
|
3037
|
+
},
|
|
3038
|
+
getReceiptOrder(variables, requestHeaders) {
|
|
3039
|
+
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getReceiptOrder', 'query');
|
|
3040
|
+
},
|
|
3031
3041
|
getTaxIdByCountry(variables, requestHeaders) {
|
|
3032
3042
|
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getTaxIdByCountry', 'query');
|
|
3033
3043
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z as zonosStore, c as createStore } from './zonosStore-c456b933.js';
|
|
2
|
-
import { s as storageStore, l as localizationStore, f as filterValidTests, b as storageStoreSetEnabledVariantTestKeys } from './localization-
|
|
3
|
-
import { t as translate } from './translationStore-
|
|
2
|
+
import { s as storageStore, l as localizationStore, f as filterValidTests, b as storageStoreSetEnabledVariantTestKeys } from './localization-d7125e4e.js';
|
|
3
|
+
import { t as translate } from './translationStore-13502f49.js';
|
|
4
4
|
import { l as log, f as fallbackApiList, h as handleFetch, g as getIsTestMode, a as getIsStagingMode, s as sendErrorLog, d as allLogs, b as logError, j as jsonParse } from './handleFetch-99218189.js';
|
|
5
5
|
import { i as isDarkColor } from './isDarkColor-1f58b6be.js';
|
|
6
6
|
import { g as getBorderRadius } from './getBorderRadius-87593ff4.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -129,7 +129,7 @@ const getZonosQaUrl = () => {
|
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
131
131
|
const qaUrl = extractZonosQaUrl(window.location.href);
|
|
132
|
-
const cdnUrl = "https://v1.3.
|
|
132
|
+
const cdnUrl = "https://v1.3.221.js.zonos.com";
|
|
133
133
|
// when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
|
|
134
134
|
if (!qaUrl &&
|
|
135
135
|
(cdnUrl.includes('test.') ||
|
|
@@ -376,10 +376,10 @@ const zonosLoadUrl = (() => {
|
|
|
376
376
|
}
|
|
377
377
|
return null;
|
|
378
378
|
})();
|
|
379
|
-
const ZONOS_URL = "https://v1.3.
|
|
380
|
-
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.
|
|
381
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.
|
|
382
|
-
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.
|
|
379
|
+
const ZONOS_URL = "https://v1.3.221.js.zonos.com";
|
|
380
|
+
const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.221";
|
|
381
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.221";
|
|
382
|
+
const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.221";
|
|
383
383
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
384
384
|
const GOOGLE_FONT_REGEX = /^https:\/\/fonts\.googleapis\.com/;
|
|
385
385
|
class Zonos {
|
|
@@ -397,7 +397,7 @@ Zonos.iframeLogType = typeof window !== 'undefined'
|
|
|
397
397
|
? new URLSearchParams(window.location.search).get('iframeLogType')
|
|
398
398
|
: null;
|
|
399
399
|
Zonos.isBigCommerce = false;
|
|
400
|
-
Zonos.releaseDate = "
|
|
400
|
+
Zonos.releaseDate = "1751906321269";
|
|
401
401
|
Zonos.isLegacyCheckout = false;
|
|
402
402
|
Zonos.domain = typeof window !== 'undefined'
|
|
403
403
|
? // domain that embeds the iframe
|
|
@@ -416,7 +416,7 @@ Zonos.isNpm = true;
|
|
|
416
416
|
Zonos.zonosQaUrl = null;
|
|
417
417
|
Zonos.zonosQaUrlApi = null;
|
|
418
418
|
Zonos.trackEventLogs = [];
|
|
419
|
-
Zonos.version = `v${"1.3.
|
|
419
|
+
Zonos.version = `v${"1.3.221"}`;
|
|
420
420
|
Zonos.modeAlerted = false;
|
|
421
421
|
Zonos.cartData = null;
|
|
422
422
|
Zonos.paypal = null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as createStore, z as zonosStore } from './zonosStore-c456b933.js';
|
|
2
|
-
import { c as stripeStore, B as stripeStoreBuildAddressForPartyCreate, e as cartStore, C as cartStoreUpdateSelectedShippingOption } from './cart-
|
|
3
|
-
import { s as storageStore } from './localization-
|
|
2
|
+
import { c as stripeStore, B as stripeStoreBuildAddressForPartyCreate, e as cartStore, C as cartStoreUpdateSelectedShippingOption } from './cart-b2dd578c.js';
|
|
3
|
+
import { s as storageStore } from './localization-d7125e4e.js';
|
|
4
4
|
import { h as handleFetch, s as sendErrorLog, d as allLogs, b as logError } from './handleFetch-99218189.js';
|
|
5
5
|
|
|
6
6
|
const { reset: collectStoreReset, state: collectStore } = createStore(() => ({
|
|
@@ -13,7 +13,7 @@ const { reset: collectStoreReset, state: collectStore } = createStore(() => ({
|
|
|
13
13
|
shippingAddress: null,
|
|
14
14
|
}));
|
|
15
15
|
const collectStoreInitShippingInfo = async ({ landedCostId, retries = 5, }) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j
|
|
16
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
17
17
|
collectStore.isFetchingShippingInfo = true;
|
|
18
18
|
const response = await handleFetch('/api/zonos-elements/collect/get-shipping-info-by-lc-id', {
|
|
19
19
|
body: {
|
|
@@ -37,14 +37,17 @@ const collectStoreInitShippingInfo = async ({ landedCostId, retries = 5, }) => {
|
|
|
37
37
|
collectStore.isFetchingShippingInfo = false;
|
|
38
38
|
collectStore.shippingAddress = ((_b = response.json) === null || _b === void 0 ? void 0 : _b.shipping) || null;
|
|
39
39
|
const landedCost = (_c = cartStore.checkoutSession) === null || _c === void 0 ? void 0 : _c.landedCost;
|
|
40
|
+
const checkoutSessionSubtotals = (_d = cartStore.checkoutSession) === null || _d === void 0 ? void 0 : _d.subtotals;
|
|
41
|
+
const amountTotalPaid = (((_e = landedCost === null || landedCost === void 0 ? void 0 : landedCost.amountSubtotals) === null || _e === void 0 ? void 0 : _e.shipping) || 0) +
|
|
42
|
+
(((_f = landedCost === null || landedCost === void 0 ? void 0 : landedCost.amountSubtotals) === null || _f === void 0 ? void 0 : _f.items) || 0);
|
|
43
|
+
// Convert the amount to the presentment currency
|
|
40
44
|
collectStore.amountTotalPaid =
|
|
41
|
-
(((
|
|
42
|
-
(((_e = landedCost === null || landedCost === void 0 ? void 0 : landedCost.amountSubtotals) === null || _e === void 0 ? void 0 : _e.items) || 0);
|
|
45
|
+
amountTotalPaid * (((_g = checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.exchangeRate) === null || _g === void 0 ? void 0 : _g.rate) || 1);
|
|
43
46
|
collectStore.amountDutyTaxFeeTotal =
|
|
44
|
-
((
|
|
45
|
-
((
|
|
46
|
-
((
|
|
47
|
-
collectStore.originCompanyName = ((
|
|
47
|
+
((checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.duties) || 0) +
|
|
48
|
+
((checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.taxes) || 0) +
|
|
49
|
+
((checkoutSessionSubtotals === null || checkoutSessionSubtotals === void 0 ? void 0 : checkoutSessionSubtotals.fees) || 0);
|
|
50
|
+
collectStore.originCompanyName = ((_j = (_h = response.json) === null || _h === void 0 ? void 0 : _h.origin) === null || _j === void 0 ? void 0 : _j.companyName) || null;
|
|
48
51
|
if (collectStore.amountTotalPaid === 0) {
|
|
49
52
|
void sendErrorLog({
|
|
50
53
|
endpoint: 'COLLECT_NO_TOTAL_PAID',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as createStore, z as zonosStore } from './zonosStore-c456b933.js';
|
|
2
2
|
import { l as log, j as jsonParse, h as handleFetch, b as logError } from './handleFetch-99218189.js';
|
|
3
3
|
import { a as availableTestKeys } from './VarianceTest-fef2d958.js';
|
|
4
|
-
import { a as translationStoreUpdateLanguage } from './translationStore-
|
|
4
|
+
import { a as translationStoreUpdateLanguage } from './translationStore-13502f49.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Check if the response contains at least one available test key that we support
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z as zonosStore, c as createStore } from './zonosStore-c456b933.js';
|
|
2
|
-
import { t as trackConversionEvent, z as validateCheckoutSession, c as stripeStore, e as cartStore, v as stripeStoreHandleInventoryCheck, r as cartStoreNextStep, j as cartStoreClearCheckoutInterval } from './cart-
|
|
3
|
-
import { s as storageStore } from './localization-
|
|
4
|
-
import { t as translate } from './translationStore-
|
|
2
|
+
import { t as trackConversionEvent, z as validateCheckoutSession, c as stripeStore, e as cartStore, v as stripeStoreHandleInventoryCheck, r as cartStoreNextStep, j as cartStoreClearCheckoutInterval } from './cart-b2dd578c.js';
|
|
3
|
+
import { s as storageStore } from './localization-d7125e4e.js';
|
|
4
|
+
import { t as translate } from './translationStore-13502f49.js';
|
|
5
5
|
import { h as handleFetch, l as log, b as logError, j as jsonParse } from './handleFetch-99218189.js';
|
|
6
6
|
import { t as tinycolor } from './isDarkColor-1f58b6be.js';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as cartStore } from './cart-
|
|
2
|
-
import { d as currencyFormat, s as storageStore } from './localization-
|
|
1
|
+
import { e as cartStore } from './cart-b2dd578c.js';
|
|
2
|
+
import { d as currencyFormat, s as storageStore } from './localization-d7125e4e.js';
|
|
3
3
|
import { b as logError, h as handleFetch } from './handleFetch-99218189.js';
|
|
4
4
|
|
|
5
5
|
const getDisplayCurrency = () => {
|