@zonos/elements 1.3.11-alpha.0 → 1.3.11-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{cart-7e28f026.js → cart-b34c001b.js} +92 -28
- package/dist/cjs/{getBorderRadius-d795f526.js → getBorderRadius-4fa738c3.js} +1 -1
- package/dist/cjs/getContrastColor-c72796c6.js +20 -0
- package/dist/cjs/{isColorVariable-41cacd82.js → isColorVariable-fff5e469.js} +1 -1
- package/dist/cjs/{isDarkColor-33fb96a7.js → isDarkColor-7faf0a82.js} +2 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{submitGtag-586d3206.js → submitGtag-1f1fbe1c.js} +15 -2
- package/dist/cjs/zonos-address_4.cjs.entry.js +15 -12
- package/dist/cjs/zonos-badge_2.cjs.entry.js +6 -6
- package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
- package/dist/cjs/{zonos-button_3.cjs.entry.js → zonos-button_2.cjs.entry.js} +34 -36
- package/dist/cjs/zonos-card_2.cjs.entry.js +8 -8
- package/dist/cjs/{zonos-cart-items_9.cjs.entry.js → zonos-cart-items_10.cjs.entry.js} +164 -53
- package/dist/cjs/zonos-checkout.cjs.entry.js +249 -26
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +5 -5
- package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
- package/dist/cjs/zonos-country-select_3.cjs.entry.js +9 -9
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
- package/dist/cjs/zonos-hello.cjs.entry.js +16 -4
- package/dist/cjs/zonos-icon.cjs.entry.js +39 -0
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +3 -3
- package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
- package/dist/cjs/zonos-payment.cjs.entry.js +5 -5
- package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +13 -4
- package/dist/cjs/zonos-text.cjs.entry.js +6 -2
- package/dist/cjs/{zonosStore-d3f0173b.js → zonosStore-bd2a0c59.js} +20 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +4 -5
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +32 -22
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +76 -16
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +2 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +102 -22
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.css +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +43 -24
- package/dist/collection/components/common/component-template/zonos-link/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.css +1 -1
- package/dist/collection/components/common/zonos-button/zonos-button.js +18 -4
- package/dist/collection/components/common/zonos-card/zonos-card.js +2 -2
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +5 -5
- package/dist/collection/components/common/zonos-checkout-progress-tabs/assets/TabCheckmark.svg +3 -0
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.css +103 -0
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +194 -0
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +1 -1
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +1 -1
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +5 -30
- package/dist/collection/components/common/zonos-icon/zonos-icon.js +9 -5
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +4 -4
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +33 -7
- package/dist/collection/components/common/zonos-text/zonos-text.js +7 -3
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +17 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +5 -5
- package/dist/collection/components/main/zonos-controller.js +1 -1
- package/dist/collection/components/store/checkout/cart.js +26 -0
- package/dist/collection/components/store/checkout/stripe.js +3 -0
- package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
- package/dist/collection/components/store/translationStore/strings.base.js +3 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
- package/dist/collection/components/store/translationStore/strings.french.js +3 -0
- package/dist/collection/components/store/translationStore/strings.german.js +3 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
- package/dist/collection/components/store/zonosStore.js +20 -3
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +5 -2
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/api/buildCartItemsByTempCart.js +24 -0
- package/dist/collection/components/utils/api/tempCartItem/getAttributes.js +66 -0
- package/dist/collection/components/utils/api/tempCartItem/getMeasurements.js +58 -0
- package/dist/collection/components/utils/api/trackConversionEvent.js +2 -0
- package/dist/collection/components/utils/checkout/isShippableCountry.js +2 -0
- package/dist/collection/components/utils/createCustomEvent.js +9 -0
- package/dist/collection/components/utils/getContrastColor.js +16 -0
- package/dist/collection/components/utils/isColorVariable.js +1 -1
- package/dist/collection/components/utils/styles.js +12 -0
- package/dist/collection/scripts/zonosBase.js +1 -0
- package/dist/collection/styles/stripe/addressRuleStyle.js +0 -3
- package/dist/collection/types/checkout/api/TempCart.js +1 -0
- package/dist/collection/types/generated/graphql.customer.types.js +73 -0
- package/dist/components/getContrastColor.js +18 -0
- package/dist/components/isColorVariable.js +1 -1
- package/dist/components/isDarkColor.js +1 -1
- package/dist/components/stripe.js +90 -25
- package/dist/components/trackConversionEvent.js +3 -1
- package/dist/components/zonos-address2.js +5 -2
- package/dist/components/zonos-badge2.js +3 -3
- package/dist/components/zonos-button2.js +30 -4
- package/dist/components/zonos-card2.js +2 -2
- package/dist/components/zonos-checkbox2.js +3 -3
- package/dist/components/zonos-checkout-finish2.js +15 -7
- package/dist/components/zonos-checkout-footer2.js +33 -17
- package/dist/components/zonos-checkout-progress-tabs.d.ts +11 -0
- package/dist/components/zonos-checkout-progress-tabs.js +6 -0
- package/dist/components/zonos-checkout-progress-tabs2.js +122 -0
- package/dist/components/zonos-checkout.js +277 -46
- package/dist/components/zonos-collapse2.js +2 -2
- package/dist/components/zonos-component.js +1 -1
- package/dist/components/zonos-controller.js +2 -2
- package/dist/components/zonos-country-select2.js +2 -2
- package/dist/components/zonos-custom-message2.js +1 -1
- package/dist/components/zonos-dialog2.js +4 -6
- package/dist/components/zonos-hello-dialog-footer2.js +2 -2
- package/dist/components/zonos-hello-dialog2.js +2 -2
- package/dist/components/zonos-hello.js +17 -3
- package/dist/components/zonos-icon2.js +5 -1
- package/dist/components/zonos-language-select2.js +3 -3
- package/dist/components/zonos-link-authentication2.js +1 -1
- package/dist/components/zonos-link.js +1 -1
- package/dist/components/zonos-logo.js +2 -2
- package/dist/components/zonos-payment2.js +1 -1
- package/dist/components/zonos-review2.js +1 -1
- package/dist/components/zonos-select-dialog-header2.js +2 -2
- package/dist/components/zonos-shipping-rich-radio2.js +11 -1
- package/dist/components/zonos-shipping2.js +44 -25
- package/dist/components/zonos-text2.js +5 -1
- package/dist/components/zonos-tooltip2.js +2 -2
- package/dist/components/zonos-v-stack2.js +2 -2
- package/dist/components/zonosStore.js +20 -3
- package/dist/esm/{cart-5a88b4f3.js → cart-cc09eaef.js} +93 -28
- package/dist/esm/{getBorderRadius-5d750ab8.js → getBorderRadius-a89e45fb.js} +1 -1
- package/dist/esm/getContrastColor-5fbc4746.js +18 -0
- package/dist/esm/{isColorVariable-91c33804.js → isColorVariable-fbf2d80d.js} +1 -1
- package/dist/esm/{isDarkColor-c34dfed9.js → isDarkColor-6bf71e51.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{submitGtag-289ddd8b.js → submitGtag-2eedb117.js} +15 -3
- package/dist/esm/zonos-address_4.entry.js +15 -12
- package/dist/esm/zonos-badge_2.entry.js +6 -6
- package/dist/esm/zonos-banner.entry.js +1 -1
- package/dist/esm/{zonos-button_3.entry.js → zonos-button_2.entry.js} +35 -36
- package/dist/esm/zonos-card_2.entry.js +8 -8
- package/dist/esm/{zonos-cart-items_9.entry.js → zonos-cart-items_10.entry.js} +164 -54
- package/dist/esm/zonos-checkout.entry.js +249 -26
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +5 -5
- package/dist/esm/zonos-country-flag.entry.js +4 -4
- package/dist/esm/zonos-country-select_3.entry.js +9 -9
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +5 -5
- package/dist/esm/zonos-hello.entry.js +16 -4
- package/dist/esm/zonos-icon.entry.js +35 -0
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +3 -3
- package/dist/esm/zonos-notification.entry.js +1 -1
- package/dist/esm/zonos-payment.entry.js +5 -5
- package/dist/esm/zonos-select-dialog-header_2.entry.js +5 -5
- package/dist/esm/zonos-shipping-rich-radio.entry.js +13 -4
- package/dist/esm/zonos-text.entry.js +6 -2
- package/dist/esm/{zonosStore-aac7c6ac.js → zonosStore-c4c45591.js} +20 -3
- package/dist/esm-es5/cart-cc09eaef.js +1 -0
- package/dist/esm-es5/{getBorderRadius-5d750ab8.js → getBorderRadius-a89e45fb.js} +1 -1
- package/dist/esm-es5/getContrastColor-5fbc4746.js +1 -0
- package/dist/esm-es5/isColorVariable-fbf2d80d.js +1 -0
- package/dist/esm-es5/{isDarkColor-c34dfed9.js → isDarkColor-6bf71e51.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/submitGtag-2eedb117.js +1 -0
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_2.entry.js +1 -0
- package/dist/esm-es5/zonos-card_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -0
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-icon.entry.js +1 -0
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification.entry.js +1 -1
- package/dist/esm-es5/zonos-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-aac7c6ac.js → zonosStore-c4c45591.js} +1 -1
- package/dist/scripts/getTempCartById.js +1 -0
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/scripts/zonosBase.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.d.ts +14 -2
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +7 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +7 -0
- package/dist/types/components/common/zonos-button/zonos-button.d.ts +1 -0
- package/dist/types/components/common/zonos-checkbox/zonos-checkbox.d.ts +1 -1
- package/dist/types/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.d.ts +29 -0
- package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +1 -6
- package/dist/types/components/common/zonos-icon/zonos-icon.d.ts +4 -2
- package/dist/types/components/common/zonos-logo/zonos-logo.d.ts +1 -1
- package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +7 -1
- package/dist/types/components/common/zonos-text/zonos-text.d.ts +3 -1
- package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +1 -0
- package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +2 -1
- package/dist/types/components/store/checkout/cart.d.ts +19 -4
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
- package/dist/types/components/store/zonosStore.d.ts +11 -2
- package/dist/types/components/utils/api/buildCartItemsByTempCart.d.ts +7 -0
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
- package/dist/types/components/utils/api/tempCartItem/getAttributes.d.ts +11 -0
- package/dist/types/components/utils/api/tempCartItem/getMeasurements.d.ts +7 -0
- package/dist/types/components/utils/changeDeepProperty.d.ts +1 -1
- package/dist/types/components/utils/changeDeepPropertyAtIndex.d.ts +1 -1
- package/dist/types/components/utils/createCustomEvent.d.ts +12 -0
- package/dist/types/components/utils/getBorderRadius.d.ts +1 -1
- package/dist/types/components/utils/getContrastColor.d.ts +4 -0
- package/dist/types/components/utils/handleFetch.d.ts +2 -1
- package/dist/types/components/utils/isColorVariable.d.ts +1 -1
- package/dist/types/components/utils/styles.d.ts +7 -0
- package/dist/types/components.d.ts +69 -18
- package/dist/types/scripts/zonosBase.d.ts +10 -1
- package/dist/types/styles/stripe/addressRuleStyle.d.ts +2 -1
- package/dist/types/types/checkout/CheckoutConfig.d.ts +6 -1
- package/dist/types/types/checkout/api/TempCart.d.ts +80 -0
- package/dist/types/types/generated/graphql.customer.types.d.ts +97 -0
- package/dist/types/types/generated/graphql.customer.types.ts +135 -1
- 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/global.d.ts +10 -0
- package/dist/types/types/utils/deep/IDeepKeyofAtIndex.d.ts +1 -1
- package/dist/zonos-elements/assets/TabCheckmark.svg +3 -0
- package/dist/zonos-elements/{p-4ad5f307.system.entry.js → p-001518eb.system.entry.js} +1 -1
- package/dist/zonos-elements/p-07022f11.js +1 -0
- package/dist/zonos-elements/p-0fe52bae.system.entry.js +1 -0
- package/dist/zonos-elements/{p-14bf3658.entry.js → p-105a2e51.entry.js} +1 -1
- package/dist/zonos-elements/{p-a87803b7.system.entry.js → p-15cd4a76.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-482371fb.system.entry.js → p-160cdf4e.system.entry.js} +1 -1
- package/dist/zonos-elements/p-167b3369.system.js +1 -0
- package/dist/zonos-elements/p-171eb334.entry.js +1 -0
- package/dist/zonos-elements/p-1bbdfae5.js +1 -0
- package/dist/zonos-elements/p-1d833f22.system.entry.js +1 -0
- package/dist/zonos-elements/{p-dad00ad3.system.entry.js → p-1df9ab6a.system.entry.js} +1 -1
- package/dist/zonos-elements/p-1f54c83e.entry.js +1 -0
- package/dist/zonos-elements/{p-27d57265.system.entry.js → p-20b080d1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-333da541.entry.js → p-215cd7ec.entry.js} +1 -1
- package/dist/zonos-elements/p-26e8f37a.entry.js +1 -0
- package/dist/zonos-elements/{p-77727098.system.js → p-41c2b1c5.system.js} +1 -1
- package/dist/zonos-elements/p-425865fd.system.entry.js +1 -0
- package/dist/zonos-elements/{p-5f2cb4b6.entry.js → p-43022147.entry.js} +1 -1
- package/dist/zonos-elements/{p-188ddbe2.entry.js → p-4515ec7b.entry.js} +1 -1
- package/dist/zonos-elements/{p-9db3028d.entry.js → p-470284a3.entry.js} +1 -1
- package/dist/zonos-elements/p-4c9367f1.entry.js +1 -0
- package/dist/zonos-elements/{p-770384fa.system.entry.js → p-4d7b27af.system.entry.js} +1 -1
- package/dist/zonos-elements/p-55519ef5.system.js +1 -0
- package/dist/zonos-elements/{p-8445a084.system.entry.js → p-5ba91f13.system.entry.js} +1 -1
- package/dist/zonos-elements/p-6484bf31.system.js +1 -0
- package/dist/zonos-elements/p-6a1b934d.system.entry.js +1 -0
- package/dist/zonos-elements/{p-a725946f.entry.js → p-6bd4b5e6.entry.js} +1 -1
- package/dist/zonos-elements/{p-7e355496.system.entry.js → p-6c5c5377.system.entry.js} +1 -1
- package/dist/zonos-elements/p-6e81adba.system.js +1 -1
- package/dist/zonos-elements/p-72c6bf0f.entry.js +1 -0
- package/dist/zonos-elements/p-7575a42a.js +1 -0
- package/dist/zonos-elements/p-7f9889bd.system.entry.js +1 -0
- package/dist/zonos-elements/{p-c1e54094.system.js → p-86034f1e.system.js} +1 -1
- package/dist/zonos-elements/p-9a1db995.entry.js +1 -0
- package/dist/zonos-elements/{p-77c54b83.js → p-9a90fb56.js} +1 -1
- package/dist/zonos-elements/{p-d5a9dfc7.entry.js → p-9bdcd7b6.entry.js} +1 -1
- package/dist/zonos-elements/{p-edbea8df.system.js → p-9db2f9d1.system.js} +1 -1
- package/dist/zonos-elements/p-a144d26a.system.entry.js +1 -0
- package/dist/zonos-elements/{p-93e51987.system.entry.js → p-a2f71e4f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6181f2d5.entry.js → p-ad499520.entry.js} +1 -1
- package/dist/zonos-elements/{p-e4e1ca2f.system.entry.js → p-b4c23bb5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-315c1fc2.entry.js → p-b62aee3d.entry.js} +1 -1
- package/dist/zonos-elements/{p-e969cec9.entry.js → p-b8718429.entry.js} +1 -1
- package/dist/zonos-elements/{p-25fbcefe.system.entry.js → p-ba5596ae.system.entry.js} +1 -1
- package/dist/zonos-elements/p-beba218e.js +1 -0
- package/dist/zonos-elements/p-c7f11c60.entry.js +1 -0
- package/dist/zonos-elements/{p-febddb45.entry.js → p-d4222f1f.entry.js} +1 -1
- package/dist/zonos-elements/p-dde4c859.system.entry.js +1 -0
- package/dist/zonos-elements/p-e28ed57c.js +1 -0
- package/dist/zonos-elements/p-e3a3e376.entry.js +1 -0
- package/dist/zonos-elements/{p-a578facf.entry.js → p-e3de496a.entry.js} +1 -1
- package/dist/zonos-elements/{p-afcded5d.system.js → p-ed23a5df.system.js} +1 -1
- package/dist/zonos-elements/{p-e392e212.system.entry.js → p-ed597cc9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d0d12a64.entry.js → p-f1037168.entry.js} +1 -1
- package/dist/zonos-elements/{p-c6de2e40.system.entry.js → p-f42bffad.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0b4910fe.system.entry.js → p-f62b49aa.system.entry.js} +1 -1
- package/dist/zonos-elements/p-fa3d0aea.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-5a88b4f3.js +0 -1
- package/dist/esm-es5/isColorVariable-91c33804.js +0 -1
- package/dist/esm-es5/submitGtag-289ddd8b.js +0 -1
- package/dist/esm-es5/zonos-button_3.entry.js +0 -1
- package/dist/esm-es5/zonos-cart-items_9.entry.js +0 -1
- package/dist/zonos-elements/p-144f4d31.entry.js +0 -1
- package/dist/zonos-elements/p-4569bc92.js +0 -1
- package/dist/zonos-elements/p-49a5be72.js +0 -1
- package/dist/zonos-elements/p-4c414a92.js +0 -1
- package/dist/zonos-elements/p-5c991faa.system.entry.js +0 -1
- package/dist/zonos-elements/p-691d8075.entry.js +0 -1
- package/dist/zonos-elements/p-723628b7.js +0 -1
- package/dist/zonos-elements/p-87c4ac09.system.entry.js +0 -1
- package/dist/zonos-elements/p-9f532a3f.entry.js +0 -1
- package/dist/zonos-elements/p-afc0460d.entry.js +0 -1
- package/dist/zonos-elements/p-ca6b4c1e.system.entry.js +0 -1
- package/dist/zonos-elements/p-d2885590.system.js +0 -1
- package/dist/zonos-elements/p-d7690752.system.entry.js +0 -1
- package/dist/zonos-elements/p-d9c65636.system.js +0 -1
- package/dist/zonos-elements/p-dd153a4e.entry.js +0 -1
- package/dist/zonos-elements/p-def8823e.entry.js +0 -1
- package/dist/zonos-elements/p-e4749f19.js +0 -1
- package/dist/zonos-elements/p-e87e8c9c.system.entry.js +0 -1
- package/dist/zonos-elements/p-f1170e7b.entry.js +0 -1
- package/dist/zonos-elements/p-fe0930e4.system.entry.js +0 -1
|
@@ -10,13 +10,13 @@ import { CheckboxColorPrefix, Color, ColorPrefix } from "./types/styles/Color";
|
|
|
10
10
|
import { BannerIntent } from "./components/common/zonos-banner/zonos-banner";
|
|
11
11
|
import { CountryCode, ElementsUiStyle, ElementsUiTheme, HelloMobileLocation } from "./types/generated/graphql.customer.types";
|
|
12
12
|
import { FontWeight, Size, Type } from "./types/styles/Text";
|
|
13
|
-
import { AppearanceConfig as AppearanceConfig1, Color as Color1, ElementsUiStyle as ElementsUiStyle1, ElementsUiTheme as ElementsUiTheme1, HelloMobileLocation as HelloMobileLocation1 } from "./types/index";
|
|
14
13
|
import { AppearanceConfig } from "./components/store/zonosStore";
|
|
15
14
|
import { ContactOption as ContactOption1 } from "./components/store/checkout/stripe";
|
|
15
|
+
import { TabItem, TabItems } from "./components/store/checkout/cart";
|
|
16
16
|
import { LoadZonosParamsConfig } from "./scripts/zonosBase";
|
|
17
17
|
import { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
|
|
18
18
|
import { RestrictedItem } from "./types/hello/RestrictedItem";
|
|
19
|
-
import { AppearanceConfig as
|
|
19
|
+
import { AppearanceConfig as AppearanceConfig1 } from "./components.d";
|
|
20
20
|
import { ShippingRichRadioItem } from "./components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio";
|
|
21
21
|
import { SpinnerColor } from "./components/common/zonos-spinner/zonos-spinner";
|
|
22
22
|
import { GridSpacing } from "./types/styles/GridSpacing";
|
|
@@ -25,13 +25,13 @@ export { CheckboxColorPrefix, Color, ColorPrefix } from "./types/styles/Color";
|
|
|
25
25
|
export { BannerIntent } from "./components/common/zonos-banner/zonos-banner";
|
|
26
26
|
export { CountryCode, ElementsUiStyle, ElementsUiTheme, HelloMobileLocation } from "./types/generated/graphql.customer.types";
|
|
27
27
|
export { FontWeight, Size, Type } from "./types/styles/Text";
|
|
28
|
-
export { AppearanceConfig as AppearanceConfig1, Color as Color1, ElementsUiStyle as ElementsUiStyle1, ElementsUiTheme as ElementsUiTheme1, HelloMobileLocation as HelloMobileLocation1 } from "./types/index";
|
|
29
28
|
export { AppearanceConfig } from "./components/store/zonosStore";
|
|
30
29
|
export { ContactOption as ContactOption1 } from "./components/store/checkout/stripe";
|
|
30
|
+
export { TabItem, TabItems } from "./components/store/checkout/cart";
|
|
31
31
|
export { LoadZonosParamsConfig } from "./scripts/zonosBase";
|
|
32
32
|
export { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
|
|
33
33
|
export { RestrictedItem } from "./types/hello/RestrictedItem";
|
|
34
|
-
export { AppearanceConfig as
|
|
34
|
+
export { AppearanceConfig as AppearanceConfig1 } from "./components.d";
|
|
35
35
|
export { ShippingRichRadioItem } from "./components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio";
|
|
36
36
|
export { SpinnerColor } from "./components/common/zonos-spinner/zonos-spinner";
|
|
37
37
|
export { GridSpacing } from "./types/styles/GridSpacing";
|
|
@@ -272,6 +272,14 @@ export namespace Components {
|
|
|
272
272
|
"storybookForceStatus"?: PaymentIntent['status'];
|
|
273
273
|
}
|
|
274
274
|
interface ZonosCheckoutFooter {
|
|
275
|
+
/**
|
|
276
|
+
* Theme to change the color of the logo
|
|
277
|
+
*/
|
|
278
|
+
"dataTheme"?: ElementsUiTheme;
|
|
279
|
+
/**
|
|
280
|
+
* Override mobile mode
|
|
281
|
+
*/
|
|
282
|
+
"mobile": boolean;
|
|
275
283
|
}
|
|
276
284
|
interface ZonosCheckoutPayment {
|
|
277
285
|
/**
|
|
@@ -291,6 +299,24 @@ export namespace Components {
|
|
|
291
299
|
*/
|
|
292
300
|
"submitBtnType"?: HTMLZonosButtonElement['variant'];
|
|
293
301
|
}
|
|
302
|
+
interface ZonosCheckoutProgressTabs {
|
|
303
|
+
/**
|
|
304
|
+
* Background color of the parent that's wrapped around the tab progress bar
|
|
305
|
+
*/
|
|
306
|
+
"backgroundColor"?: Color | (string & { _placeholder?: never }) | null;
|
|
307
|
+
/**
|
|
308
|
+
* Set the tab items data. This is to be used in storybook
|
|
309
|
+
*/
|
|
310
|
+
"setTabItems": (tabItems: TabItems) => Promise<void>;
|
|
311
|
+
/**
|
|
312
|
+
* Set selected tab. Only set the tab if it's clickable
|
|
313
|
+
*/
|
|
314
|
+
"setTabSelected": (tabValue: TabItem['value']) => Promise<void>;
|
|
315
|
+
/**
|
|
316
|
+
* Color of the tab progress bar and label, override the secondary color of the appearance settings
|
|
317
|
+
*/
|
|
318
|
+
"tabColor"?: string | null;
|
|
319
|
+
}
|
|
294
320
|
interface ZonosCollapse {
|
|
295
321
|
/**
|
|
296
322
|
* Collapsed size when collapsed
|
|
@@ -407,11 +433,6 @@ export namespace Components {
|
|
|
407
433
|
* @default ROUNDED
|
|
408
434
|
*/
|
|
409
435
|
"borderStyle"?: ElementsUiStyle;
|
|
410
|
-
/**
|
|
411
|
-
* The right area for the action in the footer
|
|
412
|
-
* @default null
|
|
413
|
-
*/
|
|
414
|
-
"footerRightAction": HTMLElement | null;
|
|
415
436
|
/**
|
|
416
437
|
* The header text for the dialog
|
|
417
438
|
*/
|
|
@@ -566,7 +587,7 @@ export namespace Components {
|
|
|
566
587
|
* Color of the SVG
|
|
567
588
|
* @default 'gray-1200'
|
|
568
589
|
*/
|
|
569
|
-
"iconColor": Color;
|
|
590
|
+
"iconColor": Color | (string & { _placeholder?: never });
|
|
570
591
|
/**
|
|
571
592
|
* The size of the icon
|
|
572
593
|
* @default 24
|
|
@@ -670,6 +691,10 @@ export namespace Components {
|
|
|
670
691
|
* Override border color of the radio item
|
|
671
692
|
*/
|
|
672
693
|
"borderStyle"?: ElementsUiStyle;
|
|
694
|
+
/**
|
|
695
|
+
* Initial selected value
|
|
696
|
+
*/
|
|
697
|
+
"initialSelectedValue"?: string | number;
|
|
673
698
|
/**
|
|
674
699
|
* List of items to display
|
|
675
700
|
*/
|
|
@@ -702,7 +727,7 @@ export namespace Components {
|
|
|
702
727
|
/**
|
|
703
728
|
* The icon element to display
|
|
704
729
|
*/
|
|
705
|
-
"textColor": Color;
|
|
730
|
+
"textColor": Color | (string & { _placeholder?: never });
|
|
706
731
|
/**
|
|
707
732
|
* Type of the text to display
|
|
708
733
|
*/
|
|
@@ -887,6 +912,12 @@ declare global {
|
|
|
887
912
|
prototype: HTMLZonosCheckoutPaymentElement;
|
|
888
913
|
new (): HTMLZonosCheckoutPaymentElement;
|
|
889
914
|
};
|
|
915
|
+
interface HTMLZonosCheckoutProgressTabsElement extends Components.ZonosCheckoutProgressTabs, HTMLStencilElement {
|
|
916
|
+
}
|
|
917
|
+
var HTMLZonosCheckoutProgressTabsElement: {
|
|
918
|
+
prototype: HTMLZonosCheckoutProgressTabsElement;
|
|
919
|
+
new (): HTMLZonosCheckoutProgressTabsElement;
|
|
920
|
+
};
|
|
890
921
|
interface HTMLZonosCollapseElement extends Components.ZonosCollapse, HTMLStencilElement {
|
|
891
922
|
}
|
|
892
923
|
var HTMLZonosCollapseElement: {
|
|
@@ -1122,6 +1153,7 @@ declare global {
|
|
|
1122
1153
|
"zonos-checkout-finish": HTMLZonosCheckoutFinishElement;
|
|
1123
1154
|
"zonos-checkout-footer": HTMLZonosCheckoutFooterElement;
|
|
1124
1155
|
"zonos-checkout-payment": HTMLZonosCheckoutPaymentElement;
|
|
1156
|
+
"zonos-checkout-progress-tabs": HTMLZonosCheckoutProgressTabsElement;
|
|
1125
1157
|
"zonos-collapse": HTMLZonosCollapseElement;
|
|
1126
1158
|
"zonos-component": HTMLZonosComponentElement;
|
|
1127
1159
|
"zonos-controller": HTMLZonosControllerElement;
|
|
@@ -1387,6 +1419,14 @@ declare namespace LocalJSX {
|
|
|
1387
1419
|
"storybookForceStatus"?: PaymentIntent['status'];
|
|
1388
1420
|
}
|
|
1389
1421
|
interface ZonosCheckoutFooter {
|
|
1422
|
+
/**
|
|
1423
|
+
* Theme to change the color of the logo
|
|
1424
|
+
*/
|
|
1425
|
+
"dataTheme"?: ElementsUiTheme;
|
|
1426
|
+
/**
|
|
1427
|
+
* Override mobile mode
|
|
1428
|
+
*/
|
|
1429
|
+
"mobile"?: boolean;
|
|
1390
1430
|
}
|
|
1391
1431
|
interface ZonosCheckoutPayment {
|
|
1392
1432
|
/**
|
|
@@ -1410,6 +1450,16 @@ declare namespace LocalJSX {
|
|
|
1410
1450
|
*/
|
|
1411
1451
|
"submitBtnType"?: HTMLZonosButtonElement['variant'];
|
|
1412
1452
|
}
|
|
1453
|
+
interface ZonosCheckoutProgressTabs {
|
|
1454
|
+
/**
|
|
1455
|
+
* Background color of the parent that's wrapped around the tab progress bar
|
|
1456
|
+
*/
|
|
1457
|
+
"backgroundColor"?: Color | (string & { _placeholder?: never }) | null;
|
|
1458
|
+
/**
|
|
1459
|
+
* Color of the tab progress bar and label, override the secondary color of the appearance settings
|
|
1460
|
+
*/
|
|
1461
|
+
"tabColor"?: string | null;
|
|
1462
|
+
}
|
|
1413
1463
|
interface ZonosCollapse {
|
|
1414
1464
|
/**
|
|
1415
1465
|
* Collapsed size when collapsed
|
|
@@ -1505,11 +1555,6 @@ declare namespace LocalJSX {
|
|
|
1505
1555
|
* @default ROUNDED
|
|
1506
1556
|
*/
|
|
1507
1557
|
"borderStyle"?: ElementsUiStyle;
|
|
1508
|
-
/**
|
|
1509
|
-
* The right area for the action in the footer
|
|
1510
|
-
* @default null
|
|
1511
|
-
*/
|
|
1512
|
-
"footerRightAction"?: HTMLElement | null;
|
|
1513
1558
|
/**
|
|
1514
1559
|
* The header text for the dialog
|
|
1515
1560
|
*/
|
|
@@ -1647,7 +1692,7 @@ declare namespace LocalJSX {
|
|
|
1647
1692
|
* Color of the SVG
|
|
1648
1693
|
* @default 'gray-1200'
|
|
1649
1694
|
*/
|
|
1650
|
-
"iconColor"?: Color;
|
|
1695
|
+
"iconColor"?: Color | (string & { _placeholder?: never });
|
|
1651
1696
|
/**
|
|
1652
1697
|
* The size of the icon
|
|
1653
1698
|
* @default 24
|
|
@@ -1751,6 +1796,10 @@ declare namespace LocalJSX {
|
|
|
1751
1796
|
* Override border color of the radio item
|
|
1752
1797
|
*/
|
|
1753
1798
|
"borderStyle"?: ElementsUiStyle;
|
|
1799
|
+
/**
|
|
1800
|
+
* Initial selected value
|
|
1801
|
+
*/
|
|
1802
|
+
"initialSelectedValue"?: string | number;
|
|
1754
1803
|
/**
|
|
1755
1804
|
* List of items to display
|
|
1756
1805
|
*/
|
|
@@ -1787,7 +1836,7 @@ declare namespace LocalJSX {
|
|
|
1787
1836
|
/**
|
|
1788
1837
|
* The icon element to display
|
|
1789
1838
|
*/
|
|
1790
|
-
"textColor"?: Color;
|
|
1839
|
+
"textColor"?: Color | (string & { _placeholder?: never });
|
|
1791
1840
|
/**
|
|
1792
1841
|
* Type of the text to display
|
|
1793
1842
|
*/
|
|
@@ -1827,6 +1876,7 @@ declare namespace LocalJSX {
|
|
|
1827
1876
|
"zonos-checkout-finish": ZonosCheckoutFinish;
|
|
1828
1877
|
"zonos-checkout-footer": ZonosCheckoutFooter;
|
|
1829
1878
|
"zonos-checkout-payment": ZonosCheckoutPayment;
|
|
1879
|
+
"zonos-checkout-progress-tabs": ZonosCheckoutProgressTabs;
|
|
1830
1880
|
"zonos-collapse": ZonosCollapse;
|
|
1831
1881
|
"zonos-component": ZonosComponent;
|
|
1832
1882
|
"zonos-controller": ZonosController;
|
|
@@ -1871,6 +1921,7 @@ declare module "@stencil/core" {
|
|
|
1871
1921
|
"zonos-checkout-finish": LocalJSX.ZonosCheckoutFinish & JSXBase.HTMLAttributes<HTMLZonosCheckoutFinishElement>;
|
|
1872
1922
|
"zonos-checkout-footer": LocalJSX.ZonosCheckoutFooter & JSXBase.HTMLAttributes<HTMLZonosCheckoutFooterElement>;
|
|
1873
1923
|
"zonos-checkout-payment": LocalJSX.ZonosCheckoutPayment & JSXBase.HTMLAttributes<HTMLZonosCheckoutPaymentElement>;
|
|
1924
|
+
"zonos-checkout-progress-tabs": LocalJSX.ZonosCheckoutProgressTabs & JSXBase.HTMLAttributes<HTMLZonosCheckoutProgressTabsElement>;
|
|
1874
1925
|
"zonos-collapse": LocalJSX.ZonosCollapse & JSXBase.HTMLAttributes<HTMLZonosCollapseElement>;
|
|
1875
1926
|
"zonos-component": LocalJSX.ZonosComponent & JSXBase.HTMLAttributes<HTMLZonosComponentElement>;
|
|
1876
1927
|
"zonos-controller": LocalJSX.ZonosController & JSXBase.HTMLAttributes<HTMLZonosControllerElement>;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { Stripe } from '@stripe/stripe-js';
|
|
2
2
|
import type { AppearanceConfig } from "../components/store/zonosStore";
|
|
3
|
-
import type {
|
|
3
|
+
import type { NotificationInit } from "../types/index";
|
|
4
|
+
import type { TempCart } from "../types/checkout/api/TempCart";
|
|
5
|
+
import type { CheckoutConfig } from "../types/checkout/CheckoutConfig";
|
|
6
|
+
import type { HelloConfig } from "../types/hello/HelloConfig";
|
|
4
7
|
export type CurrencyConverter = (convertAndFormat: (amount: number) => string, convert: (amount: number) => number, format: (amount: number) => string, selector?: string) => void;
|
|
5
8
|
export type LoadZonosParamsConfig = {
|
|
6
9
|
appearance?: Partial<AppearanceConfig>;
|
|
@@ -10,6 +13,10 @@ export type LoadZonosParamsConfig = {
|
|
|
10
13
|
};
|
|
11
14
|
export type LoadZonosParams = LoadZonosParamsConfig & {
|
|
12
15
|
storeId: number;
|
|
16
|
+
/**
|
|
17
|
+
* Temporary cart UUID to be used for zonos checkout, if this is provided, no need to configure `buildCartDetail`, `buildLandedCost` callback, zonosApiKey or storeId
|
|
18
|
+
*/
|
|
19
|
+
tempCartUUID?: string;
|
|
13
20
|
zonosApiKey: string;
|
|
14
21
|
};
|
|
15
22
|
export interface Zonos {
|
|
@@ -26,6 +33,7 @@ export interface Zonos {
|
|
|
26
33
|
storeId: number;
|
|
27
34
|
/** Stripe instance */
|
|
28
35
|
stripe: Stripe;
|
|
36
|
+
tempCartData: TempCart | null;
|
|
29
37
|
version: string;
|
|
30
38
|
zonosApiKey: string;
|
|
31
39
|
zonosQaUrl: string | null;
|
|
@@ -49,6 +57,7 @@ export declare abstract class Zonos {
|
|
|
49
57
|
static zonosQaUrl: string | null;
|
|
50
58
|
static version: string;
|
|
51
59
|
static modeAlerted: boolean;
|
|
60
|
+
static tempCartData: TempCart | null;
|
|
52
61
|
static getCurrentTimestamp: () => number;
|
|
53
62
|
private static zonosController;
|
|
54
63
|
static init: ({ appearance, checkoutSettings, currencyConverter, helloSettings, storeId, zonosApiKey, }: LoadZonosParams) => Promise<void>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { ElementsUiTheme
|
|
1
|
+
import type { ElementsUiTheme } from "../../types/generated/graphql.customer.types";
|
|
2
|
+
import type { StripeRuleType } from "../../types/stripe/Apperance";
|
|
2
3
|
export declare const addressRuleStyle: ({ theme, }: {
|
|
3
4
|
theme: ElementsUiTheme;
|
|
4
5
|
}) => StripeRuleType;
|
|
@@ -41,7 +41,8 @@ export type CheckoutConfig = {
|
|
|
41
41
|
successRedirectUrl: string;
|
|
42
42
|
visibilityStatus: CheckoutVisibilityStatus;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* Cart info callback for checkout (optional)
|
|
45
|
+
* @note will use temp cart data if available
|
|
45
46
|
* User can dispatch an event 'zonos--init-cart-info' to update the cart
|
|
46
47
|
* @example
|
|
47
48
|
* const initEvent = new CustomEvent<CartItem[]>('zonos--init-cart-info', {
|
|
@@ -60,6 +61,10 @@ export type CheckoutConfig = {
|
|
|
60
61
|
* - quantity: number;
|
|
61
62
|
*/
|
|
62
63
|
buildCartDetail?: () => Promise<CartItem[]>;
|
|
64
|
+
/**
|
|
65
|
+
* Calculate landed cost callback for checkout (optional)
|
|
66
|
+
* @note will use temp cart data if available
|
|
67
|
+
*/
|
|
63
68
|
buildLandedCost?: (params: BuildLandedCostParams) => BuildLandedCostResponse;
|
|
64
69
|
onOrderSuccess?: (zonosOrder: ZonosOrder) => Promise<void>;
|
|
65
70
|
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export type TempCartItem = {
|
|
2
|
+
additionalCharge: boolean;
|
|
3
|
+
boxNumber: number | null;
|
|
4
|
+
countryOfOrigin: string | null;
|
|
5
|
+
description: string | null;
|
|
6
|
+
discount: boolean;
|
|
7
|
+
foreignUnitPrice: number | null;
|
|
8
|
+
giftCard: boolean;
|
|
9
|
+
height: number | null;
|
|
10
|
+
id: number | null;
|
|
11
|
+
imageURL: string | null;
|
|
12
|
+
itemBrand: string | null;
|
|
13
|
+
itemCategory: string | null;
|
|
14
|
+
itemColor: string | null;
|
|
15
|
+
itemCustomization: string | null;
|
|
16
|
+
itemDescriptionDetailed: string | null;
|
|
17
|
+
itemDescriptionLong: string | null;
|
|
18
|
+
itemDiscountAmount: number | null;
|
|
19
|
+
itemDoSell: boolean;
|
|
20
|
+
itemFabricContent: string | null;
|
|
21
|
+
itemForwarded: boolean;
|
|
22
|
+
itemHSCode: string | null;
|
|
23
|
+
itemLtlClass: string | null;
|
|
24
|
+
itemMaterial: string | null;
|
|
25
|
+
itemPickingLocation: string | null;
|
|
26
|
+
itemShipFromLocation: string | null;
|
|
27
|
+
itemShippingAmount: number | null;
|
|
28
|
+
itemSize: string | null;
|
|
29
|
+
itemURL: string | null;
|
|
30
|
+
itemUnitPriceHide: boolean;
|
|
31
|
+
length: number | null;
|
|
32
|
+
nonShippable: boolean;
|
|
33
|
+
productId: string | null;
|
|
34
|
+
quantity: number | null;
|
|
35
|
+
sku: string | null;
|
|
36
|
+
status: string | null;
|
|
37
|
+
unitPrice: number | null;
|
|
38
|
+
weight: number | null;
|
|
39
|
+
weightUnits: string | null;
|
|
40
|
+
width: number | null;
|
|
41
|
+
};
|
|
42
|
+
export type TempCart = {
|
|
43
|
+
additionalHandling: boolean;
|
|
44
|
+
boxCount: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* @param contShopingUrl should always be set, backend will ensure this. If not set, backend will fallback to the store vendor url
|
|
47
|
+
*/
|
|
48
|
+
contShoppingURL: string;
|
|
49
|
+
createdInMillis: number | null;
|
|
50
|
+
customerId: string | null;
|
|
51
|
+
customerNote: string | null;
|
|
52
|
+
discountAmount: number | null;
|
|
53
|
+
domesticShippingCharge: number | null;
|
|
54
|
+
exchangeRate: number | null;
|
|
55
|
+
externalConfirmationPageURL: string | null;
|
|
56
|
+
footerHtml: string | null;
|
|
57
|
+
giftCardDescription: string | null;
|
|
58
|
+
giftCardForeignTotal: number | null;
|
|
59
|
+
giftCardTotal: number | null;
|
|
60
|
+
guid: string;
|
|
61
|
+
iGlobalId: string | null;
|
|
62
|
+
id: number;
|
|
63
|
+
iglobalCheckoutFlags: string | null;
|
|
64
|
+
interpayRateOfferId: string | null;
|
|
65
|
+
items: TempCartItem[] | null;
|
|
66
|
+
message: string | null;
|
|
67
|
+
misc1: string | null;
|
|
68
|
+
misc2: string | null;
|
|
69
|
+
misc3: string | null;
|
|
70
|
+
misc4: string | null;
|
|
71
|
+
misc5: string | null;
|
|
72
|
+
misc6: string | null;
|
|
73
|
+
poAllowed: boolean;
|
|
74
|
+
referenceId: string | null;
|
|
75
|
+
shippingAmountOverride: number | null;
|
|
76
|
+
showForeignCurrency: boolean;
|
|
77
|
+
storeId: number;
|
|
78
|
+
usedInMillis: number | null;
|
|
79
|
+
vendorPassedCurrencyCode: string | null;
|
|
80
|
+
};
|
|
@@ -316,6 +316,12 @@ export declare const classificationCalculateSource: {
|
|
|
316
316
|
readonly Legacy: "LEGACY";
|
|
317
317
|
};
|
|
318
318
|
export type ClassificationCalculateSource = (typeof classificationCalculateSource)[keyof typeof classificationCalculateSource];
|
|
319
|
+
export declare const classificationRequestField: {
|
|
320
|
+
readonly Category: "CATEGORY";
|
|
321
|
+
readonly Description: "DESCRIPTION";
|
|
322
|
+
readonly Name: "NAME";
|
|
323
|
+
};
|
|
324
|
+
export type ClassificationRequestField = (typeof classificationRequestField)[keyof typeof classificationRequestField];
|
|
319
325
|
export declare const clearanceType: {
|
|
320
326
|
readonly Commercial: "COMMERCIAL";
|
|
321
327
|
readonly Postal: "POSTAL";
|
|
@@ -1726,6 +1732,33 @@ export declare const lcgBillingMethod: {
|
|
|
1726
1732
|
readonly Legacy: "LEGACY";
|
|
1727
1733
|
};
|
|
1728
1734
|
export type LcgBillingMethod = (typeof lcgBillingMethod)[keyof typeof lcgBillingMethod];
|
|
1735
|
+
export declare const manualClassificationRequestCreateStatus: {
|
|
1736
|
+
readonly Created: "CREATED";
|
|
1737
|
+
readonly Existing: "EXISTING";
|
|
1738
|
+
};
|
|
1739
|
+
export type ManualClassificationRequestCreateStatus = (typeof manualClassificationRequestCreateStatus)[keyof typeof manualClassificationRequestCreateStatus];
|
|
1740
|
+
export declare const manualClassificationRequestStatus: {
|
|
1741
|
+
readonly Completed: "COMPLETED";
|
|
1742
|
+
readonly Invalidated: "INVALIDATED";
|
|
1743
|
+
readonly Pending: "PENDING";
|
|
1744
|
+
readonly Reserved: "RESERVED";
|
|
1745
|
+
};
|
|
1746
|
+
export type ManualClassificationRequestStatus = (typeof manualClassificationRequestStatus)[keyof typeof manualClassificationRequestStatus];
|
|
1747
|
+
export declare const manualClassificationRequestsSorting: {
|
|
1748
|
+
readonly HsCode: "HS_CODE";
|
|
1749
|
+
readonly Priority: "PRIORITY";
|
|
1750
|
+
};
|
|
1751
|
+
export type ManualClassificationRequestsSorting = (typeof manualClassificationRequestsSorting)[keyof typeof manualClassificationRequestsSorting];
|
|
1752
|
+
export declare const manualClassificationSettingStatus: {
|
|
1753
|
+
readonly Disabled: "DISABLED";
|
|
1754
|
+
readonly Enabled: "ENABLED";
|
|
1755
|
+
};
|
|
1756
|
+
export type ManualClassificationSettingStatus = (typeof manualClassificationSettingStatus)[keyof typeof manualClassificationSettingStatus];
|
|
1757
|
+
export declare const manualClassificationStatus: {
|
|
1758
|
+
readonly Active: "ACTIVE";
|
|
1759
|
+
readonly Archived: "ARCHIVED";
|
|
1760
|
+
};
|
|
1761
|
+
export type ManualClassificationStatus = (typeof manualClassificationStatus)[keyof typeof manualClassificationStatus];
|
|
1729
1762
|
export declare const matchType: {
|
|
1730
1763
|
readonly ExactMatch: "EXACT_MATCH";
|
|
1731
1764
|
readonly NoMatch: "NO_MATCH";
|
|
@@ -1886,6 +1919,17 @@ export declare const propertyType: {
|
|
|
1886
1919
|
readonly Residential: "RESIDENTIAL";
|
|
1887
1920
|
};
|
|
1888
1921
|
export type PropertyType = (typeof propertyType)[keyof typeof propertyType];
|
|
1922
|
+
export declare const providedHsCodeVisibilityStatus: {
|
|
1923
|
+
readonly NotVisible: "NOT_VISIBLE";
|
|
1924
|
+
readonly Visible: "VISIBLE";
|
|
1925
|
+
};
|
|
1926
|
+
export type ProvidedHsCodeVisibilityStatus = (typeof providedHsCodeVisibilityStatus)[keyof typeof providedHsCodeVisibilityStatus];
|
|
1927
|
+
export declare const restrictedItemAction: {
|
|
1928
|
+
readonly Block: "BLOCK";
|
|
1929
|
+
readonly BlockAll: "BLOCK_ALL";
|
|
1930
|
+
readonly Warn: "WARN";
|
|
1931
|
+
};
|
|
1932
|
+
export type RestrictedItemAction = (typeof restrictedItemAction)[keyof typeof restrictedItemAction];
|
|
1889
1933
|
export declare const result: {
|
|
1890
1934
|
readonly Failure: "FAILURE";
|
|
1891
1935
|
readonly Success: "SUCCESS";
|
|
@@ -1928,6 +1972,44 @@ export declare const shipmentConsolidationStatus: {
|
|
|
1928
1972
|
readonly Open: "OPEN";
|
|
1929
1973
|
};
|
|
1930
1974
|
export type ShipmentConsolidationStatus = (typeof shipmentConsolidationStatus)[keyof typeof shipmentConsolidationStatus];
|
|
1975
|
+
export type ShipmentRatingBatteryDetail = {
|
|
1976
|
+
materialType: ShipmentRatingBatteryMaterialType;
|
|
1977
|
+
packingType: ShipmentRatingBatteryPackingType;
|
|
1978
|
+
};
|
|
1979
|
+
export declare const shipmentRatingBatteryMaterialType: {
|
|
1980
|
+
readonly LithiumIon: "LITHIUM_ION";
|
|
1981
|
+
readonly LithiumMetal: "LITHIUM_METAL";
|
|
1982
|
+
};
|
|
1983
|
+
export type ShipmentRatingBatteryMaterialType = (typeof shipmentRatingBatteryMaterialType)[keyof typeof shipmentRatingBatteryMaterialType];
|
|
1984
|
+
export declare const shipmentRatingBatteryPackingType: {
|
|
1985
|
+
readonly BatteryInsideEquipment: "BATTERY_INSIDE_EQUIPMENT";
|
|
1986
|
+
readonly BatteryOnly: "BATTERY_ONLY";
|
|
1987
|
+
readonly BatteryPackagedWithEquipment: "BATTERY_PACKAGED_WITH_EQUIPMENT";
|
|
1988
|
+
};
|
|
1989
|
+
export type ShipmentRatingBatteryPackingType = (typeof shipmentRatingBatteryPackingType)[keyof typeof shipmentRatingBatteryPackingType];
|
|
1990
|
+
export declare const shipmentRatingSignatureOptionType: {
|
|
1991
|
+
readonly Adult: "ADULT";
|
|
1992
|
+
readonly Default: "DEFAULT";
|
|
1993
|
+
readonly Direct: "DIRECT";
|
|
1994
|
+
readonly Indirect: "INDIRECT";
|
|
1995
|
+
};
|
|
1996
|
+
export type ShipmentRatingSignatureOptionType = (typeof shipmentRatingSignatureOptionType)[keyof typeof shipmentRatingSignatureOptionType];
|
|
1997
|
+
export type ShipmentRatingSpecialServiceDetail = {
|
|
1998
|
+
batteryDetail?: InputMaybe<ShipmentRatingBatteryDetail>;
|
|
1999
|
+
serviceTypes: Array<ShipmentRatingSpecialServiceType>;
|
|
2000
|
+
signatureOptionType?: InputMaybe<ShipmentRatingSignatureOptionType>;
|
|
2001
|
+
};
|
|
2002
|
+
export declare const shipmentRatingSpecialServiceType: {
|
|
2003
|
+
readonly Alcohol: "ALCOHOL";
|
|
2004
|
+
readonly Battery: "BATTERY";
|
|
2005
|
+
readonly CutFlowers: "CUT_FLOWERS";
|
|
2006
|
+
readonly DangerousGoods: "DANGEROUS_GOODS";
|
|
2007
|
+
readonly DryIce: "DRY_ICE";
|
|
2008
|
+
readonly SaturdayDelivery: "SATURDAY_DELIVERY";
|
|
2009
|
+
readonly SignatureOption: "SIGNATURE_OPTION";
|
|
2010
|
+
readonly SundayDelivery: "SUNDAY_DELIVERY";
|
|
2011
|
+
};
|
|
2012
|
+
export type ShipmentRatingSpecialServiceType = (typeof shipmentRatingSpecialServiceType)[keyof typeof shipmentRatingSpecialServiceType];
|
|
1931
2013
|
export declare const shipmentSpecialService: {
|
|
1932
2014
|
readonly Consolidation: "CONSOLIDATION";
|
|
1933
2015
|
readonly CutFlowers: "CUT_FLOWERS";
|
|
@@ -2067,6 +2149,7 @@ export type TaxIdType = (typeof taxIdType)[keyof typeof taxIdType];
|
|
|
2067
2149
|
export declare const taxMethodType: {
|
|
2068
2150
|
readonly Consignment: "CONSIGNMENT";
|
|
2069
2151
|
readonly Default: "DEFAULT";
|
|
2152
|
+
readonly Domestic: "DOMESTIC";
|
|
2070
2153
|
};
|
|
2071
2154
|
export type TaxMethodType = (typeof taxMethodType)[keyof typeof taxMethodType];
|
|
2072
2155
|
export declare const tokenTypeCategory: {
|
|
@@ -2163,6 +2246,19 @@ export declare const wcoVersion: {
|
|
|
2163
2246
|
readonly Wco_2072: "WCO_2072";
|
|
2164
2247
|
};
|
|
2165
2248
|
export type WcoVersion = (typeof wcoVersion)[keyof typeof wcoVersion];
|
|
2249
|
+
export declare const webhookStatus: {
|
|
2250
|
+
readonly Disabled: "DISABLED";
|
|
2251
|
+
readonly Enabled: "ENABLED";
|
|
2252
|
+
};
|
|
2253
|
+
export type WebhookStatus = (typeof webhookStatus)[keyof typeof webhookStatus];
|
|
2254
|
+
export declare const webhookType: {
|
|
2255
|
+
readonly OrderCanceled: "ORDER_CANCELED";
|
|
2256
|
+
readonly OrderCreated: "ORDER_CREATED";
|
|
2257
|
+
readonly OrderStatusChanged: "ORDER_STATUS_CHANGED";
|
|
2258
|
+
readonly ShipmentCanceled: "SHIPMENT_CANCELED";
|
|
2259
|
+
readonly ShipmentCreated: "SHIPMENT_CREATED";
|
|
2260
|
+
};
|
|
2261
|
+
export type WebhookType = (typeof webhookType)[keyof typeof webhookType];
|
|
2166
2262
|
export declare const weightUnitCode: {
|
|
2167
2263
|
readonly Gram: "GRAM";
|
|
2168
2264
|
readonly Kilogram: "KILOGRAM";
|
|
@@ -2788,6 +2884,7 @@ export type AppearanceSettingFragment = {
|
|
|
2788
2884
|
export type OnlineStoreSettingsQuery = {
|
|
2789
2885
|
onlineStoreSettings: {
|
|
2790
2886
|
allowedDomains: Array<string>;
|
|
2887
|
+
url: string;
|
|
2791
2888
|
};
|
|
2792
2889
|
};
|
|
2793
2890
|
export type GetOrderQuery = {
|