@zonos/elements 1.0.16
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/LICENSE +21 -0
- package/README.md +22 -0
- package/dist/cjs/cart-e27fd17c.js +607 -0
- package/dist/cjs/cart-e27fd17c.js.map +1 -0
- package/dist/cjs/classes-b7918f56.js +16 -0
- package/dist/cjs/classes-b7918f56.js.map +1 -0
- package/dist/cjs/getBorderRadius-2904800c.js +20 -0
- package/dist/cjs/getBorderRadius-2904800c.js.map +1 -0
- package/dist/cjs/getHasMoreSpaceOnRight-2855491b.js +12 -0
- package/dist/cjs/getHasMoreSpaceOnRight-2855491b.js.map +1 -0
- package/dist/cjs/index-9542d2e7.js +1917 -0
- package/dist/cjs/index-9542d2e7.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/isColorVariable-c1ed7303.js +18 -0
- package/dist/cjs/isColorVariable-c1ed7303.js.map +1 -0
- package/dist/cjs/isDarkColor-a86b8a05.js +1199 -0
- package/dist/cjs/isDarkColor-a86b8a05.js.map +1 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/localization-f6a1b679.js +3387 -0
- package/dist/cjs/localization-f6a1b679.js.map +1 -0
- package/dist/cjs/submitGtag-b1b96579.js +29 -0
- package/dist/cjs/submitGtag-b1b96579.js.map +1 -0
- package/dist/cjs/zonos-address_2.cjs.entry.js +126 -0
- package/dist/cjs/zonos-address_2.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-badge.cjs.entry.js +36 -0
- package/dist/cjs/zonos-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-banner_2.cjs.entry.js +120 -0
- package/dist/cjs/zonos-banner_2.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-button_2.cjs.entry.js +129 -0
- package/dist/cjs/zonos-button_2.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-card_2.cjs.entry.js +47 -0
- package/dist/cjs/zonos-card_2.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-cart-items_10.cjs.entry.js +505 -0
- package/dist/cjs/zonos-cart-items_10.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-checkout.cjs.entry.js +337 -0
- package/dist/cjs/zonos-checkout.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-component.cjs.entry.js +31 -0
- package/dist/cjs/zonos-component.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-controller.cjs.entry.js +169 -0
- package/dist/cjs/zonos-controller.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-country-flag_4.cjs.entry.js +1902 -0
- package/dist/cjs/zonos-country-flag_4.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-elements.cjs.js +25 -0
- package/dist/cjs/zonos-elements.cjs.js.map +1 -0
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +115 -0
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-hello.cjs.entry.js +485 -0
- package/dist/cjs/zonos-hello.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-icon.cjs.entry.js +34 -0
- package/dist/cjs/zonos-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-notification.cjs.entry.js +71 -0
- package/dist/cjs/zonos-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +54 -0
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-text.cjs.entry.js +160 -0
- package/dist/cjs/zonos-text.cjs.entry.js.map +1 -0
- package/dist/cjs/zonosStore-960e5542.js +2650 -0
- package/dist/cjs/zonosStore-960e5542.js.map +1 -0
- package/dist/collection/collection-manifest.json +43 -0
- package/dist/collection/components/checkout/zonos-checkout/assets/LeftArrow.svg +1 -0
- package/dist/collection/components/checkout/zonos-checkout/assets/MessageIcon.svg +3 -0
- package/dist/collection/components/checkout/zonos-checkout/assets/RemoveIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/assets/empty-item.jpeg +0 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.css +49 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +41 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js.map +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/assets/InfoIcon.svg +4 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.css +58 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +53 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js.map +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/assets/RemoveIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/assets/SuccessIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.css +57 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +173 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js.map +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +63 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +161 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js.map +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +207 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +562 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js.map +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +63 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +163 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js.map +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/assets/ChevronDownIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/assets/ChevronUpIcon.svg +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +49 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +122 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js.map +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +69 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +176 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js.map +1 -0
- package/dist/collection/components/common/countries.js +267 -0
- package/dist/collection/components/common/countries.js.map +1 -0
- package/dist/collection/components/common/zonos-badge/zonos-badge.css +108 -0
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +192 -0
- package/dist/collection/components/common/zonos-badge/zonos-badge.js.map +1 -0
- package/dist/collection/components/common/zonos-banner/zonos-banner.css +68 -0
- package/dist/collection/components/common/zonos-banner/zonos-banner.js +135 -0
- package/dist/collection/components/common/zonos-banner/zonos-banner.js.map +1 -0
- package/dist/collection/components/common/zonos-button/zonos-button.css +245 -0
- package/dist/collection/components/common/zonos-button/zonos-button.js +418 -0
- package/dist/collection/components/common/zonos-button/zonos-button.js.map +1 -0
- package/dist/collection/components/common/zonos-card/zonos-card.css +67 -0
- package/dist/collection/components/common/zonos-card/zonos-card.js +169 -0
- package/dist/collection/components/common/zonos-card/zonos-card.js.map +1 -0
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.css +43 -0
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +88 -0
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js.map +1 -0
- package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.css +48 -0
- package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +106 -0
- package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js.map +1 -0
- package/dist/collection/components/common/zonos-country-select/assets/arrowLeftBlue.svg +1 -0
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +76 -0
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +79 -0
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js.map +1 -0
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.css +38 -0
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +63 -0
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js.map +1 -0
- package/dist/collection/components/common/zonos-dialog/assets/removeIcon.svg +1 -0
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +150 -0
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +383 -0
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js.map +1 -0
- package/dist/collection/components/common/zonos-icon/zonos-icon.css +38 -0
- package/dist/collection/components/common/zonos-icon/zonos-icon.js +127 -0
- package/dist/collection/components/common/zonos-icon/zonos-icon.js.map +1 -0
- package/dist/collection/components/common/zonos-logo/assets/ZonosLogo.png +0 -0
- package/dist/collection/components/common/zonos-logo/zonos-logo.css +36 -0
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +96 -0
- package/dist/collection/components/common/zonos-logo/zonos-logo.js.map +1 -0
- package/dist/collection/components/common/zonos-notification/zonos-notification.css +67 -0
- package/dist/collection/components/common/zonos-notification/zonos-notification.js +131 -0
- package/dist/collection/components/common/zonos-notification/zonos-notification.js.map +1 -0
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.css +70 -0
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +176 -0
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js.map +1 -0
- package/dist/collection/components/common/zonos-spinner/zonos-spinner.css +104 -0
- package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +78 -0
- package/dist/collection/components/common/zonos-spinner/zonos-spinner.js.map +1 -0
- package/dist/collection/components/common/zonos-text/zonos-text.css +80 -0
- package/dist/collection/components/common/zonos-text/zonos-text.js +199 -0
- package/dist/collection/components/common/zonos-text/zonos-text.js.map +1 -0
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.css +35 -0
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +74 -0
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js.map +1 -0
- package/dist/collection/components/component-template/zonos-component/zonos-component.css +33 -0
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +86 -0
- package/dist/collection/components/component-template/zonos-component/zonos-component.js.map +1 -0
- package/dist/collection/components/hello/zonos-hello/zonos-hello.css +262 -0
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +342 -0
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js.map +1 -0
- package/dist/collection/components/hello/zonos-hello-dialog/assets/bagIcon.svg +3 -0
- package/dist/collection/components/hello/zonos-hello-dialog/assets/messageIcon.svg +3 -0
- package/dist/collection/components/hello/zonos-hello-dialog/assets/moneyIcon.svg +3 -0
- package/dist/collection/components/hello/zonos-hello-dialog/assets/removeIcon.svg +1 -0
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/assets/chevronDownIcon.svg +1 -0
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/assets/zonosIcon.svg +5 -0
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +522 -0
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +82 -0
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js.map +1 -0
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +162 -0
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +255 -0
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js.map +1 -0
- package/dist/collection/components/main/zonos-controller.css +34 -0
- package/dist/collection/components/main/zonos-controller.js +287 -0
- package/dist/collection/components/main/zonos-controller.js.map +1 -0
- package/dist/collection/components/store/checkout/cart.js +198 -0
- package/dist/collection/components/store/checkout/cart.js.map +1 -0
- package/dist/collection/components/store/checkout/stripe.js +309 -0
- package/dist/collection/components/store/checkout/stripe.js.map +1 -0
- package/dist/collection/components/store/hello/localization.js +120 -0
- package/dist/collection/components/store/hello/localization.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.arabic.js +141 -0
- package/dist/collection/components/store/translationStore/strings.arabic.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.base.js +141 -0
- package/dist/collection/components/store/translationStore/strings.base.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +141 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +141 -0
- package/dist/collection/components/store/translationStore/strings.danish.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +141 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.french.js +141 -0
- package/dist/collection/components/store/translationStore/strings.french.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.german.js +141 -0
- package/dist/collection/components/store/translationStore/strings.german.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +141 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +141 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +141 -0
- package/dist/collection/components/store/translationStore/strings.italian.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +141 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +141 -0
- package/dist/collection/components/store/translationStore/strings.korean.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +141 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +141 -0
- package/dist/collection/components/store/translationStore/strings.polish.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +141 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +141 -0
- package/dist/collection/components/store/translationStore/strings.russian.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +141 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +141 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +141 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js.map +1 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +141 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js.map +1 -0
- package/dist/collection/components/store/translationStore.js +94 -0
- package/dist/collection/components/store/translationStore.js.map +1 -0
- package/dist/collection/components/store/zonosStore.js +102 -0
- package/dist/collection/components/store/zonosStore.js.map +1 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.css +32 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +151 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js.map +1 -0
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.css +32 -0
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +87 -0
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js.map +1 -0
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.css +32 -0
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +92 -0
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js.map +1 -0
- package/dist/collection/components/utils/addDays.js +12 -0
- package/dist/collection/components/utils/addDays.js.map +1 -0
- package/dist/collection/components/utils/api/calculateLandedCost.js +16 -0
- package/dist/collection/components/utils/api/calculateLandedCost.js.map +1 -0
- package/dist/collection/components/utils/api/getCountries.js +16 -0
- package/dist/collection/components/utils/api/getCountries.js.map +1 -0
- package/dist/collection/components/utils/api/getCountryLandedCost.js +16 -0
- package/dist/collection/components/utils/api/getCountryLandedCost.js.map +1 -0
- package/dist/collection/components/utils/api/getExchangeRate.js +18 -0
- package/dist/collection/components/utils/api/getExchangeRate.js.map +1 -0
- package/dist/collection/components/utils/api/getLocaleMessages.js +13 -0
- package/dist/collection/components/utils/api/getLocaleMessages.js.map +1 -0
- package/dist/collection/components/utils/api/getLocalization.js +22 -0
- package/dist/collection/components/utils/api/getLocalization.js.map +1 -0
- package/dist/collection/components/utils/api/getShippingZones.js +14 -0
- package/dist/collection/components/utils/api/getShippingZones.js.map +1 -0
- package/dist/collection/components/utils/api/getZonosSetting.js +12 -0
- package/dist/collection/components/utils/api/getZonosSetting.js.map +1 -0
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js +39 -0
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js.map +1 -0
- package/dist/collection/components/utils/changeDeepProperty.js +43 -0
- package/dist/collection/components/utils/changeDeepProperty.js.map +1 -0
- package/dist/collection/components/utils/changeDeepPropertyAtIndex.js +66 -0
- package/dist/collection/components/utils/changeDeepPropertyAtIndex.js.map +1 -0
- package/dist/collection/components/utils/checkout/initCheckout.js +25 -0
- package/dist/collection/components/utils/checkout/initCheckout.js.map +1 -0
- package/dist/collection/components/utils/checkout/isCheckoutMobile.js +5 -0
- package/dist/collection/components/utils/checkout/isCheckoutMobile.js.map +1 -0
- package/dist/collection/components/utils/classes.js +11 -0
- package/dist/collection/components/utils/classes.js.map +1 -0
- package/dist/collection/components/utils/darkenColor.js +8 -0
- package/dist/collection/components/utils/darkenColor.js.map +1 -0
- package/dist/collection/components/utils/formatCurrency.js +10 -0
- package/dist/collection/components/utils/formatCurrency.js.map +1 -0
- package/dist/collection/components/utils/formatDate.js +5 -0
- package/dist/collection/components/utils/formatDate.js.map +1 -0
- package/dist/collection/components/utils/getBorderRadius.js +14 -0
- package/dist/collection/components/utils/getBorderRadius.js.map +1 -0
- package/dist/collection/components/utils/getButtonTheme.js +17 -0
- package/dist/collection/components/utils/getButtonTheme.js.map +1 -0
- package/dist/collection/components/utils/getDaysDifference.js +7 -0
- package/dist/collection/components/utils/getDaysDifference.js.map +1 -0
- package/dist/collection/components/utils/handleFetch.js +89 -0
- package/dist/collection/components/utils/handleFetch.js.map +1 -0
- package/dist/collection/components/utils/hello/currencyConversion/currencyConvert.js +13 -0
- package/dist/collection/components/utils/hello/currencyConversion/currencyConvert.js.map +1 -0
- package/dist/collection/components/utils/hello/currencyConversion/currencyConvertAndFormat.js +8 -0
- package/dist/collection/components/utils/hello/currencyConversion/currencyConvertAndFormat.js.map +1 -0
- package/dist/collection/components/utils/hello/currencyConversion/currencyDisplay.js +18 -0
- package/dist/collection/components/utils/hello/currencyConversion/currencyDisplay.js.map +1 -0
- package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js +33 -0
- package/dist/collection/components/utils/hello/currencyConversion/currencyFormat.js.map +1 -0
- package/dist/collection/components/utils/hello/currencyConversion/defaultCurrencyConverter.js +48 -0
- package/dist/collection/components/utils/hello/currencyConversion/defaultCurrencyConverter.js.map +1 -0
- package/dist/collection/components/utils/hello/currencyConversion/getCurrencyCode.js +10 -0
- package/dist/collection/components/utils/hello/currencyConversion/getCurrencyCode.js.map +1 -0
- package/dist/collection/components/utils/hello/currencyConversion/getCurrencyElements.js +19 -0
- package/dist/collection/components/utils/hello/currencyConversion/getCurrencyElements.js.map +1 -0
- package/dist/collection/components/utils/hello/currencyConversion/getInitialElementAmount.js +16 -0
- package/dist/collection/components/utils/hello/currencyConversion/getInitialElementAmount.js.map +1 -0
- package/dist/collection/components/utils/hello/currencyConversion/getLanguageCode.js +10 -0
- package/dist/collection/components/utils/hello/currencyConversion/getLanguageCode.js.map +1 -0
- package/dist/collection/components/utils/hello/getCurrentHelloLocalePage.js +20 -0
- package/dist/collection/components/utils/hello/getCurrentHelloLocalePage.js.map +1 -0
- package/dist/collection/components/utils/hello/getHasMoreSpaceOnRight.js +10 -0
- package/dist/collection/components/utils/hello/getHasMoreSpaceOnRight.js.map +1 -0
- package/dist/collection/components/utils/hello/initHello.js +23 -0
- package/dist/collection/components/utils/hello/initHello.js.map +1 -0
- package/dist/collection/components/utils/isColorVariable.js +13 -0
- package/dist/collection/components/utils/isColorVariable.js.map +1 -0
- package/dist/collection/components/utils/isDarkColor.js +5 -0
- package/dist/collection/components/utils/isDarkColor.js.map +1 -0
- package/dist/collection/components/utils/isValidSelector.js +17 -0
- package/dist/collection/components/utils/isValidSelector.js.map +1 -0
- package/dist/collection/components/utils/jsonParse.js +14 -0
- package/dist/collection/components/utils/jsonParse.js.map +1 -0
- package/dist/collection/components/utils/lightenColor.js +8 -0
- package/dist/collection/components/utils/lightenColor.js.map +1 -0
- package/dist/collection/components/utils/logging/log.js +25 -0
- package/dist/collection/components/utils/logging/log.js.map +1 -0
- package/dist/collection/components/utils/logging/logError.js +5 -0
- package/dist/collection/components/utils/logging/logError.js.map +1 -0
- package/dist/collection/components/utils/mergeConfig.js +12 -0
- package/dist/collection/components/utils/mergeConfig.js.map +1 -0
- package/dist/collection/components/utils/submitGtag.js +17 -0
- package/dist/collection/components/utils/submitGtag.js.map +1 -0
- package/dist/collection/environment.js +68 -0
- package/dist/collection/environment.js.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/scripts/loadStripe.js +17 -0
- package/dist/collection/scripts/loadStripe.js.map +1 -0
- package/dist/collection/scripts/stripe.js +115 -0
- package/dist/collection/scripts/stripe.js.map +1 -0
- package/dist/collection/scripts/zonos.js +164 -0
- package/dist/collection/scripts/zonos.js.map +1 -0
- package/dist/collection/styles/stripe/addressRuleStyle.js +17 -0
- package/dist/collection/styles/stripe/addressRuleStyle.js.map +1 -0
- package/dist/collection/styles/stripe/defaultVariable.js +18 -0
- package/dist/collection/styles/stripe/defaultVariable.js.map +1 -0
- package/dist/collection/types/ICountryJson.js +2 -0
- package/dist/collection/types/ICountryJson.js.map +1 -0
- package/dist/collection/types/JsonError.js +2 -0
- package/dist/collection/types/JsonError.js.map +1 -0
- package/dist/collection/types/NoInfer.js +2 -0
- package/dist/collection/types/NoInfer.js.map +1 -0
- package/dist/collection/types/Translation.js +2 -0
- package/dist/collection/types/Translation.js.map +1 -0
- package/dist/collection/types/checkout/CheckoutConfig.js +2 -0
- package/dist/collection/types/checkout/CheckoutConfig.js.map +1 -0
- package/dist/collection/types/checkout/api/CalculateLandedCostRequest.js +2 -0
- package/dist/collection/types/checkout/api/CalculateLandedCostRequest.js.map +1 -0
- package/dist/collection/types/generated/graphql.customer.types.js +1634 -0
- package/dist/collection/types/generated/graphql.customer.types.js.map +1 -0
- package/dist/collection/types/generated/graphql.frontend.types.js +396 -0
- package/dist/collection/types/generated/graphql.frontend.types.js.map +1 -0
- package/dist/collection/types/hello/HelloConfig.js +2 -0
- package/dist/collection/types/hello/HelloConfig.js.map +1 -0
- package/dist/collection/types/index.js +12 -0
- package/dist/collection/types/index.js.map +1 -0
- package/dist/collection/types/online-store/OnlineStoreConfig.js +2 -0
- package/dist/collection/types/online-store/OnlineStoreConfig.js.map +1 -0
- package/dist/collection/types/stripe/Apperance.js +60 -0
- package/dist/collection/types/stripe/Apperance.js.map +1 -0
- package/dist/collection/types/styles/Color.js +23 -0
- package/dist/collection/types/styles/Color.js.map +1 -0
- package/dist/collection/types/styles/GridSpacing.js +2 -0
- package/dist/collection/types/styles/GridSpacing.js.map +1 -0
- package/dist/collection/types/styles/Text.js +100 -0
- package/dist/collection/types/styles/Text.js.map +1 -0
- package/dist/collection/types/utils/deep/IDeepKeyof.js +4 -0
- package/dist/collection/types/utils/deep/IDeepKeyof.js.map +1 -0
- package/dist/collection/types/utils/deep/IDeepKeyofAtIndex.js +2 -0
- package/dist/collection/types/utils/deep/IDeepKeyofAtIndex.js.map +1 -0
- package/dist/collection/utils/format.js +4 -0
- package/dist/collection/utils/format.js.map +1 -0
- package/dist/collection/utils/generateVercelDeployUrl.js +29 -0
- package/dist/collection/utils/generateVercelDeployUrl.js.map +1 -0
- package/dist/components/classes.js +14 -0
- package/dist/components/classes.js.map +1 -0
- package/dist/components/formatCurrency.js +13 -0
- package/dist/components/formatCurrency.js.map +1 -0
- package/dist/components/getBorderRadius.js +18 -0
- package/dist/components/getBorderRadius.js.map +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/isColorVariable.js +16 -0
- package/dist/components/isColorVariable.js.map +1 -0
- package/dist/components/isDarkColor.js +1197 -0
- package/dist/components/isDarkColor.js.map +1 -0
- package/dist/components/localization.js +3374 -0
- package/dist/components/localization.js.map +1 -0
- package/dist/components/stripe.js +591 -0
- package/dist/components/stripe.js.map +1 -0
- package/dist/components/submitGtag.js +21 -0
- package/dist/components/submitGtag.js.map +1 -0
- package/dist/components/zonos-address.d.ts +11 -0
- package/dist/components/zonos-address.js +8 -0
- package/dist/components/zonos-address.js.map +1 -0
- package/dist/components/zonos-address2.js +101 -0
- package/dist/components/zonos-address2.js.map +1 -0
- package/dist/components/zonos-badge.d.ts +11 -0
- package/dist/components/zonos-badge.js +8 -0
- package/dist/components/zonos-badge.js.map +1 -0
- package/dist/components/zonos-badge2.js +55 -0
- package/dist/components/zonos-badge2.js.map +1 -0
- package/dist/components/zonos-banner.d.ts +11 -0
- package/dist/components/zonos-banner.js +8 -0
- package/dist/components/zonos-banner.js.map +1 -0
- package/dist/components/zonos-banner2.js +90 -0
- package/dist/components/zonos-banner2.js.map +1 -0
- package/dist/components/zonos-button.d.ts +11 -0
- package/dist/components/zonos-button.js +8 -0
- package/dist/components/zonos-button.js.map +1 -0
- package/dist/components/zonos-button2.js +144 -0
- package/dist/components/zonos-button2.js.map +1 -0
- package/dist/components/zonos-card.d.ts +11 -0
- package/dist/components/zonos-card.js +8 -0
- package/dist/components/zonos-card.js.map +1 -0
- package/dist/components/zonos-card2.js +51 -0
- package/dist/components/zonos-card2.js.map +1 -0
- package/dist/components/zonos-cart-items.d.ts +11 -0
- package/dist/components/zonos-cart-items.js +8 -0
- package/dist/components/zonos-cart-items.js.map +1 -0
- package/dist/components/zonos-cart-items2.js +55 -0
- package/dist/components/zonos-cart-items2.js.map +1 -0
- package/dist/components/zonos-cart-subtotal.d.ts +11 -0
- package/dist/components/zonos-cart-subtotal.js +8 -0
- package/dist/components/zonos-cart-subtotal.js.map +1 -0
- package/dist/components/zonos-cart-subtotal2.js +87 -0
- package/dist/components/zonos-cart-subtotal2.js.map +1 -0
- package/dist/components/zonos-checkout-finish.d.ts +11 -0
- package/dist/components/zonos-checkout-finish.js +8 -0
- package/dist/components/zonos-checkout-finish.js.map +1 -0
- package/dist/components/zonos-checkout-finish2.js +119 -0
- package/dist/components/zonos-checkout-finish2.js.map +1 -0
- package/dist/components/zonos-checkout-payment.d.ts +11 -0
- package/dist/components/zonos-checkout-payment.js +8 -0
- package/dist/components/zonos-checkout-payment.js.map +1 -0
- package/dist/components/zonos-checkout-payment2.js +104 -0
- package/dist/components/zonos-checkout-payment2.js.map +1 -0
- package/dist/components/zonos-checkout.d.ts +11 -0
- package/dist/components/zonos-checkout.js +510 -0
- package/dist/components/zonos-checkout.js.map +1 -0
- package/dist/components/zonos-collapse.d.ts +11 -0
- package/dist/components/zonos-collapse.js +8 -0
- package/dist/components/zonos-collapse.js.map +1 -0
- package/dist/components/zonos-collapse2.js +57 -0
- package/dist/components/zonos-collapse2.js.map +1 -0
- package/dist/components/zonos-component.d.ts +11 -0
- package/dist/components/zonos-component.js +49 -0
- package/dist/components/zonos-component.js.map +1 -0
- package/dist/components/zonos-controller.d.ts +11 -0
- package/dist/components/zonos-controller.js +200 -0
- package/dist/components/zonos-controller.js.map +1 -0
- package/dist/components/zonos-country-flag.d.ts +11 -0
- package/dist/components/zonos-country-flag.js +8 -0
- package/dist/components/zonos-country-flag.js.map +1 -0
- package/dist/components/zonos-country-flag2.js +52 -0
- package/dist/components/zonos-country-flag2.js.map +1 -0
- package/dist/components/zonos-country-select.d.ts +11 -0
- package/dist/components/zonos-country-select.js +8 -0
- package/dist/components/zonos-country-select.js.map +1 -0
- package/dist/components/zonos-country-select2.js +1878 -0
- package/dist/components/zonos-country-select2.js.map +1 -0
- package/dist/components/zonos-custom-message.d.ts +11 -0
- package/dist/components/zonos-custom-message.js +8 -0
- package/dist/components/zonos-custom-message.js.map +1 -0
- package/dist/components/zonos-custom-message2.js +55 -0
- package/dist/components/zonos-custom-message2.js.map +1 -0
- package/dist/components/zonos-customer-info.d.ts +11 -0
- package/dist/components/zonos-customer-info.js +8 -0
- package/dist/components/zonos-customer-info.js.map +1 -0
- package/dist/components/zonos-customer-info2.js +103 -0
- package/dist/components/zonos-customer-info2.js.map +1 -0
- package/dist/components/zonos-dialog.d.ts +11 -0
- package/dist/components/zonos-dialog.js +8 -0
- package/dist/components/zonos-dialog.js.map +1 -0
- package/dist/components/zonos-dialog2.js +123 -0
- package/dist/components/zonos-dialog2.js.map +1 -0
- package/dist/components/zonos-hello-dialog-footer.d.ts +11 -0
- package/dist/components/zonos-hello-dialog-footer.js +8 -0
- package/dist/components/zonos-hello-dialog-footer.js.map +1 -0
- package/dist/components/zonos-hello-dialog-footer2.js +71 -0
- package/dist/components/zonos-hello-dialog-footer2.js.map +1 -0
- package/dist/components/zonos-hello-dialog.d.ts +11 -0
- package/dist/components/zonos-hello-dialog.js +8 -0
- package/dist/components/zonos-hello-dialog.js.map +1 -0
- package/dist/components/zonos-hello-dialog2.js +202 -0
- package/dist/components/zonos-hello-dialog2.js.map +1 -0
- package/dist/components/zonos-hello.d.ts +11 -0
- package/dist/components/zonos-hello.js +576 -0
- package/dist/components/zonos-hello.js.map +1 -0
- package/dist/components/zonos-icon.d.ts +11 -0
- package/dist/components/zonos-icon.js +8 -0
- package/dist/components/zonos-icon.js.map +1 -0
- package/dist/components/zonos-icon2.js +50 -0
- package/dist/components/zonos-icon2.js.map +1 -0
- package/dist/components/zonos-link-authentication.d.ts +11 -0
- package/dist/components/zonos-link-authentication.js +8 -0
- package/dist/components/zonos-link-authentication.js.map +1 -0
- package/dist/components/zonos-link-authentication2.js +75 -0
- package/dist/components/zonos-link-authentication2.js.map +1 -0
- package/dist/components/zonos-logo.d.ts +11 -0
- package/dist/components/zonos-logo.js +8 -0
- package/dist/components/zonos-logo.js.map +1 -0
- package/dist/components/zonos-logo2.js +47 -0
- package/dist/components/zonos-logo2.js.map +1 -0
- package/dist/components/zonos-notification.d.ts +11 -0
- package/dist/components/zonos-notification.js +8 -0
- package/dist/components/zonos-notification.js.map +1 -0
- package/dist/components/zonos-notification2.js +92 -0
- package/dist/components/zonos-notification2.js.map +1 -0
- package/dist/components/zonos-payment.d.ts +11 -0
- package/dist/components/zonos-payment.js +8 -0
- package/dist/components/zonos-payment.js.map +1 -0
- package/dist/components/zonos-payment2.js +79 -0
- package/dist/components/zonos-payment2.js.map +1 -0
- package/dist/components/zonos-review.d.ts +11 -0
- package/dist/components/zonos-review.js +8 -0
- package/dist/components/zonos-review.js.map +1 -0
- package/dist/components/zonos-review2.js +98 -0
- package/dist/components/zonos-review2.js.map +1 -0
- package/dist/components/zonos-shipping-rich-radio.d.ts +11 -0
- package/dist/components/zonos-shipping-rich-radio.js +8 -0
- package/dist/components/zonos-shipping-rich-radio.js.map +1 -0
- package/dist/components/zonos-shipping-rich-radio2.js +77 -0
- package/dist/components/zonos-shipping-rich-radio2.js.map +1 -0
- package/dist/components/zonos-shipping.d.ts +11 -0
- package/dist/components/zonos-shipping.js +8 -0
- package/dist/components/zonos-shipping.js.map +1 -0
- package/dist/components/zonos-shipping2.js +136 -0
- package/dist/components/zonos-shipping2.js.map +1 -0
- package/dist/components/zonos-spinner.d.ts +11 -0
- package/dist/components/zonos-spinner.js +8 -0
- package/dist/components/zonos-spinner.js.map +1 -0
- package/dist/components/zonos-spinner2.js +44 -0
- package/dist/components/zonos-spinner2.js.map +1 -0
- package/dist/components/zonos-text.d.ts +11 -0
- package/dist/components/zonos-text.js +8 -0
- package/dist/components/zonos-text.js.map +1 -0
- package/dist/components/zonos-text2.js +179 -0
- package/dist/components/zonos-text2.js.map +1 -0
- package/dist/components/zonos-v-stack.d.ts +11 -0
- package/dist/components/zonos-v-stack.js +8 -0
- package/dist/components/zonos-v-stack.js.map +1 -0
- package/dist/components/zonos-v-stack2.js +38 -0
- package/dist/components/zonos-v-stack2.js.map +1 -0
- package/dist/components/zonosStore.js +2639 -0
- package/dist/components/zonosStore.js.map +1 -0
- package/dist/esm/cart-36c33342.js +591 -0
- package/dist/esm/cart-36c33342.js.map +1 -0
- package/dist/esm/classes-0d95c529.js +14 -0
- package/dist/esm/classes-0d95c529.js.map +1 -0
- package/dist/esm/getBorderRadius-82fbaf25.js +18 -0
- package/dist/esm/getBorderRadius-82fbaf25.js.map +1 -0
- package/dist/esm/getHasMoreSpaceOnRight-feba1ae2.js +10 -0
- package/dist/esm/getHasMoreSpaceOnRight-feba1ae2.js.map +1 -0
- package/dist/esm/index-d1aa9293.js +1884 -0
- package/dist/esm/index-d1aa9293.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isColorVariable-4cda28c9.js +16 -0
- package/dist/esm/isColorVariable-4cda28c9.js.map +1 -0
- package/dist/esm/isDarkColor-b21326ae.js +1197 -0
- package/dist/esm/isDarkColor-b21326ae.js.map +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/localization-4a424f49.js +3374 -0
- package/dist/esm/localization-4a424f49.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/submitGtag-fbdb454b.js +26 -0
- package/dist/esm/submitGtag-fbdb454b.js.map +1 -0
- package/dist/esm/zonos-address_2.entry.js +121 -0
- package/dist/esm/zonos-address_2.entry.js.map +1 -0
- package/dist/esm/zonos-badge.entry.js +32 -0
- package/dist/esm/zonos-badge.entry.js.map +1 -0
- package/dist/esm/zonos-banner_2.entry.js +115 -0
- package/dist/esm/zonos-banner_2.entry.js.map +1 -0
- package/dist/esm/zonos-button_2.entry.js +124 -0
- package/dist/esm/zonos-button_2.entry.js.map +1 -0
- package/dist/esm/zonos-card_2.entry.js +42 -0
- package/dist/esm/zonos-card_2.entry.js.map +1 -0
- package/dist/esm/zonos-cart-items_10.entry.js +492 -0
- package/dist/esm/zonos-cart-items_10.entry.js.map +1 -0
- package/dist/esm/zonos-checkout.entry.js +333 -0
- package/dist/esm/zonos-checkout.entry.js.map +1 -0
- package/dist/esm/zonos-component.entry.js +27 -0
- package/dist/esm/zonos-component.entry.js.map +1 -0
- package/dist/esm/zonos-controller.entry.js +165 -0
- package/dist/esm/zonos-controller.entry.js.map +1 -0
- package/dist/esm/zonos-country-flag_4.entry.js +1895 -0
- package/dist/esm/zonos-country-flag_4.entry.js.map +1 -0
- package/dist/esm/zonos-elements.js +20 -0
- package/dist/esm/zonos-elements.js.map +1 -0
- package/dist/esm/zonos-hello-dialog.entry.js +111 -0
- package/dist/esm/zonos-hello-dialog.entry.js.map +1 -0
- package/dist/esm/zonos-hello.entry.js +481 -0
- package/dist/esm/zonos-hello.entry.js.map +1 -0
- package/dist/esm/zonos-icon.entry.js +30 -0
- package/dist/esm/zonos-icon.entry.js.map +1 -0
- package/dist/esm/zonos-notification.entry.js +67 -0
- package/dist/esm/zonos-notification.entry.js.map +1 -0
- package/dist/esm/zonos-shipping-rich-radio.entry.js +50 -0
- package/dist/esm/zonos-shipping-rich-radio.entry.js.map +1 -0
- package/dist/esm/zonos-text.entry.js +156 -0
- package/dist/esm/zonos-text.entry.js.map +1 -0
- package/dist/esm/zonosStore-13a7b534.js +2639 -0
- package/dist/esm/zonosStore-13a7b534.js.map +1 -0
- package/dist/esm-es5/cart-36c33342.js +2 -0
- package/dist/esm-es5/cart-36c33342.js.map +1 -0
- package/dist/esm-es5/classes-0d95c529.js +2 -0
- package/dist/esm-es5/classes-0d95c529.js.map +1 -0
- package/dist/esm-es5/getBorderRadius-82fbaf25.js +2 -0
- package/dist/esm-es5/getBorderRadius-82fbaf25.js.map +1 -0
- package/dist/esm-es5/getHasMoreSpaceOnRight-feba1ae2.js +2 -0
- package/dist/esm-es5/getHasMoreSpaceOnRight-feba1ae2.js.map +1 -0
- package/dist/esm-es5/index-d1aa9293.js +3 -0
- package/dist/esm-es5/index-d1aa9293.js.map +1 -0
- package/dist/esm-es5/index.js +2 -0
- package/dist/esm-es5/index.js.map +1 -0
- package/dist/esm-es5/isColorVariable-4cda28c9.js +2 -0
- package/dist/esm-es5/isColorVariable-4cda28c9.js.map +1 -0
- package/dist/esm-es5/isDarkColor-b21326ae.js +2 -0
- package/dist/esm-es5/isDarkColor-b21326ae.js.map +1 -0
- package/dist/esm-es5/loader.js +2 -0
- package/dist/esm-es5/loader.js.map +1 -0
- package/dist/esm-es5/localization-4a424f49.js +2 -0
- package/dist/esm-es5/localization-4a424f49.js.map +1 -0
- package/dist/esm-es5/submitGtag-fbdb454b.js +2 -0
- package/dist/esm-es5/submitGtag-fbdb454b.js.map +1 -0
- package/dist/esm-es5/zonos-address_2.entry.js +2 -0
- package/dist/esm-es5/zonos-address_2.entry.js.map +1 -0
- package/dist/esm-es5/zonos-badge.entry.js +2 -0
- package/dist/esm-es5/zonos-badge.entry.js.map +1 -0
- package/dist/esm-es5/zonos-banner_2.entry.js +2 -0
- package/dist/esm-es5/zonos-banner_2.entry.js.map +1 -0
- package/dist/esm-es5/zonos-button_2.entry.js +2 -0
- package/dist/esm-es5/zonos-button_2.entry.js.map +1 -0
- package/dist/esm-es5/zonos-card_2.entry.js +2 -0
- package/dist/esm-es5/zonos-card_2.entry.js.map +1 -0
- package/dist/esm-es5/zonos-cart-items_10.entry.js +2 -0
- package/dist/esm-es5/zonos-cart-items_10.entry.js.map +1 -0
- package/dist/esm-es5/zonos-checkout.entry.js +2 -0
- package/dist/esm-es5/zonos-checkout.entry.js.map +1 -0
- package/dist/esm-es5/zonos-component.entry.js +2 -0
- package/dist/esm-es5/zonos-component.entry.js.map +1 -0
- package/dist/esm-es5/zonos-controller.entry.js +2 -0
- package/dist/esm-es5/zonos-controller.entry.js.map +1 -0
- package/dist/esm-es5/zonos-country-flag_4.entry.js +2 -0
- package/dist/esm-es5/zonos-country-flag_4.entry.js.map +1 -0
- package/dist/esm-es5/zonos-elements.js +2 -0
- package/dist/esm-es5/zonos-elements.js.map +1 -0
- package/dist/esm-es5/zonos-hello-dialog.entry.js +2 -0
- package/dist/esm-es5/zonos-hello-dialog.entry.js.map +1 -0
- package/dist/esm-es5/zonos-hello.entry.js +2 -0
- package/dist/esm-es5/zonos-hello.entry.js.map +1 -0
- package/dist/esm-es5/zonos-icon.entry.js +2 -0
- package/dist/esm-es5/zonos-icon.entry.js.map +1 -0
- package/dist/esm-es5/zonos-notification.entry.js +2 -0
- package/dist/esm-es5/zonos-notification.entry.js.map +1 -0
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +2 -0
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js.map +1 -0
- package/dist/esm-es5/zonos-text.entry.js +2 -0
- package/dist/esm-es5/zonos-text.entry.js.map +1 -0
- package/dist/esm-es5/zonosStore-13a7b534.js +2 -0
- package/dist/esm-es5/zonosStore-13a7b534.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.d.ts +4 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.d.ts +3 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +36 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.d.ts +34 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +86 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +35 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-review/zonos-review.d.ts +16 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +33 -0
- package/dist/types/components/common/countries.d.ts +3 -0
- package/dist/types/components/common/zonos-badge/zonos-badge.d.ts +38 -0
- package/dist/types/components/common/zonos-banner/zonos-banner.d.ts +24 -0
- package/dist/types/components/common/zonos-button/zonos-button.d.ts +96 -0
- package/dist/types/components/common/zonos-card/zonos-card.d.ts +31 -0
- package/dist/types/components/common/zonos-collapse/zonos-collapse.d.ts +16 -0
- package/dist/types/components/common/zonos-country-flag/zonos-country-flag.d.ts +19 -0
- package/dist/types/components/common/zonos-country-select/zonos-country-select.d.ts +11 -0
- package/dist/types/components/common/zonos-custom-message/zonos-custom-message.d.ts +11 -0
- package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +79 -0
- package/dist/types/components/common/zonos-icon/zonos-icon.d.ts +30 -0
- package/dist/types/components/common/zonos-logo/zonos-logo.d.ts +16 -0
- package/dist/types/components/common/zonos-notification/zonos-notification.d.ts +35 -0
- package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +41 -0
- package/dist/types/components/common/zonos-spinner/zonos-spinner.d.ts +14 -0
- package/dist/types/components/common/zonos-text/zonos-text.d.ts +34 -0
- package/dist/types/components/common/zonos-v-stack/zonos-v-stack.d.ts +13 -0
- package/dist/types/components/component-template/zonos-component/zonos-component.d.ts +16 -0
- package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +50 -0
- package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.d.ts +13 -0
- package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +40 -0
- package/dist/types/components/main/zonos-controller.d.ts +44 -0
- package/dist/types/components/store/checkout/cart.d.ts +68 -0
- package/dist/types/components/store/checkout/stripe.d.ts +71 -0
- package/dist/types/components/store/hello/localization.d.ts +30 -0
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +140 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +140 -0
- package/dist/types/components/store/translationStore.d.ts +11 -0
- package/dist/types/components/store/zonosStore.d.ts +39 -0
- package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +20 -0
- package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +12 -0
- package/dist/types/components/stripe/zonos-payment/zonos-payment.d.ts +13 -0
- package/dist/types/components/utils/addDays.d.ts +14 -0
- package/dist/types/components/utils/api/calculateLandedCost.d.ts +2 -0
- package/dist/types/components/utils/api/getCountries.d.ts +2 -0
- package/dist/types/components/utils/api/getCountryLandedCost.d.ts +10 -0
- package/dist/types/components/utils/api/getExchangeRate.d.ts +16 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +20 -0
- package/dist/types/components/utils/api/getLocalization.d.ts +8 -0
- package/dist/types/components/utils/api/getShippingZones.d.ts +1 -0
- package/dist/types/components/utils/api/getZonosSetting.d.ts +8 -0
- package/dist/types/components/utils/api/prepCalculateLandedCost.d.ts +2 -0
- package/dist/types/components/utils/changeDeepProperty.d.ts +44 -0
- package/dist/types/components/utils/changeDeepPropertyAtIndex.d.ts +68 -0
- package/dist/types/components/utils/checkout/initCheckout.d.ts +2 -0
- package/dist/types/components/utils/checkout/isCheckoutMobile.d.ts +2 -0
- package/dist/types/components/utils/classes.d.ts +10 -0
- package/dist/types/components/utils/darkenColor.d.ts +4 -0
- package/dist/types/components/utils/formatCurrency.d.ts +5 -0
- package/dist/types/components/utils/formatDate.d.ts +10 -0
- package/dist/types/components/utils/getBorderRadius.d.ts +7 -0
- package/dist/types/components/utils/getButtonTheme.d.ts +4 -0
- package/dist/types/components/utils/getDaysDifference.d.ts +1 -0
- package/dist/types/components/utils/handleFetch.d.ts +15 -0
- package/dist/types/components/utils/hello/currencyConversion/currencyConvert.d.ts +1 -0
- package/dist/types/components/utils/hello/currencyConversion/currencyConvertAndFormat.d.ts +1 -0
- package/dist/types/components/utils/hello/currencyConversion/currencyDisplay.d.ts +1 -0
- package/dist/types/components/utils/hello/currencyConversion/currencyFormat.d.ts +1 -0
- package/dist/types/components/utils/hello/currencyConversion/defaultCurrencyConverter.d.ts +1 -0
- package/dist/types/components/utils/hello/currencyConversion/getCurrencyCode.d.ts +3 -0
- package/dist/types/components/utils/hello/currencyConversion/getCurrencyElements.d.ts +1 -0
- package/dist/types/components/utils/hello/currencyConversion/getInitialElementAmount.d.ts +1 -0
- package/dist/types/components/utils/hello/currencyConversion/getLanguageCode.d.ts +2 -0
- package/dist/types/components/utils/hello/getCurrentHelloLocalePage.d.ts +1 -0
- package/dist/types/components/utils/hello/getHasMoreSpaceOnRight.d.ts +1 -0
- package/dist/types/components/utils/hello/initHello.d.ts +2 -0
- package/dist/types/components/utils/isColorVariable.d.ts +1 -0
- package/dist/types/components/utils/isDarkColor.d.ts +1 -0
- package/dist/types/components/utils/isValidSelector.d.ts +7 -0
- package/dist/types/components/utils/jsonParse.d.ts +1 -0
- package/dist/types/components/utils/lightenColor.d.ts +4 -0
- package/dist/types/components/utils/logging/log.d.ts +3 -0
- package/dist/types/components/utils/logging/logError.d.ts +1 -0
- package/dist/types/components/utils/mergeConfig.d.ts +9 -0
- package/dist/types/components/utils/submitGtag.d.ts +11 -0
- package/dist/types/components.d.ts +1603 -0
- package/dist/types/environment.d.ts +36 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/scripts/loadStripe.d.ts +2 -0
- package/dist/types/scripts/stripe.d.ts +13 -0
- package/dist/types/scripts/zonos.d.ts +42 -0
- package/dist/types/stencil-public-runtime.d.ts +1652 -0
- package/dist/types/styles/stripe/addressRuleStyle.d.ts +4 -0
- package/dist/types/styles/stripe/defaultVariable.d.ts +6 -0
- package/dist/types/types/ICountryJson.d.ts +29 -0
- package/dist/types/types/JsonError.d.ts +5 -0
- package/dist/types/types/NoInfer.d.ts +5 -0
- package/dist/types/types/Translation.d.ts +3 -0
- package/dist/types/types/checkout/CheckoutConfig.d.ts +55 -0
- package/dist/types/types/checkout/api/CalculateLandedCostRequest.d.ts +19 -0
- package/dist/types/types/generated/graphql.customer.types.d.ts +2352 -0
- package/dist/types/types/generated/graphql.customer.types.ts +2688 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +502 -0
- package/dist/types/types/generated/graphql.frontend.types.ts +527 -0
- package/dist/types/types/global.d.ts +19 -0
- package/dist/types/types/hello/HelloConfig.d.ts +19 -0
- package/dist/types/types/index.d.ts +10 -0
- package/dist/types/types/online-store/OnlineStoreConfig.d.ts +3 -0
- package/dist/types/types/stripe/Apperance.d.ts +19 -0
- package/dist/types/types/styles/Color.d.ts +5 -0
- package/dist/types/types/styles/GridSpacing.d.ts +2 -0
- package/dist/types/types/styles/Text.d.ts +97 -0
- package/dist/types/types/ts-reset/common.d.ts +9 -0
- package/dist/types/types/ts-reset/fetch.d.ts +4 -0
- package/dist/types/types/ts-reset/reset.d.ts +2 -0
- package/dist/types/types/utils/deep/IDeepKeyof.d.ts +20 -0
- package/dist/types/types/utils/deep/IDeepKeyofAtIndex.d.ts +14 -0
- package/dist/types/utils/format.d.ts +1 -0
- package/dist/types/utils/generateVercelDeployUrl.d.ts +11 -0
- package/dist/zonos-elements/assets/ChevronDownIcon.svg +1 -0
- package/dist/zonos-elements/assets/ChevronUpIcon.svg +1 -0
- package/dist/zonos-elements/assets/InfoIcon.svg +4 -0
- package/dist/zonos-elements/assets/LeftArrow.svg +1 -0
- package/dist/zonos-elements/assets/MessageIcon.svg +3 -0
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -0
- package/dist/zonos-elements/assets/SuccessIcon.svg +1 -0
- package/dist/zonos-elements/assets/ZonosLogo.png +0 -0
- package/dist/zonos-elements/assets/bagIcon.svg +3 -0
- package/dist/zonos-elements/assets/empty-item.jpeg +0 -0
- package/dist/zonos-elements/assets/messageIcon.svg +3 -0
- package/dist/zonos-elements/assets/moneyIcon.svg +3 -0
- package/dist/zonos-elements/assets/removeIcon.svg +1 -0
- package/dist/zonos-elements/cart-36c33342.js +591 -0
- package/dist/zonos-elements/cart-36c33342.js.map +1 -0
- package/dist/zonos-elements/cart-ecd9011b.system.js +2 -0
- package/dist/zonos-elements/cart-ecd9011b.system.js.map +1 -0
- package/dist/zonos-elements/classes-0d95c529.js +14 -0
- package/dist/zonos-elements/classes-0d95c529.js.map +1 -0
- package/dist/zonos-elements/classes-ce25a814.system.js +2 -0
- package/dist/zonos-elements/classes-ce25a814.system.js.map +1 -0
- package/dist/zonos-elements/getBorderRadius-4fbe49de.system.js +2 -0
- package/dist/zonos-elements/getBorderRadius-4fbe49de.system.js.map +1 -0
- package/dist/zonos-elements/getBorderRadius-82fbaf25.js +18 -0
- package/dist/zonos-elements/getBorderRadius-82fbaf25.js.map +1 -0
- package/dist/zonos-elements/getHasMoreSpaceOnRight-5a9efd60.system.js +2 -0
- package/dist/zonos-elements/getHasMoreSpaceOnRight-5a9efd60.system.js.map +1 -0
- package/dist/zonos-elements/getHasMoreSpaceOnRight-feba1ae2.js +10 -0
- package/dist/zonos-elements/getHasMoreSpaceOnRight-feba1ae2.js.map +1 -0
- package/dist/zonos-elements/index-87193773.system.js +3 -0
- package/dist/zonos-elements/index-87193773.system.js.map +1 -0
- package/dist/zonos-elements/index-d1aa9293.js +1884 -0
- package/dist/zonos-elements/index-d1aa9293.js.map +1 -0
- package/dist/zonos-elements/index.esm.js +3 -0
- package/dist/zonos-elements/index.esm.js.map +1 -0
- package/dist/zonos-elements/index.system.js +2 -0
- package/dist/zonos-elements/index.system.js.map +1 -0
- package/dist/zonos-elements/isColorVariable-4cda28c9.js +16 -0
- package/dist/zonos-elements/isColorVariable-4cda28c9.js.map +1 -0
- package/dist/zonos-elements/isColorVariable-be454101.system.js +2 -0
- package/dist/zonos-elements/isColorVariable-be454101.system.js.map +1 -0
- package/dist/zonos-elements/isDarkColor-b21326ae.js +1197 -0
- package/dist/zonos-elements/isDarkColor-b21326ae.js.map +1 -0
- package/dist/zonos-elements/isDarkColor-dc2b7c8f.system.js +2 -0
- package/dist/zonos-elements/isDarkColor-dc2b7c8f.system.js.map +1 -0
- package/dist/zonos-elements/localization-3c43290f.system.js +2 -0
- package/dist/zonos-elements/localization-3c43290f.system.js.map +1 -0
- package/dist/zonos-elements/localization-4a424f49.js +3374 -0
- package/dist/zonos-elements/localization-4a424f49.js.map +1 -0
- package/dist/zonos-elements/submitGtag-23ecdc20.system.js +2 -0
- package/dist/zonos-elements/submitGtag-23ecdc20.system.js.map +1 -0
- package/dist/zonos-elements/submitGtag-fbdb454b.js +26 -0
- package/dist/zonos-elements/submitGtag-fbdb454b.js.map +1 -0
- package/dist/zonos-elements/zonos-address_2.entry.js +121 -0
- package/dist/zonos-elements/zonos-address_2.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-address_2.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-address_2.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-badge.entry.js +32 -0
- package/dist/zonos-elements/zonos-badge.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-badge.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-badge.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-banner_2.entry.js +115 -0
- package/dist/zonos-elements/zonos-banner_2.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-banner_2.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-banner_2.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-button_2.entry.js +124 -0
- package/dist/zonos-elements/zonos-button_2.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-button_2.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-button_2.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-card_2.entry.js +42 -0
- package/dist/zonos-elements/zonos-card_2.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-card_2.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-card_2.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-cart-items_10.entry.js +492 -0
- package/dist/zonos-elements/zonos-cart-items_10.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-cart-items_10.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-cart-items_10.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-checkout.entry.js +333 -0
- package/dist/zonos-elements/zonos-checkout.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-checkout.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-checkout.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-component.entry.js +27 -0
- package/dist/zonos-elements/zonos-component.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-component.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-component.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-controller.entry.js +165 -0
- package/dist/zonos-elements/zonos-controller.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-controller.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-controller.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-country-flag_4.entry.js +1895 -0
- package/dist/zonos-elements/zonos-country-flag_4.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-country-flag_4.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-country-flag_4.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-elements.css +37 -0
- package/dist/zonos-elements/zonos-elements.esm.js +20 -0
- package/dist/zonos-elements/zonos-elements.esm.js.map +1 -0
- package/dist/zonos-elements/zonos-elements.js +127 -0
- package/dist/zonos-elements/zonos-elements.system.js +2 -0
- package/dist/zonos-elements/zonos-elements.system.js.map +1 -0
- package/dist/zonos-elements/zonos-hello-dialog.entry.js +111 -0
- package/dist/zonos-elements/zonos-hello-dialog.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-hello-dialog.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-hello-dialog.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-hello.entry.js +481 -0
- package/dist/zonos-elements/zonos-hello.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-hello.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-hello.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-icon.entry.js +30 -0
- package/dist/zonos-elements/zonos-icon.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-icon.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-icon.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-notification.entry.js +67 -0
- package/dist/zonos-elements/zonos-notification.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-notification.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-notification.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-shipping-rich-radio.entry.js +50 -0
- package/dist/zonos-elements/zonos-shipping-rich-radio.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-shipping-rich-radio.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-shipping-rich-radio.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-text.entry.js +156 -0
- package/dist/zonos-elements/zonos-text.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-text.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-text.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonosStore-13a7b534.js +2639 -0
- package/dist/zonos-elements/zonosStore-13a7b534.js.map +1 -0
- package/dist/zonos-elements/zonosStore-77bcd7c0.system.js +2 -0
- package/dist/zonos-elements/zonosStore-77bcd7c0.system.js.map +1 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +155 -0
|
@@ -0,0 +1,1603 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
+
* It contains typing information for all components that exist in this project.
|
|
6
|
+
*/
|
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { ContactOption, PaymentIntent, Stripe } from "@stripe/stripe-js";
|
|
9
|
+
import { Color, ColorPrefix } from "./types/styles/Color";
|
|
10
|
+
import { BannerIntent } from "./components/common/zonos-banner/zonos-banner";
|
|
11
|
+
import { CountryCode, ElementsUiStyle, ElementsUiTheme, HelloMobileLocation } from "./types/generated/graphql.customer.types";
|
|
12
|
+
import { AppearanceConfig } from "./components/store/zonosStore";
|
|
13
|
+
import { ContactOption as ContactOption1 } from "./components/store/checkout/stripe";
|
|
14
|
+
import { AppearanceConfig as AppearanceConfig1, Color as Color1, ElementsUiStyle as ElementsUiStyle1, ElementsUiTheme as ElementsUiTheme1, HelloMobileLocation as HelloMobileLocation1 } from "./types/index";
|
|
15
|
+
import { LoadZonosParamsConfig } from "./scripts/zonos";
|
|
16
|
+
import { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
|
|
17
|
+
import { AppearanceConfig as AppearanceConfig2 } from "./components.d";
|
|
18
|
+
import { ShippingRichRadioItem } from "./components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio";
|
|
19
|
+
import { SpinnerColor } from "./components/common/zonos-spinner/zonos-spinner";
|
|
20
|
+
import { FontWeight, Size, Type } from "./types/styles/Text";
|
|
21
|
+
import { GridSpacing } from "./types/styles/GridSpacing";
|
|
22
|
+
export { ContactOption, PaymentIntent, Stripe } from "@stripe/stripe-js";
|
|
23
|
+
export { Color, ColorPrefix } from "./types/styles/Color";
|
|
24
|
+
export { BannerIntent } from "./components/common/zonos-banner/zonos-banner";
|
|
25
|
+
export { CountryCode, ElementsUiStyle, ElementsUiTheme, HelloMobileLocation } from "./types/generated/graphql.customer.types";
|
|
26
|
+
export { AppearanceConfig } from "./components/store/zonosStore";
|
|
27
|
+
export { ContactOption as ContactOption1 } from "./components/store/checkout/stripe";
|
|
28
|
+
export { AppearanceConfig as AppearanceConfig1, Color as Color1, ElementsUiStyle as ElementsUiStyle1, ElementsUiTheme as ElementsUiTheme1, HelloMobileLocation as HelloMobileLocation1 } from "./types/index";
|
|
29
|
+
export { LoadZonosParamsConfig } from "./scripts/zonos";
|
|
30
|
+
export { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
|
|
31
|
+
export { AppearanceConfig as AppearanceConfig2 } from "./components.d";
|
|
32
|
+
export { ShippingRichRadioItem } from "./components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio";
|
|
33
|
+
export { SpinnerColor } from "./components/common/zonos-spinner/zonos-spinner";
|
|
34
|
+
export { FontWeight, Size, Type } from "./types/styles/Text";
|
|
35
|
+
export { GridSpacing } from "./types/styles/GridSpacing";
|
|
36
|
+
export namespace Components {
|
|
37
|
+
interface ZonosAddress {
|
|
38
|
+
/**
|
|
39
|
+
* Default address for stripe
|
|
40
|
+
*/
|
|
41
|
+
"defaultAddress": ContactOption | null;
|
|
42
|
+
/**
|
|
43
|
+
* The title text for the address element
|
|
44
|
+
*/
|
|
45
|
+
"titleText": string;
|
|
46
|
+
/**
|
|
47
|
+
* The type of address element to render
|
|
48
|
+
*/
|
|
49
|
+
"type": 'billing' | 'shipping';
|
|
50
|
+
}
|
|
51
|
+
interface ZonosBadge {
|
|
52
|
+
/**
|
|
53
|
+
* Whether or not the badge is bold
|
|
54
|
+
* @default false
|
|
55
|
+
*/
|
|
56
|
+
"bold": boolean;
|
|
57
|
+
/**
|
|
58
|
+
* css class for the component
|
|
59
|
+
*/
|
|
60
|
+
"class": string;
|
|
61
|
+
/**
|
|
62
|
+
* The size of the badge
|
|
63
|
+
* @default 24
|
|
64
|
+
*/
|
|
65
|
+
"color": ColorPrefix;
|
|
66
|
+
/**
|
|
67
|
+
* The icon element to display
|
|
68
|
+
* @default null
|
|
69
|
+
*/
|
|
70
|
+
"icon"?: HTMLZonosIconElement;
|
|
71
|
+
/**
|
|
72
|
+
* Position the icon to the right when icon is specified
|
|
73
|
+
* @default false
|
|
74
|
+
*/
|
|
75
|
+
"iconRight": boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Whether or not the badge is rounded
|
|
78
|
+
* @default false
|
|
79
|
+
*/
|
|
80
|
+
"rounded": boolean;
|
|
81
|
+
/**
|
|
82
|
+
* The size of the badge
|
|
83
|
+
* @default 'default'
|
|
84
|
+
*/
|
|
85
|
+
"size": 'small' | 'default';
|
|
86
|
+
}
|
|
87
|
+
interface ZonosBanner {
|
|
88
|
+
/**
|
|
89
|
+
* Whether or not the banner is bold
|
|
90
|
+
*/
|
|
91
|
+
"bannerTitle"?: string;
|
|
92
|
+
/**
|
|
93
|
+
* css class for the component
|
|
94
|
+
*/
|
|
95
|
+
"class": string;
|
|
96
|
+
/**
|
|
97
|
+
* Intent of the banner (success, warning, error)
|
|
98
|
+
*/
|
|
99
|
+
"intent"?: BannerIntent;
|
|
100
|
+
}
|
|
101
|
+
interface ZonosButton {
|
|
102
|
+
/**
|
|
103
|
+
* The color of the button text and svg **NOTE**: If the button `variant` is set to 'standard', backgroundColor will be disregarded
|
|
104
|
+
*/
|
|
105
|
+
"backgroundColor"?: Color | (string & { _placeholder?: never });
|
|
106
|
+
/**
|
|
107
|
+
* The border style of the button
|
|
108
|
+
* @default ROUNDED
|
|
109
|
+
*/
|
|
110
|
+
"borderStyle"?: ElementsUiStyle;
|
|
111
|
+
/**
|
|
112
|
+
* css class for the component
|
|
113
|
+
*/
|
|
114
|
+
"class": string;
|
|
115
|
+
/**
|
|
116
|
+
* The color of the button text and svg
|
|
117
|
+
*/
|
|
118
|
+
"color"?: Color | (string & { _placeholder?: never });
|
|
119
|
+
/**
|
|
120
|
+
* The icon element to display
|
|
121
|
+
* @default null
|
|
122
|
+
*/
|
|
123
|
+
"icon": HTMLZonosIconElement | null;
|
|
124
|
+
/**
|
|
125
|
+
* Whether or not the icon is on the right
|
|
126
|
+
* @default false
|
|
127
|
+
*/
|
|
128
|
+
"iconRight"?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Whether or not the button is disabled
|
|
131
|
+
* @note Prop should not conflict name with native html attribute if the prop is also affected by another prop. The issue is the component has internal disabled
|
|
132
|
+
* @prop ().
|
|
133
|
+
* @prop decorator is to watch the update of the attribute of the component in the dom. And `disabled` prop is not an only factor to determine the component is disabled. isLoading
|
|
134
|
+
* @prop () also affect that. <Host> is also referred to a component itself, if disabled prop is true, the `zonos-button` will have disabled attribute. So let's say when the loading state is true, and the component consume the zonos-button doesn't pass the disabled prop down. It accidentally turns the disabled prop on even thought the disabled state is not changed from the outside.
|
|
135
|
+
*/
|
|
136
|
+
"isDisabled": boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Whether or not the button is loading
|
|
139
|
+
*/
|
|
140
|
+
"loading": boolean;
|
|
141
|
+
/**
|
|
142
|
+
* Whether or not the button has a background
|
|
143
|
+
* @default false
|
|
144
|
+
*/
|
|
145
|
+
"noBackground": boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Whether or not the button has a left padding
|
|
148
|
+
*/
|
|
149
|
+
"noPaddingLeft": boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Whether or not the button has a right padding
|
|
152
|
+
*/
|
|
153
|
+
"noPaddingRight": boolean;
|
|
154
|
+
/**
|
|
155
|
+
* The size of the button
|
|
156
|
+
* @default 'sm'
|
|
157
|
+
*/
|
|
158
|
+
"size": 'sm' | 'md' | 'lg';
|
|
159
|
+
/**
|
|
160
|
+
* The theme of the button
|
|
161
|
+
*/
|
|
162
|
+
"theme"?: ElementsUiTheme;
|
|
163
|
+
/**
|
|
164
|
+
* The variance of the button **NOTE**: If the button `variant` is set to 'standard', backgroundColor will be disregarded
|
|
165
|
+
*/
|
|
166
|
+
"variant": | 'primary'
|
|
167
|
+
| 'success'
|
|
168
|
+
| 'subtle'
|
|
169
|
+
| 'outline'
|
|
170
|
+
| 'standard'
|
|
171
|
+
| 'danger'
|
|
172
|
+
| 'warning';
|
|
173
|
+
}
|
|
174
|
+
interface ZonosCard {
|
|
175
|
+
/**
|
|
176
|
+
* The actions to display in the header of the card
|
|
177
|
+
*/
|
|
178
|
+
"actions"?: HTMLElement;
|
|
179
|
+
/**
|
|
180
|
+
* The CSS class to apply to the card element
|
|
181
|
+
*/
|
|
182
|
+
"class"?: string;
|
|
183
|
+
/**
|
|
184
|
+
* The actions to display in the footer of the card
|
|
185
|
+
*/
|
|
186
|
+
"footerActions"?: HTMLElement;
|
|
187
|
+
/**
|
|
188
|
+
* The content to display in the footer of the card
|
|
189
|
+
*/
|
|
190
|
+
"footerContent"?: HTMLElement;
|
|
191
|
+
/**
|
|
192
|
+
* The height of the footer in pixels
|
|
193
|
+
*/
|
|
194
|
+
"footerHeight"?: number;
|
|
195
|
+
/**
|
|
196
|
+
* The label to display in the header of the card
|
|
197
|
+
*/
|
|
198
|
+
"label"?: HTMLElement;
|
|
199
|
+
/**
|
|
200
|
+
* The spacing to apply between elements in the card
|
|
201
|
+
*/
|
|
202
|
+
"spacing"?: string;
|
|
203
|
+
}
|
|
204
|
+
interface ZonosCartItems {
|
|
205
|
+
}
|
|
206
|
+
interface ZonosCartSubtotal {
|
|
207
|
+
}
|
|
208
|
+
interface ZonosCheckout {
|
|
209
|
+
/**
|
|
210
|
+
* Override appearance config
|
|
211
|
+
*/
|
|
212
|
+
"appearanceSettingsOverride"?: Partial<AppearanceConfig>;
|
|
213
|
+
/**
|
|
214
|
+
* The button element that will open the dialog
|
|
215
|
+
*/
|
|
216
|
+
"buttonAnchorElements": HTMLElement[] | null;
|
|
217
|
+
/**
|
|
218
|
+
* Close dialog action
|
|
219
|
+
*/
|
|
220
|
+
"closeDialogHandler": () => Promise<void>;
|
|
221
|
+
/**
|
|
222
|
+
* Default address to use for the checkout (preview mode)
|
|
223
|
+
*/
|
|
224
|
+
"defaultAddress": ContactOption | null;
|
|
225
|
+
/**
|
|
226
|
+
* Force dialog to be open
|
|
227
|
+
*/
|
|
228
|
+
"forceDialogOpen": boolean;
|
|
229
|
+
/**
|
|
230
|
+
* Setup all of the event listeners for the component on first load
|
|
231
|
+
*/
|
|
232
|
+
"init": () => Promise<void>;
|
|
233
|
+
/**
|
|
234
|
+
* Flag to determine if the checkout is on mobile
|
|
235
|
+
*/
|
|
236
|
+
"mobile": boolean;
|
|
237
|
+
/**
|
|
238
|
+
* Preview checkout without needing to click on the button. This would be useful for demo purpose
|
|
239
|
+
*/
|
|
240
|
+
"preview": boolean;
|
|
241
|
+
/**
|
|
242
|
+
* For storybook to set to finish step, this is to trigger in the story for zonos-checkout-finish
|
|
243
|
+
*/
|
|
244
|
+
"setToFinishStep": (forcePaymentStatus?: PaymentIntent['status']) => Promise<void>;
|
|
245
|
+
}
|
|
246
|
+
interface ZonosCheckoutFinish {
|
|
247
|
+
/**
|
|
248
|
+
* The border radius style of the dialog
|
|
249
|
+
*/
|
|
250
|
+
"borderRadius": ElementsUiStyle;
|
|
251
|
+
/**
|
|
252
|
+
* Override the notification message and title, bypass checking stripe payment status
|
|
253
|
+
*/
|
|
254
|
+
"overrideNotification"?: OverrideNotification;
|
|
255
|
+
/**
|
|
256
|
+
* Force status to test the UI for storybook
|
|
257
|
+
*/
|
|
258
|
+
"storybookForceStatus"?: PaymentIntent['status'];
|
|
259
|
+
}
|
|
260
|
+
interface ZonosCheckoutPayment {
|
|
261
|
+
/**
|
|
262
|
+
* Whether or not the continue button is loading
|
|
263
|
+
*/
|
|
264
|
+
"continueLoading": boolean;
|
|
265
|
+
/**
|
|
266
|
+
* Error occurred during payment
|
|
267
|
+
*/
|
|
268
|
+
"paymentError": boolean;
|
|
269
|
+
/**
|
|
270
|
+
* Submit button main color
|
|
271
|
+
*/
|
|
272
|
+
"submitBtnColor"?: string;
|
|
273
|
+
/**
|
|
274
|
+
* Whether or not the checkout is in mobile mode
|
|
275
|
+
*/
|
|
276
|
+
"submitBtnType"?: HTMLZonosButtonElement['variant'];
|
|
277
|
+
}
|
|
278
|
+
interface ZonosCollapse {
|
|
279
|
+
/**
|
|
280
|
+
* Collapsed size when collapsed
|
|
281
|
+
*/
|
|
282
|
+
"collapseSize": number;
|
|
283
|
+
/**
|
|
284
|
+
* Collapsed state of the element
|
|
285
|
+
*/
|
|
286
|
+
"collapsed": boolean;
|
|
287
|
+
}
|
|
288
|
+
interface ZonosComponent {
|
|
289
|
+
/**
|
|
290
|
+
* The first name
|
|
291
|
+
*/
|
|
292
|
+
"first": string;
|
|
293
|
+
/**
|
|
294
|
+
* The last name
|
|
295
|
+
*/
|
|
296
|
+
"last": string;
|
|
297
|
+
/**
|
|
298
|
+
* The middle name
|
|
299
|
+
*/
|
|
300
|
+
"middle": string;
|
|
301
|
+
}
|
|
302
|
+
interface ZonosController {
|
|
303
|
+
/**
|
|
304
|
+
* The zonos config object
|
|
305
|
+
*/
|
|
306
|
+
"config": LoadZonosParamsConfig;
|
|
307
|
+
/**
|
|
308
|
+
* Method to initialize checkout element
|
|
309
|
+
*/
|
|
310
|
+
"initCheckoutElement": (stripe: Stripe) => Promise<void>;
|
|
311
|
+
/**
|
|
312
|
+
* Override the setting
|
|
313
|
+
* @param config config that need to override the default setting
|
|
314
|
+
*/
|
|
315
|
+
"overrideConfig": (config: LoadZonosParamsConfig) => Promise<void>;
|
|
316
|
+
/**
|
|
317
|
+
* Override country code for storybook
|
|
318
|
+
*/
|
|
319
|
+
"overrideCountry": (countryCode: CountryCode) => Promise<void>;
|
|
320
|
+
/**
|
|
321
|
+
* Show notification
|
|
322
|
+
*/
|
|
323
|
+
"showNotification": (notification: NotificationInit) => Promise<void>;
|
|
324
|
+
/**
|
|
325
|
+
* The zonos api key
|
|
326
|
+
*/
|
|
327
|
+
"zonosApiKey": string;
|
|
328
|
+
}
|
|
329
|
+
interface ZonosCountryFlag {
|
|
330
|
+
/**
|
|
331
|
+
* The class name for the flag
|
|
332
|
+
*/
|
|
333
|
+
"class"?: string;
|
|
334
|
+
/**
|
|
335
|
+
* The country code for the flag
|
|
336
|
+
* @default localizationStore.selectedCountryCode
|
|
337
|
+
* @example 'US'
|
|
338
|
+
*/
|
|
339
|
+
"countryCode": CountryCode | null;
|
|
340
|
+
/**
|
|
341
|
+
* The size of the flag
|
|
342
|
+
*/
|
|
343
|
+
"size"?: number;
|
|
344
|
+
}
|
|
345
|
+
interface ZonosCountrySelect {
|
|
346
|
+
/**
|
|
347
|
+
* Function to close the country select
|
|
348
|
+
* @default () => {}
|
|
349
|
+
*/
|
|
350
|
+
"closeCountrySelect": () => void;
|
|
351
|
+
}
|
|
352
|
+
interface ZonosCustomMessage {
|
|
353
|
+
/**
|
|
354
|
+
* The custom message icon
|
|
355
|
+
*/
|
|
356
|
+
"icon": string;
|
|
357
|
+
/**
|
|
358
|
+
* The custom message text
|
|
359
|
+
*/
|
|
360
|
+
"message": string;
|
|
361
|
+
}
|
|
362
|
+
interface ZonosCustomerInfo {
|
|
363
|
+
/**
|
|
364
|
+
* Whether or not the continue button is loading
|
|
365
|
+
*/
|
|
366
|
+
"continueLoading": boolean;
|
|
367
|
+
/**
|
|
368
|
+
* Default address to use for the checkout (preview mode)
|
|
369
|
+
*/
|
|
370
|
+
"defaultAddress": ContactOption | null;
|
|
371
|
+
/**
|
|
372
|
+
* Submit button main color
|
|
373
|
+
*/
|
|
374
|
+
"submitBtnColor"?: string;
|
|
375
|
+
/**
|
|
376
|
+
* Whether or not the checkout is in mobile mode
|
|
377
|
+
*/
|
|
378
|
+
"submitBtnType"?: HTMLZonosButtonElement['variant'];
|
|
379
|
+
}
|
|
380
|
+
interface ZonosDialog {
|
|
381
|
+
/**
|
|
382
|
+
* The border style of the button
|
|
383
|
+
* @default ROUNDED
|
|
384
|
+
*/
|
|
385
|
+
"borderStyle"?: ElementsUiStyle;
|
|
386
|
+
/**
|
|
387
|
+
* The right area for the action in the footer
|
|
388
|
+
* @default null
|
|
389
|
+
*/
|
|
390
|
+
"footerRightAction": HTMLElement | null;
|
|
391
|
+
/**
|
|
392
|
+
* The header text for the dialog
|
|
393
|
+
*/
|
|
394
|
+
"headerText": string;
|
|
395
|
+
/**
|
|
396
|
+
* The height of the dialog (max-wdith still 90vh)
|
|
397
|
+
*/
|
|
398
|
+
"height"?: string;
|
|
399
|
+
/**
|
|
400
|
+
* Load loading spinner for the dialog or not
|
|
401
|
+
*/
|
|
402
|
+
"isLoading": boolean;
|
|
403
|
+
/**
|
|
404
|
+
* Flag to determine if the checkout is on mobile
|
|
405
|
+
*/
|
|
406
|
+
"mobile": boolean;
|
|
407
|
+
/**
|
|
408
|
+
* Whether or not to have body padding
|
|
409
|
+
* @default false
|
|
410
|
+
*/
|
|
411
|
+
"noBodyPadding": boolean;
|
|
412
|
+
/**
|
|
413
|
+
* Whether or not to have body padding
|
|
414
|
+
* @default false
|
|
415
|
+
*/
|
|
416
|
+
"noBorder": boolean;
|
|
417
|
+
/**
|
|
418
|
+
* Whether or not to close the dialog when clicking outside of it
|
|
419
|
+
* @default false
|
|
420
|
+
*/
|
|
421
|
+
"noClickOutside": boolean;
|
|
422
|
+
/**
|
|
423
|
+
* Whether or not to show the close button
|
|
424
|
+
* @default false
|
|
425
|
+
*/
|
|
426
|
+
"noCloseButton": boolean;
|
|
427
|
+
/**
|
|
428
|
+
* Whether or not to show the header
|
|
429
|
+
* @default false
|
|
430
|
+
*/
|
|
431
|
+
"noHeader": boolean;
|
|
432
|
+
/**
|
|
433
|
+
* Whether or not the dialog is open
|
|
434
|
+
* @default false
|
|
435
|
+
*/
|
|
436
|
+
"open": boolean;
|
|
437
|
+
/**
|
|
438
|
+
* The width of the dialog
|
|
439
|
+
* @default 460px
|
|
440
|
+
*/
|
|
441
|
+
"width": string;
|
|
442
|
+
}
|
|
443
|
+
interface ZonosHello {
|
|
444
|
+
/**
|
|
445
|
+
* Force left animation instead of detecting which side has more space
|
|
446
|
+
* @default false
|
|
447
|
+
*/
|
|
448
|
+
"animateFromLeftOverride"?: boolean;
|
|
449
|
+
/**
|
|
450
|
+
* Override the appearance settings
|
|
451
|
+
*/
|
|
452
|
+
"appearanceSettingsOverride"?: Partial<AppearanceConfig>;
|
|
453
|
+
/**
|
|
454
|
+
* This method will convert the currency and return the converted value
|
|
455
|
+
* @returns number
|
|
456
|
+
*/
|
|
457
|
+
"convert": (value: number) => Promise<void>;
|
|
458
|
+
/**
|
|
459
|
+
* This method will call convert and format, and return the converted and formatted string
|
|
460
|
+
* @returns string
|
|
461
|
+
*/
|
|
462
|
+
"convertAndFormat": (value: number) => Promise<void>;
|
|
463
|
+
/**
|
|
464
|
+
* This method will trigger the currency conversion and display the converted value
|
|
465
|
+
* @returns void
|
|
466
|
+
*/
|
|
467
|
+
"displayCurrency": () => Promise<void>;
|
|
468
|
+
/**
|
|
469
|
+
* This method will format the currency and return the formatted string
|
|
470
|
+
* @returns number
|
|
471
|
+
*/
|
|
472
|
+
"format": (value: number) => Promise<void>;
|
|
473
|
+
/**
|
|
474
|
+
* Force mobile styling instead of media query and use the passed location value
|
|
475
|
+
* @default false
|
|
476
|
+
*/
|
|
477
|
+
"mobileLocationOverride"?: HelloMobileLocation;
|
|
478
|
+
}
|
|
479
|
+
interface ZonosHelloDialog {
|
|
480
|
+
/**
|
|
481
|
+
* Force left animation instead of detecting which side has more space
|
|
482
|
+
* @default false
|
|
483
|
+
*/
|
|
484
|
+
"animateFromLeftOverride"?: boolean;
|
|
485
|
+
/**
|
|
486
|
+
* Override the appearance settings
|
|
487
|
+
*/
|
|
488
|
+
"appearanceSettings"?: Partial<AppearanceConfig>;
|
|
489
|
+
/**
|
|
490
|
+
* Whether or not the dialog is open
|
|
491
|
+
*/
|
|
492
|
+
"isOpen": boolean;
|
|
493
|
+
/**
|
|
494
|
+
* Force mobile styling instead of media query and use the passed location value
|
|
495
|
+
* @default false
|
|
496
|
+
*/
|
|
497
|
+
"mobileLocationOverride"?: HelloMobileLocation;
|
|
498
|
+
/**
|
|
499
|
+
* The function to set the open state
|
|
500
|
+
* @default () => {}
|
|
501
|
+
*/
|
|
502
|
+
"setIsOpen": (isOpen: boolean) => void;
|
|
503
|
+
}
|
|
504
|
+
interface ZonosHelloDialogFooter {
|
|
505
|
+
/**
|
|
506
|
+
* Appearance settings
|
|
507
|
+
*/
|
|
508
|
+
"appearanceSettings"?: Partial<AppearanceConfig>;
|
|
509
|
+
/**
|
|
510
|
+
* Whether or not the country select dialog is open
|
|
511
|
+
* @default false
|
|
512
|
+
*/
|
|
513
|
+
"setShowCountrySelect": (value: boolean) => void;
|
|
514
|
+
}
|
|
515
|
+
interface ZonosIcon {
|
|
516
|
+
/**
|
|
517
|
+
* Determines if the icon should be auto height instead of square
|
|
518
|
+
* @default false
|
|
519
|
+
*/
|
|
520
|
+
"autoHeight": boolean;
|
|
521
|
+
/**
|
|
522
|
+
* Color of the SVG
|
|
523
|
+
* @default 'gray-1200'
|
|
524
|
+
*/
|
|
525
|
+
"color": Color;
|
|
526
|
+
/**
|
|
527
|
+
* The content of the icon (full svg)
|
|
528
|
+
* @example import RemoveIcon from './assets/removeIcon.svg'; ... <zonos-icon content={RemoveIcon}></zonos-icon> // or <zonos-icon content="<svg>...</svg>"></zonos-icon>
|
|
529
|
+
*/
|
|
530
|
+
"content": string;
|
|
531
|
+
/**
|
|
532
|
+
* The size of the icon
|
|
533
|
+
* @default 24
|
|
534
|
+
*/
|
|
535
|
+
"size": number;
|
|
536
|
+
}
|
|
537
|
+
interface ZonosLinkAuthentication {
|
|
538
|
+
/**
|
|
539
|
+
* The title text for the authentication element
|
|
540
|
+
*/
|
|
541
|
+
"titleText": string;
|
|
542
|
+
}
|
|
543
|
+
interface ZonosLogo {
|
|
544
|
+
/**
|
|
545
|
+
* css class for the component
|
|
546
|
+
*/
|
|
547
|
+
"class": string;
|
|
548
|
+
/**
|
|
549
|
+
* Theme to change the color of the logo
|
|
550
|
+
*/
|
|
551
|
+
"theme": ElementsUiTheme;
|
|
552
|
+
/**
|
|
553
|
+
* The width of the logo
|
|
554
|
+
*/
|
|
555
|
+
"width": string;
|
|
556
|
+
}
|
|
557
|
+
interface ZonosNotification {
|
|
558
|
+
/**
|
|
559
|
+
* Custom class to add to the notification
|
|
560
|
+
*/
|
|
561
|
+
"class": string;
|
|
562
|
+
/**
|
|
563
|
+
* Show a notification
|
|
564
|
+
*/
|
|
565
|
+
"showNotification": (notification: NotificationInit) => Promise<void>;
|
|
566
|
+
}
|
|
567
|
+
interface ZonosPayment {
|
|
568
|
+
/**
|
|
569
|
+
* The title text for the authentication element
|
|
570
|
+
*/
|
|
571
|
+
"titleText"?: string;
|
|
572
|
+
}
|
|
573
|
+
interface ZonosReview {
|
|
574
|
+
/**
|
|
575
|
+
* Whether or not to show the collapse icon This is controled from the collapsed state of the zonos-collapse component to show the collapse icon
|
|
576
|
+
*/
|
|
577
|
+
"collapsed": boolean;
|
|
578
|
+
/**
|
|
579
|
+
* Whether or not the component is being rendered with mobile styles
|
|
580
|
+
*/
|
|
581
|
+
"mobile": boolean;
|
|
582
|
+
}
|
|
583
|
+
interface ZonosShipping {
|
|
584
|
+
/**
|
|
585
|
+
* Whether or not the continue button is loading
|
|
586
|
+
*/
|
|
587
|
+
"continueLoading": boolean;
|
|
588
|
+
/**
|
|
589
|
+
* Submit button main color
|
|
590
|
+
*/
|
|
591
|
+
"submitBtnColor"?: string;
|
|
592
|
+
/**
|
|
593
|
+
* Whether or not the checkout is in mobile mode
|
|
594
|
+
*/
|
|
595
|
+
"submitBtnType"?: HTMLZonosButtonElement['variant'];
|
|
596
|
+
}
|
|
597
|
+
interface ZonosShippingRichRadio {
|
|
598
|
+
/**
|
|
599
|
+
* Override border color of the radio item
|
|
600
|
+
*/
|
|
601
|
+
"borderColor"?: Color | (string & { _placeholder?: never });
|
|
602
|
+
/**
|
|
603
|
+
* Override border color of the radio item
|
|
604
|
+
*/
|
|
605
|
+
"borderStyle"?: ElementsUiStyle;
|
|
606
|
+
/**
|
|
607
|
+
* List of items to display
|
|
608
|
+
*/
|
|
609
|
+
"items": ShippingRichRadioItem[];
|
|
610
|
+
/**
|
|
611
|
+
* Theme of the radio item
|
|
612
|
+
*/
|
|
613
|
+
"theme"?: ElementsUiTheme;
|
|
614
|
+
}
|
|
615
|
+
interface ZonosSpinner {
|
|
616
|
+
/**
|
|
617
|
+
* Color of the spinner
|
|
618
|
+
*/
|
|
619
|
+
"color"?: SpinnerColor;
|
|
620
|
+
/**
|
|
621
|
+
* The size of the spinner
|
|
622
|
+
* @default 32
|
|
623
|
+
*/
|
|
624
|
+
"size": number;
|
|
625
|
+
}
|
|
626
|
+
interface ZonosText {
|
|
627
|
+
/**
|
|
628
|
+
* css class for the component
|
|
629
|
+
*/
|
|
630
|
+
"class": string;
|
|
631
|
+
/**
|
|
632
|
+
* The icon element to display
|
|
633
|
+
*/
|
|
634
|
+
"color": Color;
|
|
635
|
+
/**
|
|
636
|
+
* The tag to use for the text
|
|
637
|
+
*/
|
|
638
|
+
"content"?: string;
|
|
639
|
+
/**
|
|
640
|
+
* The size of the text
|
|
641
|
+
*/
|
|
642
|
+
"size"?: Size;
|
|
643
|
+
/**
|
|
644
|
+
* Type of the text to display
|
|
645
|
+
*/
|
|
646
|
+
"type": Type;
|
|
647
|
+
/**
|
|
648
|
+
* The weight of the text
|
|
649
|
+
*/
|
|
650
|
+
"weight"?: FontWeight;
|
|
651
|
+
}
|
|
652
|
+
interface ZonosVStack {
|
|
653
|
+
/**
|
|
654
|
+
* The CSS class to apply to the stack element
|
|
655
|
+
*/
|
|
656
|
+
"class": string;
|
|
657
|
+
/**
|
|
658
|
+
* The spacing between elements in the stack
|
|
659
|
+
* @default 24
|
|
660
|
+
*/
|
|
661
|
+
"spacing": GridSpacing;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
export interface ZonosCheckoutFinishCustomEvent<T> extends CustomEvent<T> {
|
|
665
|
+
detail: T;
|
|
666
|
+
target: HTMLZonosCheckoutFinishElement;
|
|
667
|
+
}
|
|
668
|
+
export interface ZonosCheckoutPaymentCustomEvent<T> extends CustomEvent<T> {
|
|
669
|
+
detail: T;
|
|
670
|
+
target: HTMLZonosCheckoutPaymentElement;
|
|
671
|
+
}
|
|
672
|
+
export interface ZonosControllerCustomEvent<T> extends CustomEvent<T> {
|
|
673
|
+
detail: T;
|
|
674
|
+
target: HTMLZonosControllerElement;
|
|
675
|
+
}
|
|
676
|
+
export interface ZonosCustomerInfoCustomEvent<T> extends CustomEvent<T> {
|
|
677
|
+
detail: T;
|
|
678
|
+
target: HTMLZonosCustomerInfoElement;
|
|
679
|
+
}
|
|
680
|
+
export interface ZonosDialogCustomEvent<T> extends CustomEvent<T> {
|
|
681
|
+
detail: T;
|
|
682
|
+
target: HTMLZonosDialogElement;
|
|
683
|
+
}
|
|
684
|
+
export interface ZonosHelloDialogCustomEvent<T> extends CustomEvent<T> {
|
|
685
|
+
detail: T;
|
|
686
|
+
target: HTMLZonosHelloDialogElement;
|
|
687
|
+
}
|
|
688
|
+
export interface ZonosShippingCustomEvent<T> extends CustomEvent<T> {
|
|
689
|
+
detail: T;
|
|
690
|
+
target: HTMLZonosShippingElement;
|
|
691
|
+
}
|
|
692
|
+
export interface ZonosShippingRichRadioCustomEvent<T> extends CustomEvent<T> {
|
|
693
|
+
detail: T;
|
|
694
|
+
target: HTMLZonosShippingRichRadioElement;
|
|
695
|
+
}
|
|
696
|
+
declare global {
|
|
697
|
+
interface HTMLZonosAddressElement extends Components.ZonosAddress, HTMLStencilElement {
|
|
698
|
+
}
|
|
699
|
+
var HTMLZonosAddressElement: {
|
|
700
|
+
prototype: HTMLZonosAddressElement;
|
|
701
|
+
new (): HTMLZonosAddressElement;
|
|
702
|
+
};
|
|
703
|
+
interface HTMLZonosBadgeElement extends Components.ZonosBadge, HTMLStencilElement {
|
|
704
|
+
}
|
|
705
|
+
var HTMLZonosBadgeElement: {
|
|
706
|
+
prototype: HTMLZonosBadgeElement;
|
|
707
|
+
new (): HTMLZonosBadgeElement;
|
|
708
|
+
};
|
|
709
|
+
interface HTMLZonosBannerElement extends Components.ZonosBanner, HTMLStencilElement {
|
|
710
|
+
}
|
|
711
|
+
var HTMLZonosBannerElement: {
|
|
712
|
+
prototype: HTMLZonosBannerElement;
|
|
713
|
+
new (): HTMLZonosBannerElement;
|
|
714
|
+
};
|
|
715
|
+
interface HTMLZonosButtonElement extends Components.ZonosButton, HTMLStencilElement {
|
|
716
|
+
}
|
|
717
|
+
var HTMLZonosButtonElement: {
|
|
718
|
+
prototype: HTMLZonosButtonElement;
|
|
719
|
+
new (): HTMLZonosButtonElement;
|
|
720
|
+
};
|
|
721
|
+
interface HTMLZonosCardElement extends Components.ZonosCard, HTMLStencilElement {
|
|
722
|
+
}
|
|
723
|
+
var HTMLZonosCardElement: {
|
|
724
|
+
prototype: HTMLZonosCardElement;
|
|
725
|
+
new (): HTMLZonosCardElement;
|
|
726
|
+
};
|
|
727
|
+
interface HTMLZonosCartItemsElement extends Components.ZonosCartItems, HTMLStencilElement {
|
|
728
|
+
}
|
|
729
|
+
var HTMLZonosCartItemsElement: {
|
|
730
|
+
prototype: HTMLZonosCartItemsElement;
|
|
731
|
+
new (): HTMLZonosCartItemsElement;
|
|
732
|
+
};
|
|
733
|
+
interface HTMLZonosCartSubtotalElement extends Components.ZonosCartSubtotal, HTMLStencilElement {
|
|
734
|
+
}
|
|
735
|
+
var HTMLZonosCartSubtotalElement: {
|
|
736
|
+
prototype: HTMLZonosCartSubtotalElement;
|
|
737
|
+
new (): HTMLZonosCartSubtotalElement;
|
|
738
|
+
};
|
|
739
|
+
interface HTMLZonosCheckoutElement extends Components.ZonosCheckout, HTMLStencilElement {
|
|
740
|
+
}
|
|
741
|
+
var HTMLZonosCheckoutElement: {
|
|
742
|
+
prototype: HTMLZonosCheckoutElement;
|
|
743
|
+
new (): HTMLZonosCheckoutElement;
|
|
744
|
+
};
|
|
745
|
+
interface HTMLZonosCheckoutFinishElement extends Components.ZonosCheckoutFinish, HTMLStencilElement {
|
|
746
|
+
}
|
|
747
|
+
var HTMLZonosCheckoutFinishElement: {
|
|
748
|
+
prototype: HTMLZonosCheckoutFinishElement;
|
|
749
|
+
new (): HTMLZonosCheckoutFinishElement;
|
|
750
|
+
};
|
|
751
|
+
interface HTMLZonosCheckoutPaymentElement extends Components.ZonosCheckoutPayment, HTMLStencilElement {
|
|
752
|
+
}
|
|
753
|
+
var HTMLZonosCheckoutPaymentElement: {
|
|
754
|
+
prototype: HTMLZonosCheckoutPaymentElement;
|
|
755
|
+
new (): HTMLZonosCheckoutPaymentElement;
|
|
756
|
+
};
|
|
757
|
+
interface HTMLZonosCollapseElement extends Components.ZonosCollapse, HTMLStencilElement {
|
|
758
|
+
}
|
|
759
|
+
var HTMLZonosCollapseElement: {
|
|
760
|
+
prototype: HTMLZonosCollapseElement;
|
|
761
|
+
new (): HTMLZonosCollapseElement;
|
|
762
|
+
};
|
|
763
|
+
interface HTMLZonosComponentElement extends Components.ZonosComponent, HTMLStencilElement {
|
|
764
|
+
}
|
|
765
|
+
var HTMLZonosComponentElement: {
|
|
766
|
+
prototype: HTMLZonosComponentElement;
|
|
767
|
+
new (): HTMLZonosComponentElement;
|
|
768
|
+
};
|
|
769
|
+
interface HTMLZonosControllerElement extends Components.ZonosController, HTMLStencilElement {
|
|
770
|
+
}
|
|
771
|
+
var HTMLZonosControllerElement: {
|
|
772
|
+
prototype: HTMLZonosControllerElement;
|
|
773
|
+
new (): HTMLZonosControllerElement;
|
|
774
|
+
};
|
|
775
|
+
interface HTMLZonosCountryFlagElement extends Components.ZonosCountryFlag, HTMLStencilElement {
|
|
776
|
+
}
|
|
777
|
+
var HTMLZonosCountryFlagElement: {
|
|
778
|
+
prototype: HTMLZonosCountryFlagElement;
|
|
779
|
+
new (): HTMLZonosCountryFlagElement;
|
|
780
|
+
};
|
|
781
|
+
interface HTMLZonosCountrySelectElement extends Components.ZonosCountrySelect, HTMLStencilElement {
|
|
782
|
+
}
|
|
783
|
+
var HTMLZonosCountrySelectElement: {
|
|
784
|
+
prototype: HTMLZonosCountrySelectElement;
|
|
785
|
+
new (): HTMLZonosCountrySelectElement;
|
|
786
|
+
};
|
|
787
|
+
interface HTMLZonosCustomMessageElement extends Components.ZonosCustomMessage, HTMLStencilElement {
|
|
788
|
+
}
|
|
789
|
+
var HTMLZonosCustomMessageElement: {
|
|
790
|
+
prototype: HTMLZonosCustomMessageElement;
|
|
791
|
+
new (): HTMLZonosCustomMessageElement;
|
|
792
|
+
};
|
|
793
|
+
interface HTMLZonosCustomerInfoElement extends Components.ZonosCustomerInfo, HTMLStencilElement {
|
|
794
|
+
}
|
|
795
|
+
var HTMLZonosCustomerInfoElement: {
|
|
796
|
+
prototype: HTMLZonosCustomerInfoElement;
|
|
797
|
+
new (): HTMLZonosCustomerInfoElement;
|
|
798
|
+
};
|
|
799
|
+
interface HTMLZonosDialogElement extends Components.ZonosDialog, HTMLStencilElement {
|
|
800
|
+
}
|
|
801
|
+
var HTMLZonosDialogElement: {
|
|
802
|
+
prototype: HTMLZonosDialogElement;
|
|
803
|
+
new (): HTMLZonosDialogElement;
|
|
804
|
+
};
|
|
805
|
+
interface HTMLZonosHelloElement extends Components.ZonosHello, HTMLStencilElement {
|
|
806
|
+
}
|
|
807
|
+
var HTMLZonosHelloElement: {
|
|
808
|
+
prototype: HTMLZonosHelloElement;
|
|
809
|
+
new (): HTMLZonosHelloElement;
|
|
810
|
+
};
|
|
811
|
+
interface HTMLZonosHelloDialogElement extends Components.ZonosHelloDialog, HTMLStencilElement {
|
|
812
|
+
}
|
|
813
|
+
var HTMLZonosHelloDialogElement: {
|
|
814
|
+
prototype: HTMLZonosHelloDialogElement;
|
|
815
|
+
new (): HTMLZonosHelloDialogElement;
|
|
816
|
+
};
|
|
817
|
+
interface HTMLZonosHelloDialogFooterElement extends Components.ZonosHelloDialogFooter, HTMLStencilElement {
|
|
818
|
+
}
|
|
819
|
+
var HTMLZonosHelloDialogFooterElement: {
|
|
820
|
+
prototype: HTMLZonosHelloDialogFooterElement;
|
|
821
|
+
new (): HTMLZonosHelloDialogFooterElement;
|
|
822
|
+
};
|
|
823
|
+
interface HTMLZonosIconElement extends Components.ZonosIcon, HTMLStencilElement {
|
|
824
|
+
}
|
|
825
|
+
var HTMLZonosIconElement: {
|
|
826
|
+
prototype: HTMLZonosIconElement;
|
|
827
|
+
new (): HTMLZonosIconElement;
|
|
828
|
+
};
|
|
829
|
+
interface HTMLZonosLinkAuthenticationElement extends Components.ZonosLinkAuthentication, HTMLStencilElement {
|
|
830
|
+
}
|
|
831
|
+
var HTMLZonosLinkAuthenticationElement: {
|
|
832
|
+
prototype: HTMLZonosLinkAuthenticationElement;
|
|
833
|
+
new (): HTMLZonosLinkAuthenticationElement;
|
|
834
|
+
};
|
|
835
|
+
interface HTMLZonosLogoElement extends Components.ZonosLogo, HTMLStencilElement {
|
|
836
|
+
}
|
|
837
|
+
var HTMLZonosLogoElement: {
|
|
838
|
+
prototype: HTMLZonosLogoElement;
|
|
839
|
+
new (): HTMLZonosLogoElement;
|
|
840
|
+
};
|
|
841
|
+
interface HTMLZonosNotificationElement extends Components.ZonosNotification, HTMLStencilElement {
|
|
842
|
+
}
|
|
843
|
+
var HTMLZonosNotificationElement: {
|
|
844
|
+
prototype: HTMLZonosNotificationElement;
|
|
845
|
+
new (): HTMLZonosNotificationElement;
|
|
846
|
+
};
|
|
847
|
+
interface HTMLZonosPaymentElement extends Components.ZonosPayment, HTMLStencilElement {
|
|
848
|
+
}
|
|
849
|
+
var HTMLZonosPaymentElement: {
|
|
850
|
+
prototype: HTMLZonosPaymentElement;
|
|
851
|
+
new (): HTMLZonosPaymentElement;
|
|
852
|
+
};
|
|
853
|
+
interface HTMLZonosReviewElement extends Components.ZonosReview, HTMLStencilElement {
|
|
854
|
+
}
|
|
855
|
+
var HTMLZonosReviewElement: {
|
|
856
|
+
prototype: HTMLZonosReviewElement;
|
|
857
|
+
new (): HTMLZonosReviewElement;
|
|
858
|
+
};
|
|
859
|
+
interface HTMLZonosShippingElement extends Components.ZonosShipping, HTMLStencilElement {
|
|
860
|
+
}
|
|
861
|
+
var HTMLZonosShippingElement: {
|
|
862
|
+
prototype: HTMLZonosShippingElement;
|
|
863
|
+
new (): HTMLZonosShippingElement;
|
|
864
|
+
};
|
|
865
|
+
interface HTMLZonosShippingRichRadioElement extends Components.ZonosShippingRichRadio, HTMLStencilElement {
|
|
866
|
+
}
|
|
867
|
+
var HTMLZonosShippingRichRadioElement: {
|
|
868
|
+
prototype: HTMLZonosShippingRichRadioElement;
|
|
869
|
+
new (): HTMLZonosShippingRichRadioElement;
|
|
870
|
+
};
|
|
871
|
+
interface HTMLZonosSpinnerElement extends Components.ZonosSpinner, HTMLStencilElement {
|
|
872
|
+
}
|
|
873
|
+
var HTMLZonosSpinnerElement: {
|
|
874
|
+
prototype: HTMLZonosSpinnerElement;
|
|
875
|
+
new (): HTMLZonosSpinnerElement;
|
|
876
|
+
};
|
|
877
|
+
interface HTMLZonosTextElement extends Components.ZonosText, HTMLStencilElement {
|
|
878
|
+
}
|
|
879
|
+
var HTMLZonosTextElement: {
|
|
880
|
+
prototype: HTMLZonosTextElement;
|
|
881
|
+
new (): HTMLZonosTextElement;
|
|
882
|
+
};
|
|
883
|
+
interface HTMLZonosVStackElement extends Components.ZonosVStack, HTMLStencilElement {
|
|
884
|
+
}
|
|
885
|
+
var HTMLZonosVStackElement: {
|
|
886
|
+
prototype: HTMLZonosVStackElement;
|
|
887
|
+
new (): HTMLZonosVStackElement;
|
|
888
|
+
};
|
|
889
|
+
interface HTMLElementTagNameMap {
|
|
890
|
+
"zonos-address": HTMLZonosAddressElement;
|
|
891
|
+
"zonos-badge": HTMLZonosBadgeElement;
|
|
892
|
+
"zonos-banner": HTMLZonosBannerElement;
|
|
893
|
+
"zonos-button": HTMLZonosButtonElement;
|
|
894
|
+
"zonos-card": HTMLZonosCardElement;
|
|
895
|
+
"zonos-cart-items": HTMLZonosCartItemsElement;
|
|
896
|
+
"zonos-cart-subtotal": HTMLZonosCartSubtotalElement;
|
|
897
|
+
"zonos-checkout": HTMLZonosCheckoutElement;
|
|
898
|
+
"zonos-checkout-finish": HTMLZonosCheckoutFinishElement;
|
|
899
|
+
"zonos-checkout-payment": HTMLZonosCheckoutPaymentElement;
|
|
900
|
+
"zonos-collapse": HTMLZonosCollapseElement;
|
|
901
|
+
"zonos-component": HTMLZonosComponentElement;
|
|
902
|
+
"zonos-controller": HTMLZonosControllerElement;
|
|
903
|
+
"zonos-country-flag": HTMLZonosCountryFlagElement;
|
|
904
|
+
"zonos-country-select": HTMLZonosCountrySelectElement;
|
|
905
|
+
"zonos-custom-message": HTMLZonosCustomMessageElement;
|
|
906
|
+
"zonos-customer-info": HTMLZonosCustomerInfoElement;
|
|
907
|
+
"zonos-dialog": HTMLZonosDialogElement;
|
|
908
|
+
"zonos-hello": HTMLZonosHelloElement;
|
|
909
|
+
"zonos-hello-dialog": HTMLZonosHelloDialogElement;
|
|
910
|
+
"zonos-hello-dialog-footer": HTMLZonosHelloDialogFooterElement;
|
|
911
|
+
"zonos-icon": HTMLZonosIconElement;
|
|
912
|
+
"zonos-link-authentication": HTMLZonosLinkAuthenticationElement;
|
|
913
|
+
"zonos-logo": HTMLZonosLogoElement;
|
|
914
|
+
"zonos-notification": HTMLZonosNotificationElement;
|
|
915
|
+
"zonos-payment": HTMLZonosPaymentElement;
|
|
916
|
+
"zonos-review": HTMLZonosReviewElement;
|
|
917
|
+
"zonos-shipping": HTMLZonosShippingElement;
|
|
918
|
+
"zonos-shipping-rich-radio": HTMLZonosShippingRichRadioElement;
|
|
919
|
+
"zonos-spinner": HTMLZonosSpinnerElement;
|
|
920
|
+
"zonos-text": HTMLZonosTextElement;
|
|
921
|
+
"zonos-v-stack": HTMLZonosVStackElement;
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
declare namespace LocalJSX {
|
|
925
|
+
interface ZonosAddress {
|
|
926
|
+
/**
|
|
927
|
+
* Default address for stripe
|
|
928
|
+
*/
|
|
929
|
+
"defaultAddress"?: ContactOption | null;
|
|
930
|
+
/**
|
|
931
|
+
* The title text for the address element
|
|
932
|
+
*/
|
|
933
|
+
"titleText": string;
|
|
934
|
+
/**
|
|
935
|
+
* The type of address element to render
|
|
936
|
+
*/
|
|
937
|
+
"type": 'billing' | 'shipping';
|
|
938
|
+
}
|
|
939
|
+
interface ZonosBadge {
|
|
940
|
+
/**
|
|
941
|
+
* Whether or not the badge is bold
|
|
942
|
+
* @default false
|
|
943
|
+
*/
|
|
944
|
+
"bold"?: boolean;
|
|
945
|
+
/**
|
|
946
|
+
* css class for the component
|
|
947
|
+
*/
|
|
948
|
+
"class"?: string;
|
|
949
|
+
/**
|
|
950
|
+
* The size of the badge
|
|
951
|
+
* @default 24
|
|
952
|
+
*/
|
|
953
|
+
"color"?: ColorPrefix;
|
|
954
|
+
/**
|
|
955
|
+
* The icon element to display
|
|
956
|
+
* @default null
|
|
957
|
+
*/
|
|
958
|
+
"icon"?: HTMLZonosIconElement;
|
|
959
|
+
/**
|
|
960
|
+
* Position the icon to the right when icon is specified
|
|
961
|
+
* @default false
|
|
962
|
+
*/
|
|
963
|
+
"iconRight"?: boolean;
|
|
964
|
+
/**
|
|
965
|
+
* Whether or not the badge is rounded
|
|
966
|
+
* @default false
|
|
967
|
+
*/
|
|
968
|
+
"rounded"?: boolean;
|
|
969
|
+
/**
|
|
970
|
+
* The size of the badge
|
|
971
|
+
* @default 'default'
|
|
972
|
+
*/
|
|
973
|
+
"size"?: 'small' | 'default';
|
|
974
|
+
}
|
|
975
|
+
interface ZonosBanner {
|
|
976
|
+
/**
|
|
977
|
+
* Whether or not the banner is bold
|
|
978
|
+
*/
|
|
979
|
+
"bannerTitle"?: string;
|
|
980
|
+
/**
|
|
981
|
+
* css class for the component
|
|
982
|
+
*/
|
|
983
|
+
"class"?: string;
|
|
984
|
+
/**
|
|
985
|
+
* Intent of the banner (success, warning, error)
|
|
986
|
+
*/
|
|
987
|
+
"intent"?: BannerIntent;
|
|
988
|
+
}
|
|
989
|
+
interface ZonosButton {
|
|
990
|
+
/**
|
|
991
|
+
* The color of the button text and svg **NOTE**: If the button `variant` is set to 'standard', backgroundColor will be disregarded
|
|
992
|
+
*/
|
|
993
|
+
"backgroundColor"?: Color | (string & { _placeholder?: never });
|
|
994
|
+
/**
|
|
995
|
+
* The border style of the button
|
|
996
|
+
* @default ROUNDED
|
|
997
|
+
*/
|
|
998
|
+
"borderStyle"?: ElementsUiStyle;
|
|
999
|
+
/**
|
|
1000
|
+
* css class for the component
|
|
1001
|
+
*/
|
|
1002
|
+
"class"?: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* The color of the button text and svg
|
|
1005
|
+
*/
|
|
1006
|
+
"color"?: Color | (string & { _placeholder?: never });
|
|
1007
|
+
/**
|
|
1008
|
+
* The icon element to display
|
|
1009
|
+
* @default null
|
|
1010
|
+
*/
|
|
1011
|
+
"icon"?: HTMLZonosIconElement | null;
|
|
1012
|
+
/**
|
|
1013
|
+
* Whether or not the icon is on the right
|
|
1014
|
+
* @default false
|
|
1015
|
+
*/
|
|
1016
|
+
"iconRight"?: boolean;
|
|
1017
|
+
/**
|
|
1018
|
+
* Whether or not the button is disabled
|
|
1019
|
+
* @note Prop should not conflict name with native html attribute if the prop is also affected by another prop. The issue is the component has internal disabled
|
|
1020
|
+
* @prop ().
|
|
1021
|
+
* @prop decorator is to watch the update of the attribute of the component in the dom. And `disabled` prop is not an only factor to determine the component is disabled. isLoading
|
|
1022
|
+
* @prop () also affect that. <Host> is also referred to a component itself, if disabled prop is true, the `zonos-button` will have disabled attribute. So let's say when the loading state is true, and the component consume the zonos-button doesn't pass the disabled prop down. It accidentally turns the disabled prop on even thought the disabled state is not changed from the outside.
|
|
1023
|
+
*/
|
|
1024
|
+
"isDisabled"?: boolean;
|
|
1025
|
+
/**
|
|
1026
|
+
* Whether or not the button is loading
|
|
1027
|
+
*/
|
|
1028
|
+
"loading"?: boolean;
|
|
1029
|
+
/**
|
|
1030
|
+
* Whether or not the button has a background
|
|
1031
|
+
* @default false
|
|
1032
|
+
*/
|
|
1033
|
+
"noBackground"?: boolean;
|
|
1034
|
+
/**
|
|
1035
|
+
* Whether or not the button has a left padding
|
|
1036
|
+
*/
|
|
1037
|
+
"noPaddingLeft"?: boolean;
|
|
1038
|
+
/**
|
|
1039
|
+
* Whether or not the button has a right padding
|
|
1040
|
+
*/
|
|
1041
|
+
"noPaddingRight"?: boolean;
|
|
1042
|
+
/**
|
|
1043
|
+
* The size of the button
|
|
1044
|
+
* @default 'sm'
|
|
1045
|
+
*/
|
|
1046
|
+
"size"?: 'sm' | 'md' | 'lg';
|
|
1047
|
+
/**
|
|
1048
|
+
* The theme of the button
|
|
1049
|
+
*/
|
|
1050
|
+
"theme"?: ElementsUiTheme;
|
|
1051
|
+
/**
|
|
1052
|
+
* The variance of the button **NOTE**: If the button `variant` is set to 'standard', backgroundColor will be disregarded
|
|
1053
|
+
*/
|
|
1054
|
+
"variant"?: | 'primary'
|
|
1055
|
+
| 'success'
|
|
1056
|
+
| 'subtle'
|
|
1057
|
+
| 'outline'
|
|
1058
|
+
| 'standard'
|
|
1059
|
+
| 'danger'
|
|
1060
|
+
| 'warning';
|
|
1061
|
+
}
|
|
1062
|
+
interface ZonosCard {
|
|
1063
|
+
/**
|
|
1064
|
+
* The actions to display in the header of the card
|
|
1065
|
+
*/
|
|
1066
|
+
"actions"?: HTMLElement;
|
|
1067
|
+
/**
|
|
1068
|
+
* The CSS class to apply to the card element
|
|
1069
|
+
*/
|
|
1070
|
+
"class"?: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* The actions to display in the footer of the card
|
|
1073
|
+
*/
|
|
1074
|
+
"footerActions"?: HTMLElement;
|
|
1075
|
+
/**
|
|
1076
|
+
* The content to display in the footer of the card
|
|
1077
|
+
*/
|
|
1078
|
+
"footerContent"?: HTMLElement;
|
|
1079
|
+
/**
|
|
1080
|
+
* The height of the footer in pixels
|
|
1081
|
+
*/
|
|
1082
|
+
"footerHeight"?: number;
|
|
1083
|
+
/**
|
|
1084
|
+
* The label to display in the header of the card
|
|
1085
|
+
*/
|
|
1086
|
+
"label"?: HTMLElement;
|
|
1087
|
+
/**
|
|
1088
|
+
* The spacing to apply between elements in the card
|
|
1089
|
+
*/
|
|
1090
|
+
"spacing"?: string;
|
|
1091
|
+
}
|
|
1092
|
+
interface ZonosCartItems {
|
|
1093
|
+
}
|
|
1094
|
+
interface ZonosCartSubtotal {
|
|
1095
|
+
}
|
|
1096
|
+
interface ZonosCheckout {
|
|
1097
|
+
/**
|
|
1098
|
+
* Override appearance config
|
|
1099
|
+
*/
|
|
1100
|
+
"appearanceSettingsOverride"?: Partial<AppearanceConfig>;
|
|
1101
|
+
/**
|
|
1102
|
+
* The button element that will open the dialog
|
|
1103
|
+
*/
|
|
1104
|
+
"buttonAnchorElements"?: HTMLElement[] | null;
|
|
1105
|
+
/**
|
|
1106
|
+
* Default address to use for the checkout (preview mode)
|
|
1107
|
+
*/
|
|
1108
|
+
"defaultAddress"?: ContactOption | null;
|
|
1109
|
+
/**
|
|
1110
|
+
* Force dialog to be open
|
|
1111
|
+
*/
|
|
1112
|
+
"forceDialogOpen"?: boolean;
|
|
1113
|
+
/**
|
|
1114
|
+
* Flag to determine if the checkout is on mobile
|
|
1115
|
+
*/
|
|
1116
|
+
"mobile"?: boolean;
|
|
1117
|
+
/**
|
|
1118
|
+
* Preview checkout without needing to click on the button. This would be useful for demo purpose
|
|
1119
|
+
*/
|
|
1120
|
+
"preview"?: boolean;
|
|
1121
|
+
}
|
|
1122
|
+
interface ZonosCheckoutFinish {
|
|
1123
|
+
/**
|
|
1124
|
+
* The border radius style of the dialog
|
|
1125
|
+
*/
|
|
1126
|
+
"borderRadius"?: ElementsUiStyle;
|
|
1127
|
+
/**
|
|
1128
|
+
* Event to emit when the continue button is clicked
|
|
1129
|
+
*/
|
|
1130
|
+
"onCloseClick"?: (event: ZonosCheckoutFinishCustomEvent<void>) => void;
|
|
1131
|
+
/**
|
|
1132
|
+
* Override the notification message and title, bypass checking stripe payment status
|
|
1133
|
+
*/
|
|
1134
|
+
"overrideNotification"?: OverrideNotification;
|
|
1135
|
+
/**
|
|
1136
|
+
* Force status to test the UI for storybook
|
|
1137
|
+
*/
|
|
1138
|
+
"storybookForceStatus"?: PaymentIntent['status'];
|
|
1139
|
+
}
|
|
1140
|
+
interface ZonosCheckoutPayment {
|
|
1141
|
+
/**
|
|
1142
|
+
* Whether or not the continue button is loading
|
|
1143
|
+
*/
|
|
1144
|
+
"continueLoading"?: boolean;
|
|
1145
|
+
/**
|
|
1146
|
+
* Event to emit when the continue button is clicked
|
|
1147
|
+
*/
|
|
1148
|
+
"onContinueClicked"?: (event: ZonosCheckoutPaymentCustomEvent<void>) => void;
|
|
1149
|
+
/**
|
|
1150
|
+
* Error occurred during payment
|
|
1151
|
+
*/
|
|
1152
|
+
"paymentError"?: boolean;
|
|
1153
|
+
/**
|
|
1154
|
+
* Submit button main color
|
|
1155
|
+
*/
|
|
1156
|
+
"submitBtnColor"?: string;
|
|
1157
|
+
/**
|
|
1158
|
+
* Whether or not the checkout is in mobile mode
|
|
1159
|
+
*/
|
|
1160
|
+
"submitBtnType"?: HTMLZonosButtonElement['variant'];
|
|
1161
|
+
}
|
|
1162
|
+
interface ZonosCollapse {
|
|
1163
|
+
/**
|
|
1164
|
+
* Collapsed size when collapsed
|
|
1165
|
+
*/
|
|
1166
|
+
"collapseSize"?: number;
|
|
1167
|
+
/**
|
|
1168
|
+
* Collapsed state of the element
|
|
1169
|
+
*/
|
|
1170
|
+
"collapsed"?: boolean;
|
|
1171
|
+
}
|
|
1172
|
+
interface ZonosComponent {
|
|
1173
|
+
/**
|
|
1174
|
+
* The first name
|
|
1175
|
+
*/
|
|
1176
|
+
"first"?: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* The last name
|
|
1179
|
+
*/
|
|
1180
|
+
"last"?: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* The middle name
|
|
1183
|
+
*/
|
|
1184
|
+
"middle"?: string;
|
|
1185
|
+
}
|
|
1186
|
+
interface ZonosController {
|
|
1187
|
+
/**
|
|
1188
|
+
* The zonos config object
|
|
1189
|
+
*/
|
|
1190
|
+
"config": LoadZonosParamsConfig;
|
|
1191
|
+
/**
|
|
1192
|
+
* Event emitted when stripe is initialized
|
|
1193
|
+
*/
|
|
1194
|
+
"onStripeInitEvent"?: (event: ZonosControllerCustomEvent<{ publishableKey: string }>) => void;
|
|
1195
|
+
/**
|
|
1196
|
+
* The zonos api key
|
|
1197
|
+
*/
|
|
1198
|
+
"zonosApiKey": string;
|
|
1199
|
+
}
|
|
1200
|
+
interface ZonosCountryFlag {
|
|
1201
|
+
/**
|
|
1202
|
+
* The class name for the flag
|
|
1203
|
+
*/
|
|
1204
|
+
"class"?: string;
|
|
1205
|
+
/**
|
|
1206
|
+
* The country code for the flag
|
|
1207
|
+
* @default localizationStore.selectedCountryCode
|
|
1208
|
+
* @example 'US'
|
|
1209
|
+
*/
|
|
1210
|
+
"countryCode"?: CountryCode | null;
|
|
1211
|
+
/**
|
|
1212
|
+
* The size of the flag
|
|
1213
|
+
*/
|
|
1214
|
+
"size"?: number;
|
|
1215
|
+
}
|
|
1216
|
+
interface ZonosCountrySelect {
|
|
1217
|
+
/**
|
|
1218
|
+
* Function to close the country select
|
|
1219
|
+
* @default () => {}
|
|
1220
|
+
*/
|
|
1221
|
+
"closeCountrySelect"?: () => void;
|
|
1222
|
+
}
|
|
1223
|
+
interface ZonosCustomMessage {
|
|
1224
|
+
/**
|
|
1225
|
+
* The custom message icon
|
|
1226
|
+
*/
|
|
1227
|
+
"icon"?: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* The custom message text
|
|
1230
|
+
*/
|
|
1231
|
+
"message"?: string;
|
|
1232
|
+
}
|
|
1233
|
+
interface ZonosCustomerInfo {
|
|
1234
|
+
/**
|
|
1235
|
+
* Whether or not the continue button is loading
|
|
1236
|
+
*/
|
|
1237
|
+
"continueLoading"?: boolean;
|
|
1238
|
+
/**
|
|
1239
|
+
* Default address to use for the checkout (preview mode)
|
|
1240
|
+
*/
|
|
1241
|
+
"defaultAddress"?: ContactOption | null;
|
|
1242
|
+
/**
|
|
1243
|
+
* Event to emit when the continue button is clicked
|
|
1244
|
+
*/
|
|
1245
|
+
"onContinueClicked"?: (event: ZonosCustomerInfoCustomEvent<void>) => void;
|
|
1246
|
+
/**
|
|
1247
|
+
* Submit button main color
|
|
1248
|
+
*/
|
|
1249
|
+
"submitBtnColor"?: string;
|
|
1250
|
+
/**
|
|
1251
|
+
* Whether or not the checkout is in mobile mode
|
|
1252
|
+
*/
|
|
1253
|
+
"submitBtnType"?: HTMLZonosButtonElement['variant'];
|
|
1254
|
+
}
|
|
1255
|
+
interface ZonosDialog {
|
|
1256
|
+
/**
|
|
1257
|
+
* The border style of the button
|
|
1258
|
+
* @default ROUNDED
|
|
1259
|
+
*/
|
|
1260
|
+
"borderStyle"?: ElementsUiStyle;
|
|
1261
|
+
/**
|
|
1262
|
+
* The right area for the action in the footer
|
|
1263
|
+
* @default null
|
|
1264
|
+
*/
|
|
1265
|
+
"footerRightAction"?: HTMLElement | null;
|
|
1266
|
+
/**
|
|
1267
|
+
* The header text for the dialog
|
|
1268
|
+
*/
|
|
1269
|
+
"headerText"?: string;
|
|
1270
|
+
/**
|
|
1271
|
+
* The height of the dialog (max-wdith still 90vh)
|
|
1272
|
+
*/
|
|
1273
|
+
"height"?: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* Load loading spinner for the dialog or not
|
|
1276
|
+
*/
|
|
1277
|
+
"isLoading"?: boolean;
|
|
1278
|
+
/**
|
|
1279
|
+
* Flag to determine if the checkout is on mobile
|
|
1280
|
+
*/
|
|
1281
|
+
"mobile"?: boolean;
|
|
1282
|
+
/**
|
|
1283
|
+
* Whether or not to have body padding
|
|
1284
|
+
* @default false
|
|
1285
|
+
*/
|
|
1286
|
+
"noBodyPadding"?: boolean;
|
|
1287
|
+
/**
|
|
1288
|
+
* Whether or not to have body padding
|
|
1289
|
+
* @default false
|
|
1290
|
+
*/
|
|
1291
|
+
"noBorder"?: boolean;
|
|
1292
|
+
/**
|
|
1293
|
+
* Whether or not to close the dialog when clicking outside of it
|
|
1294
|
+
* @default false
|
|
1295
|
+
*/
|
|
1296
|
+
"noClickOutside"?: boolean;
|
|
1297
|
+
/**
|
|
1298
|
+
* Whether or not to show the close button
|
|
1299
|
+
* @default false
|
|
1300
|
+
*/
|
|
1301
|
+
"noCloseButton"?: boolean;
|
|
1302
|
+
/**
|
|
1303
|
+
* Whether or not to show the header
|
|
1304
|
+
* @default false
|
|
1305
|
+
*/
|
|
1306
|
+
"noHeader"?: boolean;
|
|
1307
|
+
/**
|
|
1308
|
+
* Close dialog button click
|
|
1309
|
+
*/
|
|
1310
|
+
"onCloseDialog"?: (event: ZonosDialogCustomEvent<void>) => void;
|
|
1311
|
+
/**
|
|
1312
|
+
* Whether or not the dialog is open
|
|
1313
|
+
* @default false
|
|
1314
|
+
*/
|
|
1315
|
+
"open"?: boolean;
|
|
1316
|
+
/**
|
|
1317
|
+
* The width of the dialog
|
|
1318
|
+
* @default 460px
|
|
1319
|
+
*/
|
|
1320
|
+
"width"?: string;
|
|
1321
|
+
}
|
|
1322
|
+
interface ZonosHello {
|
|
1323
|
+
/**
|
|
1324
|
+
* Force left animation instead of detecting which side has more space
|
|
1325
|
+
* @default false
|
|
1326
|
+
*/
|
|
1327
|
+
"animateFromLeftOverride"?: boolean;
|
|
1328
|
+
/**
|
|
1329
|
+
* Override the appearance settings
|
|
1330
|
+
*/
|
|
1331
|
+
"appearanceSettingsOverride"?: Partial<AppearanceConfig>;
|
|
1332
|
+
/**
|
|
1333
|
+
* Force mobile styling instead of media query and use the passed location value
|
|
1334
|
+
* @default false
|
|
1335
|
+
*/
|
|
1336
|
+
"mobileLocationOverride"?: HelloMobileLocation;
|
|
1337
|
+
}
|
|
1338
|
+
interface ZonosHelloDialog {
|
|
1339
|
+
/**
|
|
1340
|
+
* Force left animation instead of detecting which side has more space
|
|
1341
|
+
* @default false
|
|
1342
|
+
*/
|
|
1343
|
+
"animateFromLeftOverride"?: boolean;
|
|
1344
|
+
/**
|
|
1345
|
+
* Override the appearance settings
|
|
1346
|
+
*/
|
|
1347
|
+
"appearanceSettings"?: Partial<AppearanceConfig>;
|
|
1348
|
+
/**
|
|
1349
|
+
* Whether or not the dialog is open
|
|
1350
|
+
*/
|
|
1351
|
+
"isOpen"?: boolean;
|
|
1352
|
+
/**
|
|
1353
|
+
* Force mobile styling instead of media query and use the passed location value
|
|
1354
|
+
* @default false
|
|
1355
|
+
*/
|
|
1356
|
+
"mobileLocationOverride"?: HelloMobileLocation;
|
|
1357
|
+
/**
|
|
1358
|
+
* Close dialog button click
|
|
1359
|
+
*/
|
|
1360
|
+
"onCloseDialog"?: (event: ZonosHelloDialogCustomEvent<void>) => void;
|
|
1361
|
+
/**
|
|
1362
|
+
* The function to set the open state
|
|
1363
|
+
* @default () => {}
|
|
1364
|
+
*/
|
|
1365
|
+
"setIsOpen"?: (isOpen: boolean) => void;
|
|
1366
|
+
}
|
|
1367
|
+
interface ZonosHelloDialogFooter {
|
|
1368
|
+
/**
|
|
1369
|
+
* Appearance settings
|
|
1370
|
+
*/
|
|
1371
|
+
"appearanceSettings"?: Partial<AppearanceConfig>;
|
|
1372
|
+
/**
|
|
1373
|
+
* Whether or not the country select dialog is open
|
|
1374
|
+
* @default false
|
|
1375
|
+
*/
|
|
1376
|
+
"setShowCountrySelect"?: (value: boolean) => void;
|
|
1377
|
+
}
|
|
1378
|
+
interface ZonosIcon {
|
|
1379
|
+
/**
|
|
1380
|
+
* Determines if the icon should be auto height instead of square
|
|
1381
|
+
* @default false
|
|
1382
|
+
*/
|
|
1383
|
+
"autoHeight"?: boolean;
|
|
1384
|
+
/**
|
|
1385
|
+
* Color of the SVG
|
|
1386
|
+
* @default 'gray-1200'
|
|
1387
|
+
*/
|
|
1388
|
+
"color"?: Color;
|
|
1389
|
+
/**
|
|
1390
|
+
* The content of the icon (full svg)
|
|
1391
|
+
* @example import RemoveIcon from './assets/removeIcon.svg'; ... <zonos-icon content={RemoveIcon}></zonos-icon> // or <zonos-icon content="<svg>...</svg>"></zonos-icon>
|
|
1392
|
+
*/
|
|
1393
|
+
"content": string;
|
|
1394
|
+
/**
|
|
1395
|
+
* The size of the icon
|
|
1396
|
+
* @default 24
|
|
1397
|
+
*/
|
|
1398
|
+
"size"?: number;
|
|
1399
|
+
}
|
|
1400
|
+
interface ZonosLinkAuthentication {
|
|
1401
|
+
/**
|
|
1402
|
+
* The title text for the authentication element
|
|
1403
|
+
*/
|
|
1404
|
+
"titleText": string;
|
|
1405
|
+
}
|
|
1406
|
+
interface ZonosLogo {
|
|
1407
|
+
/**
|
|
1408
|
+
* css class for the component
|
|
1409
|
+
*/
|
|
1410
|
+
"class"?: string;
|
|
1411
|
+
/**
|
|
1412
|
+
* Theme to change the color of the logo
|
|
1413
|
+
*/
|
|
1414
|
+
"theme"?: ElementsUiTheme;
|
|
1415
|
+
/**
|
|
1416
|
+
* The width of the logo
|
|
1417
|
+
*/
|
|
1418
|
+
"width"?: string;
|
|
1419
|
+
}
|
|
1420
|
+
interface ZonosNotification {
|
|
1421
|
+
/**
|
|
1422
|
+
* Custom class to add to the notification
|
|
1423
|
+
*/
|
|
1424
|
+
"class"?: string;
|
|
1425
|
+
}
|
|
1426
|
+
interface ZonosPayment {
|
|
1427
|
+
/**
|
|
1428
|
+
* The title text for the authentication element
|
|
1429
|
+
*/
|
|
1430
|
+
"titleText"?: string;
|
|
1431
|
+
}
|
|
1432
|
+
interface ZonosReview {
|
|
1433
|
+
/**
|
|
1434
|
+
* Whether or not to show the collapse icon This is controled from the collapsed state of the zonos-collapse component to show the collapse icon
|
|
1435
|
+
*/
|
|
1436
|
+
"collapsed"?: boolean;
|
|
1437
|
+
/**
|
|
1438
|
+
* Whether or not the component is being rendered with mobile styles
|
|
1439
|
+
*/
|
|
1440
|
+
"mobile"?: boolean;
|
|
1441
|
+
}
|
|
1442
|
+
interface ZonosShipping {
|
|
1443
|
+
/**
|
|
1444
|
+
* Whether or not the continue button is loading
|
|
1445
|
+
*/
|
|
1446
|
+
"continueLoading"?: boolean;
|
|
1447
|
+
/**
|
|
1448
|
+
* Event to emit when the continue button is clicked
|
|
1449
|
+
*/
|
|
1450
|
+
"onContinueClicked"?: (event: ZonosShippingCustomEvent<void>) => void;
|
|
1451
|
+
/**
|
|
1452
|
+
* Submit button main color
|
|
1453
|
+
*/
|
|
1454
|
+
"submitBtnColor"?: string;
|
|
1455
|
+
/**
|
|
1456
|
+
* Whether or not the checkout is in mobile mode
|
|
1457
|
+
*/
|
|
1458
|
+
"submitBtnType"?: HTMLZonosButtonElement['variant'];
|
|
1459
|
+
}
|
|
1460
|
+
interface ZonosShippingRichRadio {
|
|
1461
|
+
/**
|
|
1462
|
+
* Override border color of the radio item
|
|
1463
|
+
*/
|
|
1464
|
+
"borderColor"?: Color | (string & { _placeholder?: never });
|
|
1465
|
+
/**
|
|
1466
|
+
* Override border color of the radio item
|
|
1467
|
+
*/
|
|
1468
|
+
"borderStyle"?: ElementsUiStyle;
|
|
1469
|
+
/**
|
|
1470
|
+
* List of items to display
|
|
1471
|
+
*/
|
|
1472
|
+
"items": ShippingRichRadioItem[];
|
|
1473
|
+
/**
|
|
1474
|
+
* Event emitted when an item is selected
|
|
1475
|
+
*/
|
|
1476
|
+
"onRadioSelected"?: (event: ZonosShippingRichRadioCustomEvent<ShippingRichRadioItem>) => void;
|
|
1477
|
+
/**
|
|
1478
|
+
* Theme of the radio item
|
|
1479
|
+
*/
|
|
1480
|
+
"theme"?: ElementsUiTheme;
|
|
1481
|
+
}
|
|
1482
|
+
interface ZonosSpinner {
|
|
1483
|
+
/**
|
|
1484
|
+
* Color of the spinner
|
|
1485
|
+
*/
|
|
1486
|
+
"color"?: SpinnerColor;
|
|
1487
|
+
/**
|
|
1488
|
+
* The size of the spinner
|
|
1489
|
+
* @default 32
|
|
1490
|
+
*/
|
|
1491
|
+
"size"?: number;
|
|
1492
|
+
}
|
|
1493
|
+
interface ZonosText {
|
|
1494
|
+
/**
|
|
1495
|
+
* css class for the component
|
|
1496
|
+
*/
|
|
1497
|
+
"class"?: string;
|
|
1498
|
+
/**
|
|
1499
|
+
* The icon element to display
|
|
1500
|
+
*/
|
|
1501
|
+
"color"?: Color;
|
|
1502
|
+
/**
|
|
1503
|
+
* The tag to use for the text
|
|
1504
|
+
*/
|
|
1505
|
+
"content"?: string;
|
|
1506
|
+
/**
|
|
1507
|
+
* The size of the text
|
|
1508
|
+
*/
|
|
1509
|
+
"size"?: Size;
|
|
1510
|
+
/**
|
|
1511
|
+
* Type of the text to display
|
|
1512
|
+
*/
|
|
1513
|
+
"type"?: Type;
|
|
1514
|
+
/**
|
|
1515
|
+
* The weight of the text
|
|
1516
|
+
*/
|
|
1517
|
+
"weight"?: FontWeight;
|
|
1518
|
+
}
|
|
1519
|
+
interface ZonosVStack {
|
|
1520
|
+
/**
|
|
1521
|
+
* The CSS class to apply to the stack element
|
|
1522
|
+
*/
|
|
1523
|
+
"class"?: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* The spacing between elements in the stack
|
|
1526
|
+
* @default 24
|
|
1527
|
+
*/
|
|
1528
|
+
"spacing"?: GridSpacing;
|
|
1529
|
+
}
|
|
1530
|
+
interface IntrinsicElements {
|
|
1531
|
+
"zonos-address": ZonosAddress;
|
|
1532
|
+
"zonos-badge": ZonosBadge;
|
|
1533
|
+
"zonos-banner": ZonosBanner;
|
|
1534
|
+
"zonos-button": ZonosButton;
|
|
1535
|
+
"zonos-card": ZonosCard;
|
|
1536
|
+
"zonos-cart-items": ZonosCartItems;
|
|
1537
|
+
"zonos-cart-subtotal": ZonosCartSubtotal;
|
|
1538
|
+
"zonos-checkout": ZonosCheckout;
|
|
1539
|
+
"zonos-checkout-finish": ZonosCheckoutFinish;
|
|
1540
|
+
"zonos-checkout-payment": ZonosCheckoutPayment;
|
|
1541
|
+
"zonos-collapse": ZonosCollapse;
|
|
1542
|
+
"zonos-component": ZonosComponent;
|
|
1543
|
+
"zonos-controller": ZonosController;
|
|
1544
|
+
"zonos-country-flag": ZonosCountryFlag;
|
|
1545
|
+
"zonos-country-select": ZonosCountrySelect;
|
|
1546
|
+
"zonos-custom-message": ZonosCustomMessage;
|
|
1547
|
+
"zonos-customer-info": ZonosCustomerInfo;
|
|
1548
|
+
"zonos-dialog": ZonosDialog;
|
|
1549
|
+
"zonos-hello": ZonosHello;
|
|
1550
|
+
"zonos-hello-dialog": ZonosHelloDialog;
|
|
1551
|
+
"zonos-hello-dialog-footer": ZonosHelloDialogFooter;
|
|
1552
|
+
"zonos-icon": ZonosIcon;
|
|
1553
|
+
"zonos-link-authentication": ZonosLinkAuthentication;
|
|
1554
|
+
"zonos-logo": ZonosLogo;
|
|
1555
|
+
"zonos-notification": ZonosNotification;
|
|
1556
|
+
"zonos-payment": ZonosPayment;
|
|
1557
|
+
"zonos-review": ZonosReview;
|
|
1558
|
+
"zonos-shipping": ZonosShipping;
|
|
1559
|
+
"zonos-shipping-rich-radio": ZonosShippingRichRadio;
|
|
1560
|
+
"zonos-spinner": ZonosSpinner;
|
|
1561
|
+
"zonos-text": ZonosText;
|
|
1562
|
+
"zonos-v-stack": ZonosVStack;
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
export { LocalJSX as JSX };
|
|
1566
|
+
declare module "@stencil/core" {
|
|
1567
|
+
export namespace JSX {
|
|
1568
|
+
interface IntrinsicElements {
|
|
1569
|
+
"zonos-address": LocalJSX.ZonosAddress & JSXBase.HTMLAttributes<HTMLZonosAddressElement>;
|
|
1570
|
+
"zonos-badge": LocalJSX.ZonosBadge & JSXBase.HTMLAttributes<HTMLZonosBadgeElement>;
|
|
1571
|
+
"zonos-banner": LocalJSX.ZonosBanner & JSXBase.HTMLAttributes<HTMLZonosBannerElement>;
|
|
1572
|
+
"zonos-button": LocalJSX.ZonosButton & JSXBase.HTMLAttributes<HTMLZonosButtonElement>;
|
|
1573
|
+
"zonos-card": LocalJSX.ZonosCard & JSXBase.HTMLAttributes<HTMLZonosCardElement>;
|
|
1574
|
+
"zonos-cart-items": LocalJSX.ZonosCartItems & JSXBase.HTMLAttributes<HTMLZonosCartItemsElement>;
|
|
1575
|
+
"zonos-cart-subtotal": LocalJSX.ZonosCartSubtotal & JSXBase.HTMLAttributes<HTMLZonosCartSubtotalElement>;
|
|
1576
|
+
"zonos-checkout": LocalJSX.ZonosCheckout & JSXBase.HTMLAttributes<HTMLZonosCheckoutElement>;
|
|
1577
|
+
"zonos-checkout-finish": LocalJSX.ZonosCheckoutFinish & JSXBase.HTMLAttributes<HTMLZonosCheckoutFinishElement>;
|
|
1578
|
+
"zonos-checkout-payment": LocalJSX.ZonosCheckoutPayment & JSXBase.HTMLAttributes<HTMLZonosCheckoutPaymentElement>;
|
|
1579
|
+
"zonos-collapse": LocalJSX.ZonosCollapse & JSXBase.HTMLAttributes<HTMLZonosCollapseElement>;
|
|
1580
|
+
"zonos-component": LocalJSX.ZonosComponent & JSXBase.HTMLAttributes<HTMLZonosComponentElement>;
|
|
1581
|
+
"zonos-controller": LocalJSX.ZonosController & JSXBase.HTMLAttributes<HTMLZonosControllerElement>;
|
|
1582
|
+
"zonos-country-flag": LocalJSX.ZonosCountryFlag & JSXBase.HTMLAttributes<HTMLZonosCountryFlagElement>;
|
|
1583
|
+
"zonos-country-select": LocalJSX.ZonosCountrySelect & JSXBase.HTMLAttributes<HTMLZonosCountrySelectElement>;
|
|
1584
|
+
"zonos-custom-message": LocalJSX.ZonosCustomMessage & JSXBase.HTMLAttributes<HTMLZonosCustomMessageElement>;
|
|
1585
|
+
"zonos-customer-info": LocalJSX.ZonosCustomerInfo & JSXBase.HTMLAttributes<HTMLZonosCustomerInfoElement>;
|
|
1586
|
+
"zonos-dialog": LocalJSX.ZonosDialog & JSXBase.HTMLAttributes<HTMLZonosDialogElement>;
|
|
1587
|
+
"zonos-hello": LocalJSX.ZonosHello & JSXBase.HTMLAttributes<HTMLZonosHelloElement>;
|
|
1588
|
+
"zonos-hello-dialog": LocalJSX.ZonosHelloDialog & JSXBase.HTMLAttributes<HTMLZonosHelloDialogElement>;
|
|
1589
|
+
"zonos-hello-dialog-footer": LocalJSX.ZonosHelloDialogFooter & JSXBase.HTMLAttributes<HTMLZonosHelloDialogFooterElement>;
|
|
1590
|
+
"zonos-icon": LocalJSX.ZonosIcon & JSXBase.HTMLAttributes<HTMLZonosIconElement>;
|
|
1591
|
+
"zonos-link-authentication": LocalJSX.ZonosLinkAuthentication & JSXBase.HTMLAttributes<HTMLZonosLinkAuthenticationElement>;
|
|
1592
|
+
"zonos-logo": LocalJSX.ZonosLogo & JSXBase.HTMLAttributes<HTMLZonosLogoElement>;
|
|
1593
|
+
"zonos-notification": LocalJSX.ZonosNotification & JSXBase.HTMLAttributes<HTMLZonosNotificationElement>;
|
|
1594
|
+
"zonos-payment": LocalJSX.ZonosPayment & JSXBase.HTMLAttributes<HTMLZonosPaymentElement>;
|
|
1595
|
+
"zonos-review": LocalJSX.ZonosReview & JSXBase.HTMLAttributes<HTMLZonosReviewElement>;
|
|
1596
|
+
"zonos-shipping": LocalJSX.ZonosShipping & JSXBase.HTMLAttributes<HTMLZonosShippingElement>;
|
|
1597
|
+
"zonos-shipping-rich-radio": LocalJSX.ZonosShippingRichRadio & JSXBase.HTMLAttributes<HTMLZonosShippingRichRadioElement>;
|
|
1598
|
+
"zonos-spinner": LocalJSX.ZonosSpinner & JSXBase.HTMLAttributes<HTMLZonosSpinnerElement>;
|
|
1599
|
+
"zonos-text": LocalJSX.ZonosText & JSXBase.HTMLAttributes<HTMLZonosTextElement>;
|
|
1600
|
+
"zonos-v-stack": LocalJSX.ZonosVStack & JSXBase.HTMLAttributes<HTMLZonosVStackElement>;
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
}
|