@zonos/elements 1.3.18-alpha.1 → 1.3.18-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{cart-95209ae8.js → cart-941a31dd.js} +255 -5
- package/dist/cjs/{getBorderRadius-44b3eca1.js → getBorderRadius-bcb309a8.js} +1 -1
- package/dist/cjs/{index-654a6001.js → index-b071017b.js} +4 -1
- package/dist/cjs/{isDarkColor-01f45d3f.js → isDarkColor-b0393089.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{submitGtag-9d60f3bb.js → submitGtag-9210b4fe.js} +2 -2
- package/dist/cjs/zonos-address_8.cjs.entry.js +22 -11
- package/dist/cjs/zonos-badge_2.cjs.entry.js +4 -4
- package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
- package/dist/cjs/zonos-button_3.cjs.entry.js +22 -11
- package/dist/cjs/zonos-card_2.cjs.entry.js +7 -7
- package/dist/cjs/{zonos-cart-items_10.cjs.entry.js → zonos-cart-items_11.cjs.entry.js} +112 -6
- package/dist/cjs/zonos-checkout.cjs.entry.js +34 -8
- 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 +11 -11
- package/dist/cjs/zonos-elements.cjs.js +2 -2
- 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 +7 -7
- package/dist/cjs/zonos-link.cjs.entry.js +1 -1
- package/dist/cjs/zonos-logo.cjs.entry.js +4 -4
- package/dist/cjs/zonos-notification.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/zonos-text.cjs.entry.js +2 -2
- package/dist/cjs/{zonosStore-d8bb0bda.js → zonosStore-7c6205ca.js} +2 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +42 -5
- package/dist/collection/components/common/zonos-button/zonos-button.css +12 -0
- package/dist/collection/components/common/zonos-button/zonos-button.js +43 -8
- package/dist/collection/components/common/zonos-confirm-dialog/assets/ExclamationMarkDuotoneIcon.svg +4 -0
- package/dist/collection/components/common/zonos-confirm-dialog/assets/HelpDuotoneIcon.svg +4 -0
- package/dist/collection/components/common/zonos-confirm-dialog/assets/WarningDuotoneIcon.svg +4 -0
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.css +125 -0
- package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +322 -0
- 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 +1 -4
- package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +38 -4
- package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
- 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-select-dialog-header/zonos-select-dialog-header.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/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 +3 -3
- package/dist/collection/components/main/zonos-controller.js +3 -3
- package/dist/collection/components/store/hello/localization.js +12 -2
- 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/store/zonosStore.js +1 -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 +1 -1
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
- package/dist/collection/scripts/zonosBase.js +2 -1
- package/dist/components/stripe.js +12 -2
- package/dist/components/translationStore.js +240 -0
- package/dist/components/zonos-address2.js +1 -1
- package/dist/components/zonos-button2.js +20 -8
- package/dist/components/zonos-checkout.js +70 -37
- package/dist/components/zonos-component.js +1 -1
- package/dist/components/zonos-confirm-dialog.d.ts +11 -0
- package/dist/components/zonos-confirm-dialog.js +6 -0
- package/dist/components/zonos-confirm-dialog2.js +161 -0
- package/dist/components/zonos-controller.js +1 -1
- package/dist/components/zonos-country-select2.js +2 -2
- package/dist/components/zonos-custom-message2.js +2 -2
- package/dist/components/zonos-dialog2.js +17 -5
- package/dist/components/zonos-hello-dialog-footer2.js +2 -2
- package/dist/components/zonos-hello-dialog2.js +3 -3
- package/dist/components/zonos-input2.js +4 -4
- package/dist/components/zonos-language-select2.js +2 -2
- package/dist/components/zonos-link-authentication2.js +1 -1
- package/dist/components/zonos-logo.js +2 -2
- package/dist/components/zonos-payment2.js +1 -1
- package/dist/components/zonos-select-dialog-header2.js +2 -2
- package/dist/components/zonos-tooltip2.js +2 -2
- package/dist/components/zonos-v-stack2.js +2 -2
- package/dist/components/zonosStore.js +1 -0
- package/dist/esm/{cart-6448e883.js → cart-cc593c2b.js} +255 -5
- package/dist/esm/{getBorderRadius-567f1786.js → getBorderRadius-d244b4b1.js} +1 -1
- package/dist/esm/{index-e063389c.js → index-3b46f3c3.js} +4 -1
- package/dist/esm/{isDarkColor-7f62035a.js → isDarkColor-39a36e82.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{submitGtag-b7d369cd.js → submitGtag-e50f903f.js} +2 -2
- package/dist/esm/zonos-address_8.entry.js +22 -11
- package/dist/esm/zonos-badge_2.entry.js +4 -4
- package/dist/esm/zonos-banner.entry.js +2 -2
- package/dist/esm/zonos-button_3.entry.js +22 -11
- package/dist/esm/zonos-card_2.entry.js +7 -7
- package/dist/esm/{zonos-cart-items_10.entry.js → zonos-cart-items_11.entry.js} +112 -7
- package/dist/esm/zonos-checkout.entry.js +34 -8
- 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 +11 -11
- package/dist/esm/zonos-elements.js +3 -3
- 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 +7 -7
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +4 -4
- package/dist/esm/zonos-notification.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/zonos-text.entry.js +2 -2
- package/dist/esm/{zonosStore-33ff08ff.js → zonosStore-32e33a45.js} +2 -1
- package/dist/esm-es5/cart-cc593c2b.js +1 -0
- package/dist/esm-es5/{getBorderRadius-567f1786.js → getBorderRadius-d244b4b1.js} +1 -1
- package/dist/esm-es5/{index-e063389c.js → index-3b46f3c3.js} +1 -1
- package/dist/esm-es5/{isDarkColor-7f62035a.js → isDarkColor-39a36e82.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{submitGtag-b7d369cd.js → submitGtag-e50f903f.js} +1 -1
- package/dist/esm-es5/zonos-address_8.entry.js +1 -1
- package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_11.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 -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.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-33ff08ff.js → zonosStore-32e33a45.js} +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/scripts/zonosBase.js +1 -1
- package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +11 -1
- package/dist/types/components/common/zonos-button/zonos-button.d.ts +7 -1
- package/dist/types/components/common/zonos-confirm-dialog/zonos-confirm-dialog.d.ts +60 -0
- package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +6 -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 +4 -0
- package/dist/types/components.d.ts +142 -5
- package/dist/types/scripts/zonosBase.d.ts +15 -1
- package/dist/types/types/checkout/CheckoutConfig.d.ts +7 -0
- package/dist/zonos-elements/assets/ExclamationMarkDuotoneIcon.svg +4 -0
- package/dist/zonos-elements/assets/HelpDuotoneIcon.svg +4 -0
- package/dist/zonos-elements/assets/WarningDuotoneIcon.svg +4 -0
- package/dist/zonos-elements/{p-d7acc81c.entry.js → p-020a9b86.entry.js} +1 -1
- package/dist/zonos-elements/{p-6ea746b9.entry.js → p-04030a48.entry.js} +1 -1
- package/dist/zonos-elements/{p-fe246229.system.entry.js → p-0d0f9694.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-dbee6587.entry.js → p-0e892292.entry.js} +1 -1
- package/dist/zonos-elements/{p-7f48fafe.entry.js → p-0fac99e7.entry.js} +1 -1
- package/dist/zonos-elements/p-1795c760.system.entry.js +1 -0
- package/dist/zonos-elements/{p-771fbeb3.system.js → p-1b9442f6.system.js} +1 -1
- package/dist/zonos-elements/{p-c1f4bb4a.entry.js → p-24ac1c6f.entry.js} +1 -1
- package/dist/zonos-elements/p-26a60a6e.entry.js +1 -0
- package/dist/zonos-elements/{p-835c8928.entry.js → p-281b8bdf.entry.js} +1 -1
- package/dist/zonos-elements/{p-a889c1bc.entry.js → p-2af19b63.entry.js} +1 -1
- package/dist/zonos-elements/{p-582d8b27.entry.js → p-2ced091f.entry.js} +1 -1
- package/dist/zonos-elements/{p-909a331c.js → p-2f759d82.js} +1 -1
- package/dist/zonos-elements/p-32744531.entry.js +1 -0
- package/dist/zonos-elements/{p-58f8cee7.system.entry.js → p-35ac375a.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e0706108.system.entry.js → p-3bc88c3c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-36a461a6.system.entry.js → p-3e26d7b3.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9ec93319.entry.js → p-498a0e18.entry.js} +1 -1
- package/dist/zonos-elements/{p-61100d2e.system.entry.js → p-4caaaaeb.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-79f3c4f5.system.js → p-58e730b6.system.js} +1 -1
- package/dist/zonos-elements/{p-e7b4b756.entry.js → p-597b75f3.entry.js} +1 -1
- package/dist/zonos-elements/{p-3be2e469.entry.js → p-5e783394.entry.js} +1 -1
- package/dist/zonos-elements/{p-87badea9.system.js → p-62ecfbcc.system.js} +1 -1
- package/dist/zonos-elements/{p-beca252d.entry.js → p-6366e7e3.entry.js} +1 -1
- package/dist/zonos-elements/p-693b9985.js +1 -0
- package/dist/zonos-elements/{p-bf32179a.system.entry.js → p-6eda6199.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0759a84d.system.entry.js → p-7c8ee4b9.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-305f27c7.entry.js → p-80442f16.entry.js} +1 -1
- package/dist/zonos-elements/{p-345503b7.entry.js → p-80ea85b8.entry.js} +1 -1
- package/dist/zonos-elements/{p-679877b1.system.entry.js → p-8171d013.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-83cc2936.js → p-8c0b4a61.js} +1 -1
- package/dist/zonos-elements/{p-4dca5484.system.entry.js → p-8cd6633a.system.entry.js} +1 -1
- package/dist/zonos-elements/p-8da16d53.system.js +1 -0
- package/dist/zonos-elements/p-96b8c9ba.system.entry.js +1 -0
- package/dist/zonos-elements/{p-70c35519.system.entry.js → p-98a0b694.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-fd49d864.entry.js → p-9aab3ad7.entry.js} +1 -1
- package/dist/zonos-elements/{p-ad088d46.system.entry.js → p-9e8d38f7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-83fecb2a.entry.js → p-9e9c318b.entry.js} +1 -1
- package/dist/zonos-elements/{p-e108e5ed.system.entry.js → p-a47382ae.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-0ee61fba.system.entry.js → p-b98cdf39.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-3638e2ed.entry.js → p-bd9b2165.entry.js} +1 -1
- package/dist/zonos-elements/{p-ff403840.entry.js → p-c20e5430.entry.js} +1 -1
- package/dist/zonos-elements/{p-13ddaf31.js → p-ce347974.js} +1 -1
- package/dist/zonos-elements/{p-f71489e5.system.entry.js → p-d0bc8902.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-17e265c3.system.entry.js → p-d7a939df.system.entry.js} +1 -1
- package/dist/zonos-elements/p-d7b8c1c1.system.entry.js +1 -0
- package/dist/zonos-elements/{p-163ff5b5.system.js → p-d99232c5.system.js} +1 -1
- package/dist/zonos-elements/p-dd0fd351.entry.js +1 -0
- package/dist/zonos-elements/p-e015cb0e.js +1 -0
- package/dist/zonos-elements/p-e0bf9666.system.js +1 -0
- package/dist/zonos-elements/{p-b98bdbcc.system.entry.js → p-e13bfbda.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-2fc561ac.system.entry.js → p-e1fbd05d.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-7cc730b0.js → p-e553dd19.js} +1 -1
- package/dist/zonos-elements/p-e6fa0ebc.system.js +1 -0
- package/dist/zonos-elements/{p-c64eefdd.system.entry.js → p-f6546bf4.system.entry.js} +1 -1
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/dist/zonos-elements/zonos-elements.js +1 -1
- package/package.json +2 -2
- package/dist/esm-es5/cart-6448e883.js +0 -1
- package/dist/esm-es5/zonos-cart-items_10.entry.js +0 -1
- package/dist/zonos-elements/p-154aaf95.system.js +0 -1
- package/dist/zonos-elements/p-47c75f81.system.entry.js +0 -1
- package/dist/zonos-elements/p-54004793.system.entry.js +0 -1
- package/dist/zonos-elements/p-7b19cd96.entry.js +0 -1
- package/dist/zonos-elements/p-9c575a18.system.entry.js +0 -1
- package/dist/zonos-elements/p-aaf1e517.system.js +0 -1
- package/dist/zonos-elements/p-aff5f4ca.js +0 -1
- package/dist/zonos-elements/p-ca621143.entry.js +0 -1
- package/dist/zonos-elements/p-e3335228.entry.js +0 -1
- package/dist/zonos-elements/p-ef9cbb66.system.js +0 -1
- package/dist/zonos-elements/p-f1962041.js +0 -1
|
@@ -17,6 +17,9 @@ export const stringsPortuguese = {
|
|
|
17
17
|
'Address line 2': {
|
|
18
18
|
value: 'Endereço linha 2',
|
|
19
19
|
},
|
|
20
|
+
'Are you sure?': {
|
|
21
|
+
value: 'Você tem certeza?',
|
|
22
|
+
},
|
|
20
23
|
Back: {
|
|
21
24
|
value: 'Voltar',
|
|
22
25
|
},
|
|
@@ -35,6 +38,9 @@ export const stringsPortuguese = {
|
|
|
35
38
|
City: {
|
|
36
39
|
value: 'Cidade',
|
|
37
40
|
},
|
|
41
|
+
Close: {
|
|
42
|
+
value: 'Fechar',
|
|
43
|
+
},
|
|
38
44
|
Contact: {
|
|
39
45
|
value: 'Contato',
|
|
40
46
|
},
|
|
@@ -56,6 +62,9 @@ export const stringsPortuguese = {
|
|
|
56
62
|
'Delivery options': {
|
|
57
63
|
value: 'Opções de entrega',
|
|
58
64
|
},
|
|
65
|
+
"Don't close": {
|
|
66
|
+
value: 'Não fechar',
|
|
67
|
+
},
|
|
59
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
60
69
|
value: 'Impostos e taxas serão aplicados aos itens e ao frete.',
|
|
61
70
|
},
|
|
@@ -239,6 +248,9 @@ export const stringsPortuguese = {
|
|
|
239
248
|
'What you entered': {
|
|
240
249
|
value: 'O que você digitou',
|
|
241
250
|
},
|
|
251
|
+
'Would you like to close checkout and return to the site?': {
|
|
252
|
+
value: 'Gostaria de fechar o checkout e voltar ao site?',
|
|
253
|
+
},
|
|
242
254
|
"You're all set!": {
|
|
243
255
|
value: 'Está tudo pronto!',
|
|
244
256
|
},
|
|
@@ -17,6 +17,9 @@ export const stringsRussian = {
|
|
|
17
17
|
'Address line 2': {
|
|
18
18
|
value: 'Адресная строка 2',
|
|
19
19
|
},
|
|
20
|
+
'Are you sure?': {
|
|
21
|
+
value: 'Вы уверены?',
|
|
22
|
+
},
|
|
20
23
|
Back: {
|
|
21
24
|
value: 'Назад',
|
|
22
25
|
},
|
|
@@ -35,6 +38,9 @@ export const stringsRussian = {
|
|
|
35
38
|
City: {
|
|
36
39
|
value: 'Город',
|
|
37
40
|
},
|
|
41
|
+
Close: {
|
|
42
|
+
value: 'Закрыть',
|
|
43
|
+
},
|
|
38
44
|
Contact: {
|
|
39
45
|
value: 'Контакты',
|
|
40
46
|
},
|
|
@@ -56,6 +62,9 @@ export const stringsRussian = {
|
|
|
56
62
|
'Delivery options': {
|
|
57
63
|
value: 'Варианты доставки',
|
|
58
64
|
},
|
|
65
|
+
"Don't close": {
|
|
66
|
+
value: 'Не закрывайте',
|
|
67
|
+
},
|
|
59
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
60
69
|
value: 'Пошлины и налоги будут применены к товарам и доставке.',
|
|
61
70
|
},
|
|
@@ -239,6 +248,9 @@ export const stringsRussian = {
|
|
|
239
248
|
'What you entered': {
|
|
240
249
|
value: 'То, что вы ввели',
|
|
241
250
|
},
|
|
251
|
+
'Would you like to close checkout and return to the site?': {
|
|
252
|
+
value: 'Вы хотите завершить оформление заказа и вернуться на сайт?',
|
|
253
|
+
},
|
|
242
254
|
"You're all set!": {
|
|
243
255
|
value: 'Все готово!',
|
|
244
256
|
},
|
|
@@ -17,6 +17,9 @@ export const stringsSpanish = {
|
|
|
17
17
|
'Address line 2': {
|
|
18
18
|
value: 'Línea de dirección 2',
|
|
19
19
|
},
|
|
20
|
+
'Are you sure?': {
|
|
21
|
+
value: '¿Estás seguro?',
|
|
22
|
+
},
|
|
20
23
|
Back: {
|
|
21
24
|
value: 'Regresar',
|
|
22
25
|
},
|
|
@@ -35,6 +38,9 @@ export const stringsSpanish = {
|
|
|
35
38
|
City: {
|
|
36
39
|
value: 'Ciudad',
|
|
37
40
|
},
|
|
41
|
+
Close: {
|
|
42
|
+
value: 'Cerrar',
|
|
43
|
+
},
|
|
38
44
|
Contact: {
|
|
39
45
|
value: 'Contacto',
|
|
40
46
|
},
|
|
@@ -56,6 +62,9 @@ export const stringsSpanish = {
|
|
|
56
62
|
'Delivery options': {
|
|
57
63
|
value: 'Opciones de entrega',
|
|
58
64
|
},
|
|
65
|
+
"Don't close": {
|
|
66
|
+
value: 'No cerrar',
|
|
67
|
+
},
|
|
59
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
60
69
|
value: 'Los impuestos y aranceles se aplicarán a los artículos y al envío.',
|
|
61
70
|
},
|
|
@@ -239,6 +248,9 @@ export const stringsSpanish = {
|
|
|
239
248
|
'What you entered': {
|
|
240
249
|
value: 'Lo que ingresaste',
|
|
241
250
|
},
|
|
251
|
+
'Would you like to close checkout and return to the site?': {
|
|
252
|
+
value: '¿Te gustaría cerrar la caja y volver al sitio?',
|
|
253
|
+
},
|
|
242
254
|
"You're all set!": {
|
|
243
255
|
value: '¡Está todo listo!',
|
|
244
256
|
},
|
|
@@ -17,6 +17,9 @@ export const stringsSwedish = {
|
|
|
17
17
|
'Address line 2': {
|
|
18
18
|
value: 'Adressrad 2',
|
|
19
19
|
},
|
|
20
|
+
'Are you sure?': {
|
|
21
|
+
value: 'Är du säker?',
|
|
22
|
+
},
|
|
20
23
|
Back: {
|
|
21
24
|
value: 'Tillbaka',
|
|
22
25
|
},
|
|
@@ -35,6 +38,9 @@ export const stringsSwedish = {
|
|
|
35
38
|
City: {
|
|
36
39
|
value: 'Stad',
|
|
37
40
|
},
|
|
41
|
+
Close: {
|
|
42
|
+
value: 'Stänga',
|
|
43
|
+
},
|
|
38
44
|
Contact: {
|
|
39
45
|
value: 'Kontakt',
|
|
40
46
|
},
|
|
@@ -56,6 +62,9 @@ export const stringsSwedish = {
|
|
|
56
62
|
'Delivery options': {
|
|
57
63
|
value: 'Leveransalternativ',
|
|
58
64
|
},
|
|
65
|
+
"Don't close": {
|
|
66
|
+
value: 'Stäng inte',
|
|
67
|
+
},
|
|
59
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
60
69
|
value: 'Tull och skatter kommer att tillämpas på varor och frakt.',
|
|
61
70
|
},
|
|
@@ -239,6 +248,9 @@ export const stringsSwedish = {
|
|
|
239
248
|
'What you entered': {
|
|
240
249
|
value: 'Det du angav',
|
|
241
250
|
},
|
|
251
|
+
'Would you like to close checkout and return to the site?': {
|
|
252
|
+
value: 'Vill du stänga kassan och återvända till webbplatsen?',
|
|
253
|
+
},
|
|
242
254
|
"You're all set!": {
|
|
243
255
|
value: 'Du är klar!',
|
|
244
256
|
},
|
|
@@ -17,6 +17,9 @@ export const stringsTurkish = {
|
|
|
17
17
|
'Address line 2': {
|
|
18
18
|
value: 'Adres satırı 2',
|
|
19
19
|
},
|
|
20
|
+
'Are you sure?': {
|
|
21
|
+
value: 'Emin misiniz?',
|
|
22
|
+
},
|
|
20
23
|
Back: {
|
|
21
24
|
value: 'Geri',
|
|
22
25
|
},
|
|
@@ -35,6 +38,9 @@ export const stringsTurkish = {
|
|
|
35
38
|
City: {
|
|
36
39
|
value: 'Şehir',
|
|
37
40
|
},
|
|
41
|
+
Close: {
|
|
42
|
+
value: 'Kapat',
|
|
43
|
+
},
|
|
38
44
|
Contact: {
|
|
39
45
|
value: 'İletişim',
|
|
40
46
|
},
|
|
@@ -56,6 +62,9 @@ export const stringsTurkish = {
|
|
|
56
62
|
'Delivery options': {
|
|
57
63
|
value: 'Teslimat seçenekleri',
|
|
58
64
|
},
|
|
65
|
+
"Don't close": {
|
|
66
|
+
value: 'Kapatma',
|
|
67
|
+
},
|
|
59
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
60
69
|
value: 'Ürünlere ve kargoya vergi ve gümrük vergisi uygulanacak.',
|
|
61
70
|
},
|
|
@@ -239,6 +248,9 @@ export const stringsTurkish = {
|
|
|
239
248
|
'What you entered': {
|
|
240
249
|
value: 'Girdiğin şey',
|
|
241
250
|
},
|
|
251
|
+
'Would you like to close checkout and return to the site?': {
|
|
252
|
+
value: 'Ödemeyi kapatıp siteye geri dönmek ister misiniz?',
|
|
253
|
+
},
|
|
242
254
|
"You're all set!": {
|
|
243
255
|
value: 'Hazırsınız!',
|
|
244
256
|
},
|
|
@@ -17,6 +17,9 @@ export const stringsVietnamese = {
|
|
|
17
17
|
'Address line 2': {
|
|
18
18
|
value: 'Dòng địa chỉ 2',
|
|
19
19
|
},
|
|
20
|
+
'Are you sure?': {
|
|
21
|
+
value: 'Bạn có chắc không?',
|
|
22
|
+
},
|
|
20
23
|
Back: {
|
|
21
24
|
value: 'Quay lại',
|
|
22
25
|
},
|
|
@@ -35,6 +38,9 @@ export const stringsVietnamese = {
|
|
|
35
38
|
City: {
|
|
36
39
|
value: 'Thành phố',
|
|
37
40
|
},
|
|
41
|
+
Close: {
|
|
42
|
+
value: 'Đóng',
|
|
43
|
+
},
|
|
38
44
|
Contact: {
|
|
39
45
|
value: 'Liên hệ',
|
|
40
46
|
},
|
|
@@ -56,6 +62,9 @@ export const stringsVietnamese = {
|
|
|
56
62
|
'Delivery options': {
|
|
57
63
|
value: 'Tùy chọn giao hàng',
|
|
58
64
|
},
|
|
65
|
+
"Don't close": {
|
|
66
|
+
value: 'Đừng đóng',
|
|
67
|
+
},
|
|
59
68
|
'Duties and taxes will be applied to items and shipping.': {
|
|
60
69
|
value: 'Thuế và phí sẽ được áp dụng cho hàng hóa và vận chuyển.',
|
|
61
70
|
},
|
|
@@ -239,6 +248,9 @@ export const stringsVietnamese = {
|
|
|
239
248
|
'What you entered': {
|
|
240
249
|
value: 'Những gì bạn đã nhập',
|
|
241
250
|
},
|
|
251
|
+
'Would you like to close checkout and return to the site?': {
|
|
252
|
+
value: 'Bạn có muốn đóng thanh toán và quay lại trang web không?',
|
|
253
|
+
},
|
|
242
254
|
"You're all set!": {
|
|
243
255
|
value: 'Bạn đã sẵn sàng!',
|
|
244
256
|
},
|
|
@@ -114,6 +114,7 @@ const zonosStoreInitSetting = ({ overrideSettings, zonosSettings, }) => {
|
|
|
114
114
|
zonosStore.organizationName = ((_b = zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.organization) === null || _b === void 0 ? void 0 : _b.name) || '';
|
|
115
115
|
zonosStore.storeId = ((_d = (_c = zonosSettings === null || zonosSettings === void 0 ? void 0 : zonosSettings.organization) === null || _c === void 0 ? void 0 : _c.references) === null || _d === void 0 ? void 0 : _d.storeId) || null;
|
|
116
116
|
zonosStore.currencyConverter = overrideSettings === null || overrideSettings === void 0 ? void 0 : overrideSettings.currencyConverter;
|
|
117
|
+
zonosStore.onCountryChange = overrideSettings === null || overrideSettings === void 0 ? void 0 : overrideSettings.onCountryChange;
|
|
117
118
|
};
|
|
118
119
|
const zonosStoreFontFamily = () => {
|
|
119
120
|
const fontFamily = zonosStore.appearance.fontFamily || 'Inter';
|
|
@@ -135,7 +135,7 @@ export class ZonosAddress {
|
|
|
135
135
|
}
|
|
136
136
|
render() {
|
|
137
137
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
138
|
-
return (h(Host, { key: '
|
|
138
|
+
return (h(Host, { key: '77cf6085adb67da95283000b857a9252215c71cd', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '30aff37f04ef04ce4c062d52c78286b362469894', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '599e73e5d3f88cba12a7fc72abc3e575eb3eb777', class: "zonos--address-component" })));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "zonos-address"; }
|
|
141
141
|
static get encapsulation() { return "scoped"; }
|
package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js
CHANGED
|
@@ -42,7 +42,7 @@ export class ZonosLinkAuthentication {
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '1a206ef754ae3df55e57f7b8f587bde7d04c20d3', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: '7f938c30d9ee5d404df05db96b814a48786c9c83', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'fddc855fd5eabf43a4d99532516053f0da71ae20', class: "zonos--link-authentication-component" })));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "zonos-link-authentication"; }
|
|
48
48
|
static get encapsulation() { return "scoped"; }
|
|
@@ -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: 'fa213e672515b2aa3e389f0e7f918350a076e493', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: 'ed1fa911c3765962f7a3a7ce606a334541ca0a9a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'afeb5892da35ae3fef9659d05a0bb77924acb7f0', class: "zonos--payment-component" })));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "zonos-payment"; }
|
|
43
43
|
static get encapsulation() { return "scoped"; }
|
|
@@ -36,7 +36,7 @@ Zonos.modeAlerted = false;
|
|
|
36
36
|
Zonos.tempCartData = null;
|
|
37
37
|
Zonos.getCurrentTimestamp = () => new Date().getTime();
|
|
38
38
|
Zonos.zonosController = null;
|
|
39
|
-
Zonos.init = async ({ appearance, checkoutSettings, currencyConverter, helloSettings, storeId, zonosApiKey, }) => {
|
|
39
|
+
Zonos.init = async ({ appearance, checkoutSettings, currencyConverter, helloSettings, onCountryChange, storeId, zonosApiKey, }) => {
|
|
40
40
|
if (_a.doneInit) {
|
|
41
41
|
// do nothing if zonos is already initializeds
|
|
42
42
|
return;
|
|
@@ -64,6 +64,7 @@ Zonos.init = async ({ appearance, checkoutSettings, currencyConverter, helloSett
|
|
|
64
64
|
checkoutSettings,
|
|
65
65
|
currencyConverter,
|
|
66
66
|
helloSettings,
|
|
67
|
+
onCountryChange,
|
|
67
68
|
},
|
|
68
69
|
zonosApiKey,
|
|
69
70
|
});
|
|
@@ -533,7 +533,7 @@ const getOverrideLocale = () => {
|
|
|
533
533
|
return zonosLocale;
|
|
534
534
|
};
|
|
535
535
|
const localizationStoreUpdateSelectedCountryCode = (newSelectedCountryCode) => {
|
|
536
|
-
var _a;
|
|
536
|
+
var _a, _b;
|
|
537
537
|
log('update selected country code');
|
|
538
538
|
localizationStore.selectedCountryCode = newSelectedCountryCode;
|
|
539
539
|
const { selectedCountryCode, shippingZoneCountries } = localizationStore;
|
|
@@ -559,6 +559,11 @@ const localizationStoreUpdateSelectedCountryCode = (newSelectedCountryCode) => {
|
|
|
559
559
|
setZCountryUrlParam(selectedCountryCode);
|
|
560
560
|
(_a = document
|
|
561
561
|
.querySelector('zonos-hello')) === null || _a === void 0 ? void 0 : _a.setAttribute('z-country', selectedCountryCode);
|
|
562
|
+
// Trigger callback onCountryChange
|
|
563
|
+
(_b = zonosStore.onCountryChange) === null || _b === void 0 ? void 0 : _b.call(zonosStore, {
|
|
564
|
+
countryCode: selectedCountryCode,
|
|
565
|
+
currencyCode,
|
|
566
|
+
});
|
|
562
567
|
};
|
|
563
568
|
const initLocalizationStore = async () => {
|
|
564
569
|
// all countries from countries.json, shipping zone and localization
|
|
@@ -577,7 +582,12 @@ const initLocalizationStore = async () => {
|
|
|
577
582
|
const overrideLocale = getOverrideLocale();
|
|
578
583
|
localizationStore.selectedLocale = overrideLocale || locale || 'en';
|
|
579
584
|
translationStoreUpdateLanguage(localizationStore.selectedLocale);
|
|
580
|
-
const devSites = [
|
|
585
|
+
const devSites = [
|
|
586
|
+
'dev.storybook.elements',
|
|
587
|
+
'dev.elements',
|
|
588
|
+
'dev.demo.elements',
|
|
589
|
+
'dev.dashboard',
|
|
590
|
+
];
|
|
581
591
|
// If the country code is not set, set it to the US for development (vercel can't get geo country in dev)
|
|
582
592
|
if (!localizationStore.selectedCountryCode &&
|
|
583
593
|
devSites.some(site => window.location.origin.includes(site))) {
|