@zonos/elements 1.3.231 → 1.3.233
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-9b519566.js → cart-bc615014.js} +5 -5
- package/dist/cjs/{debounce-2c9f3f1e.js → debounce-815d1517.js} +1 -1
- package/dist/cjs/{getBorderRadius-c7d9f676.js → getBorderRadius-2ef1170d.js} +1 -1
- package/dist/cjs/{hasInclusivePrice-12605be9.js → hasInclusivePrice-84145546.js} +1 -1
- package/dist/cjs/{index-1c710d00.js → index-69fa8852.js} +352 -4
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{isDarkColor-994c38e4.js → isDarkColor-878e600e.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{localization-38af974b.js → localization-39516612.js} +2 -2
- package/dist/cjs/{paypal-e8fa2302.js → paypal-1d6f1a71.js} +5 -5
- package/dist/cjs/{placeTestOrder-6388881f.js → placeTestOrder-a5469e40.js} +2 -2
- package/dist/cjs/{renderFallback-bb2c4bce.js → renderFallback-c2576fbe.js} +4 -4
- package/dist/cjs/{translationStore-f2d5eae9.js → translationStore-08d3ff9c.js} +182 -2
- package/dist/cjs/{updateCheckoutSessionAttributes-a4899e90.js → updateCheckoutSessionAttributes-3a1db9de.js} +1 -1
- package/dist/cjs/zonos-address_11.cjs.entry.js +14 -14
- package/dist/cjs/zonos-badge.cjs.entry.js +2 -2
- package/dist/cjs/zonos-banner_2.cjs.entry.js +3 -3
- package/dist/cjs/zonos-button_3.cjs.entry.js +4 -4
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +132 -20
- package/dist/cjs/zonos-checkout.cjs.entry.js +10 -10
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +7 -7
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +10 -10
- package/dist/cjs/zonos-collect.cjs.entry.js +9 -9
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-confirm-dialog_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-controller.cjs.entry.js +7 -7
- package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +5 -5
- package/dist/cjs/zonos-elements.cjs.js +2 -2
- package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +9 -9
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
- package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
- package/dist/cjs/zonos-input.cjs.entry.js +3 -3
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +4 -4
- package/dist/cjs/zonos-text.cjs.entry.js +2 -2
- package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
- package/dist/cjs/zonos-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
- package/dist/cjs/{zonosStore-5d489c65.js → zonosStore-37a4b4f4.js} +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +3 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +4 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +115 -6
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +3 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
- package/dist/collection/components/store/translationStore/strings.base.js +9 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
- package/dist/collection/components/store/translationStore/strings.french.js +9 -0
- package/dist/collection/components/store/translationStore/strings.german.js +9 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
- package/dist/collection/components/store/translationStore.js +1 -1
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
- 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 +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/types/InputFieldLabel.js +1 -0
- package/dist/collection/types/generated/graphql.internal.types.js +488 -1
- package/dist/esm/{cart-bc0e1598.js → cart-14f305b3.js} +5 -5
- package/dist/esm/{debounce-f081e4d8.js → debounce-c4785346.js} +1 -1
- package/dist/esm/{getBorderRadius-6281d902.js → getBorderRadius-877f6389.js} +1 -1
- package/dist/esm/{hasInclusivePrice-706cc09d.js → hasInclusivePrice-0eda8ba9.js} +1 -1
- package/dist/esm/{index-55a03023.js → index-0bbe9693.js} +352 -4
- package/dist/esm/index.js +7 -7
- package/dist/esm/{isDarkColor-83e0c27e.js → isDarkColor-9ddd90cc.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{localization-53f67640.js → localization-c5029ffc.js} +2 -2
- package/dist/esm/{paypal-3a6a048d.js → paypal-fded8844.js} +5 -5
- package/dist/esm/{placeTestOrder-917731cf.js → placeTestOrder-2250f719.js} +2 -2
- package/dist/esm/{renderFallback-cd0e40d9.js → renderFallback-dbf1e3ae.js} +4 -4
- package/dist/esm/{translationStore-d241dcf7.js → translationStore-690c4e04.js} +182 -2
- package/dist/esm/{updateCheckoutSessionAttributes-160720f6.js → updateCheckoutSessionAttributes-047a6cd4.js} +1 -1
- package/dist/esm/zonos-address_11.entry.js +14 -14
- package/dist/esm/zonos-badge.entry.js +2 -2
- package/dist/esm/zonos-banner_2.entry.js +3 -3
- package/dist/esm/zonos-button_3.entry.js +4 -4
- package/dist/esm/zonos-cart-items_13.entry.js +132 -20
- package/dist/esm/zonos-checkout.entry.js +10 -10
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-collect-cart-items_3.entry.js +7 -7
- package/dist/esm/zonos-collect-finish_6.entry.js +10 -10
- package/dist/esm/zonos-collect.entry.js +9 -9
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-confirm-dialog_2.entry.js +4 -4
- package/dist/esm/zonos-controller.entry.js +7 -7
- package/dist/esm/zonos-country-flag.entry.js +4 -4
- package/dist/esm/zonos-country-select_4.entry.js +5 -5
- package/dist/esm/zonos-elements.js +3 -3
- package/dist/esm/zonos-empty-state-payment_4.entry.js +9 -9
- package/dist/esm/zonos-hello-dialog.entry.js +5 -5
- package/dist/esm/zonos-hello.entry.js +5 -5
- package/dist/esm/zonos-input.entry.js +3 -3
- package/dist/esm/zonos-language-select_2.entry.js +4 -4
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/esm/zonos-stripe-input.entry.js +4 -4
- package/dist/esm/zonos-text.entry.js +2 -2
- package/dist/esm/zonos-toggle.entry.js +2 -2
- package/dist/esm/zonos-tooltip.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm/{zonosStore-e3d0493a.js → zonosStore-b434e436.js} +1 -1
- package/dist/esm-es5/{cart-bc0e1598.js → cart-14f305b3.js} +1 -1
- package/dist/esm-es5/{debounce-f081e4d8.js → debounce-c4785346.js} +1 -1
- package/dist/esm-es5/{getBorderRadius-6281d902.js → getBorderRadius-877f6389.js} +1 -1
- package/dist/esm-es5/{hasInclusivePrice-706cc09d.js → hasInclusivePrice-0eda8ba9.js} +1 -1
- package/dist/esm-es5/index-0bbe9693.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-83e0c27e.js → isDarkColor-9ddd90cc.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{localization-53f67640.js → localization-c5029ffc.js} +1 -1
- package/dist/esm-es5/{paypal-3a6a048d.js → paypal-fded8844.js} +1 -1
- package/dist/esm-es5/placeTestOrder-2250f719.js +1 -0
- package/dist/esm-es5/{renderFallback-cd0e40d9.js → renderFallback-dbf1e3ae.js} +1 -1
- package/dist/esm-es5/translationStore-690c4e04.js +1 -0
- package/dist/esm-es5/{updateCheckoutSessionAttributes-160720f6.js → updateCheckoutSessionAttributes-047a6cd4.js} +1 -1
- 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_13.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-elements.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-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-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/esm-es5/{zonosStore-e3d0493a.js → zonosStore-b434e436.js} +1 -1
- package/dist/scripts/index.d.ts +31 -2
- 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-checkout/zonos-customer-info/zonos-customer-info.d.ts +11 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/types/InputFieldLabel.d.ts +1 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +503 -3
- package/dist/types/types/generated/graphql.internal.types.ts +520 -3
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-b91df44b.system.entry.js → p-00ac999f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-4523b982.entry.js → p-00ec22b2.entry.js} +1 -1
- package/dist/zonos-elements/{p-0bc8e55c.system.entry.js → p-03ff7b01.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5f7a9b69.system.entry.js → p-0a90dd80.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9a444a82.system.entry.js → p-100f6a88.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d15cd138.entry.js → p-143d706b.entry.js} +1 -1
- package/dist/zonos-elements/{p-ee8fcde6.js → p-14d7489d.js} +1 -1
- package/dist/zonos-elements/p-1bfae137.entry.js +1 -0
- package/dist/zonos-elements/p-1d5aa016.system.js +1 -0
- package/dist/zonos-elements/{p-30981f80.entry.js → p-1eae4987.entry.js} +1 -1
- package/dist/zonos-elements/p-1f894984.js +1 -0
- package/dist/zonos-elements/{p-cb70de13.system.entry.js → p-23b45714.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-433d76b4.system.js → p-23d497e3.system.js} +1 -1
- package/dist/zonos-elements/{p-7c96a585.js → p-2557b96b.js} +1 -1
- package/dist/zonos-elements/{p-f912e9c3.entry.js → p-27874c22.entry.js} +1 -1
- package/dist/zonos-elements/{p-ac26a931.entry.js → p-2ca8b037.entry.js} +1 -1
- package/dist/zonos-elements/{p-d9486c57.entry.js → p-2dbcecf4.entry.js} +1 -1
- package/dist/zonos-elements/{p-ff1722d0.system.entry.js → p-316f9052.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3eda5c2c.entry.js → p-3185968f.entry.js} +1 -1
- package/dist/zonos-elements/{p-fa90adb8.entry.js → p-31975752.entry.js} +1 -1
- package/dist/zonos-elements/{p-6bab9096.entry.js → p-31af91f0.entry.js} +1 -1
- package/dist/zonos-elements/{p-38f42f10.system.entry.js → p-452fb638.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c998e4ed.entry.js → p-4592ae49.entry.js} +1 -1
- package/dist/zonos-elements/{p-ff522088.system.entry.js → p-4e41143a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f548807d.system.entry.js → p-52b87408.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-cb11d11b.system.entry.js → p-540cec7e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d2f7ea09.entry.js → p-55e2e4ed.entry.js} +1 -1
- package/dist/zonos-elements/{p-bb707dfd.system.js → p-561be3a2.system.js} +1 -1
- package/dist/zonos-elements/{p-a199bb13.js → p-5762e217.js} +1 -1
- package/dist/zonos-elements/{p-e688e493.js → p-57fa64d7.js} +1 -1
- package/dist/zonos-elements/{p-360d7101.system.entry.js → p-59ebb8c7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-abc0fb80.js → p-5c680f72.js} +1 -1
- package/dist/zonos-elements/{p-cbb01de9.entry.js → p-5f398c28.entry.js} +1 -1
- package/dist/zonos-elements/p-5f77d19e.js +1 -0
- package/dist/zonos-elements/{p-4da7b6a8.system.entry.js → p-6adfb3af.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-91fa43ef.entry.js → p-74ca7739.entry.js} +1 -1
- package/dist/zonos-elements/{p-419c292c.system.js → p-767a31a8.system.js} +1 -1
- package/dist/zonos-elements/{p-2eaa5013.system.entry.js → p-770852bf.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f688d7a4.system.js → p-7c705c76.system.js} +1 -1
- package/dist/zonos-elements/{p-22338b4a.system.entry.js → p-81ba2820.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2008df67.js → p-82739127.js} +2 -2
- package/dist/zonos-elements/{p-7730879e.system.js → p-84078c57.system.js} +1 -1
- package/dist/zonos-elements/p-88ea9f82.entry.js +1 -0
- package/dist/zonos-elements/p-8a23bbf5.js +1 -0
- package/dist/zonos-elements/{p-bc963b03.entry.js → p-905d2490.entry.js} +1 -1
- package/dist/zonos-elements/{p-24e26a2c.system.js → p-909e2bc3.system.js} +1 -1
- package/dist/zonos-elements/{p-b658c28a.entry.js → p-936b54c1.entry.js} +1 -1
- package/dist/zonos-elements/{p-304bdbc2.system.entry.js → p-93f2e1ee.system.entry.js} +1 -1
- package/dist/zonos-elements/p-989d3af9.system.js +2 -0
- package/dist/zonos-elements/{p-d96545ae.entry.js → p-9b8750f3.entry.js} +1 -1
- package/dist/zonos-elements/{p-55c6ff14.system.entry.js → p-a0a4e43d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0047fecf.system.js → p-a25428eb.system.js} +1 -1
- package/dist/zonos-elements/{p-4697f061.system.entry.js → p-a2819807.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6d423364.entry.js → p-a6e74856.entry.js} +1 -1
- package/dist/zonos-elements/p-ab41bab5.js +2 -0
- package/dist/zonos-elements/p-ae940a99.js +1 -0
- package/dist/zonos-elements/{p-dc56b469.system.entry.js → p-b1fd1ec2.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7af39c98.js → p-b2a0ab4a.js} +1 -1
- package/dist/zonos-elements/{p-3f35b8b1.system.entry.js → p-b7ea5f4f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c81f6387.entry.js → p-bf9d889f.entry.js} +1 -1
- package/dist/zonos-elements/p-c0c458f7.system.entry.js +1 -0
- package/dist/zonos-elements/p-c1ecab92.entry.js +1 -0
- package/dist/zonos-elements/{p-81b357f7.system.js → p-c2442878.system.js} +1 -1
- package/dist/zonos-elements/{p-7e5bd9af.system.entry.js → p-c288c6da.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b4bf2f03.entry.js → p-c50cc926.entry.js} +1 -1
- package/dist/zonos-elements/{p-b6ef4a5e.system.entry.js → p-c5cb2364.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-57413c34.system.js → p-c6e3d747.system.js} +1 -1
- package/dist/zonos-elements/{p-2dc38ef3.entry.js → p-c7b658cb.entry.js} +1 -1
- package/dist/zonos-elements/p-cf765af3.system.js +1 -0
- package/dist/zonos-elements/{p-89c5164b.system.js → p-d45285aa.system.js} +1 -1
- package/dist/zonos-elements/{p-bccd49d7.system.entry.js → p-d556c6d1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1a67ae71.system.entry.js → p-db628e49.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c28da00e.entry.js → p-e03e1a62.entry.js} +1 -1
- package/dist/zonos-elements/{p-d852d6da.system.entry.js → p-e7874318.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c20429ea.entry.js → p-e8949e7e.entry.js} +1 -1
- package/dist/zonos-elements/{p-3a242dfc.system.js → p-ea0b5d10.system.js} +1 -1
- package/dist/zonos-elements/{p-c9be03e0.entry.js → p-eae3462c.entry.js} +1 -1
- package/dist/zonos-elements/{p-b669050d.system.entry.js → p-eea0eb57.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f892595d.system.entry.js +1 -0
- package/dist/zonos-elements/{p-23c46dfa.system.js → p-f8d56ba9.system.js} +1 -1
- package/dist/zonos-elements/p-fc776473.js +1 -0
- package/dist/zonos-elements/{p-cec35a21.entry.js → p-fd3b46ee.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/index-55a03023.js +0 -2
- package/dist/esm-es5/placeTestOrder-917731cf.js +0 -1
- package/dist/esm-es5/translationStore-d241dcf7.js +0 -1
- package/dist/zonos-elements/p-0ffd710e.js +0 -1
- package/dist/zonos-elements/p-3f0ca5f9.js +0 -1
- package/dist/zonos-elements/p-4f5be8f0.entry.js +0 -1
- package/dist/zonos-elements/p-516a9666.system.js +0 -1
- package/dist/zonos-elements/p-5fc34563.system.js +0 -2
- package/dist/zonos-elements/p-6d563f33.system.entry.js +0 -1
- package/dist/zonos-elements/p-7920d79c.system.js +0 -1
- package/dist/zonos-elements/p-9bdad585.system.entry.js +0 -1
- package/dist/zonos-elements/p-b30c2ad9.js +0 -2
- package/dist/zonos-elements/p-bdeb20cb.js +0 -1
- package/dist/zonos-elements/p-c0e080e3.js +0 -1
- package/dist/zonos-elements/p-db73c11a.entry.js +0 -1
- package/dist/zonos-elements/p-e27a9450.js +0 -1
- package/dist/zonos-elements/p-ede9e968.entry.js +0 -1
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const translationStore = require('./translationStore-
|
|
8
|
-
const placeTestOrder = require('./placeTestOrder-
|
|
5
|
+
const index = require('./index-69fa8852.js');
|
|
6
|
+
const cart = require('./cart-bc615014.js');
|
|
7
|
+
const translationStore = require('./translationStore-08d3ff9c.js');
|
|
8
|
+
const placeTestOrder = require('./placeTestOrder-a5469e40.js');
|
|
9
9
|
const cleanHtmlMarkdown = require('./cleanHtmlMarkdown-577d0a77.js');
|
|
10
10
|
const classes = require('./classes-b7918f56.js');
|
|
11
|
-
const localization = require('./localization-
|
|
12
|
-
const zonosStore = require('./zonosStore-
|
|
13
|
-
const hasInclusivePrice = require('./hasInclusivePrice-
|
|
14
|
-
const paypal = require('./paypal-
|
|
11
|
+
const localization = require('./localization-39516612.js');
|
|
12
|
+
const zonosStore = require('./zonosStore-37a4b4f4.js');
|
|
13
|
+
const hasInclusivePrice = require('./hasInclusivePrice-84145546.js');
|
|
14
|
+
const paypal = require('./paypal-1d6f1a71.js');
|
|
15
15
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
16
16
|
const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
|
|
17
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
17
|
+
const getBorderRadius = require('./getBorderRadius-2ef1170d.js');
|
|
18
18
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
19
19
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
20
|
-
const isDarkColor = require('./isDarkColor-
|
|
20
|
+
const isDarkColor = require('./isDarkColor-878e600e.js');
|
|
21
21
|
const isColorVariable = require('./isColorVariable-525dbfa7.js');
|
|
22
|
-
const updateCheckoutSessionAttributes = require('./updateCheckoutSessionAttributes-
|
|
22
|
+
const updateCheckoutSessionAttributes = require('./updateCheckoutSessionAttributes-3a1db9de.js');
|
|
23
23
|
const shouldRenderTaxIdInput = require('./shouldRenderTaxIdInput-9b8a8de1.js');
|
|
24
24
|
const TaxId = require('./TaxId-12acedde.js');
|
|
25
|
-
require('./debounce-
|
|
25
|
+
require('./debounce-815d1517.js');
|
|
26
26
|
|
|
27
27
|
const zonosCartItemsCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column:last-child{text-align:right}:host .zonos--cart-table .zonos--column:first-child{width:60px}:host .zonos--cart-table td{vertical-align:top}:host .zonos--cart-item-name{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:12px}:host .zonos--cart-item-name .zonos--cart-item-quantity>*{display:inline-block}:host .zonos--cart-item-price zonos-text{white-space:nowrap}:host img{min-width:40px;margin-top:6px}";
|
|
28
28
|
const ZonosCartItemsStyle0 = zonosCartItemsCss;
|
|
@@ -186,7 +186,9 @@ const ZonosCartSubtotal = class {
|
|
|
186
186
|
render() {
|
|
187
187
|
var _a, _b, _c, _d, _e;
|
|
188
188
|
// Since now we are prefetching the landed cost, we need to not show the total that includes the landed cost and shipping
|
|
189
|
-
const cartTotal = cart.cartStore.step === 'customer-info'
|
|
189
|
+
const cartTotal = cart.cartStore.step === 'customer-info'
|
|
190
|
+
? cart.cartStore.subtotal + cart.cartStore.adjustmentTotal
|
|
191
|
+
: cart.cartStore.total;
|
|
190
192
|
const showDutyTaxesInfo = cart.cartStore.step === 'payment' || cart.cartStore.step === 'shipping';
|
|
191
193
|
// Show 0 for subtotal and total when all items are restricted
|
|
192
194
|
const total = cart.cartStoreHasOneEligibleItem() ? cartTotal : 0;
|
|
@@ -1204,9 +1206,13 @@ const taxIdValidationResult = ({ companyName, shippingCountry, taxId, }) => {
|
|
|
1204
1206
|
};
|
|
1205
1207
|
};
|
|
1206
1208
|
|
|
1207
|
-
const zonosCustomerInfoCss = ".sc-zonos-customer-info-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-customer-info-h *.sc-zonos-customer-info{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-customer-info-h img.sc-zonos-customer-info{max-width:100%}.sc-zonos-customer-info-h dl.sc-zonos-customer-info,.sc-zonos-customer-info-h dd.sc-zonos-customer-info,.sc-zonos-customer-info-h h1.sc-zonos-customer-info,.sc-zonos-customer-info-h h2.sc-zonos-customer-info,.sc-zonos-customer-info-h h3.sc-zonos-customer-info,.sc-zonos-customer-info-h h4.sc-zonos-customer-info,.sc-zonos-customer-info-h h5.sc-zonos-customer-info,.sc-zonos-customer-info-h h6.sc-zonos-customer-info,.sc-zonos-customer-info-h hr.sc-zonos-customer-info,.sc-zonos-customer-info-h figure.sc-zonos-customer-info,.sc-zonos-customer-info-h p.sc-zonos-customer-info,.sc-zonos-customer-info-h pre.sc-zonos-customer-info{margin:0}.sc-zonos-customer-info-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-customer-info-h{overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%}.sc-zonos-customer-info-h .zonos--title.sc-zonos-customer-info{margin-bottom:20px}.sc-zonos-customer-info-h .zonos--link-authentication.sc-zonos-customer-info{margin-bottom:32px}.sc-zonos-customer-info-h .zonos--address.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--checkbox.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--checkbox.sc-zonos-customer-info+.zonos--address.sc-zonos-customer-info{margin-bottom:0}.sc-zonos-customer-info-h zonos-button.sc-zonos-customer-info{-webkit-box-shadow:0 0 1px 0 var(--zonos-elements-gray-600);box-shadow:0 0 1px 0 var(--zonos-elements-gray-600)}.sc-zonos-customer-info-h .zonos--error-banner.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--tax-id-input.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info{margin-bottom:20px;overflow:auto;padding:5px;height:100%;-ms-scroll-chaining:none;overscroll-behavior:contain}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar{width:10px}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-customer-info-h .zonos--group-btn.sc-zonos-customer-info{position:-webkit-sticky;position:sticky;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;bottom:-5px;padding-top:8px;margin-top:12px;background:var(--zonos--primary-color, var(--zonos-elements-gray-0));z-index:2}.sc-zonos-customer-info-h .zonos--group-btn.sc-zonos-customer-info zonos-button.sc-zonos-customer-info{width:100%}";
|
|
1209
|
+
const zonosCustomerInfoCss = ".sc-zonos-customer-info-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-customer-info-h *.sc-zonos-customer-info{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-customer-info-h img.sc-zonos-customer-info{max-width:100%}.sc-zonos-customer-info-h dl.sc-zonos-customer-info,.sc-zonos-customer-info-h dd.sc-zonos-customer-info,.sc-zonos-customer-info-h h1.sc-zonos-customer-info,.sc-zonos-customer-info-h h2.sc-zonos-customer-info,.sc-zonos-customer-info-h h3.sc-zonos-customer-info,.sc-zonos-customer-info-h h4.sc-zonos-customer-info,.sc-zonos-customer-info-h h5.sc-zonos-customer-info,.sc-zonos-customer-info-h h6.sc-zonos-customer-info,.sc-zonos-customer-info-h hr.sc-zonos-customer-info,.sc-zonos-customer-info-h figure.sc-zonos-customer-info,.sc-zonos-customer-info-h p.sc-zonos-customer-info,.sc-zonos-customer-info-h pre.sc-zonos-customer-info{margin:0}.sc-zonos-customer-info-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-customer-info-h{overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%}.sc-zonos-customer-info-h .zonos--title.sc-zonos-customer-info{margin-bottom:20px}.sc-zonos-customer-info-h .zonos--link-authentication.sc-zonos-customer-info{margin-bottom:32px}.sc-zonos-customer-info-h .zonos--address.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--checkbox.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--checkbox.sc-zonos-customer-info+.zonos--address.sc-zonos-customer-info{margin-bottom:0}.sc-zonos-customer-info-h zonos-button.sc-zonos-customer-info{-webkit-box-shadow:0 0 1px 0 var(--zonos-elements-gray-600);box-shadow:0 0 1px 0 var(--zonos-elements-gray-600)}.sc-zonos-customer-info-h .zonos--error-banner.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--tax-id-input.sc-zonos-customer-info{margin-bottom:16px}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info{margin-bottom:20px;overflow:auto;padding:5px;height:100%;-ms-scroll-chaining:none;overscroll-behavior:contain}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar{width:10px}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-track{background:var(--zonos-elements-gray-50)}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-thumb{border-radius:10px;background:#cccccc;border:3px solid transparent;background-clip:content-box}.sc-zonos-customer-info-h .zonos--group.sc-zonos-customer-info::-webkit-scrollbar-thumb:hover{background:#d6d6d6}.sc-zonos-customer-info-h .zonos--error-banner.sc-zonos-customer-info ul.sc-zonos-customer-info{list-style:disc;padding-left:8px}.sc-zonos-customer-info-h .zonos--group-btn.sc-zonos-customer-info{position:-webkit-sticky;position:sticky;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;bottom:-5px;padding-top:8px;margin-top:12px;background:var(--zonos--primary-color, var(--zonos-elements-gray-0));z-index:2}.sc-zonos-customer-info-h .zonos--group-btn.sc-zonos-customer-info zonos-button.sc-zonos-customer-info{width:100%}";
|
|
1208
1210
|
const ZonosCustomerInfoStyle0 = zonosCustomerInfoCss;
|
|
1209
1211
|
|
|
1212
|
+
/**
|
|
1213
|
+
* Max address field length
|
|
1214
|
+
*/
|
|
1215
|
+
const MAX_CHARACTER_LENGTH_PER_FIELD = 35;
|
|
1210
1216
|
const ZonosCustomerInfo = class {
|
|
1211
1217
|
constructor(hostRef) {
|
|
1212
1218
|
index.registerInstance(this, hostRef);
|
|
@@ -1266,6 +1272,7 @@ const ZonosCustomerInfo = class {
|
|
|
1266
1272
|
this.selectedCountryCode = localization.localizationStore.selectedCountryCode;
|
|
1267
1273
|
this.genericSettings = zonosStore.zonosStore.genericSettings;
|
|
1268
1274
|
this.addressFormRenderType = cart.cartStore.addressFormRenderType;
|
|
1275
|
+
this.exceededCharacterLimitErrorFieldList = [];
|
|
1269
1276
|
/**
|
|
1270
1277
|
* Handler for invalid characters in the address
|
|
1271
1278
|
*/
|
|
@@ -1387,6 +1394,72 @@ const ZonosCustomerInfo = class {
|
|
|
1387
1394
|
isValid: !hasError,
|
|
1388
1395
|
};
|
|
1389
1396
|
};
|
|
1397
|
+
/**
|
|
1398
|
+
* Make sure all fields in the address are within the character limit
|
|
1399
|
+
*/
|
|
1400
|
+
this.validateAddressLength = ({ address, type, }) => {
|
|
1401
|
+
if (!address) {
|
|
1402
|
+
return [];
|
|
1403
|
+
}
|
|
1404
|
+
const { city, line1, postal_code, state } = address.value.address;
|
|
1405
|
+
const { firstName, lastName, name } = address.value;
|
|
1406
|
+
const { firstName: extractedFirstName, lastName: extractedLastName } = cart.extractName({
|
|
1407
|
+
firstName,
|
|
1408
|
+
lastName,
|
|
1409
|
+
name,
|
|
1410
|
+
});
|
|
1411
|
+
const cityLength = city.length;
|
|
1412
|
+
const line1Length = line1.length;
|
|
1413
|
+
const postalCodeLength = postal_code.length;
|
|
1414
|
+
const stateLength = state.length;
|
|
1415
|
+
const firstNameLength = extractedFirstName.length;
|
|
1416
|
+
const lastNameLength = extractedLastName.length;
|
|
1417
|
+
const addressType = type === 'shipping' ? 'shipping' : 'billing';
|
|
1418
|
+
const errorMessageList = [];
|
|
1419
|
+
if (cityLength > MAX_CHARACTER_LENGTH_PER_FIELD) {
|
|
1420
|
+
errorMessageList.push({
|
|
1421
|
+
addressType,
|
|
1422
|
+
fieldLabel: 'City',
|
|
1423
|
+
value: city,
|
|
1424
|
+
});
|
|
1425
|
+
}
|
|
1426
|
+
if (line1Length > MAX_CHARACTER_LENGTH_PER_FIELD) {
|
|
1427
|
+
errorMessageList.push({
|
|
1428
|
+
addressType,
|
|
1429
|
+
fieldLabel: 'Address line 1',
|
|
1430
|
+
value: line1,
|
|
1431
|
+
});
|
|
1432
|
+
}
|
|
1433
|
+
if (postalCodeLength > MAX_CHARACTER_LENGTH_PER_FIELD) {
|
|
1434
|
+
errorMessageList.push({
|
|
1435
|
+
addressType,
|
|
1436
|
+
fieldLabel: 'Zip',
|
|
1437
|
+
value: postal_code,
|
|
1438
|
+
});
|
|
1439
|
+
}
|
|
1440
|
+
if (stateLength > MAX_CHARACTER_LENGTH_PER_FIELD) {
|
|
1441
|
+
errorMessageList.push({
|
|
1442
|
+
addressType,
|
|
1443
|
+
fieldLabel: 'State/Province/Region/Prefecture',
|
|
1444
|
+
value: state,
|
|
1445
|
+
});
|
|
1446
|
+
}
|
|
1447
|
+
if (firstNameLength > MAX_CHARACTER_LENGTH_PER_FIELD) {
|
|
1448
|
+
errorMessageList.push({
|
|
1449
|
+
addressType,
|
|
1450
|
+
fieldLabel: 'First name',
|
|
1451
|
+
value: extractedFirstName,
|
|
1452
|
+
});
|
|
1453
|
+
}
|
|
1454
|
+
if (lastNameLength > MAX_CHARACTER_LENGTH_PER_FIELD) {
|
|
1455
|
+
errorMessageList.push({
|
|
1456
|
+
addressType,
|
|
1457
|
+
fieldLabel: 'Last name',
|
|
1458
|
+
value: extractedLastName,
|
|
1459
|
+
});
|
|
1460
|
+
}
|
|
1461
|
+
return errorMessageList;
|
|
1462
|
+
};
|
|
1390
1463
|
this.handleValidate = () => {
|
|
1391
1464
|
var _a, _b;
|
|
1392
1465
|
const stripeShippingAddressEventData = cart.stripeStore.stripeAddressEventData;
|
|
@@ -1422,13 +1495,29 @@ const ZonosCustomerInfo = class {
|
|
|
1422
1495
|
});
|
|
1423
1496
|
VarianceTest.log('==> isValidLink', 'info', isValidLink);
|
|
1424
1497
|
// validate tax id input if it's required for specific countries, optional otherwise
|
|
1425
|
-
const { error, valid } = taxIdValidationResult({
|
|
1498
|
+
const { error, valid: validTaxId } = taxIdValidationResult({
|
|
1426
1499
|
companyName: cart.stripeStore.companyName,
|
|
1427
1500
|
shippingCountry: this.shippingCountry,
|
|
1428
1501
|
taxId: cart.stripeStore.taxId,
|
|
1429
1502
|
});
|
|
1430
|
-
this.taxIdErrorMessage = !
|
|
1431
|
-
|
|
1503
|
+
this.taxIdErrorMessage = !validTaxId ? translationStore.translate(error) : '';
|
|
1504
|
+
const addressLengthErrorList = this.validateAddressLength({
|
|
1505
|
+
address: cart.stripeStore.stripeAddressEventData,
|
|
1506
|
+
type: 'shipping',
|
|
1507
|
+
});
|
|
1508
|
+
const billingAddressLengthErrorList = this.validateAddressLength({
|
|
1509
|
+
address: cart.stripeStore.stripeBillingAddressEventData,
|
|
1510
|
+
type: 'billing',
|
|
1511
|
+
});
|
|
1512
|
+
this.exceededCharacterLimitErrorFieldList = [
|
|
1513
|
+
...addressLengthErrorList,
|
|
1514
|
+
...billingAddressLengthErrorList,
|
|
1515
|
+
];
|
|
1516
|
+
if (!isValidBilling ||
|
|
1517
|
+
!isValidShipping ||
|
|
1518
|
+
!isValidLink ||
|
|
1519
|
+
!validTaxId ||
|
|
1520
|
+
this.exceededCharacterLimitErrorFieldList.length > 0) {
|
|
1432
1521
|
return false;
|
|
1433
1522
|
}
|
|
1434
1523
|
return true;
|
|
@@ -1457,6 +1546,27 @@ const ZonosCustomerInfo = class {
|
|
|
1457
1546
|
state: addressValue.address.state || '',
|
|
1458
1547
|
};
|
|
1459
1548
|
};
|
|
1549
|
+
this.renderExceededCharacterLimitError = (type) => {
|
|
1550
|
+
const errorMessageByType = this.exceededCharacterLimitErrorFieldList.filter(({ addressType }) => addressType === type);
|
|
1551
|
+
if (!errorMessageByType.length) {
|
|
1552
|
+
return null;
|
|
1553
|
+
}
|
|
1554
|
+
return (index.h("zonos-banner", { class: "zonos--error-banner", intent: "error", slot: "below-title" }, index.h("ul", null, errorMessageByType.map(({ fieldLabel, value }) => {
|
|
1555
|
+
const isAddressLine1 = fieldLabel === 'Address line 1';
|
|
1556
|
+
if (isAddressLine1) {
|
|
1557
|
+
return (index.h("li", { key: fieldLabel }, translationStore.translate('[fieldLabel] is [currentLength] characters. Please shorten to [maxLength] or less or move the rest to address line 2.', {
|
|
1558
|
+
currentLength: value.length,
|
|
1559
|
+
fieldLabel,
|
|
1560
|
+
maxLength: MAX_CHARACTER_LENGTH_PER_FIELD,
|
|
1561
|
+
})));
|
|
1562
|
+
}
|
|
1563
|
+
return (index.h("li", { key: fieldLabel }, translationStore.translate('[fieldLabel] is [currentLength] characters. Please shorten to [maxLength] or less.', {
|
|
1564
|
+
currentLength: value.length,
|
|
1565
|
+
fieldLabel,
|
|
1566
|
+
maxLength: MAX_CHARACTER_LENGTH_PER_FIELD,
|
|
1567
|
+
})));
|
|
1568
|
+
}))));
|
|
1569
|
+
};
|
|
1460
1570
|
this.renderAddressComponent = (type) => {
|
|
1461
1571
|
if (!this.selectedCountryCode) {
|
|
1462
1572
|
void handleFetch.sendErrorLog({
|
|
@@ -1487,10 +1597,10 @@ const ZonosCustomerInfo = class {
|
|
|
1487
1597
|
}
|
|
1488
1598
|
// Render custom address component if the custom address form is enabled
|
|
1489
1599
|
if (this.addressFormRenderType === 'zonos') {
|
|
1490
|
-
return (index.h("zonos-custom-address", { defaultAddress: defaultAddress, taxIdErrorMessage: this.taxIdErrorMessage, titleText: translationStore.translate(type === 'shipping' ? 'Shipping address' : 'Billing address'), type: type }));
|
|
1600
|
+
return (index.h("zonos-custom-address", { defaultAddress: defaultAddress, taxIdErrorMessage: this.taxIdErrorMessage, titleText: translationStore.translate(type === 'shipping' ? 'Shipping address' : 'Billing address'), type: type }, this.renderExceededCharacterLimitError(type)));
|
|
1491
1601
|
}
|
|
1492
1602
|
// Render Stripe address component by default
|
|
1493
|
-
return (index.h("zonos-address", { defaultAddress: defaultAddress, taxIdErrorMessage: this.taxIdErrorMessage, titleText: translationStore.translate(type === 'shipping' ? 'Shipping address' : 'Billing address'), type: type }));
|
|
1603
|
+
return (index.h("zonos-address", { defaultAddress: defaultAddress, taxIdErrorMessage: this.taxIdErrorMessage, titleText: translationStore.translate(type === 'shipping' ? 'Shipping address' : 'Billing address'), type: type }, this.renderExceededCharacterLimitError(type)));
|
|
1494
1604
|
};
|
|
1495
1605
|
}
|
|
1496
1606
|
watchShowErrorBanner() {
|
|
@@ -1683,7 +1793,9 @@ const ZonosReview = class {
|
|
|
1683
1793
|
this.isMobile = handleFetch.isCheckoutMobile(this.mobile);
|
|
1684
1794
|
}
|
|
1685
1795
|
render() {
|
|
1686
|
-
const cartTotal = cart.cartStore.step === 'customer-info'
|
|
1796
|
+
const cartTotal = cart.cartStore.step === 'customer-info'
|
|
1797
|
+
? cart.cartStore.subtotal + cart.cartStore.adjustmentTotal
|
|
1798
|
+
: cart.cartStore.total;
|
|
1687
1799
|
const total = cart.cartStoreHasOneEligibleItem() ? cartTotal : 0;
|
|
1688
1800
|
const titleTextType = this.isMobile ? 'boldSubheader' : 'semiBoldLabel';
|
|
1689
1801
|
const totalTextType = this.isMobile
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const paypal = require('./paypal-
|
|
8
|
-
const localization = require('./localization-
|
|
9
|
-
const translationStore = require('./translationStore-
|
|
10
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-69fa8852.js');
|
|
6
|
+
const cart = require('./cart-bc615014.js');
|
|
7
|
+
const paypal = require('./paypal-1d6f1a71.js');
|
|
8
|
+
const localization = require('./localization-39516612.js');
|
|
9
|
+
const translationStore = require('./translationStore-08d3ff9c.js');
|
|
10
|
+
const zonosStore = require('./zonosStore-37a4b4f4.js');
|
|
11
11
|
const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
|
|
12
12
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
13
|
-
const updateCheckoutSessionAttributes = require('./updateCheckoutSessionAttributes-
|
|
13
|
+
const updateCheckoutSessionAttributes = require('./updateCheckoutSessionAttributes-3a1db9de.js');
|
|
14
14
|
const CheckoutConfig = require('./CheckoutConfig-27c82f94.js');
|
|
15
15
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
16
16
|
const classes = require('./classes-b7918f56.js');
|
|
17
17
|
const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
|
|
18
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
19
|
-
const isDarkColor = require('./isDarkColor-
|
|
18
|
+
const getBorderRadius = require('./getBorderRadius-2ef1170d.js');
|
|
19
|
+
const isDarkColor = require('./isDarkColor-878e600e.js');
|
|
20
20
|
const styles = require('./styles-d1e64fb9.js');
|
|
21
21
|
const RemoveIcon = require('./RemoveIcon-081ac073.js');
|
|
22
|
-
require('./debounce-
|
|
22
|
+
require('./debounce-815d1517.js');
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Check if store discount is enabled
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-69fa8852.js');
|
|
6
|
+
const zonosStore = require('./zonosStore-37a4b4f4.js');
|
|
7
7
|
require('./VarianceTest-bec00ea8.js');
|
|
8
8
|
|
|
9
9
|
const zonosCollapseCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out;overflow:hidden}:host div{position:relative}:host iframe{width:0;height:100%;position:absolute;top:0;border:0}";
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const cart = require('./cart-
|
|
5
|
+
const index = require('./index-69fa8852.js');
|
|
6
|
+
const cart = require('./cart-bc615014.js');
|
|
7
7
|
const cleanHtmlMarkdown = require('./cleanHtmlMarkdown-577d0a77.js');
|
|
8
|
-
const zonosStore = require('./zonosStore-
|
|
8
|
+
const zonosStore = require('./zonosStore-37a4b4f4.js');
|
|
9
9
|
const classes = require('./classes-b7918f56.js');
|
|
10
10
|
const styles = require('./styles-d1e64fb9.js');
|
|
11
|
-
require('./localization-
|
|
11
|
+
require('./localization-39516612.js');
|
|
12
12
|
require('./handleFetch-954f30e1.js');
|
|
13
13
|
require('./VarianceTest-bec00ea8.js');
|
|
14
|
-
require('./translationStore-
|
|
15
|
-
require('./isDarkColor-
|
|
16
|
-
require('./getBorderRadius-
|
|
14
|
+
require('./translationStore-08d3ff9c.js');
|
|
15
|
+
require('./isDarkColor-878e600e.js');
|
|
16
|
+
require('./getBorderRadius-2ef1170d.js');
|
|
17
17
|
|
|
18
18
|
const zonosCollectCartItemsCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;padding-left:0;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column:first-child{width:48px}:host .zonos--cart-table td{vertical-align:middle}:host .zonos--cart-item-price zonos-text{white-space:nowrap}:host img{min-width:40px;margin-top:6px;-webkit-box-shadow:0 0 0 1px rgba(110, 110, 120, 0.1), 0 1px 2px 0 rgba(10, 10, 11, 0.06), 0 1px 3px 0 rgba(10, 10, 11, 0.1);box-shadow:0 0 0 1px rgba(110, 110, 120, 0.1), 0 1px 2px 0 rgba(10, 10, 11, 0.06), 0 1px 3px 0 rgba(10, 10, 11, 0.1);border-radius:10px}";
|
|
19
19
|
const ZonosCollectCartItemsStyle0 = zonosCollectCartItemsCss;
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const paypal = require('./paypal-
|
|
8
|
-
const localization = require('./localization-
|
|
9
|
-
const translationStore = require('./translationStore-
|
|
10
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-69fa8852.js');
|
|
6
|
+
const cart = require('./cart-bc615014.js');
|
|
7
|
+
const paypal = require('./paypal-1d6f1a71.js');
|
|
8
|
+
const localization = require('./localization-39516612.js');
|
|
9
|
+
const translationStore = require('./translationStore-08d3ff9c.js');
|
|
10
|
+
const zonosStore = require('./zonosStore-37a4b4f4.js');
|
|
11
11
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
12
12
|
const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
|
|
13
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
13
|
+
const getBorderRadius = require('./getBorderRadius-2ef1170d.js');
|
|
14
14
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
15
|
-
const renderFallback = require('./renderFallback-
|
|
15
|
+
const renderFallback = require('./renderFallback-c2576fbe.js');
|
|
16
16
|
const classes = require('./classes-b7918f56.js');
|
|
17
17
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
18
|
-
const placeTestOrder = require('./placeTestOrder-
|
|
19
|
-
require('./isDarkColor-
|
|
18
|
+
const placeTestOrder = require('./placeTestOrder-a5469e40.js');
|
|
19
|
+
require('./isDarkColor-878e600e.js');
|
|
20
20
|
|
|
21
21
|
const RemoveIcon = `<svg color="var(--zonos-elements-red-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z" data-is-secondary-color="true" fill="var(--zonos-elements-red-200)" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
|
|
22
22
|
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const renderFallback = require('./renderFallback-
|
|
8
|
-
const paypal = require('./paypal-
|
|
9
|
-
const localization = require('./localization-
|
|
10
|
-
const translationStore = require('./translationStore-
|
|
11
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-69fa8852.js');
|
|
6
|
+
const cart = require('./cart-bc615014.js');
|
|
7
|
+
const renderFallback = require('./renderFallback-c2576fbe.js');
|
|
8
|
+
const paypal = require('./paypal-1d6f1a71.js');
|
|
9
|
+
const localization = require('./localization-39516612.js');
|
|
10
|
+
const translationStore = require('./translationStore-08d3ff9c.js');
|
|
11
|
+
const zonosStore = require('./zonosStore-37a4b4f4.js');
|
|
12
12
|
const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
|
|
13
13
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
14
14
|
const classes = require('./classes-b7918f56.js');
|
|
15
15
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
16
16
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
17
|
-
require('./isDarkColor-
|
|
18
|
-
require('./getBorderRadius-
|
|
17
|
+
require('./isDarkColor-878e600e.js');
|
|
18
|
+
require('./getBorderRadius-2ef1170d.js');
|
|
19
19
|
|
|
20
20
|
const ChevronDownIcon = `<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
|
|
21
21
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-69fa8852.js');
|
|
6
6
|
|
|
7
7
|
function format(first, middle, last) {
|
|
8
8
|
return ((first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''));
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const translationStore = require('./translationStore-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-69fa8852.js');
|
|
6
|
+
const translationStore = require('./translationStore-08d3ff9c.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-37a4b4f4.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
9
|
+
const getBorderRadius = require('./getBorderRadius-2ef1170d.js');
|
|
10
10
|
require('./VarianceTest-bec00ea8.js');
|
|
11
11
|
|
|
12
12
|
const ExclamationMarkDuotoneIcon = `<svg color="var(--zonos-elements-red-800)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg" style="display: block;">
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const localization = require('./localization-
|
|
8
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-69fa8852.js');
|
|
6
|
+
const cart = require('./cart-bc615014.js');
|
|
7
|
+
const localization = require('./localization-39516612.js');
|
|
8
|
+
const zonosStore = require('./zonosStore-37a4b4f4.js');
|
|
9
9
|
const getGenericSettingsOverride = require('./getGenericSettingsOverride-c0ca32b9.js');
|
|
10
10
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
11
11
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
12
|
-
require('./translationStore-
|
|
13
|
-
require('./isDarkColor-
|
|
14
|
-
require('./getBorderRadius-
|
|
12
|
+
require('./translationStore-08d3ff9c.js');
|
|
13
|
+
require('./isDarkColor-878e600e.js');
|
|
14
|
+
require('./getBorderRadius-2ef1170d.js');
|
|
15
15
|
|
|
16
16
|
const getZonosSettings = async () => {
|
|
17
17
|
if (window.Zonos.cartSettings) {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const localization = require('./localization-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-69fa8852.js');
|
|
6
|
+
const localization = require('./localization-39516612.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-37a4b4f4.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
require('./handleFetch-954f30e1.js');
|
|
10
10
|
require('./VarianceTest-bec00ea8.js');
|
|
11
|
-
require('./translationStore-
|
|
11
|
+
require('./translationStore-08d3ff9c.js');
|
|
12
12
|
|
|
13
13
|
const zonosCountryFlagCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-inline-flexbox;display:inline-flex}:host .flag-container{position:relative;overflow:hidden;width:100%;height:100%}:host .flag-icon{position:absolute;top:0;left:0;width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover}";
|
|
14
14
|
const ZonosCountryFlagStyle0 = zonosCountryFlagCss;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const localization = require('./localization-
|
|
7
|
-
const translationStore = require('./translationStore-
|
|
8
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-69fa8852.js');
|
|
6
|
+
const localization = require('./localization-39516612.js');
|
|
7
|
+
const translationStore = require('./translationStore-08d3ff9c.js');
|
|
8
|
+
const zonosStore = require('./zonosStore-37a4b4f4.js');
|
|
9
9
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
10
|
-
const isDarkColor = require('./isDarkColor-
|
|
10
|
+
const isDarkColor = require('./isDarkColor-878e600e.js');
|
|
11
11
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
12
12
|
const classes = require('./classes-b7918f56.js');
|
|
13
13
|
require('./handleFetch-954f30e1.js');
|