@zonos/elements 1.3.82 → 1.3.84

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 (166) hide show
  1. package/dist/cjs/{cart-ba540c8e.js → cart-a06f18e2.js} +462 -18
  2. package/dist/cjs/{createCustomEvent-1fd24ad8.js → createCustomEvent-8d9cf9ac.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{paypal-6bbe55a7.js → paypal-078f3cef.js} +1 -1
  6. package/dist/cjs/{zonos-address_8.cjs.entry.js → zonos-address_7.cjs.entry.js} +3 -58
  7. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +99 -29
  8. package/dist/cjs/zonos-checkout.cjs.entry.js +10 -8
  9. package/dist/cjs/zonos-collapse.cjs.entry.js +62 -0
  10. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  12. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-elements.cjs.js +1 -1
  14. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
  15. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  16. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  17. package/dist/cjs/zonos-notification_3.cjs.entry.js +2 -2
  18. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +1 -11
  19. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +17 -6
  20. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +3 -1
  21. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +7 -3
  22. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/assets/ChevronUpIcon.svg +23 -0
  23. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +55 -9
  24. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +57 -16
  25. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +20 -27
  26. package/dist/collection/components/store/checkout/cart.js +28 -11
  27. package/dist/collection/components/store/checkout/stripe.js +5 -4
  28. package/dist/collection/components/store/hello/localization.js +5 -1
  29. package/dist/collection/components/store/translationStore/strings.arabic.js +21 -0
  30. package/dist/collection/components/store/translationStore/strings.base.js +21 -0
  31. package/dist/collection/components/store/translationStore/strings.chinese.js +21 -0
  32. package/dist/collection/components/store/translationStore/strings.danish.js +21 -0
  33. package/dist/collection/components/store/translationStore/strings.dutch.js +21 -0
  34. package/dist/collection/components/store/translationStore/strings.french.js +22 -1
  35. package/dist/collection/components/store/translationStore/strings.german.js +22 -1
  36. package/dist/collection/components/store/translationStore/strings.hebrew.js +22 -1
  37. package/dist/collection/components/store/translationStore/strings.indonesian.js +21 -0
  38. package/dist/collection/components/store/translationStore/strings.italian.js +21 -0
  39. package/dist/collection/components/store/translationStore/strings.japanese.js +21 -0
  40. package/dist/collection/components/store/translationStore/strings.korean.js +21 -0
  41. package/dist/collection/components/store/translationStore/strings.norwegian.js +21 -0
  42. package/dist/collection/components/store/translationStore/strings.polish.js +21 -0
  43. package/dist/collection/components/store/translationStore/strings.portuguese.js +21 -0
  44. package/dist/collection/components/store/translationStore/strings.russian.js +22 -1
  45. package/dist/collection/components/store/translationStore/strings.spanish.js +21 -0
  46. package/dist/collection/components/store/translationStore/strings.swedish.js +21 -0
  47. package/dist/collection/components/store/translationStore/strings.turkish.js +21 -0
  48. package/dist/collection/components/store/translationStore/strings.vietnamese.js +21 -0
  49. package/dist/collection/components/stripe/zonos-address/zonos-address.js +3 -3
  50. package/dist/collection/components/utils/checkout/isDisabledCountry.js +0 -2
  51. package/dist/collection/components/utils/checkout/isShippableCountry.js +0 -2
  52. package/dist/collection/components/utils/checkout/{sortServiceLevelOptions.js → sortServiceLevelOptionsByAmount.js} +1 -1
  53. package/dist/esm/{cart-7df78f9f.js → cart-40e0d619.js} +461 -19
  54. package/dist/esm/{createCustomEvent-fcec608e.js → createCustomEvent-1f615c82.js} +1 -1
  55. package/dist/esm/index.js +7 -7
  56. package/dist/esm/loader.js +1 -1
  57. package/dist/esm/{paypal-a27aad03.js → paypal-a45fb0bb.js} +1 -1
  58. package/dist/esm/{zonos-address_8.entry.js → zonos-address_7.entry.js} +4 -58
  59. package/dist/esm/zonos-cart-items_12.entry.js +99 -29
  60. package/dist/esm/zonos-checkout.entry.js +10 -8
  61. package/dist/esm/zonos-collapse.entry.js +58 -0
  62. package/dist/esm/zonos-controller.entry.js +1 -1
  63. package/dist/esm/zonos-country-flag.entry.js +1 -1
  64. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  65. package/dist/esm/zonos-elements.js +1 -1
  66. package/dist/esm/zonos-hello-dialog.entry.js +1 -1
  67. package/dist/esm/zonos-hello.entry.js +1 -1
  68. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  69. package/dist/esm/zonos-notification_3.entry.js +2 -2
  70. package/dist/esm/zonos-shipping-rich-radio.entry.js +1 -11
  71. package/dist/esm-es5/cart-40e0d619.js +1 -0
  72. package/dist/esm-es5/{createCustomEvent-fcec608e.js → createCustomEvent-1f615c82.js} +1 -1
  73. package/dist/esm-es5/index.js +1 -1
  74. package/dist/esm-es5/loader.js +1 -1
  75. package/dist/esm-es5/{paypal-a27aad03.js → paypal-a45fb0bb.js} +1 -1
  76. package/dist/esm-es5/zonos-address_7.entry.js +1 -0
  77. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  78. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  79. package/dist/esm-es5/zonos-collapse.entry.js +1 -0
  80. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  81. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  82. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  83. package/dist/esm-es5/zonos-elements.js +1 -1
  84. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  85. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  86. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  87. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  88. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  89. package/dist/scripts/index.d.ts +499 -496
  90. package/dist/scripts/index.js +1 -1
  91. package/dist/scripts/loadZonos.js +1 -1
  92. package/dist/scripts/zonos.js +1 -1
  93. package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +4 -1
  94. package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +2 -6
  95. package/dist/types/components/store/checkout/cart.d.ts +9 -7
  96. package/dist/types/components/store/hello/localization.d.ts +4 -0
  97. package/dist/types/components/store/translationStore/strings.arabic.d.ts +21 -0
  98. package/dist/types/components/store/translationStore/strings.base.d.ts +21 -0
  99. package/dist/types/components/store/translationStore/strings.chinese.d.ts +21 -0
  100. package/dist/types/components/store/translationStore/strings.danish.d.ts +21 -0
  101. package/dist/types/components/store/translationStore/strings.dutch.d.ts +21 -0
  102. package/dist/types/components/store/translationStore/strings.french.d.ts +21 -0
  103. package/dist/types/components/store/translationStore/strings.german.d.ts +21 -0
  104. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +21 -0
  105. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +21 -0
  106. package/dist/types/components/store/translationStore/strings.italian.d.ts +21 -0
  107. package/dist/types/components/store/translationStore/strings.japanese.d.ts +21 -0
  108. package/dist/types/components/store/translationStore/strings.korean.d.ts +21 -0
  109. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +21 -0
  110. package/dist/types/components/store/translationStore/strings.polish.d.ts +21 -0
  111. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +21 -0
  112. package/dist/types/components/store/translationStore/strings.russian.d.ts +21 -0
  113. package/dist/types/components/store/translationStore/strings.spanish.d.ts +21 -0
  114. package/dist/types/components/store/translationStore/strings.swedish.d.ts +21 -0
  115. package/dist/types/components/store/translationStore/strings.turkish.d.ts +21 -0
  116. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +21 -0
  117. package/dist/types/components/store/translationStore.d.ts +1 -1
  118. package/dist/types/components/utils/checkout/{sortServiceLevelOptions.d.ts → sortServiceLevelOptionsByAmount.d.ts} +1 -1
  119. package/dist/types/components.d.ts +10 -8
  120. package/dist/zonos-elements/index.esm.js +1 -1
  121. package/dist/zonos-elements/{p-cd17565d.entry.js → p-019b202c.entry.js} +1 -1
  122. package/dist/zonos-elements/{p-a4cdd4f2.entry.js → p-0a15de43.entry.js} +1 -1
  123. package/dist/zonos-elements/{p-2024313c.js → p-1348c46d.js} +1 -1
  124. package/dist/zonos-elements/p-181de82e.entry.js +1 -0
  125. package/dist/zonos-elements/p-189a2cae.entry.js +1 -0
  126. package/dist/zonos-elements/{p-957b1c1b.system.js → p-3d9a0e52.system.js} +1 -1
  127. package/dist/zonos-elements/{p-4683797b.system.js → p-47d5a081.system.js} +1 -1
  128. package/dist/zonos-elements/p-4abca0e9.system.entry.js +1 -0
  129. package/dist/zonos-elements/{p-4e06a2bb.system.entry.js → p-5d325c13.system.entry.js} +1 -1
  130. package/dist/zonos-elements/{p-5d4bde9c.system.entry.js → p-5ef15d65.system.entry.js} +1 -1
  131. package/dist/zonos-elements/{p-df83e30b.entry.js → p-60c543e7.entry.js} +1 -1
  132. package/dist/zonos-elements/p-7096814b.system.entry.js +1 -0
  133. package/dist/zonos-elements/{p-43e2de45.system.entry.js → p-78ca17aa.system.entry.js} +1 -1
  134. package/dist/zonos-elements/{p-cfd53396.entry.js → p-9013751a.entry.js} +1 -1
  135. package/dist/zonos-elements/p-9367aeca.system.entry.js +1 -0
  136. package/dist/zonos-elements/p-9931bea7.system.entry.js +1 -0
  137. package/dist/zonos-elements/{p-d48f3bd3.system.entry.js → p-ac6562c7.system.entry.js} +1 -1
  138. package/dist/zonos-elements/{p-2d2edb5a.system.entry.js → p-b1381434.system.entry.js} +1 -1
  139. package/dist/zonos-elements/{p-acabfc47.js → p-b39b794a.js} +1 -1
  140. package/dist/zonos-elements/p-ba10b830.entry.js +1 -0
  141. package/dist/zonos-elements/p-c1fbe220.js +1 -0
  142. package/dist/zonos-elements/{p-4097a25b.system.entry.js → p-c224f43a.system.entry.js} +1 -1
  143. package/dist/zonos-elements/{p-b09c3702.entry.js → p-c3314b3b.entry.js} +1 -1
  144. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  145. package/dist/zonos-elements/p-cec3e1ed.entry.js +1 -0
  146. package/dist/zonos-elements/p-d043cf10.system.entry.js +1 -0
  147. package/dist/zonos-elements/{p-bf84416a.entry.js → p-d31368f1.entry.js} +1 -1
  148. package/dist/zonos-elements/{p-15651b06.system.js → p-e2adfe87.system.js} +1 -1
  149. package/dist/zonos-elements/{p-112a969c.entry.js → p-e563eb3f.entry.js} +1 -1
  150. package/dist/zonos-elements/p-e6f2948c.system.js +1 -0
  151. package/dist/zonos-elements/{p-59806a8e.system.entry.js → p-ec8ff301.system.entry.js} +1 -1
  152. package/dist/zonos-elements/p-f1e452e1.entry.js +1 -0
  153. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  154. package/package.json +1 -1
  155. package/dist/esm-es5/cart-7df78f9f.js +0 -1
  156. package/dist/esm-es5/zonos-address_8.entry.js +0 -1
  157. package/dist/zonos-elements/p-270cc182.system.entry.js +0 -1
  158. package/dist/zonos-elements/p-2c5e2163.entry.js +0 -1
  159. package/dist/zonos-elements/p-85600e22.system.entry.js +0 -1
  160. package/dist/zonos-elements/p-8dd38974.entry.js +0 -1
  161. package/dist/zonos-elements/p-8fd6ae63.js +0 -1
  162. package/dist/zonos-elements/p-a1c5c1a2.entry.js +0 -1
  163. package/dist/zonos-elements/p-aa899bf7.entry.js +0 -1
  164. package/dist/zonos-elements/p-cffe7cc8.system.entry.js +0 -1
  165. package/dist/zonos-elements/p-e7eb0a92.system.js +0 -1
  166. package/dist/zonos-elements/p-f4667002.system.entry.js +0 -1
@@ -86,12 +86,18 @@ export const stringsPortuguese = {
86
86
  "Don't close": {
87
87
  value: 'Não fechar',
88
88
  },
89
+ 'Due at delivery': {
90
+ value: 'A pagar na entrega',
91
+ },
89
92
  'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
90
93
  value: 'Taxas e impostos na Austrália, o IVA ou GST é [percentage] e é devido em todos os pedidos.',
91
94
  },
92
95
  'Duties and taxes will be applied to items and shipping.': {
93
96
  value: 'Impostos e taxas serão aplicados aos itens e ao frete.',
94
97
  },
98
+ 'Duties and taxes will be charged upon delivery.': {
99
+ value: 'As taxas e impostos serão cobrados na entrega.',
100
+ },
95
101
  'Duties will apply to all orders.': {
96
102
  value: 'Impostos serão aplicados a todos os pedidos.',
97
103
  },
@@ -107,6 +113,9 @@ export const stringsPortuguese = {
107
113
  'Error updating Checkout': {
108
114
  value: 'Erro ao atualizar Checkout',
109
115
  },
116
+ Estimated: {
117
+ value: 'Estimado',
118
+ },
110
119
  'Expected delivery': {
111
120
  value: 'Entrega prevista',
112
121
  },
@@ -128,6 +137,9 @@ export const stringsPortuguese = {
128
137
  Hide: {
129
138
  value: 'Esconder',
130
139
  },
140
+ 'Hide non prepaid methods': {
141
+ value: 'Ocultar métodos não pré-pagos',
142
+ },
131
143
  'Invalid promo code': {
132
144
  value: 'Código promocional inválido',
133
145
  },
@@ -161,6 +173,9 @@ export const stringsPortuguese = {
161
173
  'No shipping methods found - try editing your address or contacting support if the error persists': {
162
174
  value: 'Nenhum método de envio encontrado - tente editar seu endereço ou entrar em contato com o suporte se o erro persistir',
163
175
  },
176
+ 'Nothing due at delivery': {
177
+ value: 'Nada a pagar na entrega',
178
+ },
164
179
  'Nothing due at the door': {
165
180
  value: 'Nada a pagar na porta',
166
181
  },
@@ -269,6 +284,9 @@ export const stringsPortuguese = {
269
284
  Show: {
270
285
  value: 'Mostrar',
271
286
  },
287
+ 'Show non prepaid methods': {
288
+ value: 'Mostrar métodos não pré-pagos',
289
+ },
272
290
  'Something went wrong.': {
273
291
  value: 'Algo deu errado.',
274
292
  },
@@ -341,6 +359,9 @@ export const stringsPortuguese = {
341
359
  'Would you like to close checkout and return to the site?': {
342
360
  value: 'Gostaria de fechar o checkout e voltar ao site?',
343
361
  },
362
+ 'You may incur additional fees from the shipping carrier by not prepaying.': {
363
+ value: 'Você pode incorrer em taxas adicionais da transportadora por não pagar antecipadamente.',
364
+ },
344
365
  "You're all set!": {
345
366
  value: 'Está tudo pronto!',
346
367
  },
@@ -86,12 +86,18 @@ export const stringsRussian = {
86
86
  "Don't close": {
87
87
  value: 'Не закрывайте',
88
88
  },
89
+ 'Due at delivery': {
90
+ value: 'Оплата при доставке',
91
+ },
89
92
  'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
90
93
  value: 'Пошлины и налоги в Австралии, НДС или GST составляет [percentage] и подлежит оплате на все заказы.',
91
94
  },
92
95
  'Duties and taxes will be applied to items and shipping.': {
93
96
  value: 'Пошлины и налоги будут применены к товарам и доставке.',
94
97
  },
98
+ 'Duties and taxes will be charged upon delivery.': {
99
+ value: 'Пошлины и налоги будут взиматься при доставке.',
100
+ },
95
101
  'Duties will apply to all orders.': {
96
102
  value: 'Пошлины будут применяться ко всем заказам.',
97
103
  },
@@ -107,6 +113,9 @@ export const stringsRussian = {
107
113
  'Error updating Checkout': {
108
114
  value: 'Ошибка при обновлении оформления',
109
115
  },
116
+ Estimated: {
117
+ value: 'Оценочный',
118
+ },
110
119
  'Expected delivery': {
111
120
  value: 'Ожидаемая доставка',
112
121
  },
@@ -128,8 +137,11 @@ export const stringsRussian = {
128
137
  Hide: {
129
138
  value: 'Скрыть',
130
139
  },
140
+ 'Hide non prepaid methods': {
141
+ value: 'Скрыть непредоплаченные методы',
142
+ },
131
143
  'Invalid promo code': {
132
- value: 'Недействительный промокод',
144
+ value: 'Недействительный промо-код',
133
145
  },
134
146
  'Keep shopping': {
135
147
  value: 'Продолжить покупки',
@@ -161,6 +173,9 @@ export const stringsRussian = {
161
173
  'No shipping methods found - try editing your address or contacting support if the error persists': {
162
174
  value: 'Не найдено методов доставки - попробуйте отредактировать ваш адрес или свяжитесь с поддержкой, если ошибка сохраняется',
163
175
  },
176
+ 'Nothing due at delivery': {
177
+ value: 'При доставке ничего не должно',
178
+ },
164
179
  'Nothing due at the door': {
165
180
  value: 'На двери ничего не должно',
166
181
  },
@@ -269,6 +284,9 @@ export const stringsRussian = {
269
284
  Show: {
270
285
  value: 'Показать',
271
286
  },
287
+ 'Show non prepaid methods': {
288
+ value: 'Показать непредоплаченные методы',
289
+ },
272
290
  'Something went wrong.': {
273
291
  value: 'Что-то пошло не так.',
274
292
  },
@@ -341,6 +359,9 @@ export const stringsRussian = {
341
359
  'Would you like to close checkout and return to the site?': {
342
360
  value: 'Вы хотите завершить оформление заказа и вернуться на сайт?',
343
361
  },
362
+ 'You may incur additional fees from the shipping carrier by not prepaying.': {
363
+ value: 'Вы можете понести дополнительные расходы от перевозчика, если не оплатите заранее.',
364
+ },
344
365
  "You're all set!": {
345
366
  value: 'Все готово!',
346
367
  },
@@ -86,12 +86,18 @@ export const stringsSpanish = {
86
86
  "Don't close": {
87
87
  value: 'No cerrar',
88
88
  },
89
+ 'Due at delivery': {
90
+ value: 'A pagar en la entrega',
91
+ },
89
92
  'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
90
93
  value: 'Derechos e impuestos en Australia, el IVA o GST es [percentage] y se debe en todos los pedidos.',
91
94
  },
92
95
  'Duties and taxes will be applied to items and shipping.': {
93
96
  value: 'Los impuestos y aranceles se aplicarán a los artículos y al envío.',
94
97
  },
98
+ 'Duties and taxes will be charged upon delivery.': {
99
+ value: 'Los aranceles e impuestos se cobrarán al momento de la entrega.',
100
+ },
95
101
  'Duties will apply to all orders.': {
96
102
  value: 'Se aplicarán aranceles a todos los pedidos.',
97
103
  },
@@ -107,6 +113,9 @@ export const stringsSpanish = {
107
113
  'Error updating Checkout': {
108
114
  value: 'Error al actualizar el pago',
109
115
  },
116
+ Estimated: {
117
+ value: 'Estimado',
118
+ },
110
119
  'Expected delivery': {
111
120
  value: 'Entrega esperada',
112
121
  },
@@ -128,6 +137,9 @@ export const stringsSpanish = {
128
137
  Hide: {
129
138
  value: 'Ocultar',
130
139
  },
140
+ 'Hide non prepaid methods': {
141
+ value: 'Ocultar métodos no prepagados',
142
+ },
131
143
  'Invalid promo code': {
132
144
  value: 'Código promocional no válido',
133
145
  },
@@ -161,6 +173,9 @@ export const stringsSpanish = {
161
173
  'No shipping methods found - try editing your address or contacting support if the error persists': {
162
174
  value: 'No se encontraron métodos de envío: intenta editar tu dirección o contactar al soporte si el error persiste',
163
175
  },
176
+ 'Nothing due at delivery': {
177
+ value: 'Nada debido en la entrega',
178
+ },
164
179
  'Nothing due at the door': {
165
180
  value: 'Nada debido en la puerta',
166
181
  },
@@ -269,6 +284,9 @@ export const stringsSpanish = {
269
284
  Show: {
270
285
  value: 'Mostrar',
271
286
  },
287
+ 'Show non prepaid methods': {
288
+ value: 'Mostrar métodos no prepagados',
289
+ },
272
290
  'Something went wrong.': {
273
291
  value: 'Algo salió mal.',
274
292
  },
@@ -341,6 +359,9 @@ export const stringsSpanish = {
341
359
  'Would you like to close checkout and return to the site?': {
342
360
  value: '¿Te gustaría cerrar la caja y volver al sitio?',
343
361
  },
362
+ 'You may incur additional fees from the shipping carrier by not prepaying.': {
363
+ value: 'Puede incurrir en tarifas adicionales del transportista si no paga por adelantado.',
364
+ },
344
365
  "You're all set!": {
345
366
  value: '¡Está todo listo!',
346
367
  },
@@ -86,12 +86,18 @@ export const stringsSwedish = {
86
86
  "Don't close": {
87
87
  value: 'Stäng inte',
88
88
  },
89
+ 'Due at delivery': {
90
+ value: 'Betalas vid leverans',
91
+ },
89
92
  'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
90
93
  value: 'Tullar och skatter i Australien, moms eller GST är [percentage] och förfaller på alla beställningar.',
91
94
  },
92
95
  'Duties and taxes will be applied to items and shipping.': {
93
96
  value: 'Tull och skatter kommer att tillämpas på varor och frakt.',
94
97
  },
98
+ 'Duties and taxes will be charged upon delivery.': {
99
+ value: 'Tullar och skatter debiteras vid leverans.',
100
+ },
95
101
  'Duties will apply to all orders.': {
96
102
  value: 'Tullar kommer att gälla för alla beställningar.',
97
103
  },
@@ -107,6 +113,9 @@ export const stringsSwedish = {
107
113
  'Error updating Checkout': {
108
114
  value: 'Fel vid uppdatering av utcheckning',
109
115
  },
116
+ Estimated: {
117
+ value: 'Uppskattad',
118
+ },
110
119
  'Expected delivery': {
111
120
  value: 'Beräknad leverans',
112
121
  },
@@ -128,6 +137,9 @@ export const stringsSwedish = {
128
137
  Hide: {
129
138
  value: 'Dölj',
130
139
  },
140
+ 'Hide non prepaid methods': {
141
+ value: 'Dölj icke-förbetalda metoder',
142
+ },
131
143
  'Invalid promo code': {
132
144
  value: 'Ogiltig kampanjkod',
133
145
  },
@@ -161,6 +173,9 @@ export const stringsSwedish = {
161
173
  'No shipping methods found - try editing your address or contacting support if the error persists': {
162
174
  value: 'Inga leveransmetoder hittades - försök redigera din adress eller kontakta supporten om felet kvarstår',
163
175
  },
176
+ 'Nothing due at delivery': {
177
+ value: 'Ingenting att betala vid leverans',
178
+ },
164
179
  'Nothing due at the door': {
165
180
  value: 'Ingenting att betala vid dörren',
166
181
  },
@@ -269,6 +284,9 @@ export const stringsSwedish = {
269
284
  Show: {
270
285
  value: 'Visa',
271
286
  },
287
+ 'Show non prepaid methods': {
288
+ value: 'Visa icke förbetalda metoder',
289
+ },
272
290
  'Something went wrong.': {
273
291
  value: 'Något gick fel.',
274
292
  },
@@ -341,6 +359,9 @@ export const stringsSwedish = {
341
359
  'Would you like to close checkout and return to the site?': {
342
360
  value: 'Vill du stänga kassan och återvända till webbplatsen?',
343
361
  },
362
+ 'You may incur additional fees from the shipping carrier by not prepaying.': {
363
+ value: 'Du kan få extra avgifter från fraktbolaget om du inte förbetalar.',
364
+ },
344
365
  "You're all set!": {
345
366
  value: 'Du är klar!',
346
367
  },
@@ -86,12 +86,18 @@ export const stringsTurkish = {
86
86
  "Don't close": {
87
87
  value: 'Kapatma',
88
88
  },
89
+ 'Due at delivery': {
90
+ value: 'Teslimatta ödenecek',
91
+ },
89
92
  'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
90
93
  value: "Avustralya'da gümrük vergileri ve vergiler, KDV veya GST [percentage] olup tüm siparişlerde ödenir.",
91
94
  },
92
95
  'Duties and taxes will be applied to items and shipping.': {
93
96
  value: 'Ürünlere ve kargoya vergi ve gümrük vergisi uygulanacak.',
94
97
  },
98
+ 'Duties and taxes will be charged upon delivery.': {
99
+ value: 'Vergi ve harçlar teslimatta tahsil edilecektir.',
100
+ },
95
101
  'Duties will apply to all orders.': {
96
102
  value: 'Tüm siparişlere gümrük vergisi uygulanacaktır.',
97
103
  },
@@ -107,6 +113,9 @@ export const stringsTurkish = {
107
113
  'Error updating Checkout': {
108
114
  value: 'Ödeme güncelleme hatası',
109
115
  },
116
+ Estimated: {
117
+ value: 'Tahmini',
118
+ },
110
119
  'Expected delivery': {
111
120
  value: 'Beklenen teslimat',
112
121
  },
@@ -128,6 +137,9 @@ export const stringsTurkish = {
128
137
  Hide: {
129
138
  value: 'Sakla',
130
139
  },
140
+ 'Hide non prepaid methods': {
141
+ value: 'Ön ödemesiz yöntemleri gizle',
142
+ },
131
143
  'Invalid promo code': {
132
144
  value: 'Geçersiz promosyon kodu',
133
145
  },
@@ -161,6 +173,9 @@ export const stringsTurkish = {
161
173
  'No shipping methods found - try editing your address or contacting support if the error persists': {
162
174
  value: 'Hiçbir gönderi yöntemi bulunamadı - eğer hata devam ediyorsa adresinizi düzenlemeyi deneyin veya destekle iletişime geçin',
163
175
  },
176
+ 'Nothing due at delivery': {
177
+ value: 'Teslimatta ödenecek bir şey yok',
178
+ },
164
179
  'Nothing due at the door': {
165
180
  value: 'Kapıda ödenecek bir şey yok',
166
181
  },
@@ -269,6 +284,9 @@ export const stringsTurkish = {
269
284
  Show: {
270
285
  value: 'Göster',
271
286
  },
287
+ 'Show non prepaid methods': {
288
+ value: 'Ön ödemesiz yöntemleri göster',
289
+ },
272
290
  'Something went wrong.': {
273
291
  value: 'Bir şeyler yanlış gitti.',
274
292
  },
@@ -341,6 +359,9 @@ export const stringsTurkish = {
341
359
  'Would you like to close checkout and return to the site?': {
342
360
  value: 'Ödemeyi kapatıp siteye geri dönmek ister misiniz?',
343
361
  },
362
+ 'You may incur additional fees from the shipping carrier by not prepaying.': {
363
+ value: 'Ön ödeme yapmazsanız, nakliye şirketinden ek ücretler alabilirsiniz.',
364
+ },
344
365
  "You're all set!": {
345
366
  value: 'Hazırsınız!',
346
367
  },
@@ -86,12 +86,18 @@ export const stringsVietnamese = {
86
86
  "Don't close": {
87
87
  value: 'Đừng đóng',
88
88
  },
89
+ 'Due at delivery': {
90
+ value: 'Thanh toán khi giao hàng',
91
+ },
89
92
  'Duties & taxes in Australia, VAT or GST is [percentage] and is due on all orders.': {
90
93
  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.',
91
94
  },
92
95
  'Duties and taxes will be applied to items and shipping.': {
93
96
  value: 'Thuế và phí sẽ được áp dụng cho hàng hóa và vận chuyển.',
94
97
  },
98
+ 'Duties and taxes will be charged upon delivery.': {
99
+ value: 'Thuế và phí sẽ được tính khi giao hàng.',
100
+ },
95
101
  'Duties will apply to all orders.': {
96
102
  value: 'Thuế sẽ áp dụng cho tất cả các đơn hàng.',
97
103
  },
@@ -107,6 +113,9 @@ export const stringsVietnamese = {
107
113
  'Error updating Checkout': {
108
114
  value: 'Lỗi khi cập nhật phiên thanh toán',
109
115
  },
116
+ Estimated: {
117
+ value: 'Ước tính',
118
+ },
110
119
  'Expected delivery': {
111
120
  value: 'Dự kiến giao hàng',
112
121
  },
@@ -128,6 +137,9 @@ export const stringsVietnamese = {
128
137
  Hide: {
129
138
  value: 'Ẩn',
130
139
  },
140
+ 'Hide non prepaid methods': {
141
+ value: 'Ẩn các phương thức không trả trước',
142
+ },
131
143
  'Invalid promo code': {
132
144
  value: 'Mã khuyến mãi không hợp lệ',
133
145
  },
@@ -161,6 +173,9 @@ export const stringsVietnamese = {
161
173
  'No shipping methods found - try editing your address or contacting support if the error persists': {
162
174
  value: 'Không tìm thấy phương thức vận chuyển - hãy thử chỉnh sửa địa chỉ của bạn hoặc liên hệ hỗ trợ nếu lỗi vẫn tiếp tục',
163
175
  },
176
+ 'Nothing due at delivery': {
177
+ value: 'Không có gì phải trả khi giao hàng',
178
+ },
164
179
  'Nothing due at the door': {
165
180
  value: 'Không có gì phải trả tại cửa',
166
181
  },
@@ -269,6 +284,9 @@ export const stringsVietnamese = {
269
284
  Show: {
270
285
  value: 'Hiển thị',
271
286
  },
287
+ 'Show non prepaid methods': {
288
+ value: 'Hiển thị các phương thức không trả trước',
289
+ },
272
290
  'Something went wrong.': {
273
291
  value: 'Đã xảy ra lỗi.',
274
292
  },
@@ -341,6 +359,9 @@ export const stringsVietnamese = {
341
359
  'Would you like to close checkout and return to the site?': {
342
360
  value: 'Bạn có muốn đóng thanh toán và quay lại trang web không?',
343
361
  },
362
+ 'You may incur additional fees from the shipping carrier by not prepaying.': {
363
+ value: 'Bạn có thể phải chịu thêm phí từ nhà vận chuyển nếu không trả trước.',
364
+ },
344
365
  "You're all set!": {
345
366
  value: 'Bạn đã sẵn sàng!',
346
367
  },
@@ -1,6 +1,6 @@
1
1
  import { h, Host, } from "@stencil/core";
2
2
  import { stripeStore } from "../../store/checkout/stripe";
3
- import { localizationStore } from "../../store/hello/localization";
3
+ import { DEFAULT_COUNTRY_CODE_LEGACY_CHECKOUT, localizationStore, } from "../../store/hello/localization";
4
4
  import { isCheckoutMobile } from "../../utils/checkout/isCheckoutMobile";
5
5
  import { logError } from "../../utils/logging/logError";
6
6
  /**
@@ -72,7 +72,7 @@ export class ZonosAddress {
72
72
  defaultValues: {
73
73
  address: Object.assign(Object.assign({}, stripeAddressEventData === null || stripeAddressEventData === void 0 ? void 0 : stripeAddressEventData.value.address), { country: (stripeAddressEventData === null || stripeAddressEventData === void 0 ? void 0 : stripeAddressEventData.value.address.country) ||
74
74
  localizationStore.selectedCountryCode ||
75
- 'AL' }),
75
+ DEFAULT_COUNTRY_CODE_LEGACY_CHECKOUT }),
76
76
  firstName: stripeAddressEventData === null || stripeAddressEventData === void 0 ? void 0 : stripeAddressEventData.value.firstName,
77
77
  lastName: stripeAddressEventData === null || stripeAddressEventData === void 0 ? void 0 : stripeAddressEventData.value.lastName,
78
78
  phone: stripeAddressEventData === null || stripeAddressEventData === void 0 ? void 0 : stripeAddressEventData.value.phone,
@@ -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: 'c8d513bc9890590db622ec8f26d4e9b0694c33e5', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '775b454620360bed4186a23371bc3867a5745155', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '4844b5379a33a3668cae0036c1a952cd42229efb', class: "zonos--address-component" })));
138
+ return (h(Host, { key: 'aa9a569b302099681082cd4219b553f9c70842ea', class: "zonos--address zonos--elements" }, h("zonos-text", { key: '60050e9f8f0b80dde9acc9ffbd868333fdabf2b3', class: "zonos--title", type: "semiBoldLabel" }, this.titleText), h("div", { key: '5af7ee4f23d75fc877cdde7babe0edaefef14da8', class: "zonos--address-component" })));
139
139
  }
140
140
  static get is() { return "zonos-address"; }
141
141
  static get encapsulation() { return "scoped"; }
@@ -1,12 +1,10 @@
1
1
  import { localizationStore } from "../../store/hello/localization";
2
- import { createCustomEvent } from "../createCustomEvent";
3
2
  import { log } from "../logging/log";
4
3
  export const isDisabledCountry = (showLog = true) => {
5
4
  if (!localizationStore.localizationLoaded) {
6
5
  return true;
7
6
  }
8
7
  if (localizationStore.isDisabledCountry) {
9
- document.dispatchEvent(createCustomEvent('legacyCheckoutError', 'Unable to initiate checkout process in a country that has been disabled for checkout'));
10
8
  if (showLog) {
11
9
  log(`Checkout: disabled country`);
12
10
  }
@@ -1,5 +1,4 @@
1
1
  import { localizationStore } from "../../store/hello/localization";
2
- import { createCustomEvent } from "../createCustomEvent";
3
2
  import { log } from "../logging/log";
4
3
  export const isShippableCountry = (showLog = true) => {
5
4
  if (!localizationStore.localizationLoaded) {
@@ -7,7 +6,6 @@ export const isShippableCountry = (showLog = true) => {
7
6
  }
8
7
  // if localization is loaded and the localization is not a shippable country, keep the original click event
9
8
  if (!localizationStore.isShippableCountry) {
10
- document.dispatchEvent(createCustomEvent('legacyCheckoutError', 'Unable to initiate checkout process in a country where shipping is not available'));
11
9
  if (showLog) {
12
10
  log(`Checkout: not shippable country`);
13
11
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Sorts service levels with lower cost first
3
3
  */
4
- export const sortServiceLevelOptions = (serviceLevels) => {
4
+ export const sortServiceLevelOptionsByAmount = (serviceLevels) => {
5
5
  const sortedServiceLevels = serviceLevels.sort((a, b) => {
6
6
  return a.amount - b.amount;
7
7
  });