@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
|
@@ -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-c618fd5b.js');
|
|
7
|
+
const paypal = require('./paypal-091e089e.js');
|
|
8
|
+
const localization = require('./localization-5994d4de.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-93a5194a.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-7876a1d4.js');
|
|
19
|
+
const placeTestOrder = require('./placeTestOrder-b07f8edb.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-c618fd5b.js');
|
|
7
|
+
const isCollectMobileTablet = require('./isCollectMobileTablet-93a5194a.js');
|
|
8
|
+
const paypal = require('./paypal-091e089e.js');
|
|
9
|
+
const localization = require('./localization-5994d4de.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-c618fd5b.js');
|
|
7
|
+
const localization = require('./localization-5994d4de.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-5994d4de.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-5994d4de.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-5994d4de.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-58a9f15d.js');
|
|
11
11
|
const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
|
|
12
12
|
const TaxId = require('./TaxId-12acedde.js');
|
|
13
13
|
require('./handleFetch-954f30e1.js');
|
|
@@ -112,6 +112,17 @@ const ZonosHelloDialog = class {
|
|
|
112
112
|
var _a;
|
|
113
113
|
return (_a = localization.localizationStore.countryLandedCost) === null || _a === void 0 ? void 0 : _a.hasTaxId;
|
|
114
114
|
};
|
|
115
|
+
/**
|
|
116
|
+
* Selected country is configured as a domestic country for the merchant,
|
|
117
|
+
* meaning the order ships within the merchant's origin country and no
|
|
118
|
+
* duty will be assessed on it.
|
|
119
|
+
*/
|
|
120
|
+
this.isDomesticCountry = () => {
|
|
121
|
+
var _a, _b;
|
|
122
|
+
const { selectedCountryCode } = localization.localizationStore;
|
|
123
|
+
return (!!selectedCountryCode &&
|
|
124
|
+
!!((_b = (_a = zonosStore.zonosStore.genericSettings) === null || _a === void 0 ? void 0 : _a.domesticCountries) === null || _b === void 0 ? void 0 : _b.includes(selectedCountryCode)));
|
|
125
|
+
};
|
|
115
126
|
/**
|
|
116
127
|
* Some countries don't have threshold. So we need to show generic message for them
|
|
117
128
|
*/
|
|
@@ -131,6 +142,11 @@ const ZonosHelloDialog = class {
|
|
|
131
142
|
return countryCodes.includes(countryCode);
|
|
132
143
|
};
|
|
133
144
|
this.getDutyMessage = () => {
|
|
145
|
+
// Domestic orders stay within the merchant's origin country, so no
|
|
146
|
+
// duty is ever assessed — surface that instead of a de minimis threshold.
|
|
147
|
+
if (this.isDomesticCountry()) {
|
|
148
|
+
return null;
|
|
149
|
+
}
|
|
134
150
|
const countryLandedCost = localization.localizationStore.countryLandedCost;
|
|
135
151
|
// 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."
|
|
136
152
|
if (!(countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.allowLowValueOrders) &&
|
|
@@ -150,6 +166,11 @@ const ZonosHelloDialog = class {
|
|
|
150
166
|
};
|
|
151
167
|
this.getTaxMessage = () => {
|
|
152
168
|
const { countryLandedCost } = localization.localizationStore;
|
|
169
|
+
// Domestic orders stay within the merchant's origin country, so no
|
|
170
|
+
// duty is ever assessed — surface that instead of a de minimis threshold.
|
|
171
|
+
if (this.isDomesticCountry()) {
|
|
172
|
+
return null;
|
|
173
|
+
}
|
|
153
174
|
// 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."
|
|
154
175
|
if (!(countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.allowLowValueOrders) &&
|
|
155
176
|
(countryLandedCost === null || countryLandedCost === void 0 ? void 0 : countryLandedCost.countryCode) === 'GB') {
|
|
@@ -277,12 +298,7 @@ const ZonosHelloDialog = class {
|
|
|
277
298
|
}
|
|
278
299
|
return null;
|
|
279
300
|
};
|
|
280
|
-
this.renderHelloMessage = () => {
|
|
281
|
-
// If deminimis is undefined or null, assume it's $0
|
|
282
|
-
const dutyDeMinimisMessage = this.getDutyMessage();
|
|
283
|
-
// If deminimis is undefined or null, assume it's $0
|
|
284
|
-
const taxDeMinimisMessage = this.getTaxMessage();
|
|
285
|
-
const inclusivePriceMessage = this.getInclusivePriceMessage();
|
|
301
|
+
this.renderHelloMessage = ({ dutyDeMinimisMessage, inclusivePriceMessage, taxDeMinimisMessage, }) => {
|
|
286
302
|
if (hasInclusivePrice.hasInclusivePrice() && inclusivePriceMessage) {
|
|
287
303
|
switch (inclusivePriceMessage.inclusiveType) {
|
|
288
304
|
case 'DUTIES_FEES': {
|
|
@@ -306,6 +322,11 @@ const ZonosHelloDialog = class {
|
|
|
306
322
|
if (!localization.localizationStore.countryLandedCost) {
|
|
307
323
|
return null;
|
|
308
324
|
}
|
|
325
|
+
// Domestic orders aren't subject to the foreign import-tax regimes these
|
|
326
|
+
// additional messages describe (e.g., UK/EU IOSS, AU/NZ/SG GST).
|
|
327
|
+
if (this.isDomesticCountry()) {
|
|
328
|
+
return null;
|
|
329
|
+
}
|
|
309
330
|
// only show the message if the store has a tax id for selected country
|
|
310
331
|
if (!this.hasTaxId()) {
|
|
311
332
|
return null;
|
|
@@ -357,18 +378,30 @@ const ZonosHelloDialog = class {
|
|
|
357
378
|
const defaultMessage = formatStringWithLinks.formatStringWithLinks(defaultMessageStr);
|
|
358
379
|
const currentPage = this.getCurrentPageEnum();
|
|
359
380
|
const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
|
|
360
|
-
|
|
381
|
+
// If deminimis is undefined or null, assume it's $0
|
|
382
|
+
const dutyDeMinimisMessage = this.getDutyMessage();
|
|
383
|
+
// If deminimis is undefined or null, assume it's $0
|
|
384
|
+
const taxDeMinimisMessage = this.getTaxMessage();
|
|
385
|
+
const inclusivePriceMessage = this.getInclusivePriceMessage();
|
|
386
|
+
return (index.h(index.Host, { key: '1278dbea844ec9e53b8224ede278281614be2fc6', class: "zonos--elements" }, index.h("div", { key: '5728be8b327198f0c09cf5865df43ae8bbe60beb', class: classes.classes([
|
|
361
387
|
'zonos--hello-dialog',
|
|
362
388
|
animateLeft && 'zonos--hello-dialog-animate-from-left',
|
|
363
389
|
animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
|
|
364
390
|
!!this.mobileLocationOverride &&
|
|
365
391
|
'zonos--hello-dialog-mobile-override',
|
|
366
392
|
this.isOpen && 'zonos--hello-dialog-open',
|
|
367
|
-
]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (index.h("div", { key: '
|
|
393
|
+
]), inert: !this.isOpen, ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (index.h("div", { key: 'cbaa0d35c446529f07bcca4d7e12980e61d9bd7b' }, index.h("div", { key: '7da2f46a06fb320f07300232e2c910ba572ee5ad', class: "zonos--hello-dialog-content" }, index.h("zonos-button", { key: 'ebe6f3cc03afdb1ffa5e8fb13c311dcd2249c002', class: "zonos--close-button", icon: index.h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), index.h("zonos-v-stack", { key: 'ccfe32e9dda067e0c95cd28a3e3ee283f2efbdff', spacing: 24 }, index.h("zonos-country-flag", { key: 'ead0ffe10deb11ef18ef39def2710faf43b286a7', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), index.h("zonos-v-stack", { key: '4927c2cb517003ccc55d57c0c7ab5cb55db5b369', class: "zonos--hello-dialog-header", spacing: 4 }, index.h("zonos-text", { key: '732277a98d48d4041eef395db5d06a5c4214fd4d', type: "boldSubheader" }, welcomeMessage), index.h("zonos-text", { key: '88a0fec8b49e5a998688e5be8eb444cde1c04295', innerHTML: defaultMessage, textColor: "gray-800" })), index.h("zonos-v-stack", { key: '9e004f4aedff3236736efc3287f4f94759f426a3', spacing: 8 }, this.restrictedItems.map(item => {
|
|
368
394
|
var _a;
|
|
369
395
|
return item && (index.h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (index.h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
|
|
370
|
-
}),
|
|
371
|
-
|
|
396
|
+
}), (dutyDeMinimisMessage ||
|
|
397
|
+
taxDeMinimisMessage ||
|
|
398
|
+
inclusivePriceMessage ||
|
|
399
|
+
!!(additionalInformation === null || additionalInformation === void 0 ? void 0 : additionalInformation.length)) && (index.h("zonos-card", { key: 'bb2f4d2442f1ef0926dcc3740d3b66e4ef0a3c53', spacing: "12px" }, index.h("zonos-v-stack", { key: 'a2459ed448da424b89298c24ef7df3629a7fca81', spacing: 12 }, this.renderHelloMessage({
|
|
400
|
+
dutyDeMinimisMessage,
|
|
401
|
+
inclusivePriceMessage,
|
|
402
|
+
taxDeMinimisMessage,
|
|
403
|
+
}), additionalInformation === null || additionalInformation === void 0 ? void 0 :
|
|
404
|
+
additionalInformation.map(info => (index.h("div", { class: "zonos--flex-message" }, index.h("zonos-icon", { "aria-label": "Additional information for buying goods from selected country icon", content: BagIcon }), index.h("zonos-text", { "aria-label": `Additional information for buying goods from selected country message`, innerHTML: info }))))))), filteredMessages.map(x => (index.h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), index.h("zonos-hello-dialog-footer", { key: '1480a6212aa6a620549962b2b58349592c2474c0', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (index.h("div", { key: 'af985242d03159913dc3e3dc832fdd6bbb48d905' }, index.h("zonos-country-select", { key: 'e98898e3cba56bc3299832345c9e47608acd6176', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (index.h("div", { key: '3fc35b6383376e25c8d810d1631b7ccbe5541843' }, index.h("zonos-language-select", { key: 'ed782d71214f8668f14c468171231428b55e712a', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
|
|
372
405
|
}
|
|
373
406
|
static get assetsDirs() { return ["assets"]; }
|
|
374
407
|
static get watchers() { return {
|
|
@@ -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-5994d4de.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-c618fd5b.js');
|
|
7
|
+
const localization = require('./localization-5994d4de.js');
|
|
8
|
+
const renderCheckoutCurrency = require('./renderCheckoutCurrency-7876a1d4.js');
|
|
9
9
|
const classes = require('./classes-b7918f56.js');
|
|
10
|
-
const invoice = require('./invoice-
|
|
10
|
+
const invoice = require('./invoice-c9cb6683.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-c618fd5b.js');
|
|
7
|
+
const paypal = require('./paypal-091e089e.js');
|
|
8
|
+
const localization = require('./localization-5994d4de.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-c9cb6683.js');
|
|
19
|
+
const renderCheckoutCurrency = require('./renderCheckoutCurrency-7876a1d4.js');
|
|
20
|
+
const placeTestOrder = require('./placeTestOrder-b07f8edb.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-c618fd5b.js');
|
|
7
|
+
const invoice = require('./invoice-c9cb6683.js');
|
|
8
|
+
const paypal = require('./paypal-091e089e.js');
|
|
9
|
+
const localization = require('./localization-5994d4de.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-5994d4de.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-c618fd5b.js');
|
|
7
|
+
const localization = require('./localization-5994d4de.js');
|
|
8
|
+
const zonosStore = require('./zonosStore-1c517e55.js');
|
|
9
|
+
const renderCheckoutCurrency = require('./renderCheckoutCurrency-7876a1d4.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,
|