@zonos/elements 1.3.26 → 1.3.27

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.
Files changed (131) hide show
  1. package/dist/cjs/{cart-7e817cad.js → cart-61caeb84.js} +280 -160
  2. package/dist/cjs/index.cjs.js +3 -54
  3. package/dist/cjs/{submitGtag-7e0065da.js → submitGtag-d3898668.js} +1 -1
  4. package/dist/cjs/zonos-address_8.cjs.entry.js +3 -3
  5. package/dist/cjs/zonos-card_2.cjs.entry.js +1 -1
  6. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +2 -2
  7. package/dist/cjs/zonos-checkout.cjs.entry.js +2 -2
  8. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  9. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-country-select_3.cjs.entry.js +3 -3
  11. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +58 -21
  12. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-payment.cjs.entry.js +2 -2
  14. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  15. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +54 -20
  16. package/dist/collection/components/main/zonos-controller.js +1 -1
  17. package/dist/collection/components/store/translationStore/strings.arabic.js +14 -8
  18. package/dist/collection/components/store/translationStore/strings.base.js +14 -8
  19. package/dist/collection/components/store/translationStore/strings.chinese.js +14 -8
  20. package/dist/collection/components/store/translationStore/strings.danish.js +14 -8
  21. package/dist/collection/components/store/translationStore/strings.dutch.js +14 -8
  22. package/dist/collection/components/store/translationStore/strings.french.js +14 -8
  23. package/dist/collection/components/store/translationStore/strings.german.js +14 -8
  24. package/dist/collection/components/store/translationStore/strings.hebrew.js +14 -8
  25. package/dist/collection/components/store/translationStore/strings.indonesian.js +14 -8
  26. package/dist/collection/components/store/translationStore/strings.italian.js +14 -8
  27. package/dist/collection/components/store/translationStore/strings.japanese.js +14 -8
  28. package/dist/collection/components/store/translationStore/strings.korean.js +14 -8
  29. package/dist/collection/components/store/translationStore/strings.norwegian.js +14 -8
  30. package/dist/collection/components/store/translationStore/strings.polish.js +14 -8
  31. package/dist/collection/components/store/translationStore/strings.portuguese.js +14 -8
  32. package/dist/collection/components/store/translationStore/strings.russian.js +14 -8
  33. package/dist/collection/components/store/translationStore/strings.spanish.js +14 -8
  34. package/dist/collection/components/store/translationStore/strings.swedish.js +14 -8
  35. package/dist/collection/components/store/translationStore/strings.turkish.js +14 -8
  36. package/dist/collection/components/store/translationStore/strings.vietnamese.js +14 -8
  37. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  38. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  39. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  40. package/dist/collection/components/utils/wrapStringWithLink.js +3 -0
  41. package/dist/collection/scripts/_zonosBase.js +0 -51
  42. package/dist/esm/{cart-13e6a811.js → cart-530a8750.js} +280 -160
  43. package/dist/esm/index.js +3 -54
  44. package/dist/esm/{submitGtag-c8bb6f2e.js → submitGtag-44ba0846.js} +1 -1
  45. package/dist/esm/zonos-address_8.entry.js +3 -3
  46. package/dist/esm/zonos-card_2.entry.js +1 -1
  47. package/dist/esm/zonos-cart-items_12.entry.js +2 -2
  48. package/dist/esm/zonos-checkout.entry.js +2 -2
  49. package/dist/esm/zonos-controller.entry.js +2 -2
  50. package/dist/esm/zonos-country-flag.entry.js +1 -1
  51. package/dist/esm/zonos-country-select_3.entry.js +3 -3
  52. package/dist/esm/zonos-hello-dialog.entry.js +58 -21
  53. package/dist/esm/zonos-hello.entry.js +1 -1
  54. package/dist/esm/zonos-payment.entry.js +2 -2
  55. package/dist/esm-es5/cart-530a8750.js +1 -0
  56. package/dist/esm-es5/index.js +1 -1
  57. package/dist/esm-es5/{submitGtag-c8bb6f2e.js → submitGtag-44ba0846.js} +1 -1
  58. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  59. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  60. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  61. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  62. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  63. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  64. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  65. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  66. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  67. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  68. package/dist/scripts/index.d.ts +0 -1
  69. package/dist/scripts/index.js +1 -1
  70. package/dist/scripts/loadZonos.js +1 -1
  71. package/dist/scripts/zonos.js +1 -1
  72. package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +8 -0
  73. package/dist/types/components/store/translationStore/strings.arabic.d.ts +13 -7
  74. package/dist/types/components/store/translationStore/strings.base.d.ts +13 -7
  75. package/dist/types/components/store/translationStore/strings.chinese.d.ts +13 -7
  76. package/dist/types/components/store/translationStore/strings.danish.d.ts +13 -7
  77. package/dist/types/components/store/translationStore/strings.dutch.d.ts +13 -7
  78. package/dist/types/components/store/translationStore/strings.french.d.ts +13 -7
  79. package/dist/types/components/store/translationStore/strings.german.d.ts +13 -7
  80. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +13 -7
  81. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +13 -7
  82. package/dist/types/components/store/translationStore/strings.italian.d.ts +13 -7
  83. package/dist/types/components/store/translationStore/strings.japanese.d.ts +13 -7
  84. package/dist/types/components/store/translationStore/strings.korean.d.ts +13 -7
  85. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +13 -7
  86. package/dist/types/components/store/translationStore/strings.polish.d.ts +13 -7
  87. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +13 -7
  88. package/dist/types/components/store/translationStore/strings.russian.d.ts +13 -7
  89. package/dist/types/components/store/translationStore/strings.spanish.d.ts +13 -7
  90. package/dist/types/components/store/translationStore/strings.swedish.d.ts +13 -7
  91. package/dist/types/components/store/translationStore/strings.turkish.d.ts +13 -7
  92. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +13 -7
  93. package/dist/types/components/store/translationStore.d.ts +1 -1
  94. package/dist/types/components/utils/wrapStringWithLink.d.ts +4 -0
  95. package/dist/types/scripts/_zonosBase.d.ts +0 -1
  96. package/dist/zonos-elements/index.esm.js +1 -1
  97. package/dist/zonos-elements/p-094bfe56.system.entry.js +1 -0
  98. package/dist/zonos-elements/{p-60621085.entry.js → p-099e229a.entry.js} +1 -1
  99. package/dist/zonos-elements/{p-b88e52b5.entry.js → p-11f87d7d.entry.js} +1 -1
  100. package/dist/zonos-elements/{p-f7e2d33b.system.entry.js → p-18d04e89.system.entry.js} +1 -1
  101. package/dist/zonos-elements/{p-492b8e12.entry.js → p-2a5a0bae.entry.js} +1 -1
  102. package/dist/zonos-elements/{p-e975b187.entry.js → p-35d00c30.entry.js} +1 -1
  103. package/dist/zonos-elements/{p-3e488bff.entry.js → p-37685139.entry.js} +1 -1
  104. package/dist/zonos-elements/{p-452ed1a7.entry.js → p-4eaae82e.entry.js} +1 -1
  105. package/dist/zonos-elements/p-5d006b02.system.js +1 -0
  106. package/dist/zonos-elements/{p-eea8111c.system.entry.js → p-5f580c9b.system.entry.js} +1 -1
  107. package/dist/zonos-elements/{p-99da2348.entry.js → p-687dbccc.entry.js} +1 -1
  108. package/dist/zonos-elements/{p-a5d823d3.system.entry.js → p-68dfcd25.system.entry.js} +1 -1
  109. package/dist/zonos-elements/{p-3baf7a18.entry.js → p-6fe27968.entry.js} +1 -1
  110. package/dist/zonos-elements/{p-58edaab6.system.entry.js → p-7b5a0a18.system.entry.js} +1 -1
  111. package/dist/zonos-elements/{p-d3e61deb.system.entry.js → p-84f7a3a2.system.entry.js} +1 -1
  112. package/dist/zonos-elements/{p-43c1dd27.system.entry.js → p-a5704be4.system.entry.js} +1 -1
  113. package/dist/zonos-elements/p-b4ccc72c.js +1 -0
  114. package/dist/zonos-elements/{p-eabe2abc.js → p-bb032c2f.js} +1 -1
  115. package/dist/zonos-elements/p-c4154737.system.js +1 -0
  116. package/dist/zonos-elements/{p-094c7343.system.entry.js → p-cbed004d.system.entry.js} +1 -1
  117. package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
  118. package/dist/zonos-elements/{p-089c3737.system.entry.js → p-e15ef12e.system.entry.js} +1 -1
  119. package/dist/zonos-elements/{p-2011cb03.entry.js → p-e3978982.entry.js} +1 -1
  120. package/dist/zonos-elements/{p-cab01f64.system.entry.js → p-ecd994c8.system.entry.js} +1 -1
  121. package/dist/zonos-elements/p-fb1120a2.system.js +1 -0
  122. package/dist/zonos-elements/p-fb1b98a8.entry.js +1 -0
  123. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  124. package/package.json +1 -1
  125. package/dist/esm-es5/cart-13e6a811.js +0 -1
  126. package/dist/zonos-elements/p-121be462.system.js +0 -1
  127. package/dist/zonos-elements/p-1f2077df.entry.js +0 -1
  128. package/dist/zonos-elements/p-74488e31.system.js +0 -1
  129. package/dist/zonos-elements/p-875a311d.js +0 -1
  130. package/dist/zonos-elements/p-d1771035.system.js +0 -1
  131. package/dist/zonos-elements/p-e80a5ed7.system.entry.js +0 -1
