@zonos/elements 1.3.141 → 1.3.143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{CheckoutConfig-165db6b6.js → CheckoutConfig-eaaf62a1.js} +1 -1
- package/dist/cjs/TaxId-4632639d.js +29 -0
- package/dist/cjs/{cart-e1b59d03.js → cart-6ac8dc06.js} +258 -8
- package/dist/cjs/{getBorderRadius-f72d8edf.js → getBorderRadius-f97c99ad.js} +1 -1
- package/dist/cjs/{handleFetch-4a90f091.js → handleFetch-864d3c53.js} +5 -5
- package/dist/cjs/{index-d56e0a8b.js → index-b678ce0c.js} +42 -8
- package/dist/cjs/index.cjs.js +12 -9
- package/dist/cjs/{isDarkColor-dd6d723b.js → isDarkColor-434d71dd.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{paypal-86cc51e4.js → paypal-ea8b4ca0.js} +5 -5
- package/dist/cjs/{zonos-address_7.cjs.entry.js → zonos-address_8.cjs.entry.js} +64 -9
- package/dist/cjs/zonos-badge.cjs.entry.js +2 -2
- package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
- package/dist/cjs/zonos-button_3.cjs.entry.js +4 -4
- package/dist/cjs/zonos-card.cjs.entry.js +3 -3
- package/dist/cjs/zonos-cart-items_13.cjs.entry.js +33 -12
- package/dist/cjs/zonos-checkout.cjs.entry.js +9 -9
- package/dist/cjs/zonos-collapse.cjs.entry.js +2 -2
- package/dist/cjs/zonos-component.cjs.entry.js +2 -2
- package/dist/cjs/zonos-controller.cjs.entry.js +7 -7
- package/dist/cjs/zonos-country-flag.cjs.entry.js +6 -6
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +10 -10
- package/dist/cjs/zonos-elements.cjs.js +3 -3
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +10 -10
- package/dist/cjs/zonos-hello.cjs.entry.js +6 -6
- package/dist/cjs/zonos-input.cjs.entry.js +3 -3
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +6 -6
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
- package/dist/cjs/zonos-notification_3.cjs.entry.js +9 -9
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
- package/dist/cjs/zonos-text.cjs.entry.js +2 -2
- package/dist/cjs/zonos-toggle.cjs.entry.js +4 -4
- package/dist/cjs/zonos-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/zonos-v-stack.cjs.entry.js +4 -4
- package/dist/cjs/{zonosStore-293bb3ba.js → zonosStore-8971eb65.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-currency-toggle/zonos-currency-toggle.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +3 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +22 -1
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +1 -1
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.css +162 -0
- package/dist/collection/components/common/zonos-stripe-input/zonos-stripe-input.js +220 -0
- package/dist/collection/components/common/zonos-toggle/zonos-toggle.js +2 -2
- 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/common/zonos-virtual-scroll/zonos-virtual-scroll.js +2 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- 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 +4 -4
- package/dist/collection/components/main/zonos-controller.js +1 -1
- package/dist/collection/components/paypal/zonos-paypal-payment.js +1 -1
- package/dist/collection/components/store/checkout/paypal.js +1 -1
- package/dist/collection/components/store/checkout/stripe.js +9 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
- package/dist/collection/components/store/translationStore/strings.base.js +12 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
- package/dist/collection/components/store/translationStore/strings.french.js +12 -0
- package/dist/collection/components/store/translationStore/strings.german.js +12 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +2 -2
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/api/getCountries.js +1 -1
- package/dist/collection/components/utils/api/getLocalization.js +1 -1
- package/dist/collection/components/utils/api/prepCalculateLandedCost.js +2 -0
- package/dist/collection/components/utils/handleFetch.js +2 -2
- package/dist/collection/components/utils/isValidSelector.js +1 -1
- package/dist/collection/components/utils/jsonParse.js +1 -1
- package/dist/collection/components/utils/logging/log.js +1 -1
- package/dist/collection/components/utils/logging/sendErrorLog.js +1 -1
- package/dist/collection/environment.js +1 -1
- package/dist/collection/types/checkout/TaxId.js +24 -0
- package/dist/collection/types/generated/graphql.internal.types.js +52 -0
- package/dist/collection/types/index.js +1 -0
- package/dist/collection/types/stripe/Apperance.js +0 -58
- package/dist/esm/{CheckoutConfig-930107d4.js → CheckoutConfig-262008fe.js} +1 -1
- package/dist/esm/TaxId-915ef042.js +26 -0
- package/dist/esm/{cart-709f053f.js → cart-acba54d0.js} +258 -8
- package/dist/esm/{getBorderRadius-bdd709e7.js → getBorderRadius-4aca63d4.js} +1 -1
- package/dist/esm/{handleFetch-22cb914b.js → handleFetch-badf4543.js} +5 -5
- package/dist/esm/{index-86b8247e.js → index-986b5ff2.js} +42 -8
- package/dist/esm/index.js +11 -10
- package/dist/esm/{isDarkColor-c6924924.js → isDarkColor-4915739f.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{paypal-77a60c44.js → paypal-3401f757.js} +5 -5
- package/dist/esm/{zonos-address_7.entry.js → zonos-address_8.entry.js} +64 -10
- package/dist/esm/zonos-badge.entry.js +2 -2
- package/dist/esm/zonos-banner.entry.js +2 -2
- package/dist/esm/zonos-button_3.entry.js +4 -4
- package/dist/esm/zonos-card.entry.js +3 -3
- package/dist/esm/zonos-cart-items_13.entry.js +33 -12
- package/dist/esm/zonos-checkout.entry.js +9 -9
- package/dist/esm/zonos-collapse.entry.js +2 -2
- package/dist/esm/zonos-component.entry.js +2 -2
- package/dist/esm/zonos-controller.entry.js +7 -7
- package/dist/esm/zonos-country-flag.entry.js +6 -6
- package/dist/esm/zonos-country-select_4.entry.js +10 -10
- package/dist/esm/zonos-elements.js +4 -4
- package/dist/esm/zonos-hello-dialog.entry.js +10 -10
- package/dist/esm/zonos-hello.entry.js +6 -6
- package/dist/esm/zonos-input.entry.js +3 -3
- package/dist/esm/zonos-language-select_2.entry.js +6 -6
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-notification_3.entry.js +9 -9
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/esm/zonos-text.entry.js +2 -2
- package/dist/esm/zonos-toggle.entry.js +4 -4
- package/dist/esm/zonos-tooltip.entry.js +3 -3
- package/dist/esm/zonos-v-stack.entry.js +4 -4
- package/dist/esm/{zonosStore-c493c4fe.js → zonosStore-708637e7.js} +1 -1
- package/dist/esm-es5/{CheckoutConfig-930107d4.js → CheckoutConfig-262008fe.js} +1 -1
- package/dist/esm-es5/TaxId-915ef042.js +1 -0
- package/dist/esm-es5/cart-acba54d0.js +1 -0
- package/dist/esm-es5/{getBorderRadius-bdd709e7.js → getBorderRadius-4aca63d4.js} +1 -1
- package/dist/esm-es5/index-986b5ff2.js +2 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{isDarkColor-c6924924.js → isDarkColor-4915739f.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{paypal-77a60c44.js → paypal-3401f757.js} +1 -1
- package/dist/esm-es5/{zonos-address_7.entry.js → zonos-address_8.entry.js} +1 -1
- package/dist/esm-es5/zonos-badge.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-collapse.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/zonos-toggle.entry.js +1 -1
- package/dist/esm-es5/zonos-tooltip.entry.js +1 -1
- package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-c493c4fe.js → zonosStore-708637e7.js} +1 -1
- package/dist/scripts/index.d.ts +113 -9
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +5 -0
- package/dist/types/components/common/zonos-stripe-input/zonos-stripe-input.d.ts +42 -0
- package/dist/types/components/store/checkout/cart.d.ts +2 -3
- package/dist/types/components/store/checkout/stripe.d.ts +10 -2
- package/dist/types/components/store/hello/localization.d.ts +0 -1
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/store/zonosStore.d.ts +1 -1
- package/dist/types/components/utils/api/checkItemRestrictions.d.ts +3 -3
- package/dist/types/components/utils/api/getLocaleMessages.d.ts +3 -3
- package/dist/types/components/utils/changeDeepProperty.d.ts +2 -2
- package/dist/types/components/utils/changeDeepPropertyAtIndex.d.ts +2 -1
- package/dist/types/components/utils/createCustomEvent.d.ts +3 -3
- package/dist/types/components/utils/hello/detectItemRestrictions.d.ts +3 -3
- package/dist/types/components/utils/hello/getCurrentHelloLocalePage.d.ts +1 -1
- package/dist/types/components/utils/hello/initHello.d.ts +2 -2
- package/dist/types/components/utils/resetToSelectedTab.d.ts +1 -1
- package/dist/types/components.d.ts +102 -2
- package/dist/types/environment.d.ts +2 -2
- package/dist/types/scripts/_stripe.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/dist/types/styles/stripe/defaultVariable.d.ts +1 -1
- package/dist/types/types/checkout/TaxId.d.ts +20 -0
- package/dist/types/types/checkout/api/CalculateLandedCost.d.ts +8 -0
- package/dist/types/types/generated/graphql.frontend.types.d.ts +1 -1
- package/dist/types/types/generated/graphql.frontend.types.ts +1 -1
- package/dist/types/types/generated/graphql.internal.types.d.ts +71 -109
- package/dist/types/types/generated/graphql.internal.types.ts +91 -98
- package/dist/types/types/global.d.ts +0 -5
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/stripe/Apperance.d.ts +1 -2
- package/dist/types/utils/formattedUrl.d.ts +1 -1
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-e205ef1c.system.entry.js → p-0197a9bf.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-b9efc660.entry.js → p-0ab29580.entry.js} +1 -1
- package/dist/zonos-elements/{p-6b0aa1bb.system.js → p-0b5c9f89.system.js} +1 -1
- package/dist/zonos-elements/{p-87ed2e17.system.entry.js → p-0b5f4ca7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-289ded20.system.entry.js → p-0db28495.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-35b8dcde.entry.js → p-1198c874.entry.js} +1 -1
- package/dist/zonos-elements/p-12a6b7bd.system.js +1 -0
- package/dist/zonos-elements/{p-b7307c61.js → p-1460f917.js} +1 -1
- package/dist/zonos-elements/{p-9589bd08.entry.js → p-1e3ea4ae.entry.js} +1 -1
- package/dist/zonos-elements/p-21b538ea.system.js +1 -0
- package/dist/zonos-elements/{p-0fc96872.system.entry.js → p-2761ad55.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-bc8b22ad.entry.js → p-28295342.entry.js} +1 -1
- package/dist/zonos-elements/{p-22d69480.system.entry.js → p-2ab5e362.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f07c01c5.system.entry.js → p-2cfc00b8.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f8ca3e71.entry.js → p-302f5d25.entry.js} +1 -1
- package/dist/zonos-elements/{p-4319600a.system.entry.js → p-33e1d25e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-10efff62.system.js → p-36dfc7ac.system.js} +1 -1
- package/dist/zonos-elements/{p-7a60deef.system.entry.js → p-381874b0.system.entry.js} +1 -1
- package/dist/zonos-elements/p-386325ae.system.js +1 -0
- package/dist/zonos-elements/{p-1c4ff7b2.system.entry.js → p-38d0c496.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-00d4bff1.entry.js → p-39cac2c1.entry.js} +1 -1
- package/dist/zonos-elements/{p-5c32689e.entry.js → p-3f991022.entry.js} +1 -1
- package/dist/zonos-elements/{p-9b59704a.entry.js → p-44dd4269.entry.js} +1 -1
- package/dist/zonos-elements/{p-edc16f69.js → p-4b685549.js} +1 -1
- package/dist/zonos-elements/{p-ad1d6ea2.entry.js → p-4c7f0417.entry.js} +1 -1
- package/dist/zonos-elements/{p-d633ced9.entry.js → p-54058b57.entry.js} +1 -1
- package/dist/zonos-elements/{p-ad4bc6a2.entry.js → p-545c05ce.entry.js} +1 -1
- package/dist/zonos-elements/p-5bd927f2.js +1 -0
- package/dist/zonos-elements/{p-01ad5be8.system.entry.js → p-654fc23d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5b90dd6d.entry.js → p-675f60b4.entry.js} +1 -1
- package/dist/zonos-elements/p-680d3694.js +2 -0
- package/dist/zonos-elements/{p-461624ce.system.entry.js → p-6a8862a6.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-10d6fe23.js → p-766dd01f.js} +1 -1
- package/dist/zonos-elements/{p-3dd503fd.system.entry.js → p-78e4f877.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7ef573f0.entry.js → p-7c5c0a85.entry.js} +1 -1
- package/dist/zonos-elements/{p-bb418544.system.js → p-7c643376.system.js} +1 -1
- package/dist/zonos-elements/{p-ffe4a999.system.entry.js → p-8ac02349.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-25c7e4fa.system.entry.js → p-8e30228d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-be2feba6.entry.js → p-8f26cc7e.entry.js} +1 -1
- package/dist/zonos-elements/{p-fce202ab.entry.js → p-9306a835.entry.js} +1 -1
- package/dist/zonos-elements/{p-04a6a167.entry.js → p-9d7a860c.entry.js} +1 -1
- package/dist/zonos-elements/p-9da2d116.entry.js +1 -0
- package/dist/zonos-elements/{p-cd1fd09e.entry.js → p-9dec2b74.entry.js} +1 -1
- package/dist/zonos-elements/{p-cf72603f.system.entry.js → p-9e84f647.system.entry.js} +1 -1
- package/dist/zonos-elements/p-a08ea336.js +1 -0
- package/dist/zonos-elements/{p-ee1e1d94.system.entry.js → p-a13d5957.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-dc09df19.system.entry.js → p-a2bce31d.system.entry.js} +1 -1
- package/dist/zonos-elements/p-a4f045d4.js +17 -0
- package/dist/zonos-elements/{p-f2867195.entry.js → p-ab6973a5.entry.js} +1 -1
- package/dist/zonos-elements/{p-d10ffd69.js → p-b0174a8f.js} +1 -1
- package/dist/zonos-elements/{p-8368a79e.entry.js → p-b2ea7adb.entry.js} +1 -1
- package/dist/zonos-elements/{p-fd061229.system.js → p-b50667b6.system.js} +1 -1
- package/dist/zonos-elements/{p-46a5ec52.system.js → p-c0164a3c.system.js} +1 -1
- package/dist/zonos-elements/p-c437d76c.system.js +1 -0
- package/dist/zonos-elements/{p-64a04391.system.entry.js → p-d1afd314.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7acf6802.entry.js → p-d3867033.entry.js} +1 -1
- package/dist/zonos-elements/{p-896ab1ed.system.entry.js → p-d5a3851d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0c027d2e.entry.js → p-d9511c4a.entry.js} +1 -1
- package/dist/zonos-elements/{p-010f5797.system.entry.js → p-dba6147b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-896d62a4.system.entry.js → p-df9c0bfa.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0aee2e4c.system.entry.js → p-e6554a6f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c78dd680.system.js → p-e9964a5a.system.js} +1 -1
- package/dist/zonos-elements/{p-b832ec52.entry.js → p-f2d07062.entry.js} +1 -1
- package/dist/zonos-elements/{p-8f9affb3.system.entry.js → p-f9aef1fc.system.entry.js} +1 -1
- package/dist/zonos-elements/p-fa538a74.system.entry.js +1 -0
- package/dist/zonos-elements/{p-3a26cae5.entry.js → p-fc4658a6.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/package.json +68 -67
- package/dist/collection/__mocks__/vercel-app/loadZonos.js +0 -492
- package/dist/collection/__mocks__/vercel-app/localization.js +0 -1
- package/dist/collection/__mocks__/vercel-app/zonos-hello.entry.js +0 -1
- package/dist/collection/__mocks__/zonos-url/index.js +0 -1
- package/dist/collection/__mocks__/zonos-url/loadZonos.js +0 -492
- package/dist/collection/__mocks__/zonos-url/localization.js +0 -2899
- package/dist/collection/__mocks__/zonos-url/zonos-hello.entry.js +0 -1
- package/dist/esm-es5/cart-709f053f.js +0 -1
- package/dist/esm-es5/index-86b8247e.js +0 -2
- package/dist/zonos-elements/p-49e4ca08.system.entry.js +0 -1
- package/dist/zonos-elements/p-5b7da777.js +0 -2
- package/dist/zonos-elements/p-6b6cd6c3.system.js +0 -1
- package/dist/zonos-elements/p-a58731ec.system.js +0 -1
- package/dist/zonos-elements/p-afffdfc2.js +0 -1
- package/dist/zonos-elements/p-d35376d3.js +0 -17
- package/dist/zonos-elements/p-e6c31531.entry.js +0 -1
- package/dist/zonos-elements/p-f8e8b50e.system.js +0 -1
- /package/dist/esm-es5/{handleFetch-22cb914b.js → handleFetch-badf4543.js} +0 -0
- /package/dist/zonos-elements/{p-860e46ab.js → p-a5b294d7.js} +0 -0
- /package/dist/zonos-elements/{p-febc72e7.system.js → p-bfcfd29b.system.js} +0 -0
|
@@ -38,6 +38,9 @@ export const stringsNorwegian = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Fakturaadresse',
|
|
40
40
|
},
|
|
41
|
+
'CPF/CNPJ number': {
|
|
42
|
+
value: 'CPF/CNPJ-nummer',
|
|
43
|
+
},
|
|
41
44
|
Cancel: {
|
|
42
45
|
value: 'Avbryt',
|
|
43
46
|
},
|
|
@@ -221,6 +224,9 @@ export const stringsNorwegian = {
|
|
|
221
224
|
"Payment processing. We'll update you when payment is received.": {
|
|
222
225
|
value: 'Bearbeider betalingen. Vi gir deg beskjed når betalingen er mottatt.',
|
|
223
226
|
},
|
|
227
|
+
'Personal Customers Clearance Code': {
|
|
228
|
+
value: 'Personlige Kunders Tollklareringskode',
|
|
229
|
+
},
|
|
224
230
|
'Phone number': {
|
|
225
231
|
value: 'Telefonnummer',
|
|
226
232
|
},
|
|
@@ -266,6 +272,9 @@ export const stringsNorwegian = {
|
|
|
266
272
|
Quantity: {
|
|
267
273
|
value: 'Mengde',
|
|
268
274
|
},
|
|
275
|
+
'RFC number': {
|
|
276
|
+
value: 'RFC-nummer',
|
|
277
|
+
},
|
|
269
278
|
Reload: {
|
|
270
279
|
value: 'Last inn på nytt',
|
|
271
280
|
},
|
|
@@ -371,6 +380,9 @@ export const stringsNorwegian = {
|
|
|
371
380
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
372
381
|
value: 'Kan ikke hente utsjekkingsøkten for øyeblikket. Vennligst prøv igjen eller kontakt vårt supportteam.',
|
|
373
382
|
},
|
|
383
|
+
'Unique Labor Identification Code': {
|
|
384
|
+
value: 'Unik arbeidsidentifikasjonskode',
|
|
385
|
+
},
|
|
374
386
|
'Update address': {
|
|
375
387
|
value: 'Oppdater adresse',
|
|
376
388
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsPolish = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Adres rozliczeniowy',
|
|
40
40
|
},
|
|
41
|
+
'CPF/CNPJ number': {
|
|
42
|
+
value: 'Numer CPF/CNPJ',
|
|
43
|
+
},
|
|
41
44
|
Cancel: {
|
|
42
45
|
value: 'Anuluj',
|
|
43
46
|
},
|
|
@@ -221,6 +224,9 @@ export const stringsPolish = {
|
|
|
221
224
|
"Payment processing. We'll update you when payment is received.": {
|
|
222
225
|
value: 'Trwa przetwarzanie płatności. Poinformujemy gdy płatność zostanie otrzymana.',
|
|
223
226
|
},
|
|
227
|
+
'Personal Customers Clearance Code': {
|
|
228
|
+
value: 'Kod Odprawy Celnej Klientów Indywidualnych',
|
|
229
|
+
},
|
|
224
230
|
'Phone number': {
|
|
225
231
|
value: 'Numer telefonu',
|
|
226
232
|
},
|
|
@@ -266,6 +272,9 @@ export const stringsPolish = {
|
|
|
266
272
|
Quantity: {
|
|
267
273
|
value: 'Ilość',
|
|
268
274
|
},
|
|
275
|
+
'RFC number': {
|
|
276
|
+
value: 'Numer RFC',
|
|
277
|
+
},
|
|
269
278
|
Reload: {
|
|
270
279
|
value: 'Przeładuj',
|
|
271
280
|
},
|
|
@@ -371,6 +380,9 @@ export const stringsPolish = {
|
|
|
371
380
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
372
381
|
value: 'Nie można pobrać sesji kasy w tej chwili. Proszę spróbować ponownie lub skontaktować się z naszym zespołem wsparcia.',
|
|
373
382
|
},
|
|
383
|
+
'Unique Labor Identification Code': {
|
|
384
|
+
value: 'Unikalny Kod Identyfikacji Pracy',
|
|
385
|
+
},
|
|
374
386
|
'Update address': {
|
|
375
387
|
value: 'Zaktualizuj adres',
|
|
376
388
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsPortuguese = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Endereço de faturação',
|
|
40
40
|
},
|
|
41
|
+
'CPF/CNPJ number': {
|
|
42
|
+
value: 'Número de CPF/CNPJ',
|
|
43
|
+
},
|
|
41
44
|
Cancel: {
|
|
42
45
|
value: 'Cancelar',
|
|
43
46
|
},
|
|
@@ -221,6 +224,9 @@ export const stringsPortuguese = {
|
|
|
221
224
|
"Payment processing. We'll update you when payment is received.": {
|
|
222
225
|
value: 'Processando pagamento. Informaremos quando o pagamento for recebido.',
|
|
223
226
|
},
|
|
227
|
+
'Personal Customers Clearance Code': {
|
|
228
|
+
value: 'Código de Desembaraço de Clientes Pessoais',
|
|
229
|
+
},
|
|
224
230
|
'Phone number': {
|
|
225
231
|
value: 'Número de telefone',
|
|
226
232
|
},
|
|
@@ -266,6 +272,9 @@ export const stringsPortuguese = {
|
|
|
266
272
|
Quantity: {
|
|
267
273
|
value: 'Quantidade',
|
|
268
274
|
},
|
|
275
|
+
'RFC number': {
|
|
276
|
+
value: 'Número RFC',
|
|
277
|
+
},
|
|
269
278
|
Reload: {
|
|
270
279
|
value: 'Recarregar',
|
|
271
280
|
},
|
|
@@ -371,6 +380,9 @@ export const stringsPortuguese = {
|
|
|
371
380
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
372
381
|
value: 'Não é possível recuperar a sessão de checkout no momento. Por favor, tente novamente ou entre em contato com nossa equipe de suporte.',
|
|
373
382
|
},
|
|
383
|
+
'Unique Labor Identification Code': {
|
|
384
|
+
value: 'Código Único de Identificação do Trabalho',
|
|
385
|
+
},
|
|
374
386
|
'Update address': {
|
|
375
387
|
value: 'Atualizar endereço',
|
|
376
388
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsRussian = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Платежный адрес',
|
|
40
40
|
},
|
|
41
|
+
'CPF/CNPJ number': {
|
|
42
|
+
value: 'Номер CPF/CNPJ',
|
|
43
|
+
},
|
|
41
44
|
Cancel: {
|
|
42
45
|
value: 'Отмена',
|
|
43
46
|
},
|
|
@@ -221,6 +224,9 @@ export const stringsRussian = {
|
|
|
221
224
|
"Payment processing. We'll update you when payment is received.": {
|
|
222
225
|
value: 'Обрабатываем платеж. Сообщим вам, когда платеж будет получен.',
|
|
223
226
|
},
|
|
227
|
+
'Personal Customers Clearance Code': {
|
|
228
|
+
value: 'Код таможенной очистки для частных клиентов',
|
|
229
|
+
},
|
|
224
230
|
'Phone number': {
|
|
225
231
|
value: 'Номер телефона',
|
|
226
232
|
},
|
|
@@ -266,6 +272,9 @@ export const stringsRussian = {
|
|
|
266
272
|
Quantity: {
|
|
267
273
|
value: 'Количество',
|
|
268
274
|
},
|
|
275
|
+
'RFC number': {
|
|
276
|
+
value: 'Номер RFC',
|
|
277
|
+
},
|
|
269
278
|
Reload: {
|
|
270
279
|
value: 'Перезагрузить',
|
|
271
280
|
},
|
|
@@ -371,6 +380,9 @@ export const stringsRussian = {
|
|
|
371
380
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
372
381
|
value: 'Не удается получить сеанс оформления заказа в данный момент. Пожалуйста, попробуйте еще раз или свяжитесь с нашей службой поддержки.',
|
|
373
382
|
},
|
|
383
|
+
'Unique Labor Identification Code': {
|
|
384
|
+
value: 'Уникальный код идентификации труда',
|
|
385
|
+
},
|
|
374
386
|
'Update address': {
|
|
375
387
|
value: 'Обновить адрес',
|
|
376
388
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsSpanish = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Dirección de facturación',
|
|
40
40
|
},
|
|
41
|
+
'CPF/CNPJ number': {
|
|
42
|
+
value: 'Número de CPF/CNPJ',
|
|
43
|
+
},
|
|
41
44
|
Cancel: {
|
|
42
45
|
value: 'Cancelar',
|
|
43
46
|
},
|
|
@@ -221,6 +224,9 @@ export const stringsSpanish = {
|
|
|
221
224
|
"Payment processing. We'll update you when payment is received.": {
|
|
222
225
|
value: 'Procesando pago. Le informaremos cuando se reciba el pago.',
|
|
223
226
|
},
|
|
227
|
+
'Personal Customers Clearance Code': {
|
|
228
|
+
value: 'Código de Despacho de Clientes Personales',
|
|
229
|
+
},
|
|
224
230
|
'Phone number': {
|
|
225
231
|
value: 'Número de teléfono',
|
|
226
232
|
},
|
|
@@ -266,6 +272,9 @@ export const stringsSpanish = {
|
|
|
266
272
|
Quantity: {
|
|
267
273
|
value: 'Cantidad',
|
|
268
274
|
},
|
|
275
|
+
'RFC number': {
|
|
276
|
+
value: 'Número RFC',
|
|
277
|
+
},
|
|
269
278
|
Reload: {
|
|
270
279
|
value: 'Recargar',
|
|
271
280
|
},
|
|
@@ -371,6 +380,9 @@ export const stringsSpanish = {
|
|
|
371
380
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
372
381
|
value: 'No se puede recuperar la sesión de pago en este momento. Por favor, inténtelo de nuevo o contacte a nuestro equipo de soporte.',
|
|
373
382
|
},
|
|
383
|
+
'Unique Labor Identification Code': {
|
|
384
|
+
value: 'Código Único de Identificación Laboral',
|
|
385
|
+
},
|
|
374
386
|
'Update address': {
|
|
375
387
|
value: 'Actualizar dirección',
|
|
376
388
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsSwedish = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Fakturaadress',
|
|
40
40
|
},
|
|
41
|
+
'CPF/CNPJ number': {
|
|
42
|
+
value: 'CPF/CNPJ-nummer',
|
|
43
|
+
},
|
|
41
44
|
Cancel: {
|
|
42
45
|
value: 'Avbryt',
|
|
43
46
|
},
|
|
@@ -221,6 +224,9 @@ export const stringsSwedish = {
|
|
|
221
224
|
"Payment processing. We'll update you when payment is received.": {
|
|
222
225
|
value: 'Betalningsbehandling. Vi kommer att uppdatera dig när betalningen har mottagits.',
|
|
223
226
|
},
|
|
227
|
+
'Personal Customers Clearance Code': {
|
|
228
|
+
value: 'Personliga Kunders Tullkod',
|
|
229
|
+
},
|
|
224
230
|
'Phone number': {
|
|
225
231
|
value: 'Telefonnummer',
|
|
226
232
|
},
|
|
@@ -266,6 +272,9 @@ export const stringsSwedish = {
|
|
|
266
272
|
Quantity: {
|
|
267
273
|
value: 'Kvantitet',
|
|
268
274
|
},
|
|
275
|
+
'RFC number': {
|
|
276
|
+
value: 'RFC-nummer',
|
|
277
|
+
},
|
|
269
278
|
Reload: {
|
|
270
279
|
value: 'Ladda om',
|
|
271
280
|
},
|
|
@@ -371,6 +380,9 @@ export const stringsSwedish = {
|
|
|
371
380
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
372
381
|
value: 'Kan inte hämta betalningssessionen just nu. Försök igen eller kontakta vårt supportteam.',
|
|
373
382
|
},
|
|
383
|
+
'Unique Labor Identification Code': {
|
|
384
|
+
value: 'Unik arbetsidentifieringskod',
|
|
385
|
+
},
|
|
374
386
|
'Update address': {
|
|
375
387
|
value: 'Uppdatera adress',
|
|
376
388
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsTurkish = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Fatura Adresi',
|
|
40
40
|
},
|
|
41
|
+
'CPF/CNPJ number': {
|
|
42
|
+
value: 'CPF/CNPJ numarası',
|
|
43
|
+
},
|
|
41
44
|
Cancel: {
|
|
42
45
|
value: 'İptal',
|
|
43
46
|
},
|
|
@@ -221,6 +224,9 @@ export const stringsTurkish = {
|
|
|
221
224
|
"Payment processing. We'll update you when payment is received.": {
|
|
222
225
|
value: 'Ödeme işleniyor. Ödeme alındığında sizi bilgilendireceğiz.',
|
|
223
226
|
},
|
|
227
|
+
'Personal Customers Clearance Code': {
|
|
228
|
+
value: 'Kişisel Müşteri Gümrük Kodları',
|
|
229
|
+
},
|
|
224
230
|
'Phone number': {
|
|
225
231
|
value: 'Telefon numarası',
|
|
226
232
|
},
|
|
@@ -266,6 +272,9 @@ export const stringsTurkish = {
|
|
|
266
272
|
Quantity: {
|
|
267
273
|
value: 'Miktar',
|
|
268
274
|
},
|
|
275
|
+
'RFC number': {
|
|
276
|
+
value: 'RFC numarası',
|
|
277
|
+
},
|
|
269
278
|
Reload: {
|
|
270
279
|
value: 'Yeniden yükle',
|
|
271
280
|
},
|
|
@@ -371,6 +380,9 @@ export const stringsTurkish = {
|
|
|
371
380
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
372
381
|
value: 'Şu anda ödeme oturumunu alamıyoruz. Lütfen tekrar deneyin veya destek ekibimizle iletişime geçin.',
|
|
373
382
|
},
|
|
383
|
+
'Unique Labor Identification Code': {
|
|
384
|
+
value: 'Benzersiz İş Gücü Tanımlama Kodu',
|
|
385
|
+
},
|
|
374
386
|
'Update address': {
|
|
375
387
|
value: 'Adresi güncelle',
|
|
376
388
|
},
|
|
@@ -38,6 +38,9 @@ export const stringsVietnamese = {
|
|
|
38
38
|
'Billing address': {
|
|
39
39
|
value: 'Địa chỉ thanh toán',
|
|
40
40
|
},
|
|
41
|
+
'CPF/CNPJ number': {
|
|
42
|
+
value: 'Số CPF/CNPJ',
|
|
43
|
+
},
|
|
41
44
|
Cancel: {
|
|
42
45
|
value: 'Hủy bỏ',
|
|
43
46
|
},
|
|
@@ -221,6 +224,9 @@ export const stringsVietnamese = {
|
|
|
221
224
|
"Payment processing. We'll update you when payment is received.": {
|
|
222
225
|
value: 'Đang xử lý thanh toán. Chúng tôi sẽ thông báo khi nhận được thanh toán.',
|
|
223
226
|
},
|
|
227
|
+
'Personal Customers Clearance Code': {
|
|
228
|
+
value: 'Mã Thông Quan Khách Hàng Cá Nhân',
|
|
229
|
+
},
|
|
224
230
|
'Phone number': {
|
|
225
231
|
value: 'Số điện thoại',
|
|
226
232
|
},
|
|
@@ -266,6 +272,9 @@ export const stringsVietnamese = {
|
|
|
266
272
|
Quantity: {
|
|
267
273
|
value: 'Số lượng',
|
|
268
274
|
},
|
|
275
|
+
'RFC number': {
|
|
276
|
+
value: 'Số RFC',
|
|
277
|
+
},
|
|
269
278
|
Reload: {
|
|
270
279
|
value: 'Tải lại',
|
|
271
280
|
},
|
|
@@ -371,6 +380,9 @@ export const stringsVietnamese = {
|
|
|
371
380
|
'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
|
|
372
381
|
value: 'Không thể truy xuất phiên thanh toán vào lúc này. Vui lòng thử lại hoặc liên hệ với đội ngũ hỗ trợ của chúng tôi.',
|
|
373
382
|
},
|
|
383
|
+
'Unique Labor Identification Code': {
|
|
384
|
+
value: 'Mã nhận dạng lao động duy nhất',
|
|
385
|
+
},
|
|
374
386
|
'Update address': {
|
|
375
387
|
value: 'Cập nhật địa chỉ',
|
|
376
388
|
},
|
|
@@ -138,7 +138,7 @@ export class ZonosAddress {
|
|
|
138
138
|
}
|
|
139
139
|
render() {
|
|
140
140
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
141
|
-
return (h(Host, { key: '
|
|
141
|
+
return (h(Host, { key: 'e66063ffb032f5c5506e2fe72c5b8986b7c63b16', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'bd0e6d1f9a895b9c97f72b3e2a872ddc6420550f', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'e3fde23bbe25238a8d29005c9fe11b2d9f7f1cff', class: "zonos--address-component" })));
|
|
142
142
|
}
|
|
143
143
|
static get is() { return "zonos-address"; }
|
|
144
144
|
static get encapsulation() { return "scoped"; }
|
package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js
CHANGED
|
@@ -47,9 +47,9 @@ export class ZonosLinkAuthentication {
|
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
49
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'a57d22a1bc27b37819781aa5228a509b5638e8bc', class: "zonos--link-authentication zonos--elements", style: {
|
|
51
51
|
'--zonos--border-radius': getBorderRadius(),
|
|
52
|
-
} }, h("zonos-text", { key: '
|
|
52
|
+
} }, h("zonos-text", { key: 'a56a593acd45bc7934714a15d9ee45842a88cba6', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'f04730dcf7bca9bc7a623e19755fcb2957fbf1fd', class: `zonos--link-authentication-component ${this.isEmailError && 'zonos--input-invalid'}` }), this.isEmailError && (h("zonos-text", { key: '77f8146f8346b32f37bd2ada98f9d6783329c1a3', textColor: "red-600" }, translate('Please enter a valid email address.')))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "zonos-link-authentication"; }
|
|
55
55
|
static get encapsulation() { return "scoped"; }
|
|
@@ -36,7 +36,7 @@ export class ZonosPayment {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'adcbeae4dadcaff59781ae47f779032e9fe43f5c', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: 'c83017ca67410a6715cacf6c0e524ed7b4304837', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '55c6d6dde8efaffec4411a838c62b7ede3efe30a', class: "zonos--payment-component" }), h("div", { key: 'd27b440253222daf94e4a6ad862c901efa54bfe5', class: "zonos--payment-paypal-container" })));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "zonos-payment"; }
|
|
42
42
|
static get encapsulation() { return "scoped"; }
|
|
@@ -88,6 +88,7 @@ export const prepCartCalculateLandedCost = (cartId) => {
|
|
|
88
88
|
},
|
|
89
89
|
]
|
|
90
90
|
: [],
|
|
91
|
+
shipToTaxId: stripeStore.taxId,
|
|
91
92
|
shippingAddress: {
|
|
92
93
|
addressLine1: translatedShippingAddress.line1,
|
|
93
94
|
addressLine2: translatedShippingAddress.line2,
|
|
@@ -170,6 +171,7 @@ export const prepCalculateLandedCost = () => {
|
|
|
170
171
|
isTest: isE2ETest,
|
|
171
172
|
items: cartStore.items,
|
|
172
173
|
landedCostAdjustments: adjustments,
|
|
174
|
+
shipToTaxId: stripeStore.taxId,
|
|
173
175
|
shippingAddress: {
|
|
174
176
|
addressLine1: translatedShippingAddress.line1,
|
|
175
177
|
addressLine2: translatedShippingAddress.line2,
|
|
@@ -40,7 +40,7 @@ const encodeString = (text) => {
|
|
|
40
40
|
const encodedString = btoa(text).replace(/=/g, '');
|
|
41
41
|
return encodedString;
|
|
42
42
|
}
|
|
43
|
-
catch (
|
|
43
|
+
catch (_a) {
|
|
44
44
|
// return the reverse string if the encoding failed
|
|
45
45
|
return text
|
|
46
46
|
.replace(/[^A-Za-z0-9]/g, '')
|
|
@@ -115,7 +115,7 @@ const handleRequest = async ({ basePathType, options, path, }) => {
|
|
|
115
115
|
zonosMode,
|
|
116
116
|
};
|
|
117
117
|
}
|
|
118
|
-
catch (
|
|
118
|
+
catch (_a) {
|
|
119
119
|
const message = 'Unknown error';
|
|
120
120
|
return {
|
|
121
121
|
baseUrl,
|
|
@@ -64,7 +64,7 @@ const envClient = {
|
|
|
64
64
|
NEXT_PUBLIC_ZONOS_ROUTE_URL: z.string(),
|
|
65
65
|
NEXT_PUBLIC_ZONOS_UNPKG_CDN_URL: z.string(),
|
|
66
66
|
};
|
|
67
|
-
const
|
|
67
|
+
const _envClientSchema = z.object(envClient);
|
|
68
68
|
export const env = createEnv({
|
|
69
69
|
skipValidation,
|
|
70
70
|
// eslint-disable-next-line sort-keys/sort-keys-fix
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const countryRequireTaxId = [
|
|
2
|
+
'AR',
|
|
3
|
+
'BR',
|
|
4
|
+
'KR',
|
|
5
|
+
'MX',
|
|
6
|
+
];
|
|
7
|
+
export const shipToTaxIdLabels = {
|
|
8
|
+
AR: {
|
|
9
|
+
friendlyName: 'Unique Labor Identification Code',
|
|
10
|
+
placeholder: '00-00000000-0',
|
|
11
|
+
},
|
|
12
|
+
BR: {
|
|
13
|
+
friendlyName: 'CPF/CNPJ number',
|
|
14
|
+
placeholder: '000.000.000-00',
|
|
15
|
+
},
|
|
16
|
+
KR: {
|
|
17
|
+
friendlyName: 'Personal Customers Clearance Code',
|
|
18
|
+
placeholder: '000-00-00000',
|
|
19
|
+
},
|
|
20
|
+
MX: {
|
|
21
|
+
friendlyName: 'RFC number',
|
|
22
|
+
placeholder: 'XAXX010101000',
|
|
23
|
+
},
|
|
24
|
+
};
|
|
@@ -59,6 +59,41 @@ export const allowedCharacterSets = {
|
|
|
59
59
|
All: 'ALL',
|
|
60
60
|
Latin: 'LATIN',
|
|
61
61
|
};
|
|
62
|
+
export const allowedSettlementCurrencies = {
|
|
63
|
+
Local: 'LOCAL',
|
|
64
|
+
LocalAndUsd: 'LOCAL_AND_USD',
|
|
65
|
+
};
|
|
66
|
+
export const amountDetailRefundSourceType = {
|
|
67
|
+
Discount: 'DISCOUNT',
|
|
68
|
+
DutyTaxFee: 'DUTY_TAX_FEE',
|
|
69
|
+
Item: 'ITEM',
|
|
70
|
+
Shipping: 'SHIPPING',
|
|
71
|
+
};
|
|
72
|
+
export const amountDetailSourceType = {
|
|
73
|
+
Discount: 'DISCOUNT',
|
|
74
|
+
Duty: 'DUTY',
|
|
75
|
+
DutyTaxFee: 'DUTY_TAX_FEE',
|
|
76
|
+
Fee: 'FEE',
|
|
77
|
+
Item: 'ITEM',
|
|
78
|
+
Shipping: 'SHIPPING',
|
|
79
|
+
Tax: 'TAX',
|
|
80
|
+
};
|
|
81
|
+
export const amountDetailSubtotalType = {
|
|
82
|
+
Discount: 'DISCOUNT',
|
|
83
|
+
Duty: 'DUTY',
|
|
84
|
+
Fee: 'FEE',
|
|
85
|
+
Item: 'ITEM',
|
|
86
|
+
Shipping: 'SHIPPING',
|
|
87
|
+
Tax: 'TAX',
|
|
88
|
+
};
|
|
89
|
+
export const amountDetailUse = {
|
|
90
|
+
BillingCompany: 'BILLING_COMPANY',
|
|
91
|
+
MerchantBase: 'MERCHANT_BASE',
|
|
92
|
+
MerchantProvided: 'MERCHANT_PROVIDED',
|
|
93
|
+
MerchantSettled: 'MERCHANT_SETTLED',
|
|
94
|
+
ShopperPresented: 'SHOPPER_PRESENTED',
|
|
95
|
+
ZonosBase: 'ZONOS_BASE',
|
|
96
|
+
};
|
|
62
97
|
export const analyticsProviderStatus = {
|
|
63
98
|
Disabled: 'DISABLED',
|
|
64
99
|
Enabled: 'ENABLED',
|
|
@@ -1485,8 +1520,10 @@ export const itemKeyPreference = {
|
|
|
1485
1520
|
Sku: 'SKU',
|
|
1486
1521
|
};
|
|
1487
1522
|
export const itemMeasurementType = {
|
|
1523
|
+
AlcoholByVolume: 'ALCOHOL_BY_VOLUME',
|
|
1488
1524
|
Height: 'HEIGHT',
|
|
1489
1525
|
Length: 'LENGTH',
|
|
1526
|
+
Volume: 'VOLUME',
|
|
1490
1527
|
Weight: 'WEIGHT',
|
|
1491
1528
|
Width: 'WIDTH',
|
|
1492
1529
|
};
|
|
@@ -1515,9 +1552,12 @@ export const itemUnitOfMeasure = {
|
|
|
1515
1552
|
Gram: 'GRAM',
|
|
1516
1553
|
Inch: 'INCH',
|
|
1517
1554
|
Kilogram: 'KILOGRAM',
|
|
1555
|
+
Liter: 'LITER',
|
|
1518
1556
|
Meter: 'METER',
|
|
1557
|
+
Milliliter: 'MILLILITER',
|
|
1519
1558
|
Millimeter: 'MILLIMETER',
|
|
1520
1559
|
Ounce: 'OUNCE',
|
|
1560
|
+
Percentage: 'PERCENTAGE',
|
|
1521
1561
|
Pound: 'POUND',
|
|
1522
1562
|
Yard: 'YARD',
|
|
1523
1563
|
};
|
|
@@ -1582,6 +1622,7 @@ export const landedCostFeeType = {
|
|
|
1582
1622
|
Country: 'COUNTRY',
|
|
1583
1623
|
CurrencyConversionFee: 'CURRENCY_CONVERSION_FEE',
|
|
1584
1624
|
DdpServiceFee: 'DDP_SERVICE_FEE',
|
|
1625
|
+
Discount: 'DISCOUNT',
|
|
1585
1626
|
Duty: 'DUTY',
|
|
1586
1627
|
InclusivePriceAdjustment: 'INCLUSIVE_PRICE_ADJUSTMENT',
|
|
1587
1628
|
InclusivePricing: 'INCLUSIVE_PRICING',
|
|
@@ -2168,6 +2209,7 @@ export const storeFeeRuleType = {
|
|
|
2168
2209
|
RequiredNegotiable: 'REQUIRED_NEGOTIABLE',
|
|
2169
2210
|
RequiredNonNegotiable: 'REQUIRED_NON_NEGOTIABLE',
|
|
2170
2211
|
Transitory: 'TRANSITORY',
|
|
2212
|
+
TransitoryCustom: 'TRANSITORY_CUSTOM',
|
|
2171
2213
|
};
|
|
2172
2214
|
export const stripeActiveStatus = {
|
|
2173
2215
|
Active: 'ACTIVE',
|
|
@@ -2246,7 +2288,9 @@ export const taxCalculationType = {
|
|
|
2246
2288
|
};
|
|
2247
2289
|
export const taxIdType = {
|
|
2248
2290
|
Cnp: 'CNP',
|
|
2291
|
+
Cuil: 'CUIL',
|
|
2249
2292
|
Dan: 'DAN',
|
|
2293
|
+
Dni: 'DNI',
|
|
2250
2294
|
Dtf: 'DTF',
|
|
2251
2295
|
Dun: 'DUN',
|
|
2252
2296
|
Ein: 'EIN',
|
|
@@ -2257,7 +2301,12 @@ export const taxIdType = {
|
|
|
2257
2301
|
Hmrc: 'HMRC',
|
|
2258
2302
|
Ioss: 'IOSS',
|
|
2259
2303
|
Lvg: 'LVG',
|
|
2304
|
+
Npwp: 'NPWP',
|
|
2260
2305
|
Osr: 'OSR',
|
|
2306
|
+
Pan: 'PAN',
|
|
2307
|
+
Pccc: 'PCCC',
|
|
2308
|
+
Rfc: 'RFC',
|
|
2309
|
+
Run: 'RUN',
|
|
2261
2310
|
Ssn: 'SSN',
|
|
2262
2311
|
Sta: 'STA',
|
|
2263
2312
|
Tan: 'TAN',
|
|
@@ -2481,6 +2530,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2481
2530
|
organization(variables, requestHeaders) {
|
|
2482
2531
|
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'organization', 'query');
|
|
2483
2532
|
},
|
|
2533
|
+
partyInfo(variables, requestHeaders) {
|
|
2534
|
+
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'partyInfo', 'query');
|
|
2535
|
+
},
|
|
2484
2536
|
paypalOrderCapture(variables, requestHeaders) {
|
|
2485
2537
|
return withWrapper(wrappedRequestHeaders => client.request('', variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'paypalOrderCapture', 'mutation');
|
|
2486
2538
|
},
|
|
@@ -9,6 +9,7 @@ export * from './checkout/api/Paypal';
|
|
|
9
9
|
export * from './checkout/api/StoreDiscountEnabled';
|
|
10
10
|
export * from './checkout/api/ValidateAddress';
|
|
11
11
|
export * from './checkout/CheckoutConfig';
|
|
12
|
+
export * from './checkout/TaxId';
|
|
12
13
|
export * from './ConversionEvent';
|
|
13
14
|
export * from './hello/HelloConfig';
|
|
14
15
|
export * from './JsonError';
|
|
@@ -1,59 +1 @@
|
|
|
1
|
-
const supportedPropertyNames = [
|
|
2
|
-
'-moz-osx-font-smoothing',
|
|
3
|
-
'-webkit-font-smoothing',
|
|
4
|
-
'-webkit-text-fill-color',
|
|
5
|
-
'backgroundColor',
|
|
6
|
-
'border',
|
|
7
|
-
'borderBottom',
|
|
8
|
-
'borderBottomColor',
|
|
9
|
-
'borderBottomLeftRadius',
|
|
10
|
-
'borderBottomRightRadius',
|
|
11
|
-
'borderBottomStyle',
|
|
12
|
-
'borderBottomWidth',
|
|
13
|
-
'borderColor',
|
|
14
|
-
'borderLeft',
|
|
15
|
-
'borderLeftColor',
|
|
16
|
-
'borderLeftStyle',
|
|
17
|
-
'borderLeftWidth',
|
|
18
|
-
'borderRadius',
|
|
19
|
-
'borderRight',
|
|
20
|
-
'borderRightColor',
|
|
21
|
-
'borderRightStyle',
|
|
22
|
-
'borderRightWidth',
|
|
23
|
-
'borderStyle',
|
|
24
|
-
'borderTop',
|
|
25
|
-
'borderTopColor',
|
|
26
|
-
'borderTopLeftRadius',
|
|
27
|
-
'borderTopRightRadius',
|
|
28
|
-
'borderTopStyle',
|
|
29
|
-
'borderTopWidth',
|
|
30
|
-
'borderWidth',
|
|
31
|
-
'boxShadow',
|
|
32
|
-
'color',
|
|
33
|
-
'fill',
|
|
34
|
-
'fontFamily',
|
|
35
|
-
'fontSize',
|
|
36
|
-
'fontVariant',
|
|
37
|
-
'fontVariation',
|
|
38
|
-
'fontWeight',
|
|
39
|
-
'letterSpacing',
|
|
40
|
-
'lineHeight',
|
|
41
|
-
'margin',
|
|
42
|
-
'marginBottom',
|
|
43
|
-
'marginLeft',
|
|
44
|
-
'marginRight',
|
|
45
|
-
'marginTop',
|
|
46
|
-
'opacity',
|
|
47
|
-
'outline',
|
|
48
|
-
'outlineOffset',
|
|
49
|
-
'padding',
|
|
50
|
-
'paddingBottom',
|
|
51
|
-
'paddingLeft',
|
|
52
|
-
'paddingRight',
|
|
53
|
-
'paddingTop',
|
|
54
|
-
'textDecoration',
|
|
55
|
-
'textShadow',
|
|
56
|
-
'textTransform',
|
|
57
|
-
'transition',
|
|
58
|
-
];
|
|
59
1
|
export {};
|