@zonos/elements 1.3.25-alpha.0 → 1.3.26

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 (210) hide show
  1. package/dist/cjs/{cart-ab3b679e.js → cart-7e817cad.js} +192 -8
  2. package/dist/cjs/{getBorderRadius-ea0984bb.js → getBorderRadius-074b46ef.js} +1 -1
  3. package/dist/cjs/index.cjs.js +3 -3
  4. package/dist/cjs/{isDarkColor-b14d5752.js → isDarkColor-371a3b1a.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{submitGtag-1471da9f.js → submitGtag-7e0065da.js} +2 -2
  7. package/dist/cjs/zonos-address_8.cjs.entry.js +4 -4
  8. package/dist/cjs/zonos-badge_2.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-button_3.cjs.entry.js +3 -3
  11. package/dist/cjs/zonos-card_2.cjs.entry.js +4 -4
  12. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +29 -12
  13. package/dist/cjs/zonos-checkout.cjs.entry.js +52 -6
  14. package/dist/cjs/zonos-controller.cjs.entry.js +4 -4
  15. package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
  16. package/dist/cjs/zonos-country-select_3.cjs.entry.js +4 -4
  17. package/dist/cjs/zonos-elements.cjs.js +1 -1
  18. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
  19. package/dist/cjs/zonos-hello.cjs.entry.js +19 -12
  20. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  21. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  22. package/dist/cjs/zonos-notification.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-payment.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +1 -1
  25. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
  26. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  27. package/dist/cjs/{zonosStore-3958bbeb.js → zonosStore-4c6c85da.js} +1 -0
  28. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.css +1 -0
  29. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +20 -2
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +49 -2
  31. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +8 -8
  32. package/dist/collection/components/hello/zonos-hello/zonos-hello.js +15 -8
  33. package/dist/collection/components/store/hello/localization.js +9 -5
  34. package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
  35. package/dist/collection/components/store/translationStore/strings.base.js +9 -0
  36. package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
  37. package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
  38. package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
  39. package/dist/collection/components/store/translationStore/strings.french.js +9 -0
  40. package/dist/collection/components/store/translationStore/strings.german.js +9 -0
  41. package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
  42. package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
  43. package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
  44. package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
  45. package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
  46. package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
  47. package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
  48. package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
  49. package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
  50. package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
  51. package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
  52. package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
  53. package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
  54. package/dist/collection/components/store/zonosStore.js +1 -0
  55. package/dist/collection/types/generated/graphql.customer.types.js +45 -0
  56. package/dist/collection/types/generated/graphql.frontend.types.js +6 -0
  57. package/dist/esm/{cart-564ab33a.js → cart-13e6a811.js} +192 -8
  58. package/dist/esm/{getBorderRadius-5e5a5800.js → getBorderRadius-947c24de.js} +1 -1
  59. package/dist/esm/index.js +3 -3
  60. package/dist/esm/{isDarkColor-5185b62c.js → isDarkColor-f8324c10.js} +1 -1
  61. package/dist/esm/loader.js +1 -1
  62. package/dist/esm/{submitGtag-90ebe7d0.js → submitGtag-c8bb6f2e.js} +2 -2
  63. package/dist/esm/zonos-address_8.entry.js +4 -4
  64. package/dist/esm/zonos-badge_2.entry.js +1 -1
  65. package/dist/esm/zonos-banner.entry.js +1 -1
  66. package/dist/esm/zonos-button_3.entry.js +3 -3
  67. package/dist/esm/zonos-card_2.entry.js +4 -4
  68. package/dist/esm/zonos-cart-items_12.entry.js +29 -12
  69. package/dist/esm/zonos-checkout.entry.js +52 -6
  70. package/dist/esm/zonos-controller.entry.js +4 -4
  71. package/dist/esm/zonos-country-flag.entry.js +4 -4
  72. package/dist/esm/zonos-country-select_3.entry.js +4 -4
  73. package/dist/esm/zonos-elements.js +1 -1
  74. package/dist/esm/zonos-hello-dialog.entry.js +4 -4
  75. package/dist/esm/zonos-hello.entry.js +19 -12
  76. package/dist/esm/zonos-input.entry.js +2 -2
  77. package/dist/esm/zonos-logo.entry.js +1 -1
  78. package/dist/esm/zonos-notification.entry.js +1 -1
  79. package/dist/esm/zonos-payment.entry.js +4 -4
  80. package/dist/esm/zonos-select-dialog-header_2.entry.js +1 -1
  81. package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
  82. package/dist/esm/zonos-text.entry.js +1 -1
  83. package/dist/esm/{zonosStore-8b9ea19c.js → zonosStore-ba9e541e.js} +1 -0
  84. package/dist/esm-es5/cart-13e6a811.js +1 -0
  85. package/dist/esm-es5/{getBorderRadius-5e5a5800.js → getBorderRadius-947c24de.js} +1 -1
  86. package/dist/esm-es5/index.js +1 -1
  87. package/dist/esm-es5/{isDarkColor-5185b62c.js → isDarkColor-f8324c10.js} +1 -1
  88. package/dist/esm-es5/loader.js +1 -1
  89. package/dist/esm-es5/{submitGtag-90ebe7d0.js → submitGtag-c8bb6f2e.js} +1 -1
  90. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  91. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  92. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  93. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  94. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  95. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  96. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  97. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  98. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  99. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  100. package/dist/esm-es5/zonos-elements.js +1 -1
  101. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  102. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  103. package/dist/esm-es5/zonos-input.entry.js +1 -1
  104. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  105. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  106. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  107. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  108. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  109. package/dist/esm-es5/zonos-text.entry.js +1 -1
  110. package/dist/esm-es5/{zonosStore-8b9ea19c.js → zonosStore-ba9e541e.js} +1 -1
  111. package/dist/scripts/index.d.ts +60 -5
  112. package/dist/scripts/index.js +1 -1
  113. package/dist/scripts/loadZonos.js +1 -1
  114. package/dist/scripts/zonos.js +1 -1
  115. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +2 -0
  116. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +10 -0
  117. package/dist/types/components/common/zonos-confirm-dialog/zonos-confirm-dialog.d.ts +2 -2
  118. package/dist/types/components/hello/zonos-hello/zonos-hello.d.ts +1 -1
  119. package/dist/types/components/store/checkout/cart.d.ts +4 -0
  120. package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
  121. package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
  122. package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
  123. package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
  124. package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
  125. package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
  126. package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
  127. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
  128. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
  129. package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
  130. package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
  131. package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
  132. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
  133. package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
  134. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
  135. package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
  136. package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
  137. package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
  138. package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
  139. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
  140. package/dist/types/components/store/translationStore.d.ts +1 -1
  141. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  142. package/dist/types/components.d.ts +4 -4
  143. package/dist/types/types/checkout/CheckoutConfig.d.ts +40 -0
  144. package/dist/types/types/generated/graphql.customer.types.d.ts +61 -1
  145. package/dist/types/types/generated/graphql.customer.types.ts +83 -1
  146. package/dist/types/types/generated/graphql.frontend.types.d.ts +7 -1
  147. package/dist/types/types/generated/graphql.frontend.types.ts +7 -1
  148. package/dist/types/types/hello/HelloConfig.d.ts +9 -2
  149. package/dist/zonos-elements/index.esm.js +1 -1
  150. package/dist/zonos-elements/{p-088d6460.system.entry.js → p-01304a58.system.entry.js} +1 -1
  151. package/dist/zonos-elements/{p-e2301200.system.entry.js → p-089c3737.system.entry.js} +1 -1
  152. package/dist/zonos-elements/{p-07fe47f2.system.entry.js → p-094c7343.system.entry.js} +1 -1
  153. package/dist/zonos-elements/{p-be14323b.system.js → p-0b538ed4.system.js} +1 -1
  154. package/dist/zonos-elements/p-121be462.system.js +1 -0
  155. package/dist/zonos-elements/{p-1e2fbb1d.system.entry.js → p-13454044.system.entry.js} +1 -1
  156. package/dist/zonos-elements/{p-e815af26.entry.js → p-1f2077df.entry.js} +1 -1
  157. package/dist/zonos-elements/{p-6b2a2f68.entry.js → p-2011cb03.entry.js} +1 -1
  158. package/dist/zonos-elements/{p-b79753bb.system.entry.js → p-27d648c3.system.entry.js} +1 -1
  159. package/dist/zonos-elements/{p-9c0859b5.entry.js → p-2aa72606.entry.js} +1 -1
  160. package/dist/zonos-elements/{p-bf9dca26.js → p-31b3d26b.js} +1 -1
  161. package/dist/zonos-elements/{p-c0ddef11.entry.js → p-3541e6dd.entry.js} +1 -1
  162. package/dist/zonos-elements/p-3baf7a18.entry.js +1 -0
  163. package/dist/zonos-elements/{p-d6796b73.system.entry.js → p-3dc59d89.system.entry.js} +1 -1
  164. package/dist/zonos-elements/{p-aaba6f75.entry.js → p-3e488bff.entry.js} +1 -1
  165. package/dist/zonos-elements/p-43c1dd27.system.entry.js +1 -0
  166. package/dist/zonos-elements/p-452ed1a7.entry.js +1 -0
  167. package/dist/zonos-elements/{p-87c4a2af.entry.js → p-492b8e12.entry.js} +1 -1
  168. package/dist/zonos-elements/{p-f3feed11.entry.js → p-5441b729.entry.js} +1 -1
  169. package/dist/zonos-elements/{p-c53cef11.js → p-5821856c.js} +1 -1
  170. package/dist/zonos-elements/{p-0ea19a4d.entry.js → p-5857ad65.entry.js} +1 -1
  171. package/dist/zonos-elements/{p-4d36edfd.system.entry.js → p-58edaab6.system.entry.js} +1 -1
  172. package/dist/zonos-elements/{p-474719c5.entry.js → p-60621085.entry.js} +1 -1
  173. package/dist/zonos-elements/{p-1752853e.entry.js → p-699a5376.entry.js} +1 -1
  174. package/dist/zonos-elements/{p-5992c6fb.system.entry.js → p-73ba4398.system.entry.js} +1 -1
  175. package/dist/zonos-elements/{p-e2bdba42.system.js → p-74488e31.system.js} +1 -1
  176. package/dist/zonos-elements/{p-84791c5c.entry.js → p-75ba695c.entry.js} +1 -1
  177. package/dist/zonos-elements/p-875a311d.js +1 -0
  178. package/dist/zonos-elements/{p-b45db572.system.entry.js → p-8f8baabf.system.entry.js} +1 -1
  179. package/dist/zonos-elements/p-99da2348.entry.js +1 -0
  180. package/dist/zonos-elements/{p-a5e9d372.js → p-9a1c0d02.js} +1 -1
  181. package/dist/zonos-elements/p-a5d823d3.system.entry.js +1 -0
  182. package/dist/zonos-elements/{p-33b054d9.system.js → p-a8cb25de.system.js} +1 -1
  183. package/dist/zonos-elements/{p-02a01106.system.entry.js → p-a90393e0.system.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-c8e83577.system.entry.js → p-acfb9be6.system.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-ba066673.entry.js → p-b88e52b5.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-bfc30599.entry.js → p-bb5a9eaa.entry.js} +1 -1
  187. package/dist/zonos-elements/{p-d7e6cad0.system.entry.js → p-c0fcc0fa.system.entry.js} +1 -1
  188. package/dist/zonos-elements/{p-7fa5a6ea.entry.js → p-c4e38b85.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-a164ea90.system.entry.js → p-cab01f64.system.entry.js} +1 -1
  190. package/dist/zonos-elements/p-d1771035.system.js +1 -0
  191. package/dist/zonos-elements/{p-1b76a929.system.entry.js → p-d3e61deb.system.entry.js} +1 -1
  192. package/dist/zonos-elements/{p-9c8705ac.entry.js → p-d4724ac8.entry.js} +1 -1
  193. package/dist/zonos-elements/p-e0bf9666.system.js +1 -1
  194. package/dist/zonos-elements/{p-8853e051.system.js → p-e37440ad.system.js} +1 -1
  195. package/dist/zonos-elements/{p-233c2599.system.entry.js → p-e80a5ed7.system.entry.js} +1 -1
  196. package/dist/zonos-elements/{p-b7e4a6b0.entry.js → p-e975b187.entry.js} +1 -1
  197. package/dist/zonos-elements/{p-9912a954.js → p-eabe2abc.js} +1 -1
  198. package/dist/zonos-elements/{p-f1223c14.system.entry.js → p-eea8111c.system.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-f8b58cf8.system.entry.js → p-f7e2d33b.system.entry.js} +1 -1
  200. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  201. package/package.json +1 -1
  202. package/dist/esm-es5/cart-564ab33a.js +0 -1
  203. package/dist/zonos-elements/p-63b0aef9.system.entry.js +0 -1
  204. package/dist/zonos-elements/p-6ed78fba.entry.js +0 -1
  205. package/dist/zonos-elements/p-6f154d66.system.js +0 -1
  206. package/dist/zonos-elements/p-9a0c5589.system.entry.js +0 -1
  207. package/dist/zonos-elements/p-b44de1c3.entry.js +0 -1
  208. package/dist/zonos-elements/p-c2688c49.system.js +0 -1
  209. package/dist/zonos-elements/p-d170253b.entry.js +0 -1
  210. package/dist/zonos-elements/p-fc4f1e0c.js +0 -1
@@ -1,7 +1,7 @@
1
- import { c as createStore, z as zonosStore } from './zonosStore-8b9ea19c.js';
1
+ import { c as createStore, z as zonosStore } from './zonosStore-ba9e541e.js';
2
2
  import { a as logError, l as log } from './logError-c456c092.js';
3
- import { i as isDarkColor } from './isDarkColor-5185b62c.js';
4
- import { g as getBorderRadius } from './getBorderRadius-5e5a5800.js';
3
+ import { i as isDarkColor } from './isDarkColor-f8324c10.js';
4
+ import { g as getBorderRadius } from './getBorderRadius-947c24de.js';
5
5
 
6
6
  const stringsArabic = {
7
7
  'Above de minimis threshold for': {
@@ -46,6 +46,9 @@ const stringsArabic = {
46
46
  'Continue to shipping': {
47
47
  value: 'متابعة إلى الشحن',
48
48
  },
49
+ "Couldn't place order": {
50
+ value: 'تعذر تقديم الطلب',
51
+ },
49
52
  Country: {
50
53
  value: 'بلد',
51
54
  },
@@ -175,6 +178,9 @@ const stringsArabic = {
175
178
  'Restricted items found': {
176
179
  value: 'تم العثور على عناصر مقيدة',
177
180
  },
181
+ 'Return to cart': {
182
+ value: 'العودة إلى العربة',
183
+ },
178
184
  'Search countries': {
179
185
  value: 'ابحث عن الدول',
180
186
  },
@@ -232,6 +238,9 @@ const stringsArabic = {
232
238
  'Translated address': {
233
239
  value: 'العنوان المترجم',
234
240
  },
241
+ 'Unable to check inventory. Please try again.': {
242
+ value: 'تعذر التحقق من المخزون. حاول مرة أخرى.',
243
+ },
235
244
  'Update address': {
236
245
  value: 'تحديث العنوان',
237
246
  },
@@ -331,6 +340,9 @@ const stringsBase = {
331
340
  'Continue to shipping': {
332
341
  value: 'Continue to shipping',
333
342
  },
343
+ "Couldn't place order": {
344
+ value: "Couldn't place order",
345
+ },
334
346
  Country: {
335
347
  value: 'Country',
336
348
  },
@@ -460,6 +472,9 @@ const stringsBase = {
460
472
  'Restricted items found': {
461
473
  value: 'Restricted items found',
462
474
  },
475
+ 'Return to cart': {
476
+ value: 'Return to cart',
477
+ },
463
478
  'Search countries': {
464
479
  value: 'Search countries',
465
480
  },
@@ -517,6 +532,9 @@ const stringsBase = {
517
532
  'Translated address': {
518
533
  value: 'Translated address',
519
534
  },
535
+ 'Unable to check inventory. Please try again.': {
536
+ value: 'Unable to check inventory. Please try again.',
537
+ },
520
538
  'Update address': {
521
539
  value: 'Update address',
522
540
  },
@@ -616,6 +634,9 @@ const stringsChinese = {
616
634
  'Continue to shipping': {
617
635
  value: '继续运送',
618
636
  },
637
+ "Couldn't place order": {
638
+ value: '无法下单',
639
+ },
619
640
  Country: {
620
641
  value: '国家',
621
642
  },
@@ -745,6 +766,9 @@ const stringsChinese = {
745
766
  'Restricted items found': {
746
767
  value: '发现受限制的商品',
747
768
  },
769
+ 'Return to cart': {
770
+ value: '返回购物车',
771
+ },
748
772
  'Search countries': {
749
773
  value: '搜索国家',
750
774
  },
@@ -802,6 +826,9 @@ const stringsChinese = {
802
826
  'Translated address': {
803
827
  value: '翻译地址',
804
828
  },
829
+ 'Unable to check inventory. Please try again.': {
830
+ value: '无法检查库存。请再试一次。',
831
+ },
805
832
  'Update address': {
806
833
  value: '更新地址',
807
834
  },
@@ -901,6 +928,9 @@ const stringsDanish = {
901
928
  'Continue to shipping': {
902
929
  value: 'Fortsæt til levering',
903
930
  },
931
+ "Couldn't place order": {
932
+ value: 'Kunne ikke placere ordre',
933
+ },
904
934
  Country: {
905
935
  value: 'Land',
906
936
  },
@@ -1030,6 +1060,9 @@ const stringsDanish = {
1030
1060
  'Restricted items found': {
1031
1061
  value: 'Begrænsede varer fundet',
1032
1062
  },
1063
+ 'Return to cart': {
1064
+ value: 'Tilbage til kurven',
1065
+ },
1033
1066
  'Search countries': {
1034
1067
  value: 'Søg lande',
1035
1068
  },
@@ -1087,6 +1120,9 @@ const stringsDanish = {
1087
1120
  'Translated address': {
1088
1121
  value: 'Oversat adresse',
1089
1122
  },
1123
+ 'Unable to check inventory. Please try again.': {
1124
+ value: 'Kunne ikke tjekke lagerbeholdningen. Prøv venligst igen.',
1125
+ },
1090
1126
  'Update address': {
1091
1127
  value: 'Opdater adresse',
1092
1128
  },
@@ -1186,6 +1222,9 @@ const stringsDutch = {
1186
1222
  'Continue to shipping': {
1187
1223
  value: 'Ga verder naar verzending',
1188
1224
  },
1225
+ "Couldn't place order": {
1226
+ value: 'Kon bestelling niet plaatsen',
1227
+ },
1189
1228
  Country: {
1190
1229
  value: 'Land',
1191
1230
  },
@@ -1315,6 +1354,9 @@ const stringsDutch = {
1315
1354
  'Restricted items found': {
1316
1355
  value: 'Beperkte items gevonden',
1317
1356
  },
1357
+ 'Return to cart': {
1358
+ value: 'Terug naar winkelwagen',
1359
+ },
1318
1360
  'Search countries': {
1319
1361
  value: 'Zoek landen',
1320
1362
  },
@@ -1372,6 +1414,9 @@ const stringsDutch = {
1372
1414
  'Translated address': {
1373
1415
  value: 'Vertaald adres',
1374
1416
  },
1417
+ 'Unable to check inventory. Please try again.': {
1418
+ value: 'Kon de voorraad niet controleren. Probeer het opnieuw.',
1419
+ },
1375
1420
  'Update address': {
1376
1421
  value: 'Adres bijwerken',
1377
1422
  },
@@ -1471,6 +1516,9 @@ const stringsFrench = {
1471
1516
  'Continue to shipping': {
1472
1517
  value: 'Continuer vers la livraison',
1473
1518
  },
1519
+ "Couldn't place order": {
1520
+ value: 'Impossible de passer la commande',
1521
+ },
1474
1522
  Country: {
1475
1523
  value: 'Pays',
1476
1524
  },
@@ -1600,6 +1648,9 @@ const stringsFrench = {
1600
1648
  'Restricted items found': {
1601
1649
  value: 'Articles restreints trouvés',
1602
1650
  },
1651
+ 'Return to cart': {
1652
+ value: 'Retour au panier',
1653
+ },
1603
1654
  'Search countries': {
1604
1655
  value: 'Rechercher des pays',
1605
1656
  },
@@ -1657,6 +1708,9 @@ const stringsFrench = {
1657
1708
  'Translated address': {
1658
1709
  value: 'Adresse traduite',
1659
1710
  },
1711
+ 'Unable to check inventory. Please try again.': {
1712
+ value: "Impossible de vérifier l'inventaire. Veuillez réessayer.",
1713
+ },
1660
1714
  'Update address': {
1661
1715
  value: "Mettre à jour l'adresse",
1662
1716
  },
@@ -1756,6 +1810,9 @@ const stringsGerman = {
1756
1810
  'Continue to shipping': {
1757
1811
  value: 'Weiter zur Lieferung',
1758
1812
  },
1813
+ "Couldn't place order": {
1814
+ value: 'Bestellung konnte nicht aufgegeben werden',
1815
+ },
1759
1816
  Country: {
1760
1817
  value: 'Land',
1761
1818
  },
@@ -1885,6 +1942,9 @@ const stringsGerman = {
1885
1942
  'Restricted items found': {
1886
1943
  value: 'Eingeschränkte Artikel gefunden',
1887
1944
  },
1945
+ 'Return to cart': {
1946
+ value: 'Zurück zum Warenkorb',
1947
+ },
1888
1948
  'Search countries': {
1889
1949
  value: 'Länder durchsuchen',
1890
1950
  },
@@ -1942,6 +2002,9 @@ const stringsGerman = {
1942
2002
  'Translated address': {
1943
2003
  value: 'Übersetzte Adresse',
1944
2004
  },
2005
+ 'Unable to check inventory. Please try again.': {
2006
+ value: 'Inventar konnte nicht überprüft werden. Bitte versuchen Sie es erneut.',
2007
+ },
1945
2008
  'Update address': {
1946
2009
  value: 'Adresse aktualisieren',
1947
2010
  },
@@ -2041,6 +2104,9 @@ const stringsHebrew = {
2041
2104
  'Continue to shipping': {
2042
2105
  value: 'המשך למשלוח',
2043
2106
  },
2107
+ "Couldn't place order": {
2108
+ value: 'לא ניתן היה לבצע הזמנה',
2109
+ },
2044
2110
  Country: {
2045
2111
  value: 'מדינה',
2046
2112
  },
@@ -2170,6 +2236,9 @@ const stringsHebrew = {
2170
2236
  'Restricted items found': {
2171
2237
  value: 'נמצאו פריטים מוגבלים',
2172
2238
  },
2239
+ 'Return to cart': {
2240
+ value: 'חזרה לעגלה',
2241
+ },
2173
2242
  'Search countries': {
2174
2243
  value: 'חיפוש מדינות',
2175
2244
  },
@@ -2227,6 +2296,9 @@ const stringsHebrew = {
2227
2296
  'Translated address': {
2228
2297
  value: 'כתובת מתורגמת',
2229
2298
  },
2299
+ 'Unable to check inventory. Please try again.': {
2300
+ value: 'לא ניתן היה לבדוק את המלאי. אנא נסה שוב.',
2301
+ },
2230
2302
  'Update address': {
2231
2303
  value: 'עדכון כתובת',
2232
2304
  },
@@ -2326,6 +2398,9 @@ const stringsIndonesian = {
2326
2398
  'Continue to shipping': {
2327
2399
  value: 'Lanjutkan ke pengiriman',
2328
2400
  },
2401
+ "Couldn't place order": {
2402
+ value: 'Tidak bisa memesan',
2403
+ },
2329
2404
  Country: {
2330
2405
  value: 'Negara',
2331
2406
  },
@@ -2455,6 +2530,9 @@ const stringsIndonesian = {
2455
2530
  'Restricted items found': {
2456
2531
  value: 'Item terbatas ditemukan',
2457
2532
  },
2533
+ 'Return to cart': {
2534
+ value: 'Kembali ke keranjang',
2535
+ },
2458
2536
  'Search countries': {
2459
2537
  value: 'Cari negara',
2460
2538
  },
@@ -2512,6 +2590,9 @@ const stringsIndonesian = {
2512
2590
  'Translated address': {
2513
2591
  value: 'Alamat yang diterjemahkan',
2514
2592
  },
2593
+ 'Unable to check inventory. Please try again.': {
2594
+ value: 'Tidak dapat memeriksa inventaris. Silakan coba lagi.',
2595
+ },
2515
2596
  'Update address': {
2516
2597
  value: 'Perbarui alamat',
2517
2598
  },
@@ -2611,6 +2692,9 @@ const stringsItalian = {
2611
2692
  'Continue to shipping': {
2612
2693
  value: 'Continua con la spedizione',
2613
2694
  },
2695
+ "Couldn't place order": {
2696
+ value: "Impossibile effettuare l'ordine",
2697
+ },
2614
2698
  Country: {
2615
2699
  value: 'Paese',
2616
2700
  },
@@ -2740,6 +2824,9 @@ const stringsItalian = {
2740
2824
  'Restricted items found': {
2741
2825
  value: 'Articoli limitati trovati',
2742
2826
  },
2827
+ 'Return to cart': {
2828
+ value: 'Ritorna al carrello',
2829
+ },
2743
2830
  'Search countries': {
2744
2831
  value: 'Cerca paesi',
2745
2832
  },
@@ -2797,6 +2884,9 @@ const stringsItalian = {
2797
2884
  'Translated address': {
2798
2885
  value: 'Indirizzo tradotto',
2799
2886
  },
2887
+ 'Unable to check inventory. Please try again.': {
2888
+ value: "Impossibile verificare l'inventario. Si prega di riprovare.",
2889
+ },
2800
2890
  'Update address': {
2801
2891
  value: 'Aggiorna indirizzo',
2802
2892
  },
@@ -2896,6 +2986,9 @@ const stringsJapanese = {
2896
2986
  'Continue to shipping': {
2897
2987
  value: '配送オプションに進む',
2898
2988
  },
2989
+ "Couldn't place order": {
2990
+ value: '注文を確定できませんでした',
2991
+ },
2899
2992
  Country: {
2900
2993
  value: '国',
2901
2994
  },
@@ -3025,6 +3118,9 @@ const stringsJapanese = {
3025
3118
  'Restricted items found': {
3026
3119
  value: '制限付き商品が見つかりました',
3027
3120
  },
3121
+ 'Return to cart': {
3122
+ value: 'カートに戻る',
3123
+ },
3028
3124
  'Search countries': {
3029
3125
  value: '国を検索',
3030
3126
  },
@@ -3082,6 +3178,9 @@ const stringsJapanese = {
3082
3178
  'Translated address': {
3083
3179
  value: '翻訳されたアドレス',
3084
3180
  },
3181
+ 'Unable to check inventory. Please try again.': {
3182
+ value: '在庫を確認できません。再試行してください。',
3183
+ },
3085
3184
  'Update address': {
3086
3185
  value: '住所を更新',
3087
3186
  },
@@ -3181,6 +3280,9 @@ const stringsKorean = {
3181
3280
  'Continue to shipping': {
3182
3281
  value: '배송 계속',
3183
3282
  },
3283
+ "Couldn't place order": {
3284
+ value: '주문을 할 수 없습니다',
3285
+ },
3184
3286
  Country: {
3185
3287
  value: '국가',
3186
3288
  },
@@ -3310,6 +3412,9 @@ const stringsKorean = {
3310
3412
  'Restricted items found': {
3311
3413
  value: '제한 물품 발견',
3312
3414
  },
3415
+ 'Return to cart': {
3416
+ value: '장바구니로 돌아가기',
3417
+ },
3313
3418
  'Search countries': {
3314
3419
  value: '국가 검색',
3315
3420
  },
@@ -3367,6 +3472,9 @@ const stringsKorean = {
3367
3472
  'Translated address': {
3368
3473
  value: '번역된 주소',
3369
3474
  },
3475
+ 'Unable to check inventory. Please try again.': {
3476
+ value: '재고를 확인할 수 없습니다. 다시 시도해 주세요.',
3477
+ },
3370
3478
  'Update address': {
3371
3479
  value: '주소 업데이트',
3372
3480
  },
@@ -3466,6 +3574,9 @@ const stringsNorwegian = {
3466
3574
  'Continue to shipping': {
3467
3575
  value: 'Fortsett til frakt',
3468
3576
  },
3577
+ "Couldn't place order": {
3578
+ value: 'Kunne ikke legge inn bestilling',
3579
+ },
3469
3580
  Country: {
3470
3581
  value: 'Land',
3471
3582
  },
@@ -3595,6 +3706,9 @@ const stringsNorwegian = {
3595
3706
  'Restricted items found': {
3596
3707
  value: 'Begrensede varer funnet',
3597
3708
  },
3709
+ 'Return to cart': {
3710
+ value: 'Tilbake til handlekurven',
3711
+ },
3598
3712
  'Search countries': {
3599
3713
  value: 'Søk land',
3600
3714
  },
@@ -3652,6 +3766,9 @@ const stringsNorwegian = {
3652
3766
  'Translated address': {
3653
3767
  value: 'Oversatt adresse',
3654
3768
  },
3769
+ 'Unable to check inventory. Please try again.': {
3770
+ value: 'Kunne ikke sjekke lagerbeholdningen. Vennligst prøv igjen.',
3771
+ },
3655
3772
  'Update address': {
3656
3773
  value: 'Oppdater adresse',
3657
3774
  },
@@ -3751,6 +3868,9 @@ const stringsPolish = {
3751
3868
  'Continue to shipping': {
3752
3869
  value: 'Przejdź dalej do wysyłki',
3753
3870
  },
3871
+ "Couldn't place order": {
3872
+ value: 'Nie udało się złożyć zamówienia',
3873
+ },
3754
3874
  Country: {
3755
3875
  value: 'Kraj',
3756
3876
  },
@@ -3880,6 +4000,9 @@ const stringsPolish = {
3880
4000
  'Restricted items found': {
3881
4001
  value: 'Znaleziono ograniczone przedmioty',
3882
4002
  },
4003
+ 'Return to cart': {
4004
+ value: 'Powrót do koszyka',
4005
+ },
3883
4006
  'Search countries': {
3884
4007
  value: 'Szukaj krajów',
3885
4008
  },
@@ -3937,6 +4060,9 @@ const stringsPolish = {
3937
4060
  'Translated address': {
3938
4061
  value: 'Przetłumaczony adres',
3939
4062
  },
4063
+ 'Unable to check inventory. Please try again.': {
4064
+ value: 'Nie można sprawdzić stanu magazynu. Spróbuj ponownie.',
4065
+ },
3940
4066
  'Update address': {
3941
4067
  value: 'Zaktualizuj adres',
3942
4068
  },
@@ -4036,6 +4162,9 @@ const stringsPortuguese = {
4036
4162
  'Continue to shipping': {
4037
4163
  value: 'Continuar para o envio',
4038
4164
  },
4165
+ "Couldn't place order": {
4166
+ value: 'Não foi possível fazer o pedido',
4167
+ },
4039
4168
  Country: {
4040
4169
  value: 'País',
4041
4170
  },
@@ -4165,6 +4294,9 @@ const stringsPortuguese = {
4165
4294
  'Restricted items found': {
4166
4295
  value: 'Itens restritos encontrados',
4167
4296
  },
4297
+ 'Return to cart': {
4298
+ value: 'Retornar ao carrinho',
4299
+ },
4168
4300
  'Search countries': {
4169
4301
  value: 'Buscar países',
4170
4302
  },
@@ -4222,6 +4354,9 @@ const stringsPortuguese = {
4222
4354
  'Translated address': {
4223
4355
  value: 'Endereço traduzido',
4224
4356
  },
4357
+ 'Unable to check inventory. Please try again.': {
4358
+ value: 'Não foi possível verificar o inventário. Por favor, tente novamente.',
4359
+ },
4225
4360
  'Update address': {
4226
4361
  value: 'Atualizar endereço',
4227
4362
  },
@@ -4321,6 +4456,9 @@ const stringsRussian = {
4321
4456
  'Continue to shipping': {
4322
4457
  value: 'Продолжить к доставке',
4323
4458
  },
4459
+ "Couldn't place order": {
4460
+ value: 'Не удалось оформить заказ',
4461
+ },
4324
4462
  Country: {
4325
4463
  value: 'Страна',
4326
4464
  },
@@ -4450,6 +4588,9 @@ const stringsRussian = {
4450
4588
  'Restricted items found': {
4451
4589
  value: 'Найдены ограниченные товары',
4452
4590
  },
4591
+ 'Return to cart': {
4592
+ value: 'Вернуться в корзину',
4593
+ },
4453
4594
  'Search countries': {
4454
4595
  value: 'Поиск стран',
4455
4596
  },
@@ -4507,6 +4648,9 @@ const stringsRussian = {
4507
4648
  'Translated address': {
4508
4649
  value: 'Переведенный адрес',
4509
4650
  },
4651
+ 'Unable to check inventory. Please try again.': {
4652
+ value: 'Не удалось проверить наличие на складе. Пожалуйста, попробуйте снова.',
4653
+ },
4510
4654
  'Update address': {
4511
4655
  value: 'Обновить адрес',
4512
4656
  },
@@ -4606,6 +4750,9 @@ const stringsSpanish = {
4606
4750
  'Continue to shipping': {
4607
4751
  value: 'Continuar con el envío',
4608
4752
  },
4753
+ "Couldn't place order": {
4754
+ value: 'No se pudo realizar el pedido',
4755
+ },
4609
4756
  Country: {
4610
4757
  value: 'País',
4611
4758
  },
@@ -4735,6 +4882,9 @@ const stringsSpanish = {
4735
4882
  'Restricted items found': {
4736
4883
  value: 'Se encontraron artículos restringidos',
4737
4884
  },
4885
+ 'Return to cart': {
4886
+ value: 'Volver al carrito',
4887
+ },
4738
4888
  'Search countries': {
4739
4889
  value: 'Buscar países',
4740
4890
  },
@@ -4792,6 +4942,9 @@ const stringsSpanish = {
4792
4942
  'Translated address': {
4793
4943
  value: 'Dirección traducida',
4794
4944
  },
4945
+ 'Unable to check inventory. Please try again.': {
4946
+ value: 'No se pudo verificar el inventario. Por favor, inténtelo de nuevo.',
4947
+ },
4795
4948
  'Update address': {
4796
4949
  value: 'Actualizar dirección',
4797
4950
  },
@@ -4891,6 +5044,9 @@ const stringsSwedish = {
4891
5044
  'Continue to shipping': {
4892
5045
  value: 'Fortsätt till frakt',
4893
5046
  },
5047
+ "Couldn't place order": {
5048
+ value: 'Kunde inte lägga beställningen',
5049
+ },
4894
5050
  Country: {
4895
5051
  value: 'Land',
4896
5052
  },
@@ -5020,6 +5176,9 @@ const stringsSwedish = {
5020
5176
  'Restricted items found': {
5021
5177
  value: 'Begränsade artiklar hittades',
5022
5178
  },
5179
+ 'Return to cart': {
5180
+ value: 'Återgå till kundvagnen',
5181
+ },
5023
5182
  'Search countries': {
5024
5183
  value: 'Sök länder',
5025
5184
  },
@@ -5077,6 +5236,9 @@ const stringsSwedish = {
5077
5236
  'Translated address': {
5078
5237
  value: 'Översatt adress',
5079
5238
  },
5239
+ 'Unable to check inventory. Please try again.': {
5240
+ value: 'Det gick inte att kontrollera lagret. Försök igen.',
5241
+ },
5080
5242
  'Update address': {
5081
5243
  value: 'Uppdatera adress',
5082
5244
  },
@@ -5176,6 +5338,9 @@ const stringsTurkish = {
5176
5338
  'Continue to shipping': {
5177
5339
  value: 'Kargoya devam et',
5178
5340
  },
5341
+ "Couldn't place order": {
5342
+ value: 'Sipariş verilemedi',
5343
+ },
5179
5344
  Country: {
5180
5345
  value: 'Ülke',
5181
5346
  },
@@ -5305,6 +5470,9 @@ const stringsTurkish = {
5305
5470
  'Restricted items found': {
5306
5471
  value: 'Kısıtlı ürün bulundu',
5307
5472
  },
5473
+ 'Return to cart': {
5474
+ value: 'Sepete dön',
5475
+ },
5308
5476
  'Search countries': {
5309
5477
  value: 'Ülkeleri ara',
5310
5478
  },
@@ -5362,6 +5530,9 @@ const stringsTurkish = {
5362
5530
  'Translated address': {
5363
5531
  value: 'Çevrilmiş adres',
5364
5532
  },
5533
+ 'Unable to check inventory. Please try again.': {
5534
+ value: 'Envanter kontrol edilemedi. Lütfen tekrar deneyin.',
5535
+ },
5365
5536
  'Update address': {
5366
5537
  value: 'Adresi güncelle',
5367
5538
  },
@@ -5461,6 +5632,9 @@ const stringsVietnamese = {
5461
5632
  'Continue to shipping': {
5462
5633
  value: 'Tiếp tục đến vận chuyển',
5463
5634
  },
5635
+ "Couldn't place order": {
5636
+ value: 'Không thể đặt hàng',
5637
+ },
5464
5638
  Country: {
5465
5639
  value: 'Quốc gia',
5466
5640
  },
@@ -5590,6 +5764,9 @@ const stringsVietnamese = {
5590
5764
  'Restricted items found': {
5591
5765
  value: 'Tìm thấy hàng hóa bị hạn chế',
5592
5766
  },
5767
+ 'Return to cart': {
5768
+ value: 'Quay lại giỏ hàng',
5769
+ },
5593
5770
  'Search countries': {
5594
5771
  value: 'Tìm kiếm quốc gia',
5595
5772
  },
@@ -5647,6 +5824,9 @@ const stringsVietnamese = {
5647
5824
  'Translated address': {
5648
5825
  value: 'Địa chỉ đã dịch',
5649
5826
  },
5827
+ 'Unable to check inventory. Please try again.': {
5828
+ value: 'Không thể kiểm tra hàng tồn kho. Vui lòng thử lại.',
5829
+ },
5650
5830
  'Update address': {
5651
5831
  value: 'Cập nhật địa chỉ',
5652
5832
  },
@@ -6325,6 +6505,7 @@ const addInternationalHideClass = () => {
6325
6505
  const localizationStoreUpdateSelectedCountryCode = (newSelectedCountryCode) => {
6326
6506
  var _a, _b;
6327
6507
  log('update selected country code');
6508
+ const isFirstTime = !localizationStore.selectedCountryCode;
6328
6509
  localizationStore.selectedCountryCode = newSelectedCountryCode;
6329
6510
  const { selectedCountryCode, shippingZoneCountries } = localizationStore;
6330
6511
  const isShippableCountry = shippingZoneCountries &&
@@ -6350,11 +6531,14 @@ const localizationStoreUpdateSelectedCountryCode = (newSelectedCountryCode) => {
6350
6531
  setZCountryUrlParam(selectedCountryCode);
6351
6532
  (_a = document
6352
6533
  .querySelector('zonos-hello')) === null || _a === void 0 ? void 0 : _a.setAttribute('z-country', selectedCountryCode);
6353
- // Trigger callback onCountryChange
6354
- (_b = zonosStore.onCountryChange) === null || _b === void 0 ? void 0 : _b.call(zonosStore, {
6355
- countryCode: selectedCountryCode,
6356
- currencyCode,
6357
- });
6534
+ // Only trigger callback onCountryChange if the country code has been set before
6535
+ if (!isFirstTime) {
6536
+ // Trigger callback onCountryChange
6537
+ (_b = zonosStore.onCountryChange) === null || _b === void 0 ? void 0 : _b.call(zonosStore, {
6538
+ countryCode: selectedCountryCode,
6539
+ currencyCode,
6540
+ });
6541
+ }
6358
6542
  };
6359
6543
  const initLocalizationStore = async () => {
6360
6544
  // all countries from countries.json, shipping zone and localization
@@ -1,4 +1,4 @@
1
- import { z as zonosStore } from './zonosStore-8b9ea19c.js';
1
+ import { z as zonosStore } from './zonosStore-ba9e541e.js';
2
2
 
3
3
  /**
4
4
  * Get the border radius for the elements based on the style
package/dist/esm/index.js CHANGED
@@ -232,8 +232,8 @@ const zonosLoadUrl = (() => {
232
232
  }
233
233
  return null;
234
234
  })();
235
- const ZONOS_URL = zonosLoadUrl || "https://v1.3.25-alpha.0.js.zonos.com";
236
- const JS_DELIVR_ZONOS_URL = "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.25-alpha.0";
235
+ const ZONOS_URL = zonosLoadUrl || "https://v1.3.26.js.zonos.com";
236
+ const JS_DELIVR_ZONOS_URL = "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.26";
237
237
  const INTER_FONT_URL = 'https://rsms.me';
238
238
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
239
239
  const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
@@ -252,7 +252,7 @@ Zonos.isBigCommerce = false;
252
252
  */
253
253
  Zonos.isNpm = true;
254
254
  Zonos.zonosQaUrl = null;
255
- Zonos.version = `v${"1.3.25-alpha.0"}`;
255
+ Zonos.version = `v${"1.3.26"}`;
256
256
  Zonos.modeAlerted = false;
257
257
  Zonos.tempCartData = null;
258
258
  Zonos.getCurrentTimestamp = () => new Date().getTime();
@@ -1,4 +1,4 @@
1
- import { a as commonjsGlobal } from './zonosStore-8b9ea19c.js';
1
+ import { a as commonjsGlobal } from './zonosStore-ba9e541e.js';
2
2
 
3
3
  var tinycolor$1 = {exports: {}};
4
4