@zonos/elements 1.3.73 → 1.3.74

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 (132) hide show
  1. package/dist/cjs/{cart-0b51350e.js → cart-6dd9e3cd.js} +122 -6
  2. package/dist/cjs/{createCustomEvent-9d5c5318.js → createCustomEvent-4efb5ab7.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/{paypal-c9ee9b49.js → paypal-f0d2a8cf.js} +1 -1
  5. package/dist/cjs/zonos-address_8.cjs.entry.js +1 -1
  6. package/dist/cjs/zonos-badge_13.cjs.entry.js +30 -20
  7. package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
  8. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
  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_3.cjs.entry.js +2 -2
  15. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +1 -1
  16. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +27 -17
  17. package/dist/collection/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.js +2 -2
  18. package/dist/collection/components/store/checkout/cart.js +2 -6
  19. package/dist/collection/components/store/translationStore/strings.arabic.js +6 -0
  20. package/dist/collection/components/store/translationStore/strings.base.js +6 -0
  21. package/dist/collection/components/store/translationStore/strings.chinese.js +6 -0
  22. package/dist/collection/components/store/translationStore/strings.danish.js +6 -0
  23. package/dist/collection/components/store/translationStore/strings.dutch.js +6 -0
  24. package/dist/collection/components/store/translationStore/strings.french.js +6 -0
  25. package/dist/collection/components/store/translationStore/strings.german.js +6 -0
  26. package/dist/collection/components/store/translationStore/strings.hebrew.js +6 -0
  27. package/dist/collection/components/store/translationStore/strings.indonesian.js +6 -0
  28. package/dist/collection/components/store/translationStore/strings.italian.js +6 -0
  29. package/dist/collection/components/store/translationStore/strings.japanese.js +6 -0
  30. package/dist/collection/components/store/translationStore/strings.korean.js +6 -0
  31. package/dist/collection/components/store/translationStore/strings.norwegian.js +6 -0
  32. package/dist/collection/components/store/translationStore/strings.polish.js +6 -0
  33. package/dist/collection/components/store/translationStore/strings.portuguese.js +6 -0
  34. package/dist/collection/components/store/translationStore/strings.russian.js +6 -0
  35. package/dist/collection/components/store/translationStore/strings.spanish.js +6 -0
  36. package/dist/collection/components/store/translationStore/strings.swedish.js +6 -0
  37. package/dist/collection/components/store/translationStore/strings.turkish.js +6 -0
  38. package/dist/collection/components/store/translationStore/strings.vietnamese.js +6 -0
  39. package/dist/esm/{cart-df09faed.js → cart-66d17f99.js} +122 -6
  40. package/dist/esm/{createCustomEvent-c5bce51a.js → createCustomEvent-4ac32a26.js} +1 -1
  41. package/dist/esm/index.js +7 -7
  42. package/dist/esm/{paypal-0ffe4ddb.js → paypal-3e2c7b41.js} +1 -1
  43. package/dist/esm/zonos-address_8.entry.js +1 -1
  44. package/dist/esm/zonos-badge_13.entry.js +30 -20
  45. package/dist/esm/zonos-checkout.entry.js +3 -3
  46. package/dist/esm/zonos-controller.entry.js +1 -1
  47. package/dist/esm/zonos-country-flag.entry.js +1 -1
  48. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  49. package/dist/esm/zonos-hello-dialog.entry.js +1 -1
  50. package/dist/esm/zonos-hello.entry.js +1 -1
  51. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  52. package/dist/esm/zonos-notification_3.entry.js +2 -2
  53. package/dist/esm/zonos-shipping-rich-radio.entry.js +1 -1
  54. package/dist/esm-es5/cart-66d17f99.js +1 -0
  55. package/dist/esm-es5/{createCustomEvent-c5bce51a.js → createCustomEvent-4ac32a26.js} +1 -1
  56. package/dist/esm-es5/index.js +1 -1
  57. package/dist/esm-es5/{paypal-0ffe4ddb.js → paypal-3e2c7b41.js} +1 -1
  58. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  59. package/dist/esm-es5/zonos-badge_13.entry.js +1 -1
  60. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  61. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  62. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  63. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  64. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  65. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  66. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  67. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  68. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  69. package/dist/scripts/index.d.ts +2 -0
  70. package/dist/scripts/index.js +1 -1
  71. package/dist/scripts/loadZonos.js +1 -1
  72. package/dist/scripts/zonos.js +1 -1
  73. package/dist/types/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.d.ts +1 -0
  74. package/dist/types/components/common/zonos-shipping-rich-radio/zonos-shipping-rich-radio.d.ts +2 -0
  75. package/dist/types/components/store/checkout/cart.d.ts +1 -1
  76. package/dist/types/components/store/translationStore/strings.arabic.d.ts +6 -0
  77. package/dist/types/components/store/translationStore/strings.base.d.ts +6 -0
  78. package/dist/types/components/store/translationStore/strings.chinese.d.ts +6 -0
  79. package/dist/types/components/store/translationStore/strings.danish.d.ts +6 -0
  80. package/dist/types/components/store/translationStore/strings.dutch.d.ts +6 -0
  81. package/dist/types/components/store/translationStore/strings.french.d.ts +6 -0
  82. package/dist/types/components/store/translationStore/strings.german.d.ts +6 -0
  83. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +6 -0
  84. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +6 -0
  85. package/dist/types/components/store/translationStore/strings.italian.d.ts +6 -0
  86. package/dist/types/components/store/translationStore/strings.japanese.d.ts +6 -0
  87. package/dist/types/components/store/translationStore/strings.korean.d.ts +6 -0
  88. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +6 -0
  89. package/dist/types/components/store/translationStore/strings.polish.d.ts +6 -0
  90. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +6 -0
  91. package/dist/types/components/store/translationStore/strings.russian.d.ts +6 -0
  92. package/dist/types/components/store/translationStore/strings.spanish.d.ts +6 -0
  93. package/dist/types/components/store/translationStore/strings.swedish.d.ts +6 -0
  94. package/dist/types/components/store/translationStore/strings.turkish.d.ts +6 -0
  95. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +6 -0
  96. package/dist/types/components/store/translationStore.d.ts +1 -1
  97. package/dist/zonos-elements/index.esm.js +1 -1
  98. package/dist/zonos-elements/{p-6170e16c.system.entry.js → p-01a8ec15.system.entry.js} +1 -1
  99. package/dist/zonos-elements/{p-6ab264ee.system.entry.js → p-0819aa2d.system.entry.js} +1 -1
  100. package/dist/zonos-elements/{p-7031a957.system.entry.js → p-0a411ee0.system.entry.js} +1 -1
  101. package/dist/zonos-elements/{p-3965ddbf.system.js → p-0d719ad2.system.js} +1 -1
  102. package/dist/zonos-elements/{p-35b061bb.entry.js → p-0e644753.entry.js} +1 -1
  103. package/dist/zonos-elements/{p-4f7e9d80.system.js → p-222a60e9.system.js} +1 -1
  104. package/dist/zonos-elements/{p-2575e4cf.system.js → p-3088517c.system.js} +2 -2
  105. package/dist/zonos-elements/{p-0e6ce0f0.js → p-325233e3.js} +2 -2
  106. package/dist/zonos-elements/{p-965340c9.entry.js → p-3ec5cfe1.entry.js} +1 -1
  107. package/dist/zonos-elements/{p-342f01c7.system.entry.js → p-432a5555.system.entry.js} +1 -1
  108. package/dist/zonos-elements/{p-8395a356.entry.js → p-438ac9d0.entry.js} +1 -1
  109. package/dist/zonos-elements/{p-e6f17317.system.entry.js → p-54286ec0.system.entry.js} +1 -1
  110. package/dist/zonos-elements/{p-71f256ec.entry.js → p-72345655.entry.js} +1 -1
  111. package/dist/zonos-elements/{p-75de727a.entry.js → p-882d2619.entry.js} +1 -1
  112. package/dist/zonos-elements/{p-0e721dfc.entry.js → p-913efe84.entry.js} +1 -1
  113. package/dist/zonos-elements/{p-ca9126f2.entry.js → p-999c1c0b.entry.js} +1 -1
  114. package/dist/zonos-elements/{p-7a4fc640.entry.js → p-a1c5c1a2.entry.js} +1 -1
  115. package/dist/zonos-elements/{p-ce019eaa.system.entry.js → p-a6223def.system.entry.js} +1 -1
  116. package/dist/zonos-elements/{p-4f396630.system.entry.js → p-ac3cd38e.system.entry.js} +1 -1
  117. package/dist/zonos-elements/{p-6f6ea50d.entry.js → p-b362e3c9.entry.js} +1 -1
  118. package/dist/zonos-elements/{p-47176890.js → p-b6e58c30.js} +1 -1
  119. package/dist/zonos-elements/{p-2285000b.system.entry.js → p-bad47d15.system.entry.js} +1 -1
  120. package/dist/zonos-elements/{p-d480f430.system.entry.js → p-bc803391.system.entry.js} +1 -1
  121. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  122. package/dist/zonos-elements/{p-6a78a674.system.entry.js → p-d0ae7ede.system.entry.js} +1 -1
  123. package/dist/zonos-elements/p-dbbf8d3e.system.js +1 -0
  124. package/dist/zonos-elements/{p-bc34f043.entry.js → p-ea124e18.entry.js} +1 -1
  125. package/dist/zonos-elements/{p-beb375a7.entry.js → p-ea340dbf.entry.js} +1 -1
  126. package/dist/zonos-elements/{p-76faa16f.system.entry.js → p-f4667002.system.entry.js} +1 -1
  127. package/dist/zonos-elements/p-ffaef730.js +1 -0
  128. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  129. package/package.json +1 -1
  130. package/dist/esm-es5/cart-df09faed.js +0 -1
  131. package/dist/zonos-elements/p-1b35d613.system.js +0 -1
  132. package/dist/zonos-elements/p-629731de.js +0 -1
@@ -203,7 +203,7 @@ const cartStoreReCalculateTotal = async ({ adjustmentAmount, cartId, currency, i
203
203
  cartStoreSetCheckoutSession(json.checkoutSessionUpdate);
204
204
  return true;
205
205
  };
206
- const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption) => {
206
+ const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption, landedCostId) => {
207
207
  var _a, _b, _c, _d, _e;
208
208
  cartStore.selectedShippingOption = selectedShippingOption;
209
209
  // update shipping transit info
@@ -212,11 +212,7 @@ const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption) =>
212
212
  const { maxTransit, minTransit, unit } = transitData;
213
213
  cartStore.selectedShippingOptionTransitTime = `${minTransit}-${maxTransit} ${unit}`;
214
214
  }
