@zonos/elements 1.3.204 → 1.3.205
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-0d91ad0b.js → cart-193af95a.js} +6 -5
- package/dist/cjs/{debounce-94e1b7ff.js → debounce-0b9c0f8a.js} +1 -1
- package/dist/cjs/{getBorderRadius-8d3b1049.js → getBorderRadius-c424eb05.js} +1 -1
- package/dist/cjs/{index-0993f42d.js → index-1c710d00.js} +455 -377
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{isDarkColor-bcf49625.js → isDarkColor-35e8daec.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localization-2f17c95f.js → localization-88da0959.js} +1 -1
- package/dist/cjs/{paypal-9953115b.js → paypal-8525404c.js} +4 -4
- package/dist/cjs/zonos-address_11.cjs.entry.js +273 -121
- package/dist/cjs/zonos-badge.cjs.entry.js +26 -4
- package/dist/cjs/zonos-banner.cjs.entry.js +6 -5
- package/dist/cjs/zonos-button_3.cjs.entry.js +89 -24
- package/dist/cjs/zonos-card.cjs.entry.js +10 -9
- package/dist/cjs/zonos-cart-items_14.cjs.entry.js +193 -74
- package/dist/cjs/zonos-checkout.cjs.entry.js +90 -35
- package/dist/cjs/zonos-collapse.cjs.entry.js +8 -2
- package/dist/cjs/zonos-component.cjs.entry.js +10 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +6 -8
- package/dist/cjs/zonos-country-flag.cjs.entry.js +8 -4
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +52 -24
- package/dist/cjs/zonos-elements.cjs.js +2 -2
- package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +11 -10
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +21 -13
- package/dist/cjs/zonos-hello.cjs.entry.js +29 -17
- package/dist/cjs/zonos-input.cjs.entry.js +18 -4
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +15 -4
- package/dist/cjs/zonos-link.cjs.entry.js +4 -4
- package/dist/cjs/zonos-logo.cjs.entry.js +8 -2
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +8 -8
- package/dist/cjs/zonos-stripe-input.cjs.entry.js +25 -9
- package/dist/cjs/zonos-text.cjs.entry.js +11 -4
- package/dist/cjs/zonos-toggle.cjs.entry.js +5 -3
- package/dist/cjs/zonos-tooltip.cjs.entry.js +7 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +6 -2
- package/dist/cjs/{zonosStore-9264749e.js → zonosStore-7c1e1bc1.js} +4 -5
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.js +0 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.js +24 -13
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.js +6 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +3 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +14 -10
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +3 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +25 -9
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.js +3 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +83 -28
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +54 -17
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +8 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +20 -12
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +24 -2
- package/dist/collection/components/common/zonos-banner/zonos-banner.js +4 -3
- package/dist/collection/components/common/zonos-button/zonos-button.js +69 -18
- package/dist/collection/components/common/zonos-card/zonos-card.js +7 -6
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +15 -2
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +8 -2
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +6 -0
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +34 -9
- package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +5 -1
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +6 -2
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +6 -0
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +48 -14
- package/dist/collection/components/common/zonos-icon/zonos-icon.js +12 -1
- package/dist/collection/components/common/zonos-input/zonos-input.js +15 -1
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +5 -1
- package/dist/collection/components/common/zonos-link/zonos-link.js +3 -3
- package/dist/collection/components/common/zonos-loading-overlay/zonos-loading-overlay.js +7 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +6 -0
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +4 -4
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +7 -0
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +5 -5
- package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +4 -1
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +21 -5
- package/dist/collection/components/common/zonos-stripe-phone-input/zonos-stripe-phone-input.js +19 -14
- package/dist/collection/components/common/zonos-stripe-select/zonos-stripe-select.js +37 -12
- package/dist/collection/components/common/zonos-text/zonos-text.js +9 -2
- package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +3 -1
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +6 -0
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +4 -0
- package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -7
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +9 -0
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +25 -13
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +8 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +0 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +17 -9
- package/dist/collection/components/main/zonos-controller.js +0 -4
- package/dist/collection/components/store/checkout/stripe.js +2 -1
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +21 -8
- package/dist/collection/components/stripe/zonos-custom-address/zonos-address-suggestions/zonos-address-suggestions.js +13 -5
- package/dist/collection/components/stripe/zonos-custom-address/zonos-custom-address.js +73 -33
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +11 -6
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -2
- package/dist/esm/{cart-db61eb95.js → cart-a921e0b7.js} +7 -6
- package/dist/esm/{debounce-3a9f27a0.js → debounce-eaee3a94.js} +1 -1
- package/dist/esm/{getBorderRadius-78b28b4d.js → getBorderRadius-b18c924f.js} +1 -1
- package/dist/esm/{index-a457c60c.js → index-5ea9f81d.js} +455 -377
- package/dist/esm/index.js +7 -7
- package/dist/esm/{isDarkColor-31dd7dff.js → isDarkColor-d8bb8659.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{localization-bf7224aa.js → localization-a2b8f9ed.js} +1 -1
- package/dist/esm/{paypal-2e0ffb07.js → paypal-67d51f03.js} +4 -4
- package/dist/esm/zonos-address_11.entry.js +273 -121
- package/dist/esm/zonos-badge.entry.js +26 -4
- package/dist/esm/zonos-banner.entry.js +6 -5
- package/dist/esm/zonos-button_3.entry.js +89 -24
- package/dist/esm/zonos-card.entry.js +10 -9
- package/dist/esm/zonos-cart-items_14.entry.js +193 -74
- package/dist/esm/zonos-checkout.entry.js +90 -35
- package/dist/esm/zonos-collapse.entry.js +8 -2
- package/dist/esm/zonos-component.entry.js +10 -1
- package/dist/esm/zonos-controller.entry.js +6 -8
- package/dist/esm/zonos-country-flag.entry.js +8 -4
- package/dist/esm/zonos-country-select_4.entry.js +52 -24
- package/dist/esm/zonos-elements.js +3 -3
- package/dist/esm/zonos-empty-state-payment_4.entry.js +11 -10
- package/dist/esm/zonos-hello-dialog.entry.js +21 -13
- package/dist/esm/zonos-hello.entry.js +29 -17
- package/dist/esm/zonos-input.entry.js +18 -4
- package/dist/esm/zonos-language-select_2.entry.js +15 -4
- package/dist/esm/zonos-link.entry.js +4 -4
- package/dist/esm/zonos-logo.entry.js +8 -2
- package/dist/esm/zonos-shipping-rich-radio.entry.js +8 -8
- package/dist/esm/zonos-stripe-input.entry.js +25 -9
- package/dist/esm/zonos-text.entry.js +11 -4
- package/dist/esm/zonos-toggle.entry.js +5 -3
- package/dist/esm/zonos-tooltip.entry.js +7 -1
- package/dist/esm/zonos-v-stack.entry.js +6 -2
- package/dist/esm/{zonosStore-d10a829f.js → zonosStore-1e015fa5.js} +4 -5
- package/dist/esm-es5/{cart-db61eb95.js → cart-a921e0b7.js} +1 -1
- package/dist/esm-es5/{debounce-3a9f27a0.js → debounce-eaee3a94.js} +1 -1
- package/dist/esm-es5/{getBorderRadius-78b28b4d.js → getBorderRadius-b18c924f.js} +1 -1
- package/dist/esm-es5/index-5ea9f81d.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-31dd7dff.js → isDarkColor-d8bb8659.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{localization-bf7224aa.js → localization-a2b8f9ed.js} +1 -1
- package/dist/esm-es5/{paypal-2e0ffb07.js → paypal-67d51f03.js} +1 -1
- package/dist/esm-es5/zonos-address_11.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_14.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-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-empty-state-payment_4.entry.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-stripe-input.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-d10a829f.js → zonosStore-1e015fa5.js} +1 -1
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/p-019f8637.entry.js +1 -0
- package/dist/zonos-elements/p-02da743b.system.js +2 -0
- package/dist/zonos-elements/{p-df4c46a6.entry.js → p-05a91fe6.entry.js} +1 -1
- package/dist/zonos-elements/p-0c4c8d63.entry.js +1 -0
- package/dist/zonos-elements/{p-5d0f7364.system.js → p-0d2df4d2.system.js} +1 -1
- package/dist/zonos-elements/p-0d7af8be.system.entry.js +1 -0
- package/dist/zonos-elements/p-12cd9d3a.entry.js +1 -0
- package/dist/zonos-elements/{p-d42dfd32.system.js → p-1327b935.system.js} +1 -1
- package/dist/zonos-elements/p-1640d77f.js +2 -0
- package/dist/zonos-elements/{p-3d82a352.js → p-16678764.js} +1 -1
- package/dist/zonos-elements/p-16e858f9.entry.js +1 -0
- package/dist/zonos-elements/{p-c291bac1.entry.js → p-18149db1.entry.js} +1 -1
- package/dist/zonos-elements/{p-db025dfc.system.entry.js → p-1ad099ec.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c5fcbc92.system.entry.js → p-1bc09abe.system.entry.js} +1 -1
- package/dist/zonos-elements/p-20ac92e1.system.entry.js +1 -0
- package/dist/zonos-elements/{p-d46349d3.system.entry.js → p-22cb6880.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c9aa902e.system.entry.js → p-2866fd29.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0693422b.system.js → p-28fcd277.system.js} +1 -1
- package/dist/zonos-elements/p-3196bf98.entry.js +1 -0
- package/dist/zonos-elements/p-3afc27ef.entry.js +1 -0
- package/dist/zonos-elements/p-3c921768.system.entry.js +1 -0
- package/dist/zonos-elements/{p-ea6d87a1.system.js → p-3ee44728.system.js} +1 -1
- package/dist/zonos-elements/{p-be5afc91.system.entry.js → p-4329f616.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-715d0f59.system.entry.js → p-43b72ad6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f8d0d488.system.entry.js → p-469ccc66.system.entry.js} +1 -1
- package/dist/zonos-elements/p-4a3bb31d.entry.js +1 -0
- package/dist/zonos-elements/{p-80bbd9c0.system.entry.js → p-4fb88ebc.system.entry.js} +1 -1
- package/dist/zonos-elements/p-5fbaa153.system.entry.js +1 -0
- package/dist/zonos-elements/{p-6a71f76b.system.js → p-69577745.system.js} +1 -1
- package/dist/zonos-elements/p-6d467dfb.entry.js +1 -0
- package/dist/zonos-elements/{p-3284f459.system.entry.js → p-719e14a8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fbe36bc8.system.entry.js → p-7234f876.system.entry.js} +1 -1
- package/dist/zonos-elements/p-74bcb5cc.entry.js +1 -0
- package/dist/zonos-elements/{p-27987298.system.entry.js → p-7777d85f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-aa1193bc.entry.js → p-848e08e8.entry.js} +1 -1
- package/dist/zonos-elements/{p-ab176281.system.entry.js → p-858b7908.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f255e822.js → p-8609e956.js} +1 -1
- package/dist/zonos-elements/p-87e807b4.entry.js +1 -0
- package/dist/zonos-elements/{p-cdd3087f.system.entry.js → p-8debefec.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d99d9e00.js → p-8e000d8d.js} +1 -1
- package/dist/zonos-elements/p-90c185ac.entry.js +1 -0
- package/dist/zonos-elements/p-91fc6911.entry.js +1 -0
- package/dist/zonos-elements/{p-851c642e.system.entry.js → p-93aeba62.system.entry.js} +1 -1
- package/dist/zonos-elements/p-9b8a5372.entry.js +1 -0
- package/dist/zonos-elements/{p-cb823c4d.system.js → p-9e9ac7a2.system.js} +1 -1
- package/dist/zonos-elements/p-9fa17353.js +1 -0
- package/dist/zonos-elements/{p-01987cb2.system.entry.js → p-a0f570ea.system.entry.js} +1 -1
- package/dist/zonos-elements/p-abc83d01.entry.js +1 -0
- package/dist/zonos-elements/{p-45ebc788.entry.js → p-b21b0330.entry.js} +1 -1
- package/dist/zonos-elements/{p-488ad646.system.entry.js → p-b50eaeac.system.entry.js} +1 -1
- package/dist/zonos-elements/p-b922c441.system.js +1 -0
- package/dist/zonos-elements/{p-6b6a9dd6.system.js → p-be53e893.system.js} +1 -1
- package/dist/zonos-elements/{p-c50b3100.system.js → p-c666d557.system.js} +1 -1
- package/dist/zonos-elements/{p-f891d470.entry.js → p-c988cf84.entry.js} +1 -1
- package/dist/zonos-elements/{p-26a634a5.system.entry.js → p-d649fb9a.system.entry.js} +1 -1
- package/dist/zonos-elements/p-dcbd57df.entry.js +1 -0
- package/dist/zonos-elements/p-dd0f8f06.system.entry.js +1 -0
- package/dist/zonos-elements/{p-a9307caa.js → p-dfe7d1dd.js} +1 -1
- package/dist/zonos-elements/p-e0587eeb.entry.js +1 -0
- package/dist/zonos-elements/p-e0ebbefe.entry.js +1 -0
- package/dist/zonos-elements/{p-72f37935.js → p-e337fa88.js} +1 -1
- package/dist/zonos-elements/{p-d6a10007.entry.js → p-e5152c04.entry.js} +1 -1
- package/dist/zonos-elements/p-eb2560b6.system.entry.js +1 -0
- package/dist/zonos-elements/p-ebe08e44.entry.js +1 -0
- package/dist/zonos-elements/{p-452070af.system.entry.js → p-eca09508.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e26c9e83.js → p-ed20f2f7.js} +1 -1
- package/dist/zonos-elements/{p-5c74e5c9.system.entry.js → p-ee7a661d.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f98276ed.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/package.json +50 -40
- package/dist/esm-es5/index-a457c60c.js +0 -2
- package/dist/zonos-elements/p-04b43dd5.entry.js +0 -1
- package/dist/zonos-elements/p-06f25f75.entry.js +0 -1
- package/dist/zonos-elements/p-0944fe64.entry.js +0 -1
- package/dist/zonos-elements/p-0c62cfb3.entry.js +0 -1
- package/dist/zonos-elements/p-1dcdb65f.system.entry.js +0 -1
- package/dist/zonos-elements/p-25970cb8.system.entry.js +0 -1
- package/dist/zonos-elements/p-43633269.system.js +0 -2
- package/dist/zonos-elements/p-4b5197e7.system.entry.js +0 -1
- package/dist/zonos-elements/p-4c81112f.entry.js +0 -1
- package/dist/zonos-elements/p-4efa8187.js +0 -1
- package/dist/zonos-elements/p-5170bc41.entry.js +0 -1
- package/dist/zonos-elements/p-7ae5cd60.entry.js +0 -1
- package/dist/zonos-elements/p-8d870d4c.entry.js +0 -1
- package/dist/zonos-elements/p-9af5e93a.entry.js +0 -1
- package/dist/zonos-elements/p-bc8bda92.entry.js +0 -1
- package/dist/zonos-elements/p-c137dc82.js +0 -2
- package/dist/zonos-elements/p-c3d2422e.entry.js +0 -1
- package/dist/zonos-elements/p-c66fc4e5.system.entry.js +0 -1
- package/dist/zonos-elements/p-c767242b.entry.js +0 -1
- package/dist/zonos-elements/p-cf6ae7dc.entry.js +0 -1
- package/dist/zonos-elements/p-d2165441.system.entry.js +0 -1
- package/dist/zonos-elements/p-dcd6acd4.system.entry.js +0 -1
- package/dist/zonos-elements/p-dd1cfa74.entry.js +0 -1
- package/dist/zonos-elements/p-dfd1ba1d.entry.js +0 -1
- package/dist/zonos-elements/p-e68d5219.entry.js +0 -1
- package/dist/zonos-elements/p-ef3e05e5.system.js +0 -1
- package/dist/zonos-elements/p-f29edb65.entry.js +0 -1
- package/dist/zonos-elements/p-f655ec36.entry.js +0 -1
- package/dist/zonos-elements/p-fcc2e712.entry.js +0 -1
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const paypal = require('./paypal-
|
|
8
|
-
const localization = require('./localization-
|
|
9
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-1c710d00.js');
|
|
6
|
+
const cart = require('./cart-193af95a.js');
|
|
7
|
+
const paypal = require('./paypal-8525404c.js');
|
|
8
|
+
const localization = require('./localization-88da0959.js');
|
|
9
|
+
const zonosStore = require('./zonosStore-7c1e1bc1.js');
|
|
10
10
|
const handleFetch = require('./handleFetch-969d05d8.js');
|
|
11
11
|
const classes = require('./classes-b7918f56.js');
|
|
12
12
|
const createCustomEvent = require('./createCustomEvent-7b6fad95.js');
|
|
13
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
14
|
-
const isDarkColor = require('./isDarkColor-
|
|
13
|
+
const getBorderRadius = require('./getBorderRadius-c424eb05.js');
|
|
14
|
+
const isDarkColor = require('./isDarkColor-35e8daec.js');
|
|
15
15
|
const styles = require('./styles-d1e64fb9.js');
|
|
16
16
|
const CheckoutConfig = require('./CheckoutConfig-4afc683b.js');
|
|
17
17
|
const RemoveIcon = require('./RemoveIcon-081ac073.js');
|
|
@@ -459,6 +459,89 @@ const ZonosCheckout = class {
|
|
|
459
459
|
*/
|
|
460
460
|
this.onChangeLocaleListener = () => { };
|
|
461
461
|
this.isRedirectAfterOrder = false;
|
|
462
|
+
/**
|
|
463
|
+
* Preview checkout without needing to click on the button. This would be useful for demo purpose
|
|
464
|
+
*/
|
|
465
|
+
this.preview = false;
|
|
466
|
+
/**
|
|
467
|
+
* Hidden mode to hide the checkout modal in preview mode
|
|
468
|
+
*/
|
|
469
|
+
this.hiddenMode = false;
|
|
470
|
+
/**
|
|
471
|
+
* Flag to determine if the checkout is on mobile
|
|
472
|
+
*/
|
|
473
|
+
this.mobile = false;
|
|
474
|
+
/**
|
|
475
|
+
* Default address to use for the checkout (preview mode)
|
|
476
|
+
*/
|
|
477
|
+
this.defaultAddress = [];
|
|
478
|
+
/**
|
|
479
|
+
* Force dialog to be open
|
|
480
|
+
*/
|
|
481
|
+
this.forceDialogOpen = false;
|
|
482
|
+
this.defaultAddressParams = [];
|
|
483
|
+
/**
|
|
484
|
+
* List of addresses from authenticated checkout customer
|
|
485
|
+
*/
|
|
486
|
+
this.defaultCustomerProfileAddress = [];
|
|
487
|
+
/**
|
|
488
|
+
* Customer profile of the authenticated checkout user
|
|
489
|
+
*/
|
|
490
|
+
this.customerProfile = null;
|
|
491
|
+
/**
|
|
492
|
+
* Whether or not the dialog is open
|
|
493
|
+
*/
|
|
494
|
+
this.open = this.forceDialogOpen;
|
|
495
|
+
/**
|
|
496
|
+
* Whether or not the overlay is loading (for waiting for fetching test variance)
|
|
497
|
+
*/
|
|
498
|
+
this.isOverlayLoading = false;
|
|
499
|
+
/**
|
|
500
|
+
* The stripe instance
|
|
501
|
+
*/
|
|
502
|
+
this.stripe = window.Zonos.stripe;
|
|
503
|
+
/**
|
|
504
|
+
* Whether or not the submit button is loading in `step` component
|
|
505
|
+
*/
|
|
506
|
+
this.submitLoading = false;
|
|
507
|
+
// default to collapse the review on mobile
|
|
508
|
+
this.collapseReviewMobile = true;
|
|
509
|
+
/**
|
|
510
|
+
* Determine if we should skip and not hijack the Checkout button click event
|
|
511
|
+
* Sometimes stripe or our api has error, we don't want to hijack the click event.
|
|
512
|
+
*/
|
|
513
|
+
this.isAttachError = false;
|
|
514
|
+
this.isMobile = false;
|
|
515
|
+
this.isIframed = false;
|
|
516
|
+
this.isLegacyCheckout = window.Zonos.isLegacyCheckout;
|
|
517
|
+
/**
|
|
518
|
+
* Confirm dialog open state
|
|
519
|
+
*/
|
|
520
|
+
this.confirmDialogOpen = false;
|
|
521
|
+
/**
|
|
522
|
+
* Cart expired state to show the cart expired dialog
|
|
523
|
+
*/
|
|
524
|
+
this.isCartExpired = false;
|
|
525
|
+
/**
|
|
526
|
+
* Pay in USD confirm dialog open state
|
|
527
|
+
*/
|
|
528
|
+
this.payInUsdConfirmDialogOpen = false;
|
|
529
|
+
/**
|
|
530
|
+
* Error message from onInventoryCheck callback
|
|
531
|
+
*/
|
|
532
|
+
this.inventoryCheckErrorMessage = null;
|
|
533
|
+
/**
|
|
534
|
+
* Placed order info to show the confirm dialog to the user
|
|
535
|
+
*/
|
|
536
|
+
this.placedOrderInfo = null;
|
|
537
|
+
/**
|
|
538
|
+
* Client secret value
|
|
539
|
+
*/
|
|
540
|
+
this.clientSecret = cart.stripeStore.clientSecret;
|
|
541
|
+
/**
|
|
542
|
+
* Client secret value of customer session (use to load saved payment method and render saved consent)
|
|
543
|
+
*/
|
|
544
|
+
this.stripeCustomerSessionClientSecret = cart.stripeStore.stripeCustomerSessionClientSecret;
|
|
462
545
|
this.applyStripeTheme = async () => {
|
|
463
546
|
var _a, _b, _c, _d;
|
|
464
547
|
const theme = ((_a = this.appearanceSettingsOverride) === null || _a === void 0 ? void 0 : _a.theme) || zonosStore.zonosStore.appearance.theme;
|
|
@@ -758,34 +841,6 @@ const ZonosCheckout = class {
|
|
|
758
841
|
url.searchParams.delete('zonosVariantTest');
|
|
759
842
|
window.history.replaceState({}, '', url.toString());
|
|
760
843
|
};
|
|
761
|
-
this.appearanceSettingsOverride = undefined;
|
|
762
|
-
this.preview = false;
|
|
763
|
-
this.hiddenMode = false;
|
|
764
|
-
this.mobile = false;
|
|
765
|
-
this.overrideStagingMode = undefined;
|
|
766
|
-
this.defaultAddress = [];
|
|
767
|
-
this.forceDialogOpen = false;
|
|
768
|
-
this.defaultAddressParams = [];
|
|
769
|
-
this.defaultCustomerProfileAddress = [];
|
|
770
|
-
this.customerProfile = null;
|
|
771
|
-
this.open = this.forceDialogOpen;
|
|
772
|
-
this.isOverlayLoading = false;
|
|
773
|
-
this.stripe = window.Zonos.stripe;
|
|
774
|
-
this.submitLoading = false;
|
|
775
|
-
this.collapseReviewMobile = true;
|
|
776
|
-
this.isAttachError = false;
|
|
777
|
-
this.isMobile = false;
|
|
778
|
-
this.isIframed = false;
|
|
779
|
-
this.zonosReviewRef = undefined;
|
|
780
|
-
this.storybookPaymentStatusOverride = undefined;
|
|
781
|
-
this.isLegacyCheckout = window.Zonos.isLegacyCheckout;
|
|
782
|
-
this.confirmDialogOpen = false;
|
|
783
|
-
this.isCartExpired = false;
|
|
784
|
-
this.payInUsdConfirmDialogOpen = false;
|
|
785
|
-
this.inventoryCheckErrorMessage = null;
|
|
786
|
-
this.placedOrderInfo = null;
|
|
787
|
-
this.clientSecret = cart.stripeStore.clientSecret;
|
|
788
|
-
this.stripeCustomerSessionClientSecret = cart.stripeStore.stripeCustomerSessionClientSecret;
|
|
789
844
|
}
|
|
790
845
|
/**
|
|
791
846
|
* Init cart info handler event
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-1c710d00.js');
|
|
6
|
+
const zonosStore = require('./zonosStore-7c1e1bc1.js');
|
|
7
7
|
require('./VarianceTest-0cb1e118.js');
|
|
8
8
|
|
|
9
9
|
const zonosCollapseCss = ":host{font-family:var(--zonos--font-family, Inter), Inter;display:block;white-space:normal}:host *{font-family:var(--zonos--font-family, Inter), Inter}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out;overflow:hidden}:host div{position:relative}:host iframe{width:0;height:100%;position:absolute;top:0;border:0}";
|
|
@@ -12,7 +12,13 @@ const ZonosCollapseStyle0 = zonosCollapseCss;
|
|
|
12
12
|
const ZonosCollapse = class {
|
|
13
13
|
constructor(hostRef) {
|
|
14
14
|
index.registerInstance(this, hostRef);
|
|
15
|
+
/**
|
|
16
|
+
* Collapsed state of the element
|
|
17
|
+
*/
|
|
15
18
|
this.collapsed = false;
|
|
19
|
+
/**
|
|
20
|
+
* Collapsed size when collapsed
|
|
21
|
+
*/
|
|
16
22
|
this.collapseSize = 0;
|
|
17
23
|
this.height = this.el.scrollHeight;
|
|
18
24
|
this.iframe = null;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1c710d00.js');
|
|
6
6
|
|
|
7
7
|
function format(first, middle, last) {
|
|
8
8
|
return ((first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : ''));
|
|
@@ -14,8 +14,17 @@ const ZonosComponentStyle0 = zonosComponentCss;
|
|
|
14
14
|
const ZonosComponent = class {
|
|
15
15
|
constructor(hostRef) {
|
|
16
16
|
index.registerInstance(this, hostRef);
|
|
17
|
+
/**
|
|
18
|
+
* The first name
|
|
19
|
+
*/
|
|
17
20
|
this.first = '';
|
|
21
|
+
/**
|
|
22
|
+
* The middle name
|
|
23
|
+
*/
|
|
18
24
|
this.middle = '';
|
|
25
|
+
/**
|
|
26
|
+
* The last name
|
|
27
|
+
*/
|
|
19
28
|
this.last = '';
|
|
20
29
|
}
|
|
21
30
|
getText() {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const cart = require('./cart-
|
|
7
|
-
const localization = require('./localization-
|
|
8
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-1c710d00.js');
|
|
6
|
+
const cart = require('./cart-193af95a.js');
|
|
7
|
+
const localization = require('./localization-88da0959.js');
|
|
8
|
+
const zonosStore = require('./zonosStore-7c1e1bc1.js');
|
|
9
9
|
const getGenericSettingsOverride = require('./getGenericSettingsOverride-c0ca32b9.js');
|
|
10
10
|
const handleFetch = require('./handleFetch-969d05d8.js');
|
|
11
|
-
require('./isDarkColor-
|
|
12
|
-
require('./getBorderRadius-
|
|
11
|
+
require('./isDarkColor-35e8daec.js');
|
|
12
|
+
require('./getBorderRadius-c424eb05.js');
|
|
13
13
|
require('./VarianceTest-0cb1e118.js');
|
|
14
14
|
|
|
15
15
|
const getZonosSettings = async () => {
|
|
@@ -374,8 +374,6 @@ const ZonosController = class {
|
|
|
374
374
|
index.registerInstance(this, hostRef);
|
|
375
375
|
this.paypalInitEvent = index.createEvent(this, "paypalInitEvent", 7);
|
|
376
376
|
this.stripeInitEvent = index.createEvent(this, "stripeInitEvent", 7);
|
|
377
|
-
this.config = undefined;
|
|
378
|
-
this.zonosApiKey = undefined;
|
|
379
377
|
}
|
|
380
378
|
/**
|
|
381
379
|
* Method to initialize checkout element
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const localization = require('./localization-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-1c710d00.js');
|
|
6
|
+
const localization = require('./localization-88da0959.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-7c1e1bc1.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
require('./handleFetch-969d05d8.js');
|
|
10
10
|
require('./VarianceTest-0cb1e118.js');
|
|
@@ -16,8 +16,12 @@ const FLAG_URL = "https://zonos-store-assets.s3.amazonaws.com/images/elements-fl
|
|
|
16
16
|
const ZonosCountryFlag = class {
|
|
17
17
|
constructor(hostRef) {
|
|
18
18
|
index.registerInstance(this, hostRef);
|
|
19
|
+
/**
|
|
20
|
+
* The country code for the flag
|
|
21
|
+
* @default localizationStore.selectedCountryCode
|
|
22
|
+
* @example 'US'
|
|
23
|
+
*/
|
|
19
24
|
this.countryCode = localization.localizationStore.selectedCountryCode;
|
|
20
|
-
this.size = undefined;
|
|
21
25
|
}
|
|
22
26
|
render() {
|
|
23
27
|
if (!this.el.shadowRoot || !this.countryCode) {
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const localization = require('./localization-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-1c710d00.js');
|
|
6
|
+
const localization = require('./localization-88da0959.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-7c1e1bc1.js');
|
|
8
8
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
9
|
-
const isDarkColor = require('./isDarkColor-
|
|
9
|
+
const isDarkColor = require('./isDarkColor-35e8daec.js');
|
|
10
10
|
const ILanguage = require('./ILanguage-98b04442.js');
|
|
11
11
|
require('./handleFetch-969d05d8.js');
|
|
12
12
|
require('./VarianceTest-0cb1e118.js');
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* Fuse.js v7.
|
|
15
|
+
* Fuse.js v7.1.0 - Lightweight fuzzy-search (http://fusejs.io)
|
|
16
16
|
*
|
|
17
|
-
* Copyright (c)
|
|
17
|
+
* Copyright (c) 2025 Kiro Risk (http://kiro.me)
|
|
18
18
|
* All Rights Reserved. Apache Software License 2.0
|
|
19
19
|
*
|
|
20
20
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
@@ -239,6 +239,8 @@ const BasicOptions = {
|
|
|
239
239
|
// When `true`, the algorithm continues searching to the end of the input even if a perfect
|
|
240
240
|
// match is found before the end of the same input.
|
|
241
241
|
isCaseSensitive: false,
|
|
242
|
+
// When `true`, the algorithm will ignore diacritics (accents) in comparisons
|
|
243
|
+
ignoreDiacritics: false,
|
|
242
244
|
// When true, the matching function will continue to the end of a search pattern even if
|
|
243
245
|
includeScore: false,
|
|
244
246
|
// List of properties that will be searched. This also supports nested properties.
|
|
@@ -740,6 +742,10 @@ function createPatternAlphabet(pattern) {
|
|
|
740
742
|
return mask
|
|
741
743
|
}
|
|
742
744
|
|
|
745
|
+
const stripDiacritics = String.prototype.normalize
|
|
746
|
+
? ((str) => str.normalize('NFD').replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g, ''))
|
|
747
|
+
: ((str) => str);
|
|
748
|
+
|
|
743
749
|
class BitapSearch {
|
|
744
750
|
constructor(
|
|
745
751
|
pattern,
|
|
@@ -751,6 +757,7 @@ class BitapSearch {
|
|
|
751
757
|
findAllMatches = Config.findAllMatches,
|
|
752
758
|
minMatchCharLength = Config.minMatchCharLength,
|
|
753
759
|
isCaseSensitive = Config.isCaseSensitive,
|
|
760
|
+
ignoreDiacritics = Config.ignoreDiacritics,
|
|
754
761
|
ignoreLocation = Config.ignoreLocation
|
|
755
762
|
} = {}
|
|
756
763
|
) {
|
|
@@ -762,10 +769,13 @@ class BitapSearch {
|
|
|
762
769
|
findAllMatches,
|
|
763
770
|
minMatchCharLength,
|
|
764
771
|
isCaseSensitive,
|
|
772
|
+
ignoreDiacritics,
|
|
765
773
|
ignoreLocation
|
|
766
774
|
};
|
|
767
775
|
|
|
768
|
-
|
|
776
|
+
pattern = isCaseSensitive ? pattern : pattern.toLowerCase();
|
|
777
|
+
pattern = ignoreDiacritics ? stripDiacritics(pattern) : pattern;
|
|
778
|
+
this.pattern = pattern;
|
|
769
779
|
|
|
770
780
|
this.chunks = [];
|
|
771
781
|
|
|
@@ -803,11 +813,10 @@ class BitapSearch {
|
|
|
803
813
|
}
|
|
804
814
|
|
|
805
815
|
searchIn(text) {
|
|
806
|
-
const { isCaseSensitive, includeMatches } = this.options;
|
|
816
|
+
const { isCaseSensitive, ignoreDiacritics, includeMatches } = this.options;
|
|
807
817
|
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
}
|
|
818
|
+
text = isCaseSensitive ? text : text.toLowerCase();
|
|
819
|
+
text = ignoreDiacritics ? stripDiacritics(text) : text;
|
|
811
820
|
|
|
812
821
|
// Exact match
|
|
813
822
|
if (this.pattern === text) {
|
|
@@ -1057,6 +1066,7 @@ class FuzzyMatch extends BaseMatch {
|
|
|
1057
1066
|
findAllMatches = Config.findAllMatches,
|
|
1058
1067
|
minMatchCharLength = Config.minMatchCharLength,
|
|
1059
1068
|
isCaseSensitive = Config.isCaseSensitive,
|
|
1069
|
+
ignoreDiacritics = Config.ignoreDiacritics,
|
|
1060
1070
|
ignoreLocation = Config.ignoreLocation
|
|
1061
1071
|
} = {}
|
|
1062
1072
|
) {
|
|
@@ -1069,6 +1079,7 @@ class FuzzyMatch extends BaseMatch {
|
|
|
1069
1079
|
findAllMatches,
|
|
1070
1080
|
minMatchCharLength,
|
|
1071
1081
|
isCaseSensitive,
|
|
1082
|
+
ignoreDiacritics,
|
|
1072
1083
|
ignoreLocation
|
|
1073
1084
|
});
|
|
1074
1085
|
}
|
|
@@ -1225,6 +1236,7 @@ class ExtendedSearch {
|
|
|
1225
1236
|
pattern,
|
|
1226
1237
|
{
|
|
1227
1238
|
isCaseSensitive = Config.isCaseSensitive,
|
|
1239
|
+
ignoreDiacritics = Config.ignoreDiacritics,
|
|
1228
1240
|
includeMatches = Config.includeMatches,
|
|
1229
1241
|
minMatchCharLength = Config.minMatchCharLength,
|
|
1230
1242
|
ignoreLocation = Config.ignoreLocation,
|
|
@@ -1237,6 +1249,7 @@ class ExtendedSearch {
|
|
|
1237
1249
|
this.query = null;
|
|
1238
1250
|
this.options = {
|
|
1239
1251
|
isCaseSensitive,
|
|
1252
|
+
ignoreDiacritics,
|
|
1240
1253
|
includeMatches,
|
|
1241
1254
|
minMatchCharLength,
|
|
1242
1255
|
findAllMatches,
|
|
@@ -1246,7 +1259,9 @@ class ExtendedSearch {
|
|
|
1246
1259
|
distance
|
|
1247
1260
|
};
|
|
1248
1261
|
|
|
1249
|
-
|
|
1262
|
+
pattern = isCaseSensitive ? pattern : pattern.toLowerCase();
|
|
1263
|
+
pattern = ignoreDiacritics ? stripDiacritics(pattern) : pattern;
|
|
1264
|
+
this.pattern = pattern;
|
|
1250
1265
|
this.query = parseQuery(this.pattern, this.options);
|
|
1251
1266
|
}
|
|
1252
1267
|
|
|
@@ -1264,9 +1279,10 @@ class ExtendedSearch {
|
|
|
1264
1279
|
}
|
|
1265
1280
|
}
|
|
1266
1281
|
|
|
1267
|
-
const { includeMatches, isCaseSensitive } = this.options;
|
|
1282
|
+
const { includeMatches, isCaseSensitive, ignoreDiacritics } = this.options;
|
|
1268
1283
|
|
|
1269
1284
|
text = isCaseSensitive ? text : text.toLowerCase();
|
|
1285
|
+
text = ignoreDiacritics ? stripDiacritics(text) : text;
|
|
1270
1286
|
|
|
1271
1287
|
let numMatches = 0;
|
|
1272
1288
|
let allIndices = [];
|
|
@@ -1775,7 +1791,7 @@ class Fuse {
|
|
|
1775
1791
|
}
|
|
1776
1792
|
}
|
|
1777
1793
|
|
|
1778
|
-
Fuse.version = '7.
|
|
1794
|
+
Fuse.version = '7.1.0';
|
|
1779
1795
|
Fuse.createIndex = createIndex;
|
|
1780
1796
|
Fuse.parseIndex = parseIndex;
|
|
1781
1797
|
Fuse.config = Config;
|
|
@@ -1800,6 +1816,12 @@ const ZonosCountrySelectStyle0 = zonosCountrySelectCss;
|
|
|
1800
1816
|
const ZonosCountrySelect = class {
|
|
1801
1817
|
constructor(hostRef) {
|
|
1802
1818
|
index.registerInstance(this, hostRef);
|
|
1819
|
+
/**
|
|
1820
|
+
* Function to close the country select
|
|
1821
|
+
* @default () => {}
|
|
1822
|
+
*/
|
|
1823
|
+
this.handleOnClose = () => { };
|
|
1824
|
+
this.inputValue = '';
|
|
1803
1825
|
this.countrySelected = (countryCode) => {
|
|
1804
1826
|
// mutate the selected country code in store
|
|
1805
1827
|
void localization.localizationStoreUpdateSelectedCountryCode(countryCode);
|
|
@@ -1816,8 +1838,6 @@ const ZonosCountrySelect = class {
|
|
|
1816
1838
|
countryListSelector.scrollTop = 0;
|
|
1817
1839
|
}
|
|
1818
1840
|
};
|
|
1819
|
-
this.handleOnClose = () => { };
|
|
1820
|
-
this.inputValue = '';
|
|
1821
1841
|
}
|
|
1822
1842
|
componentDidRender() {
|
|
1823
1843
|
var _a, _b;
|
|
@@ -1857,7 +1877,13 @@ const ZonosCustomMessageStyle0 = zonosCustomMessageCss;
|
|
|
1857
1877
|
const ZonosCustomMessage = class {
|
|
1858
1878
|
constructor(hostRef) {
|
|
1859
1879
|
index.registerInstance(this, hostRef);
|
|
1880
|
+
/**
|
|
1881
|
+
* The custom message icon
|
|
1882
|
+
*/
|
|
1860
1883
|
this.icon = '';
|
|
1884
|
+
/**
|
|
1885
|
+
* The custom message text
|
|
1886
|
+
*/
|
|
1861
1887
|
this.message = '';
|
|
1862
1888
|
}
|
|
1863
1889
|
render() {
|
|
@@ -1887,8 +1913,15 @@ const ZonosHelloDialogFooterStyle0 = zonosHelloDialogFooterCss;
|
|
|
1887
1913
|
const ZonosHelloDialogFooter = class {
|
|
1888
1914
|
constructor(hostRef) {
|
|
1889
1915
|
index.registerInstance(this, hostRef);
|
|
1890
|
-
|
|
1916
|
+
/**
|
|
1917
|
+
* Whether or not the country select dialog is open
|
|
1918
|
+
* @default false
|
|
1919
|
+
*/
|
|
1891
1920
|
this.setShowCountrySelect = () => { };
|
|
1921
|
+
/**
|
|
1922
|
+
* Whether or not the language select dialog is open
|
|
1923
|
+
* @default false
|
|
1924
|
+
*/
|
|
1892
1925
|
this.setShowLanguageSelect = () => { };
|
|
1893
1926
|
}
|
|
1894
1927
|
render() {
|
|
@@ -1911,16 +1944,11 @@ const ZonosVirtualScrollStyle0 = zonosVirtualScrollCss;
|
|
|
1911
1944
|
const ZonosVirtualScroll = class {
|
|
1912
1945
|
constructor(hostRef) {
|
|
1913
1946
|
index.registerInstance(this, hostRef);
|
|
1947
|
+
this.scrollTop = 0;
|
|
1948
|
+
this.totalHeight = 1;
|
|
1914
1949
|
this.scrollListener = (_ev) => {
|
|
1915
1950
|
this.scrollTop = this.ele.scrollTop;
|
|
1916
1951
|
};
|
|
1917
|
-
this.container = undefined;
|
|
1918
|
-
this.renderItem = undefined;
|
|
1919
|
-
this.itemWidth = undefined;
|
|
1920
|
-
this.fallbackItemHeight = undefined;
|
|
1921
|
-
this.itemHeights = undefined;
|
|
1922
|
-
this.scrollTop = 0;
|
|
1923
|
-
this.totalHeight = 1;
|
|
1924
1952
|
}
|
|
1925
1953
|
updateTotalHeight() {
|
|
1926
1954
|
this.totalHeight = this.itemHeights.reduce((acc, height) => acc + (height || this.fallbackItemHeight), 0);
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1c710d00.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.27.2 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
var patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('zonos-elements.cjs.js', document.baseURI).href));
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-1c710d00.js');
|
|
6
|
+
const zonosStore = require('./zonosStore-7c1e1bc1.js');
|
|
7
7
|
const classes = require('./classes-b7918f56.js');
|
|
8
|
-
const getBorderRadius = require('./getBorderRadius-
|
|
9
|
-
const cart = require('./cart-
|
|
10
|
-
const localization = require('./localization-
|
|
8
|
+
const getBorderRadius = require('./getBorderRadius-c424eb05.js');
|
|
9
|
+
const cart = require('./cart-193af95a.js');
|
|
10
|
+
const localization = require('./localization-88da0959.js');
|
|
11
11
|
const handleFetch = require('./handleFetch-969d05d8.js');
|
|
12
|
-
const paypal = require('./paypal-
|
|
12
|
+
const paypal = require('./paypal-8525404c.js');
|
|
13
13
|
require('./VarianceTest-0cb1e118.js');
|
|
14
|
-
require('./isDarkColor-
|
|
14
|
+
require('./isDarkColor-35e8daec.js');
|
|
15
15
|
|
|
16
16
|
const PaymentEmptyStateDarkIcon = `<svg width="536" height="200" viewBox="0 0 536 200" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
17
17
|
<mask id="mask0_3739_19124" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="536" height="200">
|
|
@@ -67,7 +67,9 @@ const ZonosEmptyStatePaymentStyle0 = zonosEmptyStatePaymentCss;
|
|
|
67
67
|
const ZonosEmptyStatePayment = class {
|
|
68
68
|
constructor(hostRef) {
|
|
69
69
|
index.registerInstance(this, hostRef);
|
|
70
|
-
|
|
70
|
+
/**
|
|
71
|
+
* Theme color of the icon
|
|
72
|
+
*/
|
|
71
73
|
this.theme = 'LIGHT';
|
|
72
74
|
}
|
|
73
75
|
render() {
|
|
@@ -160,11 +162,10 @@ const ZonosPaymentStyle0 = zonosPaymentCss;
|
|
|
160
162
|
const ZonosPayment = class {
|
|
161
163
|
constructor(hostRef) {
|
|
162
164
|
index.registerInstance(this, hostRef);
|
|
163
|
-
this.trackingSent = false;
|
|
164
|
-
this.titleText = undefined;
|
|
165
165
|
this.stripe = cart.stripeStore.stripe;
|
|
166
166
|
this.stripeElements = cart.stripeStore.stripeElements;
|
|
167
167
|
this.isPaymentInfoFilled = false;
|
|
168
|
+
this.trackingSent = false;
|
|
168
169
|
}
|
|
169
170
|
watchIsPaymentInfoFilled() {
|
|
170
171
|
var _a;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const localization = require('./localization-
|
|
7
|
-
const zonosStore = require('./zonosStore-
|
|
5
|
+
const index = require('./index-1c710d00.js');
|
|
6
|
+
const localization = require('./localization-88da0959.js');
|
|
7
|
+
const zonosStore = require('./zonosStore-7c1e1bc1.js');
|
|
8
8
|
const classes = require('./classes-b7918f56.js');
|
|
9
9
|
const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
|
|
10
10
|
const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
|
|
@@ -54,7 +54,7 @@ const MoneyIcon = `<svg width="21" height="20" viewBox="0 0 21 20" fill="none" x
|
|
|
54
54
|
|
|
55
55
|
const RemoveIcon = `<svg xmlns="https://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#C5C6CA" fill-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" clip-rule="evenodd"/><path fill="#4D505A" fill-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" clip-rule="evenodd"/></svg>`;
|
|
56
56
|
|
|
57
|
-
const zonosHelloDialogCss = ":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--hello-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center}:host .zonos--hello-dialog{position:absolute;background:var(--zonos-elements-surface-color);width:100vw;max-width:430px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;max-height:600px;border-radius:var(--zonos-elements-radius-12);outline:none;-webkit-box-shadow:var(--zonos-elements-v3-shadow-xxl);box-shadow:var(--zonos-elements-v3-shadow-xxl);overflow-y:auto;top:-2px;right:-2px;opacity:0;-webkit-transition:opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:top right;transform-origin:top right;z-index:1001}:host .zonos--hello-dialog .zonos--hello-dialog-header{text-align:center}:host .zonos--hello-dialog.zonos--hello-dialog-animate-from-left{-webkit-transform-origin:top left;transform-origin:top left;right:unset;left:-2px}:host .zonos--hello-dialog.zonos--hello-dialog-animate-from-bottom{-webkit-transform-origin:bottom right;transform-origin:bottom right;bottom:calc(100% - 32px);top:unset}:host .zonos--hello-dialog.zonos--hello-dialog-animate-from-bottom.zonos--hello-dialog-animate-from-left{-webkit-transform-origin:bottom left;transform-origin:bottom left}:host .zonos--hello-dialog::-webkit-scrollbar{width:12px;height:12px}:host .zonos--hello-dialog::-webkit-scrollbar-track{background:#f5f5f5;border-top-right-radius:var(--zonos-elements-radius-12);border-bottom-right-radius:var(--zonos-elements-radius-12)}:host .zonos--hello-dialog::-webkit-scrollbar-thumb{border-radius:10px;background:#ccc;border:4px solid transparent;background-clip:content-box}:host .zonos--hello-dialog::-webkit-scrollbar-thumb:hover{background:#999}:host .zonos--hello-dialog .zonos--animate-content{opacity:0;height:0;-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}:host .zonos--hello-dialog .zonos--show-animate-content{opacity:1;height:100%}:host .zonos--hello-dialog.zonos--hello-dialog-open{opacity:1;-webkit-transform:scale(1);transform:scale(1)}:host .zonos--hello-dialog .zonos--close-button{position:absolute;right:8px;top:8px;width:var(--zonos-elements-size-md);height:var(--zonos-elements-size-md);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;z-index:10}:host .zonos--hello-dialog .zonos--close-button:hover{background:var(--zonos-elements-hover-color);border-radius:var(--zonos-elements-radius-6)}:host .zonos--hello-dialog .zonos--hello-dialog-content{padding:16px}:host .zonos--hello-dialog .zonos--hello-dialog-content .zonos--hello-country-flag{border-radius:var(--zonos-elements-radius-4);width:32px;height:24px}:host .zonos--hello-dialog .zonos--flex-message{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}:host .zonos--hello-dialog.zonos--hello-dialog-mobile-override{position:-webkit-sticky;position:sticky;top:unset;left:unset;right:unset;bottom:0;width:100vw;max-width:100vw;max-height:500px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-webkit-transform:scaleY(0);transform:scaleY(0);border-radius:0;-webkit-transform-origin:bottom;transform-origin:bottom}@media (max-height: 600px){:host .zonos--hello-dialog.zonos--hello-dialog-mobile-override{max-height:80vh}}:host .zonos--hello-dialog.zonos--hello-dialog-mobile-override.zonos--hello-dialog-animate-from-left{-webkit-transform-origin:bottom;transform-origin:bottom}:host .zonos--hello-dialog.zonos--hello-dialog-mobile-override.zonos--hello-dialog-open{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1)}@media (max-width: 768px){:host .zonos--hello-dialog{position:-webkit-sticky;position:sticky;top:unset;left:unset;right:unset;bottom:0;width:100vw;max-width:100vw;max-height:500px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-webkit-transform:scaleY(0);transform:scaleY(0);border-radius:0;-webkit-transform-origin:bottom;transform-origin:bottom}}@media (max-width: 768px) and (max-height: 600px){:host .zonos--hello-dialog{max-height:80vh}}@media (max-width: 768px){:host .zonos--hello-dialog.zonos--hello-dialog-animate-from-left{-webkit-transform-origin:bottom;transform-origin:bottom}
|
|
57
|
+
const zonosHelloDialogCss = ":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--hello-country-flag{height:18px;width:18px;position:relative;overflow:hidden;border-radius:30px;-webkit-box-shadow:var(--zonos-elements-v3-shadow-medium);box-shadow:var(--zonos-elements-v3-shadow-medium);z-index:10;justify-self:center}:host .zonos--hello-dialog{position:absolute;background:var(--zonos-elements-surface-color);width:100vw;max-width:430px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;max-height:600px;border-radius:var(--zonos-elements-radius-12);outline:none;-webkit-box-shadow:var(--zonos-elements-v3-shadow-xxl);box-shadow:var(--zonos-elements-v3-shadow-xxl);overflow-y:auto;top:-2px;right:-2px;opacity:0;-webkit-transition:opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:top right;transform-origin:top right;z-index:1001}:host .zonos--hello-dialog .zonos--hello-dialog-header{text-align:center}:host .zonos--hello-dialog.zonos--hello-dialog-animate-from-left{-webkit-transform-origin:top left;transform-origin:top left;right:unset;left:-2px}:host .zonos--hello-dialog.zonos--hello-dialog-animate-from-bottom{-webkit-transform-origin:bottom right;transform-origin:bottom right;bottom:calc(100% - 32px);top:unset}:host .zonos--hello-dialog.zonos--hello-dialog-animate-from-bottom.zonos--hello-dialog-animate-from-left{-webkit-transform-origin:bottom left;transform-origin:bottom left}:host .zonos--hello-dialog::-webkit-scrollbar{width:12px;height:12px}:host .zonos--hello-dialog::-webkit-scrollbar-track{background:#f5f5f5;border-top-right-radius:var(--zonos-elements-radius-12);border-bottom-right-radius:var(--zonos-elements-radius-12)}:host .zonos--hello-dialog::-webkit-scrollbar-thumb{border-radius:10px;background:#ccc;border:4px solid transparent;background-clip:content-box}:host .zonos--hello-dialog::-webkit-scrollbar-thumb:hover{background:#999}:host .zonos--hello-dialog .zonos--animate-content{opacity:0;height:0;-webkit-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out}:host .zonos--hello-dialog .zonos--show-animate-content{opacity:1;height:100%}:host .zonos--hello-dialog.zonos--hello-dialog-open{opacity:1;-webkit-transform:scale(1);transform:scale(1)}:host .zonos--hello-dialog .zonos--close-button{position:absolute;right:8px;top:8px;width:var(--zonos-elements-size-md);height:var(--zonos-elements-size-md);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;z-index:10}:host .zonos--hello-dialog .zonos--close-button:hover{background:var(--zonos-elements-hover-color);border-radius:var(--zonos-elements-radius-6)}:host .zonos--hello-dialog .zonos--hello-dialog-content{padding:16px}:host .zonos--hello-dialog .zonos--hello-dialog-content .zonos--hello-country-flag{border-radius:var(--zonos-elements-radius-4);width:32px;height:24px}:host .zonos--hello-dialog .zonos--flex-message{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:12px}:host .zonos--hello-dialog.zonos--hello-dialog-mobile-override{position:-webkit-sticky;position:sticky;top:unset;left:unset;right:unset;bottom:0;width:100vw;max-width:100vw;max-height:500px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-webkit-transform:scaleY(0);transform:scaleY(0);border-radius:0;-webkit-transform-origin:bottom;transform-origin:bottom}@media (max-height: 600px){:host .zonos--hello-dialog.zonos--hello-dialog-mobile-override{max-height:80vh}}:host .zonos--hello-dialog.zonos--hello-dialog-mobile-override.zonos--hello-dialog-animate-from-left{-webkit-transform-origin:bottom;transform-origin:bottom}:host .zonos--hello-dialog.zonos--hello-dialog-mobile-override.zonos--hello-dialog-open{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1)}@media (max-width: 768px){:host .zonos--hello-dialog{position:-webkit-sticky;position:sticky;top:unset;left:unset;right:unset;bottom:0;width:100vw;max-width:100vw;max-height:500px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;-webkit-transform:scaleY(0);transform:scaleY(0);border-radius:0;-webkit-transform-origin:bottom;transform-origin:bottom}}@media (max-width: 768px) and (max-height: 600px){:host .zonos--hello-dialog{max-height:80vh}}@media (max-width: 768px){:host .zonos--hello-dialog.zonos--hello-dialog-animate-from-left{-webkit-transform-origin:bottom;transform-origin:bottom}:host .zonos--hello-dialog.zonos--hello-dialog-open{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1)}}";
|
|
58
58
|
const ZonosHelloDialogStyle0 = zonosHelloDialogCss;
|
|
59
59
|
|
|
60
60
|
const dutyTaxMessage_AU_lowValueGST = `${localization.translate('The low-value GST law passed July 1st, 2018 applies to this retailer.')} ${wrapStringWithLink({
|
|
@@ -65,6 +65,23 @@ const ZonosHelloDialog = class {
|
|
|
65
65
|
constructor(hostRef) {
|
|
66
66
|
index.registerInstance(this, hostRef);
|
|
67
67
|
this.closeDialog = index.createEvent(this, "closeDialog", 7);
|
|
68
|
+
/**
|
|
69
|
+
* Whether or not the dialog is open
|
|
70
|
+
*/
|
|
71
|
+
this.isOpen = false;
|
|
72
|
+
/**
|
|
73
|
+
* The function to set the open state
|
|
74
|
+
* @default () => {}
|
|
75
|
+
*/
|
|
76
|
+
this.setIsOpen = () => { };
|
|
77
|
+
/**
|
|
78
|
+
* Item restrictions array if any
|
|
79
|
+
* @default []
|
|
80
|
+
*/
|
|
81
|
+
this.restrictedItems = [];
|
|
82
|
+
this.welcomeMessage = 'Welcome to our Demo App!';
|
|
83
|
+
this.showCountrySelect = false;
|
|
84
|
+
this.showLanguageSelect = false;
|
|
68
85
|
this.clickOutsideDialogHandler = (e) => {
|
|
69
86
|
if (!e.composedPath().includes(this.dialogRef) && this.isOpen) {
|
|
70
87
|
this.setIsOpen(false);
|
|
@@ -229,15 +246,6 @@ const ZonosHelloDialog = class {
|
|
|
229
246
|
return null;
|
|
230
247
|
}
|
|
231
248
|
};
|
|
232
|
-
this.isOpen = false;
|
|
233
|
-
this.setIsOpen = () => { };
|
|
234
|
-
this.mobileLocationOverride = undefined;
|
|
235
|
-
this.animateFromLeftOverride = undefined;
|
|
236
|
-
this.appearanceSettings = undefined;
|
|
237
|
-
this.restrictedItems = [];
|
|
238
|
-
this.welcomeMessage = 'Welcome to our Demo App!';
|
|
239
|
-
this.showCountrySelect = false;
|
|
240
|
-
this.showLanguageSelect = false;
|
|
241
249
|
}
|
|
242
250
|
globalClickHandler(e) {
|
|
243
251
|
this.clickOutsideDialogHandler(e);
|