@zonos/elements 1.3.84 → 1.3.85
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-a06f18e2.js → cart-fc426d98.js} +86 -141
- package/dist/cjs/{createCustomEvent-8d9cf9ac.js → createCustomEvent-354c8e63.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/{paypal-078f3cef.js → paypal-1fe5ed0c.js} +1 -1
- package/dist/cjs/zonos-address_7.cjs.entry.js +1 -1
- package/dist/cjs/zonos-cart-items_12.cjs.entry.js +30 -13
- package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
- package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
- package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
- package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
- package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
- package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
- package/dist/cjs/zonos-notification_3.cjs.entry.js +4 -4
- package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +3 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +12 -3
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +2 -1
- package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +3 -2
- package/dist/collection/components/store/checkout/stripe.js +1 -0
- package/dist/collection/components/store/hello/localization.js +1 -1
- package/dist/collection/components/store/translationStore/strings.arabic.js +4 -7
- package/dist/collection/components/store/translationStore/strings.base.js +4 -7
- package/dist/collection/components/store/translationStore/strings.chinese.js +4 -7
- package/dist/collection/components/store/translationStore/strings.danish.js +4 -7
- package/dist/collection/components/store/translationStore/strings.dutch.js +4 -7
- package/dist/collection/components/store/translationStore/strings.french.js +4 -7
- package/dist/collection/components/store/translationStore/strings.german.js +4 -7
- package/dist/collection/components/store/translationStore/strings.hebrew.js +4 -7
- package/dist/collection/components/store/translationStore/strings.indonesian.js +4 -7
- package/dist/collection/components/store/translationStore/strings.italian.js +4 -7
- package/dist/collection/components/store/translationStore/strings.japanese.js +4 -7
- package/dist/collection/components/store/translationStore/strings.korean.js +4 -7
- package/dist/collection/components/store/translationStore/strings.norwegian.js +4 -7
- package/dist/collection/components/store/translationStore/strings.polish.js +4 -7
- package/dist/collection/components/store/translationStore/strings.portuguese.js +4 -7
- package/dist/collection/components/store/translationStore/strings.russian.js +4 -7
- package/dist/collection/components/store/translationStore/strings.spanish.js +4 -7
- package/dist/collection/components/store/translationStore/strings.swedish.js +4 -7
- package/dist/collection/components/store/translationStore/strings.turkish.js +4 -7
- package/dist/collection/components/store/translationStore/strings.vietnamese.js +4 -7
- package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +2 -2
- package/dist/collection/components/utils/getContrastColor.js +8 -3
- package/dist/collection/styles/stripe/addressRuleStyle.js +4 -0
- package/dist/esm/{cart-40e0d619.js → cart-6c44367a.js} +86 -141
- package/dist/esm/{createCustomEvent-1f615c82.js → createCustomEvent-ec15a4a7.js} +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/{paypal-a45fb0bb.js → paypal-a562a640.js} +1 -1
- package/dist/esm/zonos-address_7.entry.js +1 -1
- package/dist/esm/zonos-cart-items_12.entry.js +30 -13
- package/dist/esm/zonos-checkout.entry.js +3 -3
- package/dist/esm/zonos-controller.entry.js +1 -1
- package/dist/esm/zonos-country-flag.entry.js +1 -1
- package/dist/esm/zonos-country-select_4.entry.js +1 -1
- package/dist/esm/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm/zonos-hello.entry.js +1 -1
- package/dist/esm/zonos-language-select_2.entry.js +1 -1
- package/dist/esm/zonos-notification_3.entry.js +4 -4
- package/dist/esm-es5/cart-6c44367a.js +1 -0
- package/dist/esm-es5/{createCustomEvent-1f615c82.js → createCustomEvent-ec15a4a7.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{paypal-a45fb0bb.js → paypal-a562a640.js} +1 -1
- package/dist/esm-es5/zonos-address_7.entry.js +1 -1
- package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
- package/dist/esm-es5/zonos-checkout.entry.js +1 -1
- package/dist/esm-es5/zonos-controller.entry.js +1 -1
- package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
- package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
- package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
- package/dist/esm-es5/zonos-hello.entry.js +1 -1
- package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
- package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
- package/dist/scripts/index.js +1 -1
- package/dist/scripts/loadZonos.js +1 -1
- package/dist/scripts/zonos.js +1 -1
- package/dist/types/components/store/translationStore/strings.arabic.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.base.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.chinese.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.danish.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.dutch.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.french.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.german.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.hebrew.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.indonesian.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.italian.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.japanese.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.korean.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.norwegian.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.polish.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.portuguese.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.russian.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.spanish.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.swedish.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.turkish.d.ts +2 -5
- package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +2 -5
- package/dist/types/components/store/translationStore.d.ts +1 -1
- package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
- package/dist/zonos-elements/index.esm.js +1 -1
- package/dist/zonos-elements/{p-60c543e7.entry.js → p-01604d44.entry.js} +1 -1
- package/dist/zonos-elements/{p-47d5a081.system.js → p-08fee913.system.js} +1 -1
- package/dist/zonos-elements/{p-e2adfe87.system.js → p-092961f1.system.js} +1 -1
- package/dist/zonos-elements/{p-78ca17aa.system.entry.js → p-133595ff.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5d325c13.system.entry.js → p-1eb59b7c.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c224f43a.system.entry.js → p-35b6b151.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-c3314b3b.entry.js → p-3b3cb2a4.entry.js} +1 -1
- package/dist/zonos-elements/{p-ba10b830.entry.js → p-51e2df70.entry.js} +1 -1
- package/dist/zonos-elements/{p-e563eb3f.entry.js → p-5ba198b3.entry.js} +1 -1
- package/dist/zonos-elements/{p-ac6562c7.system.entry.js → p-5ebde561.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-ec8ff301.system.entry.js → p-63a33354.system.entry.js} +1 -1
- package/dist/zonos-elements/p-64b67900.entry.js +1 -0
- package/dist/zonos-elements/p-6b7fa35e.system.js +1 -0
- package/dist/zonos-elements/{p-1348c46d.js → p-710ac059.js} +1 -1
- package/dist/zonos-elements/{p-b1381434.system.entry.js → p-76013796.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-5ef15d65.system.entry.js → p-7b4a5b9b.system.entry.js} +1 -1
- package/dist/zonos-elements/{p-181de82e.entry.js → p-95241447.entry.js} +1 -1
- package/dist/zonos-elements/p-a26a8ca5.system.entry.js +1 -0
- package/dist/zonos-elements/{p-019b202c.entry.js → p-a858a304.entry.js} +1 -1
- package/dist/zonos-elements/{p-0a15de43.entry.js → p-b5316c2c.entry.js} +1 -1
- package/dist/zonos-elements/{p-3d9a0e52.system.js → p-b9645c27.system.js} +1 -1
- package/dist/zonos-elements/{p-7096814b.system.entry.js → p-c37b99dd.system.entry.js} +1 -1
- package/dist/zonos-elements/p-c78dd680.system.js +1 -1
- package/dist/zonos-elements/{p-b39b794a.js → p-cbb742ab.js} +1 -1
- package/dist/zonos-elements/{p-9367aeca.system.entry.js → p-d7b341e3.system.entry.js} +1 -1
- package/dist/zonos-elements/p-de6c2a4a.entry.js +1 -0
- package/dist/zonos-elements/{p-9013751a.entry.js → p-e78c2429.entry.js} +1 -1
- package/dist/zonos-elements/p-ee8b5e53.js +1 -0
- package/dist/zonos-elements/zonos-elements.esm.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/cart-40e0d619.js +0 -1
- package/dist/zonos-elements/p-189a2cae.entry.js +0 -1
- package/dist/zonos-elements/p-c1fbe220.js +0 -1
- package/dist/zonos-elements/p-d043cf10.system.entry.js +0 -1
- package/dist/zonos-elements/p-d31368f1.entry.js +0 -1
- package/dist/zonos-elements/p-e6f2948c.system.js +0 -1
|
@@ -137,8 +137,8 @@ export const stringsFrench = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: 'Cacher',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: 'Masquer les
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: 'Masquer les options non prépayées',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: 'Code promo invalide',
|
|
@@ -284,8 +284,8 @@ export const stringsFrench = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: 'Montrer',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: 'Afficher les
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: 'Afficher les options non prépayées',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: "Quelque chose s'est mal passé.",
|
|
@@ -386,9 +386,6 @@ export const stringsFrench = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: 'jours',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'ou',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: 'articles restreints',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsGerman = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: 'Verstecken',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: 'Nicht vorausbezahlte
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: 'Nicht vorausbezahlte Optionen ausblenden',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: 'Ungültiger Aktionscode',
|
|
@@ -284,8 +284,8 @@ export const stringsGerman = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: 'Zeigen',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: 'Nicht vorausbezahlte
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: 'Nicht vorausbezahlte Optionen anzeigen',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: 'Etwas ist schief gelaufen.',
|
|
@@ -386,9 +386,6 @@ export const stringsGerman = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: 'Tage',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'oder',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: 'eingeschränkte Artikel',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsHebrew = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: 'הסתר',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: 'הסתר
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: 'הסתר אפשרויות שאינן בתשלום מראש',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: 'קוד קידום מכירות לא חוקי',
|
|
@@ -284,8 +284,8 @@ export const stringsHebrew = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: 'הצג',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: 'הצג
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: 'הצג אפשרויות שאינן בתשלום מראש',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: 'משהו השתבש.',
|
|
@@ -386,9 +386,6 @@ export const stringsHebrew = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: 'ימים',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'או',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: 'פריטים מוגבלים',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsIndonesian = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: 'Sembunyikan',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: 'Sembunyikan
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: 'Sembunyikan opsi yang tidak prabayar',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: 'Kode promo tidak valid',
|
|
@@ -284,8 +284,8 @@ export const stringsIndonesian = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: 'Tampilkan',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: 'Tampilkan
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: 'Tampilkan opsi non-prabayar',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: 'Ada yang salah.',
|
|
@@ -386,9 +386,6 @@ export const stringsIndonesian = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: 'hari',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'atau',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: 'barang terbatas',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsItalian = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: 'Nascondi',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: 'Nascondi
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: 'Nascondi opzioni non prepagate',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: 'Codice promozionale non valido',
|
|
@@ -284,8 +284,8 @@ export const stringsItalian = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: 'Mostra',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: 'Mostra
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: 'Mostra opzioni non prepagate',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: 'Qualcosa è andato storto.',
|
|
@@ -386,9 +386,6 @@ export const stringsItalian = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: 'giorni',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'o',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: 'articoli limitati',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsJapanese = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: '隠す',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: '
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: '未払いオプションを非表示にする',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: '無効なプロモーションコード',
|
|
@@ -284,8 +284,8 @@ export const stringsJapanese = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: '表示',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: '
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: '非プリペイドオプションを表示',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: 'エラーが発生しました。',
|
|
@@ -386,9 +386,6 @@ export const stringsJapanese = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: '日々',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'または',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: '制限された項目',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsKorean = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: '숨기다',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: '
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: '선불이 아닌 옵션 숨기기',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: '유효하지 않은 프로모션 코드',
|
|
@@ -284,8 +284,8 @@ export const stringsKorean = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: '보이다',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: '비선불
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: '비선불 옵션 표시',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: '문제가 발생했습니다.',
|
|
@@ -386,9 +386,6 @@ export const stringsKorean = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: '일',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: '또는',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: '제한된 항목',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsNorwegian = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: 'Gjem',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: 'Skjul ikke-forhåndsbetalte
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: 'Skjul ikke-forhåndsbetalte alternativer',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: 'Ugyldig kampanjekode',
|
|
@@ -284,8 +284,8 @@ export const stringsNorwegian = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: 'Vis',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: 'Vis ikke
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: 'Vis ikke-forhåndsbetalte alternativer',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: 'Noe gikk galt.',
|
|
@@ -386,9 +386,6 @@ export const stringsNorwegian = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: 'dager',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'eller',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: 'begrensede elementer',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsPolish = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: 'Ukryj',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: 'Ukryj
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: 'Ukryj opcje nieprzedpłacone',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: 'Nieprawidłowy kod promocyjny',
|
|
@@ -284,8 +284,8 @@ export const stringsPolish = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: 'Pokaż',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: 'Pokaż
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: 'Pokaż opcje bez przedpłaty',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: 'Coś poszło nie tak.',
|
|
@@ -386,9 +386,6 @@ export const stringsPolish = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: 'dni',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'lub',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: 'przedmioty ograniczone',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsPortuguese = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: 'Esconder',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: 'Ocultar
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: 'Ocultar opções não pré-pagas',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: 'Código promocional inválido',
|
|
@@ -284,8 +284,8 @@ export const stringsPortuguese = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: 'Mostrar',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: 'Mostrar
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: 'Mostrar opções não pré-pagas',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: 'Algo deu errado.',
|
|
@@ -386,9 +386,6 @@ export const stringsPortuguese = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: 'dias',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'ou',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: 'itens restritos',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsRussian = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: 'Скрыть',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: 'Скрыть
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: 'Скрыть неоплаченные варианты',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: 'Недействительный промо-код',
|
|
@@ -284,8 +284,8 @@ export const stringsRussian = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: 'Показать',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: 'Показать
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: 'Показать варианты без предоплаты',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: 'Что-то пошло не так.',
|
|
@@ -386,9 +386,6 @@ export const stringsRussian = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: 'дни',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'или',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: 'ограниченные предметы',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsSpanish = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: 'Ocultar',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: 'Ocultar
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: 'Ocultar opciones no prepagadas',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: 'Código promocional no válido',
|
|
@@ -284,8 +284,8 @@ export const stringsSpanish = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: 'Mostrar',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: 'Mostrar
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: 'Mostrar opciones no prepagadas',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: 'Algo salió mal.',
|
|
@@ -386,9 +386,6 @@ export const stringsSpanish = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: 'días',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'o',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: 'artículos restringidos',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsSwedish = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: 'Dölj',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: 'Dölj icke-förbetalda
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: 'Dölj icke-förbetalda alternativ',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: 'Ogiltig kampanjkod',
|
|
@@ -284,8 +284,8 @@ export const stringsSwedish = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: 'Visa',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: 'Visa icke
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: 'Visa icke-förbetalda alternativ',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: 'Något gick fel.',
|
|
@@ -386,9 +386,6 @@ export const stringsSwedish = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: 'dagar',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'eller',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: 'begränsade föremål',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsTurkish = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: 'Sakla',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: 'Ön ödemesiz
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: 'Ön ödemesiz seçenekleri gizle',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: 'Geçersiz promosyon kodu',
|
|
@@ -284,8 +284,8 @@ export const stringsTurkish = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: 'Göster',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: 'Ön ödemesiz
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: 'Ön ödemesiz seçenekleri göster',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: 'Bir şeyler yanlış gitti.',
|
|
@@ -386,9 +386,6 @@ export const stringsTurkish = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: 'günler',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'veya',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: 'kısıtlı öğeler',
|
|
394
391
|
},
|
|
@@ -137,8 +137,8 @@ export const stringsVietnamese = {
|
|
|
137
137
|
Hide: {
|
|
138
138
|
value: 'Ẩn',
|
|
139
139
|
},
|
|
140
|
-
'Hide non
|
|
141
|
-
value: 'Ẩn các
|
|
140
|
+
'Hide non-prepaid options': {
|
|
141
|
+
value: 'Ẩn các tùy chọn chưa trả trước',
|
|
142
142
|
},
|
|
143
143
|
'Invalid promo code': {
|
|
144
144
|
value: 'Mã khuyến mãi không hợp lệ',
|
|
@@ -284,8 +284,8 @@ export const stringsVietnamese = {
|
|
|
284
284
|
Show: {
|
|
285
285
|
value: 'Hiển thị',
|
|
286
286
|
},
|
|
287
|
-
'Show non
|
|
288
|
-
value: 'Hiển thị các
|
|
287
|
+
'Show non-prepaid options': {
|
|
288
|
+
value: 'Hiển thị các tùy chọn không trả trước',
|
|
289
289
|
},
|
|
290
290
|
'Something went wrong.': {
|
|
291
291
|
value: 'Đã xảy ra lỗi.',
|
|
@@ -386,9 +386,6 @@ export const stringsVietnamese = {
|
|
|
386
386
|
days: {
|
|
387
387
|
value: 'ngày',
|
|
388
388
|
},
|
|
389
|
-
or: {
|
|
390
|
-
value: 'hoặc',
|
|
391
|
-
},
|
|
392
389
|
'restricted items': {
|
|
393
390
|
value: 'mặt hàng bị hạn chế',
|
|
394
391
|
},
|
|
@@ -17,7 +17,7 @@ export class ZonosPayment {
|
|
|
17
17
|
// Create and mount the Authentication Element in ${type} mode
|
|
18
18
|
const paymentElement = stripeStore.stripePaymentElement ||
|
|
19
19
|
this.stripeElements.create('payment', {
|
|
20
|
-
layout: '
|
|
20
|
+
layout: 'tabs',
|
|
21
21
|
});
|
|
22
22
|
const paymentElementContainer = this.el.querySelector('.zonos--payment-component');
|
|
23
23
|
if (!paymentElementContainer) {
|
|
@@ -36,7 +36,7 @@ export class ZonosPayment {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
// this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'cf616ec959fd1b7396ed86b23561f459e0da8722', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: 'e5564db71ba2c0d67d372cb1804d6d462cdf1b33', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '3ea47f2c0a541590210d181bc73ecb3fb27e7783', class: "zonos--payment-component" }), h("div", { key: 'd3a46a127448568caf4309806e88556594075c12', class: "zonos--payment-paypal-container" })));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "zonos-payment"; }
|
|
42
42
|
static get encapsulation() { return "scoped"; }
|
|
@@ -14,7 +14,12 @@ export const getContrastColor = ({ backgroundColor, color, }) => {
|
|
|
14
14
|
if (isDarkColor(color)) {
|
|
15
15
|
return '#ffffff';
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
const newDarkerColor = tinycolor(color).darken(25).toHexString();
|
|
18
|
+
const newLigherColor = tinycolor(color).lighten(25).toHexString();
|
|
19
|
+
// get readibility of the color
|
|
20
|
+
const isNewColorContrastEnough = isContrastColor({
|
|
21
|
+
backgroundColor1: backgroundColor,
|
|
22
|
+
backgroundColor2: newDarkerColor,
|
|
23
|
+
});
|
|
24
|
+
return isNewColorContrastEnough ? newDarkerColor : newLigherColor;
|
|
20
25
|
};
|