@zonos/elements 1.3.256 → 1.3.257
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-cd0a054b.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-3650109c.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{invoice-f4b5d538.js → invoice-1cea739b.js} +3 -3
- package/dist/cjs/{isCollectMobileTablet-c9369cd8.js → isCollectMobileTablet-65c71740.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-adaab93f.js} +55 -20
- package/dist/cjs/{paypal-f9641595.js → paypal-326d7bc5.js} +5 -5
- package/dist/cjs/{placeTestOrder-7ac7f91a.js → placeTestOrder-53f2fe97.js} +2 -2
- package/dist/cjs/{renderCheckoutCurrency-6b59a718.js → renderCheckoutCurrency-cf2e3b93.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 +3 -3
- 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/store/hello/localization.js +54 -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-4cd47a1b.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-7a3dc4c3.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{invoice-dbe85a18.js → invoice-03ff7bbb.js} +3 -3
- package/dist/esm/{isCollectMobileTablet-8af0d16d.js → isCollectMobileTablet-9eb77c9a.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-79e08480.js} +55 -20
- package/dist/esm/{paypal-f87fbee0.js → paypal-67c86683.js} +5 -5
- package/dist/esm/{placeTestOrder-8e8e97be.js → placeTestOrder-e81fff15.js} +2 -2
- package/dist/esm/{renderCheckoutCurrency-45c74af2.js → renderCheckoutCurrency-1fc00db4.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 +3 -3
- 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-4cd47a1b.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-7a3dc4c3.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{invoice-dbe85a18.js → invoice-03ff7bbb.js} +1 -1
- package/dist/esm-es5/{isCollectMobileTablet-8af0d16d.js → isCollectMobileTablet-9eb77c9a.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-79e08480.js} +1 -1
- package/dist/esm-es5/{paypal-f87fbee0.js → paypal-67c86683.js} +2 -2
- package/dist/esm-es5/{placeTestOrder-8e8e97be.js → placeTestOrder-e81fff15.js} +1 -1
- package/dist/esm-es5/{renderCheckoutCurrency-45c74af2.js → renderCheckoutCurrency-1fc00db4.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/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-1c9e9692.system.entry.js → p-0740f8a4.system.entry.js} +1 -1
- package/dist/zonos-elements/p-09307a03.js +1 -0
- package/dist/zonos-elements/{p-89757efe.entry.js → p-0ca6ee9b.entry.js} +1 -1
- package/dist/zonos-elements/p-0e83d193.js +1 -0
- package/dist/zonos-elements/{p-b439d38f.system.entry.js → p-0f4822cc.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-ac30b7a8.system.js → p-15ef7644.system.js} +1 -1
- package/dist/zonos-elements/{p-ab25379f.system.js → p-17a8a514.system.js} +1 -1
- package/dist/zonos-elements/{p-8ccf97ce.entry.js → p-21519ebe.entry.js} +1 -1
- package/dist/zonos-elements/{p-2a28c7ac.system.js → p-22bb7836.system.js} +1 -1
- package/dist/zonos-elements/{p-e2adf04b.system.js → p-271eebd3.system.js} +1 -1
- package/dist/zonos-elements/p-29b60bf3.system.js +1 -1
- package/dist/zonos-elements/{p-52b70520.system.entry.js → p-2c1c6d60.system.entry.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-72de2fdc.system.entry.js → p-3092ec40.system.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-befad3c4.entry.js → p-3675766a.entry.js} +1 -1
- package/dist/zonos-elements/p-380143db.entry.js +1 -0
- package/dist/zonos-elements/{p-4f7d64f6.js → p-387f6a4d.js} +1 -1
- package/dist/zonos-elements/{p-9b42f0ad.system.entry.js → p-3fc43187.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a1c476d6.system.entry.js → p-3ff736f7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-aad014df.entry.js → p-429c1d0c.entry.js} +1 -1
- package/dist/zonos-elements/{p-8c6624b6.system.js → p-43a6e469.system.js} +1 -1
- package/dist/zonos-elements/{p-664aff48.system.entry.js → p-4a84387a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3a8925e9.js → p-4e2262e8.js} +1 -1
- package/dist/zonos-elements/p-53fe581b.system.js +1 -0
- package/dist/zonos-elements/{p-7d4a1565.entry.js → p-5818f4a7.entry.js} +1 -1
- package/dist/zonos-elements/{p-f830f800.js → p-5beab541.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-d155b9c6.entry.js → p-6b83ac7f.entry.js} +1 -1
- package/dist/zonos-elements/p-6bcbe651.js +1 -0
- package/dist/zonos-elements/{p-93c64387.js → p-7559c494.js} +1 -1
- package/dist/zonos-elements/{p-8f1ab25c.system.entry.js → p-770d414a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7427dd1e.entry.js → p-7a379538.entry.js} +1 -1
- package/dist/zonos-elements/{p-dba635e6.entry.js → p-7aeb496e.entry.js} +1 -1
- package/dist/zonos-elements/{p-99e1734a.js → p-7caa75bb.js} +1 -1
- package/dist/zonos-elements/p-7cbbf483.system.js +1 -0
- package/dist/zonos-elements/p-7d9bbdc8.js +1 -0
- package/dist/zonos-elements/{p-b85d4286.entry.js → p-80ba5f70.entry.js} +1 -1
- package/dist/zonos-elements/{p-5343c32b.system.js → p-8adc0a13.system.js} +1 -1
- package/dist/zonos-elements/{p-08830a50.system.entry.js → p-8b35e475.system.entry.js} +1 -1
- package/dist/zonos-elements/p-8bce79f4.system.js +1 -0
- package/dist/zonos-elements/{p-f6733ffb.js → p-8ed0fad5.js} +2 -2
- package/dist/zonos-elements/{p-18d411c3.system.entry.js → p-9161f10d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8a593061.entry.js → p-91eeccaa.entry.js} +1 -1
- package/dist/zonos-elements/p-944bf0e7.js +1 -0
- package/dist/zonos-elements/{p-2eeda8a9.system.entry.js → p-9d435f12.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fc1c7fe5.system.entry.js → p-9f3aab4e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-225957b9.entry.js → p-a60544cc.entry.js} +1 -1
- package/dist/zonos-elements/{p-50d31f4f.entry.js → p-a7b0345b.entry.js} +1 -1
- package/dist/zonos-elements/{p-fbd44c55.system.js → p-a90c977a.system.js} +1 -1
- package/dist/zonos-elements/{p-6b45e9f3.system.entry.js → p-aa3e3438.system.entry.js} +1 -1
- package/dist/zonos-elements/p-ac7b93c9.js +1 -0
- package/dist/zonos-elements/{p-00728af1.entry.js → p-b3824361.entry.js} +1 -1
- package/dist/zonos-elements/{p-8608c123.system.entry.js → p-b414b484.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-70e069d3.system.js → p-b53856bf.system.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-5f628e57.entry.js → p-bcbbe867.entry.js} +1 -1
- package/dist/zonos-elements/p-c2139758.entry.js +1 -0
- package/dist/zonos-elements/{p-5d0b0126.system.entry.js → p-c23e2501.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f9ffff4e.entry.js → p-c585d169.entry.js} +1 -1
- package/dist/zonos-elements/{p-ed61dedd.system.entry.js → p-c7ecef98.system.entry.js} +1 -1
- 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-f36e907e.entry.js → p-ce2fd652.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-3f141999.system.js → p-d0690cdc.system.js} +1 -1
- package/dist/zonos-elements/{p-fe6cc354.entry.js → p-d30e8c3a.entry.js} +1 -1
- package/dist/zonos-elements/{p-ae397ff8.system.entry.js → p-da7e1143.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-93d6e13f.entry.js → p-ddb27b4a.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-32365d6a.system.entry.js → p-e173fbd1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3fbd9cc0.system.js → p-e25e0b4b.system.js} +1 -1
- package/dist/zonos-elements/{p-53275a0d.system.entry.js → p-e3f9779a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0d18d94b.entry.js → p-e55bc187.entry.js} +1 -1
- package/dist/zonos-elements/{p-57b5d3e3.system.js → p-e56f5954.system.js} +1 -1
- package/dist/zonos-elements/{p-d280e9b6.system.js → p-e5f5b086.system.js} +1 -1
- package/dist/zonos-elements/{p-3fae811a.js → p-e62342c3.js} +1 -1
- package/dist/zonos-elements/p-e6726a50.system.js +1 -0
- package/dist/zonos-elements/{p-c66649fe.system.entry.js → p-e6feafc1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b004146f.entry.js → p-e749fb81.entry.js} +1 -1
- package/dist/zonos-elements/{p-59025df9.system.entry.js → p-e80832cb.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2cb5ef7d.system.entry.js → p-e9f36d6b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-058f6124.js → p-ed9385f4.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/{p-d14e5c81.entry.js → p-fed19033.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- 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-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
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const paypal = require('./paypal-
|
|
8
|
-
const localization = require('./localization-
|
|
9
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-cd0a054b.js');
|
|
7
|
+
const paypal = require('./paypal-326d7bc5.js');
|
|
8
|
+
const localization = require('./localization-adaab93f.js');
|
|
9
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
10
10
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
11
11
|
const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
|
|
12
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
12
|
+
const getBorderRadius = require('./getBorderRadius-db55a464.js');
|
|
13
13
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
14
|
-
const submitGtag = require('./submitGtag-
|
|
15
|
-
const isCollectMobileTablet = require('./isCollectMobileTablet-
|
|
14
|
+
const submitGtag = require('./submitGtag-9ac5a42e.js');
|
|
15
|
+
const isCollectMobileTablet = require('./isCollectMobileTablet-65c71740.js');
|
|
16
16
|
const classes = require('./classes-b7918f56.js');
|
|
17
17
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
18
|
-
const renderCheckoutCurrency = require('./renderCheckoutCurrency-
|
|
19
|
-
const placeTestOrder = require('./placeTestOrder-
|
|
18
|
+
const renderCheckoutCurrency = require('./renderCheckoutCurrency-cf2e3b93.js');
|
|
19
|
+
const placeTestOrder = require('./placeTestOrder-53f2fe97.js');
|
|
20
20
|
const renderFallback = require('./renderFallback-bc20ee20.js');
|
|
21
|
-
require('./isDarkColor-
|
|
22
|
-
require('./isContrastColor-
|
|
21
|
+
require('./isDarkColor-bfe6d1eb.js');
|
|
22
|
+
require('./isContrastColor-6a17f408.js');
|
|
23
23
|
|
|
24
24
|
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>`;
|
|
25
25
|
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const isCollectMobileTablet = require('./isCollectMobileTablet-
|
|
8
|
-
const paypal = require('./paypal-
|
|
9
|
-
const localization = require('./localization-
|
|
10
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-cd0a054b.js');
|
|
7
|
+
const isCollectMobileTablet = require('./isCollectMobileTablet-65c71740.js');
|
|
8
|
+
const paypal = require('./paypal-326d7bc5.js');
|
|
9
|
+
const localization = require('./localization-adaab93f.js');
|
|
10
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
11
11
|
const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
|
|
12
12
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
13
13
|
const classes = require('./classes-b7918f56.js');
|
|
14
14
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
15
15
|
const renderFallback = require('./renderFallback-bc20ee20.js');
|
|
16
16
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
17
|
-
require('./isDarkColor-
|
|
18
|
-
require('./getBorderRadius-
|
|
19
|
-
require('./isContrastColor-
|
|
20
|
-
require('./submitGtag-
|
|
17
|
+
require('./isDarkColor-bfe6d1eb.js');
|
|
18
|
+
require('./getBorderRadius-db55a464.js');
|
|
19
|
+
require('./isContrastColor-6a17f408.js');
|
|
20
|
+
require('./submitGtag-9ac5a42e.js');
|
|
21
21
|
|
|
22
22
|
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>`;
|
|
23
23
|
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const localization = require('./localization-
|
|
8
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-cd0a054b.js');
|
|
7
|
+
const localization = require('./localization-adaab93f.js');
|
|
8
|
+
const zonosStore = require('./zonosStore-1c517e55.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
|
-
const submitGtag = require('./submitGtag-
|
|
13
|
-
require('./isDarkColor-
|
|
14
|
-
require('./getBorderRadius-
|
|
12
|
+
const submitGtag = require('./submitGtag-9ac5a42e.js');
|
|
13
|
+
require('./isDarkColor-bfe6d1eb.js');
|
|
14
|
+
require('./getBorderRadius-db55a464.js');
|
|
15
15
|
|
|
16
16
|
const getZonosSettings = async () => {
|
|
17
17
|
if (window.Zonos.cartSettings) {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const localization = require('./localization-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const localization = require('./localization-adaab93f.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
require('./handleFetch-954f30e1.js');
|
|
10
10
|
require('./VarianceTest-bec00ea8.js');
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const localization = require('./localization-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const localization = require('./localization-adaab93f.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
8
8
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
9
|
-
const isDarkColor = require('./isDarkColor-
|
|
9
|
+
const isDarkColor = require('./isDarkColor-bfe6d1eb.js');
|
|
10
10
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
11
11
|
const classes = require('./classes-b7918f56.js');
|
|
12
12
|
require('./handleFetch-954f30e1.js');
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const localization = require('./localization-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const localization = require('./localization-adaab93f.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
10
|
-
const hasInclusivePrice = require('./hasInclusivePrice-
|
|
10
|
+
const hasInclusivePrice = require('./hasInclusivePrice-3650109c.js');
|
|
11
11
|
const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
|
|
12
12
|
const TaxId = require('./TaxId-12acedde.js');
|
|
13
13
|
require('./handleFetch-954f30e1.js');
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const debounce = require('./debounce-
|
|
7
|
-
const localization = require('./localization-
|
|
8
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const debounce = require('./debounce-3e17b4e9.js');
|
|
7
|
+
const localization = require('./localization-adaab93f.js');
|
|
8
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
9
9
|
const classes = require('./classes-b7918f56.js');
|
|
10
10
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
11
11
|
const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
|
|
@@ -311,24 +311,47 @@ const ZonosHello = class {
|
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
this.shouldRenderHello = (showLog = true) => {
|
|
314
|
+
var _a, _b;
|
|
314
315
|
if (!localization.localizationStore.localizationLoaded) {
|
|
315
316
|
return false;
|
|
316
317
|
}
|
|
317
|
-
const { showForCountries } = zonosStore.zonosStore.helloSettings;
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
318
|
+
const { countryDisplayRules, showForCountries } = zonosStore.zonosStore.helloSettings;
|
|
319
|
+
const visibilityRules = countryDisplayRules === null || countryDisplayRules === void 0 ? void 0 : countryDisplayRules.widgetVisibility;
|
|
320
|
+
const selectedCountry = localization.localizationStore.selectedCountryCode;
|
|
321
|
+
// Resolve behavior: deprecated showForCountries overrides widgetVisibility.behavior
|
|
322
|
+
// If showForCountries is an array of country codes, treat as legacy explicit list
|
|
323
|
+
const behavior = Array.isArray(showForCountries)
|
|
324
|
+
? showForCountries
|
|
325
|
+
: (showForCountries !== null && showForCountries !== void 0 ? showForCountries : visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.behavior);
|
|
326
|
+
if (showLog && !localization.localizationStore.isShippableCountry) {
|
|
327
|
+
VarianceTest.log(`Hello: not shippable country - Show for countries: ${behavior}`);
|
|
328
|
+
}
|
|
329
|
+
// Legacy: explicit list of country codes from deprecated showForCountries
|
|
330
|
+
if (Array.isArray(behavior)) {
|
|
331
|
+
return !!selectedCountry && behavior.includes(selectedCountry);
|
|
332
|
+
}
|
|
333
|
+
// Determine base visibility from behavior
|
|
334
|
+
let isVisible;
|
|
335
|
+
if (behavior === 'ALL') {
|
|
336
|
+
isVisible = true;
|
|
337
|
+
}
|
|
338
|
+
else {
|
|
339
|
+
// Default: ONLY_SHIPPABLE
|
|
340
|
+
isVisible = localization.localizationStore.isShippableCountry;
|
|
322
341
|
}
|
|
323
|
-
//
|
|
324
|
-
if (
|
|
325
|
-
|
|
342
|
+
// Apply includedCountries — force show the widget for these countries
|
|
343
|
+
if (!isVisible &&
|
|
344
|
+
selectedCountry &&
|
|
345
|
+
((_a = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.includedCountries) === null || _a === void 0 ? void 0 : _a.includes(selectedCountry))) {
|
|
346
|
+
isVisible = true;
|
|
326
347
|
}
|
|
327
|
-
//
|
|
328
|
-
if (
|
|
329
|
-
|
|
348
|
+
// Apply excludedCountries — force hide the widget for these countries
|
|
349
|
+
if (isVisible &&
|
|
350
|
+
selectedCountry &&
|
|
351
|
+
((_b = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.excludedCountries) === null || _b === void 0 ? void 0 : _b.includes(selectedCountry))) {
|
|
352
|
+
isVisible = false;
|
|
330
353
|
}
|
|
331
|
-
return
|
|
354
|
+
return isVisible;
|
|
332
355
|
};
|
|
333
356
|
}
|
|
334
357
|
showDialogHandler(showDialog) {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
8
|
+
const getBorderRadius = require('./getBorderRadius-db55a464.js');
|
|
9
9
|
require('./VarianceTest-bec00ea8.js');
|
|
10
10
|
|
|
11
11
|
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}";
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const localization = require('./localization-
|
|
8
|
-
const renderCheckoutCurrency = require('./renderCheckoutCurrency-
|
|
6
|
+
const cart = require('./cart-cd0a054b.js');
|
|
7
|
+
const localization = require('./localization-adaab93f.js');
|
|
8
|
+
const renderCheckoutCurrency = require('./renderCheckoutCurrency-cf2e3b93.js');
|
|
9
9
|
const classes = require('./classes-b7918f56.js');
|
|
10
|
-
const invoice = require('./invoice-
|
|
10
|
+
const invoice = require('./invoice-1cea739b.js');
|
|
11
11
|
const renderFallback = require('./renderFallback-bc20ee20.js');
|
|
12
|
-
require('./zonosStore-
|
|
12
|
+
require('./zonosStore-1c517e55.js');
|
|
13
13
|
require('./VarianceTest-bec00ea8.js');
|
|
14
14
|
require('./handleFetch-954f30e1.js');
|
|
15
|
-
require('./isDarkColor-
|
|
16
|
-
require('./getBorderRadius-
|
|
15
|
+
require('./isDarkColor-bfe6d1eb.js');
|
|
16
|
+
require('./getBorderRadius-db55a464.js');
|
|
17
17
|
|
|
18
18
|
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}";
|
|
19
19
|
const ZonosInvoiceCartItemsStyle0 = zonosInvoiceCartItemsCss;
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const paypal = require('./paypal-
|
|
8
|
-
const localization = require('./localization-
|
|
9
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-cd0a054b.js');
|
|
7
|
+
const paypal = require('./paypal-326d7bc5.js');
|
|
8
|
+
const localization = require('./localization-adaab93f.js');
|
|
9
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
10
10
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
11
11
|
const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
|
|
12
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
12
|
+
const getBorderRadius = require('./getBorderRadius-db55a464.js');
|
|
13
13
|
const VarianceTest = require('./VarianceTest-bec00ea8.js');
|
|
14
|
-
const submitGtag = require('./submitGtag-
|
|
14
|
+
const submitGtag = require('./submitGtag-9ac5a42e.js');
|
|
15
15
|
const isInvoiceMobileTablet = require('./isInvoiceMobileTablet-dde41e4e.js');
|
|
16
16
|
const classes = require('./classes-b7918f56.js');
|
|
17
17
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
18
|
-
const invoice = require('./invoice-
|
|
19
|
-
const renderCheckoutCurrency = require('./renderCheckoutCurrency-
|
|
20
|
-
const placeTestOrder = require('./placeTestOrder-
|
|
18
|
+
const invoice = require('./invoice-1cea739b.js');
|
|
19
|
+
const renderCheckoutCurrency = require('./renderCheckoutCurrency-cf2e3b93.js');
|
|
20
|
+
const placeTestOrder = require('./placeTestOrder-53f2fe97.js');
|
|
21
21
|
const renderFallback = require('./renderFallback-bc20ee20.js');
|
|
22
|
-
require('./isDarkColor-
|
|
23
|
-
require('./isContrastColor-
|
|
22
|
+
require('./isDarkColor-bfe6d1eb.js');
|
|
23
|
+
require('./isContrastColor-6a17f408.js');
|
|
24
24
|
|
|
25
25
|
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>`;
|
|
26
26
|
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const invoice = require('./invoice-
|
|
8
|
-
const paypal = require('./paypal-
|
|
9
|
-
const localization = require('./localization-
|
|
10
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const cart = require('./cart-cd0a054b.js');
|
|
7
|
+
const invoice = require('./invoice-1cea739b.js');
|
|
8
|
+
const paypal = require('./paypal-326d7bc5.js');
|
|
9
|
+
const localization = require('./localization-adaab93f.js');
|
|
10
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
11
11
|
const buildCartItemsByTempCart = require('./buildCartItemsByTempCart-edddbf4b.js');
|
|
12
12
|
const handleFetch = require('./handleFetch-954f30e1.js');
|
|
13
13
|
const isInvoiceMobileTablet = require('./isInvoiceMobileTablet-dde41e4e.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-
|
|
19
|
-
require('./isContrastColor-
|
|
20
|
-
require('./submitGtag-
|
|
17
|
+
require('./isDarkColor-bfe6d1eb.js');
|
|
18
|
+
require('./getBorderRadius-db55a464.js');
|
|
19
|
+
require('./isContrastColor-6a17f408.js');
|
|
20
|
+
require('./submitGtag-9ac5a42e.js');
|
|
21
21
|
|
|
22
22
|
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>`;
|
|
23
23
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const localization = require('./localization-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const localization = require('./localization-adaab93f.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
8
8
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
9
9
|
require('./handleFetch-954f30e1.js');
|
|
10
10
|
require('./VarianceTest-bec00ea8.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
require('./VarianceTest-bec00ea8.js');
|
|
9
9
|
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
9
|
-
const getContrastColor = require('./getContrastColor-
|
|
8
|
+
const getBorderRadius = require('./getBorderRadius-db55a464.js');
|
|
9
|
+
const getContrastColor = require('./getContrastColor-8ed1cb48.js');
|
|
10
10
|
const isColorVariable = require('./isColorVariable-525dbfa7.js');
|
|
11
11
|
require('./VarianceTest-bec00ea8.js');
|
|
12
|
-
require('./isDarkColor-
|
|
13
|
-
require('./isContrastColor-
|
|
12
|
+
require('./isDarkColor-bfe6d1eb.js');
|
|
13
|
+
require('./isContrastColor-6a17f408.js');
|
|
14
14
|
|
|
15
15
|
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}";
|
|
16
16
|
const ZonosShippingRichRadioStyle0 = zonosShippingRichRadioCss;
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const localization = require('./localization-
|
|
8
|
-
const zonosStore = require('./zonosStore-
|
|
9
|
-
const renderCheckoutCurrency = require('./renderCheckoutCurrency-
|
|
10
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
6
|
+
const cart = require('./cart-cd0a054b.js');
|
|
7
|
+
const localization = require('./localization-adaab93f.js');
|
|
8
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
9
|
+
const renderCheckoutCurrency = require('./renderCheckoutCurrency-cf2e3b93.js');
|
|
10
|
+
const getBorderRadius = require('./getBorderRadius-db55a464.js');
|
|
11
11
|
require('./VarianceTest-bec00ea8.js');
|
|
12
12
|
require('./handleFetch-954f30e1.js');
|
|
13
|
-
require('./isDarkColor-
|
|
13
|
+
require('./isDarkColor-bfe6d1eb.js');
|
|
14
14
|
|
|
15
15
|
const StoreCreditIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true">
|
|
16
16
|
<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"/>
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
7
7
|
const helpers = require('./helpers-5bdbb68c.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
10
|
-
const isDarkColor = require('./isDarkColor-
|
|
9
|
+
const getBorderRadius = require('./getBorderRadius-db55a464.js');
|
|
10
|
+
const isDarkColor = require('./isDarkColor-bfe6d1eb.js');
|
|
11
11
|
require('./VarianceTest-bec00ea8.js');
|
|
12
12
|
|
|
13
13
|
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}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
const isColorVariable = require('./isColorVariable-525dbfa7.js');
|
|
9
9
|
const styles = require('./styles-d1e64fb9.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-b1f95d96.js');
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
6
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
8
|
require('./VarianceTest-bec00ea8.js');
|
|
9
9
|
|
|
@@ -2927,7 +2927,6 @@ const { dispose: zonosStoreDispose, onChange: zonosStoreOnChange, reset, state:
|
|
|
2927
2927
|
productListUrlPattern: '',
|
|
2928
2928
|
productTitleElementSelector: '',
|
|
2929
2929
|
restrictionBehavior: 'DISABLED',
|
|
2930
|
-
showForCountries: 'ONLY_SHIPPABLE',
|
|
2931
2930
|
visibilityStatus: 'ENABLED',
|
|
2932
2931
|
},
|
|
2933
2932
|
loadedConfig: false,
|
|
@@ -203,24 +203,47 @@ export class ZonosHello {
|
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
205
|
this.shouldRenderHello = (showLog = true) => {
|
|
206
|
+
var _a, _b;
|
|
206
207
|
if (!localizationStore.localizationLoaded) {
|
|
207
208
|
return false;
|
|
208
209
|
}
|
|
209
|
-
const { showForCountries } = zonosStore.helloSettings;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
210
|
+
const { countryDisplayRules, showForCountries } = zonosStore.helloSettings;
|
|
211
|
+
const visibilityRules = countryDisplayRules === null || countryDisplayRules === void 0 ? void 0 : countryDisplayRules.widgetVisibility;
|
|
212
|
+
const selectedCountry = localizationStore.selectedCountryCode;
|
|
213
|
+
// Resolve behavior: deprecated showForCountries overrides widgetVisibility.behavior
|
|
214
|
+
// If showForCountries is an array of country codes, treat as legacy explicit list
|
|
215
|
+
const behavior = Array.isArray(showForCountries)
|
|
216
|
+
? showForCountries
|
|
217
|
+
: (showForCountries !== null && showForCountries !== void 0 ? showForCountries : visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.behavior);
|
|
218
|
+
if (showLog && !localizationStore.isShippableCountry) {
|
|
219
|
+
log(`Hello: not shippable country - Show for countries: ${behavior}`);
|
|
220
|
+
}
|
|
221
|
+
// Legacy: explicit list of country codes from deprecated showForCountries
|
|
222
|
+
if (Array.isArray(behavior)) {
|
|
223
|
+
return !!selectedCountry && behavior.includes(selectedCountry);
|
|
224
|
+
}
|
|
225
|
+
// Determine base visibility from behavior
|
|
226
|
+
let isVisible;
|
|
227
|
+
if (behavior === 'ALL') {
|
|
228
|
+
isVisible = true;
|
|
229
|
+
}
|
|
230
|
+
else {
|
|
231
|
+
// Default: ONLY_SHIPPABLE
|
|
232
|
+
isVisible = localizationStore.isShippableCountry;
|
|
214
233
|
}
|
|
215
|
-
//
|
|
216
|
-
if (
|
|
217
|
-
|
|
234
|
+
// Apply includedCountries — force show the widget for these countries
|
|
235
|
+
if (!isVisible &&
|
|
236
|
+
selectedCountry &&
|
|
237
|
+
((_a = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.includedCountries) === null || _a === void 0 ? void 0 : _a.includes(selectedCountry))) {
|
|
238
|
+
isVisible = true;
|
|
218
239
|
}
|
|
219
|
-
//
|
|
220
|
-
if (
|
|
221
|
-
|
|
240
|
+
// Apply excludedCountries — force hide the widget for these countries
|
|
241
|
+
if (isVisible &&
|
|
242
|
+
selectedCountry &&
|
|
243
|
+
((_b = visibilityRules === null || visibilityRules === void 0 ? void 0 : visibilityRules.excludedCountries) === null || _b === void 0 ? void 0 : _b.includes(selectedCountry))) {
|
|
244
|
+
isVisible = false;
|
|
222
245
|
}
|
|
223
|
-
return
|
|
246
|
+
return isVisible;
|
|
224
247
|
};
|
|
225
248
|
}
|
|
226
249
|
showDialogHandler(showDialog) {
|