@zonos/elements 1.3.10-alpha.2 → 1.3.11-alpha.0
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-cdce5003.js → cart-7e28f026.js} +183 -3
- package/dist/cjs/{getBorderRadius-d9a954a3.js → getBorderRadius-d795f526.js} +1 -1
- package/dist/cjs/{index-72767498.js → index-564fe383.js} +12 -3
- package/dist/cjs/{isDarkColor-c01f24df.js → isDarkColor-33fb96a7.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{submitGtag-a0b376ab.js → submitGtag-586d3206.js} +8 -4
- package/dist/cjs/zonos-address_4.cjs.entry.js +5 -5
- package/dist/cjs/zonos-badge_2.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_2.cjs.entry.js +5 -5
- package/dist/cjs/zonos-cart-items_9.cjs.entry.js +6 -6
- package/dist/cjs/zonos-checkout.cjs.entry.js +6 -6
- package/dist/cjs/zonos-component.cjs.entry.js +1 -1
- package/dist/cjs/zonos-controller.cjs.entry.js +5 -5
- package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
- package/dist/cjs/zonos-country-select_3.cjs.entry.js +5 -5
- package/dist/cjs/zonos-elements.cjs.js +2 -2
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
- package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
- 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.cjs.entry.js +2 -2
- package/dist/cjs/zonos-payment.cjs.entry.js +5 -5
- package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +2 -2
- 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-2a8612a4.js → zonosStore-d3f0173b.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
- package/dist/collection/components/store/translationStore/strings.base.js +9 -0
- package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
- package/dist/collection/components/store/translationStore/strings.french.js +9 -0
- package/dist/collection/components/store/translationStore/strings.german.js +9 -0
- package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
- package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
- package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
- package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
- package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
- package/dist/collection/components/utils/logging/sendErrorLog.js +6 -2
- package/dist/collection/environment.js +3 -3
- package/dist/collection/scripts/zonosBase.js +4 -4
- package/dist/components/stripe.js +180 -0
- package/dist/components/zonos-checkout-finish2.js +6 -2
- package/dist/esm/{cart-6be7e36f.js → cart-5a88b4f3.js} +183 -3
- package/dist/esm/{getBorderRadius-0d133844.js → getBorderRadius-5d750ab8.js} +1 -1
- package/dist/esm/{index-b5be4dc3.js → index-dd40cc85.js} +12 -3
- package/dist/esm/{isDarkColor-8eeda28e.js → isDarkColor-c34dfed9.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{submitGtag-b1c9af26.js → submitGtag-289ddd8b.js} +8 -4
- package/dist/esm/zonos-address_4.entry.js +5 -5
- package/dist/esm/zonos-badge_2.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_2.entry.js +5 -5
- package/dist/esm/zonos-cart-items_9.entry.js +6 -6
- package/dist/esm/zonos-checkout.entry.js +6 -6
- package/dist/esm/zonos-component.entry.js +1 -1
- package/dist/esm/zonos-controller.entry.js +5 -5
- package/dist/esm/zonos-country-flag.entry.js +5 -5
- package/dist/esm/zonos-country-select_3.entry.js +5 -5
- package/dist/esm/zonos-elements.js +3 -3
- package/dist/esm/zonos-hello-dialog.entry.js +5 -5
- package/dist/esm/zonos-hello.entry.js +5 -5
- package/dist/esm/zonos-link.entry.js +1 -1
- package/dist/esm/zonos-logo.entry.js +2 -2
- package/dist/esm/zonos-notification.entry.js +2 -2
- package/dist/esm/zonos-payment.entry.js +5 -5
- package/dist/esm/zonos-select-dialog-header_2.entry.js +2 -2
- package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
- package/dist/esm/zonos-text.entry.js +2 -2
- package/dist/esm/{zonosStore-807f931f.js → zonosStore-aac7c6ac.js} +1 -1
- package/dist/esm-es5/cart-5a88b4f3.js +1 -0
- package/dist/esm-es5/{getBorderRadius-0d133844.js → getBorderRadius-5d750ab8.js} +1 -1
- package/dist/esm-es5/{index-b5be4dc3.js → index-dd40cc85.js} +1 -1
- package/dist/esm-es5/{isDarkColor-8eeda28e.js → isDarkColor-c34dfed9.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{submitGtag-b1c9af26.js → submitGtag-289ddd8b.js} +1 -1
- package/dist/esm-es5/zonos-address_4.entry.js +1 -1
- package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
- package/dist/esm-es5/zonos-banner.entry.js +1 -1
- package/dist/esm-es5/zonos-button_3.entry.js +1 -1
- package/dist/esm-es5/zonos-card_2.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_9.entry.js +1 -1
- 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-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-807f931f.js → zonosStore-aac7c6ac.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/store/translationStore/strings.arabic.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
- package/dist/types/environment.d.ts +4 -4
- package/dist/zonos-elements/p-07bb1bed.js +2 -0
- package/dist/zonos-elements/{p-58e2f6a1.system.entry.js → p-0b4910fe.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d427adf2.entry.js → p-144f4d31.entry.js} +1 -1
- package/dist/zonos-elements/{p-2f84b148.entry.js → p-14bf3658.entry.js} +1 -1
- package/dist/zonos-elements/{p-6d2ba24a.entry.js → p-188ddbe2.entry.js} +1 -1
- package/dist/zonos-elements/{p-c284e71c.system.entry.js → p-25fbcefe.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-314be538.system.entry.js → p-27d57265.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ff64ddc5.entry.js → p-315c1fc2.entry.js} +1 -1
- package/dist/zonos-elements/{p-701d0fef.entry.js → p-333da541.entry.js} +1 -1
- package/dist/zonos-elements/p-4569bc92.js +1 -0
- package/dist/zonos-elements/{p-35e878eb.system.entry.js → p-482371fb.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-9cdc6b5f.js → p-49a5be72.js} +1 -1
- package/dist/zonos-elements/{p-166ec0c2.system.entry.js → p-4ad5f307.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-d1ab0823.system.js → p-52de4d70.system.js} +2 -2
- package/dist/zonos-elements/{p-3a406969.system.entry.js → p-5c991faa.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-f5b75c6b.entry.js → p-5f2cb4b6.entry.js} +1 -1
- package/dist/zonos-elements/{p-127b480c.entry.js → p-6181f2d5.entry.js} +1 -1
- package/dist/zonos-elements/p-691d8075.entry.js +1 -0
- package/dist/zonos-elements/{p-066c5893.system.js → p-6e81adba.system.js} +1 -1
- package/dist/zonos-elements/p-723628b7.js +1 -0
- package/dist/zonos-elements/{p-50460bf4.system.entry.js → p-770384fa.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c476a347.system.js → p-77727098.system.js} +1 -1
- package/dist/zonos-elements/{p-e71fbec9.js → p-77c54b83.js} +1 -1
- package/dist/zonos-elements/{p-121c551d.system.entry.js → p-7e355496.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-09c9bf58.system.entry.js → p-8445a084.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-321e8b0e.system.entry.js → p-87c4ac09.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-db49edae.system.entry.js → p-93e51987.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-1691b167.entry.js → p-9db3028d.entry.js} +1 -1
- package/dist/zonos-elements/{p-12e97569.entry.js → p-9f532a3f.entry.js} +1 -1
- package/dist/zonos-elements/{p-96e2cde7.entry.js → p-a578facf.entry.js} +1 -1
- package/dist/zonos-elements/{p-dd25205e.entry.js → p-a725946f.entry.js} +1 -1
- package/dist/zonos-elements/{p-e76069cc.system.entry.js → p-a87803b7.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-8f423d46.entry.js → p-afc0460d.entry.js} +1 -1
- package/dist/zonos-elements/{p-39d75a07.system.js → p-afcded5d.system.js} +1 -1
- package/dist/zonos-elements/{p-95dee6f4.system.js → p-c1e54094.system.js} +1 -1
- package/dist/zonos-elements/{p-e28d648c.system.entry.js → p-c6de2e40.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-04fa4dd3.system.entry.js → p-ca6b4c1e.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-25de098d.entry.js → p-d0d12a64.entry.js} +1 -1
- package/dist/zonos-elements/p-d2885590.system.js +1 -0
- package/dist/zonos-elements/{p-7cb2dfd5.entry.js → p-d5a9dfc7.entry.js} +1 -1
- package/dist/zonos-elements/{p-c6f186fe.system.entry.js → p-d7690752.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-75490d7c.system.js → p-d9c65636.system.js} +1 -1
- package/dist/zonos-elements/{p-865900d4.system.entry.js → p-dad00ad3.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-58a25a6a.entry.js → p-dd153a4e.entry.js} +1 -1
- package/dist/zonos-elements/{p-dce14b91.entry.js → p-def8823e.entry.js} +1 -1
- package/dist/zonos-elements/{p-af3ff326.system.entry.js → p-e392e212.system.entry.js} +1 -1
- package/dist/zonos-elements/p-e4749f19.js +1 -0
- package/dist/zonos-elements/{p-a38876df.system.entry.js → p-e4e1ca2f.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-af946fb3.system.entry.js → p-e87e8c9c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-e67ed67d.entry.js → p-e969cec9.entry.js} +1 -1
- package/dist/zonos-elements/{p-55cbb4cd.entry.js → p-f1170e7b.entry.js} +1 -1
- package/dist/zonos-elements/{p-3ff1bed8.system.entry.js → p-fe0930e4.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-72390726.entry.js → p-febddb45.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 +5 -6
- package/dist/esm-es5/cart-6be7e36f.js +0 -1
- package/dist/zonos-elements/p-3d4fc5aa.js +0 -1
- package/dist/zonos-elements/p-58127116.js +0 -2
- package/dist/zonos-elements/p-776f07e7.js +0 -1
- package/dist/zonos-elements/p-b05d21ac.entry.js +0 -1
- package/dist/zonos-elements/p-e843a74b.js +0 -1
- package/dist/zonos-elements/p-eb5dc3ef.system.js +0 -1
|
@@ -20,9 +20,15 @@ export const stringsNorwegian = {
|
|
|
20
20
|
'Continue to shipping': {
|
|
21
21
|
value: 'Fortsett til frakt',
|
|
22
22
|
},
|
|
23
|
+
Customer: {
|
|
24
|
+
value: 'Kunde',
|
|
25
|
+
},
|
|
23
26
|
'Customer information': {
|
|
24
27
|
value: 'Kundeinformasjon',
|
|
25
28
|
},
|
|
29
|
+
Delivery: {
|
|
30
|
+
value: 'Levering',
|
|
31
|
+
},
|
|
26
32
|
'Duties and taxes will be applied to items and shipping.': {
|
|
27
33
|
value: 'Avgift og skatt vil legges til på varer og frakt.',
|
|
28
34
|
},
|
|
@@ -71,6 +77,9 @@ export const stringsNorwegian = {
|
|
|
71
77
|
Pay: {
|
|
72
78
|
value: 'Betal',
|
|
73
79
|
},
|
|
80
|
+
Payment: {
|
|
81
|
+
value: 'Betaling',
|
|
82
|
+
},
|
|
74
83
|
'Payment failed': {
|
|
75
84
|
value: 'Betaling mislyktes',
|
|
76
85
|
},
|
|
@@ -20,9 +20,15 @@ export const stringsPolish = {
|
|
|
20
20
|
'Continue to shipping': {
|
|
21
21
|
value: 'Przejdź dalej do wysyłki',
|
|
22
22
|
},
|
|
23
|
+
Customer: {
|
|
24
|
+
value: 'Klient',
|
|
25
|
+
},
|
|
23
26
|
'Customer information': {
|
|
24
27
|
value: 'Informacje o kliencie',
|
|
25
28
|
},
|
|
29
|
+
Delivery: {
|
|
30
|
+
value: 'Dostawa',
|
|
31
|
+
},
|
|
26
32
|
'Duties and taxes will be applied to items and shipping.': {
|
|
27
33
|
value: 'Cła i podatki zostaną naliczone do towarów i wysyłki.',
|
|
28
34
|
},
|
|
@@ -71,6 +77,9 @@ export const stringsPolish = {
|
|
|
71
77
|
Pay: {
|
|
72
78
|
value: 'Zapłać',
|
|
73
79
|
},
|
|
80
|
+
Payment: {
|
|
81
|
+
value: 'Płatność',
|
|
82
|
+
},
|
|
74
83
|
'Payment failed': {
|
|
75
84
|
value: 'Płatność nieudana',
|
|
76
85
|
},
|
|
@@ -20,9 +20,15 @@ export const stringsPortuguese = {
|
|
|
20
20
|
'Continue to shipping': {
|
|
21
21
|
value: 'Continuar para o envio',
|
|
22
22
|
},
|
|
23
|
+
Customer: {
|
|
24
|
+
value: 'Cliente',
|
|
25
|
+
},
|
|
23
26
|
'Customer information': {
|
|
24
27
|
value: 'Informações do cliente',
|
|
25
28
|
},
|
|
29
|
+
Delivery: {
|
|
30
|
+
value: 'Entrega',
|
|
31
|
+
},
|
|
26
32
|
'Duties and taxes will be applied to items and shipping.': {
|
|
27
33
|
value: 'Impostos e taxas serão aplicados aos itens e ao frete.',
|
|
28
34
|
},
|
|
@@ -71,6 +77,9 @@ export const stringsPortuguese = {
|
|
|
71
77
|
Pay: {
|
|
72
78
|
value: 'Pagar',
|
|
73
79
|
},
|
|
80
|
+
Payment: {
|
|
81
|
+
value: 'Pagamento',
|
|
82
|
+
},
|
|
74
83
|
'Payment failed': {
|
|
75
84
|
value: 'Falha no pagamento',
|
|
76
85
|
},
|
|
@@ -20,9 +20,15 @@ export const stringsRussian = {
|
|
|
20
20
|
'Continue to shipping': {
|
|
21
21
|
value: 'Продолжить к доставке',
|
|
22
22
|
},
|
|
23
|
+
Customer: {
|
|
24
|
+
value: 'Клиент',
|
|
25
|
+
},
|
|
23
26
|
'Customer information': {
|
|
24
27
|
value: 'Информация о клиенте',
|
|
25
28
|
},
|
|
29
|
+
Delivery: {
|
|
30
|
+
value: 'Доставка',
|
|
31
|
+
},
|
|
26
32
|
'Duties and taxes will be applied to items and shipping.': {
|
|
27
33
|
value: 'Пошлины и налоги будут применены к товарам и доставке.',
|
|
28
34
|
},
|
|
@@ -71,6 +77,9 @@ export const stringsRussian = {
|
|
|
71
77
|
Pay: {
|
|
72
78
|
value: 'Оплатить',
|
|
73
79
|
},
|
|
80
|
+
Payment: {
|
|
81
|
+
value: 'Оплата',
|
|
82
|
+
},
|
|
74
83
|
'Payment failed': {
|
|
75
84
|
value: 'Ошибка оплаты',
|
|
76
85
|
},
|
|
@@ -20,9 +20,15 @@ export const stringsSpanish = {
|
|
|
20
20
|
'Continue to shipping': {
|
|
21
21
|
value: 'Continuar con el envío',
|
|
22
22
|
},
|
|
23
|
+
Customer: {
|
|
24
|
+
value: 'Cliente',
|
|
25
|
+
},
|
|
23
26
|
'Customer information': {
|
|
24
27
|
value: 'Información del cliente',
|
|
25
28
|
},
|
|
29
|
+
Delivery: {
|
|
30
|
+
value: 'Entrega',
|
|
31
|
+
},
|
|
26
32
|
'Duties and taxes will be applied to items and shipping.': {
|
|
27
33
|
value: 'Los impuestos y aranceles se aplicarán a los artículos y al envío.',
|
|
28
34
|
},
|
|
@@ -71,6 +77,9 @@ export const stringsSpanish = {
|
|
|
71
77
|
Pay: {
|
|
72
78
|
value: 'Pagar',
|
|
73
79
|
},
|
|
80
|
+
Payment: {
|
|
81
|
+
value: 'Pago',
|
|
82
|
+
},
|
|
74
83
|
'Payment failed': {
|
|
75
84
|
value: 'Pago fallido',
|
|
76
85
|
},
|
|
@@ -20,9 +20,15 @@ export const stringsSwedish = {
|
|
|
20
20
|
'Continue to shipping': {
|
|
21
21
|
value: 'Fortsätt till frakt',
|
|
22
22
|
},
|
|
23
|
+
Customer: {
|
|
24
|
+
value: 'Kund',
|
|
25
|
+
},
|
|
23
26
|
'Customer information': {
|
|
24
27
|
value: 'Kundinformation',
|
|
25
28
|
},
|
|
29
|
+
Delivery: {
|
|
30
|
+
value: 'Leverans',
|
|
31
|
+
},
|
|
26
32
|
'Duties and taxes will be applied to items and shipping.': {
|
|
27
33
|
value: 'Tull och skatter kommer att tillämpas på varor och frakt.',
|
|
28
34
|
},
|
|
@@ -71,6 +77,9 @@ export const stringsSwedish = {
|
|
|
71
77
|
Pay: {
|
|
72
78
|
value: 'Betala',
|
|
73
79
|
},
|
|
80
|
+
Payment: {
|
|
81
|
+
value: 'Betalning',
|
|
82
|
+
},
|
|
74
83
|
'Payment failed': {
|
|
75
84
|
value: 'Betalningen misslyckades',
|
|
76
85
|
},
|
|
@@ -20,9 +20,15 @@ export const stringsTurkish = {
|
|
|
20
20
|
'Continue to shipping': {
|
|
21
21
|
value: 'Kargoya devam et',
|
|
22
22
|
},
|
|
23
|
+
Customer: {
|
|
24
|
+
value: 'Müşteri',
|
|
25
|
+
},
|
|
23
26
|
'Customer information': {
|
|
24
27
|
value: 'Müşteri bilgileri',
|
|
25
28
|
},
|
|
29
|
+
Delivery: {
|
|
30
|
+
value: 'Teslimat',
|
|
31
|
+
},
|
|
26
32
|
'Duties and taxes will be applied to items and shipping.': {
|
|
27
33
|
value: 'Ürünlere ve kargoya vergi ve gümrük vergisi uygulanacak.',
|
|
28
34
|
},
|
|
@@ -71,6 +77,9 @@ export const stringsTurkish = {
|
|
|
71
77
|
Pay: {
|
|
72
78
|
value: 'Öde',
|
|
73
79
|
},
|
|
80
|
+
Payment: {
|
|
81
|
+
value: 'Ödeme',
|
|
82
|
+
},
|
|
74
83
|
'Payment failed': {
|
|
75
84
|
value: 'Ödeme başarısız',
|
|
76
85
|
},
|
|
@@ -20,9 +20,15 @@ export const stringsVietnamese = {
|
|
|
20
20
|
'Continue to shipping': {
|
|
21
21
|
value: 'Tiếp tục đến vận chuyển',
|
|
22
22
|
},
|
|
23
|
+
Customer: {
|
|
24
|
+
value: 'Khách hàng',
|
|
25
|
+
},
|
|
23
26
|
'Customer information': {
|
|
24
27
|
value: 'Thông tin khách hàng',
|
|
25
28
|
},
|
|
29
|
+
Delivery: {
|
|
30
|
+
value: 'Giao hàng',
|
|
31
|
+
},
|
|
26
32
|
'Duties and taxes will be applied to items and shipping.': {
|
|
27
33
|
value: 'Thuế và phí sẽ được áp dụng cho hàng hóa và vận chuyển.',
|
|
28
34
|
},
|
|
@@ -71,6 +77,9 @@ export const stringsVietnamese = {
|
|
|
71
77
|
Pay: {
|
|
72
78
|
value: 'Thanh toán',
|
|
73
79
|
},
|
|
80
|
+
Payment: {
|
|
81
|
+
value: 'Thanh toán',
|
|
82
|
+
},
|
|
74
83
|
'Payment failed': {
|
|
75
84
|
value: 'Thanh toán thất bại',
|
|
76
85
|
},
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { handleFetch } from "../handleFetch";
|
|
2
2
|
export const sendErrorLog = async ({ endpoint, errors, metadata }) => {
|
|
3
|
+
const userAgentData = 'userAgentData' in window.navigator
|
|
4
|
+
? // userAgentData is not yet supported in all browsers
|
|
5
|
+
window.navigator.userAgentData
|
|
6
|
+
: null;
|
|
3
7
|
const errorObject = {
|
|
4
8
|
endpoint,
|
|
5
9
|
errors,
|
|
6
|
-
metadata: Object.assign({ href: window.location.href, userAgent:
|
|
7
|
-
?
|
|
10
|
+
metadata: Object.assign({ href: window.location.href, userAgent: userAgentData && userAgentData.brands.length > 0
|
|
11
|
+
? userAgentData
|
|
8
12
|
: window.navigator.userAgent }, metadata),
|
|
9
13
|
};
|
|
10
14
|
void handleFetch(`${process.env.NEXT_PUBLIC_ZONOS_ROUTE_URL}/api/zonos-elements/log-error`, {
|
|
@@ -16,7 +16,7 @@ const isVercelPreview = inVercel && process.env.VERCEL_ENV === 'preview';
|
|
|
16
16
|
export const isVercelProd = inVercel && process.env.VERCEL_ENV === 'production';
|
|
17
17
|
const packageVersion = `${process.env.npm_package_version}` ||
|
|
18
18
|
process.env.NEXT_PUBLIC_ZONOS_PACKAGE_VERSION;
|
|
19
|
-
const
|
|
19
|
+
const JS_DELIVR_ZONOS_URL = `https://cdn.jsdelivr.net/npm/@zonos/elements@${packageVersion}`;
|
|
20
20
|
const currentBranch = process.env.VERCEL_GIT_COMMIT_REF || process.env.BRANCH_NAME;
|
|
21
21
|
export const formattedUrl = ({ branchName, inCI: _inCI, inVercel: _inVercel, isVercelPreview: _isVercelPreview, packageVersion: _packageVersion, type = 'full', url, }) => {
|
|
22
22
|
if (!url) {
|
|
@@ -119,9 +119,9 @@ const envClient = {
|
|
|
119
119
|
NEXT_PUBLIC_FLAG_URL: z.string(),
|
|
120
120
|
NEXT_PUBLIC_ZONOS_API_KEY: z.string(),
|
|
121
121
|
NEXT_PUBLIC_ZONOS_CDN_URL: z.string(),
|
|
122
|
+
NEXT_PUBLIC_ZONOS_JS_DELIVR_CDN_URL: z.string(),
|
|
122
123
|
NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: z.string(),
|
|
123
124
|
NEXT_PUBLIC_ZONOS_ROUTE_URL: z.string(),
|
|
124
|
-
NEXT_PUBLIC_ZONOS_UNPKG_CDN_URL: z.string(),
|
|
125
125
|
};
|
|
126
126
|
const envClientSchema = z.object(envClient);
|
|
127
127
|
export const env = createEnv({
|
|
@@ -154,6 +154,7 @@ export const env = createEnv({
|
|
|
154
154
|
type: 'full',
|
|
155
155
|
url: process.env.NEXT_PUBLIC_ZONOS_CDN_URL,
|
|
156
156
|
}),
|
|
157
|
+
NEXT_PUBLIC_ZONOS_JS_DELIVR_CDN_URL: JS_DELIVR_ZONOS_URL,
|
|
157
158
|
NEXT_PUBLIC_ZONOS_PACKAGE_VERSION: packageVersion,
|
|
158
159
|
/**
|
|
159
160
|
* Versioning url for production environment (major version only for route.js.zonos.com)
|
|
@@ -168,7 +169,6 @@ export const env = createEnv({
|
|
|
168
169
|
type: 'major',
|
|
169
170
|
url: process.env.NEXT_PUBLIC_ZONOS_ROUTE_URL,
|
|
170
171
|
}),
|
|
171
|
-
NEXT_PUBLIC_ZONOS_UNPKG_CDN_URL: UNPKG_ZONOS_URL,
|
|
172
172
|
},
|
|
173
173
|
});
|
|
174
174
|
/**
|
|
@@ -17,7 +17,7 @@ const zonosLoadUrl = (() => {
|
|
|
17
17
|
return null;
|
|
18
18
|
})();
|
|
19
19
|
const ZONOS_URL = zonosLoadUrl || process.env.NEXT_PUBLIC_ZONOS_CDN_URL;
|
|
20
|
-
const
|
|
20
|
+
const JS_DELIVR_ZONOS_URL = process.env.NEXT_PUBLIC_ZONOS_JS_DELIVR_CDN_URL;
|
|
21
21
|
const INTER_FONT_URL = 'https://rsms.me';
|
|
22
22
|
const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
|
|
23
23
|
const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
|
|
@@ -259,14 +259,14 @@ Zonos.injectZonosCdn = () => {
|
|
|
259
259
|
// init zonos elements when the zonosKey is valid
|
|
260
260
|
// inject esmodule cdn for zonos elements
|
|
261
261
|
_a.injectScript({
|
|
262
|
-
fallBackDomain:
|
|
262
|
+
fallBackDomain: JS_DELIVR_ZONOS_URL,
|
|
263
263
|
isModule: true,
|
|
264
264
|
scriptDomain: ZONOS_URL,
|
|
265
265
|
theRestUrl: 'dist/zonos-elements/zonos-elements.esm.js',
|
|
266
266
|
});
|
|
267
267
|
// inject non module cdn for zonos elements
|
|
268
268
|
_a.injectScript({
|
|
269
|
-
fallBackDomain:
|
|
269
|
+
fallBackDomain: JS_DELIVR_ZONOS_URL,
|
|
270
270
|
isModule: false,
|
|
271
271
|
scriptDomain: ZONOS_URL,
|
|
272
272
|
theRestUrl: 'dist/zonos-elements/zonos-elements.js',
|
|
@@ -311,7 +311,7 @@ Zonos.injectZonosCss = () => {
|
|
|
311
311
|
}
|
|
312
312
|
// inject css for zonos elements
|
|
313
313
|
_a.injectStylesheet({
|
|
314
|
-
fallBackDomain:
|
|
314
|
+
fallBackDomain: JS_DELIVR_ZONOS_URL,
|
|
315
315
|
stylesheetDomain: ZONOS_URL,
|
|
316
316
|
theRestUrl: 'dist/zonos-elements/zonos-elements.css',
|
|
317
317
|
});
|