@zonos/elements 1.3.18-alpha.0 → 1.3.18-alpha.2
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-d25723e7.js → cart-941a31dd.js} +562 -12
- package/dist/cjs/{getBorderRadius-44b3eca1.js → getBorderRadius-bcb309a8.js} +1 -1
- package/dist/cjs/{index-654a6001.js → index-b071017b.js} +4 -1
- package/dist/cjs/{isDarkColor-01f45d3f.js → isDarkColor-b0393089.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{submitGtag-484eaf9d.js → submitGtag-9210b4fe.js} +2 -2
- package/dist/cjs/zonos-address_8.cjs.entry.js +22 -11
- package/dist/cjs/zonos-badge_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
- package/dist/cjs/zonos-button_3.cjs.entry.js +22 -11
- package/dist/cjs/zonos-card_2.cjs.entry.js +7 -7
- package/dist/cjs/{zonos-cart-items_9.cjs.entry.js → zonos-cart-items_11.cjs.entry.js} +224 -14
- package/dist/cjs/zonos-checkout.cjs.entry.js +36 -10
- package/dist/cjs/zonos-component.cjs.entry.js +2 -2
- package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
- package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
- package/dist/cjs/zonos-country-select_3.cjs.entry.js +11 -11
- package/dist/cjs/zonos-elements.cjs.js +2 -2
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +8 -8
- package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
- package/dist/cjs/zonos-input.cjs.entry.js +7 -7
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +4 -4
- package/dist/cjs/zonos-notification.cjs.entry.js +2 -2
- package/dist/cjs/zonos-payment.cjs.entry.js +6 -6
- package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +6 -6
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
- package/dist/cjs/zonos-text.cjs.entry.js +2 -2
- package/dist/cjs/{zonosStore-d8bb0bda.js → zonosStore-7c6205ca.js} +2 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +2 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/assets/ChevronUpIcon.svg +23 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/assets/empty-item.jpeg +0 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.css +105 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.js +101 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +6 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +3 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +43 -6
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +18 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +3 -2
- package/dist/collection/components/common/zonos-button/zonos-button.css +12 -0
- package/dist/collection/components/common/zonos-button/zonos-button.js +43 -8
- package/dist/collection/components/common/zonos-confirm-dialog/assets/ExclamationMarkDuotoneIcon.svg +4 -0
- package/dist/collection/components/common/zonos-confirm-dialog/assets/HelpDuotoneIcon.svg +4 -0
- package/dist/collection/components/common/zonos-confirm-dialog/assets/WarningDuotoneIcon.svg +4 -0
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.css +125 -0
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +322 -0
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +1 -4
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +38 -4
- package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +3 -3
- package/dist/collection/components/main/zonos-controller.js +3 -3
- package/dist/collection/components/store/checkout/cart.js +55 -5
- package/dist/collection/components/store/checkout/stripe.js +6 -2
- package/dist/collection/components/store/hello/localization.js +12 -2
- package/dist/collection/components/store/translationStore/strings.arabic.js +24 -0
- package/dist/collection/components/store/translationStore/strings.base.js +24 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +24 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +24 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +24 -0
- package/dist/collection/components/store/translationStore/strings.french.js +24 -0
- package/dist/collection/components/store/translationStore/strings.german.js +24 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +24 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +24 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +24 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +24 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +24 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +24 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +24 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +24 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +24 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +24 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +24 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +24 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +24 -0
- package/dist/collection/components/store/zonosStore.js +1 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js +1 -1
- package/dist/collection/components/utils/hello/currencyConversion/currencyDisplay.js +6 -1
- package/dist/collection/scripts/zonosBase.js +2 -1
- package/dist/collection/types/checkout/RestrictProduct.js +1 -0
- package/dist/collection/types/generated/graphql.customer.types.js +40 -0
- package/dist/collection/types/generated/graphql.frontend.types.js +1 -0
- package/dist/components/stripe.js +79 -10
- package/dist/components/submitGtag.js +1 -1
- package/dist/components/trackConversionEvent.js +1 -1
- package/dist/components/translationStore.js +480 -0
- package/dist/components/zonos-address2.js +1 -1
- package/dist/components/zonos-button2.js +20 -8
- package/dist/components/zonos-cart-items2.js +2 -1
- package/dist/components/zonos-cart-restricted-items.d.ts +11 -0
- package/dist/components/zonos-cart-restricted-items.js +6 -0
- package/dist/components/zonos-cart-restricted-items2.js +135 -0
- package/dist/components/zonos-cart-subtotal2.js +6 -3
- package/dist/components/zonos-checkout-finish2.js +1 -1
- package/dist/components/zonos-checkout-payment2.js +1 -1
- package/dist/components/zonos-checkout.js +77 -38
- package/dist/components/zonos-component.js +1 -1
- package/dist/components/zonos-confirm-dialog.d.ts +11 -0
- package/dist/components/zonos-confirm-dialog.js +6 -0
- package/dist/components/zonos-confirm-dialog2.js +161 -0
- package/dist/components/zonos-controller.js +2 -2
- package/dist/components/zonos-country-select2.js +3 -3
- package/dist/components/zonos-custom-message2.js +2 -2
- package/dist/components/zonos-customer-info2.js +19 -3
- package/dist/components/zonos-dialog2.js +17 -5
- package/dist/components/zonos-hello-dialog-footer2.js +2 -2
- package/dist/components/zonos-hello-dialog2.js +4 -4
- package/dist/components/zonos-hello.js +1 -1
- package/dist/components/zonos-input2.js +4 -4
- package/dist/components/zonos-language-select2.js +3 -3
- package/dist/components/zonos-link-authentication2.js +1 -1
- package/dist/components/zonos-logo.js +2 -2
- package/dist/components/zonos-payment2.js +1 -1
- package/dist/components/zonos-review2.js +3 -2
- package/dist/components/zonos-select-dialog-header2.js +2 -2
- package/dist/components/zonos-shipping2.js +1 -1
- package/dist/components/zonos-tooltip2.js +2 -2
- package/dist/components/zonos-v-stack2.js +2 -2
- package/dist/components/zonosStore.js +1 -0
- package/dist/esm/{cart-02f5c2ea.js → cart-cc593c2b.js} +562 -13
- package/dist/esm/{getBorderRadius-567f1786.js → getBorderRadius-d244b4b1.js} +1 -1
- package/dist/esm/{index-e063389c.js → index-3b46f3c3.js} +4 -1
- package/dist/esm/{isDarkColor-7f62035a.js → isDarkColor-39a36e82.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{submitGtag-ba38e1ac.js → submitGtag-e50f903f.js} +2 -2
- package/dist/esm/zonos-address_8.entry.js +22 -11
- package/dist/esm/zonos-badge_2.entry.js +4 -4
- package/dist/esm/zonos-banner.entry.js +2 -2
- package/dist/esm/zonos-button_3.entry.js +22 -11
- package/dist/esm/zonos-card_2.entry.js +7 -7
- package/dist/esm/{zonos-cart-items_9.entry.js → zonos-cart-items_11.entry.js} +223 -15
- package/dist/esm/zonos-checkout.entry.js +36 -10
- package/dist/esm/zonos-component.entry.js +2 -2
- package/dist/esm/zonos-controller.entry.js +6 -6
- package/dist/esm/zonos-country-flag.entry.js +5 -5
- package/dist/esm/zonos-country-select_3.entry.js +11 -11
- package/dist/esm/zonos-elements.js +3 -3
- package/dist/esm/zonos-hello-dialog.entry.js +8 -8
- package/dist/esm/zonos-hello.entry.js +5 -5
- package/dist/esm/zonos-input.entry.js +7 -7
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +4 -4
- package/dist/esm/zonos-notification.entry.js +2 -2
- package/dist/esm/zonos-payment.entry.js +6 -6
- package/dist/esm/zonos-select-dialog-header_2.entry.js +6 -6
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/esm/zonos-text.entry.js +2 -2
- package/dist/esm/{zonosStore-33ff08ff.js → zonosStore-32e33a45.js} +2 -1
- package/dist/esm-es5/cart-cc593c2b.js +1 -0
- package/dist/esm-es5/{getBorderRadius-567f1786.js → getBorderRadius-d244b4b1.js} +1 -1
- package/dist/esm-es5/{index-e063389c.js → index-3b46f3c3.js} +1 -1
- package/dist/esm-es5/{isDarkColor-7f62035a.js → isDarkColor-39a36e82.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{submitGtag-ba38e1ac.js → submitGtag-e50f903f.js} +1 -1
- package/dist/esm-es5/zonos-address_8.entry.js +1 -1
- package/dist/esm-es5/zonos-badge_2.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_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_11.entry.js +1 -0
- package/dist/esm-es5/zonos-checkout.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_3.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.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-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification.entry.js +1 -1
- package/dist/esm-es5/zonos-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-33ff08ff.js → zonosStore-32e33a45.js} +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/scripts/zonosBase.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.d.ts +14 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +11 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +2 -0
- package/dist/types/components/common/zonos-button/zonos-button.d.ts +7 -1
- package/dist/types/components/common/zonos-confirm-dialog/zonos-confirm-dialog.d.ts +60 -0
- package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +6 -1
- package/dist/types/components/store/checkout/cart.d.ts +38 -4
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +24 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +24 -0
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/store/zonosStore.d.ts +4 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components.d.ts +163 -5
- package/dist/types/scripts/zonosBase.d.ts +21 -2
- package/dist/types/types/checkout/CheckoutConfig.d.ts +7 -0
- package/dist/types/types/checkout/RestrictProduct.d.ts +7 -0
- package/dist/types/types/generated/graphql.customer.types.d.ts +54 -0
- package/dist/types/types/generated/graphql.customer.types.ts +66 -1
- package/dist/types/types/generated/graphql.frontend.types.d.ts +2 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +2 -1
- package/dist/zonos-elements/assets/ExclamationMarkDuotoneIcon.svg +4 -0
- package/dist/zonos-elements/assets/HelpDuotoneIcon.svg +4 -0
- package/dist/zonos-elements/assets/WarningDuotoneIcon.svg +4 -0
- package/dist/zonos-elements/{p-d7acc81c.entry.js → p-020a9b86.entry.js} +1 -1
- package/dist/zonos-elements/{p-905d842b.entry.js → p-04030a48.entry.js} +1 -1
- package/dist/zonos-elements/{p-fe246229.system.entry.js → p-0d0f9694.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0267a969.entry.js → p-0e892292.entry.js} +1 -1
- package/dist/zonos-elements/{p-57adc7f8.entry.js → p-0fac99e7.entry.js} +1 -1
- package/dist/zonos-elements/p-1795c760.system.entry.js +1 -0
- package/dist/zonos-elements/{p-771fbeb3.system.js → p-1b9442f6.system.js} +1 -1
- package/dist/zonos-elements/{p-1ba4cf64.entry.js → p-24ac1c6f.entry.js} +1 -1
- package/dist/zonos-elements/p-26a60a6e.entry.js +1 -0
- package/dist/zonos-elements/{p-835c8928.entry.js → p-281b8bdf.entry.js} +1 -1
- package/dist/zonos-elements/{p-a889c1bc.entry.js → p-2af19b63.entry.js} +1 -1
- package/dist/zonos-elements/{p-582d8b27.entry.js → p-2ced091f.entry.js} +1 -1
- package/dist/zonos-elements/{p-909a331c.js → p-2f759d82.js} +1 -1
- package/dist/zonos-elements/p-32744531.entry.js +1 -0
- package/dist/zonos-elements/{p-532995a4.system.entry.js → p-35ac375a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9da0562e.system.entry.js → p-3bc88c3c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-36a461a6.system.entry.js → p-3e26d7b3.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9ec93319.entry.js → p-498a0e18.entry.js} +1 -1
- package/dist/zonos-elements/{p-572a4de2.system.entry.js → p-4caaaaeb.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-79f3c4f5.system.js → p-58e730b6.system.js} +1 -1
- package/dist/zonos-elements/{p-e7b4b756.entry.js → p-597b75f3.entry.js} +1 -1
- package/dist/zonos-elements/{p-6ece23b9.entry.js → p-5e783394.entry.js} +1 -1
- package/dist/zonos-elements/{p-87badea9.system.js → p-62ecfbcc.system.js} +1 -1
- package/dist/zonos-elements/{p-f99eb5e7.entry.js → p-6366e7e3.entry.js} +1 -1
- package/dist/zonos-elements/p-693b9985.js +1 -0
- package/dist/zonos-elements/{p-bf32179a.system.entry.js → p-6eda6199.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6dec476d.system.entry.js → p-7c8ee4b9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-305f27c7.entry.js → p-80442f16.entry.js} +1 -1
- package/dist/zonos-elements/{p-cf0f8e32.entry.js → p-80ea85b8.entry.js} +1 -1
- package/dist/zonos-elements/{p-679877b1.system.entry.js → p-8171d013.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-83cc2936.js → p-8c0b4a61.js} +1 -1
- package/dist/zonos-elements/{p-4dca5484.system.entry.js → p-8cd6633a.system.entry.js} +1 -1
- package/dist/zonos-elements/p-8da16d53.system.js +1 -0
- package/dist/zonos-elements/p-96b8c9ba.system.entry.js +1 -0
- package/dist/zonos-elements/{p-f124e659.system.entry.js → p-98a0b694.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fd49d864.entry.js → p-9aab3ad7.entry.js} +1 -1
- package/dist/zonos-elements/{p-ad088d46.system.entry.js → p-9e8d38f7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-83fecb2a.entry.js → p-9e9c318b.entry.js} +1 -1
- package/dist/zonos-elements/{p-e108e5ed.system.entry.js → p-a47382ae.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-47e00966.system.entry.js → p-b98cdf39.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3638e2ed.entry.js → p-bd9b2165.entry.js} +1 -1
- package/dist/zonos-elements/{p-ff403840.entry.js → p-c20e5430.entry.js} +1 -1
- package/dist/zonos-elements/{p-13ddaf31.js → p-ce347974.js} +1 -1
- package/dist/zonos-elements/{p-f71489e5.system.entry.js → p-d0bc8902.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-17e265c3.system.entry.js → p-d7a939df.system.entry.js} +1 -1
- package/dist/zonos-elements/p-d7b8c1c1.system.entry.js +1 -0
- package/dist/zonos-elements/{p-163ff5b5.system.js → p-d99232c5.system.js} +1 -1
- package/dist/zonos-elements/p-dd0fd351.entry.js +1 -0
- package/dist/zonos-elements/p-e015cb0e.js +1 -0
- package/dist/zonos-elements/p-e0bf9666.system.js +1 -0
- package/dist/zonos-elements/{p-b98bdbcc.system.entry.js → p-e13bfbda.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-239cc943.system.entry.js → p-e1fbd05d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0265da6f.js → p-e553dd19.js} +1 -1
- package/dist/zonos-elements/p-e6fa0ebc.system.js +1 -0
- package/dist/zonos-elements/{p-5e33aab7.system.entry.js → p-f6546bf4.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/package.json +13 -13
- package/dist/esm-es5/cart-02f5c2ea.js +0 -1
- package/dist/esm-es5/zonos-cart-items_9.entry.js +0 -1
- package/dist/zonos-elements/p-154aaf95.system.js +0 -1
- package/dist/zonos-elements/p-168e5b5f.system.js +0 -1
- package/dist/zonos-elements/p-1b8082dd.entry.js +0 -1
- package/dist/zonos-elements/p-246133d3.entry.js +0 -1
- package/dist/zonos-elements/p-54004793.system.entry.js +0 -1
- package/dist/zonos-elements/p-54a32fd7.entry.js +0 -1
- package/dist/zonos-elements/p-5d13795a.system.entry.js +0 -1
- package/dist/zonos-elements/p-981bf71a.js +0 -1
- package/dist/zonos-elements/p-e0e66004.system.js +0 -1
- package/dist/zonos-elements/p-ed7d251d.system.entry.js +0 -1
- package/dist/zonos-elements/p-f1962041.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as t,f as n}from"./p-13ddaf31.js";const r=t=>!("isConnected"in t)||t.isConnected,e=(()=>{let t;return(...n)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let n of t.keys())t.set(n,t.get(n).filter(r))})(...n)}),2e3)}})(),o=t=>"function"==typeof t?t():t,i=(r,i)=>{const u=((t,n=((t,n)=>t!==n))=>{const r=o(t);let e=new Map(Object.entries(null!=r?r:{}));const i={dispose:[],get:[],set:[],reset:[]},u=()=>{var n;e=new Map(Object.entries(null!==(n=o(t))&&void 0!==n?n:{})),i.reset.forEach((t=>t()))},c=t=>(i.get.forEach((n=>n(t))),e.get(t)),a=(t,r)=>{const o=e.get(t);n(r,o,t)&&(e.set(t,r),i.set.forEach((n=>n(t,r,o))))},s="undefined"==typeof Proxy?{}:new Proxy(r,{get:(t,n)=>c(n),ownKeys:()=>Array.from(e.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,n)=>e.has(n),set:(t,n,r)=>(a(n,r),!0)}),f=(t,n)=>(i[t].push(n),()=>{((t,n)=>{const r=t.indexOf(n);r>=0&&(t[r]=t[t.length-1],t.length--)})(i[t],n)});return{state:s,get:c,set:a,on:f,onChange:(n,r)=>{const e=f("set",((t,e)=>{t===n&&r(e)})),i=f("reset",(()=>r(o(t)[n])));return()=>{e(),i()}},use:(...t)=>{const n=t.reduce(((t,n)=>(n.set&&t.push(f("set",n.set)),n.get&&t.push(f("get",n.get)),n.reset&&t.push(f("reset",n.reset)),n.dispose&&t.push(f("dispose",n.dispose)),t)),[]);return()=>n.forEach((t=>t()))},dispose:()=>{i.dispose.forEach((t=>t())),u()},reset:u,forceUpdate:t=>{const n=e.get(t);i.set.forEach((r=>r(t,n,n)))}}})(r,i);return u.use((()=>{if("function"!=typeof t)return{};const r=new Map;return{dispose:()=>r.clear(),get:n=>{const e=t();e&&((t,n,r)=>{const e=t.get(n);e?e.includes(r)||e.push(r):t.set(n,[r])})(r,n,e)},set:t=>{const o=r.get(t);o&&r.set(t,o.filter(n)),e(r)},reset:()=>{r.forEach((t=>t.forEach(n))),e(r)}}})()),u};var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},c=function(t,n){return t===n||t!=t&&n!=n},a=c,s=function(t,n){for(var r=t.length;r--;)if(a(t[r][0],n))return r;return-1},f=s,l=Array.prototype.splice,v=s,d=s,h=s;function p(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}p.prototype.clear=function(){this.__data__=[],this.size=0},p.prototype.delete=function(t){var n=this.__data__,r=f(n,t);return!(r<0||(r==n.length-1?n.pop():l.call(n,r,1),--this.size,0))},p.prototype.get=function(t){var n=this.__data__,r=v(n,t);return r<0?void 0:n[r][1]},p.prototype.has=function(t){return d(this.__data__,t)>-1},p.prototype.set=function(t,n){var r=this.__data__,e=h(r,t);return e<0?(++this.size,r.push([t,n])):r[e][1]=n,this};var b,y=p,g=y,j="object"==typeof u&&u&&u.Object===Object&&u,m="object"==typeof self&&self&&self.Object===Object&&self,O=j||m||Function("return this")(),S=O.Symbol,w=Object.prototype,E=w.hasOwnProperty,_=w.toString,A=S?S.toStringTag:void 0,D=Object.prototype.toString,T=S?S.toStringTag:void 0,B=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":T&&T in Object(t)?function(t){var n=E.call(t,A),r=t[A];try{t[A]=void 0;var e=!0}catch(t){}var o=_.call(t);return e&&(n?t[A]=r:delete t[A]),o}(t):function(t){return D.call(t)}(t)},C=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)},L=B,I=C,P=function(t){if(!I(t))return!1;var n=L(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n},U=O["__core-js_shared__"],x=(b=/[^.]+$/.exec(U&&U.keys&&U.keys.IE_PROTO||""))?"Symbol(src)_1."+b:"",M=Function.prototype.toString,N=P,z=C,F=/^\[object .+?Constructor\]$/,R=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$=function(t){return!(!z(t)||(n=t,x&&x in n))&&(N(t)?R:F).test(function(t){if(null!=t){try{return M.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var n},k=function(t,n){var r=function(t,n){return null==t?void 0:t[n]}(t,n);return $(r)?r:void 0},G=k(O,"Map"),H=k(Object,"create"),K=H,V=H,Y=Object.prototype.hasOwnProperty,q=H,J=Object.prototype.hasOwnProperty,Q=H;function W(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}W.prototype.clear=function(){this.__data__=K?K(null):{},this.size=0},W.prototype.delete=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n},W.prototype.get=function(t){var n=this.__data__;if(V){var r=n[t];return"__lodash_hash_undefined__"===r?void 0:r}return Y.call(n,t)?n[t]:void 0},W.prototype.has=function(t){var n=this.__data__;return q?void 0!==n[t]:J.call(n,t)},W.prototype.set=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Q&&void 0===n?"__lodash_hash_undefined__":n,this};var X=W,Z=y,tt=G,nt=function(t,n){var r,e,o=t.__data__;return("string"==(e=typeof(r=n))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?o["string"==typeof n?"string":"hash"]:o.map},rt=nt,et=nt,ot=nt,it=nt;function ut(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}ut.prototype.clear=function(){this.size=0,this.__data__={hash:new X,map:new(tt||Z),string:new X}},ut.prototype.delete=function(t){var n=rt(this,t).delete(t);return this.size-=n?1:0,n},ut.prototype.get=function(t){return et(this,t).get(t)},ut.prototype.has=function(t){return ot(this,t).has(t)},ut.prototype.set=function(t,n){var r=it(this,t),e=r.size;return r.set(t,n),this.size+=r.size==e?0:1,this};var ct=y,at=G,st=ut,ft=y,lt=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r},vt=function(t){return this.__data__.get(t)},dt=function(t){return this.__data__.has(t)};function ht(t){var n=this.__data__=new ft(t);this.size=n.size}ht.prototype.clear=function(){this.__data__=new g,this.size=0},ht.prototype.delete=lt,ht.prototype.get=vt,ht.prototype.has=dt,ht.prototype.set=function(t,n){var r=this.__data__;if(r instanceof ct){var e=r.__data__;if(!at||e.length<199)return e.push([t,n]),this.size=++r.size,this;r=this.__data__=new st(e)}return r.set(t,n),this.size=r.size,this};var pt,bt,yt,gt,jt,mt=ht,Ot=k,St=function(){try{var t=Ot(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),wt=St,Et=function(t,n,r){"__proto__"==n&&wt?wt(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r},_t=Et,At=c,Dt=function(t,n,r){(void 0!==r&&!At(t[n],r)||void 0===r&&!(n in t))&&_t(t,n,r)},Tt=function(t,n,r){for(var e=-1,o=Object(t),i=r(t),u=i.length;u--;){var c=i[++e];if(!1===n(o[c],c,o))break}return t},Bt={exports:{}};jt=(gt=(yt=(bt=(pt=Bt.exports)&&!pt.nodeType&&pt)&&Bt&&!Bt.nodeType&&Bt)&&yt.exports===bt?O.Buffer:void 0)?gt.allocUnsafe:void 0,Bt.exports=function(t,n){if(n)return t.slice();var r=t.length,e=jt?jt(r):new t.constructor(r);return t.copy(e),e};var Ct,Lt,It=O.Uint8Array,Pt=C,Ut=Object.create,xt=function(){function t(){}return function(n){if(!Pt(n))return{};if(Ut)return Ut(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}(),Mt=(Ct=Object.getPrototypeOf,Lt=Object,function(t){return Ct(Lt(t))}),Nt=Object.prototype,zt=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||Nt)},Ft=xt,Rt=Mt,$t=zt,kt=function(t){return null!=t&&"object"==typeof t},Gt=B,Ht=kt,Kt=function(t){return Ht(t)&&"[object Arguments]"==Gt(t)},Vt=kt,Yt=Object.prototype,qt=Yt.hasOwnProperty,Jt=Yt.propertyIsEnumerable,Qt=Kt(function(){return arguments}())?Kt:function(t){return Vt(t)&&qt.call(t,"callee")&&!Jt.call(t,"callee")},Wt=Array.isArray,Xt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},Zt=P,tn=Xt,nn=function(t){return null!=t&&tn(t.length)&&!Zt(t)},rn=nn,en=kt,on={exports:{}},un=function(){return!1};!function(t,n){var r=n&&!n.nodeType&&n,e=r&&on&&!on.nodeType&&on,o=e&&e.exports===r?O.Buffer:void 0;on.exports=(o?o.isBuffer:void 0)||un}(0,on.exports);var cn=B,an=Mt,sn=kt,fn=Function.prototype.toString,ln=Object.prototype.hasOwnProperty,vn=fn.call(Object),dn=B,hn=Xt,pn=kt,bn={};bn["[object Float32Array]"]=bn["[object Float64Array]"]=bn["[object Int8Array]"]=bn["[object Int16Array]"]=bn["[object Int32Array]"]=bn["[object Uint8Array]"]=bn["[object Uint8ClampedArray]"]=bn["[object Uint16Array]"]=bn["[object Uint32Array]"]=!0,bn["[object Arguments]"]=bn["[object Array]"]=bn["[object ArrayBuffer]"]=bn["[object Boolean]"]=bn["[object DataView]"]=bn["[object Date]"]=bn["[object Error]"]=bn["[object Function]"]=bn["[object Map]"]=bn["[object Number]"]=bn["[object Object]"]=bn["[object RegExp]"]=bn["[object Set]"]=bn["[object String]"]=bn["[object WeakMap]"]=!1;var yn={exports:{}};!function(t,n){var r=n&&!n.nodeType&&n,e=r&&t&&!t.nodeType&&t,o=e&&e.exports===r&&j.process,i=function(){try{return e&&e.require&&e.require("util").types||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=i}(yn,yn.exports);var gn,jn=function(t){return pn(t)&&hn(t.length)&&!!bn[dn(t)]},mn=yn.exports,On=mn&&mn.isTypedArray,Sn=On?function(t){return function(n){return t(n)}}(On):jn,wn=function(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]},En=Et,_n=c,An=Object.prototype.hasOwnProperty,Dn=function(t,n,r){var e=t[n];An.call(t,n)&&_n(e,r)&&(void 0!==r||n in t)||En(t,n,r)},Tn=Et,Bn=/^(?:0|[1-9]\d*)$/,Cn=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&Bn.test(t))&&t>-1&&t%1==0&&t<n},Ln=Qt,In=Wt,Pn=on.exports,Un=Cn,xn=Sn,Mn=Object.prototype.hasOwnProperty,Nn=C,zn=zt,Fn=Object.prototype.hasOwnProperty,Rn=function(t,n){var r=In(t),e=!r&&Ln(t),o=!r&&!e&&Pn(t),i=!r&&!e&&!o&&xn(t),u=r||e||o||i,c=u?function(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}(t.length,String):[],a=c.length;for(var s in t)!n&&!Mn.call(t,s)||u&&("length"==s||o&&("offset"==s||"parent"==s)||i&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||Un(s,a))||c.push(s);return c},$n=function(t){if(!Nn(t))return function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}(t);var n=zn(t),r=[];for(var e in t)("constructor"!=e||!n&&Fn.call(t,e))&&r.push(e);return r},kn=nn,Gn=function(t){return kn(t)?Rn(t,!0):$n(t)},Hn=Gn,Kn=Dt,Vn=Bt.exports,Yn=function(t,n){var r,e,o=n?(e=new(r=t.buffer).constructor(r.byteLength),new It(e).set(new It(r)),e):t.buffer;return new t.constructor(o,t.byteOffset,t.length)},qn=function(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n},Jn=function(t){return"function"!=typeof t.constructor||$t(t)?{}:Ft(Rt(t))},Qn=Qt,Wn=Wt,Xn=function(t){return en(t)&&rn(t)},Zn=on.exports,tr=P,nr=C,rr=function(t){if(!sn(t)||"[object Object]"!=cn(t))return!1;var n=an(t);if(null===n)return!0;var r=ln.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&fn.call(r)==vn},er=Sn,or=wn,ir=function(t){return function(t,n,r,e){var o=!r;r||(r={});for(var i=-1,u=n.length;++i<u;){var c=n[i],a=e?e(r[c],t[c],c,r,t):void 0;void 0===a&&(a=t[c]),o?Tn(r,c,a):Dn(r,c,a)}return r}(t,Hn(t))},ur=mt,cr=Dt,ar=Tt,sr=C,fr=Gn,lr=wn,vr=function(t){return t},dr=Math.max,hr=St,pr=Date.now,br=function(t){var n=0,r=0;return function(){var e=pr(),o=16-(e-r);if(r=e,o>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}(hr?function(t,n){return hr(t,"toString",{configurable:!0,enumerable:!1,value:(r=n,function(){return r}),writable:!0});var r}:vr),yr=vr,gr=function(t,n,r){return n=dr(void 0===n?t.length-1:n,0),function(){for(var e=arguments,o=-1,i=dr(e.length-n,0),u=Array(i);++o<i;)u[o]=e[n+o];o=-1;for(var c=Array(n+1);++o<n;)c[o]=e[o];return c[n]=r(u),function(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}(t,this,c)}},jr=br,mr=c,Or=nn,Sr=Cn,wr=C,Er=function t(n,r,e,o,i){n!==r&&ar(r,(function(u,c){if(i||(i=new ur),sr(u))!function(t,n,r,e,o,i,u){var c=or(t,r),a=or(n,r),s=u.get(a);if(s)Kn(t,r,s);else{var f=i?i(c,a,r+"",t,n,u):void 0,l=void 0===f;if(l){var v=Wn(a),d=!v&&Zn(a),h=!v&&!d&&er(a);f=a,v||d||h?Wn(c)?f=c:Xn(c)?f=qn(c):d?(l=!1,f=Vn(a,!0)):h?(l=!1,f=Yn(a,!0)):f=[]:rr(a)||Qn(a)?(f=c,Qn(c)?f=ir(c):nr(c)&&!tr(c)||(f=Jn(a))):l=!1}l&&(u.set(a,f),o(f,a,e,i,u),u.delete(a)),Kn(t,r,f)}}(n,r,c,e,t,o,i);else{var a=o?o(lr(n,c),u,c+"",n,r,i):void 0;void 0===a&&(a=u),cr(n,c,a)}}),fr)},_r=(gn=function(t,n,r){Er(t,n,r)},function(t,n){return jr(gr(t,n,yr),t+"")}((function(t,n){var r=-1,e=n.length,o=e>1?n[e-1]:void 0,i=e>2?n[2]:void 0;for(o=gn.length>3&&"function"==typeof o?(e--,o):void 0,i&&function(t,n,r){if(!wr(r))return!1;var e=typeof n;return!!("number"==e?Or(r)&&Sr(n,r.length):"string"==e&&n in r)&&mr(r[n],t)}(n[0],n[1],i)&&(o=e<3?void 0:o,e=1),t=Object(t);++r<e;){var u=n[r];u&&gn(t,u,r)}return t})));const Ar=(t,n,...r)=>{const e=[t,n,...r].filter(Boolean);return _r.apply(null,e)},{reset:Dr,state:Tr}=i((()=>({appearance:{colorPrimary:"white",fontFamily:"Inter",logoUrl:"",style:"ROUNDED",theme:"LIGHT",zonosAttribution:"DISABLED"},checkoutSettings:{allowedCharacterSets:"ALL",analyticsProviders:[],orderNotifications:{abandonedCart:{delay:0,discountPercent:0,status:{active:"DISABLED",sendCopiesTo:[]}},orderCancelled:{active:"DISABLED",sendCopiesTo:[]},orderConfirmation:{active:"DISABLED",sendCopiesTo:[]},orderShipped:{active:"DISABLED",sendCopiesTo:[]}},organization:"",placeOrderButtonSelector:null,subscriptionStatus:"INACTIVE",successBehavior:"REDIRECT_TO_SUCCESS_PAGE",successRedirectUrl:"",visibilityStatus:"ENABLED"},currentHelloPage:"",helloSettings:{anchorElementSelector:"",cartUrlPattern:"",currencyBehavior:"ENABLED",currencyElementSelector:".money",dutyTaxEstimationBehavior:"ENABLED",excludedUrlPatterns:[],homepageUrlPattern:"",mobileLocation:"BOTTOM_RIGHT",mode:"LIVE",organization:"",peekMessageBehavior:"ENABLED",peekMessageDelay:0,productAddToCartElementSelector:"",productDescriptionElementSelector:"",productDetailUrlPattern:"",productListUrlPattern:"",productPriceElementSelector:"",productTitleElementSelector:"",restrictionBehavior:"DISABLED"},loadedConfig:!1,organizationId:"",organizationName:"",sourceCurrency:"USD",storeId:null,stripeApiKey:"",zonosApiKey:""})));let Br=null;const Cr=t=>"SYSTEM"===t?window.matchMedia("(prefers-color-scheme: dark)").matches?"DARK":"LIGHT":t,Lr=({overrideSettings:t,zonosSettings:n})=>{var r,e,o,i;Dr(),n&&(Br=n);const u=Ar(Tr.appearance,(null==Br?void 0:Br.appearanceSettings)||(null==n?void 0:n.appearanceSettings)||null,null==t?void 0:t.appearance);"SYSTEM"===u.theme&&(u.theme=Cr(u.theme)),Tr.appearance=u,Tr.checkoutSettings=Ar(Tr.checkoutSettings,(null==Br?void 0:Br.checkoutSettings)||(null==n?void 0:n.checkoutSettings)||null,null==t?void 0:t.checkoutSettings),Tr.helloSettings=Ar(Tr.helloSettings,(null==Br?void 0:Br.helloSettings)||(null==n?void 0:n.helloSettings)||null,null==t?void 0:t.helloSettings),Tr.loadedConfig=!0,Tr.organizationId=(null===(r=null==n?void 0:n.organization)||void 0===r?void 0:r.id)||"",Tr.organizationName=(null===(e=null==n?void 0:n.organization)||void 0===e?void 0:e.name)||"",Tr.storeId=(null===(i=null===(o=null==n?void 0:n.organization)||void 0===o?void 0:o.references)||void 0===i?void 0:i.storeId)||null,Tr.currencyConverter=null==t?void 0:t.currencyConverter},Ir=()=>Tr.appearance.fontFamily||"Inter";export{O as _,u as a,Lr as b,i as c,Ir as d,B as e,C as f,Cr as g,kt as i,Ar as m,Tr as z}
|