@zonos/elements 1.3.256 → 1.3.258
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-e156c1e3.js → cart-c618fd5b.js} +4 -4
- package/dist/cjs/{debounce-0c75ba33.js → debounce-3e17b4e9.js} +1 -1
- package/dist/cjs/{getBorderRadius-27a74844.js → getBorderRadius-db55a464.js} +1 -1
- package/dist/cjs/{getContrastColor-cc087c53.js → getContrastColor-8ed1cb48.js} +2 -2
- package/dist/cjs/{hasInclusivePrice-d6d274bd.js → hasInclusivePrice-58a9f15d.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{invoice-f4b5d538.js → invoice-c9cb6683.js} +3 -3
- package/dist/cjs/{isCollectMobileTablet-c9369cd8.js → isCollectMobileTablet-93a5194a.js} +3 -3
- package/dist/cjs/{isContrastColor-d1936a5c.js → isContrastColor-6a17f408.js} +1 -1
- package/dist/cjs/{isDarkColor-a68abf7a.js → isDarkColor-bfe6d1eb.js} +1 -1
- package/dist/cjs/{localization-5bb1e598.js → localization-5994d4de.js} +77 -20
- package/dist/cjs/{paypal-f9641595.js → paypal-091e089e.js} +5 -5
- package/dist/cjs/{placeTestOrder-7ac7f91a.js → placeTestOrder-b07f8edb.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-6b59a718.js → renderCheckoutCurrency-7876a1d4.js} +2 -2
- package/dist/cjs/{submitGtag-cb4fb332.js → submitGtag-9ac5a42e.js} +1 -1
- package/dist/cjs/{throttle-ff483793.js → throttle-dac93461.js} +2 -2
- package/dist/cjs/{updateCheckoutSessionAttributes-8be63b63.js → updateCheckoutSessionAttributes-a3776bb0.js} +1 -1
- package/dist/cjs/zonos-address-display_8.cjs.entry.js +7 -7
- package/dist/cjs/zonos-address_4.cjs.entry.js +7 -7
- package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
- package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
- package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
- package/dist/cjs/zonos-card_5.cjs.entry.js +8 -8
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +14 -14
- package/dist/cjs/zonos-checkbox_2.cjs.entry.js +3 -3
- package/dist/cjs/zonos-checkout.cjs.entry.js +10 -10
- package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
- package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +5 -5
- package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +11 -11
- package/dist/cjs/zonos-collect.cjs.entry.js +9 -9
- package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
- package/dist/cjs/zonos-country-flag.cjs.entry.js +2 -2
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +3 -3
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +46 -13
- package/dist/cjs/zonos-hello.cjs.entry.js +38 -15
- package/dist/cjs/zonos-input.cjs.entry.js +2 -2
- package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +7 -7
- package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +11 -11
- package/dist/cjs/zonos-invoice.cjs.entry.js +9 -9
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +2 -2
- package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +5 -5
- package/dist/cjs/zonos-store-credit.cjs.entry.js +6 -6
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +3 -3
- package/dist/cjs/zonos-text.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
- package/dist/cjs/{zonosStore-f5a61112.js → zonosStore-1c517e55.js} +0 -1
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +35 -12
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +43 -10
- package/dist/collection/components/store/hello/localization.js +76 -19
- package/dist/collection/components/store/zonosStore.js +0 -1
- package/dist/collection/types/generated/graphql.internal.types.js +446 -0
- package/dist/esm/{cart-55b8dd7c.js → cart-76fb528f.js} +4 -4
- package/dist/esm/{debounce-efc0e473.js → debounce-8faafc9f.js} +1 -1
- package/dist/esm/{getBorderRadius-c21a42e5.js → getBorderRadius-66de1b16.js} +1 -1
- package/dist/esm/{getContrastColor-98f0d1d5.js → getContrastColor-e14f95a7.js} +2 -2
- package/dist/esm/{hasInclusivePrice-ddae18fd.js → hasInclusivePrice-275b1048.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{invoice-dbe85a18.js → invoice-9efcb941.js} +3 -3
- package/dist/esm/{isCollectMobileTablet-8af0d16d.js → isCollectMobileTablet-a7e5b909.js} +3 -3
- package/dist/esm/{isContrastColor-c17e83c9.js → isContrastColor-f9e65e70.js} +1 -1
- package/dist/esm/{isDarkColor-3537021b.js → isDarkColor-8092a9fb.js} +1 -1
- package/dist/esm/{localization-d11c973f.js → localization-76ce3e29.js} +77 -20
- package/dist/esm/{paypal-f87fbee0.js → paypal-75c5c66d.js} +5 -5
- package/dist/esm/{placeTestOrder-8e8e97be.js → placeTestOrder-22633bf2.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-45c74af2.js → renderCheckoutCurrency-d27b0082.js} +2 -2
- package/dist/esm/{submitGtag-13de9f1f.js → submitGtag-543058f9.js} +1 -1
- package/dist/esm/{throttle-0504ba2c.js → throttle-5a66b4fd.js} +2 -2
- package/dist/esm/{updateCheckoutSessionAttributes-b9f7e982.js → updateCheckoutSessionAttributes-8f3f932e.js} +1 -1
- package/dist/esm/zonos-address-display_8.entry.js +7 -7
- package/dist/esm/zonos-address_4.entry.js +7 -7
- package/dist/esm/zonos-badge.entry.js +1 -1
- package/dist/esm/zonos-banner.entry.js +1 -1
- package/dist/esm/zonos-button_3.entry.js +3 -3
- package/dist/esm/zonos-card_5.entry.js +8 -8
- package/dist/esm/zonos-cart-items_12.entry.js +14 -14
- package/dist/esm/zonos-checkbox_2.entry.js +3 -3
- package/dist/esm/zonos-checkout.entry.js +10 -10
- package/dist/esm/zonos-collapse.entry.js +1 -1
- package/dist/esm/zonos-collect-cart-items_3.entry.js +5 -5
- package/dist/esm/zonos-collect-finish_6.entry.js +11 -11
- package/dist/esm/zonos-collect.entry.js +9 -9
- package/dist/esm/zonos-controller.entry.js +6 -6
- package/dist/esm/zonos-country-flag.entry.js +2 -2
- package/dist/esm/zonos-country-select_4.entry.js +3 -3
- package/dist/esm/zonos-hello-dialog.entry.js +46 -13
- package/dist/esm/zonos-hello.entry.js +38 -15
- package/dist/esm/zonos-input.entry.js +2 -2
- package/dist/esm/zonos-invoice-cart-items_2.entry.js +7 -7
- package/dist/esm/zonos-invoice-finish_5.entry.js +11 -11
- package/dist/esm/zonos-invoice.entry.js +9 -9
- package/dist/esm/zonos-language-select_2.entry.js +2 -2
- package/dist/esm/zonos-logo.entry.js +1 -1
- package/dist/esm/zonos-shipping-rich-radio.entry.js +5 -5
- package/dist/esm/zonos-store-credit.entry.js +6 -6
- package/dist/esm/zonos-stripe-input.entry.js +3 -3
- package/dist/esm/zonos-text.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +1 -1
- package/dist/esm/{zonosStore-5242a58d.js → zonosStore-f1d45eac.js} +0 -1
- package/dist/esm-es5/{cart-55b8dd7c.js → cart-76fb528f.js} +1 -1
- package/dist/esm-es5/{debounce-efc0e473.js → debounce-8faafc9f.js} +1 -1
- package/dist/esm-es5/{getBorderRadius-c21a42e5.js → getBorderRadius-66de1b16.js} +1 -1
- package/dist/esm-es5/{getContrastColor-98f0d1d5.js → getContrastColor-e14f95a7.js} +1 -1
- package/dist/esm-es5/{hasInclusivePrice-ddae18fd.js → hasInclusivePrice-275b1048.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{invoice-dbe85a18.js → invoice-9efcb941.js} +1 -1
- package/dist/esm-es5/{isCollectMobileTablet-8af0d16d.js → isCollectMobileTablet-a7e5b909.js} +1 -1
- package/dist/esm-es5/{isContrastColor-c17e83c9.js → isContrastColor-f9e65e70.js} +1 -1
- package/dist/esm-es5/{isDarkColor-3537021b.js → isDarkColor-8092a9fb.js} +1 -1
- package/dist/esm-es5/{localization-d11c973f.js → localization-76ce3e29.js} +1 -1
- package/dist/esm-es5/paypal-75c5c66d.js +17 -0
- package/dist/esm-es5/{placeTestOrder-8e8e97be.js → placeTestOrder-22633bf2.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-45c74af2.js → renderCheckoutCurrency-d27b0082.js} +1 -1
- package/dist/esm-es5/{submitGtag-13de9f1f.js → submitGtag-543058f9.js} +1 -1
- package/dist/esm-es5/{throttle-0504ba2c.js → throttle-5a66b4fd.js} +1 -1
- package/dist/esm-es5/{updateCheckoutSessionAttributes-b9f7e982.js → updateCheckoutSessionAttributes-8f3f932e.js} +1 -1
- package/dist/esm-es5/zonos-address-display_8.entry.js +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card_5.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkbox_2.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
- package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
- package/dist/esm-es5/zonos-collect.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
- package/dist/esm-es5/zonos-invoice.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-store-credit.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-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-5242a58d.js → zonosStore-f1d45eac.js} +1 -1
- package/dist/scripts/index.d.ts +88 -8
- 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/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +6 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/scripts/cart/_setupCartDataWithSettings.d.ts +18 -6
- 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 +532 -11
- package/dist/types/types/generated/graphql.internal.types.ts +600 -11
- package/dist/types/types/hello/HelloConfig.d.ts +22 -3
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-6b45e9f3.system.entry.js → p-055c8d6c.system.entry.js} +1 -1
- package/dist/zonos-elements/p-09307a03.js +1 -0
- package/dist/zonos-elements/{p-f36e907e.entry.js → p-0a9741f7.entry.js} +1 -1
- package/dist/zonos-elements/{p-9b42f0ad.system.entry.js → p-10da499b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8d5f928c.system.entry.js → p-1368dce7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-52b70520.system.entry.js → p-14d35979.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e2adf04b.system.js → p-1523f6a8.system.js} +1 -1
- package/dist/zonos-elements/{p-ac30b7a8.system.js → p-15ef7644.system.js} +1 -1
- package/dist/zonos-elements/{p-f9ffff4e.entry.js → p-1661f938.entry.js} +1 -1
- package/dist/zonos-elements/{p-ab25379f.system.js → p-17a8a514.system.js} +1 -1
- package/dist/zonos-elements/{p-72de2fdc.system.entry.js → p-1e9e284e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-93c64387.js → p-1ebb59a3.js} +1 -1
- package/dist/zonos-elements/{p-3a8925e9.js → p-24f41959.js} +1 -1
- package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
- package/dist/zonos-elements/{p-89757efe.entry.js → p-29d16ad0.entry.js} +1 -1
- package/dist/zonos-elements/{p-b439d38f.system.entry.js → p-2b2b1c8c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8a593061.entry.js → p-2d854a75.entry.js} +1 -1
- package/dist/zonos-elements/{p-fbd44c55.system.js → p-2ec799e4.system.js} +1 -1
- package/dist/zonos-elements/{p-908f13ae.js → p-2f924331.js} +1 -1
- package/dist/zonos-elements/{p-4aefd668.entry.js → p-2fa41e93.entry.js} +1 -1
- package/dist/zonos-elements/{p-dbb3db89.system.entry.js → p-313b87f3.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c9d4eb42.entry.js → p-3576d900.entry.js} +1 -1
- package/dist/zonos-elements/{p-3f141999.system.js → p-3600280d.system.js} +1 -1
- package/dist/zonos-elements/{p-4f7d64f6.js → p-387f6a4d.js} +1 -1
- package/dist/zonos-elements/p-3ee8496e.js +1 -0
- package/dist/zonos-elements/{p-a1c476d6.system.entry.js → p-3ff736f7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8ccf97ce.entry.js → p-425f747b.entry.js} +1 -1
- package/dist/zonos-elements/{p-8c6624b6.system.js → p-43a6e469.system.js} +1 -1
- package/dist/zonos-elements/{p-fc1c7fe5.system.entry.js → p-4b138a6e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ae397ff8.system.entry.js → p-50b32476.system.entry.js} +1 -1
- package/dist/zonos-elements/p-5182e492.entry.js +1 -0
- package/dist/zonos-elements/{p-dba635e6.entry.js → p-5262f6e8.entry.js} +1 -1
- package/dist/zonos-elements/p-53fe581b.system.js +1 -0
- package/dist/zonos-elements/{p-70e069d3.system.js → p-567abb43.system.js} +1 -1
- package/dist/zonos-elements/{p-f830f800.js → p-5beab541.js} +1 -1
- package/dist/zonos-elements/{p-2eeda8a9.system.entry.js → p-5fa3d1c8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d18a2b2c.system.js → p-61be7d98.system.js} +1 -1
- package/dist/zonos-elements/{p-70c8a47d.system.entry.js → p-62dbc5f8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2cb5ef7d.system.entry.js → p-6cf8fe49.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5343c32b.system.js → p-6d36b307.system.js} +1 -1
- package/dist/zonos-elements/p-6e50f6f5.entry.js +1 -0
- package/dist/zonos-elements/{p-b85d4286.entry.js → p-7157a5a3.entry.js} +1 -1
- package/dist/zonos-elements/{p-93d6e13f.entry.js → p-733f118d.entry.js} +1 -1
- package/dist/zonos-elements/{p-8f1ab25c.system.entry.js → p-770d414a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-befad3c4.entry.js → p-788c6839.entry.js} +1 -1
- package/dist/zonos-elements/{p-50d31f4f.entry.js → p-791e13e7.entry.js} +1 -1
- package/dist/zonos-elements/{p-7427dd1e.entry.js → p-7a379538.entry.js} +1 -1
- package/dist/zonos-elements/p-7d9bbdc8.js +1 -0
- package/dist/zonos-elements/{p-32365d6a.system.entry.js → p-8585c761.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d280e9b6.system.js → p-867d05d7.system.js} +1 -1
- package/dist/zonos-elements/p-868a8667.js +1 -0
- package/dist/zonos-elements/p-8bce79f4.system.js +1 -0
- package/dist/zonos-elements/{p-18d411c3.system.entry.js → p-9161f10d.system.entry.js} +1 -1
- package/dist/zonos-elements/p-944bf0e7.js +1 -0
- package/dist/zonos-elements/p-9460919d.entry.js +1 -0
- package/dist/zonos-elements/{p-d155b9c6.entry.js → p-99d92a84.entry.js} +1 -1
- package/dist/zonos-elements/{p-1c9e9692.system.entry.js → p-9a9c9441.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c66649fe.system.entry.js → p-9c97671b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-225957b9.entry.js → p-9cff66a7.entry.js} +1 -1
- package/dist/zonos-elements/{p-00728af1.entry.js → p-a0f6910c.entry.js} +1 -1
- package/dist/zonos-elements/{p-99e1734a.js → p-a18adf27.js} +1 -1
- package/dist/zonos-elements/{p-08830a50.system.entry.js → p-a4b6865d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5d0b0126.system.entry.js → p-a89096d6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-53275a0d.system.entry.js → p-afca19b0.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-aad014df.entry.js → p-afdb4445.entry.js} +1 -1
- package/dist/zonos-elements/{p-664aff48.system.entry.js → p-b34f1336.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2aa44601.entry.js → p-bb6e7e9e.entry.js} +1 -1
- package/dist/zonos-elements/{p-939ba2a5.entry.js → p-bb785f33.entry.js} +1 -1
- package/dist/zonos-elements/{p-7d4a1565.entry.js → p-bba9af4c.entry.js} +1 -1
- package/dist/zonos-elements/{p-5f628e57.entry.js → p-bcbbe867.entry.js} +1 -1
- package/dist/zonos-elements/{p-3fae811a.js → p-bd938f80.js} +1 -1
- package/dist/zonos-elements/{p-f6733ffb.js → p-bdb3f7a2.js} +2 -2
- package/dist/zonos-elements/{p-ed61dedd.system.entry.js → p-c7ecef98.system.entry.js} +1 -1
- package/dist/zonos-elements/p-c85e988d.system.js +1 -0
- package/dist/zonos-elements/{p-ee217693.entry.js → p-c908a7a3.entry.js} +1 -1
- package/dist/zonos-elements/p-cd563d65.system.js +1 -0
- package/dist/zonos-elements/{p-ddcbea81.entry.js → p-cdbb50cf.entry.js} +1 -1
- package/dist/zonos-elements/{p-4e4fa1fb.system.entry.js → p-d004565d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fe6cc354.entry.js → p-d30e8c3a.entry.js} +1 -1
- package/dist/zonos-elements/{p-234f0339.system.entry.js → p-dfb4360d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3fbd9cc0.system.js → p-e25e0b4b.system.js} +1 -1
- package/dist/zonos-elements/{p-0d18d94b.entry.js → p-e55bc187.entry.js} +1 -1
- package/dist/zonos-elements/{p-59025df9.system.entry.js → p-e5f48239.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2a28c7ac.system.js → p-e6168c82.system.js} +1 -1
- package/dist/zonos-elements/p-e6726a50.system.js +1 -0
- package/dist/zonos-elements/{p-b004146f.entry.js → p-e749fb81.entry.js} +1 -1
- package/dist/zonos-elements/{p-57b5d3e3.system.js → p-e8a68ce7.system.js} +1 -1
- package/dist/zonos-elements/p-ed03b7fd.js +1 -0
- package/dist/zonos-elements/{p-058f6124.js → p-ed9385f4.js} +1 -1
- package/dist/zonos-elements/{p-8608c123.system.entry.js → p-edb0306c.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f68ce554.js +1 -0
- package/dist/zonos-elements/{p-67897a0d.js → p-f6922df5.js} +1 -1
- package/dist/zonos-elements/{p-f0938b51.system.entry.js → p-f7ddd288.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-38881641.system.entry.js → p-fbc274a8.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/paypal-f87fbee0.js +0 -17
- package/dist/zonos-elements/p-179bbeae.js +0 -1
- package/dist/zonos-elements/p-34d10122.js +0 -1
- package/dist/zonos-elements/p-399f5ad6.entry.js +0 -1
- package/dist/zonos-elements/p-53db5f85.system.js +0 -1
- package/dist/zonos-elements/p-7501c637.system.js +0 -1
- package/dist/zonos-elements/p-7d7ffb42.js +0 -1
- package/dist/zonos-elements/p-959918fe.system.js +0 -1
- package/dist/zonos-elements/p-9631c373.system.js +0 -1
- package/dist/zonos-elements/p-9d44fef6.system.js +0 -1
- package/dist/zonos-elements/p-d14e5c81.entry.js +0 -1
- package/dist/zonos-elements/p-ddde268d.entry.js +0 -1
- package/dist/zonos-elements/p-def2d465.js +0 -1
- package/dist/zonos-elements/p-e219d011.js +0 -1
- package/dist/zonos-elements/p-ee2c7a1e.js +0 -1
- package/dist/zonos-elements/p-fa0c5017.js +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, L as stripeStoreResetPromoCode, C as stripeStoreReset, M as stripeStoreMessageBasedOnStatus, d as cartStore, r as cartStoreNextStep, D as cartStoreOnChange } from './cart-
|
|
3
|
-
import { c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-
|
|
4
|
-
import { t as translate, s as storageStore, l as localizationStore, p as translationStoreOnChange } from './localization-
|
|
5
|
-
import { z as zonosStore } from './zonosStore-
|
|
2
|
+
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, L as stripeStoreResetPromoCode, C as stripeStoreReset, M as stripeStoreMessageBasedOnStatus, d as cartStore, r as cartStoreNextStep, D as cartStoreOnChange } from './cart-76fb528f.js';
|
|
3
|
+
import { c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-75c5c66d.js';
|
|
4
|
+
import { t as translate, s as storageStore, l as localizationStore, p as translationStoreOnChange } from './localization-76ce3e29.js';
|
|
5
|
+
import { z as zonosStore } from './zonosStore-f1d45eac.js';
|
|
6
6
|
import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
|
|
7
7
|
import { c as createCustomEvent } from './createCustomEvent-58159025.js';
|
|
8
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
8
|
+
import { g as getBorderRadius } from './getBorderRadius-66de1b16.js';
|
|
9
9
|
import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
|
|
10
|
-
import { s as submitGtag } from './submitGtag-
|
|
11
|
-
import { i as isCollectMobile, a as isCollectTablet, e as collectStore } from './isCollectMobileTablet-
|
|
10
|
+
import { s as submitGtag } from './submitGtag-543058f9.js';
|
|
11
|
+
import { i as isCollectMobile, a as isCollectTablet, e as collectStore } from './isCollectMobileTablet-a7e5b909.js';
|
|
12
12
|
import { c as classes } from './classes-0d95c529.js';
|
|
13
13
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
14
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
15
|
-
import { p as placeTestOrder } from './placeTestOrder-
|
|
14
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-d27b0082.js';
|
|
15
|
+
import { p as placeTestOrder } from './placeTestOrder-22633bf2.js';
|
|
16
16
|
import { r as renderFallback } from './renderFallback-b250f4e9.js';
|
|
17
|
-
import './isDarkColor-
|
|
18
|
-
import './isContrastColor-
|
|
17
|
+
import './isDarkColor-8092a9fb.js';
|
|
18
|
+
import './isContrastColor-f9e65e70.js';
|
|
19
19
|
|
|
20
20
|
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>`;
|
|
21
21
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, F as Fragment } from './index-cfd394c8.js';
|
|
2
|
-
import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, u as stripeStoreUpdateCheckoutSessionBaseCurrency, A as stripeStoreConfirmPayment, E as stripeStoreOnChange, C as stripeStoreReset, f as cartStoreReset } from './cart-
|
|
3
|
-
import { i as isCollectMobile, a as isCollectTablet, c as collectStoreUpdateSelectedShippingOption, b as collectStoreInitShippingInfo, d as collectStoreAsyncAddressUpdate, e as collectStore } from './isCollectMobileTablet-
|
|
4
|
-
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-
|
|
5
|
-
import { s as storageStore, t as translate, c as localizationStoreOnChange, d as currencyFormat, l as localizationStore } from './localization-
|
|
6
|
-
import { z as zonosStore } from './zonosStore-
|
|
2
|
+
import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, u as stripeStoreUpdateCheckoutSessionBaseCurrency, A as stripeStoreConfirmPayment, E as stripeStoreOnChange, C as stripeStoreReset, f as cartStoreReset } from './cart-76fb528f.js';
|
|
3
|
+
import { i as isCollectMobile, a as isCollectTablet, c as collectStoreUpdateSelectedShippingOption, b as collectStoreInitShippingInfo, d as collectStoreAsyncAddressUpdate, e as collectStore } from './isCollectMobileTablet-a7e5b909.js';
|
|
4
|
+
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-75c5c66d.js';
|
|
5
|
+
import { s as storageStore, t as translate, c as localizationStoreOnChange, d as currencyFormat, l as localizationStore } from './localization-76ce3e29.js';
|
|
6
|
+
import { z as zonosStore } from './zonosStore-f1d45eac.js';
|
|
7
7
|
import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
|
|
8
8
|
import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-a844cac1.js';
|
|
9
9
|
import { c as classes } from './classes-0d95c529.js';
|
|
10
10
|
import { l as log } from './VarianceTest-572cecf5.js';
|
|
11
11
|
import { r as renderFallback } from './renderFallback-b250f4e9.js';
|
|
12
12
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
13
|
-
import './isDarkColor-
|
|
14
|
-
import './getBorderRadius-
|
|
15
|
-
import './isContrastColor-
|
|
16
|
-
import './submitGtag-
|
|
13
|
+
import './isDarkColor-8092a9fb.js';
|
|
14
|
+
import './getBorderRadius-66de1b16.js';
|
|
15
|
+
import './isContrastColor-f9e65e70.js';
|
|
16
|
+
import './submitGtag-543058f9.js';
|
|
17
17
|
|
|
18
18
|
const ChevronDownIcon = `<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
|
|
19
19
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { b as stripeStore } from './cart-
|
|
3
|
-
import { e as getOverridenZCountry, i as isValidSelector, h as initLocalizationStore, s as storageStore, a as localizationStoreUpdateSelectedCountryCode } from './localization-
|
|
4
|
-
import { z as zonosStore, e as zonosStoreInitSetting, f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { b as stripeStore } from './cart-76fb528f.js';
|
|
3
|
+
import { e as getOverridenZCountry, i as isValidSelector, h as initLocalizationStore, s as storageStore, a as localizationStoreUpdateSelectedCountryCode } from './localization-76ce3e29.js';
|
|
4
|
+
import { z as zonosStore, e as zonosStoreInitSetting, f as zonosStoreFontFamily } from './zonosStore-f1d45eac.js';
|
|
5
5
|
import { g as getGenericSettingsOverride, i as iframeServices, a as injectPrivateIframe } from './getGenericSettingsOverride-0bc3e118.js';
|
|
6
6
|
import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
|
|
7
7
|
import { l as log } from './VarianceTest-572cecf5.js';
|
|
8
|
-
import { e as ensureAnalyticsRelayPing } from './submitGtag-
|
|
9
|
-
import './isDarkColor-
|
|
10
|
-
import './getBorderRadius-
|
|
8
|
+
import { e as ensureAnalyticsRelayPing } from './submitGtag-543058f9.js';
|
|
9
|
+
import './isDarkColor-8092a9fb.js';
|
|
10
|
+
import './getBorderRadius-66de1b16.js';
|
|
11
11
|
|
|
12
12
|
const getZonosSettings = async () => {
|
|
13
13
|
if (window.Zonos.cartSettings) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { l as localizationStore } from './localization-
|
|
3
|
-
import { f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { l as localizationStore } from './localization-76ce3e29.js';
|
|
3
|
+
import { f as zonosStoreFontFamily } from './zonosStore-f1d45eac.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import './handleFetch-a844cac1.js';
|
|
6
6
|
import './VarianceTest-572cecf5.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { a as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './localization-
|
|
3
|
-
import { f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { a as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './localization-76ce3e29.js';
|
|
3
|
+
import { f as zonosStoreFontFamily } from './zonosStore-f1d45eac.js';
|
|
4
4
|
import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
|
|
5
|
-
import { i as isDarkColor } from './isDarkColor-
|
|
5
|
+
import { i as isDarkColor } from './isDarkColor-8092a9fb.js';
|
|
6
6
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
7
7
|
import { c as classes } from './classes-0d95c529.js';
|
|
8
8
|
import './handleFetch-a844cac1.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { l as localizationStore, t as translate, d as currencyFormat } from './localization-
|
|
3
|
-
import { z as zonosStore } from './zonosStore-
|
|
2
|
+
import { l as localizationStore, t as translate, d as currencyFormat } from './localization-76ce3e29.js';
|
|
3
|
+
import { z as zonosStore } from './zonosStore-f1d45eac.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
5
|
import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
|
|
6
|
-
import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-
|
|
6
|
+
import { h as hasInclusivePrice, T as TAXES_KEY, D as DUTY_KEY } from './hasInclusivePrice-275b1048.js';
|
|
7
7
|
import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
|
|
8
8
|
import { e as euCountryCodes } from './TaxId-50d72254.js';
|
|
9
9
|
import './handleFetch-a844cac1.js';
|
|
@@ -108,6 +108,17 @@ const ZonosHelloDialog = class {
|
|
|
108
108
|
var _a;
|
|
109
109
|
return (_a = localizationStore.countryLandedCost) === null || _a === void 0 ? void 0 : _a.hasTaxId;
|
|
110
110
|
};
|
|
111
|
+
/**
|
|
112
|
+
* Selected country is configured as a domestic country for the merchant,
|
|
113
|
+
* meaning the order ships within the merchant's origin country and no
|
|
114
|
+
* duty will be assessed on it.
|
|
115
|
+
*/
|
|
116
|
+
this.isDomesticCountry = () => {
|
|
117
|
+
var _a, _b;
|
|
118
|
+
const { selectedCountryCode } = localizationStore;
|
|
119
|
+
return (!!selectedCountryCode &&
|
|
120
|
+
!!((_b = (_a = zonosStore.genericSettings) === null || _a === void 0 ? void 0 : _a.domesticCountries) === null || _b === void 0 ? void 0 : _b.includes(selectedCountryCode)));
|
|
121
|
+
};
|
|
111
122
|
/**
|
|
112
123
|
* Some countries don't have threshold. So we need to show generic message for them
|
|
113
124
|
*/
|
|
@@ -127,6 +138,11 @@ const ZonosHelloDialog = class {
|
|
|
127
138
|
return countryCodes.includes(countryCode);
|
|
128
139
|
};
|
|
129
140
|
this.getDutyMessage = () => {
|
|
141
|
+
// Domestic orders stay within the merchant's origin country, so no
|
|
142
|
+
// duty is ever assessed — surface that instead of a de minimis threshold.
|
|
143
|
+
if (this.isDomesticCountry()) {
|
|
144
|
+
return null;
|
|
145
|
+
}
|
|
130
146
|
const countryLandedCost = localizationStore.countryLandedCost;
|
|
131
147
|
// For GB, if the store doesn't allow low value orders, we would like to tell shopper that duties will always apply as there would be a custom message saying "Orders to United Kingdom must be over .* to ship."
|
|
132
148
|
if (!(countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.allowLowValueOrders) &&
|
|
@@ -146,6 +162,11 @@ const ZonosHelloDialog = class {
|
|
|
146
162
|
};
|
|
147
163
|
this.getTaxMessage = () => {
|
|
148
164
|
const { countryLandedCost } = localizationStore;
|
|
165
|
+
// Domestic orders stay within the merchant's origin country, so no
|
|
166
|
+
// duty is ever assessed — surface that instead of a de minimis threshold.
|
|
167
|
+
if (this.isDomesticCountry()) {
|
|
168
|
+
return null;
|
|
169
|
+
}
|
|
149
170
|
// For GB, if the store doesn't allow low value orders, we would like to tell shopper that taxes will always apply as there would be a custom message saying "Orders to United Kingdom must be over .* to ship."
|
|
150
171
|
if (!(countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.allowLowValueOrders) &&
|
|
151
172
|
(countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.countryCode) === 'GB') {
|
|
@@ -273,12 +294,7 @@ const ZonosHelloDialog = class {
|
|
|
273
294
|
}
|
|
274
295
|
return null;
|
|
275
296
|
};
|
|
276
|
-
this.renderHelloMessage = () => {
|
|
277
|
-
// If deminimis is undefined or null, assume it's $0
|
|
278
|
-
const dutyDeMinimisMessage = this.getDutyMessage();
|
|
279
|
-
// If deminimis is undefined or null, assume it's $0
|
|
280
|
-
const taxDeMinimisMessage = this.getTaxMessage();
|
|
281
|
-
const inclusivePriceMessage = this.getInclusivePriceMessage();
|
|
297
|
+
this.renderHelloMessage = ({ dutyDeMinimisMessage, inclusivePriceMessage, taxDeMinimisMessage, }) => {
|
|
282
298
|
if (hasInclusivePrice() && inclusivePriceMessage) {
|
|
283
299
|
switch (inclusivePriceMessage.inclusiveType) {
|
|
284
300
|
case 'DUTIES_FEES': {
|
|
@@ -302,6 +318,11 @@ const ZonosHelloDialog = class {
|
|
|
302
318
|
if (!localizationStore.countryLandedCost) {
|
|
303
319
|
return null;
|
|
304
320
|
}
|
|
321
|
+
// Domestic orders aren't subject to the foreign import-tax regimes these
|
|
322
|
+
// additional messages describe (e.g., UK/EU IOSS, AU/NZ/SG GST).
|
|
323
|
+
if (this.isDomesticCountry()) {
|
|
324
|
+
return null;
|
|
325
|
+
}
|
|
305
326
|
// only show the message if the store has a tax id for selected country
|
|
306
327
|
if (!this.hasTaxId()) {
|
|
307
328
|
return null;
|
|
@@ -353,18 +374,30 @@ const ZonosHelloDialog = class {
|
|
|
353
374
|
const defaultMessage = formatStringWithLinks(defaultMessageStr);
|
|
354
375
|
const currentPage = this.getCurrentPageEnum();
|
|
355
376
|
const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
|
|
356
|
-
|
|
377
|
+
// If deminimis is undefined or null, assume it's $0
|
|
378
|
+
const dutyDeMinimisMessage = this.getDutyMessage();
|
|
379
|
+
// If deminimis is undefined or null, assume it's $0
|
|
380
|
+
const taxDeMinimisMessage = this.getTaxMessage();
|
|
381
|
+
const inclusivePriceMessage = this.getInclusivePriceMessage();
|
|
382
|
+
return (h(Host, { key: '1278dbea844ec9e53b8224ede278281614be2fc6', class: "zonos--elements" }, h("div", { key: '5728be8b327198f0c09cf5865df43ae8bbe60beb', class: classes([
|
|
357
383
|
'zonos--hello-dialog',
|
|
358
384
|
animateLeft && 'zonos--hello-dialog-animate-from-left',
|
|
359
385
|
animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
|
|
360
386
|
!!this.mobileLocationOverride &&
|
|
361
387
|
'zonos--hello-dialog-mobile-override',
|
|
362
388
|
this.isOpen && 'zonos--hello-dialog-open',
|
|
363
|
-
]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '
|
|
389
|
+
]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: 'cbaa0d35c446529f07bcca4d7e12980e61d9bd7b' }, h("div", { key: '7da2f46a06fb320f07300232e2c910ba572ee5ad', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: 'ebe6f3cc03afdb1ffa5e8fb13c311dcd2249c002', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: 'ccfe32e9dda067e0c95cd28a3e3ee283f2efbdff', spacing: 24 }, h("zonos-country-flag", { key: 'ead0ffe10deb11ef18ef39def2710faf43b286a7', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '4927c2cb517003ccc55d57c0c7ab5cb55db5b369', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '732277a98d48d4041eef395db5d06a5c4214fd4d', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: '88a0fec8b49e5a998688e5be8eb444cde1c04295', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '9e004f4aedff3236736efc3287f4f94759f426a3', spacing: 8 }, this.restrictedItems.map(item => {
|
|
364
390
|
var _a;
|
|
365
391
|
return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
|
|
366
|
-
}),
|
|
367
|
-
|
|
392
|
+
}), (dutyDeMinimisMessage ||
|
|
393
|
+
taxDeMinimisMessage ||
|
|
394
|
+
inclusivePriceMessage ||
|
|
395
|
+
!!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (h("zonos-card", { key: 'bb2f4d2442f1ef0926dcc3740d3b66e4ef0a3c53', spacing: "12px" }, h("zonos-v-stack", { key: 'a2459ed448da424b89298c24ef7df3629a7fca81', spacing: 12 }, this.renderHelloMessage({
|
|
396
|
+
dutyDeMinimisMessage,
|
|
397
|
+
inclusivePriceMessage,
|
|
398
|
+
taxDeMinimisMessage,
|
|
399
|
+
}), additionalInformation === null || additionalInformation === void 0 ? void 0 :
|
|
400
|
+
additionalInformation.map(info => (h("div", { class: "zonos--flex-message" }, h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '1480a6212aa6a620549962b2b58349592c2474c0', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: 'af985242d03159913dc3e3dc832fdd6bbb48d905' }, h("zonos-country-select", { key: 'e98898e3cba56bc3299832345c9e47608acd6176', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '3fc35b6383376e25c8d810d1631b7ccbe5541843' }, h("zonos-language-select", { key: 'ed782d71214f8668f14c468171231428b55e712a', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
|
|
368
401
|
}
|
|
369
402
|
static get assetsDirs() { return ["assets"]; }
|
|
370
403
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { d as debounce_1 } from './debounce-
|
|
3
|
-
import { l as localizationStore, i as isValidSelector, t as translate, g as getZCountryUrlParam, j as setZCountryUrlParam, k as currencyDisplay, m as currencyConvertAndFormat, n as currencyConvert, d as currencyFormat } from './localization-
|
|
4
|
-
import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-
|
|
2
|
+
import { d as debounce_1 } from './debounce-8faafc9f.js';
|
|
3
|
+
import { l as localizationStore, i as isValidSelector, t as translate, g as getZCountryUrlParam, j as setZCountryUrlParam, k as currencyDisplay, m as currencyConvertAndFormat, n as currencyConvert, d as currencyFormat } from './localization-76ce3e29.js';
|
|
4
|
+
import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-f1d45eac.js';
|
|
5
5
|
import { c as classes } from './classes-0d95c529.js';
|
|
6
6
|
import { h as handleFetch, l as logError } from './handleFetch-a844cac1.js';
|
|
7
7
|
import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
|
|
@@ -307,24 +307,47 @@ const ZonosHello = class {
|
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
309
|
this.shouldRenderHello = (showLog = true) => {
|
|
310
|
+
var _a, _b;
|
|
310
311
|
if (!localizationStore.localizationLoaded) {
|
|
311
312
|
return false;
|
|
312
313
|
}
|
|
313
|
-
const { showForCountries } = zonosStore.helloSettings;
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
314
|
+
const { countryDisplayRules, showForCountries } = zonosStore.helloSettings;
|
|
315
|
+
const visibilityRules = countryDisplayRules === null || countryDisplayRules === void 0 ? void 0 : countryDisplayRules.widgetVisibility;
|
|
316
|
+
const selectedCountry = localizationStore.selectedCountryCode;
|
|
317
|
+
// Resolve behavior: deprecated showForCountries overrides widgetVisibility.behavior
|
|
318
|
+
// If showForCountries is an array of country codes, treat as legacy explicit list
|
|
319
|
+
const behavior = Array.isArray(showForCountries)
|
|
320
|
+
? showForCountries
|
|
321
|
+
: (showForCountries !== null && showForCountries !== void 0 ? showForCountries : visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.behavior);
|
|
322
|
+
if (showLog && !localizationStore.isShippableCountry) {
|
|
323
|
+
log(`Hello: not shippable country - Show for countries: ${behavior}`);
|
|
324
|
+
}
|
|
325
|
+
// Legacy: explicit list of country codes from deprecated showForCountries
|
|
326
|
+
if (Array.isArray(behavior)) {
|
|
327
|
+
return !!selectedCountry && behavior.includes(selectedCountry);
|
|
328
|
+
}
|
|
329
|
+
// Determine base visibility from behavior
|
|
330
|
+
let isVisible;
|
|
331
|
+
if (behavior === 'ALL') {
|
|
332
|
+
isVisible = true;
|
|
333
|
+
}
|
|
334
|
+
else {
|
|
335
|
+
// Default: ONLY_SHIPPABLE
|
|
336
|
+
isVisible = localizationStore.isShippableCountry;
|
|
318
337
|
}
|
|
319
|
-
//
|
|
320
|
-
if (
|
|
321
|
-
|
|
338
|
+
// Apply includedCountries — force show the widget for these countries
|
|
339
|
+
if (!isVisible &&
|
|
340
|
+
selectedCountry &&
|
|
341
|
+
((_a = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.includedCountries) === null || _a === void 0 ? void 0 : _a.includes(selectedCountry))) {
|
|
342
|
+
isVisible = true;
|
|
322
343
|
}
|
|
323
|
-
//
|
|
324
|
-
if (
|
|
325
|
-
|
|
344
|
+
// Apply excludedCountries — force hide the widget for these countries
|
|
345
|
+
if (isVisible &&
|
|
346
|
+
selectedCountry &&
|
|
347
|
+
((_b = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.excludedCountries) === null || _b === void 0 ? void 0 : _b.includes(selectedCountry))) {
|
|
348
|
+
isVisible = false;
|
|
326
349
|
}
|
|
327
|
-
return
|
|
350
|
+
return isVisible;
|
|
328
351
|
};
|
|
329
352
|
}
|
|
330
353
|
showDialogHandler(showDialog) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { f as zonosStoreFontFamily } from './zonosStore-f1d45eac.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
4
|
+
import { g as getBorderRadius } from './getBorderRadius-66de1b16.js';
|
|
5
5
|
import './VarianceTest-572cecf5.js';
|
|
6
6
|
|
|
7
7
|
const zonosInputCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{margin:1px}:host .zonos--label-wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%;background:var(--zonos-elements-input-background);border-radius:var(--zonos--border-radius);border:var(--zonos-elements-border)}:host .zonos--label-wrapper:hover{border:1px solid var(--zonos-elements-gray-300)}:host .zonos--floated-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--zonos--border-radius);background:var(--zonos-elements-input-background);border:0;-ms-flex-order:2;order:2;font-weight:500}:host .zonos--floated-input :-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}:host .zonos--floated-input :-internal-autofill-selected+label+div{background-color:#e8f0fe}:host .zonos--floated-input.has-label{padding:16px 4px 8px 16px}:host .zonos--floated-input.has-label.has-input-prefix{padding-left:0}:host .zonos--floated-input.has-label.has-input-prefix+.zonos--floated-label::before{margin-left:0}:host .zonos--floated-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}:host .zonos--floated-input:focus{outline:none}:host .zonos--floated-input:focus+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-blue);box-shadow:var(--zonos-elements-glow-blue)}:host .zonos--floated-input.has-error+.zonos--floated-label::after{-webkit-box-shadow:var(--zonos-elements-glow-error);box-shadow:var(--zonos-elements-glow-error)}:host .zonos--floated-input.has-content::-webkit-input-placeholder,:host .zonos--floated-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-moz-placeholder,:host .zonos--floated-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content:-ms-input-placeholder,:host .zonos--floated-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::-ms-input-placeholder,:host .zonos--floated-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content::placeholder,:host .zonos--floated-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}:host .zonos--floated-input.has-content+.zonos--floated-label::before,:host .zonos--floated-input:focus+.zonos--floated-label::before{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}:host .zonos--floated-input:-webkit-autofill,:host .zonos--floated-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}:host .zonos--floated-label{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}:host .zonos--floated-label::before{content:attr(data-label);color:var(--zonos-elements-gray-800);position:absolute;font-size:var(--zonos-elements-font-size-base);line-height:var(--zonos-elements-font-size-base);display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - var(--zonos-elements-font-size-base) / 2);z-index:1}:host .zonos--floated-label::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius)}:host{}:host .disabled .zonos--floated-label{pointer-events:inherit}:host .disabled .zonos--floated-label::after{cursor:not-allowed;z-index:1}:host(.sm){height:calc(var(--zonos-elements-size-sm) - 2px)}:host(.sm) .zonos--floated-input.has-label{padding-top:13px;padding-bottom:0}:host(.sm) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.sm) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:2px}:host(.md){height:calc(var(--zonos-elements-size-md) - 2px)}:host(.md) .zonos--floated-input.has-label{padding-top:20px}:host(.md) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.md) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:6px}:host(.lg){height:calc(var(--zonos-elements-size-lg) - 2px)}:host(.lg) .zonos--floated-input.has-label:focus+.zonos--floated-label::before,:host(.lg) .zonos--floated-input.has-label.has-content+.zonos--floated-label::before{top:10px}:host(.xl){height:calc(var(--zonos-elements-size-xl) - 2px)}:host(.xl) .zonos--floated-input.has-label{padding-bottom:2px}";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { d as cartStore } from './cart-
|
|
3
|
-
import { t as translate } from './localization-
|
|
4
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
2
|
+
import { d as cartStore } from './cart-76fb528f.js';
|
|
3
|
+
import { t as translate } from './localization-76ce3e29.js';
|
|
4
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-d27b0082.js';
|
|
5
5
|
import { c as classes } from './classes-0d95c529.js';
|
|
6
|
-
import { c as invoiceStore } from './invoice-
|
|
6
|
+
import { c as invoiceStore } from './invoice-9efcb941.js';
|
|
7
7
|
import { r as renderFallback } from './renderFallback-b250f4e9.js';
|
|
8
|
-
import './zonosStore-
|
|
8
|
+
import './zonosStore-f1d45eac.js';
|
|
9
9
|
import './VarianceTest-572cecf5.js';
|
|
10
10
|
import './handleFetch-a844cac1.js';
|
|
11
|
-
import './isDarkColor-
|
|
12
|
-
import './getBorderRadius-
|
|
11
|
+
import './isDarkColor-8092a9fb.js';
|
|
12
|
+
import './getBorderRadius-66de1b16.js';
|
|
13
13
|
|
|
14
14
|
const zonosInvoiceCartItemsCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host .zonos--cart-table{width:100%;border:none;border-collapse:collapse;overflow:auto;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column{padding:8px;padding-left:0;font-size:var(--zonos-elements-font-size-base)}:host .zonos--cart-table .zonos--column:last-child{text-align:right;padding-right:0}:host .zonos--cart-table .zonos--column:first-child{padding-left:0;width:50px}:host .zonos--cart-table .zonos--cart-item-link{text-align:left}:host .zonos--cart-table .zonos--cart-item-created-at{text-align:right}:host .zonos--cart-table td{vertical-align:middle}:host .zonos--cart-item-price zonos-text{white-space:nowrap}:host(.mobile) table{margin-top:16px}:host(.mobile) table td{vertical-align:top}";
|
|
15
15
|
const ZonosInvoiceCartItemsStyle0 = zonosInvoiceCartItemsCss;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, L as stripeStoreResetPromoCode, C as stripeStoreReset, M as stripeStoreMessageBasedOnStatus, d as cartStore, r as cartStoreNextStep, D as cartStoreOnChange } from './cart-
|
|
3
|
-
import { c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-
|
|
4
|
-
import { t as translate, s as storageStore, l as localizationStore } from './localization-
|
|
5
|
-
import { z as zonosStore } from './zonosStore-
|
|
2
|
+
import { b as stripeStore, c as stripeStoreRetrievePayment, t as trackConversionEvent, L as stripeStoreResetPromoCode, C as stripeStoreReset, M as stripeStoreMessageBasedOnStatus, d as cartStore, r as cartStoreNextStep, D as cartStoreOnChange } from './cart-76fb528f.js';
|
|
3
|
+
import { c as paypalStoreReset, a as paypalStore, b as paypalInitScript } from './paypal-75c5c66d.js';
|
|
4
|
+
import { t as translate, s as storageStore, l as localizationStore } from './localization-76ce3e29.js';
|
|
5
|
+
import { z as zonosStore } from './zonosStore-f1d45eac.js';
|
|
6
6
|
import { h as handleFetch, s as sendErrorLog, g as getIsTestMode, i as isCheckoutMobile, a as getIsStagingMode } from './handleFetch-a844cac1.js';
|
|
7
7
|
import { c as createCustomEvent } from './createCustomEvent-58159025.js';
|
|
8
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
8
|
+
import { g as getBorderRadius } from './getBorderRadius-66de1b16.js';
|
|
9
9
|
import { l as log, b as allLogs } from './VarianceTest-572cecf5.js';
|
|
10
|
-
import { s as submitGtag } from './submitGtag-
|
|
10
|
+
import { s as submitGtag } from './submitGtag-543058f9.js';
|
|
11
11
|
import { i as isInvoiceMobile, a as isInvoiceTablet } from './isInvoiceMobileTablet-1f7b614e.js';
|
|
12
12
|
import { c as classes } from './classes-0d95c529.js';
|
|
13
13
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
14
|
-
import { c as invoiceStore } from './invoice-
|
|
15
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
16
|
-
import { p as placeTestOrder } from './placeTestOrder-
|
|
14
|
+
import { c as invoiceStore } from './invoice-9efcb941.js';
|
|
15
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-d27b0082.js';
|
|
16
|
+
import { p as placeTestOrder } from './placeTestOrder-22633bf2.js';
|
|
17
17
|
import { r as renderFallback } from './renderFallback-b250f4e9.js';
|
|
18
|
-
import './isDarkColor-
|
|
19
|
-
import './isContrastColor-
|
|
18
|
+
import './isDarkColor-8092a9fb.js';
|
|
19
|
+
import './isContrastColor-f9e65e70.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
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, F as Fragment } from './index-cfd394c8.js';
|
|
2
|
-
import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, u as stripeStoreUpdateCheckoutSessionBaseCurrency, A as stripeStoreConfirmPayment, E as stripeStoreOnChange, C as stripeStoreReset, f as cartStoreReset } from './cart-
|
|
3
|
-
import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-
|
|
4
|
-
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-
|
|
5
|
-
import { s as storageStore, t as translate, c as localizationStoreOnChange, d as currencyFormat, l as localizationStore } from './localization-
|
|
6
|
-
import { z as zonosStore } from './zonosStore-
|
|
2
|
+
import { b as stripeStore, i as initStripeElements, c as stripeStoreRetrievePayment, d as cartStore, n as cartStoreUpdateToErrorState, e as cartStoreUpdateItems, j as stripeStoreInitCheckoutSession, k as stripeStoreGetPaymentIntent, u as stripeStoreUpdateCheckoutSessionBaseCurrency, A as stripeStoreConfirmPayment, E as stripeStoreOnChange, C as stripeStoreReset, f as cartStoreReset } from './cart-76fb528f.js';
|
|
3
|
+
import { i as invoiceStoreUpdateSelectedShippingOption, a as invoiceStoreInitShippingInfo, b as invoiceStoreAsyncAddressUpdate, c as invoiceStore } from './invoice-9efcb941.js';
|
|
4
|
+
import { p as paypalStoreHasPaypalEnabled, a as paypalStore } from './paypal-75c5c66d.js';
|
|
5
|
+
import { s as storageStore, t as translate, c as localizationStoreOnChange, d as currencyFormat, l as localizationStore } from './localization-76ce3e29.js';
|
|
6
|
+
import { z as zonosStore } from './zonosStore-f1d45eac.js';
|
|
7
7
|
import { b as buildCartItemsByTempCart } from './buildCartItemsByTempCart-a117f75d.js';
|
|
8
8
|
import { h as handleFetch, s as sendErrorLog, l as logError, g as getIsTestMode } from './handleFetch-a844cac1.js';
|
|
9
9
|
import { i as isInvoiceMobile, a as isInvoiceTablet } from './isInvoiceMobileTablet-1f7b614e.js';
|
|
10
10
|
import { c as classes } from './classes-0d95c529.js';
|
|
11
11
|
import { l as log } from './VarianceTest-572cecf5.js';
|
|
12
12
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
13
|
-
import './isDarkColor-
|
|
14
|
-
import './getBorderRadius-
|
|
15
|
-
import './isContrastColor-
|
|
16
|
-
import './submitGtag-
|
|
13
|
+
import './isDarkColor-8092a9fb.js';
|
|
14
|
+
import './getBorderRadius-66de1b16.js';
|
|
15
|
+
import './isContrastColor-f9e65e70.js';
|
|
16
|
+
import './submitGtag-543058f9.js';
|
|
17
17
|
|
|
18
18
|
const ChevronDownIcon = `<svg color="var(--zonos-elements-gray-400)" fill="none" height="24" viewBox="0 0 24 24" width="24" xmlns="https://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 0 1 1.414 1.414l-4.93 4.93a1.1 1.1 0 0 1-1.555 0l-4.93-4.93a1 1 0 0 1 0-1.414Z" fill="currentColor" fill-rule="evenodd"></path></svg>`;
|
|
19
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { u as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './localization-
|
|
3
|
-
import { f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { u as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './localization-76ce3e29.js';
|
|
3
|
+
import { f as zonosStoreFontFamily } from './zonosStore-f1d45eac.js';
|
|
4
4
|
import { l as languages } from './ILanguage-cd6acb72.js';
|
|
5
5
|
import './handleFetch-a844cac1.js';
|
|
6
6
|
import './VarianceTest-572cecf5.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, e as getAssetPath, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { f as zonosStoreFontFamily } from './zonosStore-f1d45eac.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
4
|
import './VarianceTest-572cecf5.js';
|
|
5
5
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { f as zonosStoreFontFamily, z as zonosStore } from './zonosStore-
|
|
2
|
+
import { f as zonosStoreFontFamily, z as zonosStore } from './zonosStore-f1d45eac.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
5
|
-
import { g as getContrastColor } from './getContrastColor-
|
|
4
|
+
import { g as getBorderRadius } from './getBorderRadius-66de1b16.js';
|
|
5
|
+
import { g as getContrastColor } from './getContrastColor-e14f95a7.js';
|
|
6
6
|
import { i as isColorVariable } from './isColorVariable-0a94004f.js';
|
|
7
7
|
import './VarianceTest-572cecf5.js';
|
|
8
|
-
import './isDarkColor-
|
|
9
|
-
import './isContrastColor-
|
|
8
|
+
import './isDarkColor-8092a9fb.js';
|
|
9
|
+
import './isContrastColor-f9e65e70.js';
|
|
10
10
|
|
|
11
11
|
const zonosShippingRichRadioCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--zonos--selected-border-color, var(--zonos-elements-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:16px;-ms-flex-align:center;align-items:center;gap:16px;cursor:pointer;border:1px solid var(--zonos-elements-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));border-top-right-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10));border-bottom-left-radius:var(--zonos--border-radius, var(--zonos-elements-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--zonos--selected-border-color, var(--zonos-elements-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";
|
|
12
12
|
const ZonosShippingRichRadioStyle0 = zonosShippingRichRadioCss;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, h, F as Fragment, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { V as storeCreditStoreSetEnabled, W as storeCreditStoreSetUseFullBalance, X as cartStoreUpdateStoreCredit, N as storeCreditStore, Y as storeCreditStoreSetAmount, Z as storeCreditStoreRefreshBalance, F as storeCreditStoreGetEffectiveAmount } from './cart-
|
|
3
|
-
import { t as translate } from './localization-
|
|
4
|
-
import { f as zonosStoreFontFamily, z as zonosStore } from './zonosStore-
|
|
5
|
-
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-
|
|
6
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
2
|
+
import { V as storeCreditStoreSetEnabled, W as storeCreditStoreSetUseFullBalance, X as cartStoreUpdateStoreCredit, N as storeCreditStore, Y as storeCreditStoreSetAmount, Z as storeCreditStoreRefreshBalance, F as storeCreditStoreGetEffectiveAmount } from './cart-76fb528f.js';
|
|
3
|
+
import { t as translate } from './localization-76ce3e29.js';
|
|
4
|
+
import { f as zonosStoreFontFamily, z as zonosStore } from './zonosStore-f1d45eac.js';
|
|
5
|
+
import { r as renderCheckoutCurrency } from './renderCheckoutCurrency-d27b0082.js';
|
|
6
|
+
import { g as getBorderRadius } from './getBorderRadius-66de1b16.js';
|
|
7
7
|
import './VarianceTest-572cecf5.js';
|
|
8
8
|
import './handleFetch-a844cac1.js';
|
|
9
|
-
import './isDarkColor-
|
|
9
|
+
import './isDarkColor-8092a9fb.js';
|
|
10
10
|
|
|
11
11
|
const StoreCreditIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true">
|
|
12
12
|
<path fill="currentColor" fill-rule="evenodd" d="M4 5a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h16a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3H4Zm16 2H4a1 1 0 0 0-1 1v1h18V8a1 1 0 0 0-1-1ZM2 11h20v3a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-3Zm6 4.5a1 1 0 0 1 1-1h2a1 1 0 0 1 0 2H9a1 1 0 0 1-1-1Z" clip-rule="evenodd"/>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, d as createEvent, h, a as Host, g as getElement } from './index-cfd394c8.js';
|
|
2
|
-
import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { z as zonosStore, f as zonosStoreFontFamily } from './zonosStore-f1d45eac.js';
|
|
3
3
|
import { i as inheritAriaAttributes, a as inheritAttributes } from './helpers-2f6955b1.js';
|
|
4
4
|
import { c as classes } from './classes-0d95c529.js';
|
|
5
|
-
import { g as getBorderRadius } from './getBorderRadius-
|
|
6
|
-
import { i as isDarkColor } from './isDarkColor-
|
|
5
|
+
import { g as getBorderRadius } from './getBorderRadius-66de1b16.js';
|
|
6
|
+
import { i as isDarkColor } from './isDarkColor-8092a9fb.js';
|
|
7
7
|
import './VarianceTest-572cecf5.js';
|
|
8
8
|
|
|
9
9
|
const zonosStripeInputCss = ".sc-zonos-stripe-input-h{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}.sc-zonos-stripe-input-h *.sc-zonos-stripe-input{font-family:var(--zonos--font-family, Inter), Inter}.sc-zonos-stripe-input-h img.sc-zonos-stripe-input{max-width:100%}.sc-zonos-stripe-input-h dl.sc-zonos-stripe-input,.sc-zonos-stripe-input-h dd.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h1.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h2.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h3.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h4.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h5.sc-zonos-stripe-input,.sc-zonos-stripe-input-h h6.sc-zonos-stripe-input,.sc-zonos-stripe-input-h hr.sc-zonos-stripe-input,.sc-zonos-stripe-input-h figure.sc-zonos-stripe-input,.sc-zonos-stripe-input-h p.sc-zonos-stripe-input,.sc-zonos-stripe-input-h pre.sc-zonos-stripe-input{margin:0}.sc-zonos-stripe-input-h{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.sc-zonos-stripe-input-h{--zonos--background-color:#f1f1f1;--zonos--local-glowing-color:0 0 0 3px hsla(0, 0%, 100%, 25%),\n 0 0 0 1px var(--zonos--primary-color);--zonos--border:1px solid #e8e8e8}.dark.sc-zonos-stripe-input-h{color-scheme:dark;--zonos--background-color:#30313d;--zonos--local-glowing-color:0px 2px 4px rgba(0, 0, 0, 0.5),\n 0px 1px 6px rgba(0, 0, 0, 0.25), 0 0 0 3px hsla(0, 0%, 100%, 25%),\n 0 1px 1px 0 rgba(255, 255, 255, 0.12);--zonos--border:1px solid var(--zonos--primary-color)}.sc-zonos-stripe-input-h{margin:1px}.sc-zonos-stripe-input-h .zonos--label-wrapper.sc-zonos-stripe-input{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;width:100%;background:var(--zonos--background-color);border-radius:var(--zonos--border-radius);border:var(--zonos--border);outline-offset:0;outline-width:2px;height:calc(var(--zonos-elements-size-xl) - 2px)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0 16px;outline:none;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);width:100%;border-radius:var(--zonos--border-radius);background:var(--zonos--background-color);border:var(--zonos--border);-ms-flex-order:2;order:2;font-weight:400;font-size:var(--zonos--font-size);color:var(--zonos-elements-text-color);height:auto}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input .sc-zonos-stripe-input:-internal-autofill-selected{border-radius:var(--zonos-elements-radius-6) 0 0 var(--zonos-elements-radius-6)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input .sc-zonos-stripe-input:-internal-autofill-selected+label.sc-zonos-stripe-input+div.sc-zonos-stripe-input{background-color:#e8f0fe}.sc-zonos-stripe-input-h .zonos--floated-input.has-label.sc-zonos-stripe-input{padding:24px 4px 2px 16px}.sc-zonos-stripe-input-h .zonos--floated-input.has-label.has-input-prefix.sc-zonos-stripe-input{padding-left:0}.sc-zonos-stripe-input-h .zonos--floated-input.has-label.has-input-prefix.sc-zonos-stripe-input~.zonos--floated-label.sc-zonos-stripe-input label.sc-zonos-stripe-input{margin-left:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label)::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label)::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label):-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label)::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:not(.has-label)::placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input::-webkit-input-placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input::-moz-placeholder{-moz-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input::-ms-input-placeholder{-ms-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input::placeholder{-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);opacity:0}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus{outline:none;border:var(--zonos--border)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus~.zonos--floated-label.sc-zonos-stripe-input::after{-webkit-box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color));box-shadow:var(--zonos--glowing-color, var(--zonos--local-glowing-color))}.sc-zonos-stripe-input-h .zonos--floated-input.has-error.sc-zonos-stripe-input~.zonos--floated-label.sc-zonos-stripe-input::after{-webkit-box-shadow:0 0 0 2px #df1b41;box-shadow:0 0 0 2px #df1b41}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input::-webkit-input-placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus::-webkit-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input::-moz-placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus::-moz-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input:-ms-input-placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus:-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input::-ms-input-placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus::-ms-input-placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input::placeholder,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus::placeholder{opacity:var(--zonos-elements-opacity-disabled)}.sc-zonos-stripe-input-h .zonos--floated-input.has-content.sc-zonos-stripe-input~.zonos--floated-label.sc-zonos-stripe-input label.sc-zonos-stripe-input,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:focus~.zonos--floated-label.sc-zonos-stripe-input label.sc-zonos-stripe-input{top:11px;-webkit-transform:scale(0.8);transform:scale(0.8)}.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:-webkit-autofill,.sc-zonos-stripe-input-h .zonos--floated-input.sc-zonos-stripe-input:-moz-autofill{background-color:var(--zonos-elements-input-background);color:var(--zonos-elements-text-color)}.sc-zonos-stripe-input-h .zonos--floated-label.sc-zonos-stripe-input{display:block;max-height:0;pointer-events:none;-ms-flex-order:1;order:1}.sc-zonos-stripe-input-h .zonos--floated-label.sc-zonos-stripe-input label.sc-zonos-stripe-input{color:var(--zonos-elements-gray-800);position:absolute;font-size:16px;line-height:16px;display:inline-block;-webkit-filter:blur(0);filter:blur(0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:var(--zonos-elements-transition);transition:var(--zonos-elements-transition);margin-left:16px;top:calc(50% - 8px);z-index:1}.sc-zonos-stripe-input-h .zonos--floated-label.sc-zonos-stripe-input::after{content:\"\";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:var(--zonos--border-radius)}.sc-zonos-stripe-input-h .disabled.sc-zonos-stripe-input .zonos--floated-label.sc-zonos-stripe-input{pointer-events:inherit}.sc-zonos-stripe-input-h .disabled.sc-zonos-stripe-input .zonos--floated-label.sc-zonos-stripe-input::after{cursor:not-allowed;z-index:1}.dark.sc-zonos-stripe-input-h .zonos--label-wrapper.sc-zonos-stripe-input{background:#30313d}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { f as zonosStoreFontFamily, z as zonosStore } from './zonosStore-
|
|
2
|
+
import { f as zonosStoreFontFamily, z as zonosStore } from './zonosStore-f1d45eac.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
4
|
import { i as isColorVariable } from './isColorVariable-0a94004f.js';
|
|
5
5
|
import { s as styles } from './styles-6fc2fad9.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host } from './index-cfd394c8.js';
|
|
2
|
-
import { f as zonosStoreFontFamily } from './zonosStore-
|
|
2
|
+
import { f as zonosStoreFontFamily } from './zonosStore-f1d45eac.js';
|
|
3
3
|
import { c as classes } from './classes-0d95c529.js';
|
|
4
4
|
import './VarianceTest-572cecf5.js';
|
|
5
5
|
|
|
@@ -2925,7 +2925,6 @@ const { dispose: zonosStoreDispose, onChange: zonosStoreOnChange, reset, state:
|
|
|
2925
2925
|
productListUrlPattern: '',
|
|
2926
2926
|
productTitleElementSelector: '',
|
|
2927
2927
|
restrictionBehavior: 'DISABLED',
|
|
2928
|
-
showForCountries: 'ONLY_SHIPPABLE',
|
|
2929
2928
|
visibilityStatus: 'ENABLED',
|
|
2930
2929
|
},
|
|
2931
2930
|
loadedConfig: false,
|