@zonos/elements 1.3.35 → 1.3.37

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 (138) hide show
  1. package/README.md +6 -6
  2. package/dist/cjs/{cart-401b6d32.js → cart-0cac4ec9.js} +280 -199
  3. package/dist/cjs/index.cjs.js +4 -4
  4. package/dist/cjs/{submitGtag-bc6af393.js → submitGtag-2c66e270.js} +1 -1
  5. package/dist/cjs/zonos-address_8.cjs.entry.js +3 -3
  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 +13 -6
  11. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +35 -14
  12. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  14. package/dist/cjs/zonos-notification_2.cjs.entry.js +2 -2
  15. package/dist/collection/components/common/zonos-country-select/zonos-country-select.css +2 -0
  16. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +9 -2
  17. package/dist/collection/components/hello/zonos-hello-dialog/assets/inclusivePricingIcon.svg +8 -0
  18. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  19. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +28 -14
  20. package/dist/collection/components/main/zonos-controller.js +1 -1
  21. package/dist/collection/components/store/hello/localization.js +8 -0
  22. package/dist/collection/components/store/translationStore/strings.arabic.js +13 -10
  23. package/dist/collection/components/store/translationStore/strings.base.js +13 -10
  24. package/dist/collection/components/store/translationStore/strings.chinese.js +13 -10
  25. package/dist/collection/components/store/translationStore/strings.danish.js +13 -10
  26. package/dist/collection/components/store/translationStore/strings.dutch.js +13 -10
  27. package/dist/collection/components/store/translationStore/strings.french.js +13 -10
  28. package/dist/collection/components/store/translationStore/strings.german.js +13 -10
  29. package/dist/collection/components/store/translationStore/strings.hebrew.js +13 -10
  30. package/dist/collection/components/store/translationStore/strings.indonesian.js +13 -10
  31. package/dist/collection/components/store/translationStore/strings.italian.js +13 -10
  32. package/dist/collection/components/store/translationStore/strings.japanese.js +12 -9
  33. package/dist/collection/components/store/translationStore/strings.korean.js +13 -10
  34. package/dist/collection/components/store/translationStore/strings.norwegian.js +13 -10
  35. package/dist/collection/components/store/translationStore/strings.polish.js +13 -10
  36. package/dist/collection/components/store/translationStore/strings.portuguese.js +13 -10
  37. package/dist/collection/components/store/translationStore/strings.russian.js +13 -10
  38. package/dist/collection/components/store/translationStore/strings.spanish.js +13 -10
  39. package/dist/collection/components/store/translationStore/strings.swedish.js +13 -10
  40. package/dist/collection/components/store/translationStore/strings.turkish.js +13 -10
  41. package/dist/collection/components/store/translationStore/strings.vietnamese.js +13 -10
  42. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  43. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  44. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  45. package/dist/collection/components/utils/api/getInclusivePricing.js +15 -0
  46. package/dist/collection/types/generated/graphql.customer.types.js +57 -9
  47. package/dist/esm/{cart-f29968a8.js → cart-f4204129.js} +280 -199
  48. package/dist/esm/index.js +4 -4
  49. package/dist/esm/{submitGtag-fcfd5cf4.js → submitGtag-1df655bc.js} +1 -1
  50. package/dist/esm/zonos-address_8.entry.js +3 -3
  51. package/dist/esm/zonos-cart-items_12.entry.js +2 -2
  52. package/dist/esm/zonos-checkout.entry.js +2 -2
  53. package/dist/esm/zonos-controller.entry.js +2 -2
  54. package/dist/esm/zonos-country-flag.entry.js +1 -1
  55. package/dist/esm/zonos-country-select_3.entry.js +13 -6
  56. package/dist/esm/zonos-hello-dialog.entry.js +36 -15
  57. package/dist/esm/zonos-hello.entry.js +1 -1
  58. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  59. package/dist/esm/zonos-notification_2.entry.js +2 -2
  60. package/dist/esm-es5/cart-f4204129.js +1 -0
  61. package/dist/esm-es5/index.js +1 -1
  62. package/dist/esm-es5/{submitGtag-fcfd5cf4.js → submitGtag-1df655bc.js} +1 -1
  63. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  64. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  65. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  66. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  67. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  68. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  69. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  70. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  71. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  72. package/dist/esm-es5/zonos-notification_2.entry.js +1 -1
  73. package/dist/scripts/index.js +1 -1
  74. package/dist/scripts/loadZonos.js +1 -1
  75. package/dist/scripts/zonos.js +1 -1
  76. package/dist/types/components/hello/zonos-hello-dialog/zonos-hello-dialog.d.ts +1 -0
  77. package/dist/types/components/store/hello/localization.d.ts +1 -0
  78. package/dist/types/components/store/translationStore/strings.arabic.d.ts +8 -5
  79. package/dist/types/components/store/translationStore/strings.base.d.ts +8 -5
  80. package/dist/types/components/store/translationStore/strings.chinese.d.ts +8 -5
  81. package/dist/types/components/store/translationStore/strings.danish.d.ts +8 -5
  82. package/dist/types/components/store/translationStore/strings.dutch.d.ts +8 -5
  83. package/dist/types/components/store/translationStore/strings.french.d.ts +8 -5
  84. package/dist/types/components/store/translationStore/strings.german.d.ts +8 -5
  85. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +8 -5
  86. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +8 -5
  87. package/dist/types/components/store/translationStore/strings.italian.d.ts +8 -5
  88. package/dist/types/components/store/translationStore/strings.japanese.d.ts +8 -5
  89. package/dist/types/components/store/translationStore/strings.korean.d.ts +8 -5
  90. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +8 -5
  91. package/dist/types/components/store/translationStore/strings.polish.d.ts +8 -5
  92. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +8 -5
  93. package/dist/types/components/store/translationStore/strings.russian.d.ts +8 -5
  94. package/dist/types/components/store/translationStore/strings.spanish.d.ts +8 -5
  95. package/dist/types/components/store/translationStore/strings.swedish.d.ts +8 -5
  96. package/dist/types/components/store/translationStore/strings.turkish.d.ts +8 -5
  97. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +8 -5
  98. package/dist/types/components/store/translationStore.d.ts +1 -1
  99. package/dist/types/components/utils/api/getInclusivePricing.d.ts +8 -0
  100. package/dist/types/types/generated/graphql.customer.types.d.ts +74 -10
  101. package/dist/types/types/generated/graphql.customer.types.ts +98 -12
  102. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  103. package/dist/zonos-elements/assets/inclusivePricingIcon.svg +8 -0
  104. package/dist/zonos-elements/index.esm.js +1 -1
  105. package/dist/zonos-elements/{p-d410ef50.system.entry.js → p-0ce1e237.system.entry.js} +1 -1
  106. package/dist/zonos-elements/{p-38f882ea.system.entry.js → p-0d029fb3.system.entry.js} +1 -1
  107. package/dist/zonos-elements/{p-4d95b4f4.system.entry.js → p-19241859.system.entry.js} +1 -1
  108. package/dist/zonos-elements/{p-e4ef71bd.entry.js → p-1f350060.entry.js} +1 -1
  109. package/dist/zonos-elements/{p-1fbf0527.system.js → p-22a4f8a9.system.js} +1 -1
  110. package/dist/zonos-elements/p-2aac5bc8.js +1 -0
  111. package/dist/zonos-elements/p-4d8ad8e2.system.js +1 -0
  112. package/dist/zonos-elements/{p-f9931ad1.system.entry.js → p-57cbbf1e.system.entry.js} +1 -1
  113. package/dist/zonos-elements/p-5e46d19e.system.entry.js +1 -0
  114. package/dist/zonos-elements/p-720e9236.entry.js +1 -0
  115. package/dist/zonos-elements/{p-60f7bcee.entry.js → p-74c85d7f.entry.js} +1 -1
  116. package/dist/zonos-elements/{p-891d2c76.system.entry.js → p-8de3cf00.system.entry.js} +1 -1
  117. package/dist/zonos-elements/{p-2cee5f3a.system.entry.js → p-9a27550a.system.entry.js} +1 -1
  118. package/dist/zonos-elements/{p-9194145f.system.js → p-ab117c05.system.js} +1 -1
  119. package/dist/zonos-elements/{p-5ce19bce.system.entry.js → p-ab43d893.system.entry.js} +1 -1
  120. package/dist/zonos-elements/{p-8363436f.entry.js → p-acb75c06.entry.js} +1 -1
  121. package/dist/zonos-elements/{p-eea3ec17.entry.js → p-af996985.entry.js} +1 -1
  122. package/dist/zonos-elements/{p-62e21e2b.system.entry.js → p-c2a9555c.system.entry.js} +1 -1
  123. package/dist/zonos-elements/{p-5b723a1d.js → p-c7b07f80.js} +1 -1
  124. package/dist/zonos-elements/{p-6e14560d.system.entry.js → p-c993d267.system.entry.js} +1 -1
  125. package/dist/zonos-elements/{p-e0709be2.entry.js → p-de71eaea.entry.js} +1 -1
  126. package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
  127. package/dist/zonos-elements/{p-6b06ac3d.entry.js → p-e3631ac5.entry.js} +1 -1
  128. package/dist/zonos-elements/{p-6ec40c8f.entry.js → p-e3c43972.entry.js} +1 -1
  129. package/dist/zonos-elements/p-e4888976.entry.js +1 -0
  130. package/dist/zonos-elements/{p-bf9578d3.entry.js → p-ee4e6e08.entry.js} +1 -1
  131. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  132. package/package.json +5 -3
  133. package/dist/esm-es5/cart-f29968a8.js +0 -1
  134. package/dist/zonos-elements/p-2947c138.js +0 -1
  135. package/dist/zonos-elements/p-297bf223.entry.js +0 -1
  136. package/dist/zonos-elements/p-91635589.system.js +0 -1
  137. package/dist/zonos-elements/p-952e331c.entry.js +0 -1
  138. package/dist/zonos-elements/p-c0efa3a3.system.entry.js +0 -1
