@zonos/elements 1.3.72 → 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-fb14e8ee.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
@@ -6,6 +6,12 @@ const isDarkColor = require('./isDarkColor-5efc8367.js');
6
6
  const getBorderRadius = require('./getBorderRadius-5a64574c.js');
7
7
 
8
8
  const stringsArabic = {
9
+ ' (Duties due at door)': {
10
+ value: ' (الرسوم مستحقة عند الباب)',
11
+ },
12
+ ' (Duties prepaid)': {
13
+ value: ' (الرسوم مدفوعة مسبقًا)',
14
+ },
9
15
  'Above de minimis threshold for': {
10
16
  value: 'أعلى من الحد الأدنى لـ',
11
17
  },
@@ -366,6 +372,12 @@ const stringsArabic = {
366
372
  };
367
373
 
368
374
  const stringsBase = {
375
+ ' (Duties due at door)': {
376
+ value: ' (Duties due at door)',
377
+ },
378
+ ' (Duties prepaid)': {
379
+ value: ' (Duties prepaid)',
380
+ },
369
381
  'Above de minimis threshold for': {
370
382
  value: 'Above de minimis threshold for',
371
383
  },
@@ -726,6 +738,12 @@ const stringsBase = {
726
738
  };
727
739
 
728
740
  const stringsChinese = {
741
+ ' (Duties due at door)': {
742
+ value: ' (门口需缴纳关税)',
743
+ },
744
+ ' (Duties prepaid)': {
745
+ value: ' (关税已预付)',
746
+ },
729
747
  'Above de minimis threshold for': {
730
748
  value: '超过最低征税门槛',
731
749
  },
@@ -1086,6 +1104,12 @@ const stringsChinese = {
1086
1104
  };
1087
1105
 
1088
1106
  const stringsDanish = {
1107
+ ' (Duties due at door)': {
1108
+ value: ' (Afgifter forfalder ved døren)',
1109
+ },
1110
+ ' (Duties prepaid)': {
1111
+ value: ' (Afgifter forudbetalt)',
1112
+ },
1089
1113
  'Above de minimis threshold for': {
1090
1114
  value: 'Over de minimis-grænsen for',
1091
1115
  },
@@ -1446,6 +1470,12 @@ const stringsDanish = {
1446
1470
  };
1447
1471
 
1448
1472
  const stringsDutch = {
1473
+ ' (Duties due at door)': {
1474
+ value: ' (Invoerrechten verschuldigd aan de deur)',
1475
+ },
1476
+ ' (Duties prepaid)': {
1477
+ value: ' (Rechten vooraf betaald)',
1478
+ },
1449
1479
  'Above de minimis threshold for': {
1450
1480
  value: 'Boven de minimale drempel voor',
1451
1481
  },
@@ -1806,6 +1836,12 @@ const stringsDutch = {
1806
1836
  };
1807
1837
 
1808
1838
  const stringsFrench = {
1839
+ ' (Duties due at door)': {
1840
+ value: ' (Droits dus à la porte)',
1841
+ },
1842
+ ' (Duties prepaid)': {
1843
+ value: " (Droits payés d'avance)",
1844
+ },
1809
1845
  'Above de minimis threshold for': {
1810
1846
  value: 'Au-dessus du seuil de minimis pour',
1811
1847
  },
@@ -2166,6 +2202,12 @@ const stringsFrench = {
2166
2202
  };
2167
2203
 
2168
2204
  const stringsGerman = {
2205
+ ' (Duties due at door)': {
2206
+ value: ' (Zölle an der Tür fällig)',
2207
+ },
2208
+ ' (Duties prepaid)': {
2209
+ value: ' (Zölle im Voraus bezahlt)',
2210
+ },
2169
2211
  'Above de minimis threshold for': {
2170
2212
  value: 'Über der Mindestgrenze für',
2171
2213
  },
@@ -2526,6 +2568,12 @@ const stringsGerman = {
2526
2568
  };
2527
2569
 
2528
2570
  const stringsHebrew = {
2571
+ ' (Duties due at door)': {
2572
+ value: ' (מיסים לתשלום בדלת)',
2573
+ },
2574
+ ' (Duties prepaid)': {
2575
+ value: ' (מיסים שולמו מראש)',
2576
+ },
2529
2577
  'Above de minimis threshold for': {
2530
2578
  value: 'מעל סף המינימום עבור',
2531
2579
  },
@@ -2886,6 +2934,12 @@ const stringsHebrew = {
2886
2934
  };
2887
2935
 
2888
2936
  const stringsIndonesian = {
2937
+ ' (Duties due at door)': {
2938
+ value: ' (Bea masuk yang harus dibayar di pintu)',
2939
+ },
2940
+ ' (Duties prepaid)': {
2941
+ value: ' (Bea sudah dibayar di muka)',
2942
+ },
2889
2943
  'Above de minimis threshold for': {
2890
2944
  value: 'Di atas ambang batas de minimis untuk',
2891
2945
  },
@@ -3246,6 +3300,12 @@ const stringsIndonesian = {
3246
3300
  };
3247
3301
 
3248
3302
  const stringsItalian = {
3303
+ ' (Duties due at door)': {
3304
+ value: ' (Dazi dovuti alla porta)',
3305
+ },
3306
+ ' (Duties prepaid)': {
3307
+ value: ' (Dazi pagati in anticipo)',
3308
+ },
3249
3309
  'Above de minimis threshold for': {
3250
3310
  value: 'Sopra la soglia di minimis per',
3251
3311
  },
@@ -3606,6 +3666,12 @@ const stringsItalian = {
3606
3666
  };
3607
3667
 
3608
3668
  const stringsJapanese = {
3669
+ ' (Duties due at door)': {
3670
+ value: ' (ドアでの関税支払い)',
3671
+ },
3672
+ ' (Duties prepaid)': {
3673
+ value: ' (関税前払い)',
3674
+ },
3609
3675
  'Above de minimis threshold for': {
3610
3676
  value: 'デミニマスの閾値を超える',
3611
3677
  },
@@ -3966,6 +4032,12 @@ const stringsJapanese = {
3966
4032
  };
3967
4033
 
3968
4034
  const stringsKorean = {
4035
+ ' (Duties due at door)': {
4036
+ value: ' (문 앞에서 납부할 세금)',
4037
+ },
4038
+ ' (Duties prepaid)': {
4039
+ value: ' (관세 선불)',
4040
+ },
3969
4041
  'Above de minimis threshold for': {
3970
4042
  value: '최소 임계값을 초과하여',
3971
4043
  },
@@ -4326,6 +4398,12 @@ const stringsKorean = {
4326
4398
  };
4327
4399
 
4328
4400
  const stringsNorwegian = {
4401
+ ' (Duties due at door)': {
4402
+ value: ' (Avgifter forfaller ved døren)',
4403
+ },
4404
+ ' (Duties prepaid)': {
4405
+ value: ' (Avgifter forhåndsbetalt)',
4406
+ },
4329
4407
  'Above de minimis threshold for': {
4330
4408
  value: 'Over minstegrensen for',
4331
4409
  },
@@ -4686,6 +4764,12 @@ const stringsNorwegian = {
4686
4764
  };
4687
4765
 
4688
4766
  const stringsPolish = {
4767
+ ' (Duties due at door)': {
4768
+ value: ' (Opłaty należne przy drzwiach)',
4769
+ },
4770
+ ' (Duties prepaid)': {
4771
+ value: ' (Opłaty celne opłacone z góry)',
4772
+ },
4689
4773
  'Above de minimis threshold for': {
4690
4774
  value: 'Powyżej progu minimis dla',
4691
4775
  },
@@ -5046,6 +5130,12 @@ const stringsPolish = {
5046
5130
  };
5047
5131
 
5048
5132
  const stringsPortuguese = {
5133
+ ' (Duties due at door)': {
5134
+ value: ' (Taxas devidas na porta)',
5135
+ },
5136
+ ' (Duties prepaid)': {
5137
+ value: ' (Taxas pré-pagas)',
5138
+ },
5049
5139
  'Above de minimis threshold for': {
5050
5140
  value: 'Acima do limite de isenção para',
5051
5141
  },
@@ -5406,6 +5496,12 @@ const stringsPortuguese = {
5406
5496
  };
5407
5497
 
5408
5498
  const stringsRussian = {
5499
+ ' (Duties due at door)': {
5500
+ value: ' (Пошлины подлежат оплате у двери)',
5501
+ },
5502
+ ' (Duties prepaid)': {
5503
+ value: ' (Пошлины оплачены заранее)',
5504
+ },
5409
5505
  'Above de minimis threshold for': {
5410
5506
  value: 'Выше минимального порога для',
5411
5507
  },
@@ -5766,6 +5862,12 @@ const stringsRussian = {
5766
5862
  };
5767
5863
 
5768
5864
  const stringsSpanish = {
5865
+ ' (Duties due at door)': {
5866
+ value: ' (Derechos debidos en la puerta)',
5867
+ },
5868
+ ' (Duties prepaid)': {
5869
+ value: ' (Derechos pagados por adelantado)',
5870
+ },
5769
5871
  'Above de minimis threshold for': {
5770
5872
  value: 'Por encima del umbral mínimo para',
5771
5873
  },
@@ -6126,6 +6228,12 @@ const stringsSpanish = {
6126
6228
  };
6127
6229
 
6128
6230
  const stringsSwedish = {
6231
+ ' (Duties due at door)': {
6232
+ value: ' (Tullar förfaller vid dörren)',
6233
+ },
6234
+ ' (Duties prepaid)': {
6235
+ value: ' (Tullar förbetalda)',
6236
+ },
6129
6237
  'Above de minimis threshold for': {
6130
6238
  value: 'Över minimibeloppet för',
6131
6239
  },
@@ -6486,6 +6594,12 @@ const stringsSwedish = {
6486
6594
  };
6487
6595
 
6488
6596
  const stringsTurkish = {
6597
+ ' (Duties due at door)': {
6598
+ value: ' (Kapıda ödenecek vergiler)',
6599
+ },
6600
+ ' (Duties prepaid)': {
6601
+ value: ' (Gümrük vergileri önceden ödenmiş)',
6602
+ },
6489
6603
  'Above de minimis threshold for': {
6490
6604
  value: 'Minimum sınırın üzerinde',
6491
6605
  },
@@ -6846,6 +6960,12 @@ const stringsTurkish = {
6846
6960
  };
6847
6961
 
6848
6962
  const stringsVietnamese = {
6963
+ ' (Duties due at door)': {
6964
+ value: ' (Thuế phải trả tại cửa)',
6965
+ },
6966
+ ' (Duties prepaid)': {
6967
+ value: ' (Thuế đã trả trước)',
6968
+ },
6849
6969
  'Above de minimis threshold for': {
6850
6970
  value: 'Vượt ngưỡng miễn thuế đối với',
6851
6971
  },
@@ -9025,7 +9145,7 @@ const cartStoreReCalculateTotal = async ({ adjustmentAmount, cartId, currency, i
9025
9145
  cartStoreSetCheckoutSession(json.checkoutSessionUpdate);
9026
9146
  return true;
9027
9147
  };
9028
- const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption) => {
9148
+ const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption, landedCostId) => {
9029
9149
  var _a, _b, _c, _d, _e;
9030
9150
  cartStore.selectedShippingOption = selectedShippingOption;
9031
9151
  // update shipping transit info
@@ -9034,11 +9154,7 @@ const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption) =>
9034
9154
  const { maxTransit, minTransit, unit } = transitData;
9035
9155
  cartStore.selectedShippingOptionTransitTime = `${minTransit}-${maxTransit} ${unit}`;
9036
9156
  }
9037
- const selectedLandedCost = (_a = cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.find(checkoutSessionPresentment => {
9038
- var _a, _b, _c;
9039
- return ((_b = (_a = checkoutSessionPresentment.landedCost) === null || _a === void 0 ? void 0 : _a.shipmentRating) === null || _b === void 0 ? void 0 : _b.id) ===
9040
- ((_c = cartStore.selectedShippingOption) === null || _c === void 0 ? void 0 : _c.id);
9041
- });
9157
+ const selectedLandedCost = (_a = cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.find(x => x.landedCostId === landedCostId);
9042
9158
  // save selected landed cost for later use
9043
9159
  cartStore.selectedLandedCost = selectedLandedCost || null;
9044
9160
  if (!selectedLandedCost) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const cart = require('./cart-0b51350e.js');
3
+ const cart = require('./cart-6dd9e3cd.js');
4
4
  const zonosStore = require('./zonosStore-a4395972.js');
5
5
  const handleFetch = require('./handleFetch-661a8225.js');
6
6
 
@@ -97,7 +97,7 @@ const getZonosQaUrl = () => {
97
97
  return null;
98
98
  }
99
99
  const qaUrl = extractZonosQaUrl(window.location.href);
100
- const cdnUrl = "https://v1.3.72.js.zonos.com";
100
+ const cdnUrl = "https://v1.3.74.js.zonos.com";
101
101
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
102
102
  if (!qaUrl &&
103
103
  (cdnUrl.includes('test.') ||
@@ -281,10 +281,10 @@ const zonosLoadUrl = (() => {
281
281
  }
282
282
  return null;
283
283
  })();
284
- const ZONOS_URL = "https://v1.3.72.js.zonos.com";
285
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.72";
286
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.72";
287
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.72";
284
+ const ZONOS_URL = "https://v1.3.74.js.zonos.com";
285
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.74";
286
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.74";
287
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.74";
288
288
  const INTER_FONT_URL = 'https://rsms.me';
289
289
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
290
290
  const INTER_FONT_REGEX = /^https:\/\/rsms\.me\/inter\/inter\.css(.*)$/;
@@ -299,7 +299,7 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
299
299
  !!window.location.search.match(/\?.*(&*)zonosConversionTest/);
300
300
  Zonos._paypalMockResponse = null;
301
301
  Zonos.isBigCommerce = false;
302
- Zonos.releaseDate = "1728406270073";
302
+ Zonos.releaseDate = "1728506894258";
303
303
  Zonos.isLegacyCheckout = false;
304
304
  /**
305
305
  * By default, the package will load from npm
@@ -307,7 +307,7 @@ Zonos.isLegacyCheckout = false;
307
307
  Zonos.isNpm = true;
308
308
  Zonos.zonosQaUrl = null;
309
309
  Zonos.zonosQaUrlApi = null;
310
- Zonos.version = `v${"1.3.72"}`;
310
+ Zonos.version = `v${"1.3.74"}`;
311
311
  Zonos.modeAlerted = false;
312
312
  Zonos.cartData = null;
313
313
  Zonos.paypal = null;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-a4395972.js');
4
- const cart = require('./cart-0b51350e.js');
4
+ const cart = require('./cart-6dd9e3cd.js');
5
5
  const handleFetch = require('./handleFetch-661a8225.js');
6
6
  const isDarkColor = require('./isDarkColor-5efc8367.js');
7
7
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-0b51350e.js');
6
+ const cart = require('./cart-6dd9e3cd.js');
7
7
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
8
8
  const handleFetch = require('./handleFetch-661a8225.js');
9
9
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-a4395972.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const cart = require('./cart-0b51350e.js');
9
- const paypal = require('./paypal-c9ee9b49.js');
10
- const createCustomEvent = require('./createCustomEvent-9d5c5318.js');
8
+ const cart = require('./cart-6dd9e3cd.js');
9
+ const paypal = require('./paypal-f0d2a8cf.js');
10
+ const createCustomEvent = require('./createCustomEvent-4efb5ab7.js');
11
11
  const getBorderRadius = require('./getBorderRadius-5a64574c.js');
12
12
  const handleFetch = require('./handleFetch-661a8225.js');
13
13
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
@@ -1066,7 +1066,7 @@ const ZonosShipping = class {
1066
1066
  }
1067
1067
  this.isSelecting = true;
1068
1068
  // save selected shipping option to store
1069
- const updateStatus = await cart.cartStoreUpdateSelectedShippingOption(selectedShippingOption);
1069
+ const updateStatus = await cart.cartStoreUpdateSelectedShippingOption(selectedShippingOption, e.detail.landedCostId);
1070
1070
  if (!updateStatus) {
1071
1071
  return;
1072
1072
  }
@@ -1093,6 +1093,16 @@ const ZonosShipping = class {
1093
1093
  serviceLevelId: (_a = this.selectedShippingMethod) === null || _a === void 0 ? void 0 : _a.value,
1094
1094
  });
1095
1095
  };
1096
+ this.getLandedCostMethodLabelSuffix = (method) => {
1097
+ switch (method) {
1098
+ case 'DAP':
1099
+ return cart.translate(` (Duties due at door)`);
1100
+ case 'DDP':
1101
+ return cart.translate(` (Duties prepaid)`);
1102
+ default:
1103
+ return '';
1104
+ }
1105
+ };
1096
1106
  this.initServiceLevels = () => {
1097
1107
  var _a;
1098
1108
  const serviceLevels = ((_a = cart.cartStore.shippingData) === null || _a === void 0 ? void 0 : _a.flatMap(item => {
@@ -1101,22 +1111,22 @@ const ZonosShipping = class {
1101
1111
  const sublabel = transitData
1102
1112
  ? `${transitData.minTransit}-${transitData.maxTransit} ${transitData.unit}`
1103
1113
  : '';
1104
- const foundShipmentRating = (_a = cart.cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.find(landedCostItem => { var _a; return ((_a = landedCostItem.landedCost) === null || _a === void 0 ? void 0 : _a.shipmentRating.id) === item.id; });
1105
- if (!foundShipmentRating) {
1106
- // exclude shipping method if there is no matching landed cost data
1107
- return [];
1108
- }
1109
- const shippingAmount = foundShipmentRating.subtotals.shipping;
1110
- return {
1111
- amount: shippingAmount,
1112
- label: item.displayName,
1113
- price: cart.currencyFormat({
1114
+ const matchedLandedCosts = (_a = cart.cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.filter(landedCostItem => { var _a; return ((_a = landedCostItem.landedCost) === null || _a === void 0 ? void 0 : _a.shipmentRating.id) === item.id; });
1115
+ return ((matchedLandedCosts === null || matchedLandedCosts === void 0 ? void 0 : matchedLandedCosts.map(landedCost => {
1116
+ const shippingAmount = landedCost.subtotals.shipping;
1117
+ return {
1114
1118
  amount: shippingAmount,
1115
- currency: cart.cartStore.currency,
1116
- }),
1117
- sublabel,
1118
- value: item.id,
1119
- };
1119
+ label: `${item.displayName}${this.getLandedCostMethodLabelSuffix(landedCost.landedCost.method)}`,
1120
+ landedCostId: landedCost.landedCostId,
1121
+ price: cart.currencyFormat({
1122
+ amount: shippingAmount,
1123
+ currency: cart.cartStore.currency,
1124
+ }),
1125
+ shipmentRatingId: item.id,
1126
+ sublabel,
1127
+ value: landedCost.landedCostId,
1128
+ };
1129
+ })) || []);
1120
1130
  })) || [];
1121
1131
  // sort service level by price
1122
1132
  this.serviceLevels = sortServiceLevelOptions(serviceLevels);
@@ -1151,7 +1161,7 @@ const ZonosShipping = class {
1151
1161
  if (this.showErrorBanner) {
1152
1162
  this.showErrorBanner = !this.handleValidate();
1153
1163
  }
1154
- return (index.h(index.Host, { key: '336133934d1d10521f48d4338fbf478a37ee7bab', class: "zonos--shipping zonos--elements" }, index.h("div", { key: 'bfb098aa9fa0f24578107048aff71a64e6e67ed0', class: "zonos--group" }, index.h("zonos-text", { key: '611a8d2d7097c3bf165e468913162f9a0f30948f', class: "zonos--title", type: "semiBoldSubheader" }, cart.translate('Delivery options')), this.showErrorBanner && !!((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) && (index.h("zonos-banner", { key: '6b981e57509865fabe526a7a4aeb0c69c8e338cb', class: "zonos--error-banner", intent: "error" }, cart.translate('No shipping method selected'))), index.h("zonos-text", { key: '481daf2257fd20776d9c8a6a051a0c82549fbcaf', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, cart.translate('Shipping method')), !((_b = this.serviceLevels) === null || _b === void 0 ? void 0 : _b.length) ? (index.h("zonos-banner", { bannerTitle: cart.translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (index.h("zonos-shipping-rich-radio", { initialSelectedValue: (_c = this.selectedShippingMethod) === null || _c === void 0 ? void 0 : _c.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), index.h("div", { key: '06c739fee83459f10de92267135f7152c9783284', class: "zonos--group-btn" }, index.h("zonos-button", { key: '1836cbd3d9d74611e7c569bc9d61e3b2a7f76df4', backgroundColor: this.submitBtnColor, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
1164
+ return (index.h(index.Host, { key: '936f32623147a463fad1a957237424256c6421e7', class: "zonos--shipping zonos--elements" }, index.h("div", { key: 'e3c19cb175d3766d34f3aedb3209a3634fbeb464', class: "zonos--group" }, index.h("zonos-text", { key: '8c5bb7f7a759a30d589f163cec68a9389f46639d', class: "zonos--title", type: "semiBoldSubheader" }, cart.translate('Delivery options')), this.showErrorBanner && !!((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) && (index.h("zonos-banner", { key: '7a8d26acd0cbdd9cd9e208c7c58e1e3ea7e0c207', class: "zonos--error-banner", intent: "error" }, cart.translate('No shipping method selected'))), index.h("zonos-text", { key: '4a689123ff3f9a7a855b27ecce318a93f370bc0f', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, cart.translate('Shipping method')), !((_b = this.serviceLevels) === null || _b === void 0 ? void 0 : _b.length) ? (index.h("zonos-banner", { bannerTitle: cart.translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (index.h("zonos-shipping-rich-radio", { initialSelectedValue: (_c = this.selectedShippingMethod) === null || _c === void 0 ? void 0 : _c.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), index.h("div", { key: '5f23bb89b99151cd7af96343c377a3f8ecfe5516', class: "zonos--group-btn" }, index.h("zonos-button", { key: '8c25df7afa909af7fdea64b155588fadb3019e66', backgroundColor: this.submitBtnColor, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
1155
1165
  // use primary type when on mobile mode
1156
1166
  variant: this.submitBtnType }, cart.translate('Go to payment'))))));
1157
1167
  }
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-0b51350e.js');
7
- const paypal = require('./paypal-c9ee9b49.js');
6
+ const cart = require('./cart-6dd9e3cd.js');
7
+ const paypal = require('./paypal-f0d2a8cf.js');
8
8
  const zonosStore = require('./zonosStore-a4395972.js');
9
- const createCustomEvent = require('./createCustomEvent-9d5c5318.js');
9
+ const createCustomEvent = require('./createCustomEvent-4efb5ab7.js');
10
10
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
11
11
  const handleFetch = require('./handleFetch-661a8225.js');
12
12
  const classes = require('./classes-b7918f56.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-0b51350e.js');
6
+ const cart = require('./cart-6dd9e3cd.js');
7
7
  const zonosStore = require('./zonosStore-a4395972.js');
8
8
  const handleFetch = require('./handleFetch-661a8225.js');
9
9
  require('./isDarkColor-5efc8367.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-0b51350e.js');
6
+ const cart = require('./cart-6dd9e3cd.js');
7
7
  const zonosStore = require('./zonosStore-a4395972.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  require('./handleFetch-661a8225.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-0b51350e.js');
6
+ const cart = require('./cart-6dd9e3cd.js');
7
7
  const zonosStore = require('./zonosStore-a4395972.js');
8
8
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
9
9
  const isDarkColor = require('./isDarkColor-5efc8367.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-0b51350e.js');
6
+ const cart = require('./cart-6dd9e3cd.js');
7
7
  const zonosStore = require('./zonosStore-a4395972.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-a4395972.js');
7
- const cart = require('./cart-0b51350e.js');
7
+ const cart = require('./cart-6dd9e3cd.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const handleFetch = require('./handleFetch-661a8225.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-0b51350e.js');
6
+ const cart = require('./cart-6dd9e3cd.js');
7
7
  const zonosStore = require('./zonosStore-a4395972.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
9
  require('./handleFetch-661a8225.js');
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-a4395972.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const cart = require('./cart-0b51350e.js');
8
+ const cart = require('./cart-6dd9e3cd.js');
9
9
  const handleFetch = require('./handleFetch-661a8225.js');
10
- const paypal = require('./paypal-c9ee9b49.js');
10
+ const paypal = require('./paypal-f0d2a8cf.js');
11
11
  require('./isDarkColor-5efc8367.js');
12
12
  require('./getBorderRadius-5a64574c.js');
13
13
 
@@ -49,7 +49,7 @@ const ZonosShippingRichRadio = class {
49
49
  }
50
50
  render() {
51
51
  var _a;
52
- return (index.h(index.Host, { key: '48381df130f6021b73c543c7244a71e7b1e8cd05', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStore.zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
52
+ return (index.h(index.Host, { key: '83ee4ddc5ad32514ca98457812207964cf452217', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStore.zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
53
53
  var _a;
54
54
  const selected = ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.value) === item.value;
55
55
  return (index.h("div", { "aria-hidden": "true", class: classes.classes([
@@ -19,7 +19,7 @@ export class ZonosShipping {
19
19
  }
20
20
  this.isSelecting = true;
21
21
  // save selected shipping option to store
22
- const updateStatus = await cartStoreUpdateSelectedShippingOption(selectedShippingOption);
22
+ const updateStatus = await cartStoreUpdateSelectedShippingOption(selectedShippingOption, e.detail.landedCostId);
23
23
  if (!updateStatus) {
24
24
  return;
25
25
  }
@@ -46,6 +46,16 @@ export class ZonosShipping {
46
46
  serviceLevelId: (_a = this.selectedShippingMethod) === null || _a === void 0 ? void 0 : _a.value,
47
47
  });
48
48
  };
49
+ this.getLandedCostMethodLabelSuffix = (method) => {
50
+ switch (method) {
51
+ case 'DAP':
52
+ return translate(` (Duties due at door)`);
53
+ case 'DDP':
54
+ return translate(` (Duties prepaid)`);
55
+ default:
56
+ return '';
57
+ }
58
+ };
49
59
  this.initServiceLevels = () => {
50
60
  var _a;
51
61
  const serviceLevels = ((_a = cartStore.shippingData) === null || _a === void 0 ? void 0 : _a.flatMap(item => {
@@ -54,22 +64,22 @@ export class ZonosShipping {
54
64
  const sublabel = transitData
55
65
  ? `${transitData.minTransit}-${transitData.maxTransit} ${transitData.unit}`
56
66
  : '';
57
- const foundShipmentRating = (_a = cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.find(landedCostItem => { var _a; return ((_a = landedCostItem.landedCost) === null || _a === void 0 ? void 0 : _a.shipmentRating.id) === item.id; });
58
- if (!foundShipmentRating) {
59
- // exclude shipping method if there is no matching landed cost data
60
- return [];
61
- }
62
- const shippingAmount = foundShipmentRating.subtotals.shipping;
63
- return {
64
- amount: shippingAmount,
65
- label: item.displayName,
66
- price: currencyFormat({
67
+ const matchedLandedCosts = (_a = cartStore.landedCostData) === null || _a === void 0 ? void 0 : _a.filter(landedCostItem => { var _a; return ((_a = landedCostItem.landedCost) === null || _a === void 0 ? void 0 : _a.shipmentRating.id) === item.id; });
68
+ return ((matchedLandedCosts === null || matchedLandedCosts === void 0 ? void 0 : matchedLandedCosts.map(landedCost => {
69
+ const shippingAmount = landedCost.subtotals.shipping;
70
+ return {
67
71
  amount: shippingAmount,
68
- currency: cartStore.currency,
69
- }),
70
- sublabel,
71
- value: item.id,
72
- };
72
+ label: `${item.displayName}${this.getLandedCostMethodLabelSuffix(landedCost.landedCost.method)}`,
73
+ landedCostId: landedCost.landedCostId,
74
+ price: currencyFormat({
75
+ amount: shippingAmount,
76
+ currency: cartStore.currency,
77
+ }),
78
+ shipmentRatingId: item.id,
79
+ sublabel,
80
+ value: landedCost.landedCostId,
81
+ };
82
+ })) || []);
73
83
  })) || [];
74
84
  // sort service level by price
75
85
  this.serviceLevels = sortServiceLevelOptions(serviceLevels);
@@ -104,7 +114,7 @@ export class ZonosShipping {
104
114
  if (this.showErrorBanner) {
105
115
  this.showErrorBanner = !this.handleValidate();
106
116
  }
107
- return (h(Host, { key: '336133934d1d10521f48d4338fbf478a37ee7bab', class: "zonos--shipping zonos--elements" }, h("div", { key: 'bfb098aa9fa0f24578107048aff71a64e6e67ed0', class: "zonos--group" }, h("zonos-text", { key: '611a8d2d7097c3bf165e468913162f9a0f30948f', class: "zonos--title", type: "semiBoldSubheader" }, translate('Delivery options')), this.showErrorBanner && !!((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) && (h("zonos-banner", { key: '6b981e57509865fabe526a7a4aeb0c69c8e338cb', class: "zonos--error-banner", intent: "error" }, translate('No shipping method selected'))), h("zonos-text", { key: '481daf2257fd20776d9c8a6a051a0c82549fbcaf', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, translate('Shipping method')), !((_b = this.serviceLevels) === null || _b === void 0 ? void 0 : _b.length) ? (h("zonos-banner", { bannerTitle: translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (h("zonos-shipping-rich-radio", { initialSelectedValue: (_c = this.selectedShippingMethod) === null || _c === void 0 ? void 0 : _c.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), h("div", { key: '06c739fee83459f10de92267135f7152c9783284', class: "zonos--group-btn" }, h("zonos-button", { key: '1836cbd3d9d74611e7c569bc9d61e3b2a7f76df4', backgroundColor: this.submitBtnColor, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
117
+ return (h(Host, { key: '936f32623147a463fad1a957237424256c6421e7', class: "zonos--shipping zonos--elements" }, h("div", { key: 'e3c19cb175d3766d34f3aedb3209a3634fbeb464', class: "zonos--group" }, h("zonos-text", { key: '8c5bb7f7a759a30d589f163cec68a9389f46639d', class: "zonos--title", type: "semiBoldSubheader" }, translate('Delivery options')), this.showErrorBanner && !!((_a = this.serviceLevels) === null || _a === void 0 ? void 0 : _a.length) && (h("zonos-banner", { key: '7a8d26acd0cbdd9cd9e208c7c58e1e3ea7e0c207', class: "zonos--error-banner", intent: "error" }, translate('No shipping method selected'))), h("zonos-text", { key: '4a689123ff3f9a7a855b27ecce318a93f370bc0f', class: "zonos--shipping-method-title", type: "semiBoldLabel" }, translate('Shipping method')), !((_b = this.serviceLevels) === null || _b === void 0 ? void 0 : _b.length) ? (h("zonos-banner", { bannerTitle: translate('No shipping methods found - please review and update your address details by selecting the "Customer" tab above. If you continue to encounter issues, contact our support team for assistance.'), intent: "error" })) : (h("zonos-shipping-rich-radio", { initialSelectedValue: (_c = this.selectedShippingMethod) === null || _c === void 0 ? void 0 : _c.value, items: this.serviceLevels, onRadioSelected: e => this.handleRadioSelected(e) })), h("div", { key: '5f23bb89b99151cd7af96343c377a3f8ecfe5516', class: "zonos--group-btn" }, h("zonos-button", { key: '8c25df7afa909af7fdea64b155588fadb3019e66', backgroundColor: this.submitBtnColor, loading: this.continueLoading || this.isSelecting, onClick: () => this.continueClickHandler(), size: "lg",
108
118
  // use primary type when on mobile mode
109
119
  variant: this.submitBtnType }, translate('Go to payment'))))));
110
120
  }
@@ -39,7 +39,7 @@ export class ZonosShippingRichRadio {
39
39
  }
40
40
  render() {
41
41
  var _a;
42
- return (h(Host, { key: '48381df130f6021b73c543c7244a71e7b1e8cd05', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
42
+ return (h(Host, { key: '83ee4ddc5ad32514ca98457812207964cf452217', class: "zonos--shipping-rich-radio zonos--elements", "data-theme": this.theme, style: Object.assign(Object.assign({}, this.getRadioItemStyleVariables()), { '--font-family': zonosStoreFontFamily() }) }, (_a = this.items) === null || _a === void 0 ? void 0 : _a.map(item => {
43
43
  var _a;
44
44
  const selected = ((_a = this.selectedItem) === null || _a === void 0 ? void 0 : _a.value) === item.value;
45
45
  return (h("div", { "aria-hidden": "true", class: classes([
@@ -189,7 +189,7 @@ export class ZonosShippingRichRadio {
189
189
  },
190
190
  "complexType": {
191
191
  "original": "ShippingRichRadioItem",
192
- "resolved": "{ amount: number; caption?: string | undefined; label: string; price: string; sublabel?: string | undefined; value: string | number; }",
192
+ "resolved": "{ amount: number; caption?: string | undefined; label: string; landedCostId: string; price: string; shipmentRatingId: string; sublabel?: string | undefined; value: string | number; }",
193
193
  "references": {
194
194
  "ShippingRichRadioItem": {
195
195
  "location": "local",