@zonos/elements 1.1.2 → 1.2.1
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-a969ee0b.js → cart-7b70853c.js} +7 -15
- package/dist/cjs/classes-b7918f56.js +0 -2
- package/dist/cjs/{getBorderRadius-ae52cae1.js → getBorderRadius-fdd605c6.js} +1 -3
- package/dist/cjs/getHasMoreSpaceOnRight-2855491b.js +0 -2
- package/dist/cjs/index-9542d2e7.js +0 -2
- package/dist/cjs/index.cjs.js +20 -1
- package/dist/cjs/isColorVariable-c1ed7303.js +0 -2
- package/dist/cjs/{isDarkColor-e1a7bf45.js → isDarkColor-f3446afd.js} +1 -3
- package/dist/cjs/loader.cjs.js +1 -3
- package/dist/cjs/{localization-d510574c.js → localization-387a8a65.js} +11 -7
- package/dist/cjs/{submitGtag-4de4430f.js → submitGtag-bf6e7c5e.js} +2 -4
- package/dist/cjs/zonos-address_2.cjs.entry.js +5 -7
- package/dist/cjs/zonos-badge.cjs.entry.js +0 -2
- package/dist/cjs/zonos-banner.cjs.entry.js +0 -2
- package/dist/cjs/zonos-button_2.cjs.entry.js +3 -5
- package/dist/cjs/zonos-card_2.cjs.entry.js +0 -2
- package/dist/cjs/zonos-cart-items_10.cjs.entry.js +24 -18
- package/dist/cjs/zonos-checkout.cjs.entry.js +95 -48
- package/dist/cjs/zonos-component.cjs.entry.js +0 -2
- package/dist/cjs/zonos-controller.cjs.entry.js +17 -12
- package/dist/cjs/zonos-country-flag_4.cjs.entry.js +3 -5
- package/dist/cjs/zonos-elements.cjs.js +1 -3
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +12 -5
- package/dist/cjs/zonos-hello.cjs.entry.js +25 -9
- package/dist/cjs/zonos-icon.cjs.entry.js +0 -2
- package/dist/cjs/zonos-notification.cjs.entry.js +0 -2
- package/dist/cjs/zonos-payment.cjs.entry.js +5 -7
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -5
- package/dist/cjs/zonos-text.cjs.entry.js +0 -2
- package/dist/cjs/{zonosStore-d9cdaec6.js → zonosStore-a430ec5b.js} +3 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +0 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +6 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +3 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +7 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +7 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +2 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +93 -62
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +7 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +2 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +0 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +7 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +0 -1
- package/dist/collection/components/common/countries.js +0 -1
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +0 -1
- package/dist/collection/components/common/zonos-banner/zonos-banner.js +0 -1
- package/dist/collection/components/common/zonos-button/zonos-button.js +0 -1
- package/dist/collection/components/common/zonos-card/zonos-card.js +0 -1
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +0 -1
- package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +0 -1
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +0 -1
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +0 -1
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +0 -1
- package/dist/collection/components/common/zonos-icon/zonos-icon.js +0 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +0 -1
- package/dist/collection/components/common/zonos-notification/zonos-notification.js +0 -1
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.css +5 -2
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +0 -1
- package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +0 -1
- package/dist/collection/components/common/zonos-text/zonos-text.js +0 -1
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +0 -1
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +0 -1
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +23 -6
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +0 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +8 -0
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +3 -1
- package/dist/collection/components/main/zonos-controller.js +10 -2
- package/dist/collection/components/store/checkout/cart.js +0 -1
- package/dist/collection/components/store/checkout/stripe.js +0 -1
- package/dist/collection/components/store/hello/localization.js +4 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +0 -1
- package/dist/collection/components/store/translationStore/strings.base.js +0 -1
- package/dist/collection/components/store/translationStore/strings.chinese.js +0 -1
- package/dist/collection/components/store/translationStore/strings.danish.js +0 -1
- package/dist/collection/components/store/translationStore/strings.dutch.js +0 -1
- package/dist/collection/components/store/translationStore/strings.french.js +0 -1
- package/dist/collection/components/store/translationStore/strings.german.js +0 -1
- package/dist/collection/components/store/translationStore/strings.hebrew.js +0 -1
- package/dist/collection/components/store/translationStore/strings.indonesian.js +0 -1
- package/dist/collection/components/store/translationStore/strings.italian.js +0 -1
- package/dist/collection/components/store/translationStore/strings.japanese.js +0 -1
- package/dist/collection/components/store/translationStore/strings.korean.js +0 -1
- package/dist/collection/components/store/translationStore/strings.norwegian.js +0 -1
- package/dist/collection/components/store/translationStore/strings.polish.js +0 -1
- package/dist/collection/components/store/translationStore/strings.portuguese.js +0 -1
- package/dist/collection/components/store/translationStore/strings.russian.js +0 -1
- package/dist/collection/components/store/translationStore/strings.spanish.js +0 -1
- package/dist/collection/components/store/translationStore/strings.swedish.js +0 -1
- package/dist/collection/components/store/translationStore/strings.turkish.js +0 -1
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +0 -1
- package/dist/collection/components/store/translationStore.js +0 -1
- package/dist/collection/components/store/zonosStore.js +3 -1
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +0 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +0 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +0 -1
- package/dist/collection/components/utils/addDays.js +0 -1
- package/dist/collection/components/utils/api/calculateLandedCost.js +0 -1
- package/dist/collection/components/utils/api/checkItemRestrictions.js +0 -1
- package/dist/collection/components/utils/api/getCountries.js +0 -1
- package/dist/collection/components/utils/api/getCountryLandedCost.js +0 -1
- package/dist/collection/components/utils/api/getExchangeRate.js +2 -3
- package/dist/collection/components/utils/api/getLocaleMessages.js +0 -1
- package/dist/collection/components/utils/api/getLocalization.js +3 -2
- package/dist/collection/components/utils/api/getShippingZones.js +0 -1
- package/dist/collection/components/utils/api/getZonosSetting.js +0 -1
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js +1 -10
- package/dist/collection/components/utils/changeDeepProperty.js +0 -1
- package/dist/collection/components/utils/changeDeepPropertyAtIndex.js +0 -1
- package/dist/collection/components/utils/checkout/initCheckout.js +2 -5
- package/dist/collection/components/utils/checkout/isCheckoutMobile.js +0 -1
- package/dist/collection/components/utils/classes.js +0 -1
- package/dist/collection/components/utils/darkenColor.js +0 -1
- package/dist/collection/components/utils/formatCurrency.js +0 -1
- package/dist/collection/components/utils/formatDate.js +0 -1
- package/dist/collection/components/utils/getBorderRadius.js +0 -1
- package/dist/collection/components/utils/getButtonTheme.js +0 -1
- package/dist/collection/components/utils/getDaysDifference.js +0 -1
- package/dist/collection/components/utils/handleFetch.js +1 -2
- package/dist/collection/components/utils/hello/currencyConversion/currencyConvert.js +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/currencyConvertAndFormat.js +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/currencyDisplay.js +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/defaultCurrencyConverter.js +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/getCurrencyCode.js +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/getCurrencyElements.js +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/getInitialElementAmount.js +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/getLanguageCode.js +0 -1
- package/dist/collection/components/utils/hello/detectItemRestrictions.js +0 -1
- package/dist/collection/components/utils/hello/getCurrentHelloLocalePage.js +0 -1
- package/dist/collection/components/utils/hello/getHasMoreSpaceAbove.js +9 -0
- package/dist/collection/components/utils/hello/getHasMoreSpaceOnRight.js +0 -1
- package/dist/collection/components/utils/hello/getProductsOnPage.js +0 -1
- package/dist/collection/components/utils/hello/initHello.js +0 -1
- package/dist/collection/components/utils/hello/setZonosCountryUrlParam.js +0 -1
- package/dist/collection/components/utils/isColorVariable.js +0 -1
- package/dist/collection/components/utils/isDarkColor.js +0 -1
- package/dist/collection/components/utils/isValidSelector.js +0 -1
- package/dist/collection/components/utils/jsonParse.js +0 -1
- package/dist/collection/components/utils/lightenColor.js +0 -1
- package/dist/collection/components/utils/logging/log.js +0 -1
- package/dist/collection/components/utils/logging/logError.js +0 -1
- package/dist/collection/components/utils/mergeConfig.js +0 -1
- package/dist/collection/components/utils/submitGtag.js +0 -1
- package/dist/collection/environment.js +60 -13
- package/dist/collection/index.js +0 -1
- package/dist/collection/scripts/loadStripe.js +0 -1
- package/dist/collection/scripts/stripe.js +0 -1
- package/dist/collection/scripts/zonos.js +4 -2
- package/dist/collection/styles/stripe/addressRuleStyle.js +0 -1
- package/dist/collection/styles/stripe/defaultVariable.js +0 -1
- package/dist/collection/types/ICountryJson.js +0 -1
- package/dist/collection/types/JsonError.js +0 -1
- package/dist/collection/types/NoInfer.js +0 -1
- package/dist/collection/types/Translation.js +0 -1
- package/dist/collection/types/checkout/CheckoutConfig.js +0 -1
- package/dist/collection/types/checkout/api/CalculateLandedCostRequest.js +0 -1
- package/dist/collection/types/generated/graphql.customer.types.js +61 -1
- package/dist/collection/types/generated/graphql.frontend.types.js +0 -1
- package/dist/collection/types/hello/HelloConfig.js +0 -1
- package/dist/collection/types/hello/Product.js +0 -1
- package/dist/collection/types/hello/RestrictedItem.js +0 -1
- package/dist/collection/types/index.js +1 -1
- package/dist/collection/types/online-store/OnlineStoreConfig.js +0 -1
- package/dist/collection/types/stripe/Apperance.js +0 -1
- package/dist/collection/types/styles/Color.js +0 -1
- package/dist/collection/types/styles/GridSpacing.js +0 -1
- package/dist/collection/types/styles/Text.js +0 -1
- package/dist/collection/types/utils/deep/IDeepKeyof.js +0 -1
- package/dist/collection/types/utils/deep/IDeepKeyofAtIndex.js +0 -1
- package/dist/collection/utils/format.js +0 -1
- package/dist/collection/utils/generateVercelDeployUrl.js +0 -1
- package/dist/{esm/cart-d00e1acb.js → components/cart.js} +6 -16
- package/dist/components/classes.js +0 -2
- package/dist/components/formatCurrency.js +0 -2
- package/dist/components/getBorderRadius.js +0 -2
- package/dist/components/index.js +1 -2
- package/dist/components/isColorVariable.js +0 -2
- package/dist/components/isDarkColor.js +0 -2
- package/dist/components/localization.js +11 -7
- package/dist/components/submitGtag.js +1 -3
- package/dist/components/zonos-address.js +0 -2
- package/dist/components/zonos-address2.js +2 -4
- package/dist/components/zonos-badge.js +0 -2
- package/dist/components/zonos-badge2.js +0 -2
- package/dist/components/zonos-banner.js +0 -2
- package/dist/components/zonos-banner2.js +0 -2
- package/dist/components/zonos-button.js +0 -2
- package/dist/components/zonos-button2.js +0 -2
- package/dist/components/zonos-card.js +0 -2
- package/dist/components/zonos-card2.js +0 -2
- package/dist/components/zonos-cart-items.js +0 -2
- package/dist/components/zonos-cart-items2.js +1 -3
- package/dist/components/zonos-cart-subtotal.js +0 -2
- package/dist/components/zonos-cart-subtotal2.js +5 -6
- package/dist/components/zonos-checkout-finish.js +0 -2
- package/dist/components/zonos-checkout-finish2.js +8 -3
- package/dist/components/zonos-checkout-payment.js +0 -2
- package/dist/components/zonos-checkout-payment2.js +4 -6
- package/dist/components/zonos-checkout.js +91 -45
- package/dist/components/zonos-collapse.js +0 -2
- package/dist/components/zonos-collapse2.js +0 -2
- package/dist/components/zonos-component.js +0 -2
- package/dist/components/zonos-controller.js +14 -9
- package/dist/components/zonos-country-flag.js +0 -2
- package/dist/components/zonos-country-flag2.js +1 -3
- package/dist/components/zonos-country-select.js +0 -2
- package/dist/components/zonos-country-select2.js +1 -3
- package/dist/components/zonos-custom-message.js +0 -2
- package/dist/components/zonos-custom-message2.js +0 -2
- package/dist/components/zonos-customer-info.js +0 -2
- package/dist/components/zonos-customer-info2.js +4 -6
- package/dist/components/zonos-dialog.js +0 -2
- package/dist/components/zonos-dialog2.js +0 -2
- package/dist/components/zonos-hello-dialog-footer.js +0 -2
- package/dist/components/zonos-hello-dialog-footer2.js +1 -3
- package/dist/components/zonos-hello-dialog.js +0 -2
- package/dist/components/zonos-hello-dialog2.js +11 -4
- package/dist/components/zonos-hello.js +24 -8
- package/dist/components/zonos-icon.js +0 -2
- package/dist/components/zonos-icon2.js +0 -2
- package/dist/components/zonos-link-authentication.js +0 -2
- package/dist/components/zonos-link-authentication2.js +1 -3
- package/dist/components/zonos-logo.js +0 -2
- package/dist/components/zonos-logo2.js +0 -2
- package/dist/components/zonos-notification.js +0 -2
- package/dist/components/zonos-notification2.js +0 -2
- package/dist/components/zonos-payment.js +0 -2
- package/dist/components/zonos-payment2.js +1 -3
- package/dist/components/zonos-review.js +0 -2
- package/dist/components/zonos-review2.js +1 -3
- package/dist/components/zonos-shipping-rich-radio.js +0 -2
- package/dist/components/zonos-shipping-rich-radio2.js +1 -3
- package/dist/components/zonos-shipping.js +0 -2
- package/dist/components/zonos-shipping2.js +2 -4
- package/dist/components/zonos-spinner.js +0 -2
- package/dist/components/zonos-spinner2.js +0 -2
- package/dist/components/zonos-text.js +0 -2
- package/dist/components/zonos-text2.js +0 -2
- package/dist/components/zonos-v-stack.js +0 -2
- package/dist/components/zonos-v-stack2.js +0 -2
- package/dist/components/zonosStore.js +3 -2
- package/dist/{zonos-elements/cart-d00e1acb.js → esm/cart-07091d2a.js} +6 -16
- package/dist/esm/classes-0d95c529.js +0 -2
- package/dist/esm/{getBorderRadius-e8ad5967.js → getBorderRadius-45764ad7.js} +1 -3
- package/dist/esm/getHasMoreSpaceOnRight-feba1ae2.js +0 -2
- package/dist/esm/index-d1aa9293.js +0 -2
- package/dist/esm/index.js +6 -3
- package/dist/esm/isColorVariable-4cda28c9.js +0 -2
- package/dist/{zonos-elements/isDarkColor-3bb345f4.js → esm/isDarkColor-6fbb9b14.js} +1 -3
- package/dist/esm/loader.js +1 -3
- package/dist/{zonos-elements/localization-1d92a557.js → esm/localization-b3c2a9a9.js} +11 -7
- package/dist/esm/{submitGtag-85914088.js → submitGtag-c0b655ad.js} +2 -4
- package/dist/esm/zonos-address_2.entry.js +5 -7
- package/dist/esm/zonos-badge.entry.js +0 -2
- package/dist/esm/zonos-banner.entry.js +0 -2
- package/dist/esm/zonos-button_2.entry.js +3 -5
- package/dist/esm/zonos-card_2.entry.js +0 -2
- package/dist/esm/zonos-cart-items_10.entry.js +24 -18
- package/dist/esm/zonos-checkout.entry.js +95 -48
- package/dist/esm/zonos-component.entry.js +0 -2
- package/dist/esm/zonos-controller.entry.js +17 -12
- package/dist/esm/zonos-country-flag_4.entry.js +3 -5
- package/dist/esm/zonos-elements.js +1 -3
- package/dist/esm/zonos-hello-dialog.entry.js +12 -5
- package/dist/esm/zonos-hello.entry.js +25 -9
- package/dist/esm/zonos-icon.entry.js +0 -2
- package/dist/esm/zonos-notification.entry.js +0 -2
- package/dist/esm/zonos-payment.entry.js +5 -7
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -5
- package/dist/esm/zonos-text.entry.js +0 -2
- package/dist/{zonos-elements/zonosStore-1c9c7d76.js → esm/zonosStore-05a62104.js} +3 -2
- package/dist/esm-es5/cart-07091d2a.js +1 -0
- package/dist/esm-es5/classes-0d95c529.js +1 -2
- package/dist/esm-es5/getBorderRadius-45764ad7.js +1 -0
- package/dist/esm-es5/getHasMoreSpaceOnRight-feba1ae2.js +1 -2
- package/dist/esm-es5/index-d1aa9293.js +1 -2
- package/dist/esm-es5/index.js +1 -2
- package/dist/esm-es5/isColorVariable-4cda28c9.js +1 -2
- package/dist/esm-es5/{isDarkColor-3bb345f4.js → isDarkColor-6fbb9b14.js} +1 -2
- package/dist/esm-es5/loader.js +1 -2
- package/dist/esm-es5/{localization-1d92a557.js → localization-b3c2a9a9.js} +1 -2
- package/dist/esm-es5/{submitGtag-85914088.js → submitGtag-c0b655ad.js} +1 -2
- package/dist/esm-es5/zonos-address_2.entry.js +1 -2
- package/dist/esm-es5/zonos-badge.entry.js +1 -2
- package/dist/esm-es5/zonos-banner.entry.js +1 -2
- package/dist/esm-es5/zonos-button_2.entry.js +1 -2
- package/dist/esm-es5/zonos-card_2.entry.js +1 -2
- package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -2
- package/dist/esm-es5/zonos-checkout.entry.js +1 -2
- package/dist/esm-es5/zonos-component.entry.js +1 -2
- package/dist/esm-es5/zonos-controller.entry.js +1 -2
- package/dist/esm-es5/zonos-country-flag_4.entry.js +1 -2
- package/dist/esm-es5/zonos-elements.js +1 -2
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -2
- package/dist/esm-es5/zonos-hello.entry.js +1 -2
- package/dist/esm-es5/zonos-icon.entry.js +1 -2
- package/dist/esm-es5/zonos-notification.entry.js +1 -2
- package/dist/esm-es5/zonos-payment.entry.js +1 -2
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -2
- package/dist/esm-es5/zonos-text.entry.js +1 -2
- package/dist/esm-es5/{zonosStore-1c9c7d76.js → zonosStore-05a62104.js} +1 -2
- package/dist/scripts/loadZonos.js +6 -3
- package/dist/scripts/zonos.js +6 -3
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +1 -4
- package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +1 -0
- package/dist/types/components/store/checkout/cart.d.ts +14 -1
- package/dist/types/components/utils/api/getExchangeRate.d.ts +2 -1
- package/dist/types/components/utils/hello/getHasMoreSpaceAbove.d.ts +1 -0
- package/dist/types/components.d.ts +0 -8
- package/dist/types/environment.d.ts +8 -0
- package/dist/types/scripts/zonos.d.ts +6 -0
- package/dist/types/types/checkout/CheckoutConfig.d.ts +3 -1
- package/dist/types/types/generated/graphql.customer.types.d.ts +104 -7
- package/dist/types/types/generated/graphql.customer.types.ts +138 -7
- package/dist/types/types/index.d.ts +1 -0
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -3
- package/dist/zonos-elements/p-0190f7c4.entry.js +1 -0
- package/dist/zonos-elements/p-0636859b.js +1 -0
- package/dist/zonos-elements/p-08695f4e.js +1 -0
- package/dist/zonos-elements/p-0a788f68.entry.js +1 -0
- package/dist/zonos-elements/p-0e0b46a5.js +1 -0
- package/dist/zonos-elements/p-0f7233fd.system.entry.js +1 -0
- package/dist/zonos-elements/p-15b71f0b.system.entry.js +1 -0
- package/dist/zonos-elements/p-23204b78.system.entry.js +1 -0
- package/dist/zonos-elements/p-23b0b4a2.system.entry.js +1 -0
- package/dist/zonos-elements/{classes-ce25a814.system.js → p-23e7c655.system.js} +1 -2
- package/dist/zonos-elements/p-2b6325ab.entry.js +1 -0
- package/dist/zonos-elements/p-2c20c082.entry.js +1 -0
- package/dist/zonos-elements/p-30fd29fb.js +1 -0
- package/dist/zonos-elements/p-343071d5.entry.js +1 -0
- package/dist/zonos-elements/p-36425562.system.entry.js +1 -0
- package/dist/zonos-elements/p-37db3842.system.entry.js +1 -0
- package/dist/zonos-elements/p-37fc9f6b.entry.js +1 -0
- package/dist/zonos-elements/p-42ba069d.system.js +1 -0
- package/dist/zonos-elements/p-43a25dab.entry.js +1 -0
- package/dist/zonos-elements/p-4524a84f.system.entry.js +1 -0
- package/dist/zonos-elements/{getHasMoreSpaceOnRight-5a9efd60.system.js → p-4a5096d2.system.js} +1 -2
- package/dist/zonos-elements/{isColorVariable-be454101.system.js → p-64fdb7b6.system.js} +1 -2
- package/dist/zonos-elements/{index-87193773.system.js → p-68d06767.system.js} +1 -2
- package/dist/zonos-elements/p-6d82986c.system.entry.js +1 -0
- package/dist/zonos-elements/p-6dcd752e.system.js +1 -0
- package/dist/zonos-elements/p-6df1eaee.js +1 -0
- package/dist/zonos-elements/p-6e7cd3f7.entry.js +1 -0
- package/dist/zonos-elements/p-79f9e330.system.js +1 -0
- package/dist/zonos-elements/p-7bacecf7.entry.js +1 -0
- package/dist/zonos-elements/p-824395fd.system.entry.js +1 -0
- package/dist/zonos-elements/p-85ab35c9.system.js +1 -0
- package/dist/zonos-elements/p-87f324c5.entry.js +1 -0
- package/dist/zonos-elements/p-8a75b765.system.entry.js +1 -0
- package/dist/zonos-elements/p-8c867835.system.js +1 -0
- package/dist/zonos-elements/p-914ce305.system.entry.js +1 -0
- package/dist/zonos-elements/p-9688bb12.entry.js +1 -0
- package/dist/zonos-elements/p-96a3c767.entry.js +1 -0
- package/dist/zonos-elements/p-98105ede.entry.js +1 -0
- package/dist/zonos-elements/p-98a6e093.system.entry.js +1 -0
- package/dist/zonos-elements/p-9adf546f.system.entry.js +1 -0
- package/dist/zonos-elements/p-9b86e655.system.entry.js +1 -0
- package/dist/zonos-elements/p-9dc9cbc8.entry.js +1 -0
- package/dist/zonos-elements/p-a20b97e9.system.entry.js +1 -0
- package/dist/zonos-elements/p-b4b7f705.js +1 -0
- package/dist/zonos-elements/p-b618cf03.entry.js +1 -0
- package/dist/zonos-elements/p-b64bbf38.system.js +1 -0
- package/dist/zonos-elements/p-b6c499d4.js +1 -0
- package/dist/zonos-elements/p-b75ffe64.system.entry.js +1 -0
- package/dist/zonos-elements/p-bb36a9f8.js +1 -0
- package/dist/zonos-elements/p-bf070bf6.js +1 -0
- package/dist/zonos-elements/p-c28157ec.system.entry.js +1 -0
- package/dist/zonos-elements/p-d43749bd.entry.js +1 -0
- package/dist/zonos-elements/p-dc8d7000.js +2 -0
- package/dist/zonos-elements/p-f23749e4.system.js +1 -0
- package/dist/zonos-elements/p-f8491335.system.js +1 -0
- package/dist/zonos-elements/p-f868ed42.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -20
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/cart-a969ee0b.js.map +0 -1
- package/dist/cjs/classes-b7918f56.js.map +0 -1
- package/dist/cjs/getBorderRadius-ae52cae1.js.map +0 -1
- package/dist/cjs/getHasMoreSpaceOnRight-2855491b.js.map +0 -1
- package/dist/cjs/index-9542d2e7.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/isColorVariable-c1ed7303.js.map +0 -1
- package/dist/cjs/isDarkColor-e1a7bf45.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/localization-d510574c.js.map +0 -1
- package/dist/cjs/submitGtag-4de4430f.js.map +0 -1
- package/dist/cjs/zonos-address_2.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-badge.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-banner.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-button_2.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-card_2.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-cart-items_10.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-checkout.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-component.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-controller.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-country-flag_4.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-elements.cjs.js.map +0 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-hello.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-notification.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-payment.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js.map +0 -1
- package/dist/cjs/zonos-text.cjs.entry.js.map +0 -1
- package/dist/cjs/zonosStore-d9cdaec6.js.map +0 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js.map +0 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js.map +0 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js.map +0 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js.map +0 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js.map +0 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js.map +0 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js.map +0 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js.map +0 -1
- package/dist/collection/components/common/countries.js.map +0 -1
- package/dist/collection/components/common/zonos-badge/zonos-badge.js.map +0 -1
- package/dist/collection/components/common/zonos-banner/zonos-banner.js.map +0 -1
- package/dist/collection/components/common/zonos-button/zonos-button.js.map +0 -1
- package/dist/collection/components/common/zonos-card/zonos-card.js.map +0 -1
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js.map +0 -1
- package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js.map +0 -1
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js.map +0 -1
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js.map +0 -1
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js.map +0 -1
- package/dist/collection/components/common/zonos-icon/zonos-icon.js.map +0 -1
- package/dist/collection/components/common/zonos-logo/zonos-logo.js.map +0 -1
- package/dist/collection/components/common/zonos-notification/zonos-notification.js.map +0 -1
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js.map +0 -1
- package/dist/collection/components/common/zonos-spinner/zonos-spinner.js.map +0 -1
- package/dist/collection/components/common/zonos-text/zonos-text.js.map +0 -1
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js.map +0 -1
- package/dist/collection/components/component-template/zonos-component/zonos-component.js.map +0 -1
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js.map +0 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js.map +0 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js.map +0 -1
- package/dist/collection/components/main/zonos-controller.js.map +0 -1
- package/dist/collection/components/store/checkout/cart.js.map +0 -1
- package/dist/collection/components/store/checkout/stripe.js.map +0 -1
- package/dist/collection/components/store/hello/localization.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.base.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.chinese.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.danish.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.dutch.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.french.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.german.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.hebrew.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.indonesian.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.italian.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.japanese.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.korean.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.norwegian.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.polish.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.portuguese.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.russian.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.spanish.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.swedish.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.turkish.js.map +0 -1
- package/dist/collection/components/store/translationStore/strings.vietnamese.js.map +0 -1
- package/dist/collection/components/store/translationStore.js.map +0 -1
- package/dist/collection/components/store/zonosStore.js.map +0 -1
- package/dist/collection/components/stripe/zonos-address/zonos-address.js.map +0 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js.map +0 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js.map +0 -1
- package/dist/collection/components/utils/addDays.js.map +0 -1
- package/dist/collection/components/utils/api/calculateLandedCost.js.map +0 -1
- package/dist/collection/components/utils/api/checkItemRestrictions.js.map +0 -1
- package/dist/collection/components/utils/api/getCountries.js.map +0 -1
- package/dist/collection/components/utils/api/getCountryLandedCost.js.map +0 -1
- package/dist/collection/components/utils/api/getExchangeRate.js.map +0 -1
- package/dist/collection/components/utils/api/getLocaleMessages.js.map +0 -1
- package/dist/collection/components/utils/api/getLocalization.js.map +0 -1
- package/dist/collection/components/utils/api/getShippingZones.js.map +0 -1
- package/dist/collection/components/utils/api/getZonosSetting.js.map +0 -1
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js.map +0 -1
- package/dist/collection/components/utils/changeDeepProperty.js.map +0 -1
- package/dist/collection/components/utils/changeDeepPropertyAtIndex.js.map +0 -1
- package/dist/collection/components/utils/checkout/initCheckout.js.map +0 -1
- package/dist/collection/components/utils/checkout/isCheckoutMobile.js.map +0 -1
- package/dist/collection/components/utils/classes.js.map +0 -1
- package/dist/collection/components/utils/darkenColor.js.map +0 -1
- package/dist/collection/components/utils/formatCurrency.js.map +0 -1
- package/dist/collection/components/utils/formatDate.js.map +0 -1
- package/dist/collection/components/utils/getBorderRadius.js.map +0 -1
- package/dist/collection/components/utils/getButtonTheme.js.map +0 -1
- package/dist/collection/components/utils/getDaysDifference.js.map +0 -1
- package/dist/collection/components/utils/handleFetch.js.map +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/currencyConvert.js.map +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/currencyConvertAndFormat.js.map +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/currencyDisplay.js.map +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js.map +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/defaultCurrencyConverter.js.map +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/getCurrencyCode.js.map +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/getCurrencyElements.js.map +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/getInitialElementAmount.js.map +0 -1
- package/dist/collection/components/utils/hello/currencyConversion/getLanguageCode.js.map +0 -1
- package/dist/collection/components/utils/hello/detectItemRestrictions.js.map +0 -1
- package/dist/collection/components/utils/hello/getCurrentHelloLocalePage.js.map +0 -1
- package/dist/collection/components/utils/hello/getHasMoreSpaceOnRight.js.map +0 -1
- package/dist/collection/components/utils/hello/getProductsOnPage.js.map +0 -1
- package/dist/collection/components/utils/hello/initHello.js.map +0 -1
- package/dist/collection/components/utils/hello/setZonosCountryUrlParam.js.map +0 -1
- package/dist/collection/components/utils/isColorVariable.js.map +0 -1
- package/dist/collection/components/utils/isDarkColor.js.map +0 -1
- package/dist/collection/components/utils/isValidSelector.js.map +0 -1
- package/dist/collection/components/utils/jsonParse.js.map +0 -1
- package/dist/collection/components/utils/lightenColor.js.map +0 -1
- package/dist/collection/components/utils/logging/log.js.map +0 -1
- package/dist/collection/components/utils/logging/logError.js.map +0 -1
- package/dist/collection/components/utils/mergeConfig.js.map +0 -1
- package/dist/collection/components/utils/submitGtag.js.map +0 -1
- package/dist/collection/environment.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/scripts/loadStripe.js.map +0 -1
- package/dist/collection/scripts/stripe.js.map +0 -1
- package/dist/collection/scripts/zonos.js.map +0 -1
- package/dist/collection/styles/stripe/addressRuleStyle.js.map +0 -1
- package/dist/collection/styles/stripe/defaultVariable.js.map +0 -1
- package/dist/collection/types/ICountryJson.js.map +0 -1
- package/dist/collection/types/JsonError.js.map +0 -1
- package/dist/collection/types/NoInfer.js.map +0 -1
- package/dist/collection/types/Translation.js.map +0 -1
- package/dist/collection/types/checkout/CheckoutConfig.js.map +0 -1
- package/dist/collection/types/checkout/api/CalculateLandedCostRequest.js.map +0 -1
- package/dist/collection/types/generated/graphql.customer.types.js.map +0 -1
- package/dist/collection/types/generated/graphql.frontend.types.js.map +0 -1
- package/dist/collection/types/hello/HelloConfig.js.map +0 -1
- package/dist/collection/types/hello/Product.js.map +0 -1
- package/dist/collection/types/hello/RestrictedItem.js.map +0 -1
- package/dist/collection/types/index.js.map +0 -1
- package/dist/collection/types/online-store/OnlineStoreConfig.js.map +0 -1
- package/dist/collection/types/stripe/Apperance.js.map +0 -1
- package/dist/collection/types/styles/Color.js.map +0 -1
- package/dist/collection/types/styles/GridSpacing.js.map +0 -1
- package/dist/collection/types/styles/Text.js.map +0 -1
- package/dist/collection/types/utils/deep/IDeepKeyof.js.map +0 -1
- package/dist/collection/types/utils/deep/IDeepKeyofAtIndex.js.map +0 -1
- package/dist/collection/utils/format.js.map +0 -1
- package/dist/collection/utils/generateVercelDeployUrl.js.map +0 -1
- package/dist/components/classes.js.map +0 -1
- package/dist/components/formatCurrency.js.map +0 -1
- package/dist/components/getBorderRadius.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/isColorVariable.js.map +0 -1
- package/dist/components/isDarkColor.js.map +0 -1
- package/dist/components/localization.js.map +0 -1
- package/dist/components/stripe.js +0 -598
- package/dist/components/stripe.js.map +0 -1
- package/dist/components/submitGtag.js.map +0 -1
- package/dist/components/zonos-address.js.map +0 -1
- package/dist/components/zonos-address2.js.map +0 -1
- package/dist/components/zonos-badge.js.map +0 -1
- package/dist/components/zonos-badge2.js.map +0 -1
- package/dist/components/zonos-banner.js.map +0 -1
- package/dist/components/zonos-banner2.js.map +0 -1
- package/dist/components/zonos-button.js.map +0 -1
- package/dist/components/zonos-button2.js.map +0 -1
- package/dist/components/zonos-card.js.map +0 -1
- package/dist/components/zonos-card2.js.map +0 -1
- package/dist/components/zonos-cart-items.js.map +0 -1
- package/dist/components/zonos-cart-items2.js.map +0 -1
- package/dist/components/zonos-cart-subtotal.js.map +0 -1
- package/dist/components/zonos-cart-subtotal2.js.map +0 -1
- package/dist/components/zonos-checkout-finish.js.map +0 -1
- package/dist/components/zonos-checkout-finish2.js.map +0 -1
- package/dist/components/zonos-checkout-payment.js.map +0 -1
- package/dist/components/zonos-checkout-payment2.js.map +0 -1
- package/dist/components/zonos-checkout.js.map +0 -1
- package/dist/components/zonos-collapse.js.map +0 -1
- package/dist/components/zonos-collapse2.js.map +0 -1
- package/dist/components/zonos-component.js.map +0 -1
- package/dist/components/zonos-controller.js.map +0 -1
- package/dist/components/zonos-country-flag.js.map +0 -1
- package/dist/components/zonos-country-flag2.js.map +0 -1
- package/dist/components/zonos-country-select.js.map +0 -1
- package/dist/components/zonos-country-select2.js.map +0 -1
- package/dist/components/zonos-custom-message.js.map +0 -1
- package/dist/components/zonos-custom-message2.js.map +0 -1
- package/dist/components/zonos-customer-info.js.map +0 -1
- package/dist/components/zonos-customer-info2.js.map +0 -1
- package/dist/components/zonos-dialog.js.map +0 -1
- package/dist/components/zonos-dialog2.js.map +0 -1
- package/dist/components/zonos-hello-dialog-footer.js.map +0 -1
- package/dist/components/zonos-hello-dialog-footer2.js.map +0 -1
- package/dist/components/zonos-hello-dialog.js.map +0 -1
- package/dist/components/zonos-hello-dialog2.js.map +0 -1
- package/dist/components/zonos-hello.js.map +0 -1
- package/dist/components/zonos-icon.js.map +0 -1
- package/dist/components/zonos-icon2.js.map +0 -1
- package/dist/components/zonos-link-authentication.js.map +0 -1
- package/dist/components/zonos-link-authentication2.js.map +0 -1
- package/dist/components/zonos-logo.js.map +0 -1
- package/dist/components/zonos-logo2.js.map +0 -1
- package/dist/components/zonos-notification.js.map +0 -1
- package/dist/components/zonos-notification2.js.map +0 -1
- package/dist/components/zonos-payment.js.map +0 -1
- package/dist/components/zonos-payment2.js.map +0 -1
- package/dist/components/zonos-review.js.map +0 -1
- package/dist/components/zonos-review2.js.map +0 -1
- package/dist/components/zonos-shipping-rich-radio.js.map +0 -1
- package/dist/components/zonos-shipping-rich-radio2.js.map +0 -1
- package/dist/components/zonos-shipping.js.map +0 -1
- package/dist/components/zonos-shipping2.js.map +0 -1
- package/dist/components/zonos-spinner.js.map +0 -1
- package/dist/components/zonos-spinner2.js.map +0 -1
- package/dist/components/zonos-text.js.map +0 -1
- package/dist/components/zonos-text2.js.map +0 -1
- package/dist/components/zonos-v-stack.js.map +0 -1
- package/dist/components/zonos-v-stack2.js.map +0 -1
- package/dist/components/zonosStore.js.map +0 -1
- package/dist/esm/cart-d00e1acb.js.map +0 -1
- package/dist/esm/classes-0d95c529.js.map +0 -1
- package/dist/esm/getBorderRadius-e8ad5967.js.map +0 -1
- package/dist/esm/getHasMoreSpaceOnRight-feba1ae2.js.map +0 -1
- package/dist/esm/index-d1aa9293.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/isColorVariable-4cda28c9.js.map +0 -1
- package/dist/esm/isDarkColor-3bb345f4.js +0 -1197
- package/dist/esm/isDarkColor-3bb345f4.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/localization-1d92a557.js +0 -3561
- package/dist/esm/localization-1d92a557.js.map +0 -1
- package/dist/esm/submitGtag-85914088.js.map +0 -1
- package/dist/esm/zonos-address_2.entry.js.map +0 -1
- package/dist/esm/zonos-badge.entry.js.map +0 -1
- package/dist/esm/zonos-banner.entry.js.map +0 -1
- package/dist/esm/zonos-button_2.entry.js.map +0 -1
- package/dist/esm/zonos-card_2.entry.js.map +0 -1
- package/dist/esm/zonos-cart-items_10.entry.js.map +0 -1
- package/dist/esm/zonos-checkout.entry.js.map +0 -1
- package/dist/esm/zonos-component.entry.js.map +0 -1
- package/dist/esm/zonos-controller.entry.js.map +0 -1
- package/dist/esm/zonos-country-flag_4.entry.js.map +0 -1
- package/dist/esm/zonos-elements.js.map +0 -1
- package/dist/esm/zonos-hello-dialog.entry.js.map +0 -1
- package/dist/esm/zonos-hello.entry.js.map +0 -1
- package/dist/esm/zonos-icon.entry.js.map +0 -1
- package/dist/esm/zonos-notification.entry.js.map +0 -1
- package/dist/esm/zonos-payment.entry.js.map +0 -1
- package/dist/esm/zonos-shipping-rich-radio.entry.js.map +0 -1
- package/dist/esm/zonos-text.entry.js.map +0 -1
- package/dist/esm/zonosStore-1c9c7d76.js +0 -2623
- package/dist/esm/zonosStore-1c9c7d76.js.map +0 -1
- package/dist/esm-es5/cart-d00e1acb.js +0 -2
- package/dist/esm-es5/cart-d00e1acb.js.map +0 -1
- package/dist/esm-es5/classes-0d95c529.js.map +0 -1
- package/dist/esm-es5/getBorderRadius-e8ad5967.js +0 -2
- package/dist/esm-es5/getBorderRadius-e8ad5967.js.map +0 -1
- package/dist/esm-es5/getHasMoreSpaceOnRight-feba1ae2.js.map +0 -1
- package/dist/esm-es5/index-d1aa9293.js.map +0 -1
- package/dist/esm-es5/index.js.map +0 -1
- package/dist/esm-es5/isColorVariable-4cda28c9.js.map +0 -1
- package/dist/esm-es5/isDarkColor-3bb345f4.js.map +0 -1
- package/dist/esm-es5/loader.js.map +0 -1
- package/dist/esm-es5/localization-1d92a557.js.map +0 -1
- package/dist/esm-es5/submitGtag-85914088.js.map +0 -1
- package/dist/esm-es5/zonos-address_2.entry.js.map +0 -1
- package/dist/esm-es5/zonos-badge.entry.js.map +0 -1
- package/dist/esm-es5/zonos-banner.entry.js.map +0 -1
- package/dist/esm-es5/zonos-button_2.entry.js.map +0 -1
- package/dist/esm-es5/zonos-card_2.entry.js.map +0 -1
- package/dist/esm-es5/zonos-cart-items_10.entry.js.map +0 -1
- package/dist/esm-es5/zonos-checkout.entry.js.map +0 -1
- package/dist/esm-es5/zonos-component.entry.js.map +0 -1
- package/dist/esm-es5/zonos-controller.entry.js.map +0 -1
- package/dist/esm-es5/zonos-country-flag_4.entry.js.map +0 -1
- package/dist/esm-es5/zonos-elements.js.map +0 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js.map +0 -1
- package/dist/esm-es5/zonos-hello.entry.js.map +0 -1
- package/dist/esm-es5/zonos-icon.entry.js.map +0 -1
- package/dist/esm-es5/zonos-notification.entry.js.map +0 -1
- package/dist/esm-es5/zonos-payment.entry.js.map +0 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js.map +0 -1
- package/dist/esm-es5/zonos-text.entry.js.map +0 -1
- package/dist/esm-es5/zonosStore-1c9c7d76.js.map +0 -1
- package/dist/zonos-elements/cart-c641ddaf.system.js +0 -2
- package/dist/zonos-elements/cart-c641ddaf.system.js.map +0 -1
- package/dist/zonos-elements/cart-d00e1acb.js.map +0 -1
- package/dist/zonos-elements/classes-0d95c529.js +0 -14
- package/dist/zonos-elements/classes-0d95c529.js.map +0 -1
- package/dist/zonos-elements/classes-ce25a814.system.js.map +0 -1
- package/dist/zonos-elements/getBorderRadius-b59c3ada.system.js +0 -2
- package/dist/zonos-elements/getBorderRadius-b59c3ada.system.js.map +0 -1
- package/dist/zonos-elements/getBorderRadius-e8ad5967.js +0 -18
- package/dist/zonos-elements/getBorderRadius-e8ad5967.js.map +0 -1
- package/dist/zonos-elements/getHasMoreSpaceOnRight-5a9efd60.system.js.map +0 -1
- package/dist/zonos-elements/getHasMoreSpaceOnRight-feba1ae2.js +0 -10
- package/dist/zonos-elements/getHasMoreSpaceOnRight-feba1ae2.js.map +0 -1
- package/dist/zonos-elements/index-87193773.system.js.map +0 -1
- package/dist/zonos-elements/index-d1aa9293.js +0 -1884
- package/dist/zonos-elements/index-d1aa9293.js.map +0 -1
- package/dist/zonos-elements/index.esm.js.map +0 -1
- package/dist/zonos-elements/index.system.js +0 -2
- package/dist/zonos-elements/index.system.js.map +0 -1
- package/dist/zonos-elements/isColorVariable-4cda28c9.js +0 -16
- package/dist/zonos-elements/isColorVariable-4cda28c9.js.map +0 -1
- package/dist/zonos-elements/isColorVariable-be454101.system.js.map +0 -1
- package/dist/zonos-elements/isDarkColor-231502d4.system.js +0 -2
- package/dist/zonos-elements/isDarkColor-231502d4.system.js.map +0 -1
- package/dist/zonos-elements/isDarkColor-3bb345f4.js.map +0 -1
- package/dist/zonos-elements/localization-1d92a557.js.map +0 -1
- package/dist/zonos-elements/localization-a6b6a5a5.system.js +0 -2
- package/dist/zonos-elements/localization-a6b6a5a5.system.js.map +0 -1
- package/dist/zonos-elements/submitGtag-764af8c4.system.js +0 -2
- package/dist/zonos-elements/submitGtag-764af8c4.system.js.map +0 -1
- package/dist/zonos-elements/submitGtag-85914088.js +0 -26
- package/dist/zonos-elements/submitGtag-85914088.js.map +0 -1
- package/dist/zonos-elements/zonos-address_2.entry.js +0 -121
- package/dist/zonos-elements/zonos-address_2.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-address_2.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-address_2.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-badge.entry.js +0 -32
- package/dist/zonos-elements/zonos-badge.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-badge.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-badge.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-banner.entry.js +0 -64
- package/dist/zonos-elements/zonos-banner.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-banner.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-banner.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-button_2.entry.js +0 -124
- package/dist/zonos-elements/zonos-button_2.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-button_2.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-button_2.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-card_2.entry.js +0 -42
- package/dist/zonos-elements/zonos-card_2.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-card_2.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-card_2.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-cart-items_10.entry.js +0 -494
- package/dist/zonos-elements/zonos-cart-items_10.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-cart-items_10.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-cart-items_10.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-checkout.entry.js +0 -337
- package/dist/zonos-elements/zonos-checkout.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-checkout.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-checkout.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-component.entry.js +0 -27
- package/dist/zonos-elements/zonos-component.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-component.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-component.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-controller.entry.js +0 -165
- package/dist/zonos-elements/zonos-controller.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-controller.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-controller.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-country-flag_4.entry.js +0 -1895
- package/dist/zonos-elements/zonos-country-flag_4.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-country-flag_4.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-country-flag_4.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-elements.esm.js.map +0 -1
- package/dist/zonos-elements/zonos-elements.system.js +0 -2
- package/dist/zonos-elements/zonos-elements.system.js.map +0 -1
- package/dist/zonos-elements/zonos-hello-dialog.entry.js +0 -115
- package/dist/zonos-elements/zonos-hello-dialog.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-hello-dialog.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-hello-dialog.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-hello.entry.js +0 -696
- package/dist/zonos-elements/zonos-hello.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-hello.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-hello.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-icon.entry.js +0 -30
- package/dist/zonos-elements/zonos-icon.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-icon.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-icon.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-notification.entry.js +0 -67
- package/dist/zonos-elements/zonos-notification.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-notification.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-notification.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-payment.entry.js +0 -56
- package/dist/zonos-elements/zonos-payment.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-payment.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-payment.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-shipping-rich-radio.entry.js +0 -50
- package/dist/zonos-elements/zonos-shipping-rich-radio.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-shipping-rich-radio.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-shipping-rich-radio.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-text.entry.js +0 -156
- package/dist/zonos-elements/zonos-text.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-text.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-text.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonosStore-1c9c7d76.js.map +0 -1
- package/dist/zonos-elements/zonosStore-e5c545ea.system.js +0 -2
- package/dist/zonos-elements/zonosStore-e5c545ea.system.js.map +0 -1
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r as registerInstance,c as createEvent,h,H as Host}from"./index-d1aa9293.js";import{z as zonosStore}from"./zonosStore-
|
|
2
|
-
//# sourceMappingURL=zonos-shipping-rich-radio.entry.js.map
|
|
1
|
+
import{r as registerInstance,c as createEvent,h,H as Host}from"./index-d1aa9293.js";import{z as zonosStore}from"./zonosStore-05a62104.js";import{c as classes}from"./classes-0d95c529.js";import{g as getBorderRadius}from"./getBorderRadius-45764ad7.js";import{i as isColorVariable}from"./isColorVariable-4cda28c9.js";var zonosShippingRichRadioCss=":host{font-family:Inter;display:block}:host img{max-width:100%}:host dl,:host dd,:host h1,:host h2,:host h3,:host h4,:host h5,:host h6,:host hr,:host figure,:host p,:host pre{margin:0}:host{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}:host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host input{margin:0;accent-color:var(--selected-border-color, var(--amino-blue-600))}:host .zonos--shipping-rich-radio-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;padding:var(--amino-space-16);-ms-flex-align:center;align-items:center;gap:var(--amino-space-16);cursor:pointer;border:1px solid var(--amino-gray-200)}:host .zonos--shipping-rich-radio-item:first-child{border-top-left-radius:var(--border-radius, var(--amino-radius-10));border-top-right-radius:var(--border-radius, var(--amino-radius-10))}:host .zonos--shipping-rich-radio-item:last-child{border-bottom-right-radius:var(--border-radius, var(--amino-radius-10))}:host .zonos--shipping-rich-radio-item:not(:last-child){border-bottom:none}:host .zonos--shipping-rich-radio-item.selected{outline:1px solid var(--selected-border-color, var(--amino-blue-600));outline-offset:-1px}:host .zonos--shipping-info{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1;flex:1}:host .zonos--shipping-detail{-ms-flex:1;flex:1}:host .zonos--sub-detail{display:-ms-inline-flexbox;display:inline-flex;gap:8px;-ms-flex-wrap:wrap;flex-wrap:wrap}";var ZonosShippingRichRadio=function(){function o(o){var i=this;registerInstance(this,o);this.radioSelected=createEvent(this,"radioSelected",7);this.handleRichRadioSelect=function(o){var e;i.selectedItem=o;(e=i.radioSelected)===null||e===void 0?void 0:e.emit(o)};this.getRadioItemStyleVariables=function(){var o=i.borderColor||zonosStore.appearance.colorSecondary;var e=isColorVariable(o)?"var(--amino-".concat(o,")"):o;return{"--border-radius":getBorderRadius(i.borderStyle),"--selected-border-color":e||"unset"}};this.items=undefined;this.borderColor=undefined;this.borderStyle=undefined;this.theme=undefined;this.selectedItem=null}o.prototype.render=function(){var o=this;var i;return h(Host,{class:"zonos--shipping-rich-radio zonos--elements","data-theme":this.theme,style:this.getRadioItemStyleVariables()},(i=this.items)===null||i===void 0?void 0:i.map((function(i){var e;var s=((e=o.selectedItem)===null||e===void 0?void 0:e.value)===i.value;return h("div",{"aria-hidden":"true",class:classes(["zonos--shipping-rich-radio-item",s&&"selected"]),onClick:function(){return o.handleRichRadioSelect(i)}},h("input",{checked:s,class:"zonos--shipping-rich-radio-input",name:"zonos--shipping-rich-radio",type:"radio",value:i.value}),h("div",{class:"zonos--shipping-info"},h("div",{class:"zonos--shipping-detail"},h("zonos-text",{class:"zonos--shipping-label",type:"label"},i.label),(i.sublabel||i.caption)&&h("div",{class:"zonos--sub-detail"},i.sublabel&&h("zonos-text",{color:"gray-800"},i.sublabel),i.caption&&h("zonos-text",{color:"gray-400"},i.caption))),h("zonos-text",{type:"semiBoldLabel"},i.price)))})))};return o}();ZonosShippingRichRadio.style=zonosShippingRichRadioCss;export{ZonosShippingRichRadio as zonos_shipping_rich_radio};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,H as Host}from"./index-d1aa9293.js";import{c as classes}from"./classes-0d95c529.js";var textOptions={pageHeader:{label:"Page Header (3XL) · 34px (2.125rem)",size:"3xl",tag:"h2",weight:900},secondaryPageHeader:{label:'Secondary Page Header (3XL) • 34px, 500 "Medium"',size:"3xl",tag:"h2",weight:500},header:{label:"Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},descriptionHeader:{label:"Description Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},title:{label:"Title (XL) • 22px (1.375rem)",size:"xl",tag:"h4",weight:600},boldSubheader:{label:"Bold Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:700},semiBoldSubheader:{label:"Semi Bold Subheader (L / H4) • 18px (1.125rem)",size:"l",tag:"h5",weight:600},subheader:{label:"Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:500},boldLabel:{label:"Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:700},semiBoldLabel:{label:"Semi Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:600},label:{label:"Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:500},body:{label:"Body (Base) • 14px (.875rem)",size:"base",tag:"span",weight:400},smallHeader:{label:"Small header (S) • 12px (.75rem)",size:"s",tag:"span",weight:600},caption:{label:"Caption (S) • 12px (.75rem)",size:"s",tag:"span",weight:400},hintText:{label:"Hint text (XS) • 10px (.625rem)",size:"xs",tag:"span",weight:400}};var zonosTextCss=":host{font-family:Inter;display:block}: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{color:var(--color)}:host(.zonos--text-size-3xl)>*,:host(.zonos--text-size-3xl){font-size:var(--amino-font-size-3xl)}:host(.zonos--text-size-2xl)>*,:host(.zonos--text-size-2xl){font-size:var(--amino-font-size-2xl)}:host(.zonos--text-size-xl)>*,:host(.zonos--text-size-xl){font-size:var(--amino-font-size-xl)}:host(.zonos--text-size-l)>*,:host(.zonos--text-size-l){font-size:var(--amino-font-size-l)}:host(.zonos--text-size-base)>*,:host(.zonos--text-size-base){font-size:var(--amino-font-size-base)}:host(.zonos--text-size-s)>*,:host(.zonos--text-size-s){font-size:var(--amino-font-size-s)}:host(.zonos--text-size-xs)>*,:host(.zonos--text-size-xs){font-size:var(--amino-font-size-xs)}:host(.zonos--text-weight-900)>*,:host(.zonos--text-weight-900){font-weight:900}:host(.zonos--text-weight-700)>*,:host(.zonos--text-weight-700){font-weight:700}:host(.zonos--text-weight-600)>*,:host(.zonos--text-weight-600){font-weight:600}:host(.zonos--text-weight-500)>*,:host(.zonos--text-weight-500){font-weight:500}:host(.zonos--text-weight-400)>*,:host(.zonos--text-weight-400){font-weight:400}";var ZonosText=function(){function e(e){registerInstance(this,e);this.class="";this.color="gray-1200";this.size=undefined;this.type="body";this.weight=undefined;this.content=undefined;this.ready=false}e.prototype.componentDidRender=function(){var e=this;setTimeout((function(){e.ready=true}),100)};e.prototype.render=function(){var e=textOptions.body,t=e.size,s=e.tag,o=e.weight;var i=textOptions[this.type],a=i.size,n=i.tag,l=i.weight;var r=this.size||a||t;var z=this.weight||l||o;var x=n||s;var g=function(){switch(x){case"h2":return h("h2",null,h("slot",null));case"h3":return h("h3",null,h("slot",null));case"h4":return h("h4",null,h("slot",null));case"h5":return h("h5",null,h("slot",null));case"span":default:return h("span",null,h("slot",null))}};return h(Host,{class:classes(["zonos--text-size-".concat(r),"zonos--text-weight-".concat(z),this.class]),style:{"--color":this.color?"var(--amino-".concat(this.color,")"):""}},g())};return e}();ZonosText.style=zonosTextCss;export{ZonosText as zonos_text};
|
|
2
|
-
//# sourceMappingURL=zonos-text.entry.js.map
|
|
1
|
+
import{r as registerInstance,h,H as Host}from"./index-d1aa9293.js";import{c as classes}from"./classes-0d95c529.js";var textOptions={pageHeader:{label:"Page Header (3XL) · 34px (2.125rem)",size:"3xl",tag:"h2",weight:900},secondaryPageHeader:{label:'Secondary Page Header (3XL) • 34px, 500 "Medium"',size:"3xl",tag:"h2",weight:500},header:{label:"Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},descriptionHeader:{label:"Description Header (2XL) · 28px (1.75rem)",size:"2xl",tag:"h3",weight:700},title:{label:"Title (XL) • 22px (1.375rem)",size:"xl",tag:"h4",weight:600},boldSubheader:{label:"Bold Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:700},semiBoldSubheader:{label:"Semi Bold Subheader (L / H4) • 18px (1.125rem)",size:"l",tag:"h5",weight:600},subheader:{label:"Subheader (L) • 18px (1.125rem)",size:"l",tag:"h5",weight:500},boldLabel:{label:"Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:700},semiBoldLabel:{label:"Semi Bold Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:600},label:{label:"Label (Base) • 14px (.875rem)",size:"base",tag:"span",weight:500},body:{label:"Body (Base) • 14px (.875rem)",size:"base",tag:"span",weight:400},smallHeader:{label:"Small header (S) • 12px (.75rem)",size:"s",tag:"span",weight:600},caption:{label:"Caption (S) • 12px (.75rem)",size:"s",tag:"span",weight:400},hintText:{label:"Hint text (XS) • 10px (.625rem)",size:"xs",tag:"span",weight:400}};var zonosTextCss=":host{font-family:Inter;display:block}: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{color:var(--color)}:host(.zonos--text-size-3xl)>*,:host(.zonos--text-size-3xl){font-size:var(--amino-font-size-3xl)}:host(.zonos--text-size-2xl)>*,:host(.zonos--text-size-2xl){font-size:var(--amino-font-size-2xl)}:host(.zonos--text-size-xl)>*,:host(.zonos--text-size-xl){font-size:var(--amino-font-size-xl)}:host(.zonos--text-size-l)>*,:host(.zonos--text-size-l){font-size:var(--amino-font-size-l)}:host(.zonos--text-size-base)>*,:host(.zonos--text-size-base){font-size:var(--amino-font-size-base)}:host(.zonos--text-size-s)>*,:host(.zonos--text-size-s){font-size:var(--amino-font-size-s)}:host(.zonos--text-size-xs)>*,:host(.zonos--text-size-xs){font-size:var(--amino-font-size-xs)}:host(.zonos--text-weight-900)>*,:host(.zonos--text-weight-900){font-weight:900}:host(.zonos--text-weight-700)>*,:host(.zonos--text-weight-700){font-weight:700}:host(.zonos--text-weight-600)>*,:host(.zonos--text-weight-600){font-weight:600}:host(.zonos--text-weight-500)>*,:host(.zonos--text-weight-500){font-weight:500}:host(.zonos--text-weight-400)>*,:host(.zonos--text-weight-400){font-weight:400}";var ZonosText=function(){function e(e){registerInstance(this,e);this.class="";this.color="gray-1200";this.size=undefined;this.type="body";this.weight=undefined;this.content=undefined;this.ready=false}e.prototype.componentDidRender=function(){var e=this;setTimeout((function(){e.ready=true}),100)};e.prototype.render=function(){var e=textOptions.body,t=e.size,s=e.tag,o=e.weight;var i=textOptions[this.type],a=i.size,n=i.tag,l=i.weight;var r=this.size||a||t;var z=this.weight||l||o;var x=n||s;var g=function(){switch(x){case"h2":return h("h2",null,h("slot",null));case"h3":return h("h3",null,h("slot",null));case"h4":return h("h4",null,h("slot",null));case"h5":return h("h5",null,h("slot",null));case"span":default:return h("span",null,h("slot",null))}};return h(Host,{class:classes(["zonos--text-size-".concat(r),"zonos--text-weight-".concat(z),this.class]),style:{"--color":this.color?"var(--amino-".concat(this.color,")"):""}},g())};return e}();ZonosText.style=zonosTextCss;export{ZonosText as zonos_text};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,n=t.length,o;a<n;a++){if(o||!(a in t)){if(!o)o=Array.prototype.slice.call(t,0,a);o[a]=t[a]}}return e.concat(o||Array.prototype.slice.call(t))};import{g as getRenderingRef,f as forceUpdate}from"./index-d1aa9293.js";var appendToMap=function(e,t,r){var a=e.get(t);if(!a){e.set(t,[r])}else if(!a.includes(r)){a.push(r)}};var debounce=function(e,t){var r;return function(){var a=[];for(var n=0;n<arguments.length;n++){a[n]=arguments[n]}if(r){clearTimeout(r)}r=setTimeout((function(){r=0;e.apply(void 0,a)}),t)}};var isConnected=function(e){return!("isConnected"in e)||e.isConnected};var cleanupElements=debounce((function(e){for(var t=0,r=e.keys();t<r.length;t++){var a=r[t];e.set(a,e.get(a).filter(isConnected))}}),2e3);var stencilSubscription=function(){if(typeof getRenderingRef!=="function"){return{}}var e=new Map;return{dispose:function(){return e.clear()},get:function(t){var r=getRenderingRef();if(r){appendToMap(e,t,r)}},set:function(t){var r=e.get(t);if(r){e.set(t,r.filter(forceUpdate))}cleanupElements(e)},reset:function(){e.forEach((function(e){return e.forEach(forceUpdate)}));cleanupElements(e)}}};var unwrap=function(e){return typeof e==="function"?e():e};var createObservableMap=function(e,t){if(t===void 0){t=function(e,t){return e!==t}}var r=unwrap(e);var a=new Map(Object.entries(r!==null&&r!==void 0?r:{}));var n={dispose:[],get:[],set:[],reset:[]};var o=function(){var t;a=new Map(Object.entries((t=unwrap(e))!==null&&t!==void 0?t:{}));n.reset.forEach((function(e){return e()}))};var s=function(){n.dispose.forEach((function(e){return e()}));o()};var i=function(e){n.get.forEach((function(t){return t(e)}));return a.get(e)};var c=function(e,r){var o=a.get(e);if(t(r,o,e)){a.set(e,r);n.set.forEach((function(t){return t(e,r,o)}))}};var u=typeof Proxy==="undefined"?{}:new Proxy(r,{get:function(e,t){return i(t)},ownKeys:function(e){return Array.from(a.keys())},getOwnPropertyDescriptor:function(){return{enumerable:true,configurable:true}},has:function(e,t){return a.has(t)},set:function(e,t,r){c(t,r);return true}});var l=function(e,t){n[e].push(t);return function(){removeFromArray(n[e],t)}};var f=function(t,r){var a=l("set",(function(e,a){if(e===t){r(a)}}));var n=l("reset",(function(){return r(unwrap(e)[t])}));return function(){a();n()}};var _=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=e.reduce((function(e,t){if(t.set){e.push(l("set",t.set))}if(t.get){e.push(l("get",t.get))}if(t.reset){e.push(l("reset",t.reset))}if(t.dispose){e.push(l("dispose",t.dispose))}return e}),[]);return function(){return r.forEach((function(e){return e()}))}};var v=function(e){var t=a.get(e);n.set.forEach((function(r){return r(e,t,t)}))};return{state:u,get:i,set:c,on:l,onChange:f,use:_,dispose:s,reset:o,forceUpdate:v}};var removeFromArray=function(e,t){var r=e.indexOf(t);if(r>=0){e[r]=e[e.length-1];e.length--}};var createStore=function(e,t){var r=createObservableMap(e,t);r.use(stencilSubscription());return r};function listCacheClear(){this.__data__=[];this.size=0}var _listCacheClear=listCacheClear;function eq(e,t){return e===t||e!==e&&t!==t}var eq_1=eq;function assocIndexOf(e,t){var r=e.length;while(r--){if(eq_1(e[r][0],t)){return r}}return-1}var _assocIndexOf=assocIndexOf;var arrayProto=Array.prototype;var splice=arrayProto.splice;function listCacheDelete(e){var t=this.__data__,r=_assocIndexOf(t,e);if(r<0){return false}var a=t.length-1;if(r==a){t.pop()}else{splice.call(t,r,1)}--this.size;return true}var _listCacheDelete=listCacheDelete;function listCacheGet(e){var t=this.__data__,r=_assocIndexOf(t,e);return r<0?undefined:t[r][1]}var _listCacheGet=listCacheGet;function listCacheHas(e){return _assocIndexOf(this.__data__,e)>-1}var _listCacheHas=listCacheHas;function listCacheSet(e,t){var r=this.__data__,a=_assocIndexOf(r,e);if(a<0){++this.size;r.push([e,t])}else{r[a][1]=t}return this}var _listCacheSet=listCacheSet;function ListCache(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var a=e[t];this.set(a[0],a[1])}}ListCache.prototype.clear=_listCacheClear;ListCache.prototype["delete"]=_listCacheDelete;ListCache.prototype.get=_listCacheGet;ListCache.prototype.has=_listCacheHas;ListCache.prototype.set=_listCacheSet;var _ListCache=ListCache;function stackClear(){this.__data__=new _ListCache;this.size=0}var _stackClear=stackClear;function stackDelete(e){var t=this.__data__,r=t["delete"](e);this.size=t.size;return r}var _stackDelete=stackDelete;function stackGet(e){return this.__data__.get(e)}var _stackGet=stackGet;function stackHas(e){return this.__data__.has(e)}var _stackHas=stackHas;var commonjsGlobal=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function createCommonjsModule(e,t,r){return r={path:t,exports:{},require:function(e,t){return commonjsRequire()}},e(r,r.exports),r.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var freeGlobal=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal;var _freeGlobal=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self;var root=_freeGlobal||freeSelf||Function("return this")();var _root=root;var Symbol=_root.Symbol;var _Symbol=Symbol;var objectProto$a=Object.prototype;var hasOwnProperty$8=objectProto$a.hasOwnProperty;var nativeObjectToString$1=objectProto$a.toString;var symToStringTag$1=_Symbol?_Symbol.toStringTag:undefined;function getRawTag(e){var t=hasOwnProperty$8.call(e,symToStringTag$1),r=e[symToStringTag$1];try{e[symToStringTag$1]=undefined;var a=true}catch(e){}var n=nativeObjectToString$1.call(e);if(a){if(t){e[symToStringTag$1]=r}else{delete e[symToStringTag$1]}}return n}var _getRawTag=getRawTag;var objectProto$9=Object.prototype;var nativeObjectToString=objectProto$9.toString;function objectToString(e){return nativeObjectToString.call(e)}var _objectToString=objectToString;var nullTag="[object Null]",undefinedTag="[object Undefined]";var symToStringTag=_Symbol?_Symbol.toStringTag:undefined;function baseGetTag(e){if(e==null){return e===undefined?undefinedTag:nullTag}return symToStringTag&&symToStringTag in Object(e)?_getRawTag(e):_objectToString(e)}var _baseGetTag=baseGetTag;function isObject(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var isObject_1=isObject;var asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(e){if(!isObject_1(e)){return false}var t=_baseGetTag(e);return t==funcTag$1||t==genTag||t==asyncTag||t==proxyTag}var isFunction_1=isFunction;var coreJsData=_root["__core-js_shared__"];var _coreJsData=coreJsData;var maskSrcKey=function(){var e=/[^.]+$/.exec(_coreJsData&&_coreJsData.keys&&_coreJsData.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}var _isMasked=isMasked;var funcProto$2=Function.prototype;var funcToString$2=funcProto$2.toString;function toSource(e){if(e!=null){try{return funcToString$2.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var _toSource=toSource;var reRegExpChar=/[\\^$.*+?()[\]{}|]/g;var reIsHostCtor=/^\[object .+?Constructor\]$/;var funcProto$1=Function.prototype,objectProto$8=Object.prototype;var funcToString$1=funcProto$1.toString;var hasOwnProperty$7=objectProto$8.hasOwnProperty;var reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$7).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!isObject_1(e)||_isMasked(e)){return false}var t=isFunction_1(e)?reIsNative:reIsHostCtor;return t.test(_toSource(e))}var _baseIsNative=baseIsNative;function getValue(e,t){return e==null?undefined:e[t]}var _getValue=getValue;function getNative(e,t){var r=_getValue(e,t);return _baseIsNative(r)?r:undefined}var _getNative=getNative;var Map$1=_getNative(_root,"Map");var _Map=Map$1;var nativeCreate=_getNative(Object,"create");var _nativeCreate=nativeCreate;function hashClear(){this.__data__=_nativeCreate?_nativeCreate(null):{};this.size=0}var _hashClear=hashClear;function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];this.size-=t?1:0;return t}var _hashDelete=hashDelete;var HASH_UNDEFINED$1="__lodash_hash_undefined__";var objectProto$7=Object.prototype;var hasOwnProperty$6=objectProto$7.hasOwnProperty;function hashGet(e){var t=this.__data__;if(_nativeCreate){var r=t[e];return r===HASH_UNDEFINED$1?undefined:r}return hasOwnProperty$6.call(t,e)?t[e]:undefined}var _hashGet=hashGet;var objectProto$6=Object.prototype;var hasOwnProperty$5=objectProto$6.hasOwnProperty;function hashHas(e){var t=this.__data__;return _nativeCreate?t[e]!==undefined:hasOwnProperty$5.call(t,e)}var _hashHas=hashHas;var HASH_UNDEFINED="__lodash_hash_undefined__";function hashSet(e,t){var r=this.__data__;this.size+=this.has(e)?0:1;r[e]=_nativeCreate&&t===undefined?HASH_UNDEFINED:t;return this}var _hashSet=hashSet;function Hash(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var a=e[t];this.set(a[0],a[1])}}Hash.prototype.clear=_hashClear;Hash.prototype["delete"]=_hashDelete;Hash.prototype.get=_hashGet;Hash.prototype.has=_hashHas;Hash.prototype.set=_hashSet;var _Hash=Hash;function mapCacheClear(){this.size=0;this.__data__={hash:new _Hash,map:new(_Map||_ListCache),string:new _Hash}}var _mapCacheClear=mapCacheClear;function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var _isKeyable=isKeyable;function getMapData(e,t){var r=e.__data__;return _isKeyable(t)?r[typeof t=="string"?"string":"hash"]:r.map}var _getMapData=getMapData;function mapCacheDelete(e){var t=_getMapData(this,e)["delete"](e);this.size-=t?1:0;return t}var _mapCacheDelete=mapCacheDelete;function mapCacheGet(e){return _getMapData(this,e).get(e)}var _mapCacheGet=mapCacheGet;function mapCacheHas(e){return _getMapData(this,e).has(e)}var _mapCacheHas=mapCacheHas;function mapCacheSet(e,t){var r=_getMapData(this,e),a=r.size;r.set(e,t);this.size+=r.size==a?0:1;return this}var _mapCacheSet=mapCacheSet;function MapCache(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var a=e[t];this.set(a[0],a[1])}}MapCache.prototype.clear=_mapCacheClear;MapCache.prototype["delete"]=_mapCacheDelete;MapCache.prototype.get=_mapCacheGet;MapCache.prototype.has=_mapCacheHas;MapCache.prototype.set=_mapCacheSet;var _MapCache=MapCache;var LARGE_ARRAY_SIZE=200;function stackSet(e,t){var r=this.__data__;if(r instanceof _ListCache){var a=r.__data__;if(!_Map||a.length<LARGE_ARRAY_SIZE-1){a.push([e,t]);this.size=++r.size;return this}r=this.__data__=new _MapCache(a)}r.set(e,t);this.size=r.size;return this}var _stackSet=stackSet;function Stack(e){var t=this.__data__=new _ListCache(e);this.size=t.size}Stack.prototype.clear=_stackClear;Stack.prototype["delete"]=_stackDelete;Stack.prototype.get=_stackGet;Stack.prototype.has=_stackHas;Stack.prototype.set=_stackSet;var _Stack=Stack;var defineProperty=function(){try{var e=_getNative(Object,"defineProperty");e({},"",{});return e}catch(e){}}();var _defineProperty=defineProperty;function baseAssignValue(e,t,r){if(t=="__proto__"&&_defineProperty){_defineProperty(e,t,{configurable:true,enumerable:true,value:r,writable:true})}else{e[t]=r}}var _baseAssignValue=baseAssignValue;function assignMergeValue(e,t,r){if(r!==undefined&&!eq_1(e[t],r)||r===undefined&&!(t in e)){_baseAssignValue(e,t,r)}}var _assignMergeValue=assignMergeValue;function createBaseFor(e){return function(t,r,a){var n=-1,o=Object(t),s=a(t),i=s.length;while(i--){var c=s[e?i:++n];if(r(o[c],c,o)===false){break}}return t}}var _createBaseFor=createBaseFor;var baseFor=_createBaseFor();var _baseFor=baseFor;var _cloneBuffer=createCommonjsModule((function(e,t){var r=t&&!t.nodeType&&t;var a=r&&"object"=="object"&&e&&!e.nodeType&&e;var n=a&&a.exports===r;var o=n?_root.Buffer:undefined,s=o?o.allocUnsafe:undefined;function i(e,t){if(t){return e.slice()}var r=e.length,a=s?s(r):new e.constructor(r);e.copy(a);return a}e.exports=i}));var Uint8Array=_root.Uint8Array;var _Uint8Array=Uint8Array;function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);new _Uint8Array(t).set(new _Uint8Array(e));return t}var _cloneArrayBuffer=cloneArrayBuffer;function cloneTypedArray(e,t){var r=t?_cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var _cloneTypedArray=cloneTypedArray;function copyArray(e,t){var r=-1,a=e.length;t||(t=Array(a));while(++r<a){t[r]=e[r]}return t}var _copyArray=copyArray;var objectCreate=Object.create;var baseCreate=function(){function e(){}return function(t){if(!isObject_1(t)){return{}}if(objectCreate){return objectCreate(t)}e.prototype=t;var r=new e;e.prototype=undefined;return r}}();var _baseCreate=baseCreate;function overArg(e,t){return function(r){return e(t(r))}}var _overArg=overArg;var getPrototype=_overArg(Object.getPrototypeOf,Object);var _getPrototype=getPrototype;var objectProto$5=Object.prototype;function isPrototype(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||objectProto$5;return e===r}var _isPrototype=isPrototype;function initCloneObject(e){return typeof e.constructor=="function"&&!_isPrototype(e)?_baseCreate(_getPrototype(e)):{}}var _initCloneObject=initCloneObject;function isObjectLike(e){return e!=null&&typeof e=="object"}var isObjectLike_1=isObjectLike;var argsTag$1="[object Arguments]";function baseIsArguments(e){return isObjectLike_1(e)&&_baseGetTag(e)==argsTag$1}var _baseIsArguments=baseIsArguments;var objectProto$4=Object.prototype;var hasOwnProperty$4=objectProto$4.hasOwnProperty;var propertyIsEnumerable=objectProto$4.propertyIsEnumerable;var isArguments=_baseIsArguments(function(){return arguments}())?_baseIsArguments:function(e){return isObjectLike_1(e)&&hasOwnProperty$4.call(e,"callee")&&!propertyIsEnumerable.call(e,"callee")};var isArguments_1=isArguments;var isArray=Array.isArray;var isArray_1=isArray;var MAX_SAFE_INTEGER$1=9007199254740991;function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=MAX_SAFE_INTEGER$1}var isLength_1=isLength;function isArrayLike(e){return e!=null&&isLength_1(e.length)&&!isFunction_1(e)}var isArrayLike_1=isArrayLike;function isArrayLikeObject(e){return isObjectLike_1(e)&&isArrayLike_1(e)}var isArrayLikeObject_1=isArrayLikeObject;function stubFalse(){return false}var stubFalse_1=stubFalse;var isBuffer_1=createCommonjsModule((function(e,t){var r=t&&!t.nodeType&&t;var a=r&&"object"=="object"&&e&&!e.nodeType&&e;var n=a&&a.exports===r;var o=n?_root.Buffer:undefined;var s=o?o.isBuffer:undefined;var i=s||stubFalse_1;e.exports=i}));var objectTag$1="[object Object]";var funcProto=Function.prototype,objectProto$3=Object.prototype;var funcToString=funcProto.toString;var hasOwnProperty$3=objectProto$3.hasOwnProperty;var objectCtorString=funcToString.call(Object);function isPlainObject(e){if(!isObjectLike_1(e)||_baseGetTag(e)!=objectTag$1){return false}var t=_getPrototype(e);if(t===null){return true}var r=hasOwnProperty$3.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&funcToString.call(r)==objectCtorString}var isPlainObject_1=isPlainObject;var argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";var typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=true;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=false;function baseIsTypedArray(e){return isObjectLike_1(e)&&isLength_1(e.length)&&!!typedArrayTags[_baseGetTag(e)]}var _baseIsTypedArray=baseIsTypedArray;function baseUnary(e){return function(t){return e(t)}}var _baseUnary=baseUnary;var _nodeUtil=createCommonjsModule((function(e,t){var r=t&&!t.nodeType&&t;var a=r&&"object"=="object"&&e&&!e.nodeType&&e;var n=a&&a.exports===r;var o=n&&_freeGlobal.process;var s=function(){try{var e=a&&a.require&&a.require("util").types;if(e){return e}return o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=s}));var nodeIsTypedArray=_nodeUtil&&_nodeUtil.isTypedArray;var isTypedArray=nodeIsTypedArray?_baseUnary(nodeIsTypedArray):_baseIsTypedArray;var isTypedArray_1=isTypedArray;function safeGet(e,t){if(t==="constructor"&&typeof e[t]==="function"){return}if(t=="__proto__"){return}return e[t]}var _safeGet=safeGet;var objectProto$2=Object.prototype;var hasOwnProperty$2=objectProto$2.hasOwnProperty;function assignValue(e,t,r){var a=e[t];if(!(hasOwnProperty$2.call(e,t)&&eq_1(a,r))||r===undefined&&!(t in e)){_baseAssignValue(e,t,r)}}var _assignValue=assignValue;function copyObject(e,t,r,a){var n=!r;r||(r={});var o=-1,s=t.length;while(++o<s){var i=t[o];var c=a?a(r[i],e[i],i,r,e):undefined;if(c===undefined){c=e[i]}if(n){_baseAssignValue(r,i,c)}else{_assignValue(r,i,c)}}return r}var _copyObject=copyObject;function baseTimes(e,t){var r=-1,a=Array(e);while(++r<e){a[r]=t(r)}return a}var _baseTimes=baseTimes;var MAX_SAFE_INTEGER=9007199254740991;var reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(e,t){var r=typeof e;t=t==null?MAX_SAFE_INTEGER:t;return!!t&&(r=="number"||r!="symbol"&&reIsUint.test(e))&&(e>-1&&e%1==0&&e<t)}var _isIndex=isIndex;var objectProto$1=Object.prototype;var hasOwnProperty$1=objectProto$1.hasOwnProperty;function arrayLikeKeys(e,t){var r=isArray_1(e),a=!r&&isArguments_1(e),n=!r&&!a&&isBuffer_1(e),o=!r&&!a&&!n&&isTypedArray_1(e),s=r||a||n||o,i=s?_baseTimes(e.length,String):[],c=i.length;for(var u in e){if((t||hasOwnProperty$1.call(e,u))&&!(s&&(u=="length"||n&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||_isIndex(u,c)))){i.push(u)}}return i}var _arrayLikeKeys=arrayLikeKeys;function nativeKeysIn(e){var t=[];if(e!=null){for(var r in Object(e)){t.push(r)}}return t}var _nativeKeysIn=nativeKeysIn;var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function baseKeysIn(e){if(!isObject_1(e)){return _nativeKeysIn(e)}var t=_isPrototype(e),r=[];for(var a in e){if(!(a=="constructor"&&(t||!hasOwnProperty.call(e,a)))){r.push(a)}}return r}var _baseKeysIn=baseKeysIn;function keysIn(e){return isArrayLike_1(e)?_arrayLikeKeys(e,true):_baseKeysIn(e)}var keysIn_1=keysIn;function toPlainObject(e){return _copyObject(e,keysIn_1(e))}var toPlainObject_1=toPlainObject;function baseMergeDeep(e,t,r,a,n,o,s){var i=_safeGet(e,r),c=_safeGet(t,r),u=s.get(c);if(u){_assignMergeValue(e,r,u);return}var l=o?o(i,c,r+"",e,t,s):undefined;var f=l===undefined;if(f){var _=isArray_1(c),v=!_&&isBuffer_1(c),p=!_&&!v&&isTypedArray_1(c);l=c;if(_||v||p){if(isArray_1(i)){l=i}else if(isArrayLikeObject_1(i)){l=_copyArray(i)}else if(v){f=false;l=_cloneBuffer(c,true)}else if(p){f=false;l=_cloneTypedArray(c,true)}else{l=[]}}else if(isPlainObject_1(c)||isArguments_1(c)){l=i;if(isArguments_1(i)){l=toPlainObject_1(i)}else if(!isObject_1(i)||isFunction_1(i)){l=_initCloneObject(c)}}else{f=false}}if(f){s.set(c,l);n(l,c,a,o,s);s["delete"](c)}_assignMergeValue(e,r,l)}var _baseMergeDeep=baseMergeDeep;function baseMerge(e,t,r,a,n){if(e===t){return}_baseFor(t,(function(o,s){n||(n=new _Stack);if(isObject_1(o)){_baseMergeDeep(e,t,s,r,baseMerge,a,n)}else{var i=a?a(_safeGet(e,s),o,s+"",e,t,n):undefined;if(i===undefined){i=o}_assignMergeValue(e,s,i)}}),keysIn_1)}var _baseMerge=baseMerge;function identity(e){return e}var identity_1=identity;function apply(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var _apply=apply;var nativeMax=Math.max;function overRest(e,t,r){t=nativeMax(t===undefined?e.length-1:t,0);return function(){var a=arguments,n=-1,o=nativeMax(a.length-t,0),s=Array(o);while(++n<o){s[n]=a[t+n]}n=-1;var i=Array(t+1);while(++n<t){i[n]=a[n]}i[t]=r(s);return _apply(e,this,i)}}var _overRest=overRest;function constant(e){return function(){return e}}var constant_1=constant;var baseSetToString=!_defineProperty?identity_1:function(e,t){return _defineProperty(e,"toString",{configurable:true,enumerable:false,value:constant_1(t),writable:true})};var _baseSetToString=baseSetToString;var HOT_COUNT=800,HOT_SPAN=16;var nativeNow=Date.now;function shortOut(e){var t=0,r=0;return function(){var a=nativeNow(),n=HOT_SPAN-(a-r);r=a;if(n>0){if(++t>=HOT_COUNT){return arguments[0]}}else{t=0}return e.apply(undefined,arguments)}}var _shortOut=shortOut;var setToString=_shortOut(_baseSetToString);var _setToString=setToString;function baseRest(e,t){return _setToString(_overRest(e,t,identity_1),e+"")}var _baseRest=baseRest;function isIterateeCall(e,t,r){if(!isObject_1(r)){return false}var a=typeof t;if(a=="number"?isArrayLike_1(r)&&_isIndex(t,r.length):a=="string"&&t in r){return eq_1(r[t],e)}return false}var _isIterateeCall=isIterateeCall;function createAssigner(e){return _baseRest((function(t,r){var a=-1,n=r.length,o=n>1?r[n-1]:undefined,s=n>2?r[2]:undefined;o=e.length>3&&typeof o=="function"?(n--,o):undefined;if(s&&_isIterateeCall(r[0],r[1],s)){o=n<3?undefined:o;n=1}t=Object(t);while(++a<n){var i=r[a];if(i){e(t,i,a,o)}}return t}))}var _createAssigner=createAssigner;var merge=_createAssigner((function(e,t,r){_baseMerge(e,t,r)}));var merge_1=merge;var mergeConfig=function(e,t){var r=[];for(var a=2;a<arguments.length;a++){r[a-2]=arguments[a]}var n=__spreadArray([e,t],r,true).filter(Boolean);return merge_1.apply(null,n)};var _d=createStore((function(){return{appearance:{colorPrimary:"purple",fontFamily:"Inter",logoUrl:"",style:"ROUNDED",theme:"LIGHT",zonosAttribution:"DISABLED"},checkoutSettings:{allowedDomains:[],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,successBehavior:"REDIRECT_TO_SUCCESS_PAGE",successRedirectUrl:""},currentHelloPage:"",helloSettings:{allowedDomains:[],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:false,onlineStoreSettings:{allowedDomains:[]},organizationName:"",sourceCurrency:"USD",storeId:null,stripeApiKey:"",zonosApiKey:""}})),reset=_d.reset,zonosStore=_d.state;var savedZonosSettings=null;var zonosStoreInitSetting=function(e){var t=e.overrideSettings,r=e.zonosSettings;var a,n,o;reset();if(r){savedZonosSettings=r}zonosStore.appearance=mergeConfig(zonosStore.appearance,(savedZonosSettings===null||savedZonosSettings===void 0?void 0:savedZonosSettings.appearanceSettings)||(r===null||r===void 0?void 0:r.appearanceSettings)||null,t.appearance);zonosStore.checkoutSettings=mergeConfig(zonosStore.checkoutSettings,(savedZonosSettings===null||savedZonosSettings===void 0?void 0:savedZonosSettings.checkoutSettings)||(r===null||r===void 0?void 0:r.checkoutSettings)||null,t.checkoutSettings);zonosStore.helloSettings=mergeConfig(zonosStore.helloSettings,(savedZonosSettings===null||savedZonosSettings===void 0?void 0:savedZonosSettings.helloSettings)||(r===null||r===void 0?void 0:r.helloSettings)||null,t.helloSettings);zonosStore.onlineStoreSettings=mergeConfig(zonosStore.onlineStoreSettings,(savedZonosSettings===null||savedZonosSettings===void 0?void 0:savedZonosSettings.onlineStoreSettings)||(r===null||r===void 0?void 0:r.onlineStoreSettings)||null,t.onlineStoreSettings);zonosStore.loadedConfig=true;zonosStore.organizationName=((a=r===null||r===void 0?void 0:r.organization)===null||a===void 0?void 0:a.name)||"";zonosStore.storeId=((o=(n=r===null||r===void 0?void 0:r.organization)===null||n===void 0?void 0:n.references)===null||o===void 0?void 0:o.storeId)||null;zonosStore.currencyConverter=t.currencyConverter};export{_root as _,createCommonjsModule as a,commonjsGlobal as b,createStore as c,zonosStoreInitSetting as d,_baseGetTag as e,isObject_1 as f,isObjectLike_1 as i,mergeConfig as m,zonosStore as z};
|
|
2
|
-
//# sourceMappingURL=zonosStore-1c9c7d76.js.map
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,n=t.length,o;a<n;a++){if(o||!(a in t)){if(!o)o=Array.prototype.slice.call(t,0,a);o[a]=t[a]}}return e.concat(o||Array.prototype.slice.call(t))};import{g as getRenderingRef,f as forceUpdate}from"./index-d1aa9293.js";var appendToMap=function(e,t,r){var a=e.get(t);if(!a){e.set(t,[r])}else if(!a.includes(r)){a.push(r)}};var debounce=function(e,t){var r;return function(){var a=[];for(var n=0;n<arguments.length;n++){a[n]=arguments[n]}if(r){clearTimeout(r)}r=setTimeout((function(){r=0;e.apply(void 0,a)}),t)}};var isConnected=function(e){return!("isConnected"in e)||e.isConnected};var cleanupElements=debounce((function(e){for(var t=0,r=e.keys();t<r.length;t++){var a=r[t];e.set(a,e.get(a).filter(isConnected))}}),2e3);var stencilSubscription=function(){if(typeof getRenderingRef!=="function"){return{}}var e=new Map;return{dispose:function(){return e.clear()},get:function(t){var r=getRenderingRef();if(r){appendToMap(e,t,r)}},set:function(t){var r=e.get(t);if(r){e.set(t,r.filter(forceUpdate))}cleanupElements(e)},reset:function(){e.forEach((function(e){return e.forEach(forceUpdate)}));cleanupElements(e)}}};var unwrap=function(e){return typeof e==="function"?e():e};var createObservableMap=function(e,t){if(t===void 0){t=function(e,t){return e!==t}}var r=unwrap(e);var a=new Map(Object.entries(r!==null&&r!==void 0?r:{}));var n={dispose:[],get:[],set:[],reset:[]};var o=function(){var t;a=new Map(Object.entries((t=unwrap(e))!==null&&t!==void 0?t:{}));n.reset.forEach((function(e){return e()}))};var s=function(){n.dispose.forEach((function(e){return e()}));o()};var i=function(e){n.get.forEach((function(t){return t(e)}));return a.get(e)};var c=function(e,r){var o=a.get(e);if(t(r,o,e)){a.set(e,r);n.set.forEach((function(t){return t(e,r,o)}))}};var u=typeof Proxy==="undefined"?{}:new Proxy(r,{get:function(e,t){return i(t)},ownKeys:function(e){return Array.from(a.keys())},getOwnPropertyDescriptor:function(){return{enumerable:true,configurable:true}},has:function(e,t){return a.has(t)},set:function(e,t,r){c(t,r);return true}});var l=function(e,t){n[e].push(t);return function(){removeFromArray(n[e],t)}};var f=function(t,r){var a=l("set",(function(e,a){if(e===t){r(a)}}));var n=l("reset",(function(){return r(unwrap(e)[t])}));return function(){a();n()}};var _=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=e.reduce((function(e,t){if(t.set){e.push(l("set",t.set))}if(t.get){e.push(l("get",t.get))}if(t.reset){e.push(l("reset",t.reset))}if(t.dispose){e.push(l("dispose",t.dispose))}return e}),[]);return function(){return r.forEach((function(e){return e()}))}};var v=function(e){var t=a.get(e);n.set.forEach((function(r){return r(e,t,t)}))};return{state:u,get:i,set:c,on:l,onChange:f,use:_,dispose:s,reset:o,forceUpdate:v}};var removeFromArray=function(e,t){var r=e.indexOf(t);if(r>=0){e[r]=e[e.length-1];e.length--}};var createStore=function(e,t){var r=createObservableMap(e,t);r.use(stencilSubscription());return r};function listCacheClear(){this.__data__=[];this.size=0}var _listCacheClear=listCacheClear;function eq(e,t){return e===t||e!==e&&t!==t}var eq_1=eq;function assocIndexOf(e,t){var r=e.length;while(r--){if(eq_1(e[r][0],t)){return r}}return-1}var _assocIndexOf=assocIndexOf;var arrayProto=Array.prototype;var splice=arrayProto.splice;function listCacheDelete(e){var t=this.__data__,r=_assocIndexOf(t,e);if(r<0){return false}var a=t.length-1;if(r==a){t.pop()}else{splice.call(t,r,1)}--this.size;return true}var _listCacheDelete=listCacheDelete;function listCacheGet(e){var t=this.__data__,r=_assocIndexOf(t,e);return r<0?undefined:t[r][1]}var _listCacheGet=listCacheGet;function listCacheHas(e){return _assocIndexOf(this.__data__,e)>-1}var _listCacheHas=listCacheHas;function listCacheSet(e,t){var r=this.__data__,a=_assocIndexOf(r,e);if(a<0){++this.size;r.push([e,t])}else{r[a][1]=t}return this}var _listCacheSet=listCacheSet;function ListCache(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var a=e[t];this.set(a[0],a[1])}}ListCache.prototype.clear=_listCacheClear;ListCache.prototype["delete"]=_listCacheDelete;ListCache.prototype.get=_listCacheGet;ListCache.prototype.has=_listCacheHas;ListCache.prototype.set=_listCacheSet;var _ListCache=ListCache;function stackClear(){this.__data__=new _ListCache;this.size=0}var _stackClear=stackClear;function stackDelete(e){var t=this.__data__,r=t["delete"](e);this.size=t.size;return r}var _stackDelete=stackDelete;function stackGet(e){return this.__data__.get(e)}var _stackGet=stackGet;function stackHas(e){return this.__data__.has(e)}var _stackHas=stackHas;var commonjsGlobal=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function createCommonjsModule(e,t,r){return r={path:t,exports:{},require:function(e,t){return commonjsRequire()}},e(r,r.exports),r.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var freeGlobal=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal;var _freeGlobal=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self;var root=_freeGlobal||freeSelf||Function("return this")();var _root=root;var Symbol=_root.Symbol;var _Symbol=Symbol;var objectProto$a=Object.prototype;var hasOwnProperty$8=objectProto$a.hasOwnProperty;var nativeObjectToString$1=objectProto$a.toString;var symToStringTag$1=_Symbol?_Symbol.toStringTag:undefined;function getRawTag(e){var t=hasOwnProperty$8.call(e,symToStringTag$1),r=e[symToStringTag$1];try{e[symToStringTag$1]=undefined;var a=true}catch(e){}var n=nativeObjectToString$1.call(e);if(a){if(t){e[symToStringTag$1]=r}else{delete e[symToStringTag$1]}}return n}var _getRawTag=getRawTag;var objectProto$9=Object.prototype;var nativeObjectToString=objectProto$9.toString;function objectToString(e){return nativeObjectToString.call(e)}var _objectToString=objectToString;var nullTag="[object Null]",undefinedTag="[object Undefined]";var symToStringTag=_Symbol?_Symbol.toStringTag:undefined;function baseGetTag(e){if(e==null){return e===undefined?undefinedTag:nullTag}return symToStringTag&&symToStringTag in Object(e)?_getRawTag(e):_objectToString(e)}var _baseGetTag=baseGetTag;function isObject(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var isObject_1=isObject;var asyncTag="[object AsyncFunction]",funcTag$1="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(e){if(!isObject_1(e)){return false}var t=_baseGetTag(e);return t==funcTag$1||t==genTag||t==asyncTag||t==proxyTag}var isFunction_1=isFunction;var coreJsData=_root["__core-js_shared__"];var _coreJsData=coreJsData;var maskSrcKey=function(){var e=/[^.]+$/.exec(_coreJsData&&_coreJsData.keys&&_coreJsData.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}var _isMasked=isMasked;var funcProto$2=Function.prototype;var funcToString$2=funcProto$2.toString;function toSource(e){if(e!=null){try{return funcToString$2.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var _toSource=toSource;var reRegExpChar=/[\\^$.*+?()[\]{}|]/g;var reIsHostCtor=/^\[object .+?Constructor\]$/;var funcProto$1=Function.prototype,objectProto$8=Object.prototype;var funcToString$1=funcProto$1.toString;var hasOwnProperty$7=objectProto$8.hasOwnProperty;var reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$7).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!isObject_1(e)||_isMasked(e)){return false}var t=isFunction_1(e)?reIsNative:reIsHostCtor;return t.test(_toSource(e))}var _baseIsNative=baseIsNative;function getValue(e,t){return e==null?undefined:e[t]}var _getValue=getValue;function getNative(e,t){var r=_getValue(e,t);return _baseIsNative(r)?r:undefined}var _getNative=getNative;var Map$1=_getNative(_root,"Map");var _Map=Map$1;var nativeCreate=_getNative(Object,"create");var _nativeCreate=nativeCreate;function hashClear(){this.__data__=_nativeCreate?_nativeCreate(null):{};this.size=0}var _hashClear=hashClear;function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];this.size-=t?1:0;return t}var _hashDelete=hashDelete;var HASH_UNDEFINED$1="__lodash_hash_undefined__";var objectProto$7=Object.prototype;var hasOwnProperty$6=objectProto$7.hasOwnProperty;function hashGet(e){var t=this.__data__;if(_nativeCreate){var r=t[e];return r===HASH_UNDEFINED$1?undefined:r}return hasOwnProperty$6.call(t,e)?t[e]:undefined}var _hashGet=hashGet;var objectProto$6=Object.prototype;var hasOwnProperty$5=objectProto$6.hasOwnProperty;function hashHas(e){var t=this.__data__;return _nativeCreate?t[e]!==undefined:hasOwnProperty$5.call(t,e)}var _hashHas=hashHas;var HASH_UNDEFINED="__lodash_hash_undefined__";function hashSet(e,t){var r=this.__data__;this.size+=this.has(e)?0:1;r[e]=_nativeCreate&&t===undefined?HASH_UNDEFINED:t;return this}var _hashSet=hashSet;function Hash(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var a=e[t];this.set(a[0],a[1])}}Hash.prototype.clear=_hashClear;Hash.prototype["delete"]=_hashDelete;Hash.prototype.get=_hashGet;Hash.prototype.has=_hashHas;Hash.prototype.set=_hashSet;var _Hash=Hash;function mapCacheClear(){this.size=0;this.__data__={hash:new _Hash,map:new(_Map||_ListCache),string:new _Hash}}var _mapCacheClear=mapCacheClear;function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var _isKeyable=isKeyable;function getMapData(e,t){var r=e.__data__;return _isKeyable(t)?r[typeof t=="string"?"string":"hash"]:r.map}var _getMapData=getMapData;function mapCacheDelete(e){var t=_getMapData(this,e)["delete"](e);this.size-=t?1:0;return t}var _mapCacheDelete=mapCacheDelete;function mapCacheGet(e){return _getMapData(this,e).get(e)}var _mapCacheGet=mapCacheGet;function mapCacheHas(e){return _getMapData(this,e).has(e)}var _mapCacheHas=mapCacheHas;function mapCacheSet(e,t){var r=_getMapData(this,e),a=r.size;r.set(e,t);this.size+=r.size==a?0:1;return this}var _mapCacheSet=mapCacheSet;function MapCache(e){var t=-1,r=e==null?0:e.length;this.clear();while(++t<r){var a=e[t];this.set(a[0],a[1])}}MapCache.prototype.clear=_mapCacheClear;MapCache.prototype["delete"]=_mapCacheDelete;MapCache.prototype.get=_mapCacheGet;MapCache.prototype.has=_mapCacheHas;MapCache.prototype.set=_mapCacheSet;var _MapCache=MapCache;var LARGE_ARRAY_SIZE=200;function stackSet(e,t){var r=this.__data__;if(r instanceof _ListCache){var a=r.__data__;if(!_Map||a.length<LARGE_ARRAY_SIZE-1){a.push([e,t]);this.size=++r.size;return this}r=this.__data__=new _MapCache(a)}r.set(e,t);this.size=r.size;return this}var _stackSet=stackSet;function Stack(e){var t=this.__data__=new _ListCache(e);this.size=t.size}Stack.prototype.clear=_stackClear;Stack.prototype["delete"]=_stackDelete;Stack.prototype.get=_stackGet;Stack.prototype.has=_stackHas;Stack.prototype.set=_stackSet;var _Stack=Stack;var defineProperty=function(){try{var e=_getNative(Object,"defineProperty");e({},"",{});return e}catch(e){}}();var _defineProperty=defineProperty;function baseAssignValue(e,t,r){if(t=="__proto__"&&_defineProperty){_defineProperty(e,t,{configurable:true,enumerable:true,value:r,writable:true})}else{e[t]=r}}var _baseAssignValue=baseAssignValue;function assignMergeValue(e,t,r){if(r!==undefined&&!eq_1(e[t],r)||r===undefined&&!(t in e)){_baseAssignValue(e,t,r)}}var _assignMergeValue=assignMergeValue;function createBaseFor(e){return function(t,r,a){var n=-1,o=Object(t),s=a(t),i=s.length;while(i--){var c=s[e?i:++n];if(r(o[c],c,o)===false){break}}return t}}var _createBaseFor=createBaseFor;var baseFor=_createBaseFor();var _baseFor=baseFor;var _cloneBuffer=createCommonjsModule((function(e,t){var r=t&&!t.nodeType&&t;var a=r&&"object"=="object"&&e&&!e.nodeType&&e;var n=a&&a.exports===r;var o=n?_root.Buffer:undefined,s=o?o.allocUnsafe:undefined;function i(e,t){if(t){return e.slice()}var r=e.length,a=s?s(r):new e.constructor(r);e.copy(a);return a}e.exports=i}));var Uint8Array=_root.Uint8Array;var _Uint8Array=Uint8Array;function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);new _Uint8Array(t).set(new _Uint8Array(e));return t}var _cloneArrayBuffer=cloneArrayBuffer;function cloneTypedArray(e,t){var r=t?_cloneArrayBuffer(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var _cloneTypedArray=cloneTypedArray;function copyArray(e,t){var r=-1,a=e.length;t||(t=Array(a));while(++r<a){t[r]=e[r]}return t}var _copyArray=copyArray;var objectCreate=Object.create;var baseCreate=function(){function e(){}return function(t){if(!isObject_1(t)){return{}}if(objectCreate){return objectCreate(t)}e.prototype=t;var r=new e;e.prototype=undefined;return r}}();var _baseCreate=baseCreate;function overArg(e,t){return function(r){return e(t(r))}}var _overArg=overArg;var getPrototype=_overArg(Object.getPrototypeOf,Object);var _getPrototype=getPrototype;var objectProto$5=Object.prototype;function isPrototype(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||objectProto$5;return e===r}var _isPrototype=isPrototype;function initCloneObject(e){return typeof e.constructor=="function"&&!_isPrototype(e)?_baseCreate(_getPrototype(e)):{}}var _initCloneObject=initCloneObject;function isObjectLike(e){return e!=null&&typeof e=="object"}var isObjectLike_1=isObjectLike;var argsTag$1="[object Arguments]";function baseIsArguments(e){return isObjectLike_1(e)&&_baseGetTag(e)==argsTag$1}var _baseIsArguments=baseIsArguments;var objectProto$4=Object.prototype;var hasOwnProperty$4=objectProto$4.hasOwnProperty;var propertyIsEnumerable=objectProto$4.propertyIsEnumerable;var isArguments=_baseIsArguments(function(){return arguments}())?_baseIsArguments:function(e){return isObjectLike_1(e)&&hasOwnProperty$4.call(e,"callee")&&!propertyIsEnumerable.call(e,"callee")};var isArguments_1=isArguments;var isArray=Array.isArray;var isArray_1=isArray;var MAX_SAFE_INTEGER$1=9007199254740991;function isLength(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=MAX_SAFE_INTEGER$1}var isLength_1=isLength;function isArrayLike(e){return e!=null&&isLength_1(e.length)&&!isFunction_1(e)}var isArrayLike_1=isArrayLike;function isArrayLikeObject(e){return isObjectLike_1(e)&&isArrayLike_1(e)}var isArrayLikeObject_1=isArrayLikeObject;function stubFalse(){return false}var stubFalse_1=stubFalse;var isBuffer_1=createCommonjsModule((function(e,t){var r=t&&!t.nodeType&&t;var a=r&&"object"=="object"&&e&&!e.nodeType&&e;var n=a&&a.exports===r;var o=n?_root.Buffer:undefined;var s=o?o.isBuffer:undefined;var i=s||stubFalse_1;e.exports=i}));var objectTag$1="[object Object]";var funcProto=Function.prototype,objectProto$3=Object.prototype;var funcToString=funcProto.toString;var hasOwnProperty$3=objectProto$3.hasOwnProperty;var objectCtorString=funcToString.call(Object);function isPlainObject(e){if(!isObjectLike_1(e)||_baseGetTag(e)!=objectTag$1){return false}var t=_getPrototype(e);if(t===null){return true}var r=hasOwnProperty$3.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&funcToString.call(r)==objectCtorString}var isPlainObject_1=isPlainObject;var argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",weakMapTag="[object WeakMap]";var arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]";var typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=true;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=false;function baseIsTypedArray(e){return isObjectLike_1(e)&&isLength_1(e.length)&&!!typedArrayTags[_baseGetTag(e)]}var _baseIsTypedArray=baseIsTypedArray;function baseUnary(e){return function(t){return e(t)}}var _baseUnary=baseUnary;var _nodeUtil=createCommonjsModule((function(e,t){var r=t&&!t.nodeType&&t;var a=r&&"object"=="object"&&e&&!e.nodeType&&e;var n=a&&a.exports===r;var o=n&&_freeGlobal.process;var s=function(){try{var e=a&&a.require&&a.require("util").types;if(e){return e}return o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=s}));var nodeIsTypedArray=_nodeUtil&&_nodeUtil.isTypedArray;var isTypedArray=nodeIsTypedArray?_baseUnary(nodeIsTypedArray):_baseIsTypedArray;var isTypedArray_1=isTypedArray;function safeGet(e,t){if(t==="constructor"&&typeof e[t]==="function"){return}if(t=="__proto__"){return}return e[t]}var _safeGet=safeGet;var objectProto$2=Object.prototype;var hasOwnProperty$2=objectProto$2.hasOwnProperty;function assignValue(e,t,r){var a=e[t];if(!(hasOwnProperty$2.call(e,t)&&eq_1(a,r))||r===undefined&&!(t in e)){_baseAssignValue(e,t,r)}}var _assignValue=assignValue;function copyObject(e,t,r,a){var n=!r;r||(r={});var o=-1,s=t.length;while(++o<s){var i=t[o];var c=a?a(r[i],e[i],i,r,e):undefined;if(c===undefined){c=e[i]}if(n){_baseAssignValue(r,i,c)}else{_assignValue(r,i,c)}}return r}var _copyObject=copyObject;function baseTimes(e,t){var r=-1,a=Array(e);while(++r<e){a[r]=t(r)}return a}var _baseTimes=baseTimes;var MAX_SAFE_INTEGER=9007199254740991;var reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(e,t){var r=typeof e;t=t==null?MAX_SAFE_INTEGER:t;return!!t&&(r=="number"||r!="symbol"&&reIsUint.test(e))&&(e>-1&&e%1==0&&e<t)}var _isIndex=isIndex;var objectProto$1=Object.prototype;var hasOwnProperty$1=objectProto$1.hasOwnProperty;function arrayLikeKeys(e,t){var r=isArray_1(e),a=!r&&isArguments_1(e),n=!r&&!a&&isBuffer_1(e),o=!r&&!a&&!n&&isTypedArray_1(e),s=r||a||n||o,i=s?_baseTimes(e.length,String):[],c=i.length;for(var u in e){if((t||hasOwnProperty$1.call(e,u))&&!(s&&(u=="length"||n&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||_isIndex(u,c)))){i.push(u)}}return i}var _arrayLikeKeys=arrayLikeKeys;function nativeKeysIn(e){var t=[];if(e!=null){for(var r in Object(e)){t.push(r)}}return t}var _nativeKeysIn=nativeKeysIn;var objectProto=Object.prototype;var hasOwnProperty=objectProto.hasOwnProperty;function baseKeysIn(e){if(!isObject_1(e)){return _nativeKeysIn(e)}var t=_isPrototype(e),r=[];for(var a in e){if(!(a=="constructor"&&(t||!hasOwnProperty.call(e,a)))){r.push(a)}}return r}var _baseKeysIn=baseKeysIn;function keysIn(e){return isArrayLike_1(e)?_arrayLikeKeys(e,true):_baseKeysIn(e)}var keysIn_1=keysIn;function toPlainObject(e){return _copyObject(e,keysIn_1(e))}var toPlainObject_1=toPlainObject;function baseMergeDeep(e,t,r,a,n,o,s){var i=_safeGet(e,r),c=_safeGet(t,r),u=s.get(c);if(u){_assignMergeValue(e,r,u);return}var l=o?o(i,c,r+"",e,t,s):undefined;var f=l===undefined;if(f){var _=isArray_1(c),v=!_&&isBuffer_1(c),p=!_&&!v&&isTypedArray_1(c);l=c;if(_||v||p){if(isArray_1(i)){l=i}else if(isArrayLikeObject_1(i)){l=_copyArray(i)}else if(v){f=false;l=_cloneBuffer(c,true)}else if(p){f=false;l=_cloneTypedArray(c,true)}else{l=[]}}else if(isPlainObject_1(c)||isArguments_1(c)){l=i;if(isArguments_1(i)){l=toPlainObject_1(i)}else if(!isObject_1(i)||isFunction_1(i)){l=_initCloneObject(c)}}else{f=false}}if(f){s.set(c,l);n(l,c,a,o,s);s["delete"](c)}_assignMergeValue(e,r,l)}var _baseMergeDeep=baseMergeDeep;function baseMerge(e,t,r,a,n){if(e===t){return}_baseFor(t,(function(o,s){n||(n=new _Stack);if(isObject_1(o)){_baseMergeDeep(e,t,s,r,baseMerge,a,n)}else{var i=a?a(_safeGet(e,s),o,s+"",e,t,n):undefined;if(i===undefined){i=o}_assignMergeValue(e,s,i)}}),keysIn_1)}var _baseMerge=baseMerge;function identity(e){return e}var identity_1=identity;function apply(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var _apply=apply;var nativeMax=Math.max;function overRest(e,t,r){t=nativeMax(t===undefined?e.length-1:t,0);return function(){var a=arguments,n=-1,o=nativeMax(a.length-t,0),s=Array(o);while(++n<o){s[n]=a[t+n]}n=-1;var i=Array(t+1);while(++n<t){i[n]=a[n]}i[t]=r(s);return _apply(e,this,i)}}var _overRest=overRest;function constant(e){return function(){return e}}var constant_1=constant;var baseSetToString=!_defineProperty?identity_1:function(e,t){return _defineProperty(e,"toString",{configurable:true,enumerable:false,value:constant_1(t),writable:true})};var _baseSetToString=baseSetToString;var HOT_COUNT=800,HOT_SPAN=16;var nativeNow=Date.now;function shortOut(e){var t=0,r=0;return function(){var a=nativeNow(),n=HOT_SPAN-(a-r);r=a;if(n>0){if(++t>=HOT_COUNT){return arguments[0]}}else{t=0}return e.apply(undefined,arguments)}}var _shortOut=shortOut;var setToString=_shortOut(_baseSetToString);var _setToString=setToString;function baseRest(e,t){return _setToString(_overRest(e,t,identity_1),e+"")}var _baseRest=baseRest;function isIterateeCall(e,t,r){if(!isObject_1(r)){return false}var a=typeof t;if(a=="number"?isArrayLike_1(r)&&_isIndex(t,r.length):a=="string"&&t in r){return eq_1(r[t],e)}return false}var _isIterateeCall=isIterateeCall;function createAssigner(e){return _baseRest((function(t,r){var a=-1,n=r.length,o=n>1?r[n-1]:undefined,s=n>2?r[2]:undefined;o=e.length>3&&typeof o=="function"?(n--,o):undefined;if(s&&_isIterateeCall(r[0],r[1],s)){o=n<3?undefined:o;n=1}t=Object(t);while(++a<n){var i=r[a];if(i){e(t,i,a,o)}}return t}))}var _createAssigner=createAssigner;var merge=_createAssigner((function(e,t,r){_baseMerge(e,t,r)}));var merge_1=merge;var mergeConfig=function(e,t){var r=[];for(var a=2;a<arguments.length;a++){r[a-2]=arguments[a]}var n=__spreadArray([e,t],r,true).filter(Boolean);return merge_1.apply(null,n)};var _d=createStore((function(){return{appearance:{colorPrimary:"purple",fontFamily:"Inter",logoUrl:"",style:"ROUNDED",theme:"LIGHT",zonosAttribution:"DISABLED"},checkoutSettings:{allowedDomains:[],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:{allowedDomains:[],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:false,onlineStoreSettings:{allowedDomains:[]},organizationName:"",sourceCurrency:"USD",storeId:null,stripeApiKey:"",zonosApiKey:""}})),reset=_d.reset,zonosStore=_d.state;var savedZonosSettings=null;var zonosStoreInitSetting=function(e){var t=e.overrideSettings,r=e.zonosSettings;var a,n,o;reset();if(r){savedZonosSettings=r}zonosStore.appearance=mergeConfig(zonosStore.appearance,(savedZonosSettings===null||savedZonosSettings===void 0?void 0:savedZonosSettings.appearanceSettings)||(r===null||r===void 0?void 0:r.appearanceSettings)||null,t.appearance);zonosStore.checkoutSettings=mergeConfig(zonosStore.checkoutSettings,(savedZonosSettings===null||savedZonosSettings===void 0?void 0:savedZonosSettings.checkoutSettings)||(r===null||r===void 0?void 0:r.checkoutSettings)||null,t.checkoutSettings);zonosStore.helloSettings=mergeConfig(zonosStore.helloSettings,(savedZonosSettings===null||savedZonosSettings===void 0?void 0:savedZonosSettings.helloSettings)||(r===null||r===void 0?void 0:r.helloSettings)||null,t.helloSettings);zonosStore.onlineStoreSettings=mergeConfig(zonosStore.onlineStoreSettings,(savedZonosSettings===null||savedZonosSettings===void 0?void 0:savedZonosSettings.onlineStoreSettings)||(r===null||r===void 0?void 0:r.onlineStoreSettings)||null,t.onlineStoreSettings);zonosStore.loadedConfig=true;zonosStore.organizationName=((a=r===null||r===void 0?void 0:r.organization)===null||a===void 0?void 0:a.name)||"";zonosStore.storeId=((o=(n=r===null||r===void 0?void 0:r.organization)===null||n===void 0?void 0:n.references)===null||o===void 0?void 0:o.storeId)||null;zonosStore.currencyConverter=t.currencyConverter};export{_root as _,createCommonjsModule as a,commonjsGlobal as b,createStore as c,zonosStoreInitSetting as d,_baseGetTag as e,isObject_1 as f,isObjectLike_1 as i,mergeConfig as m,zonosStore as z};
|
|
@@ -141,8 +141,8 @@ const zonosLoadStripe = async (...args) => {
|
|
|
141
141
|
};
|
|
142
142
|
|
|
143
143
|
var _a;
|
|
144
|
-
const ZONOS_URL = "https://v1.1.
|
|
145
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.1
|
|
144
|
+
const ZONOS_URL = "https://v1.2.1.js.zonos.com";
|
|
145
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.2.1";
|
|
146
146
|
const INTER_FONT_URL = 'https://rsms.me';
|
|
147
147
|
const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
|
|
148
148
|
class Zonos {
|
|
@@ -151,12 +151,15 @@ _a = Zonos;
|
|
|
151
151
|
Zonos.doneInit = false;
|
|
152
152
|
// if query 'zonosDebug=1' param from url, debug mode is on
|
|
153
153
|
Zonos.debug = !!window.location.search.match(/\?.*(&*)zonosDebug=1/);
|
|
154
|
+
Zonos.isBigCommerce = false;
|
|
155
|
+
Zonos.internationalHideSelector = '';
|
|
156
|
+
Zonos.version = `v${"1.2.1"}`;
|
|
154
157
|
Zonos.init = async ({ appearance, checkoutSettings, currencyConverter, helloSettings, zonosApiKey, }) => {
|
|
155
158
|
if (Zonos.doneInit) {
|
|
156
159
|
// do nothing if zonos is already initializeds
|
|
157
160
|
return;
|
|
158
161
|
}
|
|
159
|
-
log(`====== ZONOS DEBUG MODE: on (
|
|
162
|
+
log(`====== ZONOS DEBUG MODE: on (${_a.version}) ======`);
|
|
160
163
|
if (!zonosApiKey) {
|
|
161
164
|
logError('Missing Zonos API key');
|
|
162
165
|
return;
|
package/dist/scripts/zonos.js
CHANGED
|
@@ -141,8 +141,8 @@ const zonosLoadStripe = async (...args) => {
|
|
|
141
141
|
};
|
|
142
142
|
|
|
143
143
|
var _a;
|
|
144
|
-
const ZONOS_URL = "https://v1.1.
|
|
145
|
-
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.1
|
|
144
|
+
const ZONOS_URL = "https://v1.2.1.js.zonos.com";
|
|
145
|
+
const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.2.1";
|
|
146
146
|
const INTER_FONT_URL = 'https://rsms.me';
|
|
147
147
|
const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
|
|
148
148
|
class Zonos {
|
|
@@ -151,12 +151,15 @@ _a = Zonos;
|
|
|
151
151
|
Zonos.doneInit = false;
|
|
152
152
|
// if query 'zonosDebug=1' param from url, debug mode is on
|
|
153
153
|
Zonos.debug = !!window.location.search.match(/\?.*(&*)zonosDebug=1/);
|
|
154
|
+
Zonos.isBigCommerce = false;
|
|
155
|
+
Zonos.internationalHideSelector = '';
|
|
156
|
+
Zonos.version = `v${"1.2.1"}`;
|
|
154
157
|
Zonos.init = async ({ appearance, checkoutSettings, currencyConverter, helloSettings, zonosApiKey, }) => {
|
|
155
158
|
if (Zonos.doneInit) {
|
|
156
159
|
// do nothing if zonos is already initializeds
|
|
157
160
|
return;
|
|
158
161
|
}
|
|
159
|
-
log(`====== ZONOS DEBUG MODE: on (
|
|
162
|
+
log(`====== ZONOS DEBUG MODE: on (${_a.version}) ======`);
|
|
160
163
|
if (!zonosApiKey) {
|
|
161
164
|
logError('Missing Zonos API key');
|
|
162
165
|
return;
|
|
@@ -15,10 +15,6 @@ export declare class ZonosCheckout {
|
|
|
15
15
|
* Flag to determine if the checkout is on mobile
|
|
16
16
|
*/
|
|
17
17
|
mobile: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* The button element that will open the dialog
|
|
20
|
-
*/
|
|
21
|
-
buttonAnchorElements: HTMLElement[] | null;
|
|
22
18
|
/**
|
|
23
19
|
* Default address to use for the checkout (preview mode)
|
|
24
20
|
*/
|
|
@@ -63,6 +59,7 @@ export declare class ZonosCheckout {
|
|
|
63
59
|
private applyStripeTheme;
|
|
64
60
|
private buildCartAndInit;
|
|
65
61
|
private attachCheckout;
|
|
62
|
+
private isShippableCountry;
|
|
66
63
|
appearanceSettingsOverrideChanged(): void;
|
|
67
64
|
/**
|
|
68
65
|
* Setup all of the event listeners for the component on first load
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { stripeStoreUpdateCheckoutSession } from "./stripe";
|
|
2
|
-
import type { CheckoutPresentmentFragment, CurrencyCode, ShipmentRatingFragment } from "../../../types/generated/graphql.customer.types";
|
|
2
|
+
import type { CheckoutPresentmentFragment, CurrencyCode, ItemMeasurementType, ItemUnitOfMeasure, ShipmentRatingFragment } from "../../../types/generated/graphql.customer.types";
|
|
3
|
+
export type ItemMeasurement = {
|
|
4
|
+
/** Indicates what type of `Measurement`, e.g. weight, specific dim unit. */
|
|
5
|
+
type?: ItemMeasurementType;
|
|
6
|
+
/** Indicates the `Measurement` units to be used. */
|
|
7
|
+
unitOfMeasure?: ItemUnitOfMeasure;
|
|
8
|
+
/** The `Measurement` value. */
|
|
9
|
+
value?: number;
|
|
10
|
+
};
|
|
3
11
|
export type CartItem = {
|
|
4
12
|
amount: number;
|
|
5
13
|
countryOfOrigin?: string;
|
|
@@ -7,9 +15,14 @@ export type CartItem = {
|
|
|
7
15
|
description?: string;
|
|
8
16
|
hsCode?: string;
|
|
9
17
|
imageUrl?: string;
|
|
18
|
+
measurements?: ItemMeasurement[];
|
|
19
|
+
metadata?: {
|
|
20
|
+
[key: string]: string | number;
|
|
21
|
+
};
|
|
10
22
|
name: string;
|
|
11
23
|
productId?: string;
|
|
12
24
|
quantity: number;
|
|
25
|
+
sku?: string;
|
|
13
26
|
};
|
|
14
27
|
type CartStore = {
|
|
15
28
|
checkoutSessionId: string | null;
|
|
@@ -6,8 +6,9 @@ export type TargetFormat = {
|
|
|
6
6
|
symbolLocation: string;
|
|
7
7
|
thousandsDelimiter: string;
|
|
8
8
|
};
|
|
9
|
-
export declare const getExchangeRate: ({ country, sourceCurrency, targetCurrency, }: {
|
|
9
|
+
export declare const getExchangeRate: ({ country, isGuaranteed, sourceCurrency, targetCurrency, }: {
|
|
10
10
|
country: string | null;
|
|
11
|
+
isGuaranteed: boolean;
|
|
11
12
|
sourceCurrency: string;
|
|
12
13
|
targetCurrency: string;
|
|
13
14
|
}) => Promise<{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getHasMoreSpaceAbove: (ref: HTMLElement) => boolean;
|
|
@@ -212,10 +212,6 @@ export namespace Components {
|
|
|
212
212
|
* Override appearance config
|
|
213
213
|
*/
|
|
214
214
|
"appearanceSettingsOverride"?: Partial<AppearanceConfig>;
|
|
215
|
-
/**
|
|
216
|
-
* The button element that will open the dialog
|
|
217
|
-
*/
|
|
218
|
-
"buttonAnchorElements": HTMLElement[] | null;
|
|
219
215
|
/**
|
|
220
216
|
* Close dialog action
|
|
221
217
|
*/
|
|
@@ -1105,10 +1101,6 @@ declare namespace LocalJSX {
|
|
|
1105
1101
|
* Override appearance config
|
|
1106
1102
|
*/
|
|
1107
1103
|
"appearanceSettingsOverride"?: Partial<AppearanceConfig>;
|
|
1108
|
-
/**
|
|
1109
|
-
* The button element that will open the dialog
|
|
1110
|
-
*/
|
|
1111
|
-
"buttonAnchorElements"?: HTMLElement[] | null;
|
|
1112
1104
|
/**
|
|
1113
1105
|
* Default address to use for the checkout (preview mode)
|
|
1114
1106
|
*/
|
|
@@ -4,6 +4,14 @@ export declare const inProdEnvironment: boolean;
|
|
|
4
4
|
export declare const inTestEnvironment: boolean;
|
|
5
5
|
export declare const inStorybook: boolean;
|
|
6
6
|
export declare const inVercel: boolean;
|
|
7
|
+
export declare const inCI: boolean;
|
|
8
|
+
export declare const isVercelProd: boolean;
|
|
9
|
+
declare let packageVersion: string;
|
|
10
|
+
export declare const formattedUrl: ({ packageVersion: _packageVersion, type, url, }: {
|
|
11
|
+
packageVersion: string;
|
|
12
|
+
type: 'major' | 'full' | 'vercel-git';
|
|
13
|
+
url?: string | undefined;
|
|
14
|
+
}) => string | undefined;
|
|
7
15
|
declare const envClientSchema: z.ZodObject<{
|
|
8
16
|
NEXT_PUBLIC_FLAG_URL: z.ZodString;
|
|
9
17
|
NEXT_PUBLIC_ZONOS_API_KEY: z.ZodString;
|
|
@@ -20,8 +20,11 @@ export interface Zonos {
|
|
|
20
20
|
*/
|
|
21
21
|
debug?: boolean;
|
|
22
22
|
doneInit: boolean;
|
|
23
|
+
internationalHideSelector: string;
|
|
24
|
+
isBigCommerce: boolean;
|
|
23
25
|
/** Stripe instance */
|
|
24
26
|
stripe: Stripe;
|
|
27
|
+
version: string;
|
|
25
28
|
zonosApiKey: string;
|
|
26
29
|
displayCurrency: () => void;
|
|
27
30
|
init: (params: LoadZonosParams) => Promise<void>;
|
|
@@ -32,6 +35,9 @@ export declare abstract class Zonos {
|
|
|
32
35
|
static stripe: Stripe;
|
|
33
36
|
static doneInit: boolean;
|
|
34
37
|
static debug: boolean;
|
|
38
|
+
static isBigCommerce: boolean;
|
|
39
|
+
static internationalHideSelector: string;
|
|
40
|
+
static version: string;
|
|
35
41
|
static init: ({ appearance, checkoutSettings, currencyConverter, helloSettings, zonosApiKey, }: LoadZonosParams) => Promise<void>;
|
|
36
42
|
static displayCurrency: () => void;
|
|
37
43
|
static showNotification: (notification: NotificationInit) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CartItem } from "../../components/store/checkout/cart";
|
|
2
|
-
import type { AnalyticsProviderStatus, AnalyticsProviderType, CheckoutSuccessBehavior, NotificationActiveStatus } from "../generated/graphql.customer.types";
|
|
2
|
+
import type { AnalyticsProviderStatus, AnalyticsProviderType, CheckoutSubscriptionStatus, CheckoutSuccessBehavior, CheckoutVisibilityStatus, NotificationActiveStatus } from "../generated/graphql.customer.types";
|
|
3
3
|
export type CheckoutConfig = {
|
|
4
4
|
allowedDomains: Array<string>;
|
|
5
5
|
analyticsProviders: Array<{
|
|
@@ -30,8 +30,10 @@ export type CheckoutConfig = {
|
|
|
30
30
|
};
|
|
31
31
|
organization: string;
|
|
32
32
|
placeOrderButtonSelector: string | null;
|
|
33
|
+
subscriptionStatus: CheckoutSubscriptionStatus;
|
|
33
34
|
successBehavior: CheckoutSuccessBehavior;
|
|
34
35
|
successRedirectUrl: string;
|
|
36
|
+
visibilityStatus: CheckoutVisibilityStatus;
|
|
35
37
|
/**
|
|
36
38
|
* cart info callback for checkout (optional)
|
|
37
39
|
* User can dispatch an event 'zonos--init-cart-info' to update the cart
|
|
@@ -128,6 +128,15 @@ export declare const carrierAccountRateType: {
|
|
|
128
128
|
readonly Retail: "RETAIL";
|
|
129
129
|
};
|
|
130
130
|
export type CarrierAccountRateType = (typeof carrierAccountRateType)[keyof typeof carrierAccountRateType];
|
|
131
|
+
export declare const carrierAccountUsageCategoryCode: {
|
|
132
|
+
readonly Shipping: "SHIPPING";
|
|
133
|
+
};
|
|
134
|
+
export type CarrierAccountUsageCategoryCode = (typeof carrierAccountUsageCategoryCode)[keyof typeof carrierAccountUsageCategoryCode];
|
|
135
|
+
export declare const carrierApiRateTypeCode: {
|
|
136
|
+
readonly Negotiated: "NEGOTIATED";
|
|
137
|
+
readonly Retail: "RETAIL";
|
|
138
|
+
};
|
|
139
|
+
export type CarrierApiRateTypeCode = (typeof carrierApiRateTypeCode)[keyof typeof carrierApiRateTypeCode];
|
|
131
140
|
export declare const carrierCode: {
|
|
132
141
|
readonly Apc: "APC";
|
|
133
142
|
readonly Dhl: "DHL";
|
|
@@ -165,6 +174,13 @@ export declare const carrierInvoiceLineItemChargeType: {
|
|
|
165
174
|
readonly Shipping: "SHIPPING";
|
|
166
175
|
};
|
|
167
176
|
export type CarrierInvoiceLineItemChargeType = (typeof carrierInvoiceLineItemChargeType)[keyof typeof carrierInvoiceLineItemChargeType];
|
|
177
|
+
export declare const carrierMultiFactorAuthMethod: {
|
|
178
|
+
readonly CallPin: "CALL_PIN";
|
|
179
|
+
readonly EmailPin: "EMAIL_PIN";
|
|
180
|
+
readonly Invoice: "INVOICE";
|
|
181
|
+
readonly SmsPin: "SMS_PIN";
|
|
182
|
+
};
|
|
183
|
+
export type CarrierMultiFactorAuthMethod = (typeof carrierMultiFactorAuthMethod)[keyof typeof carrierMultiFactorAuthMethod];
|
|
168
184
|
export declare const carrierRateType: {
|
|
169
185
|
readonly Negotiated: "NEGOTIATED";
|
|
170
186
|
readonly Retail: "RETAIL";
|
|
@@ -204,6 +220,7 @@ export declare const checkoutVisibilityStatus: {
|
|
|
204
220
|
};
|
|
205
221
|
export type CheckoutVisibilityStatus = (typeof checkoutVisibilityStatus)[keyof typeof checkoutVisibilityStatus];
|
|
206
222
|
export declare const classificationBulkJobStatus: {
|
|
223
|
+
readonly Classified: "CLASSIFIED";
|
|
207
224
|
readonly Completed: "COMPLETED";
|
|
208
225
|
readonly Error: "ERROR";
|
|
209
226
|
readonly Initialized: "INITIALIZED";
|
|
@@ -239,6 +256,7 @@ export type CollectSubmissionLineItemChargeType = (typeof collectSubmissionLineI
|
|
|
239
256
|
export declare const collectSubmissionStatusCode: {
|
|
240
257
|
readonly Abandoned: "ABANDONED";
|
|
241
258
|
readonly Held: "HELD";
|
|
259
|
+
readonly InvoicePending: "INVOICE_PENDING";
|
|
242
260
|
readonly Opened: "OPENED";
|
|
243
261
|
readonly Paid: "PAID";
|
|
244
262
|
readonly Returned: "RETURNED";
|
|
@@ -250,6 +268,7 @@ export declare const collectUploadStatus: {
|
|
|
250
268
|
readonly Pending: "PENDING";
|
|
251
269
|
readonly Processing: "PROCESSING";
|
|
252
270
|
readonly Succeeded: "SUCCEEDED";
|
|
271
|
+
readonly SucceededWithErrors: "SUCCEEDED_WITH_ERRORS";
|
|
253
272
|
};
|
|
254
273
|
export type CollectUploadStatus = (typeof collectUploadStatus)[keyof typeof collectUploadStatus];
|
|
255
274
|
export declare const constraintType: {
|
|
@@ -1005,6 +1024,12 @@ export declare const deniedPartyAction: {
|
|
|
1005
1024
|
readonly Review: "REVIEW";
|
|
1006
1025
|
};
|
|
1007
1026
|
export type DeniedPartyAction = (typeof deniedPartyAction)[keyof typeof deniedPartyAction];
|
|
1027
|
+
export declare const descriptionOverrideScope: {
|
|
1028
|
+
readonly Customs: "CUSTOMS";
|
|
1029
|
+
readonly CustomsAndLabels: "CUSTOMS_AND_LABELS";
|
|
1030
|
+
readonly Labels: "LABELS";
|
|
1031
|
+
};
|
|
1032
|
+
export type DescriptionOverrideScope = (typeof descriptionOverrideScope)[keyof typeof descriptionOverrideScope];
|
|
1008
1033
|
export declare const dimensionalUnitCode: {
|
|
1009
1034
|
readonly Centimeter: "CENTIMETER";
|
|
1010
1035
|
readonly Decimeter: "DECIMETER";
|
|
@@ -1548,6 +1573,15 @@ export declare const notificationActiveStatus: {
|
|
|
1548
1573
|
readonly Enabled: "ENABLED";
|
|
1549
1574
|
};
|
|
1550
1575
|
export type NotificationActiveStatus = (typeof notificationActiveStatus)[keyof typeof notificationActiveStatus];
|
|
1576
|
+
export declare const orderStatus: {
|
|
1577
|
+
readonly Canceled: "CANCELED";
|
|
1578
|
+
readonly Completed: "COMPLETED";
|
|
1579
|
+
readonly FraudHold: "FRAUD_HOLD";
|
|
1580
|
+
readonly Open: "OPEN";
|
|
1581
|
+
readonly PaymentFailed: "PAYMENT_FAILED";
|
|
1582
|
+
readonly PaymentPending: "PAYMENT_PENDING";
|
|
1583
|
+
};
|
|
1584
|
+
export type OrderStatus = (typeof orderStatus)[keyof typeof orderStatus];
|
|
1551
1585
|
export declare const orderTransactionBillingMethod: {
|
|
1552
1586
|
readonly BillingDgs: "BILLING_DGS";
|
|
1553
1587
|
readonly Legacy: "LEGACY";
|
|
@@ -1668,6 +1702,12 @@ export declare const result: {
|
|
|
1668
1702
|
readonly Success: "SUCCESS";
|
|
1669
1703
|
};
|
|
1670
1704
|
export type Result = (typeof result)[keyof typeof result];
|
|
1705
|
+
export declare const roundingType: {
|
|
1706
|
+
readonly Custom: "CUSTOM";
|
|
1707
|
+
readonly Default: "DEFAULT";
|
|
1708
|
+
readonly None: "NONE";
|
|
1709
|
+
};
|
|
1710
|
+
export type RoundingType = (typeof roundingType)[keyof typeof roundingType];
|
|
1671
1711
|
export declare const serviceLevelAvailability: {
|
|
1672
1712
|
readonly Contracted: "CONTRACTED";
|
|
1673
1713
|
readonly Disabled: "DISABLED";
|
|
@@ -1683,11 +1723,38 @@ export declare const shipmentAmountType: {
|
|
|
1683
1723
|
readonly Surcharge: "SURCHARGE";
|
|
1684
1724
|
};
|
|
1685
1725
|
export type ShipmentAmountType = (typeof shipmentAmountType)[keyof typeof shipmentAmountType];
|
|
1726
|
+
export declare const shipmentCartonSpecialService: {
|
|
1727
|
+
readonly Alcohol: "ALCOHOL";
|
|
1728
|
+
readonly BatteryInsideEquipment: "BATTERY_INSIDE_EQUIPMENT";
|
|
1729
|
+
readonly BatteryOnly: "BATTERY_ONLY";
|
|
1730
|
+
readonly BatteryPackagedWithEquipment: "BATTERY_PACKAGED_WITH_EQUIPMENT";
|
|
1731
|
+
readonly DangerousGoods: "DANGEROUS_GOODS";
|
|
1732
|
+
readonly DryIce: "DRY_ICE";
|
|
1733
|
+
readonly SignatureOption: "SIGNATURE_OPTION";
|
|
1734
|
+
};
|
|
1735
|
+
export type ShipmentCartonSpecialService = (typeof shipmentCartonSpecialService)[keyof typeof shipmentCartonSpecialService];
|
|
1736
|
+
export declare const shipmentSpecialService: {
|
|
1737
|
+
readonly Consolidation: "CONSOLIDATION";
|
|
1738
|
+
readonly CutFlowers: "CUT_FLOWERS";
|
|
1739
|
+
readonly DryIce: "DRY_ICE";
|
|
1740
|
+
readonly ExtendedArea: "EXTENDED_AREA";
|
|
1741
|
+
readonly ReturnShipment: "RETURN_SHIPMENT";
|
|
1742
|
+
readonly SaturdayDelivery: "SATURDAY_DELIVERY";
|
|
1743
|
+
readonly SaturdayPickup: "SATURDAY_PICKUP";
|
|
1744
|
+
readonly ScheduledDelivery: "SCHEDULED_DELIVERY";
|
|
1745
|
+
readonly SingleShipment: "SINGLE_SHIPMENT";
|
|
1746
|
+
};
|
|
1747
|
+
export type ShipmentSpecialService = (typeof shipmentSpecialService)[keyof typeof shipmentSpecialService];
|
|
1686
1748
|
export declare const shipmentStatusType: {
|
|
1687
1749
|
readonly Created: "CREATED";
|
|
1688
1750
|
readonly Voided: "VOIDED";
|
|
1689
1751
|
};
|
|
1690
1752
|
export type ShipmentStatusType = (typeof shipmentStatusType)[keyof typeof shipmentStatusType];
|
|
1753
|
+
export declare const shippingPaymentType: {
|
|
1754
|
+
readonly Sender: "SENDER";
|
|
1755
|
+
readonly ThirdParty: "THIRD_PARTY";
|
|
1756
|
+
};
|
|
1757
|
+
export type ShippingPaymentType = (typeof shippingPaymentType)[keyof typeof shippingPaymentType];
|
|
1691
1758
|
export declare const shippingRateCalculation: {
|
|
1692
1759
|
readonly Fixed: "FIXED";
|
|
1693
1760
|
readonly PerUnit: "PER_UNIT";
|
|
@@ -2034,6 +2101,29 @@ export type ShipmentRatingFragment = {
|
|
|
2034
2101
|
maxTransitAt: string | null;
|
|
2035
2102
|
minTransitAt: string | null;
|
|
2036
2103
|
};
|
|
2104
|
+
export type FulfillmentCenterQuery = {
|
|
2105
|
+
fulfillmentCenters: Array<{
|
|
2106
|
+
name: string;
|
|
2107
|
+
party: {
|
|
2108
|
+
location: {
|
|
2109
|
+
administrativeArea: string | null;
|
|
2110
|
+
administrativeAreaCode: string | null;
|
|
2111
|
+
countryCode: CountryCode;
|
|
2112
|
+
latitude: number | null;
|
|
2113
|
+
line1: string | null;
|
|
2114
|
+
line2: string | null;
|
|
2115
|
+
line3: string | null;
|
|
2116
|
+
line4: string | null;
|
|
2117
|
+
locality: string | null;
|
|
2118
|
+
longitude: number | null;
|
|
2119
|
+
plusCode: string | null;
|
|
2120
|
+
postalCode: string | null;
|
|
2121
|
+
propertyType: PropertyType | null;
|
|
2122
|
+
} | null;
|
|
2123
|
+
};
|
|
2124
|
+
type: FulfillmentCenterType | null;
|
|
2125
|
+
} | null> | null;
|
|
2126
|
+
};
|
|
2037
2127
|
export type CheckItemRestrictionsMutation = {
|
|
2038
2128
|
itemRestrictionApply: {
|
|
2039
2129
|
id: string;
|
|
@@ -2276,7 +2366,7 @@ export type ZonosSettingsQuery = {
|
|
|
2276
2366
|
}>;
|
|
2277
2367
|
createdAt: string;
|
|
2278
2368
|
createdBy: string;
|
|
2279
|
-
|
|
2369
|
+
status: CheckoutStatus;
|
|
2280
2370
|
id: string;
|
|
2281
2371
|
mode: Mode;
|
|
2282
2372
|
orderNotifications: {
|
|
@@ -2303,7 +2393,8 @@ export type ZonosSettingsQuery = {
|
|
|
2303
2393
|
};
|
|
2304
2394
|
organization: string;
|
|
2305
2395
|
placeOrderButtonSelector: string | null;
|
|
2306
|
-
|
|
2396
|
+
successRedirectUrl: string;
|
|
2397
|
+
subscriptionStatus: CheckoutSubscriptionStatus;
|
|
2307
2398
|
successBehavior: CheckoutSuccessBehavior;
|
|
2308
2399
|
externalServiceTokens: Array<{
|
|
2309
2400
|
token: string;
|
|
@@ -2311,6 +2402,7 @@ export type ZonosSettingsQuery = {
|
|
|
2311
2402
|
}>;
|
|
2312
2403
|
updatedAt: string;
|
|
2313
2404
|
updatedBy: string;
|
|
2405
|
+
visibilityStatus: CheckoutVisibilityStatus;
|
|
2314
2406
|
} | null;
|
|
2315
2407
|
helloSettings: {
|
|
2316
2408
|
allowedDomains: Array<string>;
|
|
@@ -2357,10 +2449,7 @@ export type CheckoutSettingFragment = {
|
|
|
2357
2449
|
}>;
|
|
2358
2450
|
createdAt: string;
|
|
2359
2451
|
createdBy: string;
|
|
2360
|
-
|
|
2361
|
-
token: string;
|
|
2362
|
-
type: ExternalServiceTokenType;
|
|
2363
|
-
}>;
|
|
2452
|
+
successRedirectUrl: string;
|
|
2364
2453
|
id: string;
|
|
2365
2454
|
mode: Mode;
|
|
2366
2455
|
orderNotifications: {
|
|
@@ -2388,10 +2477,15 @@ export type CheckoutSettingFragment = {
|
|
|
2388
2477
|
organization: string;
|
|
2389
2478
|
placeOrderButtonSelector: string | null;
|
|
2390
2479
|
status: CheckoutStatus;
|
|
2480
|
+
subscriptionStatus: CheckoutSubscriptionStatus;
|
|
2391
2481
|
successBehavior: CheckoutSuccessBehavior;
|
|
2392
|
-
|
|
2482
|
+
externalServiceTokens: Array<{
|
|
2483
|
+
token: string;
|
|
2484
|
+
type: ExternalServiceTokenType;
|
|
2485
|
+
}>;
|
|
2393
2486
|
updatedAt: string;
|
|
2394
2487
|
updatedBy: string;
|
|
2488
|
+
visibilityStatus: CheckoutVisibilityStatus;
|
|
2395
2489
|
};
|
|
2396
2490
|
export type HelloSettingFragment = {
|
|
2397
2491
|
allowedDomains: Array<string>;
|
|
@@ -2461,6 +2555,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
2461
2555
|
ExchangeRateCreate(variables?: {
|
|
2462
2556
|
[x: string]: never;
|
|
2463
2557
|
} | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<ExchangeRateCreateMutation>;
|
|
2558
|
+
FulfillmentCenter(variables?: {
|
|
2559
|
+
[x: string]: never;
|
|
2560
|
+
} | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<FulfillmentCenterQuery>;
|
|
2464
2561
|
OnlineStoreSettings(variables?: {
|
|
2465
2562
|
[x: string]: never;
|
|
2466
2563
|
} | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<OnlineStoreSettingsQuery>;
|