@@ -62,6 +62,9 @@ export const stringsKorean = {
62
62
  "Don't close": {
63
63
  value: '닫지 마세요',
64
64
  },
65
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
66
+ value: '호주의 관세 및 세금, 부가가치세(VAT) 또는 GST는 [percentage]이며 모든 주문에 적용됩니다',
67
+ },
65
68
  'Duties and taxes will be applied to items and shipping.': {
66
69
  value: '물품과 배송에 관세와 세금이 부과됩니다.',
67
70
  },
@@ -104,6 +107,9 @@ export const stringsKorean = {
104
107
  'Last name': {
105
108
  value: '성',
106
109
  },
110
+ 'Learn more.': {
111
+ value: '자세히 알아보기.',
112
+ },
107
113
  'Missing required fields. Make sure all fields are completed.': {
108
114
  value: '필수 필드가 누락되었습니다. 모든 필드가 완료되었는지 확인하세요.',
109
115
  },
@@ -206,8 +212,11 @@ export const stringsKorean = {
206
212
  'Something went wrong.': {
207
213
  value: '문제가 발생했습니다.',
208
214
  },
209
- Spend: {
210
- value: '지출',
215
+ 'Spend [threshold] duty free': {
216
+ value: '[threshold]을 면세로 사용하세요',
217
+ },
218
+ 'Spend [threshold] tax free': {
219
+ value: '[threshold]을 세금 없이 사용하세요',
211
220
  },
212
221
  State: {
213
222
  value: '주',
@@ -221,6 +230,9 @@ export const stringsKorean = {
221
230
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
222
231
  value: '다음 항목은 국가로 배송할 수 없으며 장바구니 총액에 포함되지 않습니다.',
223
232
  },
233
+ 'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
234
+ value: '2018년 7월 1일에 통과된 저가 GST 법은 이 소매업체에 적용됩니다.',
235
+ },
224
236
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
225
237
  value: '결제 세션을 생성하는 중에 오류가 발생했습니다. 오류가 계속되면 페이지를 다시 로드하고 다시 시도하거나 지원팀에 문의하세요',
226
238
  },
@@ -281,13 +293,7 @@ export const stringsKorean = {
281
293
  'click to learn more': {
282
294
  value: '자세히 알아보려면 클릭',
283
295
  },
284
- 'duty free': {
285
- value: '관세 면제',
286
- },
287
296
  'restricted items': {
288
297
  value: '제한된 항목',
289
298
  },
290
- 'tax free': {
291
- value: '세금 면제',
292
- },
293
299
  };
@@ -62,6 +62,9 @@ export const stringsNorwegian = {
62
62
  "Don't close": {
63
63
  value: 'Ikke lukk',
64
64
  },
65
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
66
+ value: 'Avgifter og skatter i Australia, MVA eller GST er [percentage] og forfaller på alle bestillinger',
67
+ },
65
68
  'Duties and taxes will be applied to items and shipping.': {
66
69
  value: 'Avgift og skatt vil legges til på varer og frakt.',
67
70
  },
@@ -104,6 +107,9 @@ export const stringsNorwegian = {
104
107
  'Last name': {
105
108
  value: 'Etternavn',
106
109
  },
110
+ 'Learn more.': {
111
+ value: 'Lær mer.',
112
+ },
107
113
  'Missing required fields. Make sure all fields are completed.': {
108
114
  value: 'Manglende nødvendige felt. Sørg for at alle felt er utfylt.',
109
115
  },
@@ -206,8 +212,11 @@ export const stringsNorwegian = {
206
212
  'Something went wrong.': {
207
213
  value: 'Noe gikk galt.',
208
214
  },
209
- Spend: {
210
- value: 'Bruk',
215
+ 'Spend [threshold] duty free': {
216
+ value: 'Bruk [threshold] tollfritt',
217
+ },
218
+ 'Spend [threshold] tax free': {
219
+ value: 'Bruk [threshold] skattefritt',
211
220
  },
212
221
  State: {
213
222
  value: 'Stat',
@@ -221,6 +230,9 @@ export const stringsNorwegian = {
221
230
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
222
231
  value: 'Følgende varer kan ikke sendes til landet ditt og er ikke inkludert i totalen for handlekurven din.',
223
232
  },
233
+ 'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
234
+ value: 'Den lavverdige GST-loven som ble vedtatt 1. juli 2018 gjelder for denne forhandleren.',
235
+ },
224
236
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
225
237
  value: 'Det har oppstått en feil under opprettingen av utsjekkingssesjonen din. Vennligst last inn siden på nytt og prøv igjen, eller kontakt støtte hvis feilen vedvarer',
226
238
  },
@@ -281,13 +293,7 @@ export const stringsNorwegian = {
281
293
  'click to learn more': {
282
294
  value: 'klikk for å lære mer',
283
295
  },
284
- 'duty free': {
285
- value: 'tollfri',
286
- },
287
296
  'restricted items': {
288
297
  value: 'begrensede elementer',
289
298
  },
290
- 'tax free': {
291
- value: 'avgiftsfri',
292
- },
293
299
  };
@@ -62,6 +62,9 @@ export const stringsPolish = {
62
62
  "Don't close": {
63
63
  value: 'Nie zamykaj',
64
64
  },
65
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
66
+ value: 'Cła i podatki w Australii, VAT lub GST wynosi [percentage] i jest należny od wszystkich zamówień',
67
+ },
65
68
  'Duties and taxes will be applied to items and shipping.': {
66
69
  value: 'Cła i podatki zostaną naliczone do towarów i wysyłki.',
67
70
  },
@@ -104,6 +107,9 @@ export const stringsPolish = {
104
107
  'Last name': {
105
108
  value: 'Nazwisko',
106
109
  },
110
+ 'Learn more.': {
111
+ value: 'Dowiedz się więcej.',
112
+ },
107
113
  'Missing required fields. Make sure all fields are completed.': {
108
114
  value: 'Brak wymaganych pól. Upewnij się, że wszystkie pola są wypełnione.',
109
115
  },
@@ -206,8 +212,11 @@ export const stringsPolish = {
206
212
  'Something went wrong.': {
207
213
  value: 'Coś poszło nie tak.',
208
214
  },
209
- Spend: {
210
- value: 'Wydaj',
215
+ 'Spend [threshold] duty free': {
216
+ value: 'Wydaj [threshold] bez cła',
217
+ },
218
+ 'Spend [threshold] tax free': {
219
+ value: 'Wydaj [threshold] bez podatku',
211
220
  },
212
221
  State: {
213
222
  value: 'Stan',
@@ -221,6 +230,9 @@ export const stringsPolish = {
221
230
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
222
231
  value: 'Następujące przedmioty nie mogą być wysłane do twojego kraju i nie są wliczone do sumy twojego koszyka.',
223
232
  },
233
+ 'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
234
+ value: 'Prawo niskowartościowego GST przyjęte 1 lipca 2018 r. dotyczy tego sprzedawcy.',
235
+ },
224
236
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
225
237
  value: 'Podczas tworzenia Twojej sesji płatności wystąpił błąd. Proszę odświeżyć stronę i spróbować ponownie lub skontaktować się z obsługą, jeśli błąd będzie się utrzymywał',
226
238
  },
@@ -281,13 +293,7 @@ export const stringsPolish = {
281
293
  'click to learn more': {
282
294
  value: 'kliknij, aby dowiedzieć się więcej',
283
295
  },
284
- 'duty free': {
285
- value: 'bezcłowy',
286
- },
287
296
  'restricted items': {
288
297
  value: 'przedmioty ograniczone',
289
298
  },
290
- 'tax free': {
291
- value: 'bez podatku',
292
- },
293
299
  };
@@ -62,6 +62,9 @@ export const stringsPortuguese = {
62
62
  "Don't close": {
63
63
  value: 'Não fechar',
64
64
  },
65
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
66
+ value: 'Taxas e impostos na Austrália, o IVA ou GST é [percentage] e é devido em todos os pedidos',
67
+ },
65
68
  'Duties and taxes will be applied to items and shipping.': {
66
69
  value: 'Impostos e taxas serão aplicados aos itens e ao frete.',
67
70
  },
@@ -104,6 +107,9 @@ export const stringsPortuguese = {
104
107
  'Last name': {
105
108
  value: 'Sobrenome',
106
109
  },
110
+ 'Learn more.': {
111
+ value: 'Saiba mais.',
112
+ },
107
113
  'Missing required fields. Make sure all fields are completed.': {
108
114
  value: 'Faltam campos obrigatórios. Certifique-se de que todos os campos estão preenchidos.',
109
115
  },
@@ -206,8 +212,11 @@ export const stringsPortuguese = {
206
212
  'Something went wrong.': {
207
213
  value: 'Algo deu errado.',
208
214
  },
209
- Spend: {
210
- value: 'Gastar',
215
+ 'Spend [threshold] duty free': {
216
+ value: 'Gaste [threshold] livre de impostos',
217
+ },
218
+ 'Spend [threshold] tax free': {
219
+ value: 'Gaste [threshold] livre de impostos',
211
220
  },
212
221
  State: {
213
222
  value: 'Estado',
@@ -221,6 +230,9 @@ export const stringsPortuguese = {
221
230
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
222
231
  value: 'Os seguintes itens não podem ser enviados para o seu país e não estão incluídos no total do seu carrinho.',
223
232
  },
233
+ 'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
234
+ value: 'A lei de GST de baixo valor aprovada em 1º de julho de 2018 se aplica a este varejista.',
235
+ },
224
236
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
225
237
  value: 'Ocorreu um erro ao criar a sua sessão de checkout. Por favor, recarregue a página e tente novamente ou entre em contato com o suporte se o erro persistir',
226
238
  },
@@ -281,13 +293,7 @@ export const stringsPortuguese = {
281
293
  'click to learn more': {
282
294
  value: 'clique para saber mais',
283
295
  },
284
- 'duty free': {
285
- value: 'livre de impostos',
286
- },
287
296
  'restricted items': {
288
297
  value: 'itens restritos',
289
298
  },
290
- 'tax free': {
291
- value: 'livre de impostos',
292
- },
293
299
  };
@@ -62,6 +62,9 @@ export const stringsRussian = {
62
62
  "Don't close": {
63
63
  value: 'Не закрывайте',
64
64
  },
65
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
66
+ value: 'Пошлины и налоги в Австралии, НДС или GST составляет [percentage] и подлежит оплате на все заказы',
67
+ },
65
68
  'Duties and taxes will be applied to items and shipping.': {
66
69
  value: 'Пошлины и налоги будут применены к товарам и доставке.',
67
70
  },
@@ -104,6 +107,9 @@ export const stringsRussian = {
104
107
  'Last name': {
105
108
  value: 'Фамилия',
106
109
  },
110
+ 'Learn more.': {
111
+ value: 'Узнать больше.',
112
+ },
107
113
  'Missing required fields. Make sure all fields are completed.': {
108
114
  value: 'Отсутствуют необходимые поля. Убедитесь, что все поля заполнены.',
109
115
  },
@@ -206,8 +212,11 @@ export const stringsRussian = {
206
212
  'Something went wrong.': {
207
213
  value: 'Что-то пошло не так.',
208
214
  },
209
- Spend: {
210
- value: 'Потратить',
215
+ 'Spend [threshold] duty free': {
216
+ value: 'Тратьте [threshold] без пошлин',
217
+ },
218
+ 'Spend [threshold] tax free': {
219
+ value: 'Тратьте [threshold] без налога',
211
220
  },
212
221
  State: {
213
222
  value: 'Штат',
@@ -221,6 +230,9 @@ export const stringsRussian = {
221
230
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
222
231
  value: 'Следующие товары не могут быть доставлены в вашу страну и не включены в итоговую сумму вашей корзины.',
223
232
  },
233
+ 'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
234
+ value: 'Закон о низкой стоимости GST, принятый 1 июля 2018 года, применяется к этому розничному продавцу.',
235
+ },
224
236
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
225
237
  value: 'При создании вашей сессии оформления произошла ошибка. Пожалуйста, перезагрузите страницу и попробуйте снова или свяжитесь с поддержкой, если ошибка сохраняется',
226
238
  },
@@ -281,13 +293,7 @@ export const stringsRussian = {
281
293
  'click to learn more': {
282
294
  value: 'нажмите, чтобы узнать больше',
283
295
  },
284
- 'duty free': {
285
- value: 'беспошлинно',
286
- },
287
296
  'restricted items': {
288
297
  value: 'ограниченные предметы',
289
298
  },
290
- 'tax free': {
291
- value: 'без налогов',
292
- },
293
299
  };
@@ -62,6 +62,9 @@ export const stringsSpanish = {
62
62
  "Don't close": {
63
63
  value: 'No cerrar',
64
64
  },
65
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
66
+ value: 'Derechos e impuestos en Australia, el IVA o GST es [percentage] y se debe en todos los pedidos',
67
+ },
65
68
  'Duties and taxes will be applied to items and shipping.': {
66
69
  value: 'Los impuestos y aranceles se aplicarán a los artículos y al envío.',
67
70
  },
@@ -104,6 +107,9 @@ export const stringsSpanish = {
104
107
  'Last name': {
105
108
  value: 'Apellido',
106
109
  },
110
+ 'Learn more.': {
111
+ value: 'Aprende más.',
112
+ },
107
113
  'Missing required fields. Make sure all fields are completed.': {
108
114
  value: 'Faltan campos obligatorios. Asegúrate de que todos los campos estén completos.',
109
115
  },
@@ -206,8 +212,11 @@ export const stringsSpanish = {
206
212
  'Something went wrong.': {
207
213
  value: 'Algo salió mal.',
208
214
  },
209
- Spend: {
210
- value: 'Gastar',
215
+ 'Spend [threshold] duty free': {
216
+ value: 'Gasta [threshold] libre de impuestos',
217
+ },
218
+ 'Spend [threshold] tax free': {
219
+ value: 'Gasta [threshold] libre de impuestos',
211
220
  },
212
221
  State: {
213
222
  value: 'Estado',
@@ -221,6 +230,9 @@ export const stringsSpanish = {
221
230
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
222
231
  value: 'Los siguientes artículos no se pueden enviar a su país y no están incluidos en el total de su carrito.',
223
232
  },
233
+ 'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
234
+ value: 'La ley de GST de bajo valor aprobada el 1 de julio de 2018 se aplica a este minorista.',
235
+ },
224
236
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
225
237
  value: 'Se ha producido un error al crear 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',
226
238
  },
@@ -281,13 +293,7 @@ export const stringsSpanish = {
281
293
  'click to learn more': {
282
294
  value: 'haga clic para obtener más información',
283
295
  },
284
- 'duty free': {
285
- value: 'libre de impuestos',
286
- },
287
296
  'restricted items': {
288
297
  value: 'artículos restringidos',
289
298
  },
290
- 'tax free': {
291
- value: 'libre de impuestos',
292
- },
293
299
  };
@@ -62,6 +62,9 @@ export const stringsSwedish = {
62
62
  "Don't close": {
63
63
  value: 'Stäng inte',
64
64
  },
65
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
66
+ value: 'Tullar och skatter i Australien, moms eller GST är [percentage] och förfaller på alla beställningar',
67
+ },
65
68
  'Duties and taxes will be applied to items and shipping.': {
66
69
  value: 'Tull och skatter kommer att tillämpas på varor och frakt.',
67
70
  },
@@ -104,6 +107,9 @@ export const stringsSwedish = {
104
107
  'Last name': {
105
108
  value: 'Efternamn',
106
109
  },
110
+ 'Learn more.': {
111
+ value: 'Läs mer.',
112
+ },
107
113
  'Missing required fields. Make sure all fields are completed.': {
108
114
  value: 'Obligatoriska fält saknas. Se till att alla fält är ifyllda.',
109
115
  },
@@ -206,8 +212,11 @@ export const stringsSwedish = {
206
212
  'Something went wrong.': {
207
213
  value: 'Något gick fel.',
208
214
  },
209
- Spend: {
210
- value: 'Spend',
215
+ 'Spend [threshold] duty free': {
216
+ value: 'Spendera [threshold] tullfritt',
217
+ },
218
+ 'Spend [threshold] tax free': {
219
+ value: 'Spendera [threshold] skattefritt',
211
220
  },
212
221
  State: {
213
222
  value: 'Stat',
@@ -221,6 +230,9 @@ export const stringsSwedish = {
221
230
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
222
231
  value: 'Följande artiklar kan inte skickas till ditt land och är inte inkluderade i din varukorgs totala belopp.',
223
232
  },
233
+ 'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
234
+ value: 'Lågvärde-GST-lagen som antogs den 1 juli 2018 gäller för denna återförsäljare.',
235
+ },
224
236
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
225
237
  value: 'Det har uppstått ett fel när din utcheckningssession skapades. Vänligen ladda om sidan och försök igen eller kontakta supporten om felet kvarstår',
226
238
  },
@@ -281,13 +293,7 @@ export const stringsSwedish = {
281
293
  'click to learn more': {
282
294
  value: 'klicka för att lära dig mer',
283
295
  },
284
- 'duty free': {
285
- value: 'tullfri',
286
- },
287
296
  'restricted items': {
288
297
  value: 'begränsade föremål',
289
298
  },
290
- 'tax free': {
291
- value: 'skattefri',
292
- },
293
299
  };
@@ -62,6 +62,9 @@ export const stringsTurkish = {
62
62
  "Don't close": {
63
63
  value: 'Kapatma',
64
64
  },
65
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
66
+ value: "Avustralya'da gümrük vergileri ve vergiler, KDV veya GST [percentage] olup tüm siparişlerde geçerlidir",
67
+ },
65
68
  'Duties and taxes will be applied to items and shipping.': {
66
69
  value: 'Ürünlere ve kargoya vergi ve gümrük vergisi uygulanacak.',
67
70
  },
@@ -104,6 +107,9 @@ export const stringsTurkish = {
104
107
  'Last name': {
105
108
  value: 'Soyad',
106
109
  },
110
+ 'Learn more.': {
111
+ value: 'Daha fazla bilgi edinin.',
112
+ },
107
113
  'Missing required fields. Make sure all fields are completed.': {
108
114
  value: 'Gerekli alanlar eksik. Tüm alanların tamamlandığından emin olun.',
109
115
  },
@@ -206,8 +212,11 @@ export const stringsTurkish = {
206
212
  'Something went wrong.': {
207
213
  value: 'Bir şeyler yanlış gitti.',
208
214
  },
209
- Spend: {
210
- value: 'Harcama yap',
215
+ 'Spend [threshold] duty free': {
216
+ value: '[threshold] gümrüksüz harcama yapın',
217
+ },
218
+ 'Spend [threshold] tax free': {
219
+ value: '[threshold] vergisiz harcama yapın',
211
220
  },
212
221
  State: {
213
222
  value: 'Eyalet',
@@ -221,6 +230,9 @@ export const stringsTurkish = {
221
230
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
222
231
  value: 'Aşağıdaki ürünler ülkenize gönderilemiyor ve sepet toplamınıza dahil edilmiyor.',
223
232
  },
233
+ 'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
234
+ value: "1 Temmuz 2018'de yürürlüğe giren düşük değerli GST yasası bu perakendeci için geçerlidir.",
235
+ },
224
236
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
225
237
  value: 'Ödeme oturumu oluşturulurken bir hata oluştu. Lütfen hata devam ederse sayfayı yeniden yükleyin ve tekrar deneyin veya destekle iletişime geçin',
226
238
  },
@@ -281,13 +293,7 @@ export const stringsTurkish = {
281
293
  'click to learn more': {
282
294
  value: 'daha fazla bilgi için tıklayın',
283
295
  },
284
- 'duty free': {
285
- value: 'gümrüksüz',
286
- },
287
296
  'restricted items': {
288
297
  value: 'kısıtlı öğeler',
289
298
  },
290
- 'tax free': {
291
- value: 'vergisiz',
292
- },
293
299
  };
@@ -62,6 +62,9 @@ export const stringsVietnamese = {
62
62
  "Don't close": {
63
63
  value: 'Đừng đóng',
64
64
  },
65
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
66
+ value: 'Thuế và phí ở Úc, VAT hoặc GST là [percentage] và áp dụng cho tất cả các đơn hàng',
67
+ },
65
68
  'Duties and taxes will be applied to items and shipping.': {
66
69
  value: 'Thuế và phí sẽ được áp dụng cho hàng hóa và vận chuyển.',
67
70
  },
@@ -104,6 +107,9 @@ export const stringsVietnamese = {
104
107
  'Last name': {
105
108
  value: 'Họ',
106
109
  },
110
+ 'Learn more.': {
111
+ value: 'Tìm hiểu thêm.',
112
+ },
107
113
  'Missing required fields. Make sure all fields are completed.': {
108
114
  value: 'Thiếu trường bắt buộc. Đảm bảo tất cả các trường đã được hoàn thành.',
109
115
  },
@@ -206,8 +212,11 @@ export const stringsVietnamese = {
206
212
  'Something went wrong.': {
207
213
  value: 'Đã xảy ra lỗi.',
208
214
  },
209
- Spend: {
210
- value: 'Chi tiêu',
215
+ 'Spend [threshold] duty free': {
216
+ value: 'Chi tiêu [threshold] miễn thuế',
217
+ },
218
+ 'Spend [threshold] tax free': {
219
+ value: 'Chi tiêu [threshold] miễn thuế',
211
220
  },
212
221
  State: {
213
222
  value: 'Bang',
@@ -221,6 +230,9 @@ export const stringsVietnamese = {
221
230
  'The following items are unable to be shipped to your country and are not included in your cart total.': {
222
231
  value: 'Các mặt hàng sau không thể được vận chuyển đến quốc gia của bạn và không được tính vào tổng số giỏ hàng của bạn.',
223
232
  },
233
+ 'The low-value GST law passed July 1st, 2018 applies to this retailer.': {
234
+ value: 'Luật GST giá trị thấp được thông qua ngày 1 tháng 7 năm 2018 áp dụng cho nhà bán lẻ này.',
235
+ },
224
236
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
225
237
  value: 'Đã xảy ra lỗi khi tạo 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',
226
238
  },
@@ -281,13 +293,7 @@ export const stringsVietnamese = {
281
293
  'click to learn more': {
282
294
  value: 'nhấp để tìm hiểu thêm',
283
295
  },
284
- 'duty free': {
285
- value: 'miễn thuế',
286
- },
287
296
  'restricted items': {
288
297
  value: 'mặt hàng bị hạn chế',
289
298
  },
290
- 'tax free': {
291
- value: 'không chịu thuế',
292
- },
293
299
  };
@@ -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: 'cc7f2af47b78430a164bcc6e96e60c133b8a8139', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'f8f09068fccd362fff50b2d5736394378ebb179a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '2facdefb52dbb811931484933fe73c576420205d', class: "zonos--address-component" })));
138
+ return (h(Host, { key: '5279ab1ec41882e2b47adbb9074da302caeda979', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'e66644c9dfbeb56c54b8914cecfba5cee3023399', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'a7ca990d5c5c5a59edd6d6bf35a4594fb8dfe5d4', class: "zonos--address-component" })));
139
139
  }
140
140
  static get is() { return "zonos-address"; }
141
141
  static get encapsulation() { return "scoped"; }
@@ -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: '3f2df53c0bdbd8b5d2fdd82c1af2cafe762d9063', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'fed343301247701859cec912cd03404eefd886f7', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '46c604f145c75749060c4660ad10b38820bc6907', class: "zonos--link-authentication-component" })));
45
+ return (h(Host, { key: '153724937e64d3fdf4360648cefc4548b602e87a', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'ac9896dff5fd7acb29d81eebeb9e65a47d65b7fb', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'aca720a9382f63f248e3a2c382e5c61e52750bdf', 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: '0add83652f88a929eb76727e27455a0ddd6866fb', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: 'ff4eb31c3f402562d4c85848bf6bb34c4f0b1bab', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'fba7df5c0ca94d2374aab0f24e3111f4b08eff11', class: "zonos--payment-component" })));
40
+ return (h(Host, { key: 'abebca876eac8bd507fcbdb1c029d2ed0f3b749a', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '142257f2052337206dbb70e70c87b5207f2bd97a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'c55bbaea79a291e45d8ed37d556529365de89e9f', class: "zonos--payment-component" })));
41
41
  }
42
42
  static get is() { return "zonos-payment"; }
43
43
  static get encapsulation() { return "scoped"; }
@@ -0,0 +1,3 @@
1
+ export const wrapStringWithLink = ({ href, text, }) => {
2
+ return `<zonos-link href="${href}" target="_blank" rel="noopener noreferrer">${text}</zonos-link>`;
3
+ };
@@ -58,8 +58,6 @@ Zonos.init = async ({ appearance, checkoutSettings, currencyConverter, helloSett
58
58
  _a.zonosApiKey = zonosApiKey;
59
59
  _a.storeId = storeId;
60
60
  log('init zonos');
61
- // add sentry to the project
62
- _a.injectSentryScript();
63
61
  // inject zonos cdn
64
62
  _a.injectZonosCdn();
65
63
  // inject css for zonos elements
@@ -186,55 +184,6 @@ Zonos.injectController = ({ config, zonosApiKey, }) => {
186
184
  _a.zonosController = zonosController;
187
185
  log('Zonos controller injected!');
188
186
  };
189
- Zonos.injectSentryScript = () => {
190
- const scriptUrl = 'https://browser.sentry-cdn.com/7.88.0/bundle.tracing.min.js';
191
- const findScript = () => {
192
- const script = document.querySelector(`script[src="${scriptUrl}"]`);
193
- return !!script;
194
- };
195
- if (findScript()) {
196
- log('Sentry script already exists in the document', 'warn');
197
- return;
198
- }
199
- const headOrBody = document.head || document.body;
200
- // init zonos elements when the zonosKey is valid
201
- // inject esmodule cdn for zonos elements
202
- const script = document.createElement('script');
203
- script.crossOrigin = 'anonymous';
204
- script.src = scriptUrl;
205
- script.integrity =
206
- 'sha384-z/aQww1Fr6Mes0MO/2wlzQd2nXBCdDcKPXDTsMDMNPgTGRPqii3a4bzH79I+Vo8l';
207
- script.setAttribute('data-lazy', 'no');
208
- script.onerror = () => {
209
- logError(`Failed to load ${script.src}`);
210
- };
211
- script.onload = () => {
212
- var _b;
213
- (_b = window.Sentry) === null || _b === void 0 ? void 0 : _b.init({
214
- beforeSend(event) {
215
- var _b, _c, _d, _e, _f, _g;
216
- // only send error to sentry if it's from zonos production
217
- const firstExceptionFilename = (_g = (_f = (_e = (_d = (_c = (_b = event.exception) === null || _b === void 0 ? void 0 : _b.values) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.stacktrace) === null || _e === void 0 ? void 0 : _e.frames) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.filename;
218
- const isZonosProduction = (firstExceptionFilename === null || firstExceptionFilename === void 0 ? void 0 : firstExceptionFilename.includes('js.zonos.com')) ||
219
- (firstExceptionFilename === null || firstExceptionFilename === void 0 ? void 0 : firstExceptionFilename.includes('@zonos/elements'));
220
- const isDevelopmentHref = window.location.href.includes('dev.elements') ||
221
- window.location.href.includes('route.js.zonos.com');
222
- // don't send error to sentry if the errors are in development href
223
- if (isZonosProduction && !isDevelopmentHref) {
224
- return event;
225
- }
226
- return null;
227
- },
228
- dsn: 'https://19168bd05af0e2e0e7520ad58953e4f2@o446983.ingest.sentry.io/4506400622837760',
229
- ignoreErrors: ['Failed to load Stripe.js'],
230
- release: `zonos-elements@${_a.version}`,
231
- tracesSampler: () => {
232
- return 0.01;
233
- },
234
- });
235
- };
236
- headOrBody.appendChild(script);
237
- };
238
187
  Zonos.injectScript = ({ fallBackDomain, isModule, scriptDomain, theRestUrl, }) => {
239
188
  const fullScriptUrl = `${scriptDomain}/${theRestUrl}`;
240
189
  const findScript = () => {