@zonos/elements 1.3.143 → 1.3.144
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{CheckoutConfig-eaaf62a1.js → CheckoutConfig-d25d548d.js} +13 -3
- package/dist/cjs/{cart-6ac8dc06.js → cart-2398abd4.js} +296 -41
- package/dist/cjs/{createCustomEvent-3e982e57.js → createCustomEvent-7b6fad95.js} +0 -3
- package/dist/cjs/{getBorderRadius-f97c99ad.js → getBorderRadius-7d0772bf.js} +1 -1
- package/dist/cjs/{handleFetch-864d3c53.js → handleFetch-3673a0c2.js} +30 -1
- package/dist/cjs/{index-b678ce0c.js → index-2f90486e.js} +209 -157
- package/dist/cjs/index.cjs.js +12 -11
- package/dist/cjs/{isDarkColor-434d71dd.js → isDarkColor-2acf30d1.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{paypal-ea8b4ca0.js → paypal-7ed9dfb7.js} +4 -4
- package/dist/cjs/zonos-address_8.cjs.entry.js +96 -18
- package/dist/cjs/zonos-badge.cjs.entry.js +2 -2
- package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
- package/dist/cjs/zonos-button_3.cjs.entry.js +4 -4
- package/dist/cjs/zonos-card.cjs.entry.js +3 -3
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +128 -30
- package/dist/cjs/zonos-checkout.cjs.entry.js +36 -16
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +8 -8
- package/dist/cjs/zonos-country-flag.cjs.entry.js +6 -6
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +6 -6
- package/dist/cjs/zonos-elements.cjs.js +3 -3
- package/dist/cjs/{zonos-notification_3.cjs.entry.js → zonos-empty-state-payment_4.cjs.entry.js} +86 -8
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +7 -7
- package/dist/cjs/zonos-hello.cjs.entry.js +6 -6
- package/dist/cjs/zonos-input.cjs.entry.js +3 -3
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -6
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
- package/dist/cjs/zonos-text.cjs.entry.js +2 -2
- package/dist/cjs/zonos-toggle.cjs.entry.js +2 -2
- package/dist/cjs/zonos-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
- package/dist/cjs/{zonosStore-8971eb65.js → zonosStore-46809186.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.js +5 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +8 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.js +24 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.js +2 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +4 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +34 -6
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +4 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +109 -18
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/assets/PaymentEmptyStateDarkIcon.svg +22 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/assets/PaymentEmptyStateLightIcon.svg +22 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.css +51 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.js +90 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +62 -7
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +10 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +4 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +6 -0
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +18 -2
- package/dist/collection/components/common/zonos-banner/zonos-banner.js +4 -0
- package/dist/collection/components/common/zonos-button/zonos-button.js +30 -0
- package/dist/collection/components/common/zonos-card/zonos-card.js +20 -4
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +14 -0
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +4 -0
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +4 -0
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +22 -0
- package/dist/collection/components/common/zonos-country-flag/zonos-country-flag.js +4 -0
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -0
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +4 -0
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +26 -0
- package/dist/collection/components/common/zonos-icon/zonos-icon.js +8 -0
- package/dist/collection/components/common/zonos-input/zonos-input.js +12 -0
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -0
- package/dist/collection/components/common/zonos-link/zonos-link.js +8 -0
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +4 -0
- package/dist/collection/components/common/zonos-rest-state/zonos-rest-state.js +6 -0
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +4 -0
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +11 -1
- package/dist/collection/components/common/zonos-spinner/zonos-spinner.js +4 -0
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.css +3 -3
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +52 -8
- package/dist/collection/components/common/zonos-text/zonos-text.js +8 -0
- package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +4 -0
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +4 -0
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -0
- package/dist/collection/components/common/zonos-virtual-scroll/zonos-virtual-scroll.js +10 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +6 -0
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +7 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +7 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +14 -2
- package/dist/collection/components/main/zonos-controller.js +7 -3
- package/dist/collection/components/store/checkout/cart.js +3 -0
- package/dist/collection/components/store/checkout/stripe.js +112 -39
- package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
- package/dist/collection/components/store/translationStore/strings.base.js +9 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
- package/dist/collection/components/store/translationStore/strings.french.js +9 -0
- package/dist/collection/components/store/translationStore/strings.german.js +9 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +6 -0
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +84 -3
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +3 -1
- package/dist/collection/components/utils/api/getCheckoutSession.js +1 -1
- package/dist/collection/components/utils/api/placeTestOrder.js +40 -0
- package/dist/collection/components/utils/checkout/getIsStagingMode.js +1 -0
- package/dist/collection/components/utils/checkout/getIsTestMode.js +5 -1
- package/dist/collection/components/utils/handleFetch.js +22 -1
- package/dist/collection/components/utils/validateEmailValue.js +4 -0
- package/dist/collection/scripts/_getTempCartById.js +2 -2
- package/dist/collection/scripts/_getWithTestPublicCredential.js +5 -2
- package/dist/collection/scripts/cart/_getIsValidCartId.js +11 -0
- package/dist/collection/types/checkout/api/PlaceTestOrder.js +1 -0
- package/dist/collection/types/generated/graphql.internal.types.js +13 -1
- package/dist/collection/types/index.js +1 -0
- package/dist/esm/{CheckoutConfig-262008fe.js → CheckoutConfig-573bd959.js} +13 -3
- package/dist/esm/{cart-acba54d0.js → cart-3427ee25.js} +296 -41
- package/dist/esm/{createCustomEvent-31a792d3.js → createCustomEvent-58159025.js} +1 -3
- package/dist/esm/{getBorderRadius-4aca63d4.js → getBorderRadius-b32d4218.js} +1 -1
- package/dist/esm/{handleFetch-badf4543.js → handleFetch-b4633675.js} +29 -2
- package/dist/esm/{index-986b5ff2.js → index-d82f06f2.js} +209 -157
- package/dist/esm/index.js +13 -12
- package/dist/esm/{isDarkColor-4915739f.js → isDarkColor-10f38df6.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{paypal-3401f757.js → paypal-4e2f9753.js} +4 -4
- package/dist/esm/zonos-address_8.entry.js +96 -18
- package/dist/esm/zonos-badge.entry.js +2 -2
- package/dist/esm/zonos-banner.entry.js +2 -2
- package/dist/esm/zonos-button_3.entry.js +4 -4
- package/dist/esm/zonos-card.entry.js +3 -3
- package/dist/esm/zonos-cart-items_13.entry.js +126 -28
- package/dist/esm/zonos-checkout.entry.js +34 -14
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +8 -8
- package/dist/esm/zonos-country-flag.entry.js +6 -6
- package/dist/esm/zonos-country-select_4.entry.js +6 -6
- package/dist/esm/zonos-elements.js +4 -4
- package/dist/esm/{zonos-notification_3.entry.js → zonos-empty-state-payment_4.entry.js} +86 -9
- package/dist/esm/zonos-hello-dialog.entry.js +7 -7
- package/dist/esm/zonos-hello.entry.js +6 -6
- package/dist/esm/zonos-input.entry.js +3 -3
- package/dist/esm/zonos-language-select_2.entry.js +6 -6
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/esm/zonos-text.entry.js +2 -2
- package/dist/esm/zonos-toggle.entry.js +2 -2
- package/dist/esm/zonos-tooltip.entry.js +1 -1
- package/dist/esm/zonos-v-stack.entry.js +2 -2
- package/dist/esm/{zonosStore-708637e7.js → zonosStore-44efd080.js} +1 -1
- package/dist/esm-es5/CheckoutConfig-573bd959.js +1 -0
- package/dist/esm-es5/cart-3427ee25.js +1 -0
- package/dist/esm-es5/createCustomEvent-58159025.js +1 -0
- package/dist/esm-es5/{getBorderRadius-4aca63d4.js → getBorderRadius-b32d4218.js} +1 -1
- package/dist/esm-es5/handleFetch-b4633675.js +1 -0
- package/dist/esm-es5/index-d82f06f2.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-4915739f.js → isDarkColor-10f38df6.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{paypal-3401f757.js → paypal-4e2f9753.js} +1 -1
- package/dist/esm-es5/zonos-address_8.entry.js +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-empty-state-payment_4.entry.js +1 -0
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-708637e7.js → zonosStore-44efd080.js} +1 -1
- package/dist/scripts/index.d.ts +61 -0
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +1 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.d.ts +18 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-empty-state-payment/zonos-empty-state-payment.d.ts +13 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +10 -0
- package/dist/types/components/common/zonos-stripe-input/zonos-stripe-input.d.ts +7 -3
- package/dist/types/components/store/checkout/cart.d.ts +5 -0
- package/dist/types/components/store/checkout/stripe.d.ts +8 -2
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
- package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +6 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components/utils/api/placeTestOrder.d.ts +7 -0
- package/dist/types/components/utils/checkout/getIsStagingMode.d.ts +1 -0
- package/dist/types/components/utils/checkout/getIsTestMode.d.ts +1 -1
- package/dist/types/components/utils/validateEmailValue.d.ts +1 -0
- package/dist/types/components.d.ts +61 -0
- package/dist/types/types/checkout/api/CheckoutSession.d.ts +8 -2
- package/dist/types/types/checkout/api/PlaceTestOrder.d.ts +7 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +75 -2
- package/dist/types/types/generated/graphql.internal.types.ts +92 -4
- package/dist/types/types/index.d.ts +1 -0
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-ab6973a5.entry.js → p-00136c20.entry.js} +1 -1
- package/dist/zonos-elements/{p-d3867033.entry.js → p-0028d158.entry.js} +1 -1
- package/dist/zonos-elements/{p-54058b57.entry.js → p-05013308.entry.js} +1 -1
- package/dist/zonos-elements/{p-0b5c9f89.system.js → p-0e6a3cd2.system.js} +1 -1
- package/dist/zonos-elements/{p-c0164a3c.system.js → p-12546668.system.js} +1 -1
- package/dist/zonos-elements/p-1423ebbe.js +1 -0
- package/dist/zonos-elements/p-18e5b741.system.js +1 -0
- package/dist/zonos-elements/p-2deae669.entry.js +1 -0
- package/dist/zonos-elements/{p-36dfc7ac.system.js → p-32912caf.system.js} +1 -1
- package/dist/zonos-elements/{p-fc4658a6.entry.js → p-36f97fd9.entry.js} +1 -1
- package/dist/zonos-elements/{p-8ac02349.system.entry.js → p-3a213429.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e6554a6f.system.entry.js → p-3aa4841a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-a13d5957.system.entry.js → p-3d221556.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-381874b0.system.entry.js → p-41e26cc4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0db28495.system.entry.js → p-463e44b6.system.entry.js} +1 -1
- package/dist/zonos-elements/p-46f6e5e9.system.js +1 -0
- package/dist/zonos-elements/p-485d89a4.js +17 -0
- package/dist/zonos-elements/p-48bca3d4.system.entry.js +1 -0
- package/dist/zonos-elements/p-4caffd96.system.js +2 -0
- package/dist/zonos-elements/{p-d9511c4a.entry.js → p-50896f89.entry.js} +1 -1
- package/dist/zonos-elements/{p-38d0c496.system.entry.js → p-515e3606.system.entry.js} +1 -1
- package/dist/zonos-elements/p-5834c218.system.js +1 -0
- package/dist/zonos-elements/p-595f5dd2.js +1 -0
- package/dist/zonos-elements/{p-2761ad55.system.entry.js → p-619c07c6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9d7a860c.entry.js → p-69f84611.entry.js} +1 -1
- package/dist/zonos-elements/{p-766dd01f.js → p-6c578d26.js} +1 -1
- package/dist/zonos-elements/{p-28295342.entry.js → p-709c7e9e.entry.js} +1 -1
- package/dist/zonos-elements/{p-0197a9bf.system.entry.js → p-7140439f.system.entry.js} +1 -1
- package/dist/zonos-elements/p-7302a081.system.entry.js +1 -0
- package/dist/zonos-elements/p-7e47f6cf.entry.js +1 -0
- package/dist/zonos-elements/{p-44dd4269.entry.js → p-7f288336.entry.js} +1 -1
- package/dist/zonos-elements/{p-78e4f877.system.entry.js → p-81084be5.system.entry.js} +1 -1
- package/dist/zonos-elements/p-81a5dd5c.js +1 -0
- package/dist/zonos-elements/p-84e5fc0b.entry.js +1 -0
- package/dist/zonos-elements/{p-33e1d25e.system.entry.js → p-86e825f0.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0b5f4ca7.system.entry.js → p-91fc6c24.system.entry.js} +1 -1
- package/dist/zonos-elements/p-9951462e.entry.js +1 -0
- package/dist/zonos-elements/{p-a2bce31d.system.entry.js → p-9cf018c8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2ab5e362.system.entry.js → p-9e05e259.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-df9c0bfa.system.entry.js → p-a8cf3542.system.entry.js} +1 -1
- package/dist/zonos-elements/p-ab68ad11.js +2 -0
- package/dist/zonos-elements/{p-4b685549.js → p-b0616716.js} +1 -1
- package/dist/zonos-elements/{p-1e3ea4ae.entry.js → p-b12fbc07.entry.js} +1 -1
- package/dist/zonos-elements/{p-dba6147b.system.entry.js → p-b2292b70.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b2ea7adb.entry.js → p-b262b93e.entry.js} +1 -1
- package/dist/zonos-elements/{p-545c05ce.entry.js → p-b288c2ed.entry.js} +1 -1
- package/dist/zonos-elements/p-b3882a73.system.js +1 -0
- package/dist/zonos-elements/{p-9306a835.entry.js → p-b5c360af.entry.js} +1 -1
- package/dist/zonos-elements/{p-2cfc00b8.system.entry.js → p-b6bbdb59.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-654fc23d.system.entry.js → p-bb92882d.system.entry.js} +1 -1
- package/dist/zonos-elements/p-bf37ccc7.system.js +1 -0
- package/dist/zonos-elements/{p-21b538ea.system.js → p-c015be06.system.js} +1 -1
- package/dist/zonos-elements/p-c8b0bc02.system.entry.js +1 -0
- package/dist/zonos-elements/{p-39cac2c1.entry.js → p-cbd5d932.entry.js} +1 -1
- package/dist/zonos-elements/{p-7c5c0a85.entry.js → p-cdfca133.entry.js} +1 -1
- package/dist/zonos-elements/{p-675f60b4.entry.js → p-d2f2c685.entry.js} +1 -1
- package/dist/zonos-elements/{p-4c7f0417.entry.js → p-d6061c79.entry.js} +1 -1
- package/dist/zonos-elements/p-da6a29e4.system.entry.js +1 -0
- package/dist/zonos-elements/{p-3f991022.entry.js → p-db3f381d.entry.js} +1 -1
- package/dist/zonos-elements/{p-9dec2b74.entry.js → p-de221545.entry.js} +1 -1
- package/dist/zonos-elements/{p-0ab29580.entry.js → p-e01ccb27.entry.js} +1 -1
- package/dist/zonos-elements/{p-b0174a8f.js → p-e02fd9ae.js} +1 -1
- package/dist/zonos-elements/{p-f2d07062.entry.js → p-e2f1fa53.entry.js} +1 -1
- package/dist/zonos-elements/{p-6a8862a6.system.entry.js → p-e8c70c7d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9e84f647.system.entry.js → p-ea35b237.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f0c8150e.js +1 -0
- package/dist/zonos-elements/p-f3b0a097.system.js +1 -0
- package/dist/zonos-elements/{p-d5a3851d.system.entry.js → p-fc4ebe6b.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/package.json +9 -8
- package/dist/esm-es5/CheckoutConfig-262008fe.js +0 -1
- package/dist/esm-es5/cart-acba54d0.js +0 -1
- package/dist/esm-es5/createCustomEvent-31a792d3.js +0 -1
- package/dist/esm-es5/handleFetch-badf4543.js +0 -1
- package/dist/esm-es5/index-986b5ff2.js +0 -2
- package/dist/esm-es5/zonos-notification_3.entry.js +0 -1
- package/dist/zonos-elements/p-1198c874.entry.js +0 -1
- package/dist/zonos-elements/p-1460f917.js +0 -1
- package/dist/zonos-elements/p-302f5d25.entry.js +0 -1
- package/dist/zonos-elements/p-386325ae.system.js +0 -1
- package/dist/zonos-elements/p-64372f93.system.js +0 -1
- package/dist/zonos-elements/p-680d3694.js +0 -2
- package/dist/zonos-elements/p-7b999a40.js +0 -1
- package/dist/zonos-elements/p-7c643376.system.js +0 -1
- package/dist/zonos-elements/p-8e30228d.system.entry.js +0 -1
- package/dist/zonos-elements/p-8f26cc7e.entry.js +0 -1
- package/dist/zonos-elements/p-9da2d116.entry.js +0 -1
- package/dist/zonos-elements/p-a08ea336.js +0 -1
- package/dist/zonos-elements/p-a4f045d4.js +0 -17
- package/dist/zonos-elements/p-a5b294d7.js +0 -1
- package/dist/zonos-elements/p-b50667b6.system.js +0 -2
- package/dist/zonos-elements/p-bfcfd29b.system.js +0 -1
- package/dist/zonos-elements/p-c437d76c.system.js +0 -1
- package/dist/zonos-elements/p-d1afd314.system.entry.js +0 -1
- package/dist/zonos-elements/p-e9964a5a.system.js +0 -1
- package/dist/zonos-elements/p-f9aef1fc.system.entry.js +0 -1
- package/dist/zonos-elements/p-fa538a74.system.entry.js +0 -1
|
@@ -173,6 +173,9 @@ export declare const stringsNorwegian: {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: string;
|
|
175
175
|
};
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: string;
|
|
178
181
|
};
|
|
@@ -230,6 +233,9 @@ export declare const stringsNorwegian: {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: string;
|
|
232
235
|
};
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: string;
|
|
238
|
+
};
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: string;
|
|
235
241
|
};
|
|
@@ -332,6 +338,9 @@ export declare const stringsNorwegian: {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: string;
|
|
334
340
|
};
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: string;
|
|
343
|
+
};
|
|
335
344
|
State: {
|
|
336
345
|
value: string;
|
|
337
346
|
};
|
|
@@ -173,6 +173,9 @@ export declare const stringsPolish: {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: string;
|
|
175
175
|
};
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: string;
|
|
178
181
|
};
|
|
@@ -230,6 +233,9 @@ export declare const stringsPolish: {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: string;
|
|
232
235
|
};
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: string;
|
|
238
|
+
};
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: string;
|
|
235
241
|
};
|
|
@@ -332,6 +338,9 @@ export declare const stringsPolish: {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: string;
|
|
334
340
|
};
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: string;
|
|
343
|
+
};
|
|
335
344
|
State: {
|
|
336
345
|
value: string;
|
|
337
346
|
};
|
|
@@ -173,6 +173,9 @@ export declare const stringsPortuguese: {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: string;
|
|
175
175
|
};
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: string;
|
|
178
181
|
};
|
|
@@ -230,6 +233,9 @@ export declare const stringsPortuguese: {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: string;
|
|
232
235
|
};
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: string;
|
|
238
|
+
};
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: string;
|
|
235
241
|
};
|
|
@@ -332,6 +338,9 @@ export declare const stringsPortuguese: {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: string;
|
|
334
340
|
};
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: string;
|
|
343
|
+
};
|
|
335
344
|
State: {
|
|
336
345
|
value: string;
|
|
337
346
|
};
|
|
@@ -173,6 +173,9 @@ export declare const stringsRussian: {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: string;
|
|
175
175
|
};
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: string;
|
|
178
181
|
};
|
|
@@ -230,6 +233,9 @@ export declare const stringsRussian: {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: string;
|
|
232
235
|
};
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: string;
|
|
238
|
+
};
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: string;
|
|
235
241
|
};
|
|
@@ -332,6 +338,9 @@ export declare const stringsRussian: {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: string;
|
|
334
340
|
};
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: string;
|
|
343
|
+
};
|
|
335
344
|
State: {
|
|
336
345
|
value: string;
|
|
337
346
|
};
|
|
@@ -173,6 +173,9 @@ export declare const stringsSpanish: {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: string;
|
|
175
175
|
};
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: string;
|
|
178
181
|
};
|
|
@@ -230,6 +233,9 @@ export declare const stringsSpanish: {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: string;
|
|
232
235
|
};
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: string;
|
|
238
|
+
};
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: string;
|
|
235
241
|
};
|
|
@@ -332,6 +338,9 @@ export declare const stringsSpanish: {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: string;
|
|
334
340
|
};
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: string;
|
|
343
|
+
};
|
|
335
344
|
State: {
|
|
336
345
|
value: string;
|
|
337
346
|
};
|
|
@@ -173,6 +173,9 @@ export declare const stringsSwedish: {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: string;
|
|
175
175
|
};
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: string;
|
|
178
181
|
};
|
|
@@ -230,6 +233,9 @@ export declare const stringsSwedish: {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: string;
|
|
232
235
|
};
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: string;
|
|
238
|
+
};
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: string;
|
|
235
241
|
};
|
|
@@ -332,6 +338,9 @@ export declare const stringsSwedish: {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: string;
|
|
334
340
|
};
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: string;
|
|
343
|
+
};
|
|
335
344
|
State: {
|
|
336
345
|
value: string;
|
|
337
346
|
};
|
|
@@ -173,6 +173,9 @@ export declare const stringsTurkish: {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: string;
|
|
175
175
|
};
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: string;
|
|
178
181
|
};
|
|
@@ -230,6 +233,9 @@ export declare const stringsTurkish: {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: string;
|
|
232
235
|
};
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: string;
|
|
238
|
+
};
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: string;
|
|
235
241
|
};
|
|
@@ -332,6 +338,9 @@ export declare const stringsTurkish: {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: string;
|
|
334
340
|
};
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: string;
|
|
343
|
+
};
|
|
335
344
|
State: {
|
|
336
345
|
value: string;
|
|
337
346
|
};
|
|
@@ -173,6 +173,9 @@ export declare const stringsVietnamese: {
|
|
|
173
173
|
'No countries found': {
|
|
174
174
|
value: string;
|
|
175
175
|
};
|
|
176
|
+
'No payment method needed for staging': {
|
|
177
|
+
value: string;
|
|
178
|
+
};
|
|
176
179
|
'No shipment rating selected. Please go back to the "Shipping" step and select a shipment rating to proceed.': {
|
|
177
180
|
value: string;
|
|
178
181
|
};
|
|
@@ -230,6 +233,9 @@ export declare const stringsVietnamese: {
|
|
|
230
233
|
'Phone number': {
|
|
231
234
|
value: string;
|
|
232
235
|
};
|
|
236
|
+
'Place test order': {
|
|
237
|
+
value: string;
|
|
238
|
+
};
|
|
233
239
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
234
240
|
value: string;
|
|
235
241
|
};
|
|
@@ -332,6 +338,9 @@ export declare const stringsVietnamese: {
|
|
|
332
338
|
'Spend [threshold] tax free.': {
|
|
333
339
|
value: string;
|
|
334
340
|
};
|
|
341
|
+
'Staging mode': {
|
|
342
|
+
value: string;
|
|
343
|
+
};
|
|
335
344
|
State: {
|
|
336
345
|
value: string;
|
|
337
346
|
};
|
package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts
CHANGED
|
@@ -18,8 +18,14 @@ export declare class ZonosLinkAuthentication {
|
|
|
18
18
|
*/
|
|
19
19
|
linkAuthenticationChange?: EventEmitter<void>;
|
|
20
20
|
stripe: Stripe | null;
|
|
21
|
+
isStagingMode: boolean;
|
|
22
|
+
clientSecret: string;
|
|
21
23
|
el: HTMLZonosLinkAuthenticationElement;
|
|
24
|
+
watchIsStagingMode(): void;
|
|
22
25
|
watchInitStripe(): void;
|
|
26
|
+
private setCustomEmailInputToLinkEvent;
|
|
27
|
+
private handleNormalEmailInput;
|
|
28
|
+
watchDefaultEmail(): void;
|
|
23
29
|
componentDidLoad(): void;
|
|
24
30
|
render(): any;
|
|
25
31
|
}
|
|
@@ -4,7 +4,7 @@ export declare const getLocaleMessages: ({ countryCode, localeTo, storeId, }: {
|
|
|
4
4
|
localeTo?: string;
|
|
5
5
|
storeId: number;
|
|
6
6
|
}) => Promise<{
|
|
7
|
-
countryCodes: Array<string
|
|
7
|
+
countryCodes: Array<string> | null;
|
|
8
8
|
countryCodesPageMessageLinks: Array<{
|
|
9
9
|
id: number;
|
|
10
10
|
message: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getIsStagingMode: () => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getIsTestMode: () => boolean
|
|
1
|
+
export declare const getIsTestMode: () => boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const validateEmailValue: (value: string) => boolean;
|
|
@@ -373,6 +373,10 @@ export namespace Components {
|
|
|
373
373
|
* For usage in storybook for a mocked flow.
|
|
374
374
|
*/
|
|
375
375
|
"mockCheckoutSession": (session: CheckoutSessionDetailsFragment) => Promise<void>;
|
|
376
|
+
/**
|
|
377
|
+
* Override staging mode. Solely use for storybook
|
|
378
|
+
*/
|
|
379
|
+
"overrideStagingMode"?: boolean;
|
|
376
380
|
/**
|
|
377
381
|
* Preview checkout without needing to click on the button. This would be useful for demo purpose
|
|
378
382
|
*/
|
|
@@ -415,6 +419,14 @@ export namespace Components {
|
|
|
415
419
|
* Whether or not the continue button is loading
|
|
416
420
|
*/
|
|
417
421
|
"continueLoading": boolean;
|
|
422
|
+
/**
|
|
423
|
+
* Whether or not the checkout is in mobile mode
|
|
424
|
+
*/
|
|
425
|
+
"isMobile": boolean;
|
|
426
|
+
/**
|
|
427
|
+
* Primary color to override primary color from appearance primary color in setting.
|
|
428
|
+
*/
|
|
429
|
+
"overridePrimaryColor"?: string;
|
|
418
430
|
/**
|
|
419
431
|
* Submit button main color
|
|
420
432
|
*/
|
|
@@ -676,6 +688,16 @@ export namespace Components {
|
|
|
676
688
|
*/
|
|
677
689
|
"width": string;
|
|
678
690
|
}
|
|
691
|
+
interface ZonosEmptyStatePayment {
|
|
692
|
+
/**
|
|
693
|
+
* Text to display in the empty state
|
|
694
|
+
*/
|
|
695
|
+
"emptyStateText": string;
|
|
696
|
+
/**
|
|
697
|
+
* Theme color of the icon
|
|
698
|
+
*/
|
|
699
|
+
"theme": ElementsUiTheme;
|
|
700
|
+
}
|
|
679
701
|
interface ZonosHello {
|
|
680
702
|
/**
|
|
681
703
|
* Force left animation instead of detecting which side has more space
|
|
@@ -993,6 +1015,10 @@ export namespace Components {
|
|
|
993
1015
|
* Secondary color to override secondary color from appearance secondary color in setting
|
|
994
1016
|
*/
|
|
995
1017
|
"overrideSecondaryColor"?: string;
|
|
1018
|
+
/**
|
|
1019
|
+
* The value of the input.
|
|
1020
|
+
*/
|
|
1021
|
+
"value": string;
|
|
996
1022
|
}
|
|
997
1023
|
interface ZonosText {
|
|
998
1024
|
/**
|
|
@@ -1420,6 +1446,12 @@ declare global {
|
|
|
1420
1446
|
prototype: HTMLZonosDialogElement;
|
|
1421
1447
|
new (): HTMLZonosDialogElement;
|
|
1422
1448
|
};
|
|
1449
|
+
interface HTMLZonosEmptyStatePaymentElement extends Components.ZonosEmptyStatePayment, HTMLStencilElement {
|
|
1450
|
+
}
|
|
1451
|
+
var HTMLZonosEmptyStatePaymentElement: {
|
|
1452
|
+
prototype: HTMLZonosEmptyStatePaymentElement;
|
|
1453
|
+
new (): HTMLZonosEmptyStatePaymentElement;
|
|
1454
|
+
};
|
|
1423
1455
|
interface HTMLZonosHelloElement extends Components.ZonosHello, HTMLStencilElement {
|
|
1424
1456
|
}
|
|
1425
1457
|
var HTMLZonosHelloElement: {
|
|
@@ -1689,6 +1721,7 @@ declare global {
|
|
|
1689
1721
|
"zonos-custom-message": HTMLZonosCustomMessageElement;
|
|
1690
1722
|
"zonos-customer-info": HTMLZonosCustomerInfoElement;
|
|
1691
1723
|
"zonos-dialog": HTMLZonosDialogElement;
|
|
1724
|
+
"zonos-empty-state-payment": HTMLZonosEmptyStatePaymentElement;
|
|
1692
1725
|
"zonos-hello": HTMLZonosHelloElement;
|
|
1693
1726
|
"zonos-hello-dialog": HTMLZonosHelloDialogElement;
|
|
1694
1727
|
"zonos-hello-dialog-footer": HTMLZonosHelloDialogFooterElement;
|
|
@@ -2049,6 +2082,10 @@ declare namespace LocalJSX {
|
|
|
2049
2082
|
* Flag to determine if the checkout is on mobile
|
|
2050
2083
|
*/
|
|
2051
2084
|
"mobile"?: boolean;
|
|
2085
|
+
/**
|
|
2086
|
+
* Override staging mode. Solely use for storybook
|
|
2087
|
+
*/
|
|
2088
|
+
"overrideStagingMode"?: boolean;
|
|
2052
2089
|
/**
|
|
2053
2090
|
* Preview checkout without needing to click on the button. This would be useful for demo purpose
|
|
2054
2091
|
*/
|
|
@@ -2091,6 +2128,10 @@ declare namespace LocalJSX {
|
|
|
2091
2128
|
* Whether or not the continue button is loading
|
|
2092
2129
|
*/
|
|
2093
2130
|
"continueLoading"?: boolean;
|
|
2131
|
+
/**
|
|
2132
|
+
* Whether or not the checkout is in mobile mode
|
|
2133
|
+
*/
|
|
2134
|
+
"isMobile"?: boolean;
|
|
2094
2135
|
/**
|
|
2095
2136
|
* Event to emit when the continue button is clicked
|
|
2096
2137
|
*/
|
|
@@ -2103,6 +2144,10 @@ declare namespace LocalJSX {
|
|
|
2103
2144
|
* Event to emit when the paypal session failed
|
|
2104
2145
|
*/
|
|
2105
2146
|
"onPaypalSessionFailed"?: (event: ZonosCheckoutPaymentCustomEvent<void>) => void;
|
|
2147
|
+
/**
|
|
2148
|
+
* Primary color to override primary color from appearance primary color in setting.
|
|
2149
|
+
*/
|
|
2150
|
+
"overridePrimaryColor"?: string;
|
|
2106
2151
|
/**
|
|
2107
2152
|
* Submit button main color
|
|
2108
2153
|
*/
|
|
@@ -2347,6 +2392,16 @@ declare namespace LocalJSX {
|
|
|
2347
2392
|
*/
|
|
2348
2393
|
"width"?: string;
|
|
2349
2394
|
}
|
|
2395
|
+
interface ZonosEmptyStatePayment {
|
|
2396
|
+
/**
|
|
2397
|
+
* Text to display in the empty state
|
|
2398
|
+
*/
|
|
2399
|
+
"emptyStateText": string;
|
|
2400
|
+
/**
|
|
2401
|
+
* Theme color of the icon
|
|
2402
|
+
*/
|
|
2403
|
+
"theme"?: ElementsUiTheme;
|
|
2404
|
+
}
|
|
2350
2405
|
interface ZonosHello {
|
|
2351
2406
|
/**
|
|
2352
2407
|
* Force left animation instead of detecting which side has more space
|
|
@@ -2663,6 +2718,10 @@ declare namespace LocalJSX {
|
|
|
2663
2718
|
* Secondary color to override secondary color from appearance secondary color in setting
|
|
2664
2719
|
*/
|
|
2665
2720
|
"overrideSecondaryColor"?: string;
|
|
2721
|
+
/**
|
|
2722
|
+
* The value of the input.
|
|
2723
|
+
*/
|
|
2724
|
+
"value"?: string;
|
|
2666
2725
|
}
|
|
2667
2726
|
interface ZonosText {
|
|
2668
2727
|
/**
|
|
@@ -2771,6 +2830,7 @@ declare namespace LocalJSX {
|
|
|
2771
2830
|
"zonos-custom-message": ZonosCustomMessage;
|
|
2772
2831
|
"zonos-customer-info": ZonosCustomerInfo;
|
|
2773
2832
|
"zonos-dialog": ZonosDialog;
|
|
2833
|
+
"zonos-empty-state-payment": ZonosEmptyStatePayment;
|
|
2774
2834
|
"zonos-hello": ZonosHello;
|
|
2775
2835
|
"zonos-hello-dialog": ZonosHelloDialog;
|
|
2776
2836
|
"zonos-hello-dialog-footer": ZonosHelloDialogFooter;
|
|
@@ -2828,6 +2888,7 @@ declare module "@stencil/core" {
|
|
|
2828
2888
|
"zonos-custom-message": LocalJSX.ZonosCustomMessage & JSXBase.HTMLAttributes<HTMLZonosCustomMessageElement>;
|
|
2829
2889
|
"zonos-customer-info": LocalJSX.ZonosCustomerInfo & JSXBase.HTMLAttributes<HTMLZonosCustomerInfoElement>;
|
|
2830
2890
|
"zonos-dialog": LocalJSX.ZonosDialog & JSXBase.HTMLAttributes<HTMLZonosDialogElement>;
|
|
2891
|
+
"zonos-empty-state-payment": LocalJSX.ZonosEmptyStatePayment & JSXBase.HTMLAttributes<HTMLZonosEmptyStatePaymentElement>;
|
|
2831
2892
|
"zonos-hello": LocalJSX.ZonosHello & JSXBase.HTMLAttributes<HTMLZonosHelloElement>;
|
|
2832
2893
|
"zonos-hello-dialog": LocalJSX.ZonosHelloDialog & JSXBase.HTMLAttributes<HTMLZonosHelloDialogElement>;
|
|
2833
2894
|
"zonos-hello-dialog-footer": LocalJSX.ZonosHelloDialogFooter & JSXBase.HTMLAttributes<HTMLZonosHelloDialogFooterElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CountryCode, GetCheckoutSessionQuery } from "../../generated/graphql.internal.types";
|
|
1
|
+
import type { CheckoutSessionPaymentIntentCreateMutation, CountryCode, GetCheckoutSessionQuery } from "../../generated/graphql.internal.types";
|
|
2
2
|
export type GetCheckoutSessionRequest = {
|
|
3
3
|
checkoutSessionId: string;
|
|
4
4
|
};
|
|
@@ -15,6 +15,7 @@ export type CheckoutSessionUpdateRequest = {
|
|
|
15
15
|
value: string;
|
|
16
16
|
}[];
|
|
17
17
|
presentmentCountryCode: CountryCode | null;
|
|
18
|
+
skipPaymentIntent?: boolean;
|
|
18
19
|
};
|
|
19
20
|
export type CheckoutSessionUpdateMetadata = {
|
|
20
21
|
key: string;
|
|
@@ -25,10 +26,15 @@ export type CheckoutSessionUpdateMetadataRequest = {
|
|
|
25
26
|
metadata: CheckoutSessionUpdateMetadata;
|
|
26
27
|
};
|
|
27
28
|
export type CheckoutSessionCreateRequest = {
|
|
28
|
-
adjustmentsAmount
|
|
29
|
+
adjustmentsAmount?: number;
|
|
29
30
|
cartId: string | null;
|
|
30
31
|
currency: string;
|
|
31
32
|
itemsAmount: number;
|
|
32
33
|
metadata: CheckoutSessionUpdateMetadata;
|
|
33
34
|
presentmentCountryCode: CountryCode | null;
|
|
35
|
+
skipPaymentIntent?: boolean;
|
|
36
|
+
};
|
|
37
|
+
export type PaymentIntentCreateRequest = {
|
|
38
|
+
checkoutSessionId: string;
|
|
34
39
|
};
|
|
40
|
+
export type PaymentIntentCreateResponse = CheckoutSessionPaymentIntentCreateMutation;
|
|
@@ -557,7 +557,7 @@ export type FailToGetQuoteErrorsQuery = {
|
|
|
557
557
|
};
|
|
558
558
|
export type LocaleCountryMessagesQuery = {
|
|
559
559
|
locale_countryCodesPage: Array<{
|
|
560
|
-
countryCodes: Array<string
|
|
560
|
+
countryCodes: Array<string> | null;
|
|
561
561
|
countryCodesPageMessageLinks: Array<{
|
|
562
562
|
id: number;
|
|
563
563
|
message: {
|
|
@@ -565,7 +565,7 @@ export type FailToGetQuoteErrorsQuery = {
|
|
|
565
565
|
|
|
566
566
|
export type LocaleCountryMessagesQuery = {
|
|
567
567
|
locale_countryCodesPage: Array<{
|
|
568
|
-
countryCodes: Array<string
|
|
568
|
+
countryCodes: Array<string> | null;
|
|
569
569
|
countryCodesPageMessageLinks: Array<{
|
|
570
570
|
id: number;
|
|
571
571
|
message: {
|
|
@@ -162,7 +162,7 @@ export declare const amountDetailSubtotalType: {
|
|
|
162
162
|
readonly Tax: "TAX";
|
|
163
163
|
};
|
|
164
164
|
export type AmountDetailSubtotalType = (typeof amountDetailSubtotalType)[keyof typeof amountDetailSubtotalType];
|
|
165
|
-
export declare const
|
|
165
|
+
export declare const amountDetailTarget: {
|
|
166
166
|
readonly BillingCompany: "BILLING_COMPANY";
|
|
167
167
|
readonly MerchantBase: "MERCHANT_BASE";
|
|
168
168
|
readonly MerchantProvided: "MERCHANT_PROVIDED";
|
|
@@ -170,7 +170,7 @@ export declare const amountDetailUse: {
|
|
|
170
170
|
readonly ShopperPresented: "SHOPPER_PRESENTED";
|
|
171
171
|
readonly ZonosBase: "ZONOS_BASE";
|
|
172
172
|
};
|
|
173
|
-
export type
|
|
173
|
+
export type AmountDetailTarget = (typeof amountDetailTarget)[keyof typeof amountDetailTarget];
|
|
174
174
|
export type AmountRange = {
|
|
175
175
|
max?: InputMaybe<Scalars['Decimal']['input']>;
|
|
176
176
|
min?: InputMaybe<Scalars['Decimal']['input']>;
|
|
@@ -432,6 +432,11 @@ export declare const catalogStatus: {
|
|
|
432
432
|
readonly Enabled: "ENABLED";
|
|
433
433
|
};
|
|
434
434
|
export type CatalogStatus = (typeof catalogStatus)[keyof typeof catalogStatus];
|
|
435
|
+
export declare const checkoutSessionCreationModeType: {
|
|
436
|
+
readonly WithPaymentIntent: "WITH_PAYMENT_INTENT";
|
|
437
|
+
readonly WithoutPaymentIntent: "WITHOUT_PAYMENT_INTENT";
|
|
438
|
+
};
|
|
439
|
+
export type CheckoutSessionCreationModeType = (typeof checkoutSessionCreationModeType)[keyof typeof checkoutSessionCreationModeType];
|
|
435
440
|
export declare const checkoutStatus: {
|
|
436
441
|
readonly Disabled: "DISABLED";
|
|
437
442
|
readonly Enabled: "ENABLED";
|
|
@@ -789,6 +794,7 @@ export declare const contentType: {
|
|
|
789
794
|
};
|
|
790
795
|
export type ContentType = (typeof contentType)[keyof typeof contentType];
|
|
791
796
|
export declare const controlType: {
|
|
797
|
+
readonly Carrier: "CARRIER";
|
|
792
798
|
readonly Export: "EXPORT";
|
|
793
799
|
readonly Import: "IMPORT";
|
|
794
800
|
};
|
|
@@ -1908,6 +1914,7 @@ export declare const landedCostMethod: {
|
|
|
1908
1914
|
};
|
|
1909
1915
|
export type LandedCostMethod = (typeof landedCostMethod)[keyof typeof landedCostMethod];
|
|
1910
1916
|
export declare const landedCostQuoteType: {
|
|
1917
|
+
readonly Api: "API";
|
|
1911
1918
|
readonly Auditing: "AUDITING";
|
|
1912
1919
|
readonly Checkout: "CHECKOUT";
|
|
1913
1920
|
readonly InclusivePrice: "INCLUSIVE_PRICE";
|
|
@@ -3270,6 +3277,53 @@ export type CheckoutSessionCreateMutation = {
|
|
|
3270
3277
|
};
|
|
3271
3278
|
};
|
|
3272
3279
|
};
|
|
3280
|
+
export type CheckoutSessionPaymentIntentCreateMutation = {
|
|
3281
|
+
checkoutSessionPaymentIntentCreate: {
|
|
3282
|
+
cartId: string | null;
|
|
3283
|
+
clientSecret: string;
|
|
3284
|
+
id: string;
|
|
3285
|
+
landedCost: {
|
|
3286
|
+
amountSubtotals: {
|
|
3287
|
+
discounts: number | null;
|
|
3288
|
+
duties: number;
|
|
3289
|
+
fees: number;
|
|
3290
|
+
items: number;
|
|
3291
|
+
landedCostTotal: number;
|
|
3292
|
+
shipping: number;
|
|
3293
|
+
taxes: number;
|
|
3294
|
+
} | null;
|
|
3295
|
+
id: string;
|
|
3296
|
+
landedCostGuaranteeCode: LandedCostGuaranteeCode;
|
|
3297
|
+
method: IncotermCode;
|
|
3298
|
+
shipmentRating: {
|
|
3299
|
+
displayName: string;
|
|
3300
|
+
};
|
|
3301
|
+
} | null;
|
|
3302
|
+
metadata: Array<{
|
|
3303
|
+
key: string;
|
|
3304
|
+
value: string;
|
|
3305
|
+
} | null> | null;
|
|
3306
|
+
organizationId: string;
|
|
3307
|
+
subtotals: {
|
|
3308
|
+
adjustments: number;
|
|
3309
|
+
duties: number;
|
|
3310
|
+
exchangeRate: {
|
|
3311
|
+
id: string;
|
|
3312
|
+
rate: number;
|
|
3313
|
+
sourceCurrencyCode: CurrencyCode;
|
|
3314
|
+
targetCurrencyCode: CurrencyCode;
|
|
3315
|
+
type: ExchangeRateType;
|
|
3316
|
+
};
|
|
3317
|
+
fees: number;
|
|
3318
|
+
items: number;
|
|
3319
|
+
landedCostTotal: number;
|
|
3320
|
+
presentmentCurrencyCode: CurrencyCode;
|
|
3321
|
+
shipping: number;
|
|
3322
|
+
taxes: number;
|
|
3323
|
+
total: number;
|
|
3324
|
+
};
|
|
3325
|
+
};
|
|
3326
|
+
};
|
|
3273
3327
|
export type PaypalOrderCreateMutation = {
|
|
3274
3328
|
paypalOrderCreate: {
|
|
3275
3329
|
paypalOrderId: string | null;
|
|
@@ -3294,10 +3348,18 @@ export type GetCheckoutSessionQuery = {
|
|
|
3294
3348
|
checkoutSession: {
|
|
3295
3349
|
landedCost: {
|
|
3296
3350
|
id: string;
|
|
3351
|
+
root: {
|
|
3352
|
+
parties: Array<{
|
|
3353
|
+
id: string;
|
|
3354
|
+
} | null> | null;
|
|
3355
|
+
} | null;
|
|
3297
3356
|
} | null;
|
|
3298
3357
|
order: {
|
|
3299
3358
|
id: string;
|
|
3300
3359
|
} | null;
|
|
3360
|
+
subtotals: {
|
|
3361
|
+
presentmentCurrencyCode: CurrencyCode;
|
|
3362
|
+
};
|
|
3301
3363
|
};
|
|
3302
3364
|
};
|
|
3303
3365
|
export type ActiveDiscountsQuery = {
|
|
@@ -3337,6 +3399,11 @@ export type GetInclusivePriceSettingByCountryQuery = {
|
|
|
3337
3399
|
}>;
|
|
3338
3400
|
} | null;
|
|
3339
3401
|
};
|
|
3402
|
+
export type OrderCreateMutation = {
|
|
3403
|
+
orderCreate: {
|
|
3404
|
+
id: string;
|
|
3405
|
+
} | null;
|
|
3406
|
+
};
|
|
3340
3407
|
export type ShippingZonesQuery = {
|
|
3341
3408
|
shippingZones: Array<{
|
|
3342
3409
|
countryCodes: Array<CountryCode> | null;
|
|
@@ -3940,6 +4007,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
3940
4007
|
checkoutSessionCreate(variables?: {
|
|
3941
4008
|
[x: string]: never;
|
|
3942
4009
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckoutSessionCreateMutation>;
|
|
4010
|
+
checkoutSessionPaymentIntentCreate(variables?: {
|
|
4011
|
+
[x: string]: never;
|
|
4012
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckoutSessionPaymentIntentCreateMutation>;
|
|
3943
4013
|
checkoutSessionUpdate(variables?: {
|
|
3944
4014
|
[x: string]: never;
|
|
3945
4015
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckoutSessionUpdateMutation>;
|
|
@@ -3985,6 +4055,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
3985
4055
|
onlineStoreSettings(variables?: {
|
|
3986
4056
|
[x: string]: never;
|
|
3987
4057
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<OnlineStoreSettingsQuery>;
|
|
4058
|
+
orderCreate(variables?: {
|
|
4059
|
+
[x: string]: never;
|
|
4060
|
+
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<OrderCreateMutation>;
|
|
3988
4061
|
orderUpdateAccountOrderNumber(variables?: {
|
|
3989
4062
|
[x: string]: never;
|
|
3990
4063
|
}, requestHeaders?: GraphQLClientRequestHeaders): Promise<OrderUpdateAccountOrderNumberMutation>;
|