@zonos/elements 1.3.15-alpha.3 → 1.3.15
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/RemoveIcon-6c79a2a1.js +5 -0
- package/dist/cjs/{cart-1b1d39af.js → cart-db549f04.js} +976 -138
- package/dist/cjs/containsNonLatinChars-2be5129b.js +24 -0
- package/dist/cjs/{getBorderRadius-c8cc2bb3.js → getBorderRadius-44b3eca1.js} +4 -6
- package/dist/cjs/index-654a6001.js +1361 -0
- package/dist/cjs/isCheckoutMobile-f491ca7c.js +8 -0
- package/dist/cjs/{isDarkColor-f5473002.js → isDarkColor-01f45d3f.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{submitGtag-ab287a34.js → submitGtag-fd8acad5.js} +21 -2
- package/dist/cjs/zonos-address_8.cjs.entry.js +642 -0
- package/dist/cjs/zonos-badge_2.cjs.entry.js +7 -7
- package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
- package/dist/cjs/{zonos-button_2.cjs.entry.js → zonos-button_3.cjs.entry.js} +53 -13
- package/dist/cjs/zonos-card_2.cjs.entry.js +10 -10
- package/dist/cjs/{zonos-cart-items_10.cjs.entry.js → zonos-cart-items_9.cjs.entry.js} +135 -109
- package/dist/cjs/zonos-checkout.cjs.entry.js +18 -17
- package/dist/cjs/zonos-component.cjs.entry.js +2 -2
- package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
- package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
- package/dist/cjs/zonos-country-select_3.cjs.entry.js +12 -12
- package/dist/cjs/zonos-elements.cjs.js +10 -10
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +8 -8
- package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
- package/dist/cjs/zonos-input.cjs.entry.js +57 -0
- package/dist/cjs/zonos-link.cjs.entry.js +2 -2
- package/dist/cjs/zonos-logo.cjs.entry.js +4 -4
- package/dist/cjs/zonos-notification.cjs.entry.js +4 -4
- package/dist/cjs/zonos-payment.cjs.entry.js +6 -6
- package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +6 -6
- package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +7 -5
- package/dist/cjs/zonos-text.cjs.entry.js +3 -2
- package/dist/cjs/{zonosStore-aee974e0.js → zonosStore-d8bb0bda.js} +1 -1
- package/dist/collection/collection-manifest.json +5 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.css +62 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.js +80 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.css +59 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.js +148 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.css +115 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.js +429 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +1 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +5 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.js +2 -2
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +6 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +135 -20
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +1 -1
- package/dist/collection/components/common/component-template/zonos-link/zonos-link.js +1 -1
- package/dist/collection/components/common/zonos-badge/zonos-badge.js +3 -3
- package/dist/collection/components/common/zonos-button/zonos-button.css +1 -0
- package/dist/collection/components/common/zonos-button/zonos-button.js +17 -8
- package/dist/collection/components/common/zonos-card/zonos-card.js +3 -3
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.css +1 -0
- package/dist/collection/components/common/zonos-checkbox/zonos-checkbox.js +22 -4
- package/dist/collection/components/common/zonos-checkout-progress-tabs/zonos-checkout-progress-tabs.js +3 -3
- package/dist/collection/components/common/zonos-collapse/zonos-collapse.js +2 -2
- package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
- package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +3 -3
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +6 -4
- package/dist/collection/components/common/zonos-input/zonos-input.css +176 -0
- package/dist/collection/components/common/zonos-input/zonos-input.js +193 -0
- package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
- package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
- package/dist/collection/components/common/zonos-notification/zonos-notification.js +2 -2
- package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
- package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +4 -2
- package/dist/collection/components/common/zonos-text/zonos-text.js +1 -0
- package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
- package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
- package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
- package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.css +7 -8
- 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 +3 -3
- package/dist/collection/components/main/zonos-controller.js +2 -2
- package/dist/collection/components/store/checkout/stripe.js +153 -14
- package/dist/collection/components/store/translationStore/strings.arabic.js +36 -6
- package/dist/collection/components/store/translationStore/strings.base.js +36 -6
- package/dist/collection/components/store/translationStore/strings.chinese.js +36 -6
- package/dist/collection/components/store/translationStore/strings.danish.js +36 -6
- package/dist/collection/components/store/translationStore/strings.dutch.js +36 -6
- package/dist/collection/components/store/translationStore/strings.french.js +36 -6
- package/dist/collection/components/store/translationStore/strings.german.js +36 -6
- package/dist/collection/components/store/translationStore/strings.hebrew.js +36 -6
- package/dist/collection/components/store/translationStore/strings.indonesian.js +36 -6
- package/dist/collection/components/store/translationStore/strings.italian.js +36 -6
- package/dist/collection/components/store/translationStore/strings.japanese.js +36 -6
- package/dist/collection/components/store/translationStore/strings.korean.js +36 -6
- package/dist/collection/components/store/translationStore/strings.norwegian.js +36 -6
- package/dist/collection/components/store/translationStore/strings.polish.js +36 -6
- package/dist/collection/components/store/translationStore/strings.portuguese.js +36 -6
- package/dist/collection/components/store/translationStore/strings.russian.js +36 -6
- package/dist/collection/components/store/translationStore/strings.spanish.js +36 -6
- package/dist/collection/components/store/translationStore/strings.swedish.js +36 -6
- package/dist/collection/components/store/translationStore/strings.turkish.js +36 -6
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +36 -6
- package/dist/collection/components/stripe/zonos-address/zonos-address.js +3 -71
- package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +29 -5
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/components/utils/checkout/buildTranslateRequestBody.js +98 -0
- package/dist/collection/components/utils/containsNonLatinChars.js +10 -8
- package/dist/collection/components/utils/getBorderRadius.js +3 -5
- package/dist/collection/styles/stripe/defaultVariable.js +2 -2
- package/dist/collection/types/checkout/TranslatedText.js +1 -0
- package/dist/collection/types/checkout/api/ValidateAddressRequest.js +1 -0
- package/dist/components/containsNonLatinChars.js +21 -0
- package/dist/components/getBorderRadius.js +3 -5
- package/dist/components/stripe.js +255 -4545
- package/dist/components/trackConversionEvent.js +1 -1
- package/dist/components/translationStore.js +5131 -0
- package/dist/components/zonos-address-display.d.ts +11 -0
- package/dist/components/zonos-address-display.js +6 -0
- package/dist/components/zonos-address-display2.js +64 -0
- package/dist/components/zonos-address-form.d.ts +11 -0
- package/dist/components/zonos-address-form.js +6 -0
- package/dist/components/zonos-address-form2.js +84 -0
- package/dist/components/zonos-address-update-dialog.d.ts +11 -0
- package/dist/components/zonos-address-update-dialog.js +6 -0
- package/dist/components/zonos-address-update-dialog2.js +264 -0
- package/dist/components/zonos-address2.js +3 -93
- package/dist/components/zonos-badge2.js +3 -3
- package/dist/components/zonos-button2.js +18 -9
- package/dist/components/zonos-card2.js +3 -3
- package/dist/components/zonos-cart-items2.js +1 -1
- package/dist/components/zonos-cart-subtotal2.js +2 -1
- package/dist/components/zonos-checkbox2.js +15 -6
- package/dist/components/zonos-checkout-finish2.js +26 -6
- package/dist/components/zonos-checkout-footer2.js +2 -2
- package/dist/components/zonos-checkout-payment2.js +2 -1
- package/dist/components/zonos-checkout-progress-tabs2.js +5 -4
- package/dist/components/zonos-checkout.js +71 -41
- package/dist/components/zonos-collapse2.js +2 -2
- package/dist/components/zonos-component.js +1 -1
- package/dist/components/zonos-controller.js +2 -2
- package/dist/components/zonos-country-select2.js +2 -2
- package/dist/components/zonos-custom-message2.js +2 -2
- package/dist/components/zonos-customer-info2.js +170 -29
- package/dist/components/zonos-dialog2.js +7 -5
- package/dist/components/zonos-hello-dialog-footer2.js +3 -3
- package/dist/components/zonos-hello-dialog2.js +5 -4
- package/dist/components/zonos-hello.js +2 -1
- package/dist/components/zonos-input.d.ts +11 -0
- package/dist/components/zonos-input.js +6 -0
- package/dist/components/zonos-input2.js +78 -0
- package/dist/components/zonos-language-select2.js +4 -3
- package/dist/components/zonos-link-authentication2.js +12 -5
- package/dist/components/zonos-link.js +1 -1
- package/dist/components/zonos-logo.js +2 -2
- package/dist/components/zonos-notification2.js +2 -2
- package/dist/components/zonos-payment2.js +1 -1
- package/dist/components/zonos-review2.js +2 -1
- package/dist/components/zonos-select-dialog-header2.js +2 -2
- package/dist/components/zonos-shipping-rich-radio2.js +4 -2
- package/dist/components/zonos-shipping2.js +3 -2
- package/dist/components/zonos-text2.js +1 -0
- package/dist/components/zonos-tooltip2.js +2 -2
- package/dist/components/zonos-v-stack2.js +2 -2
- package/dist/esm/RemoveIcon-f6715b36.js +3 -0
- package/dist/esm/{cart-10bcd2e0.js → cart-462e89a6.js} +976 -139
- package/dist/esm/containsNonLatinChars-2d8810c3.js +21 -0
- package/dist/esm/{getBorderRadius-8129b0cb.js → getBorderRadius-567f1786.js} +4 -6
- package/dist/esm/index-e063389c.js +1328 -0
- package/dist/esm/isCheckoutMobile-8846dccb.js +6 -0
- package/dist/esm/{isDarkColor-7a6d2d14.js → isDarkColor-7f62035a.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{submitGtag-84886899.js → submitGtag-ac7c3c89.js} +21 -3
- package/dist/esm/zonos-address_8.entry.js +631 -0
- package/dist/esm/zonos-badge_2.entry.js +7 -7
- package/dist/esm/zonos-banner.entry.js +2 -2
- package/dist/esm/{zonos-button_2.entry.js → zonos-button_3.entry.js} +53 -14
- package/dist/esm/zonos-card_2.entry.js +10 -10
- package/dist/esm/{zonos-cart-items_10.entry.js → zonos-cart-items_9.entry.js} +131 -104
- package/dist/esm/zonos-checkout.entry.js +13 -12
- package/dist/esm/zonos-component.entry.js +2 -2
- package/dist/esm/zonos-controller.entry.js +6 -6
- package/dist/esm/zonos-country-flag.entry.js +5 -5
- package/dist/esm/zonos-country-select_3.entry.js +12 -12
- package/dist/esm/zonos-elements.js +11 -11
- package/dist/esm/zonos-hello-dialog.entry.js +8 -8
- package/dist/esm/zonos-hello.entry.js +5 -5
- package/dist/esm/zonos-input.entry.js +53 -0
- package/dist/esm/zonos-link.entry.js +2 -2
- package/dist/esm/zonos-logo.entry.js +4 -4
- package/dist/esm/zonos-notification.entry.js +4 -4
- package/dist/esm/zonos-payment.entry.js +6 -6
- package/dist/esm/zonos-select-dialog-header_2.entry.js +6 -6
- package/dist/esm/zonos-shipping-rich-radio.entry.js +7 -5
- package/dist/esm/zonos-text.entry.js +3 -2
- package/dist/esm/{zonosStore-f3eef64b.js → zonosStore-33ff08ff.js} +1 -1
- package/dist/esm-es5/RemoveIcon-f6715b36.js +1 -0
- package/dist/esm-es5/cart-462e89a6.js +1 -0
- package/dist/esm-es5/containsNonLatinChars-2d8810c3.js +1 -0
- package/dist/esm-es5/getBorderRadius-567f1786.js +1 -0
- package/dist/esm-es5/index-e063389c.js +2 -0
- package/dist/esm-es5/isCheckoutMobile-8846dccb.js +1 -0
- package/dist/esm-es5/{isDarkColor-7a6d2d14.js → isDarkColor-7f62035a.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/submitGtag-ac7c3c89.js +1 -0
- package/dist/esm-es5/zonos-address_8.entry.js +1 -0
- package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -0
- package/dist/esm-es5/zonos-card_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_9.entry.js +1 -0
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-component.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
- package/dist/esm-es5/zonos-elements.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-input.entry.js +1 -0
- package/dist/esm-es5/zonos-link.entry.js +1 -1
- package/dist/esm-es5/zonos-logo.entry.js +1 -1
- package/dist/esm-es5/zonos-notification.entry.js +1 -1
- package/dist/esm-es5/zonos-payment.entry.js +1 -1
- package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
- package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
- package/dist/esm-es5/zonos-text.entry.js +1 -1
- package/dist/esm-es5/{zonosStore-f3eef64b.js → zonosStore-33ff08ff.js} +1 -1
- package/dist/scripts/loadStripe.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/stripe.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/scripts/zonosBase.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-display/zonos-address-display.d.ts +12 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-form/zonos-address-form.d.ts +28 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.d.ts +96 -0
- package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +22 -2
- package/dist/types/components/common/zonos-checkbox/zonos-checkbox.d.ts +1 -0
- package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +0 -3
- package/dist/types/components/common/zonos-input/zonos-input.d.ts +35 -0
- package/dist/types/components/store/checkout/stripe.d.ts +25 -1
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.base.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.danish.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.french.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.german.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.italian.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.korean.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.polish.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.russian.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +35 -5
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +35 -5
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/types/components/stripe/zonos-address/zonos-address.d.ts +2 -10
- package/dist/types/components/stripe/zonos-link-authentication/zonos-link-authentication.d.ts +4 -0
- package/dist/types/components/utils/changeDeepProperty.d.ts +1 -1
- package/dist/types/components/utils/changeDeepPropertyAtIndex.d.ts +1 -1
- package/dist/types/components/utils/checkout/buildTranslateRequestBody.d.ts +26 -0
- package/dist/types/components/utils/containsNonLatinChars.d.ts +1 -0
- package/dist/types/components/utils/getBorderRadius.d.ts +7 -1
- package/dist/types/components.d.ts +308 -6
- package/dist/types/types/checkout/TranslatedText.d.ts +23 -0
- package/dist/types/types/checkout/api/ValidateAddressRequest.d.ts +20 -0
- package/dist/types/types/generated/graphql.customer.types.d.ts +2 -0
- package/dist/types/types/generated/graphql.customer.types.ts +2 -0
- package/dist/zonos-elements/{p-593948b5.system.entry.js → p-029f11dd.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-af8391bb.entry.js → p-094c0ee8.entry.js} +1 -1
- package/dist/zonos-elements/p-0c64dbbb.js +1 -0
- package/dist/zonos-elements/p-11504442.entry.js +1 -0
- package/dist/zonos-elements/p-11bef836.system.entry.js +1 -0
- package/dist/zonos-elements/{p-bc3a0f7c.entry.js → p-11f1b78c.entry.js} +1 -1
- package/dist/zonos-elements/p-13ddaf31.js +2 -0
- package/dist/zonos-elements/p-154aaf95.system.js +1 -0
- package/dist/zonos-elements/p-163ff5b5.system.js +2 -0
- package/dist/zonos-elements/{p-5ee8a685.entry.js → p-1e934274.entry.js} +1 -1
- package/dist/zonos-elements/p-20582e58.system.entry.js +1 -0
- package/dist/zonos-elements/{p-bfa8d9a4.system.entry.js → p-2439c82f.system.entry.js} +1 -1
- package/dist/zonos-elements/p-2670438c.system.js +1 -0
- package/dist/zonos-elements/p-321226b0.entry.js +1 -0
- package/dist/zonos-elements/{p-d149bc5d.system.entry.js → p-3221530d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e9fafda6.entry.js → p-32d27535.entry.js} +1 -1
- package/dist/zonos-elements/p-3d10866d.entry.js +1 -0
- package/dist/zonos-elements/{p-1a5f8df7.entry.js → p-3d8667a7.entry.js} +1 -1
- package/dist/zonos-elements/p-3f05d130.system.entry.js +1 -0
- package/dist/zonos-elements/p-430eefd4.entry.js +1 -0
- package/dist/zonos-elements/{p-fc35d717.system.entry.js → p-49825866.system.entry.js} +1 -1
- package/dist/zonos-elements/p-5525b740.entry.js +1 -0
- package/dist/zonos-elements/p-578f0aad.system.js +1 -0
- package/dist/zonos-elements/{p-3e417d7c.entry.js → p-58a8ef6c.entry.js} +1 -1
- package/dist/zonos-elements/p-5d993965.js +1 -0
- package/dist/zonos-elements/{p-262b8e1e.system.entry.js → p-5f9c066d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-49120f0e.system.entry.js → p-60e262f0.system.entry.js} +1 -1
- package/dist/zonos-elements/p-64b594f4.js +1 -0
- package/dist/zonos-elements/{p-7891f8d2.entry.js → p-66471df6.entry.js} +1 -1
- package/dist/zonos-elements/{p-95c864ca.system.entry.js → p-679877b1.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fc4da55c.system.js → p-771fbeb3.system.js} +1 -1
- package/dist/zonos-elements/p-79f3c4f5.system.js +1 -0
- package/dist/zonos-elements/{p-e1ac5b2a.system.entry.js → p-80d78980.system.entry.js} +1 -1
- package/dist/zonos-elements/p-81a54668.js +1 -0
- package/dist/zonos-elements/p-83cc2936.js +1 -0
- package/dist/zonos-elements/{p-520e8e63.system.js → p-87badea9.system.js} +1 -1
- package/dist/zonos-elements/p-8a61a04f.system.entry.js +1 -0
- package/dist/zonos-elements/p-8b32f560.system.entry.js +1 -0
- package/dist/zonos-elements/{p-d01576d7.js → p-909a331c.js} +1 -1
- package/dist/zonos-elements/{p-031086ba.system.entry.js → p-94b15a5e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9768840a.system.entry.js → p-9a45fae5.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-24fee841.entry.js → p-9ec93319.entry.js} +1 -1
- package/dist/zonos-elements/p-a6d7ac46.js +1 -0
- package/dist/zonos-elements/{p-2a99c8b5.system.entry.js → p-a6eeb4bd.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1950dda7.entry.js → p-a93f2e84.entry.js} +1 -1
- package/dist/zonos-elements/p-aed0098c.system.js +1 -0
- package/dist/zonos-elements/{p-92446677.entry.js → p-b19d51e0.entry.js} +1 -1
- package/dist/zonos-elements/{p-46f9c93e.system.entry.js → p-b9652402.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d3772fd3.entry.js → p-baee62a4.entry.js} +1 -1
- package/dist/zonos-elements/{p-eff12c31.system.entry.js → p-bf32179a.system.entry.js} +1 -1
- package/dist/zonos-elements/p-cd1cc224.entry.js +1 -0
- package/dist/zonos-elements/{p-ae4a4634.system.entry.js → p-d1b63cec.system.entry.js} +1 -1
- package/dist/zonos-elements/p-d6b103d5.system.js +1 -0
- package/dist/zonos-elements/{p-376bdf70.entry.js → p-da6767d8.entry.js} +1 -1
- package/dist/zonos-elements/p-dde1383b.entry.js +1 -0
- package/dist/zonos-elements/p-df192668.system.js +1 -0
- package/dist/zonos-elements/{p-70ede197.system.entry.js → p-df24d548.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-6743734f.entry.js → p-e7b4b756.entry.js} +1 -1
- package/dist/zonos-elements/{p-d41b5762.js → p-f1962041.js} +1 -1
- package/dist/zonos-elements/{p-a0abc499.system.entry.js → p-f3d3c754.system.entry.js} +1 -1
- package/dist/zonos-elements/p-f79682b5.entry.js +1 -0
- package/dist/zonos-elements/zonos-elements.css +3 -3
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/package.json +3 -2
- package/dist/cjs/index-3b4816ef.js +0 -2088
- package/dist/cjs/sendErrorLog-29e50f7e.js +0 -29
- package/dist/cjs/zonos-address_4.cjs.entry.js +0 -388
- package/dist/cjs/zonos-icon.cjs.entry.js +0 -39
- package/dist/components/sendErrorLog.js +0 -21
- package/dist/esm/index-0e31d804.js +0 -2055
- package/dist/esm/sendErrorLog-8642e94a.js +0 -26
- package/dist/esm/zonos-address_4.entry.js +0 -381
- package/dist/esm/zonos-icon.entry.js +0 -35
- package/dist/esm-es5/cart-10bcd2e0.js +0 -1
- package/dist/esm-es5/getBorderRadius-8129b0cb.js +0 -1
- package/dist/esm-es5/index-0e31d804.js +0 -2
- package/dist/esm-es5/sendErrorLog-8642e94a.js +0 -1
- package/dist/esm-es5/submitGtag-84886899.js +0 -1
- package/dist/esm-es5/zonos-address_4.entry.js +0 -1
- package/dist/esm-es5/zonos-button_2.entry.js +0 -1
- package/dist/esm-es5/zonos-cart-items_10.entry.js +0 -1
- package/dist/esm-es5/zonos-icon.entry.js +0 -1
- package/dist/scripts/insertTranslations.js +0 -1
- package/dist/zonos-elements/p-0253aeae.entry.js +0 -1
- package/dist/zonos-elements/p-1264b362.entry.js +0 -1
- package/dist/zonos-elements/p-2244534c.js +0 -2
- package/dist/zonos-elements/p-2825570c.system.js +0 -2
- package/dist/zonos-elements/p-33abdb30.js +0 -1
- package/dist/zonos-elements/p-450942a3.system.js +0 -1
- package/dist/zonos-elements/p-48a2b8b0.entry.js +0 -1
- package/dist/zonos-elements/p-5ca09163.entry.js +0 -1
- package/dist/zonos-elements/p-5ff27485.js +0 -1
- package/dist/zonos-elements/p-6d9dbecb.system.entry.js +0 -1
- package/dist/zonos-elements/p-6e8d43de.entry.js +0 -1
- package/dist/zonos-elements/p-6f5761e8.js +0 -1
- package/dist/zonos-elements/p-78d22069.system.entry.js +0 -1
- package/dist/zonos-elements/p-8b44e558.system.js +0 -1
- package/dist/zonos-elements/p-8bc0e56a.system.entry.js +0 -1
- package/dist/zonos-elements/p-9350d19f.entry.js +0 -1
- package/dist/zonos-elements/p-9e8f1065.system.entry.js +0 -1
- package/dist/zonos-elements/p-a6bbf6de.system.entry.js +0 -1
- package/dist/zonos-elements/p-b8e8330b.system.js +0 -1
- package/dist/zonos-elements/p-be022d8e.entry.js +0 -1
- package/dist/zonos-elements/p-c6170bec.system.js +0 -1
- package/dist/zonos-elements/p-e705c44c.entry.js +0 -1
- package/dist/zonos-elements/p-ed2e94d2.js +0 -1
- package/dist/zonos-elements/p-f4c38bfc.system.js +0 -1
|
@@ -20,9 +20,15 @@ export const stringsSpanish = {
|
|
|
20
20
|
Back: {
|
|
21
21
|
value: 'Regresar',
|
|
22
22
|
},
|
|
23
|
+
Billing: {
|
|
24
|
+
value: 'Facturación',
|
|
25
|
+
},
|
|
23
26
|
'Billing address': {
|
|
24
27
|
value: 'Dirección de facturación',
|
|
25
28
|
},
|
|
29
|
+
Cancel: {
|
|
30
|
+
value: 'Cancelar',
|
|
31
|
+
},
|
|
26
32
|
'Cart subtotal': {
|
|
27
33
|
value: 'Subtotal del carrito',
|
|
28
34
|
},
|
|
@@ -59,6 +65,9 @@ export const stringsSpanish = {
|
|
|
59
65
|
'Duties, taxes, and fees': {
|
|
60
66
|
value: 'Aranceles, impuestos y cuotas',
|
|
61
67
|
},
|
|
68
|
+
Email: {
|
|
69
|
+
value: 'Correo electrónico',
|
|
70
|
+
},
|
|
62
71
|
'Error creating Checkout': {
|
|
63
72
|
value: 'Error al crear el pago',
|
|
64
73
|
},
|
|
@@ -68,6 +77,9 @@ export const stringsSpanish = {
|
|
|
68
77
|
'Expected delivery': {
|
|
69
78
|
value: 'Entrega esperada',
|
|
70
79
|
},
|
|
80
|
+
'First name': {
|
|
81
|
+
value: 'Nombre',
|
|
82
|
+
},
|
|
71
83
|
'Go to payment': {
|
|
72
84
|
value: 'Ir al pago',
|
|
73
85
|
},
|
|
@@ -80,6 +92,9 @@ export const stringsSpanish = {
|
|
|
80
92
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
81
93
|
value: 'Conozca los aranceles e impuestos antes de comprar. ¡Compre con confianza!',
|
|
82
94
|
},
|
|
95
|
+
'Last name': {
|
|
96
|
+
value: 'Apellido',
|
|
97
|
+
},
|
|
83
98
|
'Missing required fields. Make sure all fields are completed.': {
|
|
84
99
|
value: 'Faltan campos obligatorios. Asegúrate de que todos los campos estén completos.',
|
|
85
100
|
},
|
|
@@ -125,12 +140,12 @@ export const stringsSpanish = {
|
|
|
125
140
|
"Payment processing. We'll update you when payment is received.": {
|
|
126
141
|
value: 'Procesando pago. Le informaremos cuando se reciba el pago.',
|
|
127
142
|
},
|
|
143
|
+
'Phone number': {
|
|
144
|
+
value: 'Número de teléfono',
|
|
145
|
+
},
|
|
128
146
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
129
147
|
value: 'Por favor, asegúrese de que su texto use solo el alfabeto latino (A-Z, a-z).',
|
|
130
148
|
},
|
|
131
|
-
'Please resolve the following errors:': {
|
|
132
|
-
value: 'Por favor, resuelva los siguientes errores:',
|
|
133
|
-
},
|
|
134
149
|
'Postal code': {
|
|
135
150
|
value: 'Código postal',
|
|
136
151
|
},
|
|
@@ -176,6 +191,9 @@ export const stringsSpanish = {
|
|
|
176
191
|
State: {
|
|
177
192
|
value: 'Estado',
|
|
178
193
|
},
|
|
194
|
+
'State/Province': {
|
|
195
|
+
value: 'Estado/Provincia',
|
|
196
|
+
},
|
|
179
197
|
'Taxes will apply to all orders': {
|
|
180
198
|
value: 'Los impuestos se aplicarán a todos los pedidos',
|
|
181
199
|
},
|
|
@@ -185,6 +203,18 @@ export const stringsSpanish = {
|
|
|
185
203
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
186
204
|
value: 'Se ha producido un error al actualizar su sesión de pago. Vuelva a cargar la página e inténtelo de nuevo o póngase en contacto con el soporte si el error persiste',
|
|
187
205
|
},
|
|
206
|
+
'To ensure delivery all address details must be in Latin characters.': {
|
|
207
|
+
value: 'Para asegurar la entrega, todos los detalles de la dirección deben estar en caracteres latinos.',
|
|
208
|
+
},
|
|
209
|
+
'Translated address': {
|
|
210
|
+
value: 'Dirección traducida',
|
|
211
|
+
},
|
|
212
|
+
'Update address': {
|
|
213
|
+
value: 'Actualizar dirección',
|
|
214
|
+
},
|
|
215
|
+
'Update your address': {
|
|
216
|
+
value: 'Actualiza tu dirección',
|
|
217
|
+
},
|
|
188
218
|
"We couldn't complete your payment. Please verify the payment details and try again.": {
|
|
189
219
|
value: 'No pudimos completar su pago. Por favor verifique los datos de pago y vuelva a intentarlo.',
|
|
190
220
|
},
|
|
@@ -197,6 +227,9 @@ export const stringsSpanish = {
|
|
|
197
227
|
'Welcome!': {
|
|
198
228
|
value: '¡Bienvenido!',
|
|
199
229
|
},
|
|
230
|
+
'What you entered': {
|
|
231
|
+
value: 'Lo que ingresaste',
|
|
232
|
+
},
|
|
200
233
|
"You're all set!": {
|
|
201
234
|
value: '¡Está todo listo!',
|
|
202
235
|
},
|
|
@@ -212,9 +245,6 @@ export const stringsSpanish = {
|
|
|
212
245
|
'duty free': {
|
|
213
246
|
value: 'libre de impuestos',
|
|
214
247
|
},
|
|
215
|
-
'only supports Latin characters (A-Z, a-z)': {
|
|
216
|
-
value: 'solo admite caracteres latinos (A-Z, a-z)',
|
|
217
|
-
},
|
|
218
248
|
'tax free': {
|
|
219
249
|
value: 'libre de impuestos',
|
|
220
250
|
},
|
|
@@ -20,9 +20,15 @@ export const stringsSwedish = {
|
|
|
20
20
|
Back: {
|
|
21
21
|
value: 'Tillbaka',
|
|
22
22
|
},
|
|
23
|
+
Billing: {
|
|
24
|
+
value: 'Fakturering',
|
|
25
|
+
},
|
|
23
26
|
'Billing address': {
|
|
24
27
|
value: 'Fakturaadress',
|
|
25
28
|
},
|
|
29
|
+
Cancel: {
|
|
30
|
+
value: 'Avbryt',
|
|
31
|
+
},
|
|
26
32
|
'Cart subtotal': {
|
|
27
33
|
value: 'Varukorgens delsumma',
|
|
28
34
|
},
|
|
@@ -59,6 +65,9 @@ export const stringsSwedish = {
|
|
|
59
65
|
'Duties, taxes, and fees': {
|
|
60
66
|
value: 'Tull, skatter och avgifter',
|
|
61
67
|
},
|
|
68
|
+
Email: {
|
|
69
|
+
value: 'E-post',
|
|
70
|
+
},
|
|
62
71
|
'Error creating Checkout': {
|
|
63
72
|
value: 'Fel vid skapande av utcheckning',
|
|
64
73
|
},
|
|
@@ -68,6 +77,9 @@ export const stringsSwedish = {
|
|
|
68
77
|
'Expected delivery': {
|
|
69
78
|
value: 'Beräknad leverans',
|
|
70
79
|
},
|
|
80
|
+
'First name': {
|
|
81
|
+
value: 'Förnamn',
|
|
82
|
+
},
|
|
71
83
|
'Go to payment': {
|
|
72
84
|
value: 'Gå till betalning',
|
|
73
85
|
},
|
|
@@ -80,6 +92,9 @@ export const stringsSwedish = {
|
|
|
80
92
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
81
93
|
value: 'Känn till tull och skatter innan du köper. Handla med förtroende!',
|
|
82
94
|
},
|
|
95
|
+
'Last name': {
|
|
96
|
+
value: 'Efternamn',
|
|
97
|
+
},
|
|
83
98
|
'Missing required fields. Make sure all fields are completed.': {
|
|
84
99
|
value: 'Obligatoriska fält saknas. Se till att alla fält är ifyllda.',
|
|
85
100
|
},
|
|
@@ -125,12 +140,12 @@ export const stringsSwedish = {
|
|
|
125
140
|
"Payment processing. We'll update you when payment is received.": {
|
|
126
141
|
value: 'Betalningsbehandling. Vi kommer att uppdatera dig när betalningen har mottagits.',
|
|
127
142
|
},
|
|
143
|
+
'Phone number': {
|
|
144
|
+
value: 'Telefonnummer',
|
|
145
|
+
},
|
|
128
146
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
129
147
|
value: 'Vänligen se till att din text endast använder det latinska alfabetet (A-Z, a-z).',
|
|
130
148
|
},
|
|
131
|
-
'Please resolve the following errors:': {
|
|
132
|
-
value: 'Vänligen åtgärda följande fel:',
|
|
133
|
-
},
|
|
134
149
|
'Postal code': {
|
|
135
150
|
value: 'Postnummer',
|
|
136
151
|
},
|
|
@@ -176,6 +191,9 @@ export const stringsSwedish = {
|
|
|
176
191
|
State: {
|
|
177
192
|
value: 'Stat',
|
|
178
193
|
},
|
|
194
|
+
'State/Province': {
|
|
195
|
+
value: 'Delstat/Provins',
|
|
196
|
+
},
|
|
179
197
|
'Taxes will apply to all orders': {
|
|
180
198
|
value: 'Skatter kommer att gälla för alla beställningar',
|
|
181
199
|
},
|
|
@@ -185,6 +203,18 @@ export const stringsSwedish = {
|
|
|
185
203
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
186
204
|
value: 'Det har uppstått ett fel när din utcheckningssession uppdaterades. Vänligen ladda om sidan och försök igen eller kontakta supporten om felet kvarstår',
|
|
187
205
|
},
|
|
206
|
+
'To ensure delivery all address details must be in Latin characters.': {
|
|
207
|
+
value: 'För att säkerställa leveransen måste alla adressuppgifter vara på latinska tecken.',
|
|
208
|
+
},
|
|
209
|
+
'Translated address': {
|
|
210
|
+
value: 'Översatt adress',
|
|
211
|
+
},
|
|
212
|
+
'Update address': {
|
|
213
|
+
value: 'Uppdatera adress',
|
|
214
|
+
},
|
|
215
|
+
'Update your address': {
|
|
216
|
+
value: 'Uppdatera din adress',
|
|
217
|
+
},
|
|
188
218
|
"We couldn't complete your payment. Please verify the payment details and try again.": {
|
|
189
219
|
value: 'Vi kunde inte slutföra din betalning. Vänligen verifiera betalningsuppgifterna och försök igen.',
|
|
190
220
|
},
|
|
@@ -197,6 +227,9 @@ export const stringsSwedish = {
|
|
|
197
227
|
'Welcome!': {
|
|
198
228
|
value: 'Välkommen!',
|
|
199
229
|
},
|
|
230
|
+
'What you entered': {
|
|
231
|
+
value: 'Det du angav',
|
|
232
|
+
},
|
|
200
233
|
"You're all set!": {
|
|
201
234
|
value: 'Du är klar!',
|
|
202
235
|
},
|
|
@@ -212,9 +245,6 @@ export const stringsSwedish = {
|
|
|
212
245
|
'duty free': {
|
|
213
246
|
value: 'tullfri',
|
|
214
247
|
},
|
|
215
|
-
'only supports Latin characters (A-Z, a-z)': {
|
|
216
|
-
value: 'stöder endast latinska tecken (A-Z, a-z)',
|
|
217
|
-
},
|
|
218
248
|
'tax free': {
|
|
219
249
|
value: 'skattefri',
|
|
220
250
|
},
|
|
@@ -20,9 +20,15 @@ export const stringsTurkish = {
|
|
|
20
20
|
Back: {
|
|
21
21
|
value: 'Geri',
|
|
22
22
|
},
|
|
23
|
+
Billing: {
|
|
24
|
+
value: 'Faturalama',
|
|
25
|
+
},
|
|
23
26
|
'Billing address': {
|
|
24
27
|
value: 'Fatura Adresi',
|
|
25
28
|
},
|
|
29
|
+
Cancel: {
|
|
30
|
+
value: 'İptal',
|
|
31
|
+
},
|
|
26
32
|
'Cart subtotal': {
|
|
27
33
|
value: 'Sepet ara toplam',
|
|
28
34
|
},
|
|
@@ -59,6 +65,9 @@ export const stringsTurkish = {
|
|
|
59
65
|
'Duties, taxes, and fees': {
|
|
60
66
|
value: 'Gümrük vergisi, vergiler ve ücretler',
|
|
61
67
|
},
|
|
68
|
+
Email: {
|
|
69
|
+
value: 'E-posta',
|
|
70
|
+
},
|
|
62
71
|
'Error creating Checkout': {
|
|
63
72
|
value: 'Ödeme oluşturma hatası',
|
|
64
73
|
},
|
|
@@ -68,6 +77,9 @@ export const stringsTurkish = {
|
|
|
68
77
|
'Expected delivery': {
|
|
69
78
|
value: 'Beklenen teslimat',
|
|
70
79
|
},
|
|
80
|
+
'First name': {
|
|
81
|
+
value: 'Ad',
|
|
82
|
+
},
|
|
71
83
|
'Go to payment': {
|
|
72
84
|
value: 'Ödemeye git',
|
|
73
85
|
},
|
|
@@ -80,6 +92,9 @@ export const stringsTurkish = {
|
|
|
80
92
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
81
93
|
value: 'Satın almadan önce vergi ve gümrük vergileri hakkında bilgi edinin. Güvenle alışveriş yapın!',
|
|
82
94
|
},
|
|
95
|
+
'Last name': {
|
|
96
|
+
value: 'Soyad',
|
|
97
|
+
},
|
|
83
98
|
'Missing required fields. Make sure all fields are completed.': {
|
|
84
99
|
value: 'Gerekli alanlar eksik. Tüm alanların tamamlandığından emin olun.',
|
|
85
100
|
},
|
|
@@ -125,12 +140,12 @@ export const stringsTurkish = {
|
|
|
125
140
|
"Payment processing. We'll update you when payment is received.": {
|
|
126
141
|
value: 'Ödeme işleniyor. Ödeme alındığında sizi bilgilendireceğiz.',
|
|
127
142
|
},
|
|
143
|
+
'Phone number': {
|
|
144
|
+
value: 'Telefon numarası',
|
|
145
|
+
},
|
|
128
146
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
129
147
|
value: 'Lütfen metninizin sadece Latin alfabesini kullandığından emin olun (A-Z, a-z).',
|
|
130
148
|
},
|
|
131
|
-
'Please resolve the following errors:': {
|
|
132
|
-
value: 'Lütfen aşağıdaki hataları çözün:',
|
|
133
|
-
},
|
|
134
149
|
'Postal code': {
|
|
135
150
|
value: 'Posta kodu',
|
|
136
151
|
},
|
|
@@ -176,6 +191,9 @@ export const stringsTurkish = {
|
|
|
176
191
|
State: {
|
|
177
192
|
value: 'Eyalet',
|
|
178
193
|
},
|
|
194
|
+
'State/Province': {
|
|
195
|
+
value: 'Eyalet/İl',
|
|
196
|
+
},
|
|
179
197
|
'Taxes will apply to all orders': {
|
|
180
198
|
value: 'Vergiler tüm siparişlere uygulanacak.',
|
|
181
199
|
},
|
|
@@ -185,6 +203,18 @@ export const stringsTurkish = {
|
|
|
185
203
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
186
204
|
value: 'Ödeme oturumunuzu güncelleme sırasında bir hata oluştu. Lütfen hata devam ederse sayfayı yeniden yükleyin ve tekrar deneyin veya destekle iletişime geçin',
|
|
187
205
|
},
|
|
206
|
+
'To ensure delivery all address details must be in Latin characters.': {
|
|
207
|
+
value: 'Teslimatı sağlamak için tüm adres detaylarının Latin karakterleriyle olması gerekir.',
|
|
208
|
+
},
|
|
209
|
+
'Translated address': {
|
|
210
|
+
value: 'Çevrilmiş adres',
|
|
211
|
+
},
|
|
212
|
+
'Update address': {
|
|
213
|
+
value: 'Adresi güncelle',
|
|
214
|
+
},
|
|
215
|
+
'Update your address': {
|
|
216
|
+
value: 'Adresini güncelle',
|
|
217
|
+
},
|
|
188
218
|
"We couldn't complete your payment. Please verify the payment details and try again.": {
|
|
189
219
|
value: 'Ödemenizi tamamlayamadık. Lütfen ödeme bilgilerinizi kontrol edip tekrar deneyin.',
|
|
190
220
|
},
|
|
@@ -197,6 +227,9 @@ export const stringsTurkish = {
|
|
|
197
227
|
'Welcome!': {
|
|
198
228
|
value: 'Hoş geldiniz!',
|
|
199
229
|
},
|
|
230
|
+
'What you entered': {
|
|
231
|
+
value: 'Girdiğin şey',
|
|
232
|
+
},
|
|
200
233
|
"You're all set!": {
|
|
201
234
|
value: 'Hazırsınız!',
|
|
202
235
|
},
|
|
@@ -212,9 +245,6 @@ export const stringsTurkish = {
|
|
|
212
245
|
'duty free': {
|
|
213
246
|
value: 'gümrüksüz',
|
|
214
247
|
},
|
|
215
|
-
'only supports Latin characters (A-Z, a-z)': {
|
|
216
|
-
value: 'sadece Latin karakterleri destekler (A-Z, a-z)',
|
|
217
|
-
},
|
|
218
248
|
'tax free': {
|
|
219
249
|
value: 'vergisiz',
|
|
220
250
|
},
|
|
@@ -20,9 +20,15 @@ export const stringsVietnamese = {
|
|
|
20
20
|
Back: {
|
|
21
21
|
value: 'Quay lại',
|
|
22
22
|
},
|
|
23
|
+
Billing: {
|
|
24
|
+
value: 'Thanh toán',
|
|
25
|
+
},
|
|
23
26
|
'Billing address': {
|
|
24
27
|
value: 'Địa chỉ thanh toán',
|
|
25
28
|
},
|
|
29
|
+
Cancel: {
|
|
30
|
+
value: 'Hủy bỏ',
|
|
31
|
+
},
|
|
26
32
|
'Cart subtotal': {
|
|
27
33
|
value: 'Tổng giỏ hàng',
|
|
28
34
|
},
|
|
@@ -59,6 +65,9 @@ export const stringsVietnamese = {
|
|
|
59
65
|
'Duties, taxes, and fees': {
|
|
60
66
|
value: 'Thuế, phí và lệ phí',
|
|
61
67
|
},
|
|
68
|
+
Email: {
|
|
69
|
+
value: 'Email',
|
|
70
|
+
},
|
|
62
71
|
'Error creating Checkout': {
|
|
63
72
|
value: 'Lỗi khi tạo phiên thanh toán',
|
|
64
73
|
},
|
|
@@ -68,6 +77,9 @@ export const stringsVietnamese = {
|
|
|
68
77
|
'Expected delivery': {
|
|
69
78
|
value: 'Dự kiến giao hàng',
|
|
70
79
|
},
|
|
80
|
+
'First name': {
|
|
81
|
+
value: 'Tên',
|
|
82
|
+
},
|
|
71
83
|
'Go to payment': {
|
|
72
84
|
value: 'Đi đến thanh toán',
|
|
73
85
|
},
|
|
@@ -80,6 +92,9 @@ export const stringsVietnamese = {
|
|
|
80
92
|
'Know about duties and taxes before you buy. Shop with confidence!': {
|
|
81
93
|
value: 'Tìm hiểu về thuế và phí trước khi mua hàng. Mua sắm với sự tự tin!',
|
|
82
94
|
},
|
|
95
|
+
'Last name': {
|
|
96
|
+
value: 'Họ',
|
|
97
|
+
},
|
|
83
98
|
'Missing required fields. Make sure all fields are completed.': {
|
|
84
99
|
value: 'Thiếu trường bắt buộc. Đảm bảo tất cả các trường đã được hoàn thành.',
|
|
85
100
|
},
|
|
@@ -125,12 +140,12 @@ export const stringsVietnamese = {
|
|
|
125
140
|
"Payment processing. We'll update you when payment is received.": {
|
|
126
141
|
value: 'Đang xử lý thanh toán. Chúng tôi sẽ thông báo khi nhận được thanh toán.',
|
|
127
142
|
},
|
|
143
|
+
'Phone number': {
|
|
144
|
+
value: 'Số điện thoại',
|
|
145
|
+
},
|
|
128
146
|
'Please ensure your text uses the Latin alphabet only (A-Z, a-z).': {
|
|
129
147
|
value: 'Vui lòng đảm bảo rằng văn bản của bạn chỉ sử dụng bảng chữ cái Latinh (A-Z, a-z).',
|
|
130
148
|
},
|
|
131
|
-
'Please resolve the following errors:': {
|
|
132
|
-
value: 'Vui lòng giải quyết các lỗi sau:',
|
|
133
|
-
},
|
|
134
149
|
'Postal code': {
|
|
135
150
|
value: 'Mã bưu điện',
|
|
136
151
|
},
|
|
@@ -176,6 +191,9 @@ export const stringsVietnamese = {
|
|
|
176
191
|
State: {
|
|
177
192
|
value: 'Bang',
|
|
178
193
|
},
|
|
194
|
+
'State/Province': {
|
|
195
|
+
value: 'Bang/Tỉnh',
|
|
196
|
+
},
|
|
179
197
|
'Taxes will apply to all orders': {
|
|
180
198
|
value: 'Thuế sẽ áp dụng cho tất cả đơn hàng',
|
|
181
199
|
},
|
|
@@ -185,6 +203,18 @@ export const stringsVietnamese = {
|
|
|
185
203
|
"There's been an error updating your checkout session. Please reload and try again or contact support if the error persists": {
|
|
186
204
|
value: 'Đã xảy ra lỗi khi cập nhật phiên thanh toán của bạn. Vui lòng tải lại và thử lại hoặc liên hệ với hỗ trợ nếu lỗi vẫn tiếp tục',
|
|
187
205
|
},
|
|
206
|
+
'To ensure delivery all address details must be in Latin characters.': {
|
|
207
|
+
value: 'Để đảm bảo giao hàng, tất cả chi tiết địa chỉ phải bằng ký tự Latinh.',
|
|
208
|
+
},
|
|
209
|
+
'Translated address': {
|
|
210
|
+
value: 'Địa chỉ đã dịch',
|
|
211
|
+
},
|
|
212
|
+
'Update address': {
|
|
213
|
+
value: 'Cập nhật địa chỉ',
|
|
214
|
+
},
|
|
215
|
+
'Update your address': {
|
|
216
|
+
value: 'Cập nhật địa chỉ của bạn',
|
|
217
|
+
},
|
|
188
218
|
"We couldn't complete your payment. Please verify the payment details and try again.": {
|
|
189
219
|
value: 'Chúng tôi không thể hoàn tất thanh toán của bạn. Vui lòng xác minh thông tin thanh toán và thử lại.',
|
|
190
220
|
},
|
|
@@ -197,6 +227,9 @@ export const stringsVietnamese = {
|
|
|
197
227
|
'Welcome!': {
|
|
198
228
|
value: 'Chào mừng!',
|
|
199
229
|
},
|
|
230
|
+
'What you entered': {
|
|
231
|
+
value: 'Những gì bạn đã nhập',
|
|
232
|
+
},
|
|
200
233
|
"You're all set!": {
|
|
201
234
|
value: 'Bạn đã sẵn sàng!',
|
|
202
235
|
},
|
|
@@ -212,9 +245,6 @@ export const stringsVietnamese = {
|
|
|
212
245
|
'duty free': {
|
|
213
246
|
value: 'miễn thuế',
|
|
214
247
|
},
|
|
215
|
-
'only supports Latin characters (A-Z, a-z)': {
|
|
216
|
-
value: 'chỉ hỗ trợ ký tự Latinh (A-Z, a-z)',
|
|
217
|
-
},
|
|
218
248
|
'tax free': {
|
|
219
249
|
value: 'không chịu thuế',
|
|
220
250
|
},
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
import { h, Host, } from "@stencil/core";
|
|
2
2
|
import { stripeStore } from "../../store/checkout/stripe";
|
|
3
3
|
import { localizationStore } from "../../store/hello/localization";
|
|
4
|
-
import { translate } from "../../store/translationStore";
|
|
5
|
-
import { zonosStore } from "../../store/zonosStore";
|
|
6
4
|
import { isCheckoutMobile } from "../../utils/checkout/isCheckoutMobile";
|
|
7
|
-
import { containsNonLatinChars } from "../../utils/containsNonLatinChars";
|
|
8
5
|
import { logError } from "../../utils/logging/logError";
|
|
9
|
-
import { sendErrorLog } from "../../utils/logging/sendErrorLog";
|
|
10
|
-
const mappedFields = {
|
|
11
|
-
city: 'City',
|
|
12
|
-
country: 'Country',
|
|
13
|
-
line1: 'Address line 1',
|
|
14
|
-
line2: 'Address line 2',
|
|
15
|
-
name: 'Name',
|
|
16
|
-
postal_code: 'Postal code',
|
|
17
|
-
state: 'State',
|
|
18
|
-
};
|
|
19
6
|
/**
|
|
20
7
|
* This component is a wrapper for the stripe address element that would render default style object
|
|
21
8
|
*/
|
|
@@ -25,8 +12,6 @@ export class ZonosAddress {
|
|
|
25
12
|
this.titleText = undefined;
|
|
26
13
|
this.defaultAddress = null;
|
|
27
14
|
this.stripe = window.Zonos.stripe;
|
|
28
|
-
this.reportedInvalidCharacters = false;
|
|
29
|
-
this.invalidCharacterList = null;
|
|
30
15
|
this.isDirtyAddress = false;
|
|
31
16
|
}
|
|
32
17
|
getStripeAddressInstance() {
|
|
@@ -52,9 +37,6 @@ export class ZonosAddress {
|
|
|
52
37
|
stripeStore.stripeAddressEventData = event;
|
|
53
38
|
break;
|
|
54
39
|
}
|
|
55
|
-
const invalidCharacterList = this.checkInvalidCharacters(event);
|
|
56
|
-
this.invalidCharacterList = invalidCharacterList;
|
|
57
|
-
this.invalidCharacters.emit(!!invalidCharacterList);
|
|
58
40
|
}
|
|
59
41
|
updateAddressElement({ stripeAddressElement, type, }) {
|
|
60
42
|
if (type === 'shipping') {
|
|
@@ -63,47 +45,6 @@ export class ZonosAddress {
|
|
|
63
45
|
}
|
|
64
46
|
stripeStore.stripeBillingAddressElement = stripeAddressElement;
|
|
65
47
|
}
|
|
66
|
-
checkInvalidCharacters(address) {
|
|
67
|
-
// Do nothing if the allowed character sets is ALL or the address is incomplete
|
|
68
|
-
if (!address.complete ||
|
|
69
|
-
zonosStore.checkoutSettings.allowedCharacterSets === 'ALL') {
|
|
70
|
-
return null;
|
|
71
|
-
}
|
|
72
|
-
const { address: addressValue, firstName, lastName, name } = address.value;
|
|
73
|
-
const { city, country, line1, line2, postal_code, state } = addressValue;
|
|
74
|
-
const invalidList = containsNonLatinChars({
|
|
75
|
-
city,
|
|
76
|
-
country,
|
|
77
|
-
line1,
|
|
78
|
-
line2: line2 || '',
|
|
79
|
-
name: name || `${firstName} ${lastName}`,
|
|
80
|
-
postal_code,
|
|
81
|
-
state,
|
|
82
|
-
});
|
|
83
|
-
if (!Object.keys(invalidList).length) {
|
|
84
|
-
return null;
|
|
85
|
-
}
|
|
86
|
-
// send error event only once so we know what value is invalid
|
|
87
|
-
if (!this.reportedInvalidCharacters) {
|
|
88
|
-
this.reportedInvalidCharacters = true;
|
|
89
|
-
void sendErrorLog({
|
|
90
|
-
endpoint: 'NonLatinInput',
|
|
91
|
-
errors: Object.keys(invalidList).map(fieldName => {
|
|
92
|
-
var _a;
|
|
93
|
-
if (fieldName !== 'name') {
|
|
94
|
-
// trim all number so we don't send sensitive information
|
|
95
|
-
const trimmedAddress = (_a = addressValue[fieldName]) === null || _a === void 0 ? void 0 : _a.replace(/[\d\w]+/g, '');
|
|
96
|
-
return `Invalid character found ${fieldName}: "${trimmedAddress}"`;
|
|
97
|
-
}
|
|
98
|
-
const customerName = name || `${firstName} ${lastName}`;
|
|
99
|
-
const trimmedName = customerName.replace(/[\d\w]+/g, '');
|
|
100
|
-
return `Invalid character found ${fieldName}: "${trimmedName}"`;
|
|
101
|
-
}),
|
|
102
|
-
metadata: {},
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
return invalidList;
|
|
106
|
-
}
|
|
107
48
|
async watchInitStripe() {
|
|
108
49
|
var _a, _b;
|
|
109
50
|
this.stripe = window.Zonos.stripe;
|
|
@@ -191,17 +132,10 @@ export class ZonosAddress {
|
|
|
191
132
|
stripeAddressEventData.value.address.line1.length > 0;
|
|
192
133
|
// @Watch doesn't get trigger on initial load
|
|
193
134
|
void this.watchInitStripe();
|
|
194
|
-
setTimeout(() => {
|
|
195
|
-
// check if the address contains invalid characters after address is loaded
|
|
196
|
-
const newStripeAddressEventData = this.getStripeAddressInstance().stripeAddressEventData;
|
|
197
|
-
if (newStripeAddressEventData) {
|
|
198
|
-
this.checkInvalidCharacters(newStripeAddressEventData);
|
|
199
|
-
}
|
|
200
|
-
}, 500);
|
|
201
135
|
}
|
|
202
136
|
render() {
|
|
203
137
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
204
|
-
return (h(Host, { key: '
|
|
138
|
+
return (h(Host, { key: 'f45a7bbe9d6b5ffac15671a862b3ad4f2eb4a87b', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'a9119e6e0c4e5c81a7d17ebe4d6bec925404a3dd', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '7dc12043c6e75ebabd646490c390bafdc2cd4a1d', class: "zonos--address-component" })));
|
|
205
139
|
}
|
|
206
140
|
static get is() { return "zonos-address"; }
|
|
207
141
|
static get encapsulation() { return "scoped"; }
|
|
@@ -255,10 +189,10 @@ export class ZonosAddress {
|
|
|
255
189
|
"type": "unknown",
|
|
256
190
|
"mutable": false,
|
|
257
191
|
"complexType": {
|
|
258
|
-
"original": "
|
|
192
|
+
"original": "StripeContactOption | null",
|
|
259
193
|
"resolved": "ContactOption | null",
|
|
260
194
|
"references": {
|
|
261
|
-
"
|
|
195
|
+
"StripeContactOption": {
|
|
262
196
|
"location": "import",
|
|
263
197
|
"path": "@stripe/stripe-js",
|
|
264
198
|
"id": ""
|
|
@@ -278,8 +212,6 @@ export class ZonosAddress {
|
|
|
278
212
|
static get states() {
|
|
279
213
|
return {
|
|
280
214
|
"stripe": {},
|
|
281
|
-
"reportedInvalidCharacters": {},
|
|
282
|
-
"invalidCharacterList": {},
|
|
283
215
|
"isDirtyAddress": {}
|
|
284
216
|
};
|
|
285
217
|
}
|
package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
2
|
import { h, Host } from "@stencil/core";
|
|
3
|
-
import { stripeStore
|
|
3
|
+
import { stripeStore } from "../../store/checkout/stripe";
|
|
4
4
|
import { logError } from "../../utils/logging/logError";
|
|
5
5
|
/**
|
|
6
6
|
* This component is a wrapper for the stripe authentication element that would render default style object
|
|
@@ -8,15 +8,23 @@ import { logError } from "../../utils/logging/logError";
|
|
|
8
8
|
export class ZonosLinkAuthentication {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.titleText = undefined;
|
|
11
|
+
this.defaultEmail = null;
|
|
11
12
|
this.stripe = stripeStore.stripe;
|
|
12
13
|
}
|
|
13
14
|
watchInitStripe() {
|
|
14
15
|
if (!this.stripe || !stripeStore.stripeElements) {
|
|
15
16
|
return;
|
|
16
17
|
}
|
|
18
|
+
const defaultValues = this.defaultEmail
|
|
19
|
+
? {
|
|
20
|
+
email: this.defaultEmail,
|
|
21
|
+
}
|
|
22
|
+
: undefined;
|
|
17
23
|
// Create and mount the Authentication Element in ${type} mode
|
|
18
24
|
const linkAuthenticationElement = stripeStore.stripeLinkElement ||
|
|
19
|
-
stripeStore.stripeElements.create('linkAuthentication'
|
|
25
|
+
stripeStore.stripeElements.create('linkAuthentication', {
|
|
26
|
+
defaultValues: defaultValues || undefined,
|
|
27
|
+
});
|
|
20
28
|
const linkAuthenticationElementContainer = this.el.querySelector('.zonos--link-authentication-component');
|
|
21
29
|
if (!linkAuthenticationElementContainer) {
|
|
22
30
|
logError('Cannot find container element for linkAuthenticationElement');
|
|
@@ -25,8 +33,6 @@ export class ZonosLinkAuthentication {
|
|
|
25
33
|
linkAuthenticationElement.mount(linkAuthenticationElementContainer);
|
|
26
34
|
linkAuthenticationElement.on('change', event => {
|
|
27
35
|
stripeStore.stripeLinkEventData = event;
|
|
28
|
-
// run prefetch landed cost when address is changed
|
|
29
|
-
void stripeStorePrefetchLandedCost();
|
|
30
36
|
});
|
|
31
37
|
stripeStore.stripeLinkElement = linkAuthenticationElement;
|
|
32
38
|
}
|
|
@@ -36,7 +42,7 @@ export class ZonosLinkAuthentication {
|
|
|
36
42
|
}
|
|
37
43
|
render() {
|
|
38
44
|
// 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: '
|
|
45
|
+
return (h(Host, { key: '4a7b9eb534e938f791f70e04756aa9fb1c39f2c7', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'cc4fe49ed6d4bd7cec502ef739b9e835e9e26584', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'f04a438d04e6ccd608d7ff61ac300fb09da4f0ce', class: "zonos--link-authentication-component" })));
|
|
40
46
|
}
|
|
41
47
|
static get is() { return "zonos-link-authentication"; }
|
|
42
48
|
static get encapsulation() { return "scoped"; }
|
|
@@ -68,6 +74,24 @@ export class ZonosLinkAuthentication {
|
|
|
68
74
|
},
|
|
69
75
|
"attribute": "title-text",
|
|
70
76
|
"reflect": false
|
|
77
|
+
},
|
|
78
|
+
"defaultEmail": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"mutable": false,
|
|
81
|
+
"complexType": {
|
|
82
|
+
"original": "string | null",
|
|
83
|
+
"resolved": "null | string",
|
|
84
|
+
"references": {}
|
|
85
|
+
},
|
|
86
|
+
"required": false,
|
|
87
|
+
"optional": false,
|
|
88
|
+
"docs": {
|
|
89
|
+
"tags": [],
|
|
90
|
+
"text": "Default email for stripe"
|
|
91
|
+
},
|
|
92
|
+
"attribute": "default-email",
|
|
93
|
+
"reflect": false,
|
|
94
|
+
"defaultValue": "null"
|
|
71
95
|
}
|
|
72
96
|
};
|
|
73
97
|
}
|
|
@@ -37,7 +37,7 @@ export class ZonosPayment {
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '7967dfeb2c8661201aed74d3d9f4be1df9eb993d', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '2a3b744c1935f471897ab492efa7d3788907b126', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '7d643ec935dc15339c79237572bd067efa8f23ea', class: "zonos--payment-component" })));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "zonos-payment"; }
|
|
43
43
|
static get encapsulation() { return "scoped"; }
|