215
- const selectedLandedCost = (_a = cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.find(checkoutSessionPresentment => {
216
- var _a, _b, _c;
217
- return ((_b = (_a = checkoutSessionPresentment.landedCost) === null || _a === void 0 ? void 0 : _a.shipmentRating) === null || _b === void 0 ? void 0 : _b.id) ===
218
- ((_c = cartStore.selectedShippingOption) === null || _c === void 0 ? void 0 : _c.id);
219
- });
215
+ const selectedLandedCost = (_a = cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.find(x => x.landedCostId === landedCostId);
220
216
  // save selected landed cost for later use
221
217
  cartStore.selectedLandedCost = selectedLandedCost || null;
222
218
  if (!selectedLandedCost) {
@@ -1,4 +1,10 @@
1
1
  export const stringsArabic = {
2
+ ' (Duties due at door)': {
3
+ value: ' (الرسوم مستحقة عند الباب)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (الرسوم مدفوعة مسبقًا)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'أعلى من الحد الأدنى لـ',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsBase = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Duties due at door)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Duties prepaid)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Above de minimis threshold for',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsChinese = {
2
+ ' (Duties due at door)': {
3
+ value: ' (门口需缴纳关税)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (关税已预付)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: '超过最低征税门槛',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsDanish = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Afgifter forfalder ved døren)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Afgifter forudbetalt)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Over de minimis-grænsen for',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsDutch = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Invoerrechten verschuldigd aan de deur)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Rechten vooraf betaald)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Boven de minimale drempel voor',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsFrench = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Droits dus à la porte)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: " (Droits payés d'avance)",
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Au-dessus du seuil de minimis pour',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsGerman = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Zölle an der Tür fällig)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Zölle im Voraus bezahlt)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Über der Mindestgrenze für',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsHebrew = {
2
+ ' (Duties due at door)': {
3
+ value: ' (מיסים לתשלום בדלת)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (מיסים שולמו מראש)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'מעל סף המינימום עבור',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsIndonesian = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Bea masuk yang harus dibayar di pintu)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Bea sudah dibayar di muka)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Di atas ambang batas de minimis untuk',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsItalian = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Dazi dovuti alla porta)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Dazi pagati in anticipo)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Sopra la soglia di minimis per',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsJapanese = {
2
+ ' (Duties due at door)': {
3
+ value: ' (ドアでの関税支払い)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (関税前払い)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'デミニマスの閾値を超える',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsKorean = {
2
+ ' (Duties due at door)': {
3
+ value: ' (문 앞에서 납부할 세금)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (관세 선불)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: '최소 임계값을 초과하여',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsNorwegian = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Avgifter forfaller ved døren)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Avgifter forhåndsbetalt)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Over minstegrensen for',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsPolish = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Opłaty należne przy drzwiach)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Opłaty celne opłacone z góry)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Powyżej progu minimis dla',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsPortuguese = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Taxas devidas na porta)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Taxas pré-pagas)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Acima do limite de isenção para',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsRussian = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Пошлины подлежат оплате у двери)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Пошлины оплачены заранее)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Выше минимального порога для',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsSpanish = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Derechos debidos en la puerta)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Derechos pagados por adelantado)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Por encima del umbral mínimo para',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsSwedish = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Tullar förfaller vid dörren)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Tullar förbetalda)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Över minimibeloppet för',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsTurkish = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Kapıda ödenecek vergiler)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Gümrük vergileri önceden ödenmiş)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Minimum sınırın üzerinde',
4
10
  },
