@zonos/elements 1.1.1 → 1.1.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-108bc407.js → cart-a969ee0b.js} +8 -8
- package/dist/cjs/{cart-108bc407.js.map → cart-a969ee0b.js.map} +1 -1
- package/dist/cjs/{getBorderRadius-2904800c.js → getBorderRadius-ae52cae1.js} +2 -2
- package/dist/cjs/{getBorderRadius-2904800c.js.map → getBorderRadius-ae52cae1.js.map} +1 -1
- package/dist/cjs/{isDarkColor-a86b8a05.js → isDarkColor-e1a7bf45.js} +2 -2
- package/dist/cjs/{isDarkColor-a86b8a05.js.map → isDarkColor-e1a7bf45.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localization-f6a1b679.js → localization-d510574c.js} +200 -12
- package/dist/cjs/localization-d510574c.js.map +1 -0
- package/dist/cjs/{submitGtag-b1b96579.js → submitGtag-4de4430f.js} +3 -3
- package/dist/cjs/{submitGtag-b1b96579.js.map → submitGtag-4de4430f.js.map} +1 -1
- package/dist/cjs/zonos-address_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-banner.cjs.entry.js +68 -0
- package/dist/cjs/zonos-banner.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-button_2.cjs.entry.js +3 -3
- package/dist/cjs/zonos-cart-items_10.cjs.entry.js +12 -12
- package/dist/cjs/zonos-checkout.cjs.entry.js +9 -9
- package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
- package/dist/cjs/zonos-controller.cjs.entry.js.map +1 -1
- package/dist/cjs/zonos-country-flag_4.cjs.entry.js +6 -6
- package/dist/cjs/zonos-elements.cjs.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +12 -8
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/zonos-hello.cjs.entry.js +237 -22
- package/dist/cjs/zonos-hello.cjs.entry.js.map +1 -1
- package/dist/cjs/zonos-payment.cjs.entry.js +60 -0
- package/dist/cjs/zonos-payment.cjs.entry.js.map +1 -0
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/{zonosStore-960e5542.js → zonosStore-d9cdaec6.js} +6 -22
- package/dist/cjs/zonosStore-d9cdaec6.js.map +1 -0
- package/dist/collection/components/checkout/zonos-checkout/assets/LeftArrow.svg +1 -1
- package/dist/collection/components/checkout/zonos-checkout/assets/MessageIcon.svg +1 -1
- package/dist/collection/components/checkout/zonos-checkout/assets/RemoveIcon.svg +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/assets/InfoIcon.svg +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/assets/RemoveIcon.svg +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/assets/SuccessIcon.svg +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/assets/ChevronDownIcon.svg +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-review/assets/ChevronUpIcon.svg +1 -1
- package/dist/collection/components/common/zonos-banner/zonos-banner.css +6 -1
- package/dist/collection/components/common/zonos-banner/zonos-banner.js +1 -1
- package/dist/collection/components/common/zonos-banner/zonos-banner.js.map +1 -1
- package/dist/collection/components/common/zonos-country-select/assets/arrowLeftBlue.svg +1 -1
- package/dist/collection/components/common/zonos-dialog/assets/removeIcon.svg +1 -1
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +1 -1
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js.map +1 -1
- package/dist/collection/components/hello/zonos-hello/zonos-hello.css +20 -2
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js +135 -20
- package/dist/collection/components/hello/zonos-hello/zonos-hello.js.map +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/assets/bagIcon.svg +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/assets/messageIcon.svg +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/assets/moneyIcon.svg +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/assets/removeIcon.svg +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/assets/chevronDownIcon.svg +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/assets/zonosIcon.svg +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.css +12 -4
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +30 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js.map +1 -1
- package/dist/collection/components/store/hello/localization.js +2 -4
- package/dist/collection/components/store/hello/localization.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
- package/dist/collection/components/store/translationStore/strings.arabic.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.base.js +9 -0
- package/dist/collection/components/store/translationStore/strings.base.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.danish.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.french.js +9 -0
- package/dist/collection/components/store/translationStore/strings.french.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.german.js +9 -0
- package/dist/collection/components/store/translationStore/strings.german.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.italian.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
- package/dist/collection/components/store/translationStore/strings.korean.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.polish.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.russian.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js.map +1 -1
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js.map +1 -1
- package/dist/collection/components/store/zonosStore.js +5 -3
- package/dist/collection/components/store/zonosStore.js.map +1 -1
- package/dist/collection/components/utils/api/checkItemRestrictions.js +18 -0
- package/dist/collection/components/utils/api/checkItemRestrictions.js.map +1 -0
- package/dist/collection/components/utils/hello/detectItemRestrictions.js +29 -0
- package/dist/collection/components/utils/hello/detectItemRestrictions.js.map +1 -0
- package/dist/collection/components/utils/hello/getCurrentHelloLocalePage.js +8 -7
- package/dist/collection/components/utils/hello/getCurrentHelloLocalePage.js.map +1 -1
- package/dist/collection/components/utils/hello/getProductsOnPage.js +49 -0
- package/dist/collection/components/utils/hello/getProductsOnPage.js.map +1 -0
- package/dist/collection/components/utils/hello/setZonosCountryUrlParam.js +10 -0
- package/dist/collection/components/utils/hello/setZonosCountryUrlParam.js.map +1 -0
- package/dist/collection/environment.js +34 -7
- package/dist/collection/environment.js.map +1 -1
- package/dist/collection/scripts/loadStripe.js +3 -3
- package/dist/collection/scripts/loadStripe.js.map +1 -1
- package/dist/collection/scripts/stripe.js +3 -3
- package/dist/collection/scripts/stripe.js.map +1 -1
- package/dist/collection/scripts/zonos.js +83 -30
- package/dist/collection/scripts/zonos.js.map +1 -1
- package/dist/collection/types/generated/graphql.customer.types.js +34 -0
- package/dist/collection/types/generated/graphql.customer.types.js.map +1 -1
- package/dist/collection/types/hello/HelloConfig.js.map +1 -1
- package/dist/collection/types/hello/Product.js +2 -0
- package/dist/collection/types/hello/Product.js.map +1 -0
- package/dist/collection/types/hello/RestrictedItem.js +2 -0
- package/dist/collection/types/hello/RestrictedItem.js.map +1 -0
- package/dist/components/localization.js +198 -11
- package/dist/components/localization.js.map +1 -1
- package/dist/components/stripe.js +3 -3
- package/dist/components/stripe.js.map +1 -1
- package/dist/components/zonos-banner2.js +2 -2
- package/dist/components/zonos-banner2.js.map +1 -1
- package/dist/components/zonos-cart-subtotal2.js +1 -1
- package/dist/components/zonos-checkout-finish2.js +2 -2
- package/dist/components/zonos-checkout.js +3 -3
- package/dist/components/zonos-controller.js +1 -1
- package/dist/components/zonos-controller.js.map +1 -1
- package/dist/components/zonos-country-select2.js +1 -1
- package/dist/components/zonos-dialog2.js +1 -1
- package/dist/components/zonos-hello-dialog-footer2.js +2 -2
- package/dist/components/zonos-hello-dialog2.js +18 -7
- package/dist/components/zonos-hello-dialog2.js.map +1 -1
- package/dist/components/zonos-hello.js +247 -22
- package/dist/components/zonos-hello.js.map +1 -1
- package/dist/components/zonos-review2.js +2 -2
- package/dist/components/zonos-shipping-rich-radio2.js +1 -1
- package/dist/components/zonos-shipping-rich-radio2.js.map +1 -1
- package/dist/components/zonosStore.js +5 -21
- package/dist/components/zonosStore.js.map +1 -1
- package/dist/{zonos-elements/cart-2f83e048.js → esm/cart-d00e1acb.js} +8 -8
- package/dist/esm/{cart-2f83e048.js.map → cart-d00e1acb.js.map} +1 -1
- package/dist/{zonos-elements/getBorderRadius-82fbaf25.js → esm/getBorderRadius-e8ad5967.js} +2 -2
- package/dist/esm/{getBorderRadius-82fbaf25.js.map → getBorderRadius-e8ad5967.js.map} +1 -1
- package/dist/{zonos-elements/isDarkColor-b21326ae.js → esm/isDarkColor-3bb345f4.js} +2 -2
- package/dist/{zonos-elements/isDarkColor-b21326ae.js.map → esm/isDarkColor-3bb345f4.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/{zonos-elements/localization-4a424f49.js → esm/localization-1d92a557.js} +200 -13
- package/dist/esm/localization-1d92a557.js.map +1 -0
- package/dist/{zonos-elements/submitGtag-fbdb454b.js → esm/submitGtag-85914088.js} +3 -3
- package/dist/esm/{submitGtag-fbdb454b.js.map → submitGtag-85914088.js.map} +1 -1
- package/dist/esm/zonos-address_2.entry.js +5 -5
- package/dist/esm/zonos-banner.entry.js +64 -0
- package/dist/esm/zonos-banner.entry.js.map +1 -0
- package/dist/esm/zonos-button_2.entry.js +3 -3
- package/dist/esm/zonos-cart-items_10.entry.js +12 -12
- package/dist/esm/zonos-checkout.entry.js +9 -9
- package/dist/esm/zonos-controller.entry.js +6 -6
- package/dist/esm/zonos-controller.entry.js.map +1 -1
- package/dist/esm/zonos-country-flag_4.entry.js +6 -6
- package/dist/esm/zonos-elements.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +12 -8
- package/dist/esm/zonos-hello-dialog.entry.js.map +1 -1
- package/dist/esm/zonos-hello.entry.js +237 -22
- package/dist/esm/zonos-hello.entry.js.map +1 -1
- package/dist/esm/zonos-payment.entry.js +56 -0
- package/dist/esm/zonos-payment.entry.js.map +1 -0
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/esm/zonos-shipping-rich-radio.entry.js.map +1 -1
- package/dist/{zonos-elements/zonosStore-13a7b534.js → esm/zonosStore-1c9c7d76.js} +6 -22
- package/dist/esm/zonosStore-1c9c7d76.js.map +1 -0
- package/dist/esm-es5/cart-d00e1acb.js +2 -0
- package/dist/esm-es5/{cart-2f83e048.js.map → cart-d00e1acb.js.map} +1 -1
- package/dist/esm-es5/{getBorderRadius-82fbaf25.js → getBorderRadius-e8ad5967.js} +2 -2
- package/dist/esm-es5/{isDarkColor-b21326ae.js → isDarkColor-3bb345f4.js} +2 -2
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/localization-1d92a557.js +2 -0
- package/dist/esm-es5/localization-1d92a557.js.map +1 -0
- package/dist/esm-es5/{submitGtag-fbdb454b.js → submitGtag-85914088.js} +2 -2
- package/dist/esm-es5/zonos-address_2.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +2 -0
- package/dist/esm-es5/zonos-banner.entry.js.map +1 -0
- package/dist/esm-es5/zonos-button_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_10.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_10.entry.js.map +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js.map +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js.map +1 -1
- package/dist/esm-es5/zonos-country-flag_4.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag_4.entry.js.map +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-elements.js.map +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js.map +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js.map +1 -1
- package/dist/esm-es5/zonos-payment.entry.js +2 -0
- package/dist/esm-es5/zonos-payment.entry.js.map +1 -0
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js.map +1 -1
- package/dist/esm-es5/zonosStore-1c9c7d76.js +2 -0
- package/dist/esm-es5/zonosStore-1c9c7d76.js.map +1 -0
- package/dist/scripts/loadStripe.js +6 -6
- package/dist/scripts/loadZonos.js +92 -35
- package/dist/scripts/stripe.js +5 -5
- package/dist/scripts/zonos.js +92 -35
- package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +24 -1
- package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +6 -0
- 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/store/zonosStore.d.ts +1 -1
- package/dist/types/components/utils/api/checkItemRestrictions.d.ts +22 -0
- package/dist/types/components/utils/hello/detectItemRestrictions.d.ts +14 -0
- package/dist/types/components/utils/hello/getCurrentHelloLocalePage.d.ts +2 -1
- package/dist/types/components/utils/hello/getProductsOnPage.d.ts +2 -0
- package/dist/types/components/utils/hello/setZonosCountryUrlParam.d.ts +2 -0
- package/dist/types/components.d.ts +12 -0
- package/dist/types/environment.d.ts +9 -0
- package/dist/types/scripts/loadStripe.d.ts +1 -1
- package/dist/types/scripts/stripe.d.ts +2 -2
- package/dist/types/scripts/zonos.d.ts +2 -0
- package/dist/types/types/generated/graphql.customer.types.d.ts +75 -1
- package/dist/types/types/generated/graphql.customer.types.ts +113 -1
- package/dist/types/types/hello/HelloConfig.d.ts +4 -0
- package/dist/types/types/hello/Product.d.ts +5 -0
- package/dist/types/types/hello/RestrictedItem.d.ts +6 -0
- package/dist/zonos-elements/assets/ChevronDownIcon.svg +1 -1
- package/dist/zonos-elements/assets/ChevronUpIcon.svg +1 -1
- package/dist/zonos-elements/assets/InfoIcon.svg +1 -1
- package/dist/zonos-elements/assets/LeftArrow.svg +1 -1
- package/dist/zonos-elements/assets/MessageIcon.svg +1 -1
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/assets/SuccessIcon.svg +1 -1
- package/dist/zonos-elements/assets/bagIcon.svg +1 -1
- package/dist/zonos-elements/assets/messageIcon.svg +1 -1
- package/dist/zonos-elements/assets/moneyIcon.svg +1 -1
- package/dist/zonos-elements/assets/removeIcon.svg +1 -1
- package/dist/zonos-elements/cart-c641ddaf.system.js +2 -0
- package/dist/zonos-elements/{cart-9780fa28.system.js.map → cart-c641ddaf.system.js.map} +1 -1
- package/dist/{esm/cart-2f83e048.js → zonos-elements/cart-d00e1acb.js} +8 -8
- package/dist/zonos-elements/{cart-2f83e048.js.map → cart-d00e1acb.js.map} +1 -1
- package/dist/zonos-elements/{getBorderRadius-4fbe49de.system.js → getBorderRadius-b59c3ada.system.js} +2 -2
- package/dist/{esm/getBorderRadius-82fbaf25.js → zonos-elements/getBorderRadius-e8ad5967.js} +2 -2
- package/dist/zonos-elements/{getBorderRadius-82fbaf25.js.map → getBorderRadius-e8ad5967.js.map} +1 -1
- package/dist/zonos-elements/{isDarkColor-dc2b7c8f.system.js → isDarkColor-231502d4.system.js} +2 -2
- package/dist/{esm/isDarkColor-b21326ae.js → zonos-elements/isDarkColor-3bb345f4.js} +2 -2
- package/dist/{esm/isDarkColor-b21326ae.js.map → zonos-elements/isDarkColor-3bb345f4.js.map} +1 -1
- package/dist/{esm/localization-4a424f49.js → zonos-elements/localization-1d92a557.js} +200 -13
- package/dist/zonos-elements/localization-1d92a557.js.map +1 -0
- package/dist/zonos-elements/localization-a6b6a5a5.system.js +2 -0
- package/dist/zonos-elements/localization-a6b6a5a5.system.js.map +1 -0
- package/dist/zonos-elements/submitGtag-764af8c4.system.js +2 -0
- package/dist/{esm/submitGtag-fbdb454b.js → zonos-elements/submitGtag-85914088.js} +3 -3
- package/dist/zonos-elements/{submitGtag-fbdb454b.js.map → submitGtag-85914088.js.map} +1 -1
- package/dist/zonos-elements/zonos-address_2.entry.js +5 -5
- package/dist/zonos-elements/zonos-address_2.system.entry.js +1 -1
- package/dist/zonos-elements/zonos-banner.entry.js +64 -0
- package/dist/zonos-elements/zonos-banner.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-banner.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-banner.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-button_2.entry.js +3 -3
- package/dist/zonos-elements/zonos-button_2.system.entry.js +1 -1
- package/dist/zonos-elements/zonos-cart-items_10.entry.js +12 -12
- package/dist/zonos-elements/zonos-cart-items_10.system.entry.js +1 -1
- package/dist/zonos-elements/zonos-cart-items_10.system.entry.js.map +1 -1
- package/dist/zonos-elements/zonos-checkout.entry.js +9 -9
- package/dist/zonos-elements/zonos-checkout.system.entry.js +1 -1
- package/dist/zonos-elements/zonos-checkout.system.entry.js.map +1 -1
- package/dist/zonos-elements/zonos-controller.entry.js +6 -6
- package/dist/zonos-elements/zonos-controller.entry.js.map +1 -1
- package/dist/zonos-elements/zonos-controller.system.entry.js +1 -1
- package/dist/zonos-elements/zonos-controller.system.entry.js.map +1 -1
- package/dist/zonos-elements/zonos-country-flag_4.entry.js +6 -6
- package/dist/zonos-elements/zonos-country-flag_4.system.entry.js +1 -1
- package/dist/zonos-elements/zonos-country-flag_4.system.entry.js.map +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.system.js +1 -1
- package/dist/zonos-elements/zonos-elements.system.js.map +1 -1
- package/dist/zonos-elements/zonos-hello-dialog.entry.js +12 -8
- package/dist/zonos-elements/zonos-hello-dialog.entry.js.map +1 -1
- package/dist/zonos-elements/zonos-hello-dialog.system.entry.js +1 -1
- package/dist/zonos-elements/zonos-hello-dialog.system.entry.js.map +1 -1
- package/dist/zonos-elements/zonos-hello.entry.js +237 -22
- package/dist/zonos-elements/zonos-hello.entry.js.map +1 -1
- package/dist/zonos-elements/zonos-hello.system.entry.js +1 -1
- package/dist/zonos-elements/zonos-hello.system.entry.js.map +1 -1
- package/dist/zonos-elements/zonos-payment.entry.js +56 -0
- package/dist/zonos-elements/zonos-payment.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-payment.system.entry.js +2 -0
- package/dist/zonos-elements/zonos-payment.system.entry.js.map +1 -0
- package/dist/zonos-elements/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/zonos-elements/zonos-shipping-rich-radio.entry.js.map +1 -1
- package/dist/zonos-elements/zonos-shipping-rich-radio.system.entry.js +1 -1
- package/dist/zonos-elements/zonos-shipping-rich-radio.system.entry.js.map +1 -1
- package/dist/{esm/zonosStore-13a7b534.js → zonos-elements/zonosStore-1c9c7d76.js} +6 -22
- package/dist/zonos-elements/zonosStore-1c9c7d76.js.map +1 -0
- package/dist/zonos-elements/zonosStore-e5c545ea.system.js +2 -0
- package/dist/zonos-elements/zonosStore-e5c545ea.system.js.map +1 -0
- package/package.json +1 -1
- package/dist/cjs/localization-f6a1b679.js.map +0 -1
- package/dist/cjs/zonos-banner_2.cjs.entry.js +0 -120
- package/dist/cjs/zonos-banner_2.cjs.entry.js.map +0 -1
- package/dist/cjs/zonosStore-960e5542.js.map +0 -1
- package/dist/esm/localization-4a424f49.js.map +0 -1
- package/dist/esm/zonos-banner_2.entry.js +0 -115
- package/dist/esm/zonos-banner_2.entry.js.map +0 -1
- package/dist/esm/zonosStore-13a7b534.js.map +0 -1
- package/dist/esm-es5/cart-2f83e048.js +0 -2
- package/dist/esm-es5/localization-4a424f49.js +0 -2
- package/dist/esm-es5/localization-4a424f49.js.map +0 -1
- package/dist/esm-es5/zonos-banner_2.entry.js +0 -2
- package/dist/esm-es5/zonos-banner_2.entry.js.map +0 -1
- package/dist/esm-es5/zonosStore-13a7b534.js +0 -2
- package/dist/esm-es5/zonosStore-13a7b534.js.map +0 -1
- package/dist/zonos-elements/cart-9780fa28.system.js +0 -2
- package/dist/zonos-elements/localization-3c43290f.system.js +0 -2
- package/dist/zonos-elements/localization-3c43290f.system.js.map +0 -1
- package/dist/zonos-elements/localization-4a424f49.js.map +0 -1
- package/dist/zonos-elements/submitGtag-23ecdc20.system.js +0 -2
- package/dist/zonos-elements/zonos-banner_2.entry.js +0 -115
- package/dist/zonos-elements/zonos-banner_2.entry.js.map +0 -1
- package/dist/zonos-elements/zonos-banner_2.system.entry.js +0 -2
- package/dist/zonos-elements/zonos-banner_2.system.entry.js.map +0 -1
- package/dist/zonos-elements/zonosStore-13a7b534.js.map +0 -1
- package/dist/zonos-elements/zonosStore-77bcd7c0.system.js +0 -2
- package/dist/zonos-elements/zonosStore-77bcd7c0.system.js.map +0 -1
- /package/dist/esm-es5/{getBorderRadius-82fbaf25.js.map → getBorderRadius-e8ad5967.js.map} +0 -0
- /package/dist/esm-es5/{isDarkColor-b21326ae.js.map → isDarkColor-3bb345f4.js.map} +0 -0
- /package/dist/esm-es5/{submitGtag-fbdb454b.js.map → submitGtag-85914088.js.map} +0 -0
- /package/dist/zonos-elements/{getBorderRadius-4fbe49de.system.js.map → getBorderRadius-b59c3ada.system.js.map} +0 -0
- /package/dist/zonos-elements/{isDarkColor-dc2b7c8f.system.js.map → isDarkColor-231502d4.system.js.map} +0 -0
- /package/dist/zonos-elements/{submitGtag-23ecdc20.system.js.map → submitGtag-764af8c4.system.js.map} +0 -0
|
@@ -83,6 +83,12 @@ export declare const stringsHebrew: {
|
|
|
83
83
|
'Prepay duties and taxes at checkout': {
|
|
84
84
|
value: string;
|
|
85
85
|
};
|
|
86
|
+
'Restricted item': {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
'Restricted items found': {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
86
92
|
'See duty and tax thresholds': {
|
|
87
93
|
value: string;
|
|
88
94
|
};
|
|
@@ -131,6 +137,9 @@ export declare const stringsHebrew: {
|
|
|
131
137
|
'business days': {
|
|
132
138
|
value: string;
|
|
133
139
|
};
|
|
140
|
+
'click to learn more': {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
134
143
|
'duty free': {
|
|
135
144
|
value: string;
|
|
136
145
|
};
|
|
@@ -83,6 +83,12 @@ export declare const stringsIndonesian: {
|
|
|
83
83
|
'Prepay duties and taxes at checkout': {
|
|
84
84
|
value: string;
|
|
85
85
|
};
|
|
86
|
+
'Restricted item': {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
'Restricted items found': {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
86
92
|
'See duty and tax thresholds': {
|
|
87
93
|
value: string;
|
|
88
94
|
};
|
|
@@ -131,6 +137,9 @@ export declare const stringsIndonesian: {
|
|
|
131
137
|
'business days': {
|
|
132
138
|
value: string;
|
|
133
139
|
};
|
|
140
|
+
'click to learn more': {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
134
143
|
'duty free': {
|
|
135
144
|
value: string;
|
|
136
145
|
};
|
|
@@ -83,6 +83,12 @@ export declare const stringsItalian: {
|
|
|
83
83
|
'Prepay duties and taxes at checkout': {
|
|
84
84
|
value: string;
|
|
85
85
|
};
|
|
86
|
+
'Restricted item': {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
'Restricted items found': {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
86
92
|
'See duty and tax thresholds': {
|
|
87
93
|
value: string;
|
|
88
94
|
};
|
|
@@ -131,6 +137,9 @@ export declare const stringsItalian: {
|
|
|
131
137
|
'business days': {
|
|
132
138
|
value: string;
|
|
133
139
|
};
|
|
140
|
+
'click to learn more': {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
134
143
|
'duty free': {
|
|
135
144
|
value: string;
|
|
136
145
|
};
|
|
@@ -83,6 +83,12 @@ export declare const stringsJapanese: {
|
|
|
83
83
|
'Prepay duties and taxes at checkout': {
|
|
84
84
|
value: string;
|
|
85
85
|
};
|
|
86
|
+
'Restricted item': {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
'Restricted items found': {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
86
92
|
'See duty and tax thresholds': {
|
|
87
93
|
value: string;
|
|
88
94
|
};
|
|
@@ -131,6 +137,9 @@ export declare const stringsJapanese: {
|
|
|
131
137
|
'business days': {
|
|
132
138
|
value: string;
|
|
133
139
|
};
|
|
140
|
+
'click to learn more': {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
134
143
|
'duty free': {
|
|
135
144
|
value: string;
|
|
136
145
|
};
|
|
@@ -83,6 +83,12 @@ export declare const stringsKorean: {
|
|
|
83
83
|
'Prepay duties and taxes at checkout': {
|
|
84
84
|
value: string;
|
|
85
85
|
};
|
|
86
|
+
'Restricted item': {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
'Restricted items found': {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
86
92
|
'See duty and tax thresholds': {
|
|
87
93
|
value: string;
|
|
88
94
|
};
|
|
@@ -131,6 +137,9 @@ export declare const stringsKorean: {
|
|
|
131
137
|
'business days': {
|
|
132
138
|
value: string;
|
|
133
139
|
};
|
|
140
|
+
'click to learn more': {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
134
143
|
'duty free': {
|
|
135
144
|
value: string;
|
|
136
145
|
};
|
|
@@ -83,6 +83,12 @@ export declare const stringsNorwegian: {
|
|
|
83
83
|
'Prepay duties and taxes at checkout': {
|
|
84
84
|
value: string;
|
|
85
85
|
};
|
|
86
|
+
'Restricted item': {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
'Restricted items found': {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
86
92
|
'See duty and tax thresholds': {
|
|
87
93
|
value: string;
|
|
88
94
|
};
|
|
@@ -131,6 +137,9 @@ export declare const stringsNorwegian: {
|
|
|
131
137
|
'business days': {
|
|
132
138
|
value: string;
|
|
133
139
|
};
|
|
140
|
+
'click to learn more': {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
134
143
|
'duty free': {
|
|
135
144
|
value: string;
|
|
136
145
|
};
|
|
@@ -83,6 +83,12 @@ export declare const stringsPolish: {
|
|
|
83
83
|
'Prepay duties and taxes at checkout': {
|
|
84
84
|
value: string;
|
|
85
85
|
};
|
|
86
|
+
'Restricted item': {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
'Restricted items found': {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
86
92
|
'See duty and tax thresholds': {
|
|
87
93
|
value: string;
|
|
88
94
|
};
|
|
@@ -131,6 +137,9 @@ export declare const stringsPolish: {
|
|
|
131
137
|
'business days': {
|
|
132
138
|
value: string;
|
|
133
139
|
};
|
|
140
|
+
'click to learn more': {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
134
143
|
'duty free': {
|
|
135
144
|
value: string;
|
|
136
145
|
};
|
|
@@ -83,6 +83,12 @@ export declare const stringsPortuguese: {
|
|
|
83
83
|
'Prepay duties and taxes at checkout': {
|
|
84
84
|
value: string;
|
|
85
85
|
};
|
|
86
|
+
'Restricted item': {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
'Restricted items found': {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
86
92
|
'See duty and tax thresholds': {
|
|
87
93
|
value: string;
|
|
88
94
|
};
|
|
@@ -131,6 +137,9 @@ export declare const stringsPortuguese: {
|
|
|
131
137
|
'business days': {
|
|
132
138
|
value: string;
|
|
133
139
|
};
|
|
140
|
+
'click to learn more': {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
134
143
|
'duty free': {
|
|
135
144
|
value: string;
|
|
136
145
|
};
|
|
@@ -83,6 +83,12 @@ export declare const stringsRussian: {
|
|
|
83
83
|
'Prepay duties and taxes at checkout': {
|
|
84
84
|
value: string;
|
|
85
85
|
};
|
|
86
|
+
'Restricted item': {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
'Restricted items found': {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
86
92
|
'See duty and tax thresholds': {
|
|
87
93
|
value: string;
|
|
88
94
|
};
|
|
@@ -131,6 +137,9 @@ export declare const stringsRussian: {
|
|
|
131
137
|
'business days': {
|
|
132
138
|
value: string;
|
|
133
139
|
};
|
|
140
|
+
'click to learn more': {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
134
143
|
'duty free': {
|
|
135
144
|
value: string;
|
|
136
145
|
};
|
|
@@ -83,6 +83,12 @@ export declare const stringsSpanish: {
|
|
|
83
83
|
'Prepay duties and taxes at checkout': {
|
|
84
84
|
value: string;
|
|
85
85
|
};
|
|
86
|
+
'Restricted item': {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
'Restricted items found': {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
86
92
|
'See duty and tax thresholds': {
|
|
87
93
|
value: string;
|
|
88
94
|
};
|
|
@@ -131,6 +137,9 @@ export declare const stringsSpanish: {
|
|
|
131
137
|
'business days': {
|
|
132
138
|
value: string;
|
|
133
139
|
};
|
|
140
|
+
'click to learn more': {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
134
143
|
'duty free': {
|
|
135
144
|
value: string;
|
|
136
145
|
};
|
|
@@ -83,6 +83,12 @@ export declare const stringsSwedish: {
|
|
|
83
83
|
'Prepay duties and taxes at checkout': {
|
|
84
84
|
value: string;
|
|
85
85
|
};
|
|
86
|
+
'Restricted item': {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
'Restricted items found': {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
86
92
|
'See duty and tax thresholds': {
|
|
87
93
|
value: string;
|
|
88
94
|
};
|
|
@@ -131,6 +137,9 @@ export declare const stringsSwedish: {
|
|
|
131
137
|
'business days': {
|
|
132
138
|
value: string;
|
|
133
139
|
};
|
|
140
|
+
'click to learn more': {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
134
143
|
'duty free': {
|
|
135
144
|
value: string;
|
|
136
145
|
};
|
|
@@ -83,6 +83,12 @@ export declare const stringsTurkish: {
|
|
|
83
83
|
'Prepay duties and taxes at checkout': {
|
|
84
84
|
value: string;
|
|
85
85
|
};
|
|
86
|
+
'Restricted item': {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
'Restricted items found': {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
86
92
|
'See duty and tax thresholds': {
|
|
87
93
|
value: string;
|
|
88
94
|
};
|
|
@@ -131,6 +137,9 @@ export declare const stringsTurkish: {
|
|
|
131
137
|
'business days': {
|
|
132
138
|
value: string;
|
|
133
139
|
};
|
|
140
|
+
'click to learn more': {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
134
143
|
'duty free': {
|
|
135
144
|
value: string;
|
|
136
145
|
};
|
|
@@ -83,6 +83,12 @@ export declare const stringsVietnamese: {
|
|
|
83
83
|
'Prepay duties and taxes at checkout': {
|
|
84
84
|
value: string;
|
|
85
85
|
};
|
|
86
|
+
'Restricted item': {
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
'Restricted items found': {
|
|
90
|
+
value: string;
|
|
91
|
+
};
|
|
86
92
|
'See duty and tax thresholds': {
|
|
87
93
|
value: string;
|
|
88
94
|
};
|
|
@@ -131,6 +137,9 @@ export declare const stringsVietnamese: {
|
|
|
131
137
|
'business days': {
|
|
132
138
|
value: string;
|
|
133
139
|
};
|
|
140
|
+
'click to learn more': {
|
|
141
|
+
value: string;
|
|
142
|
+
};
|
|
134
143
|
'duty free': {
|
|
135
144
|
value: string;
|
|
136
145
|
};
|
|
@@ -11,7 +11,7 @@ export type AppearanceConfig = {
|
|
|
11
11
|
theme: ElementsUiTheme;
|
|
12
12
|
zonosAttribution: ZonosAttribution | null;
|
|
13
13
|
};
|
|
14
|
-
type Page = 'home' | 'productList' | 'productDetail' | 'cart';
|
|
14
|
+
export type Page = 'home' | 'productList' | 'productDetail' | 'cart';
|
|
15
15
|
export type ZonosConfig = {
|
|
16
16
|
appearance: AppearanceConfig;
|
|
17
17
|
checkoutSettings: CheckoutConfig;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { CountryCode } from "../../../types/generated/graphql.customer.types";
|
|
2
|
+
type Item = {
|
|
3
|
+
description: string;
|
|
4
|
+
name: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const checkItemRestrictions: ({ items, shipFrom, shipTo, }: {
|
|
7
|
+
items: Item[];
|
|
8
|
+
shipFrom: CountryCode;
|
|
9
|
+
shipTo: CountryCode;
|
|
10
|
+
}) => Promise<{
|
|
11
|
+
action: import("src/types/generated/graphql.customer.types").ItemRestrictionAction | null;
|
|
12
|
+
id: string;
|
|
13
|
+
itemDescription: string | null;
|
|
14
|
+
itemRestrictions: ({
|
|
15
|
+
hsCode: string;
|
|
16
|
+
id: string;
|
|
17
|
+
note: string;
|
|
18
|
+
sources: (string | null)[] | null;
|
|
19
|
+
type: import("src/types/generated/graphql.customer.types").ItemRestrictionType;
|
|
20
|
+
} | null)[] | null;
|
|
21
|
+
}[]>;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Product } from "../../../types/hello/Product";
|
|
2
|
+
export declare const detectItemRestrictions: (newProducts: Product[]) => Promise<{
|
|
3
|
+
name: string;
|
|
4
|
+
action: import("../../../types/generated/graphql.customer.types").ItemRestrictionAction | null;
|
|
5
|
+
id: string;
|
|
6
|
+
itemDescription: string | null;
|
|
7
|
+
itemRestrictions: ({
|
|
8
|
+
hsCode: string;
|
|
9
|
+
id: string;
|
|
10
|
+
note: string;
|
|
11
|
+
sources: (string | null)[] | null;
|
|
12
|
+
type: import("../../../types/generated/graphql.customer.types").ItemRestrictionType;
|
|
13
|
+
} | null)[] | null;
|
|
14
|
+
}[]>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { type Page } from "../../store/zonosStore";
|
|
2
|
+
export declare const getCurrentHelloLocalePage: () => Page | '';
|
|
@@ -14,6 +14,7 @@ import { ContactOption as ContactOption1 } from "./components/store/checkout/str
|
|
|
14
14
|
import { AppearanceConfig as AppearanceConfig1, Color as Color1, ElementsUiStyle as ElementsUiStyle1, ElementsUiTheme as ElementsUiTheme1, HelloMobileLocation as HelloMobileLocation1 } from "./types/index";
|
|
15
15
|
import { LoadZonosParamsConfig } from "./scripts/zonos";
|
|
16
16
|
import { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
|
|
17
|
+
import { RestrictedItem } from "./types/hello/RestrictedItem";
|
|
17
18
|
import { AppearanceConfig as AppearanceConfig2 } from "./components.d";
|
|
18
19
|
import { ShippingRichRadioItem } from "./components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio";
|
|
19
20
|
import { SpinnerColor } from "./components/common/zonos-spinner/zonos-spinner";
|
|
@@ -28,6 +29,7 @@ export { ContactOption as ContactOption1 } from "./components/store/checkout/str
|
|
|
28
29
|
export { AppearanceConfig as AppearanceConfig1, Color as Color1, ElementsUiStyle as ElementsUiStyle1, ElementsUiTheme as ElementsUiTheme1, HelloMobileLocation as HelloMobileLocation1 } from "./types/index";
|
|
29
30
|
export { LoadZonosParamsConfig } from "./scripts/zonos";
|
|
30
31
|
export { NotificationInit } from "./components/common/zonos-notification/zonos-notification";
|
|
32
|
+
export { RestrictedItem } from "./types/hello/RestrictedItem";
|
|
31
33
|
export { AppearanceConfig as AppearanceConfig2 } from "./components.d";
|
|
32
34
|
export { ShippingRichRadioItem } from "./components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio";
|
|
33
35
|
export { SpinnerColor } from "./components/common/zonos-spinner/zonos-spinner";
|
|
@@ -495,6 +497,11 @@ export namespace Components {
|
|
|
495
497
|
* @default false
|
|
496
498
|
*/
|
|
497
499
|
"mobileLocationOverride"?: HelloMobileLocation;
|
|
500
|
+
/**
|
|
501
|
+
* Item restrictions array if any
|
|
502
|
+
* @default []
|
|
503
|
+
*/
|
|
504
|
+
"restrictedItems": RestrictedItem[];
|
|
498
505
|
/**
|
|
499
506
|
* The function to set the open state
|
|
500
507
|
* @default () => {}
|
|
@@ -1358,6 +1365,11 @@ declare namespace LocalJSX {
|
|
|
1358
1365
|
* Close dialog button click
|
|
1359
1366
|
*/
|
|
1360
1367
|
"onCloseDialog"?: (event: ZonosHelloDialogCustomEvent<void>) => void;
|
|
1368
|
+
/**
|
|
1369
|
+
* Item restrictions array if any
|
|
1370
|
+
* @default []
|
|
1371
|
+
*/
|
|
1372
|
+
"restrictedItems"?: RestrictedItem[];
|
|
1361
1373
|
/**
|
|
1362
1374
|
* The function to set the open state
|
|
1363
1375
|
* @default () => {}
|
|
@@ -2,22 +2,29 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const isClientSide: boolean;
|
|
3
3
|
export declare const inProdEnvironment: boolean;
|
|
4
4
|
export declare const inTestEnvironment: boolean;
|
|
5
|
+
export declare const inStorybook: boolean;
|
|
5
6
|
export declare const inVercel: boolean;
|
|
6
7
|
declare const envClientSchema: z.ZodObject<{
|
|
7
8
|
NEXT_PUBLIC_FLAG_URL: z.ZodString;
|
|
8
9
|
NEXT_PUBLIC_ZONOS_API_KEY: z.ZodString;
|
|
9
10
|
NEXT_PUBLIC_ZONOS_CDN_URL: z.ZodString;
|
|
11
|
+
NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: z.ZodString;
|
|
10
12
|
NEXT_PUBLIC_ZONOS_ROUTE_URL: z.ZodString;
|
|
13
|
+
NEXT_PUBLIC_ZONOS_UNPKG_CDN_URL: z.ZodString;
|
|
11
14
|
}, "strip", z.ZodTypeAny, {
|
|
12
15
|
NEXT_PUBLIC_FLAG_URL: string;
|
|
13
16
|
NEXT_PUBLIC_ZONOS_API_KEY: string;
|
|
14
17
|
NEXT_PUBLIC_ZONOS_CDN_URL: string;
|
|
18
|
+
NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: string;
|
|
15
19
|
NEXT_PUBLIC_ZONOS_ROUTE_URL: string;
|
|
20
|
+
NEXT_PUBLIC_ZONOS_UNPKG_CDN_URL: string;
|
|
16
21
|
}, {
|
|
17
22
|
NEXT_PUBLIC_FLAG_URL: string;
|
|
18
23
|
NEXT_PUBLIC_ZONOS_API_KEY: string;
|
|
19
24
|
NEXT_PUBLIC_ZONOS_CDN_URL: string;
|
|
25
|
+
NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: string;
|
|
20
26
|
NEXT_PUBLIC_ZONOS_ROUTE_URL: string;
|
|
27
|
+
NEXT_PUBLIC_ZONOS_UNPKG_CDN_URL: string;
|
|
21
28
|
}>;
|
|
22
29
|
export interface Env extends z.infer<typeof envClientSchema> {
|
|
23
30
|
}
|
|
@@ -25,7 +32,9 @@ export declare const env: {
|
|
|
25
32
|
NEXT_PUBLIC_FLAG_URL: string;
|
|
26
33
|
NEXT_PUBLIC_ZONOS_API_KEY: string;
|
|
27
34
|
NEXT_PUBLIC_ZONOS_CDN_URL: string;
|
|
35
|
+
NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: string;
|
|
28
36
|
NEXT_PUBLIC_ZONOS_ROUTE_URL: string;
|
|
37
|
+
NEXT_PUBLIC_ZONOS_UNPKG_CDN_URL: string;
|
|
29
38
|
};
|
|
30
39
|
type Keys = keyof typeof env;
|
|
31
40
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type LoadStripe } from "./stripe";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const zonosLoadStripe: LoadStripe;
|
|
@@ -4,9 +4,9 @@ export interface LoadParams {
|
|
|
4
4
|
advancedFraudSignals: boolean;
|
|
5
5
|
}
|
|
6
6
|
export type LoadStripe = (...args: Parameters<StripeConstructor>) => Promise<Stripe | null>;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const zonosStripeFindScript: () => HTMLScriptElement | null;
|
|
8
8
|
export declare const injectScript: (params: null | LoadParams) => HTMLScriptElement | null;
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const zonosStripeLoadScript: (params: null | LoadParams) => Promise<StripeConstructor | null>;
|
|
10
10
|
export declare const initStripe: (maybeStripe: StripeConstructor | null, args: [publishableKey: string, options?: import("@stripe/stripe-js").StripeConstructorOptions | undefined], startTime: number) => Stripe | null;
|
|
11
11
|
export declare const validateLoadParams: (params: {
|
|
12
12
|
advancedFraudSignals: boolean;
|
|
@@ -36,7 +36,9 @@ export declare abstract class Zonos {
|
|
|
36
36
|
static displayCurrency: () => void;
|
|
37
37
|
static showNotification: (notification: NotificationInit) => void;
|
|
38
38
|
private static injectController;
|
|
39
|
+
private static injectScript;
|
|
39
40
|
private static injectZonosCdn;
|
|
41
|
+
private static injectStylesheet;
|
|
40
42
|
private static injectZonosCss;
|
|
41
43
|
private static injectFonts;
|
|
42
44
|
}
|
|
@@ -123,6 +123,11 @@ export declare const carrierAccountApiUsage: {
|
|
|
123
123
|
readonly Rating: "RATING";
|
|
124
124
|
};
|
|
125
125
|
export type CarrierAccountApiUsage = (typeof carrierAccountApiUsage)[keyof typeof carrierAccountApiUsage];
|
|
126
|
+
export declare const carrierAccountRateType: {
|
|
127
|
+
readonly Negotiated: "NEGOTIATED";
|
|
128
|
+
readonly Retail: "RETAIL";
|
|
129
|
+
};
|
|
130
|
+
export type CarrierAccountRateType = (typeof carrierAccountRateType)[keyof typeof carrierAccountRateType];
|
|
126
131
|
export declare const carrierCode: {
|
|
127
132
|
readonly Apc: "APC";
|
|
128
133
|
readonly Dhl: "DHL";
|
|
@@ -1010,6 +1015,11 @@ export declare const dimensionalUnitCode: {
|
|
|
1010
1015
|
readonly Yard: "YARD";
|
|
1011
1016
|
};
|
|
1012
1017
|
export type DimensionalUnitCode = (typeof dimensionalUnitCode)[keyof typeof dimensionalUnitCode];
|
|
1018
|
+
export declare const displayCurrency: {
|
|
1019
|
+
readonly DestinationCountry: "DESTINATION_COUNTRY";
|
|
1020
|
+
readonly StoreNative: "STORE_NATIVE";
|
|
1021
|
+
};
|
|
1022
|
+
export type DisplayCurrency = (typeof displayCurrency)[keyof typeof displayCurrency];
|
|
1013
1023
|
export declare const documentFilingType: {
|
|
1014
1024
|
readonly Electronic: "ELECTRONIC";
|
|
1015
1025
|
readonly HardCopy: "HARD_COPY";
|
|
@@ -1174,6 +1184,30 @@ export declare const imageSlot: {
|
|
|
1174
1184
|
readonly Image_5: "IMAGE_5";
|
|
1175
1185
|
};
|
|
1176
1186
|
export type ImageSlot = (typeof imageSlot)[keyof typeof imageSlot];
|
|
1187
|
+
export declare const inclusivePriceHistoryCsvJobStatus: {
|
|
1188
|
+
readonly Error: "ERROR";
|
|
1189
|
+
readonly Processed: "PROCESSED";
|
|
1190
|
+
readonly ReadyForProcessing: "READY_FOR_PROCESSING";
|
|
1191
|
+
readonly ReadyForUpload: "READY_FOR_UPLOAD";
|
|
1192
|
+
readonly Uploading: "UPLOADING";
|
|
1193
|
+
};
|
|
1194
|
+
export type InclusivePriceHistoryCsvJobStatus = (typeof inclusivePriceHistoryCsvJobStatus)[keyof typeof inclusivePriceHistoryCsvJobStatus];
|
|
1195
|
+
export declare const inclusivePriceHistorySource: {
|
|
1196
|
+
readonly Platform: "PLATFORM";
|
|
1197
|
+
readonly UserInput: "USER_INPUT";
|
|
1198
|
+
readonly Zonos: "ZONOS";
|
|
1199
|
+
};
|
|
1200
|
+
export type InclusivePriceHistorySource = (typeof inclusivePriceHistorySource)[keyof typeof inclusivePriceHistorySource];
|
|
1201
|
+
export declare const inclusivePriceSettingAdjustmentStatus: {
|
|
1202
|
+
readonly Excluded: "EXCLUDED";
|
|
1203
|
+
readonly Included: "INCLUDED";
|
|
1204
|
+
};
|
|
1205
|
+
export type InclusivePriceSettingAdjustmentStatus = (typeof inclusivePriceSettingAdjustmentStatus)[keyof typeof inclusivePriceSettingAdjustmentStatus];
|
|
1206
|
+
export declare const inclusivePriceSettingStatus: {
|
|
1207
|
+
readonly Disabled: "DISABLED";
|
|
1208
|
+
readonly Enabled: "ENABLED";
|
|
1209
|
+
};
|
|
1210
|
+
export type InclusivePriceSettingStatus = (typeof inclusivePriceSettingStatus)[keyof typeof inclusivePriceSettingStatus];
|
|
1177
1211
|
export declare const incotermCode: {
|
|
1178
1212
|
readonly Cif: "CIF";
|
|
1179
1213
|
readonly Custom: "CUSTOM";
|
|
@@ -2000,6 +2034,32 @@ export type ShipmentRatingFragment = {
|
|
|
2000
2034
|
maxTransitAt: string | null;
|
|
2001
2035
|
minTransitAt: string | null;
|
|
2002
2036
|
};
|
|
2037
|
+
export type CheckItemRestrictionsMutation = {
|
|
2038
|
+
itemRestrictionApply: {
|
|
2039
|
+
id: string;
|
|
2040
|
+
items: Array<{
|
|
2041
|
+
action: ItemRestrictionAction | null;
|
|
2042
|
+
id: string;
|
|
2043
|
+
itemDescription: string | null;
|
|
2044
|
+
itemRestrictions: Array<{
|
|
2045
|
+
hsCode: string;
|
|
2046
|
+
id: string;
|
|
2047
|
+
note: string;
|
|
2048
|
+
sources: Array<string | null> | null;
|
|
2049
|
+
type: ItemRestrictionType;
|
|
2050
|
+
} | null> | null;
|
|
2051
|
+
} | null>;
|
|
2052
|
+
};
|
|
2053
|
+
};
|
|
2054
|
+
export type BulkClassifyMutation = {
|
|
2055
|
+
classificationsCalculate: Array<{
|
|
2056
|
+
description: string | null;
|
|
2057
|
+
hsCode: {
|
|
2058
|
+
code: string;
|
|
2059
|
+
} | null;
|
|
2060
|
+
name: string;
|
|
2061
|
+
}>;
|
|
2062
|
+
};
|
|
2003
2063
|
export type CheckoutSessionUpdateMutation = {
|
|
2004
2064
|
checkoutSessionUpdate: {
|
|
2005
2065
|
clientSecret: string;
|
|
@@ -2269,8 +2329,12 @@ export type ZonosSettingsQuery = {
|
|
|
2269
2329
|
organization: string;
|
|
2270
2330
|
peekMessageBehavior: HelloPeekMessageBehavior;
|
|
2271
2331
|
peekMessageDelay: number;
|
|
2272
|
-
|
|
2332
|
+
productAddToCartElementSelector: string | null;
|
|
2273
2333
|
productListUrlPattern: string | null;
|
|
2334
|
+
productDetailUrlPattern: string | null;
|
|
2335
|
+
productDescriptionElementSelector: string | null;
|
|
2336
|
+
productPriceElementSelector: string | null;
|
|
2337
|
+
productTitleElementSelector: string | null;
|
|
2274
2338
|
restrictionBehavior: HelloRestrictionBehavior;
|
|
2275
2339
|
updatedAt: string;
|
|
2276
2340
|
updatedBy: string;
|
|
@@ -2346,8 +2410,12 @@ export type HelloSettingFragment = {
|
|
|
2346
2410
|
organization: string;
|
|
2347
2411
|
peekMessageBehavior: HelloPeekMessageBehavior;
|
|
2348
2412
|
peekMessageDelay: number;
|
|
2413
|
+
productAddToCartElementSelector: string | null;
|
|
2414
|
+
productDescriptionElementSelector: string | null;
|
|
2349
2415
|
productDetailUrlPattern: string | null;
|
|
2350
2416
|
productListUrlPattern: string | null;
|
|
2417
|
+
productPriceElementSelector: string | null;
|
|
2418
|
+
productTitleElementSelector: string | null;
|
|
2351
2419
|
restrictionBehavior: HelloRestrictionBehavior;
|
|
2352
2420
|
updatedAt: string;
|
|
2353
2421
|
updatedBy: string;
|
|
@@ -2375,9 +2443,15 @@ export type OnlineStoreSettingsQuery = {
|
|
|
2375
2443
|
};
|
|
2376
2444
|
export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string) => Promise<T>;
|
|
2377
2445
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
2446
|
+
BulkClassify(variables?: {
|
|
2447
|
+
[x: string]: never;
|
|
2448
|
+
} | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<BulkClassifyMutation>;
|
|
2378
2449
|
CalculateLandedCost(variables?: {
|
|
2379
2450
|
[x: string]: never;
|
|
2380
2451
|
} | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<CalculateLandedCostMutation>;
|
|
2452
|
+
CheckItemRestrictions(variables?: {
|
|
2453
|
+
[x: string]: never;
|
|
2454
|
+
} | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckItemRestrictionsMutation>;
|
|
2381
2455
|
CheckoutSessionCreate(variables?: {
|
|
2382
2456
|
[x: string]: never;
|
|
2383
2457
|
} | undefined, requestHeaders?: GraphQLClientRequestHeaders): Promise<CheckoutSessionCreateMutation>;
|