@@ -68,14 +68,14 @@ export const stringsKorean = {
68
68
  "Don't close": {
69
69
  value: '닫지 마세요',
70
70
  },
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
72
- value: '호주의 관세 및 세금, 부가가치세(VAT) 또는 GST는 [percentage]이며 모든 주문에 적용됩니다',
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
+ value: '호주의 관세 및 세금, 부가가치세 또는 GST는 [percentage]이며 모든 주문에 적용됩니다.',
73
73
  },
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: '물품과 배송에 관세와 세금이 부과됩니다.',
76
76
  },
77
- 'Duties will apply to all orders': {
78
- value: '모든 주문에 관세가 적용됩니다',
77
+ 'Duties will apply to all orders.': {
78
+ value: '모든 주문에 관세가 적용됩니다.',
79
79
  },
80
80
  'Duties, taxes, and fees': {
81
81
  value: '관세, 세금 및 수수료',
@@ -182,6 +182,9 @@ export const stringsKorean = {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: '체크아웃 시 관세와 세금 선불',
184
184
  },
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: '제품 가격에는 이미 관세, 세금 및 수수료가 포함되어 있습니다. 결제 시 추가 관세나 세금이 추가되지 않으며, 드문 예외가 있습니다.',
187
+ },
185
188
  Reload: {
186
189
  value: '새로 고침',
187
190
  },
@@ -224,11 +227,11 @@ export const stringsKorean = {
224
227
  'Something went wrong.': {
225
228
  value: '문제가 발생했습니다.',
226
229
  },
227
- 'Spend [threshold] duty free': {
228
- value: '[threshold]을 면세로 사용하세요',
230
+ 'Spend [threshold] duty free.': {
231
+ value: '[threshold] 면세로 지출하세요.',
229
232
  },
230
- 'Spend [threshold] tax free': {
231
- value: '[threshold]을 세금 없이 사용하세요',
233
+ 'Spend [threshold] tax free.': {
234
+ value: '[threshold]를 세금 없이 사용하세요.',
232
235
  },
233
236
  State: {
234
237
  value: '주',
@@ -239,8 +242,8 @@ export const stringsKorean = {
239
242
  Success: {
240
243
  value: '성공',
241
244
  },
242
- 'Taxes will apply to all orders': {
243
- value: '모든 주문에 세금이 부과됩니다',
245
+ 'Taxes will apply to all orders.': {
246
+ value: '모든 주문에 세금이 적용됩니다.',
244
247
  },
245
248
  'Test cards': {
246
249
  value: '테스트 카드',
@@ -68,14 +68,14 @@ export const stringsNorwegian = {
68
68
  "Don't close": {
69
69
  value: 'Ikke lukk',
70
70
  },
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
72
- value: 'Avgifter og skatter i Australia, MVA eller GST er [percentage] og forfaller på alle bestillinger',
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
+ value: 'Avgifter og skatter i Australia, MVA eller GST er [percentage] og forfaller på alle bestillinger.',
73
73
  },
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: 'Avgift og skatt vil legges til på varer og frakt.',
76
76
  },
77
- 'Duties will apply to all orders': {
78
- value: 'Avgifter vil gjelde alle bestillinger',
77
+ 'Duties will apply to all orders.': {
78
+ value: 'Avgifter vil gjelde for alle bestillinger.',
79
79
  },
80
80
  'Duties, taxes, and fees': {
81
81
  value: 'Avgifter, skatter og gebyrer',
@@ -182,6 +182,9 @@ export const stringsNorwegian = {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: 'Forhåndsbetal avgifter og skatt ved kassen',
184
184
  },
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: 'Produktpriser inkluderer allerede avgifter, skatter og gebyrer. Ingen ekstra avgifter eller skatter vil bli lagt til ved kassen, med sjeldne unntak.',
187
+ },
185
188
  Reload: {
186
189
  value: 'Last inn på nytt',
187
190
  },
@@ -224,11 +227,11 @@ export const stringsNorwegian = {
224
227
  'Something went wrong.': {
225
228
  value: 'Noe gikk galt.',
226
229
  },
227
- 'Spend [threshold] duty free': {
228
- value: 'Bruk [threshold] tollfritt',
230
+ 'Spend [threshold] duty free.': {
231
+ value: 'Bruk [threshold] tollfritt.',
229
232
  },
230
- 'Spend [threshold] tax free': {
231
- value: 'Bruk [threshold] skattefritt',
233
+ 'Spend [threshold] tax free.': {
234
+ value: 'Bruk [threshold] skattefritt.',
232
235
  },
233
236
  State: {
234
237
  value: 'Stat',
@@ -239,8 +242,8 @@ export const stringsNorwegian = {
239
242
  Success: {
240
243
  value: 'Suksess',
241
244
  },
242
- 'Taxes will apply to all orders': {
243
- value: 'Skatt vil gjelde alle bestillinger',
245
+ 'Taxes will apply to all orders.': {
246
+ value: 'Skatter vil gjelde for alle bestillinger.',
244
247
  },
245
248
  'Test cards': {
246
249
  value: 'Testkort',
@@ -68,14 +68,14 @@ export const stringsPolish = {
68
68
  "Don't close": {
69
69
  value: 'Nie zamykaj',
70
70
  },
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
72
- value: 'Cła i podatki w Australii, VAT lub GST wynosi [percentage] i jest należny od wszystkich zamówień',
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
+ value: 'Cła i podatki w Australii, VAT lub GST wynosi [percentage] i jest należny od wszystkich zamówień.',
73
73
  },
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: 'Cła i podatki zostaną naliczone do towarów i wysyłki.',
76
76
  },
77
- 'Duties will apply to all orders': {
78
- value: 'Cła będą naliczane do wszystkich zamówień',
77
+ 'Duties will apply to all orders.': {
78
+ value: 'Cła będą miały zastosowanie do wszystkich zamówień.',
79
79
  },
80
80
  'Duties, taxes, and fees': {
81
81
  value: 'Cła, podatki i opłaty',
@@ -182,6 +182,9 @@ export const stringsPolish = {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: 'Zapłać cła i podatki z góry podczas realizacji zamówienia',
184
184
  },
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: 'Ceny produktów już zawierają cła, podatki i opłaty. Żadne dodatkowe cła ani podatki nie zostaną doliczone przy kasie, z rzadkimi wyjątkami.',
187
+ },
185
188
  Reload: {
186
189
  value: 'Przeładuj',
187
190
  },
@@ -224,11 +227,11 @@ export const stringsPolish = {
224
227
  'Something went wrong.': {
225
228
  value: 'Coś poszło nie tak.',
226
229
  },
227
- 'Spend [threshold] duty free': {
228
- value: 'Wydaj [threshold] bez cła',
230
+ 'Spend [threshold] duty free.': {
231
+ value: 'Wydaj [threshold] bez cła.',
229
232
  },
230
- 'Spend [threshold] tax free': {
231
- value: 'Wydaj [threshold] bez podatku',
233
+ 'Spend [threshold] tax free.': {
234
+ value: 'Wydaj [threshold] bez podatku.',
232
235
  },
233
236
  State: {
234
237
  value: 'Stan',
@@ -239,8 +242,8 @@ export const stringsPolish = {
239
242
  Success: {
240
243
  value: 'Sukces',
241
244
  },
242
- 'Taxes will apply to all orders': {
243
- value: 'Podatki będą naliczane do wszystkich zamówień',
245
+ 'Taxes will apply to all orders.': {
246
+ value: 'Podatki będą miały zastosowanie do wszystkich zamówień.',
244
247
  },
245
248
  'Test cards': {
246
249
  value: 'Karty testowe',
@@ -68,14 +68,14 @@ export const stringsPortuguese = {
68
68
  "Don't close": {
69
69
  value: 'Não fechar',
70
70
  },
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
72
- value: 'Taxas e impostos na Austrália, o IVA ou GST é [percentage] e é devido em todos os pedidos',
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
+ value: 'Taxas e impostos na Austrália, o IVA ou GST é [percentage] e é devido em todos os pedidos.',
73
73
  },
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: 'Impostos e taxas serão aplicados aos itens e ao frete.',
76
76
  },
77
- 'Duties will apply to all orders': {
78
- value: 'Impostos serão aplicados a todos os pedidos',
77
+ 'Duties will apply to all orders.': {
78
+ value: 'Impostos serão aplicados a todos os pedidos.',
79
79
  },
80
80
  'Duties, taxes, and fees': {
81
81
  value: 'Impostos, taxas e emolumentos',
@@ -182,6 +182,9 @@ export const stringsPortuguese = {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: 'Pague impostos e taxas antecipadamente',
184
184
  },
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: 'Os preços dos produtos já incluem impostos, taxas e tarifas. Nenhum imposto ou taxa adicional será adicionado no checkout, com raras exceções.',
187
+ },
185
188
  Reload: {
186
189
  value: 'Recarregar',
187
190
  },
@@ -224,11 +227,11 @@ export const stringsPortuguese = {
224
227
  'Something went wrong.': {
225
228
  value: 'Algo deu errado.',
226
229
  },
227
- 'Spend [threshold] duty free': {
228
- value: 'Gaste [threshold] livre de impostos',
230
+ 'Spend [threshold] duty free.': {
231
+ value: 'Gaste [threshold] livre de impostos.',
229
232
  },
230
- 'Spend [threshold] tax free': {
231
- value: 'Gaste [threshold] livre de impostos',
233
+ 'Spend [threshold] tax free.': {
234
+ value: 'Gaste [threshold] livre de impostos.',
232
235
  },
233
236
  State: {
234
237
  value: 'Estado',
@@ -239,8 +242,8 @@ export const stringsPortuguese = {
239
242
  Success: {
240
243
  value: 'Sucesso',
241
244
  },
242
- 'Taxes will apply to all orders': {
243
- value: 'Impostos serão aplicados a todos os pedidos',
245
+ 'Taxes will apply to all orders.': {
246
+ value: 'Impostos serão aplicados a todos os pedidos.',
244
247
  },
245
248
  'Test cards': {
246
249
  value: 'Cartões de teste',
@@ -68,14 +68,14 @@ export const stringsRussian = {
68
68
  "Don't close": {
69
69
  value: 'Не закрывайте',
70
70
  },
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
72
- value: 'Пошлины и налоги в Австралии, НДС или GST составляет [percentage] и подлежит оплате на все заказы',
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
+ value: 'Пошлины и налоги в Австралии, НДС или GST составляет [percentage] и подлежит оплате на все заказы.',
73
73
  },
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: 'Пошлины и налоги будут применены к товарам и доставке.',
76
76
  },
77
- 'Duties will apply to all orders': {
78
- value: 'Пошлины будут применяться ко всем заказам',
77
+ 'Duties will apply to all orders.': {
78
+ value: 'Пошлины будут применяться ко всем заказам.',
79
79
  },
80
80
  'Duties, taxes, and fees': {
81
81
  value: 'Пошлины, налоги и сборы',
@@ -182,6 +182,9 @@ export const stringsRussian = {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: 'Предоплата пошлин и налогов при оформлении заказа',
184
184
  },
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: 'Цены на продукты уже включают пошлины, налоги и сборы. Дополнительные пошлины или налоги не будут добавлены при оформлении заказа, за редкими исключениями.',
187
+ },
185
188
  Reload: {
186
189
  value: 'Перезагрузить',
187
190
  },
@@ -224,11 +227,11 @@ export const stringsRussian = {
224
227
  'Something went wrong.': {
225
228
  value: 'Что-то пошло не так.',
226
229
  },
227
- 'Spend [threshold] duty free': {
228
- value: 'Тратьте [threshold] без пошлин',
230
+ 'Spend [threshold] duty free.': {
231
+ value: 'Потратьте [threshold] без пошлин.',
229
232
  },
230
- 'Spend [threshold] tax free': {
231
- value: 'Тратьте [threshold] без налога',
233
+ 'Spend [threshold] tax free.': {
234
+ value: 'Тратьте [threshold] без налогов.',
232
235
  },
233
236
  State: {
234
237
  value: 'Штат',
@@ -239,8 +242,8 @@ export const stringsRussian = {
239
242
  Success: {
240
243
  value: 'Успех',
241
244
  },
242
- 'Taxes will apply to all orders': {
243
- value: 'Налоги будут применяться ко всем заказам',
245
+ 'Taxes will apply to all orders.': {
246
+ value: 'Налоги будут применяться ко всем заказам.',
244
247
  },
245
248
  'Test cards': {
246
249
  value: 'Тестовые карты',
@@ -68,14 +68,14 @@ export const stringsSpanish = {
68
68
  "Don't close": {
69
69
  value: 'No cerrar',
70
70
  },
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
72
- value: 'Derechos e impuestos en Australia, el IVA o GST es [percentage] y se debe en todos los pedidos',
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
+ value: 'Derechos e impuestos en Australia, el IVA o GST es [percentage] y se debe en todos los pedidos.',
73
73
  },
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: 'Los impuestos y aranceles se aplicarán a los artículos y al envío.',
76
76
  },
77
- 'Duties will apply to all orders': {
78
- value: 'Los aranceles se aplicarán a todos los pedidos',
77
+ 'Duties will apply to all orders.': {
78
+ value: 'Se aplicarán aranceles a todos los pedidos.',
79
79
  },
80
80
  'Duties, taxes, and fees': {
81
81
  value: 'Aranceles, impuestos y cuotas',
@@ -182,6 +182,9 @@ export const stringsSpanish = {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: 'Pague aranceles e impuestos antes en la compra',
184
184
  },
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: 'Los precios de los productos ya incluyen aranceles, impuestos y tarifas. No se agregarán aranceles o impuestos adicionales al finalizar la compra, con raras excepciones.',
187
+ },
185
188
  Reload: {
186
189
  value: 'Recargar',
187
190
  },
@@ -224,11 +227,11 @@ export const stringsSpanish = {
224
227
  'Something went wrong.': {
225
228
  value: 'Algo salió mal.',
226
229
  },
227
- 'Spend [threshold] duty free': {
228
- value: 'Gasta [threshold] libre de impuestos',
230
+ 'Spend [threshold] duty free.': {
231
+ value: 'Gasta [threshold] libre de impuestos.',
229
232
  },
230
- 'Spend [threshold] tax free': {
231
- value: 'Gasta [threshold] libre de impuestos',
233
+ 'Spend [threshold] tax free.': {
234
+ value: 'Gasta [threshold] libre de impuestos.',
232
235
  },
233
236
  State: {
234
237
  value: 'Estado',
@@ -239,8 +242,8 @@ export const stringsSpanish = {
239
242
  Success: {
240
243
  value: 'Éxito',
241
244
  },
242
- 'Taxes will apply to all orders': {
243
- value: 'Los impuestos se aplicarán a todos los pedidos',
245
+ 'Taxes will apply to all orders.': {
246
+ value: 'Se aplicarán impuestos a todos los pedidos.',
244
247
  },
245
248
  'Test cards': {
246
249
  value: 'Tarjetas de prueba',
@@ -68,14 +68,14 @@ export const stringsSwedish = {
68
68
  "Don't close": {
69
69
  value: 'Stäng inte',
70
70
  },
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
72
- value: 'Tullar och skatter i Australien, moms eller GST är [percentage] och förfaller på alla beställningar',
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
+ value: 'Tullar och skatter i Australien, moms eller GST är [percentage] och förfaller på alla beställningar.',
73
73
  },
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: 'Tull och skatter kommer att tillämpas på varor och frakt.',
76
76
  },
77
- 'Duties will apply to all orders': {
78
- value: 'Tull kommer att gälla för alla beställningar',
77
+ 'Duties will apply to all orders.': {
78
+ value: 'Tullar kommer att gälla för alla beställningar.',
79
79
  },
80
80
  'Duties, taxes, and fees': {
81
81
  value: 'Tull, skatter och avgifter',
@@ -182,6 +182,9 @@ export const stringsSwedish = {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: 'Förbetala tull och skatter vid utcheckning',
184
184
  },
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: 'Produktpriser inkluderar redan tullar, skatter och avgifter. Inga ytterligare tullar eller skatter kommer att läggas till vid kassan, med sällsynta undantag.',
187
+ },
185
188
  Reload: {
186
189
  value: 'Ladda om',
187
190
  },
@@ -224,11 +227,11 @@ export const stringsSwedish = {
224
227
  'Something went wrong.': {
225
228
  value: 'Något gick fel.',
226
229
  },
227
- 'Spend [threshold] duty free': {
228
- value: 'Spendera [threshold] tullfritt',
230
+ 'Spend [threshold] duty free.': {
231
+ value: 'Spendera [threshold] tullfritt.',
229
232
  },
230
- 'Spend [threshold] tax free': {
231
- value: 'Spendera [threshold] skattefritt',
233
+ 'Spend [threshold] tax free.': {
234
+ value: 'Spendera [threshold] skattefritt.',
232
235
  },
233
236
  State: {
234
237
  value: 'Stat',
@@ -239,8 +242,8 @@ export const stringsSwedish = {
239
242
  Success: {
240
243
  value: 'Framgång',
241
244
  },
242
- 'Taxes will apply to all orders': {
243
- value: 'Skatter kommer att gälla för alla beställningar',
245
+ 'Taxes will apply to all orders.': {
246
+ value: 'Skatter kommer att tillämpas på alla beställningar.',
244
247
  },
245
248
  'Test cards': {
246
249
  value: 'Testkort',
@@ -68,14 +68,14 @@ export const stringsTurkish = {
68
68
  "Don't close": {
69
69
  value: 'Kapatma',
70
70
  },
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
72
- value: "Avustralya'da gümrük vergileri ve vergiler, KDV veya GST [percentage] olup tüm siparişlerde geçerlidir",
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
+ value: "Avustralya'da gümrük vergileri ve vergiler, KDV veya GST [percentage] olup tüm siparişlerde ödenir.",
73
73
  },
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: 'Ürünlere ve kargoya vergi ve gümrük vergisi uygulanacak.',
76
76
  },
77
- 'Duties will apply to all orders': {
78
- value: 'Gümrük vergisi tüm siparişlere uygulanır.',
77
+ 'Duties will apply to all orders.': {
78
+ value: 'Tüm siparişlere gümrük vergisi uygulanacaktır.',
79
79
  },
80
80
  'Duties, taxes, and fees': {
81
81
  value: 'Gümrük vergisi, vergiler ve ücretler',
@@ -182,6 +182,9 @@ export const stringsTurkish = {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: 'Ödemede vergi ve gümrük vergisini önceden öde',
184
184
  },
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: 'Ürün fiyatları zaten gümrük vergileri, vergiler ve ücretleri içermektedir. Nadir istisnalar dışında, ödeme sırasında ek gümrük vergisi veya vergi eklenmeyecektir.',
187
+ },
185
188
  Reload: {
186
189
  value: 'Yeniden yükle',
187
190
  },
@@ -224,11 +227,11 @@ export const stringsTurkish = {
224
227
  'Something went wrong.': {
225
228
  value: 'Bir şeyler yanlış gitti.',
226
229
  },
227
- 'Spend [threshold] duty free': {
228
- value: '[threshold] gümrüksüz harcama yapın',
230
+ 'Spend [threshold] duty free.': {
231
+ value: '[threshold] gümrüksüz harcayın.',
229
232
  },
230
- 'Spend [threshold] tax free': {
231
- value: '[threshold] vergisiz harcama yapın',
233
+ 'Spend [threshold] tax free.': {
234
+ value: '[threshold] vergi ödemeden harcayın.',
232
235
  },
233
236
  State: {
234
237
  value: 'Eyalet',
@@ -239,8 +242,8 @@ export const stringsTurkish = {
239
242
  Success: {
240
243
  value: 'Başarı',
241
244
  },
242
- 'Taxes will apply to all orders': {
243
- value: 'Vergiler tüm siparişlere uygulanacak.',
245
+ 'Taxes will apply to all orders.': {
246
+ value: 'Tüm siparişlere vergi uygulanacaktır.',
244
247
  },
245
248
  'Test cards': {
246
249
  value: 'Test kartları',
@@ -68,14 +68,14 @@ export const stringsVietnamese = {
68
68
  "Don't close": {
69
69
  value: 'Đừng đóng',
70
70
  },
71
- 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders': {
72
- value: 'Thuế và phí ở Úc, VAT hoặc GST là [percentage] và áp dụng cho tất cả các đơn hàng',
71
+ 'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
72
+ value: 'Thuế và phí tại Úc, VAT hoặc GST là [percentage] và phải trả cho tất cả các đơn hàng.',
73
73
  },
74
74
  'Duties and taxes will be applied to items and shipping.': {
75
75
  value: 'Thuế và phí sẽ được áp dụng cho hàng hóa và vận chuyển.',
76
76
  },
77
- 'Duties will apply to all orders': {
78
- value: 'Thuế nhập khẩu sẽ áp dụng cho tất cả đơn hàng',
77
+ 'Duties will apply to all orders.': {
78
+ value: 'Thuế sẽ áp dụng cho tất cả các đơn hàng.',
79
79
  },
80
80
  'Duties, taxes, and fees': {
81
81
  value: 'Thuế, phí và lệ phí',
@@ -182,6 +182,9 @@ export const stringsVietnamese = {
182
182
  'Prepay duties and taxes at checkout': {
183
183
  value: 'Thanh toán trước thuế và phí khi thanh toán',
184
184
  },
185
+ 'Product prices already include duties, taxes, and fees. No additional duties or taxes will be added at checkout, with rare exceptions.': {
186
+ value: 'Giá sản phẩm đã bao gồm thuế, phí và lệ phí. Không có thuế hoặc phí bổ sung nào sẽ được thêm vào khi thanh toán, ngoại trừ một số trường hợp hiếm hoi.',
187
+ },
185
188
  Reload: {
186
189
  value: 'Tải lại',
187
190
  },
@@ -224,11 +227,11 @@ export const stringsVietnamese = {
224
227
  'Something went wrong.': {
225
228
  value: 'Đã xảy ra lỗi.',
226
229
  },
227
- 'Spend [threshold] duty free': {
228
- value: 'Chi tiêu [threshold] miễn thuế',
230
+ 'Spend [threshold] duty free.': {
231
+ value: 'Chi tiêu [threshold] miễn thuế.',
229
232
  },
230
- 'Spend [threshold] tax free': {
231
- value: 'Chi tiêu [threshold] miễn thuế',
233
+ 'Spend [threshold] tax free.': {
234
+ value: 'Chi tiêu [threshold] miễn thuế.',
232
235
  },
233
236
  State: {
234
237
  value: 'Bang',
@@ -239,8 +242,8 @@ export const stringsVietnamese = {
239
242
  Success: {
240
243
  value: 'Thành công',
241
244
  },
242
- 'Taxes will apply to all orders': {
243
- value: 'Thuế sẽ áp dụng cho tất cả đơn hàng',
245
+ 'Taxes will apply to all orders.': {
246
+ value: 'Thuế sẽ áp dụng cho tất cả các đơn hàng.',
244
247
  },
245
248
  'Test cards': {
246
249
  value: 'Thẻ kiểm tra',
@@ -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: 'c8b22844b640cf67016bedac346ee2876822fb91', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '79a688fbb8915ef11897939bd568d696b3632b6a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '71468dc23512c3e228dd9ce7d6df6593ba01ad0b', class: "zonos--address-component" })));
138
+ return (h(Host, { key: 'f5729bb12351fedbb82e0fa80a7f094faad3a526', class: "zonos--address zonos--elements" }, h("zonos-text", { key: 'b2c50846e6da81a598ba670b14d01861703e5c78', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'bb401f27626d88d883aaaab71bc0907a28bf35d3', 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: '715d58ba37c753ac4890aabf3b6979a759a5594a', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: '1394e448a080a21522e91a62c8886d49c3616e59', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '417bc27477776220acfdc9d9f76acd91fd14c1ca', class: "zonos--link-authentication-component" })));
45
+ return (h(Host, { key: '5dfff9d2fcadfebdea65359e7b2bfdb525c3b242', class: "zonos--link-authentication zonos--elements" }, h("zonos-text", { key: 'fb080d667fdfc1a3f41e9cc128d2177af8dc7195', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: 'b79693e8082c7c341895c81ad0787bb2bf152ca9', 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: '870d7a4cb6132332368d356488c5eedd1dea16f3', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '7aef62f6daae0c5b59caa685c4255fb78eebc1be', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '073976bceadf5f8efa78d0b1f6098e94bfa3d1a6', class: "zonos--payment-component" })));
40
+ return (h(Host, { key: 'c940b38c3bb7e8a7856ce28e62ee40d60eb445a1', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '7625e3865a13cdf4fc6c05d7a2e0c7b84ae5ebd4', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: '92cde315378611a675b19cdce46b1bf6ac2221a1', class: "zonos--payment-component" })));
41
41
  }
42
42
  static get is() { return "zonos-payment"; }
43
43
  static get encapsulation() { return "scoped"; }
@@ -0,0 +1,15 @@
1
+ import { handleFetch } from "../handleFetch";
2
+ import { logError } from "../logging/logError";
3
+ export const getInclusivePricing = async (countryCode) => {
4
+ var _a;
5
+ if (!countryCode) {
6
+ return null;
7
+ }
8
+ const url = `${process.env.NEXT_PUBLIC_ZONOS_ROUTE_URL}/api/zonos-elements/inclusive-prices/${countryCode}`;
9
+ const { errors, json } = await handleFetch(url);
10
+ if (errors.length || !json) {
11
+ logError(`Error fetching country inclusive price setting: ${(_a = errors.find(Boolean)) === null || _a === void 0 ? void 0 : _a.message}`);
12
+ return null;
13
+ }
14
+ return json || null;
15
+ };