@@ -1,4 +1,10 @@
1
1
  export const stringsVietnamese = {
2
+ ' (Duties due at door)': {
3
+ value: ' (Thuế phải trả tại cửa)',
4
+ },
5
+ ' (Duties prepaid)': {
6
+ value: ' (Thuế đã trả trước)',
7
+ },
2
8
  'Above de minimis threshold for': {
3
9
  value: 'Vượt ngưỡng miễn thuế đối với',
4
10
  },
@@ -4,6 +4,12 @@ import { i as isDarkColor } from './isDarkColor-b3afa948.js';
4
4
  import { g as getBorderRadius } from './getBorderRadius-cff1e39b.js';
5
5
 
6
6
  const stringsArabic = {
7
+ ' (Duties due at door)': {
8
+ value: ' (الرسوم مستحقة عند الباب)',
9
+ },
10
+ ' (Duties prepaid)': {
11
+ value: ' (الرسوم مدفوعة مسبقًا)',
12
+ },
7
13
  'Above de minimis threshold for': {
8
14
  value: 'أعلى من الحد الأدنى لـ',
9
15
  },
@@ -364,6 +370,12 @@ const stringsArabic = {
364
370
  };
365
371
 
366
372
  const stringsBase = {
373
+ ' (Duties due at door)': {
374
+ value: ' (Duties due at door)',
375
+ },
376
+ ' (Duties prepaid)': {
377
+ value: ' (Duties prepaid)',
378
+ },
367
379
  'Above de minimis threshold for': {
368
380
  value: 'Above de minimis threshold for',
369
381
  },
@@ -724,6 +736,12 @@ const stringsBase = {
724
736
  };
725
737
 
726
738
  const stringsChinese = {
739
+ ' (Duties due at door)': {
740
+ value: ' (门口需缴纳关税)',
741
+ },
742
+ ' (Duties prepaid)': {
743
+ value: ' (关税已预付)',
744
+ },
727
745
  'Above de minimis threshold for': {
728
746
  value: '超过最低征税门槛',
729
747
  },
@@ -1084,6 +1102,12 @@ const stringsChinese = {
1084
1102
  };
1085
1103
 
1086
1104
  const stringsDanish = {
1105
+ ' (Duties due at door)': {
1106
+ value: ' (Afgifter forfalder ved døren)',
1107
+ },
1108
+ ' (Duties prepaid)': {
1109
+ value: ' (Afgifter forudbetalt)',
1110
+ },
1087
1111
  'Above de minimis threshold for': {
1088
1112
  value: 'Over de minimis-grænsen for',
1089
1113
  },
@@ -1444,6 +1468,12 @@ const stringsDanish = {
1444
1468
  };
1445
1469
 
1446
1470
  const stringsDutch = {
1471
+ ' (Duties due at door)': {
1472
+ value: ' (Invoerrechten verschuldigd aan de deur)',
1473
+ },
1474
+ ' (Duties prepaid)': {
1475
+ value: ' (Rechten vooraf betaald)',
1476
+ },
1447
1477
  'Above de minimis threshold for': {
1448
1478
  value: 'Boven de minimale drempel voor',
1449
1479
  },
@@ -1804,6 +1834,12 @@ const stringsDutch = {
1804
1834
  };
1805
1835
 
1806
1836
  const stringsFrench = {
1837
+ ' (Duties due at door)': {
1838
+ value: ' (Droits dus à la porte)',
1839
+ },
1840
+ ' (Duties prepaid)': {
1841
+ value: " (Droits payés d'avance)",
1842
+ },
1807
1843
  'Above de minimis threshold for': {
1808
1844
  value: 'Au-dessus du seuil de minimis pour',
1809
1845
  },
@@ -2164,6 +2200,12 @@ const stringsFrench = {
2164
2200
  };
2165
2201
 
2166
2202
  const stringsGerman = {
2203
+ ' (Duties due at door)': {
2204
+ value: ' (Zölle an der Tür fällig)',
2205
+ },
2206
+ ' (Duties prepaid)': {
2207
+ value: ' (Zölle im Voraus bezahlt)',
2208
+ },
2167
2209
  'Above de minimis threshold for': {
2168
2210
  value: 'Über der Mindestgrenze für',
2169
2211
  },
@@ -2524,6 +2566,12 @@ const stringsGerman = {
2524
2566
  };
2525
2567
 
2526
2568
  const stringsHebrew = {
2569
+ ' (Duties due at door)': {
2570
+ value: ' (מיסים לתשלום בדלת)',
2571
+ },
2572
+ ' (Duties prepaid)': {
2573
+ value: ' (מיסים שולמו מראש)',
2574
+ },
2527
2575
  'Above de minimis threshold for': {
2528
2576
  value: 'מעל סף המינימום עבור',
2529
2577
  },
@@ -2884,6 +2932,12 @@ const stringsHebrew = {
2884
2932
  };
2885
2933
 
2886
2934
  const stringsIndonesian = {
2935
+ ' (Duties due at door)': {
2936
+ value: ' (Bea masuk yang harus dibayar di pintu)',
2937
+ },
2938
+ ' (Duties prepaid)': {
2939
+ value: ' (Bea sudah dibayar di muka)',
2940
+ },
2887
2941
  'Above de minimis threshold for': {
2888
2942
  value: 'Di atas ambang batas de minimis untuk',
2889
2943
  },
@@ -3244,6 +3298,12 @@ const stringsIndonesian = {
3244
3298
  };
3245
3299
 
3246
3300
  const stringsItalian = {
3301
+ ' (Duties due at door)': {
3302
+ value: ' (Dazi dovuti alla porta)',
3303
+ },
3304
+ ' (Duties prepaid)': {
3305
+ value: ' (Dazi pagati in anticipo)',
3306
+ },
3247
3307
  'Above de minimis threshold for': {
3248
3308
  value: 'Sopra la soglia di minimis per',
3249
3309
  },
@@ -3604,6 +3664,12 @@ const stringsItalian = {
3604
3664
  };
3605
3665
 
3606
3666
  const stringsJapanese = {
3667
+ ' (Duties due at door)': {
3668
+ value: ' (ドアでの関税支払い)',
3669
+ },
3670
+ ' (Duties prepaid)': {
3671
+ value: ' (関税前払い)',
3672
+ },
3607
3673
  'Above de minimis threshold for': {
3608
3674
  value: 'デミニマスの閾値を超える',
3609
3675
  },
@@ -3964,6 +4030,12 @@ const stringsJapanese = {
3964
4030
  };
3965
4031
 
3966
4032
  const stringsKorean = {
4033
+ ' (Duties due at door)': {
4034
+ value: ' (문 앞에서 납부할 세금)',
4035
+ },
4036
+ ' (Duties prepaid)': {
4037
+ value: ' (관세 선불)',
4038
+ },
3967
4039
  'Above de minimis threshold for': {
3968
4040
  value: '최소 임계값을 초과하여',
3969
4041
  },
@@ -4324,6 +4396,12 @@ const stringsKorean = {
4324
4396
  };
4325
4397
 
4326
4398
  const stringsNorwegian = {
4399
+ ' (Duties due at door)': {
4400
+ value: ' (Avgifter forfaller ved døren)',
4401
+ },
4402
+ ' (Duties prepaid)': {
4403
+ value: ' (Avgifter forhåndsbetalt)',
4404
+ },
4327
4405
  'Above de minimis threshold for': {
4328
4406
  value: 'Over minstegrensen for',
4329
4407
  },
@@ -4684,6 +4762,12 @@ const stringsNorwegian = {
4684
4762
  };
4685
4763
 
4686
4764
  const stringsPolish = {
4765
+ ' (Duties due at door)': {
4766
+ value: ' (Opłaty należne przy drzwiach)',
4767
+ },
4768
+ ' (Duties prepaid)': {
4769
+ value: ' (Opłaty celne opłacone z góry)',
4770
+ },
4687
4771
  'Above de minimis threshold for': {
4688
4772
  value: 'Powyżej progu minimis dla',
4689
4773
  },
@@ -5044,6 +5128,12 @@ const stringsPolish = {
5044
5128
  };
5045
5129
 
5046
5130
  const stringsPortuguese = {
5131
+ ' (Duties due at door)': {
5132
+ value: ' (Taxas devidas na porta)',
5133
+ },
5134
+ ' (Duties prepaid)': {
5135
+ value: ' (Taxas pré-pagas)',
5136
+ },
5047
5137
  'Above de minimis threshold for': {
5048
5138
  value: 'Acima do limite de isenção para',
5049
5139
  },
@@ -5404,6 +5494,12 @@ const stringsPortuguese = {
5404
5494
  };
5405
5495
 
5406
5496
  const stringsRussian = {
5497
+ ' (Duties due at door)': {
5498
+ value: ' (Пошлины подлежат оплате у двери)',
5499
+ },
5500
+ ' (Duties prepaid)': {
5501
+ value: ' (Пошлины оплачены заранее)',
5502
+ },
5407
5503
  'Above de minimis threshold for': {
5408
5504
  value: 'Выше минимального порога для',
5409
5505
  },
@@ -5764,6 +5860,12 @@ const stringsRussian = {
5764
5860
  };
5765
5861
 
5766
5862
  const stringsSpanish = {
5863
+ ' (Duties due at door)': {
5864
+ value: ' (Derechos debidos en la puerta)',
5865
+ },
5866
+ ' (Duties prepaid)': {
5867
+ value: ' (Derechos pagados por adelantado)',
5868
+ },
5767
5869
  'Above de minimis threshold for': {
5768
5870
  value: 'Por encima del umbral mínimo para',
5769
5871
  },
@@ -6124,6 +6226,12 @@ const stringsSpanish = {
6124
6226
  };
6125
6227
 
6126
6228
  const stringsSwedish = {
6229
+ ' (Duties due at door)': {
6230
+ value: ' (Tullar förfaller vid dörren)',
6231
+ },
6232
+ ' (Duties prepaid)': {
6233
+ value: ' (Tullar förbetalda)',
6234
+ },
6127
6235
  'Above de minimis threshold for': {
6128
6236
  value: 'Över minimibeloppet för',
6129
6237
  },
@@ -6484,6 +6592,12 @@ const stringsSwedish = {
6484
6592
  };
6485
6593
 
6486
6594
  const stringsTurkish = {
6595
+ ' (Duties due at door)': {
6596
+ value: ' (Kapıda ödenecek vergiler)',
6597
+ },
6598
+ ' (Duties prepaid)': {
6599
+ value: ' (Gümrük vergileri önceden ödenmiş)',
6600
+ },
6487
6601
  'Above de minimis threshold for': {
6488
6602
  value: 'Minimum sınırın üzerinde',
6489
6603
  },
@@ -6844,6 +6958,12 @@ const stringsTurkish = {
6844
6958
  };
6845
6959
 
6846
6960
  const stringsVietnamese = {
6961
+ ' (Duties due at door)': {
6962
+ value: ' (Thuế phải trả tại cửa)',
6963
+ },
6964
+ ' (Duties prepaid)': {
6965
+ value: ' (Thuế đã trả trước)',
6966
+ },
6847
6967
  'Above de minimis threshold for': {
6848
6968
  value: 'Vượt ngưỡng miễn thuế đối với',
6849
6969
  },
@@ -9023,7 +9143,7 @@ const cartStoreReCalculateTotal = async ({ adjustmentAmount, cartId, currency, i
9023
9143
  cartStoreSetCheckoutSession(json.checkoutSessionUpdate);
9024
9144
  return true;
9025
9145
  };
9026
- const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption) => {
9146
+ const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption, landedCostId) => {
9027
9147
  var _a, _b, _c, _d, _e;
9028
9148
  cartStore.selectedShippingOption = selectedShippingOption;
9029
9149
  // update shipping transit info
@@ -9032,11 +9152,7 @@ const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption) =>
9032
9152
  const { maxTransit, minTransit, unit } = transitData;
9033
9153
  cartStore.selectedShippingOptionTransitTime = `${minTransit}-${maxTransit} ${unit}`;
9034
9154
  }
9035
- const selectedLandedCost = (_a = cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.find(checkoutSessionPresentment => {
9036
- var _a, _b, _c;
9037
- return ((_b = (_a = checkoutSessionPresentment.landedCost) === null || _a === void 0 ? void 0 : _a.shipmentRating) === null || _b === void 0 ? void 0 : _b.id) ===
9038
- ((_c = cartStore.selectedShippingOption) === null || _c === void 0 ? void 0 : _c.id);
9039
- });
9155
+ const selectedLandedCost = (_a = cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.find(x => x.landedCostId === landedCostId);
9040
9156
  // save selected landed cost for later use
9041
9157
  cartStore.selectedLandedCost = selectedLandedCost || null;
9042
9158
  if (!selectedLandedCost) {
@@ -1,4 +1,4 @@
1
- import { d as cartStore, l as localizationStore } from './cart-df09faed.js';
1
+ import { d as cartStore, l as localizationStore } from './cart-66d17f99.js';
2
2
  import { z as zonosStore } from './zonosStore-0dc7a947.js';
3
3
  import { h as handleFetch } from './handleFetch-80ecfb91.js';
4
4
 
package/dist/esm/index.js CHANGED
@@ -94,7 +94,7 @@ const getZonosQaUrl = () => {
94
94
  return null;
95
95
  }
96
96
  const qaUrl = extractZonosQaUrl(window.location.href);
97
- const cdnUrl = "https://v1.3.73.js.zonos.com";
97
+ const cdnUrl = "https://v1.3.74.js.zonos.com";
98
98
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
99
99
  if (!qaUrl &&
100
100
  (cdnUrl.includes('test.') ||
@@ -278,10 +278,10 @@ const zonosLoadUrl = (() => {
278
278
  }
279
279
  return null;
280
280
  })();
281
- const ZONOS_URL = "https://v1.3.73.js.zonos.com";
282
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.73";
283
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.73";
284
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.73";
281
+ const ZONOS_URL = "https://v1.3.74.js.zonos.com";
282
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.74";
283
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.74";
284
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.74";
285
285
  const INTER_FONT_URL = 'https://rsms.me';
286
286
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
287
287
  const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
@@ -296,7 +296,7 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
296
296
  !!window.location.search.match(/\?.*(&*)zonosConversionTest/);
297
297
  Zonos._paypalMockResponse = null;
298
298
  Zonos.isBigCommerce = false;
299
- Zonos.releaseDate = "1728409462471";
299
+ Zonos.releaseDate = "1728506894258";
300
300
  Zonos.isLegacyCheckout = false;
301
301
  /**
302
302
  * By default, the package will load from npm
@@ -304,7 +304,7 @@ Zonos.isLegacyCheckout = false;
304
304
  Zonos.isNpm = true;
305
305
  Zonos.zonosQaUrl = null;
306
306
  Zonos.zonosQaUrlApi = null;
307
- Zonos.version = `v${"1.3.73"}`;
307
+ Zonos.version = `v${"1.3.74"}`;
308
308
  Zonos.modeAlerted = false;
309
309
  Zonos.cartData = null;
310
310
  Zonos.paypal = null;
@@ -1,5 +1,5 @@
1
1
  import { z as zonosStore, c as createStore } from './zonosStore-0dc7a947.js';
2
- import { d as cartStore, r as stripeStoreHandleInventoryCheck, t as translate, q as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-df09faed.js';
2
+ import { d as cartStore, r as stripeStoreHandleInventoryCheck, t as translate, q as cartStoreNextStep, h as cartStoreClearCheckoutInterval } from './cart-66d17f99.js';
3
3
  import { h as handleFetch, l as log, a as logError, j as jsonParse } from './handleFetch-80ecfb91.js';
4
4
  import { t as tinycolor } from './isDarkColor-b3afa948.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { j as stripeStore, l as localizationStore, t as translate } from './cart-df09faed.js';
2
+ import { j as stripeStore, l as localizationStore, t as translate } from './cart-66d17f99.js';
3
3
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
4
4
  import { a as logError } from './handleFetch-80ecfb91.js';
5
5
  import { i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';