@zonos/elements 1.3.18-alpha.0 → 1.3.18-alpha.2

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 (305) hide show
  1. package/dist/cjs/{cart-d25723e7.js → cart-941a31dd.js} +562 -12
  2. package/dist/cjs/{getBorderRadius-44b3eca1.js → getBorderRadius-bcb309a8.js} +1 -1
  3. package/dist/cjs/{index-654a6001.js → index-b071017b.js} +4 -1
  4. package/dist/cjs/{isDarkColor-01f45d3f.js → isDarkColor-b0393089.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/{submitGtag-484eaf9d.js → submitGtag-9210b4fe.js} +2 -2
  7. package/dist/cjs/zonos-address_8.cjs.entry.js +22 -11
  8. package/dist/cjs/zonos-badge_2.cjs.entry.js +4 -4
  9. package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
  10. package/dist/cjs/zonos-button_3.cjs.entry.js +22 -11
  11. package/dist/cjs/zonos-card_2.cjs.entry.js +7 -7
  12. package/dist/cjs/{zonos-cart-items_9.cjs.entry.js → zonos-cart-items_11.cjs.entry.js} +224 -14
  13. package/dist/cjs/zonos-checkout.cjs.entry.js +36 -10
  14. package/dist/cjs/zonos-component.cjs.entry.js +2 -2
  15. package/dist/cjs/zonos-controller.cjs.entry.js +6 -6
  16. package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
  17. package/dist/cjs/zonos-country-select_3.cjs.entry.js +11 -11
  18. package/dist/cjs/zonos-elements.cjs.js +2 -2
  19. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +8 -8
  20. package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
  21. package/dist/cjs/zonos-input.cjs.entry.js +7 -7
  22. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-logo.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-notification.cjs.entry.js +2 -2
  25. package/dist/cjs/zonos-payment.cjs.entry.js +6 -6
  26. package/dist/cjs/zonos-select-dialog-header_2.cjs.entry.js +6 -6
  27. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  28. package/dist/cjs/zonos-text.cjs.entry.js +2 -2
  29. package/dist/cjs/{zonosStore-d8bb0bda.js → zonosStore-7c6205ca.js} +2 -1
  30. package/dist/collection/collection-manifest.json +2 -0
  31. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-items/zonos-cart-items.js +2 -1
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/assets/ChevronUpIcon.svg +23 -0
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/assets/empty-item.jpeg +0 -0
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.css +105 -0
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.js +101 -0
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-cart-subtotal/zonos-cart-subtotal.js +6 -3
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +3 -0
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +1 -1
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +43 -6
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +18 -2
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-review/zonos-review.js +3 -2
  42. package/dist/collection/components/common/zonos-button/zonos-button.css +12 -0
  43. package/dist/collection/components/common/zonos-button/zonos-button.js +43 -8
  44. package/dist/collection/components/common/zonos-confirm-dialog/assets/ExclamationMarkDuotoneIcon.svg +4 -0
  45. package/dist/collection/components/common/zonos-confirm-dialog/assets/HelpDuotoneIcon.svg +4 -0
  46. package/dist/collection/components/common/zonos-confirm-dialog/assets/WarningDuotoneIcon.svg +4 -0
  47. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.css +125 -0
  48. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +322 -0
  49. package/dist/collection/components/common/zonos-country-select/zonos-country-select.js +2 -2
  50. package/dist/collection/components/common/zonos-custom-message/zonos-custom-message.js +2 -2
  51. package/dist/collection/components/common/zonos-dialog/zonos-dialog.css +1 -4
  52. package/dist/collection/components/common/zonos-dialog/zonos-dialog.js +38 -4
  53. package/dist/collection/components/common/zonos-input/zonos-input.js +4 -4
  54. package/dist/collection/components/common/zonos-language-select/zonos-language-select.js +2 -2
  55. package/dist/collection/components/common/zonos-logo/zonos-logo.js +2 -2
  56. package/dist/collection/components/common/zonos-select-dialog-header/zonos-select-dialog-header.js +2 -2
  57. package/dist/collection/components/common/zonos-tooltip/zonos-tooltip.js +2 -2
  58. package/dist/collection/components/common/zonos-v-stack/zonos-v-stack.js +2 -2
  59. package/dist/collection/components/component-template/zonos-component/zonos-component.js +1 -1
  60. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog-footer/zonos-hello-dialog-footer.js +2 -2
  61. package/dist/collection/components/hello/zonos-hello-dialog/zonos-hello-dialog.js +3 -3
  62. package/dist/collection/components/main/zonos-controller.js +3 -3
  63. package/dist/collection/components/store/checkout/cart.js +55 -5
  64. package/dist/collection/components/store/checkout/stripe.js +6 -2
  65. package/dist/collection/components/store/hello/localization.js +12 -2
  66. package/dist/collection/components/store/translationStore/strings.arabic.js +24 -0
  67. package/dist/collection/components/store/translationStore/strings.base.js +24 -0
  68. package/dist/collection/components/store/translationStore/strings.chinese.js +24 -0
  69. package/dist/collection/components/store/translationStore/strings.danish.js +24 -0
  70. package/dist/collection/components/store/translationStore/strings.dutch.js +24 -0
  71. package/dist/collection/components/store/translationStore/strings.french.js +24 -0
  72. package/dist/collection/components/store/translationStore/strings.german.js +24 -0
  73. package/dist/collection/components/store/translationStore/strings.hebrew.js +24 -0
  74. package/dist/collection/components/store/translationStore/strings.indonesian.js +24 -0
  75. package/dist/collection/components/store/translationStore/strings.italian.js +24 -0
  76. package/dist/collection/components/store/translationStore/strings.japanese.js +24 -0
  77. package/dist/collection/components/store/translationStore/strings.korean.js +24 -0
  78. package/dist/collection/components/store/translationStore/strings.norwegian.js +24 -0
  79. package/dist/collection/components/store/translationStore/strings.polish.js +24 -0
  80. package/dist/collection/components/store/translationStore/strings.portuguese.js +24 -0
  81. package/dist/collection/components/store/translationStore/strings.russian.js +24 -0
  82. package/dist/collection/components/store/translationStore/strings.spanish.js +24 -0
  83. package/dist/collection/components/store/translationStore/strings.swedish.js +24 -0
  84. package/dist/collection/components/store/translationStore/strings.turkish.js +24 -0
  85. package/dist/collection/components/store/translationStore/strings.vietnamese.js +24 -0
  86. package/dist/collection/components/store/zonosStore.js +1 -0
  87. package/dist/collection/components/stripe/zonos-address/zonos-address.js +1 -1
  88. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  89. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +1 -1
  90. package/dist/collection/components/utils/api/prepCalculateLandedCost.js +1 -1
  91. package/dist/collection/components/utils/hello/currencyConversion/currencyDisplay.js +6 -1
  92. package/dist/collection/scripts/zonosBase.js +2 -1
  93. package/dist/collection/types/checkout/RestrictProduct.js +1 -0
  94. package/dist/collection/types/generated/graphql.customer.types.js +40 -0
  95. package/dist/collection/types/generated/graphql.frontend.types.js +1 -0
  96. package/dist/components/stripe.js +79 -10
  97. package/dist/components/submitGtag.js +1 -1
  98. package/dist/components/trackConversionEvent.js +1 -1
  99. package/dist/components/translationStore.js +480 -0
  100. package/dist/components/zonos-address2.js +1 -1
  101. package/dist/components/zonos-button2.js +20 -8
  102. package/dist/components/zonos-cart-items2.js +2 -1
  103. package/dist/components/zonos-cart-restricted-items.d.ts +11 -0
  104. package/dist/components/zonos-cart-restricted-items.js +6 -0
  105. package/dist/components/zonos-cart-restricted-items2.js +135 -0
  106. package/dist/components/zonos-cart-subtotal2.js +6 -3
  107. package/dist/components/zonos-checkout-finish2.js +1 -1
  108. package/dist/components/zonos-checkout-payment2.js +1 -1
  109. package/dist/components/zonos-checkout.js +77 -38
  110. package/dist/components/zonos-component.js +1 -1
  111. package/dist/components/zonos-confirm-dialog.d.ts +11 -0
  112. package/dist/components/zonos-confirm-dialog.js +6 -0
  113. package/dist/components/zonos-confirm-dialog2.js +161 -0
  114. package/dist/components/zonos-controller.js +2 -2
  115. package/dist/components/zonos-country-select2.js +3 -3
  116. package/dist/components/zonos-custom-message2.js +2 -2
  117. package/dist/components/zonos-customer-info2.js +19 -3
  118. package/dist/components/zonos-dialog2.js +17 -5
  119. package/dist/components/zonos-hello-dialog-footer2.js +2 -2
  120. package/dist/components/zonos-hello-dialog2.js +4 -4
  121. package/dist/components/zonos-hello.js +1 -1
  122. package/dist/components/zonos-input2.js +4 -4
  123. package/dist/components/zonos-language-select2.js +3 -3
  124. package/dist/components/zonos-link-authentication2.js +1 -1
  125. package/dist/components/zonos-logo.js +2 -2
  126. package/dist/components/zonos-payment2.js +1 -1
  127. package/dist/components/zonos-review2.js +3 -2
  128. package/dist/components/zonos-select-dialog-header2.js +2 -2
  129. package/dist/components/zonos-shipping2.js +1 -1
  130. package/dist/components/zonos-tooltip2.js +2 -2
  131. package/dist/components/zonos-v-stack2.js +2 -2
  132. package/dist/components/zonosStore.js +1 -0
  133. package/dist/esm/{cart-02f5c2ea.js → cart-cc593c2b.js} +562 -13
  134. package/dist/esm/{getBorderRadius-567f1786.js → getBorderRadius-d244b4b1.js} +1 -1
  135. package/dist/esm/{index-e063389c.js → index-3b46f3c3.js} +4 -1
  136. package/dist/esm/{isDarkColor-7f62035a.js → isDarkColor-39a36e82.js} +1 -1
  137. package/dist/esm/loader.js +3 -3
  138. package/dist/esm/{submitGtag-ba38e1ac.js → submitGtag-e50f903f.js} +2 -2
  139. package/dist/esm/zonos-address_8.entry.js +22 -11
  140. package/dist/esm/zonos-badge_2.entry.js +4 -4
  141. package/dist/esm/zonos-banner.entry.js +2 -2
  142. package/dist/esm/zonos-button_3.entry.js +22 -11
  143. package/dist/esm/zonos-card_2.entry.js +7 -7
  144. package/dist/esm/{zonos-cart-items_9.entry.js → zonos-cart-items_11.entry.js} +223 -15
  145. package/dist/esm/zonos-checkout.entry.js +36 -10
  146. package/dist/esm/zonos-component.entry.js +2 -2
  147. package/dist/esm/zonos-controller.entry.js +6 -6
  148. package/dist/esm/zonos-country-flag.entry.js +5 -5
  149. package/dist/esm/zonos-country-select_3.entry.js +11 -11
  150. package/dist/esm/zonos-elements.js +3 -3
  151. package/dist/esm/zonos-hello-dialog.entry.js +8 -8
  152. package/dist/esm/zonos-hello.entry.js +5 -5
  153. package/dist/esm/zonos-input.entry.js +7 -7
  154. package/dist/esm/zonos-link.entry.js +1 -1
  155. package/dist/esm/zonos-logo.entry.js +4 -4
  156. package/dist/esm/zonos-notification.entry.js +2 -2
  157. package/dist/esm/zonos-payment.entry.js +6 -6
  158. package/dist/esm/zonos-select-dialog-header_2.entry.js +6 -6
  159. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  160. package/dist/esm/zonos-text.entry.js +2 -2
  161. package/dist/esm/{zonosStore-33ff08ff.js → zonosStore-32e33a45.js} +2 -1
  162. package/dist/esm-es5/cart-cc593c2b.js +1 -0
  163. package/dist/esm-es5/{getBorderRadius-567f1786.js → getBorderRadius-d244b4b1.js} +1 -1
  164. package/dist/esm-es5/{index-e063389c.js → index-3b46f3c3.js} +1 -1
  165. package/dist/esm-es5/{isDarkColor-7f62035a.js → isDarkColor-39a36e82.js} +1 -1
  166. package/dist/esm-es5/loader.js +1 -1
  167. package/dist/esm-es5/{submitGtag-ba38e1ac.js → submitGtag-e50f903f.js} +1 -1
  168. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  169. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  170. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  171. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  172. package/dist/esm-es5/zonos-card_2.entry.js +1 -1
  173. package/dist/esm-es5/zonos-cart-items_11.entry.js +1 -0
  174. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  175. package/dist/esm-es5/zonos-component.entry.js +1 -1
  176. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  177. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  178. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  179. package/dist/esm-es5/zonos-elements.js +1 -1
  180. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  181. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  182. package/dist/esm-es5/zonos-input.entry.js +1 -1
  183. package/dist/esm-es5/zonos-link.entry.js +1 -1
  184. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  185. package/dist/esm-es5/zonos-notification.entry.js +1 -1
  186. package/dist/esm-es5/zonos-payment.entry.js +1 -1
  187. package/dist/esm-es5/zonos-select-dialog-header_2.entry.js +1 -1
  188. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  189. package/dist/esm-es5/zonos-text.entry.js +1 -1
  190. package/dist/esm-es5/{zonosStore-33ff08ff.js → zonosStore-32e33a45.js} +1 -1
  191. package/dist/scripts/loadZonos.js +1 -1
  192. package/dist/scripts/zonos.js +1 -1
  193. package/dist/scripts/zonosBase.js +1 -1
  194. package/dist/types/components/checkout/zonos-checkout/zonos-cart-restricted-items/zonos-cart-restricted-items.d.ts +14 -0
  195. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +11 -1
  196. package/dist/types/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.d.ts +2 -0
  197. package/dist/types/components/common/zonos-button/zonos-button.d.ts +7 -1
  198. package/dist/types/components/common/zonos-confirm-dialog/zonos-confirm-dialog.d.ts +60 -0
  199. package/dist/types/components/common/zonos-dialog/zonos-dialog.d.ts +6 -1
  200. package/dist/types/components/store/checkout/cart.d.ts +38 -4
  201. package/dist/types/components/store/translationStore/strings.arabic.d.ts +24 -0
  202. package/dist/types/components/store/translationStore/strings.base.d.ts +24 -0
  203. package/dist/types/components/store/translationStore/strings.chinese.d.ts +24 -0
  204. package/dist/types/components/store/translationStore/strings.danish.d.ts +24 -0
  205. package/dist/types/components/store/translationStore/strings.dutch.d.ts +24 -0
  206. package/dist/types/components/store/translationStore/strings.french.d.ts +24 -0
  207. package/dist/types/components/store/translationStore/strings.german.d.ts +24 -0
  208. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +24 -0
  209. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +24 -0
  210. package/dist/types/components/store/translationStore/strings.italian.d.ts +24 -0
  211. package/dist/types/components/store/translationStore/strings.japanese.d.ts +24 -0
  212. package/dist/types/components/store/translationStore/strings.korean.d.ts +24 -0
  213. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +24 -0
  214. package/dist/types/components/store/translationStore/strings.polish.d.ts +24 -0
  215. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +24 -0
  216. package/dist/types/components/store/translationStore/strings.russian.d.ts +24 -0
  217. package/dist/types/components/store/translationStore/strings.spanish.d.ts +24 -0
  218. package/dist/types/components/store/translationStore/strings.swedish.d.ts +24 -0
  219. package/dist/types/components/store/translationStore/strings.turkish.d.ts +24 -0
  220. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +24 -0
  221. package/dist/types/components/store/translationStore.d.ts +1 -1
  222. package/dist/types/components/store/zonosStore.d.ts +4 -0
  223. package/dist/types/components/utils/api/getLocaleMessages.d.ts +1 -1
  224. package/dist/types/components.d.ts +163 -5
  225. package/dist/types/scripts/zonosBase.d.ts +21 -2
  226. package/dist/types/types/checkout/CheckoutConfig.d.ts +7 -0
  227. package/dist/types/types/checkout/RestrictProduct.d.ts +7 -0
  228. package/dist/types/types/generated/graphql.customer.types.d.ts +54 -0
  229. package/dist/types/types/generated/graphql.customer.types.ts +66 -1
  230. package/dist/types/types/generated/graphql.frontend.types.d.ts +2 -1
  231. package/dist/types/types/generated/graphql.frontend.types.ts +2 -1
  232. package/dist/zonos-elements/assets/ExclamationMarkDuotoneIcon.svg +4 -0
  233. package/dist/zonos-elements/assets/HelpDuotoneIcon.svg +4 -0
  234. package/dist/zonos-elements/assets/WarningDuotoneIcon.svg +4 -0
  235. package/dist/zonos-elements/{p-d7acc81c.entry.js → p-020a9b86.entry.js} +1 -1
  236. package/dist/zonos-elements/{p-905d842b.entry.js → p-04030a48.entry.js} +1 -1
  237. package/dist/zonos-elements/{p-fe246229.system.entry.js → p-0d0f9694.system.entry.js} +1 -1
  238. package/dist/zonos-elements/{p-0267a969.entry.js → p-0e892292.entry.js} +1 -1
  239. package/dist/zonos-elements/{p-57adc7f8.entry.js → p-0fac99e7.entry.js} +1 -1
  240. package/dist/zonos-elements/p-1795c760.system.entry.js +1 -0
  241. package/dist/zonos-elements/{p-771fbeb3.system.js → p-1b9442f6.system.js} +1 -1
  242. package/dist/zonos-elements/{p-1ba4cf64.entry.js → p-24ac1c6f.entry.js} +1 -1
  243. package/dist/zonos-elements/p-26a60a6e.entry.js +1 -0
  244. package/dist/zonos-elements/{p-835c8928.entry.js → p-281b8bdf.entry.js} +1 -1
  245. package/dist/zonos-elements/{p-a889c1bc.entry.js → p-2af19b63.entry.js} +1 -1
  246. package/dist/zonos-elements/{p-582d8b27.entry.js → p-2ced091f.entry.js} +1 -1
  247. package/dist/zonos-elements/{p-909a331c.js → p-2f759d82.js} +1 -1
  248. package/dist/zonos-elements/p-32744531.entry.js +1 -0
  249. package/dist/zonos-elements/{p-532995a4.system.entry.js → p-35ac375a.system.entry.js} +1 -1
  250. package/dist/zonos-elements/{p-9da0562e.system.entry.js → p-3bc88c3c.system.entry.js} +1 -1
  251. package/dist/zonos-elements/{p-36a461a6.system.entry.js → p-3e26d7b3.system.entry.js} +1 -1
  252. package/dist/zonos-elements/{p-9ec93319.entry.js → p-498a0e18.entry.js} +1 -1
  253. package/dist/zonos-elements/{p-572a4de2.system.entry.js → p-4caaaaeb.system.entry.js} +1 -1
  254. package/dist/zonos-elements/{p-79f3c4f5.system.js → p-58e730b6.system.js} +1 -1
  255. package/dist/zonos-elements/{p-e7b4b756.entry.js → p-597b75f3.entry.js} +1 -1
  256. package/dist/zonos-elements/{p-6ece23b9.entry.js → p-5e783394.entry.js} +1 -1
  257. package/dist/zonos-elements/{p-87badea9.system.js → p-62ecfbcc.system.js} +1 -1
  258. package/dist/zonos-elements/{p-f99eb5e7.entry.js → p-6366e7e3.entry.js} +1 -1
  259. package/dist/zonos-elements/p-693b9985.js +1 -0
  260. package/dist/zonos-elements/{p-bf32179a.system.entry.js → p-6eda6199.system.entry.js} +1 -1
  261. package/dist/zonos-elements/{p-6dec476d.system.entry.js → p-7c8ee4b9.system.entry.js} +1 -1
  262. package/dist/zonos-elements/{p-305f27c7.entry.js → p-80442f16.entry.js} +1 -1
  263. package/dist/zonos-elements/{p-cf0f8e32.entry.js → p-80ea85b8.entry.js} +1 -1
  264. package/dist/zonos-elements/{p-679877b1.system.entry.js → p-8171d013.system.entry.js} +1 -1
  265. package/dist/zonos-elements/{p-83cc2936.js → p-8c0b4a61.js} +1 -1
  266. package/dist/zonos-elements/{p-4dca5484.system.entry.js → p-8cd6633a.system.entry.js} +1 -1
  267. package/dist/zonos-elements/p-8da16d53.system.js +1 -0
  268. package/dist/zonos-elements/p-96b8c9ba.system.entry.js +1 -0
  269. package/dist/zonos-elements/{p-f124e659.system.entry.js → p-98a0b694.system.entry.js} +1 -1
  270. package/dist/zonos-elements/{p-fd49d864.entry.js → p-9aab3ad7.entry.js} +1 -1
  271. package/dist/zonos-elements/{p-ad088d46.system.entry.js → p-9e8d38f7.system.entry.js} +1 -1
  272. package/dist/zonos-elements/{p-83fecb2a.entry.js → p-9e9c318b.entry.js} +1 -1
  273. package/dist/zonos-elements/{p-e108e5ed.system.entry.js → p-a47382ae.system.entry.js} +1 -1
  274. package/dist/zonos-elements/{p-47e00966.system.entry.js → p-b98cdf39.system.entry.js} +1 -1
  275. package/dist/zonos-elements/{p-3638e2ed.entry.js → p-bd9b2165.entry.js} +1 -1
  276. package/dist/zonos-elements/{p-ff403840.entry.js → p-c20e5430.entry.js} +1 -1
  277. package/dist/zonos-elements/{p-13ddaf31.js → p-ce347974.js} +1 -1
  278. package/dist/zonos-elements/{p-f71489e5.system.entry.js → p-d0bc8902.system.entry.js} +1 -1
  279. package/dist/zonos-elements/{p-17e265c3.system.entry.js → p-d7a939df.system.entry.js} +1 -1
  280. package/dist/zonos-elements/p-d7b8c1c1.system.entry.js +1 -0
  281. package/dist/zonos-elements/{p-163ff5b5.system.js → p-d99232c5.system.js} +1 -1
  282. package/dist/zonos-elements/p-dd0fd351.entry.js +1 -0
  283. package/dist/zonos-elements/p-e015cb0e.js +1 -0
  284. package/dist/zonos-elements/p-e0bf9666.system.js +1 -0
  285. package/dist/zonos-elements/{p-b98bdbcc.system.entry.js → p-e13bfbda.system.entry.js} +1 -1
  286. package/dist/zonos-elements/{p-239cc943.system.entry.js → p-e1fbd05d.system.entry.js} +1 -1
  287. package/dist/zonos-elements/{p-0265da6f.js → p-e553dd19.js} +1 -1
  288. package/dist/zonos-elements/p-e6fa0ebc.system.js +1 -0
  289. package/dist/zonos-elements/{p-5e33aab7.system.entry.js → p-f6546bf4.system.entry.js} +1 -1
  290. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  291. package/dist/zonos-elements/zonos-elements.js +1 -1
  292. package/package.json +13 -13
  293. package/dist/esm-es5/cart-02f5c2ea.js +0 -1
  294. package/dist/esm-es5/zonos-cart-items_9.entry.js +0 -1
  295. package/dist/zonos-elements/p-154aaf95.system.js +0 -1
  296. package/dist/zonos-elements/p-168e5b5f.system.js +0 -1
  297. package/dist/zonos-elements/p-1b8082dd.entry.js +0 -1
  298. package/dist/zonos-elements/p-246133d3.entry.js +0 -1
  299. package/dist/zonos-elements/p-54004793.system.entry.js +0 -1
  300. package/dist/zonos-elements/p-54a32fd7.entry.js +0 -1
  301. package/dist/zonos-elements/p-5d13795a.system.entry.js +0 -1
  302. package/dist/zonos-elements/p-981bf71a.js +0 -1
  303. package/dist/zonos-elements/p-e0e66004.system.js +0 -1
  304. package/dist/zonos-elements/p-ed7d251d.system.entry.js +0 -1
  305. package/dist/zonos-elements/p-f1962041.js +0 -1
@@ -149,17 +149,17 @@ export class ZonosHelloDialog {
149
149
  const defaultMessage = formatStringWithLinks(defaultMessageStr);
150
150
  const currentPage = this.getCurrentPageEnum();
151
151
  const filteredMessages = customMessages.filter(x => x.pageName === currentPage);
152
- return (h(Host, { key: 'e54181bd2c3eb1c77d5dad36c5426f4e9ddee766', class: "zonos--elements" }, h("div", { key: '3960f91898ed2409018cbac487491f38ab0b0c5e', "aria-hidden": "true", class: classes([
152
+ return (h(Host, { key: 'e6432c897bf4f7c60e69f3e4e4c356be11e61842', class: "zonos--elements" }, h("div", { key: 'd18df4158ffb6be5037251a9a665739fee6a0755', "aria-hidden": "true", class: classes([
153
153
  'zonos--hello-dialog',
154
154
  animateLeft && 'zonos--hello-dialog-animate-from-left',
155
155
  animateFromBottom && 'zonos--hello-dialog-animate-from-bottom',
156
156
  !!this.mobileLocationOverride &&
157
157
  'zonos--hello-dialog-mobile-override',
158
158
  this.isOpen && 'zonos--hello-dialog-open',
159
- ]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '69c9b9ebe1cdde7a43773eeabfa07e9bb842df14' }, h("div", { key: 'fcad53ed6962a775ec1cb325636db397f34f62b2', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '018c3ce79334f35d6f7c04143b2a1f14c068405f', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: '38e19b5e803f0fcd89adf54e95f40549c93ea511', spacing: 24 }, h("zonos-country-flag", { key: '01ea29a0de53d00c9eb49e29fb8680da92656db4', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: '7a1dd895a58fdf4e008164828e6ee7bae96723ab', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: 'a1c334ba3f4e7a15de6f14d17440faae44a26498', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'dad722c938d002eaa223ef847c86bafbe1815bdc', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '1b1d7d1e3ee671fecba8ec2731ffb0f4356af1e7', spacing: 8 }, this.restrictedItems.map(item => {
159
+ ]), ref: el => el && (this.dialogRef = el) }, !this.showCountrySelect && !this.showLanguageSelect && (h("div", { key: '1266216272683cb9f7086190686551df57ad8741' }, h("div", { key: 'ab2cb53cd0cc4c33002ae19925e8c32ebf94e426', class: "zonos--hello-dialog-content" }, h("zonos-button", { key: '9d973abe25de4a7e18f3bf588b6f0247b8edc96d', class: "zonos--close-button", icon: h("zonos-icon", { "aria-label": "Close Zonos Hello dialog", content: RemoveIcon }), noBackground: true, onClick: () => this.setIsOpen(false) }), h("zonos-v-stack", { key: 'cb8eb025500c0a4eed79e690e67edc418dc6c1e1', spacing: 24 }, h("zonos-country-flag", { key: '3ceddaa0d44d9c0779124a7ea199cf12a763d82c', class: "zonos--hello-country-flag", countryCode: selectedCountryCode }), h("zonos-v-stack", { key: 'd49da8684213be9ceb686428343247d0387e61e5', class: "zonos--hello-dialog-header", spacing: 4 }, h("zonos-text", { key: '1edc2747b7760479916276ddcaf3461cc5678461', type: "boldSubheader" }, welcomeMessage), h("zonos-text", { key: 'fbb00b765b4a29230db98253c72c320e02a5fccf', innerHTML: defaultMessage, textColor: "gray-800" })), h("zonos-v-stack", { key: '0614fbd574c7832e6dee73b3e26c659c2679b714', spacing: 8 }, this.restrictedItems.map(item => {
160
160
  var _a;
161
161
  return item && (h("zonos-banner", { bannerTitle: item.name, intent: "error" }, (_a = item.itemRestrictions) === null || _a === void 0 ? void 0 : _a.map(x => (h("zonos-text", { textColor: "red-800" }, x === null || x === void 0 ? void 0 : x.note)))));
162
- }), h("zonos-card", { key: '0bef1474f44e1a60c48845562f455bfb214bcc80', spacing: "12px" }, h("zonos-v-stack", { key: '5d65f0de1641b30119463da8b42622805fef4f9b', spacing: 12 }, h("div", { key: 'f752d5a9738490220fd4c98615bc7416d38cc2d1', class: "zonos--flex-message" }, h("zonos-icon", { key: '7a9ac42800b0d35a18cc13bd611d79acd20244cf', "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", { key: '3d31748fcd4c718326ff62ea2e97088d8ab1ed3e' }, dutyDeMinimisMessage)), h("div", { key: '699d72e9efc630452bf947be8f0e44ca09819cfe', class: "zonos--flex-message" }, h("zonos-icon", { key: 'e997263930e53e22c3a4e8dd5f20e1ee3cd695e4', "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", { key: 'e1c2a5ee2718a5446a63c2b8d547848e262817f0' }, taxDeMinimisMessage)), additionalInformation && (h("div", { key: '8522ab846d9733fb8ffd3b9873e8b9650aa63b58', class: "zonos--flex-message" }, h("zonos-icon", { key: '20cb281304b9839fe7f30685949af2aa3af9721d', "aria-label": "Low value order shipping restriction", content: BagIcon }), h("zonos-text", { key: '9347d34c8fbfd9bf04ba2b6d79186263b524c2a8' }, additionalInformation))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: 'a6980cae6e361ae1f5b00ec4827127422adee301', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: 'be7793fb262c395ae96fa6acfe0c14fbf062b1c9' }, h("zonos-country-select", { key: '2224aade7391512826b4b9c46bd826f013945f83', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '006ac0317c9a7911c1e48f7c30f66b3e8882f6d6' }, h("zonos-language-select", { key: '1577f733b5556e7683b6c74dc111e99c77ba0649', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
162
+ }), h("zonos-card", { key: '05ec570de14760e8a07d9bfa7a0fca6def3bfe4b', spacing: "12px" }, h("zonos-v-stack", { key: '9b5c301c737c784bd4e7738080fe90dfc0c82bb5', spacing: 12 }, h("div", { key: '5c3691d22fefcab028c4836d2ce774609789e9f3', class: "zonos--flex-message" }, h("zonos-icon", { key: '9a498a80b3c3652f9aec2e409d30acd09b983397', "aria-label": "Duty de minimis", content: ImportIcon }), h("zonos-text", { key: 'c7b0323a0f4704a5ee29b4275cab60e7390f1f9a' }, dutyDeMinimisMessage)), h("div", { key: '5910f4b782a28777fb6fa41ae9399dfae3a8cee8', class: "zonos--flex-message" }, h("zonos-icon", { key: 'ed57f0c4e985332568c0197506ba6b07c2da5b34', "aria-label": "Tax de minimis", content: MoneyIcon }), h("zonos-text", { key: '72727be7a47c98b2b6105532d3370fbc05bfca3e' }, taxDeMinimisMessage)), additionalInformation && (h("div", { key: 'f802df72c31a9031ae737a2d2b461482354d21d8', class: "zonos--flex-message" }, h("zonos-icon", { key: '66ac284793d67089e46671aff79691f025abbc31', "aria-label": "Low value order shipping restriction", content: BagIcon }), h("zonos-text", { key: '9931ab1b57336d4d4326d8f52975566638340e01' }, additionalInformation))))), filteredMessages.map(x => (h("zonos-custom-message", { icon: MessageIcon, message: x.message })))))), h("zonos-hello-dialog-footer", { key: '81576154c1db509ea3a9f8dfbe0dfb811f49b495', appearanceSettings: this.appearanceSettings, setShowCountrySelect: value => this.setShowCountrySelect(value), setShowLanguageSelect: value => this.setShowLanguageSelect(value) }))), this.showCountrySelect && (h("div", { key: 'e9109f275db0fbd9baca229af1004de0497753d8' }, h("zonos-country-select", { key: '8ac0328e65ae7346ebe024e7bd735afdd506d120', handleOnClose: () => this.setShowCountrySelect(false) }))), this.showLanguageSelect && (h("div", { key: '5ea929a6f391b6f00d0da0e462239bff5f0550d2' }, h("zonos-language-select", { key: 'f59d0da0cb849f1bfe77184d10a713ef6b25f225', handleOnClose: () => this.setShowLanguageSelect(false) }))))));
163
163
  }
164
164
  static get is() { return "zonos-hello-dialog"; }
165
165
  static get encapsulation() { return "shadow"; }
@@ -152,7 +152,7 @@ export class ZonosController {
152
152
  zonosStore.organizationName = organizationName;
153
153
  }
154
154
  render() {
155
- return h(Host, { key: 'c607814c97ec998ef3e56ccdb28ef0369daf9ff3', class: "zonos--elements" });
155
+ return h(Host, { key: '129317aa410d96319846670a1aaae29490993b19', class: "zonos--elements" });
156
156
  }
157
157
  static get is() { return "zonos-controller"; }
158
158
  static get encapsulation() { return "shadow"; }
@@ -173,7 +173,7 @@ export class ZonosController {
173
173
  "mutable": false,
174
174
  "complexType": {
175
175
  "original": "LoadZonosParamsConfig",
176
- "resolved": "{ appearance?: Partial<AppearanceConfig> | undefined; checkoutSettings?: Partial<CheckoutConfig> | undefined; currencyConverter?: CurrencyConverter | undefined; helloSettings?: Partial<HelloConfig> | undefined; }",
176
+ "resolved": "{ appearance?: Partial<AppearanceConfig> | undefined; checkoutSettings?: Partial<CheckoutConfig> | undefined; currencyConverter?: CurrencyConverter | undefined; helloSettings?: Partial<HelloConfig> | undefined; onCountryChange?: ((props: { countryCode: CountryCode; currencyCode: CurrencyCode; }) => void) | undefined; }",
177
177
  "references": {
178
178
  "LoadZonosParamsConfig": {
179
179
  "location": "import",
@@ -306,7 +306,7 @@ export class ZonosController {
306
306
  "signature": "(config: LoadZonosParamsConfig) => Promise<void>",
307
307
  "parameters": [{
308
308
  "name": "config",
309
- "type": "{ appearance?: Partial<AppearanceConfig> | undefined; checkoutSettings?: Partial<CheckoutConfig> | undefined; currencyConverter?: CurrencyConverter | undefined; helloSettings?: Partial<HelloConfig> | undefined; }",
309
+ "type": "{ appearance?: Partial<AppearanceConfig> | undefined; checkoutSettings?: Partial<CheckoutConfig> | undefined; currencyConverter?: CurrencyConverter | undefined; helloSettings?: Partial<HelloConfig> | undefined; onCountryChange?: ((props: { countryCode: CountryCode; currencyCode: CurrencyCode; }) => void) | undefined; }",
310
310
  "docs": "config that need to override the default setting"
311
311
  }],
312
312
  "references": {
@@ -17,6 +17,7 @@ const { onChange, reset, state: cartStore, } = createStore(() => ({
17
17
  isSelectedShippingGuarantee: false,
18
18
  items: [],
19
19
  landedCostData: null,
20
+ restrictedItems: [],
20
21
  selectedLandedCost: null,
21
22
  selectedShippingOption: null,
22
23
  selectedShippingOptionExpectedDate: '',
@@ -73,6 +74,39 @@ const cartStoreGetShippingTransitInfo = (item) => {
73
74
  minTransit,
74
75
  };
75
76
  };
77
+ const getMatchItem = ({ item1, item2, }) => {
78
+ if (!item1 || !item2) {
79
+ return false;
80
+ }
81
+ return ((item2.sku && item1.sku && item1.sku === item2.sku) ||
82
+ (item2.description &&
83
+ item1.description &&
84
+ item1.description === item2.description) ||
85
+ (item1.name && item2.name && item1.name === item2.name));
86
+ };
87
+ /**
88
+ * Check and set restricted items in cart
89
+ */
90
+ const cartStoreCheckItemRestrictions = (itemsWorkflow) => {
91
+ log('Checking item restrictions');
92
+ const mappedRestrictedItems = itemsWorkflow
93
+ .map(item => {
94
+ if (!item.restriction) {
95
+ return null;
96
+ }
97
+ const { restriction } = item;
98
+ const matchedItem = cartStore.items.find(x => getMatchItem({ item1: x, item2: item }));
99
+ return Object.assign(Object.assign({ matchedItem }, item), { restriction });
100
+ })
101
+ .filter(Boolean);
102
+ cartStore.restrictedItems = mappedRestrictedItems;
103
+ // remove items that are restricted from cart
104
+ cartStore.items = cartStore.items.map(item => (Object.assign(Object.assign({}, item), { isRestricted: !!mappedRestrictedItems.find(x => getMatchItem({ item1: x, item2: item })) })));
105
+ return {
106
+ cartItems: cartStore.items,
107
+ restrictedItems: mappedRestrictedItems,
108
+ };
109
+ };
76
110
  const cartStoreReset = () => {
77
111
  sessionStorage.removeItem('zonos--checkout-session-id');
78
112
  // reset cart store
@@ -95,6 +129,16 @@ const cartStoreApplySubtotals = (subtotals) => {
95
129
  cartStore.total = subtotals.total;
96
130
  cartStore.currency = subtotals.presentmentCurrencyCode;
97
131
  };
132
+ /**
133
+ * Detect if there are any items in cart that are not restricted and have positive amount, exclude negative amount items
134
+ */
135
+ const cartStoreHasOneEligibleItem = () => {
136
+ // filter all items with positive amount
137
+ const checkItems = cartStore.items.filter(item => item.amount > 0);
138
+ // only check restricted status for items with positive amount
139
+ // if there is no item restricted found => all items are restricted
140
+ return !!checkItems.find(item => !item.isRestricted);
141
+ };
98
142
  const cartStoreReCalculateTotal = async ({ currency, itemsAmount, landedCostId, }) => {
99
143
  if (landedCostId && cartStore.selectedLandedCost) {
100
144
  // update cart total right away if we have landed cost id to avoid order total flickering
@@ -175,11 +219,17 @@ onChange('checkoutSessionId', () => {
175
219
  }
176
220
  sessionStorage.setItem('zonos--checkout-session-id', cartStore.checkoutSessionId);
177
221
  });
178
- const cartStoreUpdateItems = async (items) => {
222
+ const getCartItemToUse = (items) => items.map(item => (Object.assign(Object.assign({}, item), { isRestricted: false })));
223
+ const cartStoreResetCartItems = () => {
224
+ // mark all items as not restricted
225
+ cartStore.items = cartStore.items.map(item => (Object.assign(Object.assign({}, item), { isRestricted: false })));
226
+ cartStore.restrictedItems = [];
227
+ };
228
+ const cartStoreUpdateItems = async (cartItems) => {
179
229
  var _a;
180
- cartStore.items = items;
181
- const currency = (_a = items.find(Boolean)) === null || _a === void 0 ? void 0 : _a.currencyCode;
182
- const total = items.reduce((amt, item) => {
230
+ cartStore.items = getCartItemToUse(cartItems);
231
+ const currency = (_a = cartItems.find(Boolean)) === null || _a === void 0 ? void 0 : _a.currencyCode;
232
+ const total = cartItems.reduce((amt, item) => {
183
233
  return amt + item.amount * item.quantity;
184
234
  }, 0);
185
235
  if (!currency || !total) {
@@ -226,4 +276,4 @@ const cartStoreResetTabItems = () => {
226
276
  cartStore.tabItems = Object.assign(Object.assign({}, cartStore.tabItems), { 'customer-info': Object.assign(Object.assign({}, cartStore.tabItems['customer-info']), { isDone: false }), payment: Object.assign(Object.assign({}, cartStore.tabItems.payment), { isDone: false }), shipping: Object.assign(Object.assign({}, cartStore.tabItems.shipping), { isDone: false }) });
227
277
  cartStoreResetSelectedShippingOption();
228
278
  };
229
- export { cartStore, cartStoreApplySubtotals, cartStoreGetShippingTransitInfo, cartStoreNextStep, cartStoreReCalculateTotal, cartStoreReset, cartStoreResetTabItems, cartStoreUpdateItems, cartStoreUpdateSelectedShippingOption, cartStoreUpdateToErrorState, };
279
+ export { cartStore, cartStoreApplySubtotals, cartStoreCheckItemRestrictions, cartStoreGetShippingTransitInfo, cartStoreHasOneEligibleItem, cartStoreNextStep, cartStoreReCalculateTotal, cartStoreReset, cartStoreResetCartItems, cartStoreResetTabItems, cartStoreUpdateItems, cartStoreUpdateSelectedShippingOption, cartStoreUpdateToErrorState, };
@@ -1,5 +1,5 @@
1
1
  import { createStore } from "@stencil/store";
2
- import { cartStore, cartStoreApplySubtotals, } from "./cart";
2
+ import { cartStore, cartStoreApplySubtotals, cartStoreCheckItemRestrictions, cartStoreResetCartItems, } from "./cart";
3
3
  import { localizationStore } from "../hello/localization";
4
4
  import { translate } from "../translationStore";
5
5
  import { zonosStore } from "../zonosStore";
@@ -193,7 +193,9 @@ const stripeStorePrefetchLandedCost = async () => {
193
193
  try {
194
194
  const abortController = new AbortController();
195
195
  stripeStore.fetchingLandedCostAbordController = abortController;
196
- const { checkoutSessionWorkflow, landedCostCalculateWorkflow, shipmentRatingCalculateWorkflow, } = await calculateLandedCost(abortController);
196
+ // Reset cart items to non-restricted state and restricted item list
197
+ cartStoreResetCartItems();
198
+ const { checkoutSessionWorkflow, itemCreateWorkflow, landedCostCalculateWorkflow, shipmentRatingCalculateWorkflow, } = await calculateLandedCost(abortController);
197
199
  // reset abort controller after we are done
198
200
  stripeStore.fetchingLandedCostAbordController = null;
199
201
  // update cart store with landed cost info
@@ -212,6 +214,8 @@ const stripeStorePrefetchLandedCost = async () => {
212
214
  const subtotals = !!firstLandedCostData
213
215
  ? firstLandedCostData.subtotals
214
216
  : null;
217
+ // check and update cart items with restrictions
218
+ cartStoreCheckItemRestrictions(itemCreateWorkflow);
215
219
  if (subtotals) {
216
220
  // prefetch landed cost will not update shipping and taxes since we haven't selected shipping method yet
217
221
  cartStoreApplySubtotals({
@@ -90,7 +90,7 @@ const getOverrideLocale = () => {
90
90
  return zonosLocale;
91
91
  };
92
92
  const localizationStoreUpdateSelectedCountryCode = (newSelectedCountryCode) => {
93
- var _a;
93
+ var _a, _b;
94
94
  log('update selected country code');
95
95
  localizationStore.selectedCountryCode = newSelectedCountryCode;
96
96
  const { selectedCountryCode, shippingZoneCountries } = localizationStore;
@@ -116,6 +116,11 @@ const localizationStoreUpdateSelectedCountryCode = (newSelectedCountryCode) => {
116
116
  setZCountryUrlParam(selectedCountryCode);
117
117
  (_a = document
118
118
  .querySelector('zonos-hello')) === null || _a === void 0 ? void 0 : _a.setAttribute('z-country', selectedCountryCode);
119
+ // Trigger callback onCountryChange
120
+ (_b = zonosStore.onCountryChange) === null || _b === void 0 ? void 0 : _b.call(zonosStore, {
121
+ countryCode: selectedCountryCode,
122
+ currencyCode,
123
+ });
119
124
  };
120
125
  const initLocalizationStore = async () => {
121
126
  // all countries from countries.json, shipping zone and localization
@@ -134,7 +139,12 @@ const initLocalizationStore = async () => {
134
139
  const overrideLocale = getOverrideLocale();
135
140
  localizationStore.selectedLocale = overrideLocale || locale || 'en';
136
141
  translationStoreUpdateLanguage(localizationStore.selectedLocale);
137
- const devSites = ['dev.elements', 'dev.dashboard'];
142
+ const devSites = [
143
+ 'dev.storybook.elements',
144
+ 'dev.elements',
145
+ 'dev.demo.elements',
146
+ 'dev.dashboard',
147
+ ];
138
148
  // If the country code is not set, set it to the US for development (vercel can't get geo country in dev)
139
149
  if (!localizationStore.selectedCountryCode &&
140
150
  devSites.some(site => window.location.origin.includes(site))) {
@@ -17,6 +17,9 @@ export const stringsArabic = {
17
17
  'Address line 2': {
18
18
  value: 'سطر العنوان 2',
19
19
  },
20
+ 'Are you sure?': {
21
+ value: 'هل أنت متأكد؟',
22
+ },
20
23
  Back: {
21
24
  value: 'رجوع',
22
25
  },
@@ -35,6 +38,9 @@ export const stringsArabic = {
35
38
  City: {
36
39
  value: 'مدينة',
37
40
  },
41
+ Close: {
42
+ value: 'أغلق',
43
+ },
38
44
  Contact: {
39
45
  value: 'اتصل بنا',
40
46
  },
@@ -56,6 +62,9 @@ export const stringsArabic = {
56
62
  'Delivery options': {
57
63
  value: 'خيارات التوصيل',
58
64
  },
65
+ "Don't close": {
66
+ value: 'لا تغلق',
67
+ },
59
68
  'Duties and taxes will be applied to items and shipping.': {
60
69
  value: 'سيتم تطبيق الرسوم والضرائب على العناصر والشحن.',
61
70
  },
@@ -86,6 +95,9 @@ export const stringsArabic = {
86
95
  Guaranteed: {
87
96
  value: 'مضمون',
88
97
  },
98
+ Hide: {
99
+ value: 'اخفِ',
100
+ },
89
101
  'Keep shopping': {
90
102
  value: 'متابعة التسوق',
91
103
  },
@@ -182,6 +194,9 @@ export const stringsArabic = {
182
194
  'Shipping method': {
183
195
  value: 'طريقة الشحن',
184
196
  },
197
+ Show: {
198
+ value: 'عرض',
199
+ },
185
200
  'Something went wrong.': {
186
201
  value: 'حدث خطأ ما.',
187
202
  },
@@ -197,6 +212,9 @@ export const stringsArabic = {
197
212
  'Taxes will apply to all orders': {
198
213
  value: 'ستنطبق الضرائب على جميع الطلبات',
199
214
  },
215
+ 'The following items are unable to be shipped to your country and are not included in your cart total.': {
216
+ value: 'العناصر التالية لا يمكن شحنها إلى بلدك ولا تُضاف إلى إجمالي سلة مشترياتك.',
217
+ },
200
218
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
201
219
  value: 'حدث خطأ في إنشاء جلسة الخروج الخاصة بك. يرجى إعادة التحميل والمحاولة مرة أخرى أو الاتصال بالدعم إذا استمر الخطأ',
202
220
  },
@@ -230,6 +248,9 @@ export const stringsArabic = {
230
248
  'What you entered': {
231
249
  value: 'ما أدخلته',
232
250
  },
251
+ 'Would you like to close checkout and return to the site?': {
252
+ value: 'هل ترغب في إغلاق عملية الدفع والعودة إلى الموقع؟',
253
+ },
233
254
  "You're all set!": {
234
255
  value: 'أنت جاهز!',
235
256
  },
@@ -245,6 +266,9 @@ export const stringsArabic = {
245
266
  'duty free': {
246
267
  value: 'معفى من الرسوم',
247
268
  },
269
+ 'restricted items': {
270
+ value: 'عناصر مقيدة',
271
+ },
248
272
  'tax free': {
249
273
  value: 'معفى من الضرائب',
250
274
  },
@@ -17,6 +17,9 @@ export const stringsBase = {
17
17
  'Address line 2': {
18
18
  value: 'Address line 2',
19
19
  },
20
+ 'Are you sure?': {
21
+ value: 'Are you sure?',
22
+ },
20
23
  Back: {
21
24
  value: 'Back',
22
25
  },
@@ -35,6 +38,9 @@ export const stringsBase = {
35
38
  City: {
36
39
  value: 'City',
37
40
  },
41
+ Close: {
42
+ value: 'Close',
43
+ },
38
44
  Contact: {
39
45
  value: 'Contact',
40
46
  },
@@ -56,6 +62,9 @@ export const stringsBase = {
56
62
  'Delivery options': {
57
63
  value: 'Delivery options',
58
64
  },
65
+ "Don't close": {
66
+ value: "Don't close",
67
+ },
59
68
  'Duties and taxes will be applied to items and shipping.': {
60
69
  value: 'Duties and taxes will be applied to items and shipping.',
61
70
  },
@@ -86,6 +95,9 @@ export const stringsBase = {
86
95
  Guaranteed: {
87
96
  value: 'Guaranteed',
88
97
  },
98
+ Hide: {
99
+ value: 'Hide',
100
+ },
89
101
  'Keep shopping': {
90
102
  value: 'Keep shopping',
91
103
  },
@@ -182,6 +194,9 @@ export const stringsBase = {
182
194
  'Shipping method': {
183
195
  value: 'Shipping method',
184
196
  },
197
+ Show: {
198
+ value: 'Show',
199
+ },
185
200
  'Something went wrong.': {
186
201
  value: 'Something went wrong.',
187
202
  },
@@ -197,6 +212,9 @@ export const stringsBase = {
197
212
  'Taxes will apply to all orders': {
198
213
  value: 'Taxes will apply to all orders',
199
214
  },
215
+ 'The following items are unable to be shipped to your country and are not included in your cart total.': {
216
+ value: 'The following items are unable to be shipped to your country and are not included in your cart total.',
217
+ },
200
218
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
201
219
  value: "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists",
202
220
  },
@@ -230,6 +248,9 @@ export const stringsBase = {
230
248
  'What you entered': {
231
249
  value: 'What you entered',
232
250
  },
251
+ 'Would you like to close checkout and return to the site?': {
252
+ value: 'Would you like to close checkout and return to the site?',
253
+ },
233
254
  "You're all set!": {
234
255
  value: "You're all set!",
235
256
  },
@@ -245,6 +266,9 @@ export const stringsBase = {
245
266
  'duty free': {
246
267
  value: 'duty free',
247
268
  },
269
+ 'restricted items': {
270
+ value: 'restricted items',
271
+ },
248
272
  'tax free': {
249
273
  value: 'tax free',
250
274
  },
@@ -17,6 +17,9 @@ export const stringsChinese = {
17
17
  'Address line 2': {
18
18
  value: '地址行2',
19
19
  },
20
+ 'Are you sure?': {
21
+ value: '你确定吗?',
22
+ },
20
23
  Back: {
21
24
  value: '返回',
22
25
  },
@@ -35,6 +38,9 @@ export const stringsChinese = {
35
38
  City: {
36
39
  value: '城市',
37
40
  },
41
+ Close: {
42
+ value: '关闭',
43
+ },
38
44
  Contact: {
39
45
  value: '联系方式',
40
46
  },
@@ -56,6 +62,9 @@ export const stringsChinese = {
56
62
  'Delivery options': {
57
63
  value: '送货选项',
58
64
  },
65
+ "Don't close": {
66
+ value: '不要关',
67
+ },
59
68
  'Duties and taxes will be applied to items and shipping.': {
60
69
  value: '商品和运费将征收关税和税款。',
61
70
  },
@@ -86,6 +95,9 @@ export const stringsChinese = {
86
95
  Guaranteed: {
87
96
  value: '保证',
88
97
  },
98
+ Hide: {
99
+ value: '隐藏',
100
+ },
89
101
  'Keep shopping': {
90
102
  value: '继续购物',
91
103
  },
@@ -182,6 +194,9 @@ export const stringsChinese = {
182
194
  'Shipping method': {
183
195
  value: '运输方式',
184
196
  },
197
+ Show: {
198
+ value: '显示',
199
+ },
185
200
  'Something went wrong.': {
186
201
  value: '出了些问题。',
187
202
  },
@@ -197,6 +212,9 @@ export const stringsChinese = {
197
212
  'Taxes will apply to all orders': {
198
213
  value: '税款将适用于所有订单',
199
214
  },
215
+ 'The following items are unable to be shipped to your country and are not included in your cart total.': {
216
+ value: '以下商品无法运送至您的国家,并且不包括在您购物车的总额中。',
217
+ },
200
218
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
201
219
  value: '创建您的结账会话时出现错误。如果错误仍然存在,请重新加载页面并重试,或联系支持',
202
220
  },
@@ -230,6 +248,9 @@ export const stringsChinese = {
230
248
  'What you entered': {
231
249
  value: '您输入的内容',
232
250
  },
251
+ 'Would you like to close checkout and return to the site?': {
252
+ value: '您要关闭结帐并返回网站吗?',
253
+ },
233
254
  "You're all set!": {
234
255
  value: '您已完成设置!',
235
256
  },
@@ -245,6 +266,9 @@ export const stringsChinese = {
245
266
  'duty free': {
246
267
  value: '免征关税',
247
268
  },
269
+ 'restricted items': {
270
+ value: '限制物品',
271
+ },
248
272
  'tax free': {
249
273
  value: '免税',
250
274
  },
@@ -17,6 +17,9 @@ export const stringsDanish = {
17
17
  'Address line 2': {
18
18
  value: 'Adresse linje 2',
19
19
  },
20
+ 'Are you sure?': {
21
+ value: 'Er du sikker?',
22
+ },
20
23
  Back: {
21
24
  value: 'Tilbage',
22
25
  },
@@ -35,6 +38,9 @@ export const stringsDanish = {
35
38
  City: {
36
39
  value: 'By',
37
40
  },
41
+ Close: {
42
+ value: 'Lukke',
43
+ },
38
44
  Contact: {
39
45
  value: 'Kontakt',
40
46
  },
@@ -56,6 +62,9 @@ export const stringsDanish = {
56
62
  'Delivery options': {
57
63
  value: 'Leveringsmuligheder',
58
64
  },
65
+ "Don't close": {
66
+ value: 'Luk ikke',
67
+ },
59
68
  'Duties and taxes will be applied to items and shipping.': {
60
69
  value: 'Told og skatter vil blive pålagt varer og fragt.',
61
70
  },
@@ -86,6 +95,9 @@ export const stringsDanish = {
86
95
  Guaranteed: {
87
96
  value: 'Garanteret',
88
97
  },
98
+ Hide: {
99
+ value: 'Skjul',
100
+ },
89
101
  'Keep shopping': {
90
102
  value: 'Fortsæt med at handle',
91
103
  },
@@ -182,6 +194,9 @@ export const stringsDanish = {
182
194
  'Shipping method': {
183
195
  value: 'Leveringsmetode',
184
196
  },
197
+ Show: {
198
+ value: 'Vis',
199
+ },
185
200
  'Something went wrong.': {
186
201
  value: 'Noget gik galt.',
187
202
  },
@@ -197,6 +212,9 @@ export const stringsDanish = {
197
212
  'Taxes will apply to all orders': {
198
213
  value: 'Skatter vil gælde for alle ordrer',
199
214
  },
215
+ 'The following items are unable to be shipped to your country and are not included in your cart total.': {
216
+ value: 'De følgende varer kan ikke sendes til dit land og er ikke inkluderet i din kurvs total.',
217
+ },
200
218
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
201
219
  value: 'Der opstod en fejl under oprettelsen af din betalingssession. Genindlæs venligst og prøv igen eller kontakt support, hvis fejlen fortsætter',
202
220
  },
@@ -230,6 +248,9 @@ export const stringsDanish = {
230
248
  'What you entered': {
231
249
  value: 'Det, du indtastede',
232
250
  },
251
+ 'Would you like to close checkout and return to the site?': {
252
+ value: 'Vil du lukke kassen og vende tilbage til siden?',
253
+ },
233
254
  "You're all set!": {
234
255
  value: 'Du er klar til at gå!',
235
256
  },
@@ -245,6 +266,9 @@ export const stringsDanish = {
245
266
  'duty free': {
246
267
  value: 'toldfrit',
247
268
  },
269
+ 'restricted items': {
270
+ value: 'begrænsede genstande',
271
+ },
248
272
  'tax free': {
249
273
  value: 'skattefrit',
250
274
  },
@@ -17,6 +17,9 @@ export const stringsDutch = {
17
17
  'Address line 2': {
18
18
  value: 'Adreslijn 2',
19
19
  },
20
+ 'Are you sure?': {
21
+ value: 'Weet je het zeker?',
22
+ },
20
23
  Back: {
21
24
  value: 'Terug',
22
25
  },
@@ -35,6 +38,9 @@ export const stringsDutch = {
35
38
  City: {
36
39
  value: 'Stad',
37
40
  },
41
+ Close: {
42
+ value: 'Sluiten',
43
+ },
38
44
  Contact: {
39
45
  value: 'Contact',
40
46
  },
@@ -56,6 +62,9 @@ export const stringsDutch = {
56
62
  'Delivery options': {
57
63
  value: 'Bezorgopties',
58
64
  },
65
+ "Don't close": {
66
+ value: 'Niet sluiten',
67
+ },
59
68
  'Duties and taxes will be applied to items and shipping.': {
60
69
  value: 'Belastingen en heffingen worden toegepast op artikelen en verzending.',
61
70
  },
@@ -86,6 +95,9 @@ export const stringsDutch = {
86
95
  Guaranteed: {
87
96
  value: 'Gegarandeerd',
88
97
  },
98
+ Hide: {
99
+ value: 'Verbergen',
100
+ },
89
101
  'Keep shopping': {
90
102
  value: 'Blijf winkelen',
91
103
  },
@@ -182,6 +194,9 @@ export const stringsDutch = {
182
194
  'Shipping method': {
183
195
  value: 'Verzendmethode',
184
196
  },
197
+ Show: {
198
+ value: 'Tonen',
199
+ },
185
200
  'Something went wrong.': {
186
201
  value: 'Er is iets misgegaan.',
187
202
  },
@@ -197,6 +212,9 @@ export const stringsDutch = {
197
212
  'Taxes will apply to all orders': {
198
213
  value: 'Belastingen gelden voor alle bestellingen',
199
214
  },
215
+ 'The following items are unable to be shipped to your country and are not included in your cart total.': {
216
+ value: 'De volgende artikelen kunnen niet naar uw land worden verzonden en zijn niet opgenomen in het totaal van uw winkelwagen.',
217
+ },
200
218
  "There's been an error creating your checkout session. Please reload and try again or contact support if the error persists": {
201
219
  value: 'Er is een fout opgetreden bij het maken van uw afrekeningsessie. Vernieuw de pagina en probeer het opnieuw of neem contact op met de ondersteuning als de fout aanhoudt',
202
220
  },
@@ -230,6 +248,9 @@ export const stringsDutch = {
230
248
  'What you entered': {
231
249
  value: 'Wat u heeft ingevoerd',
232
250
  },
251
+ 'Would you like to close checkout and return to the site?': {
252
+ value: 'Wilt u de kassa sluiten en terugkeren naar de site?',
253
+ },
233
254
  "You're all set!": {
234
255
  value: 'Je bent helemaal klaar!',
235
256
  },
@@ -245,6 +266,9 @@ export const stringsDutch = {
245
266
  'duty free': {
246
267
  value: 'heffingvrij',
247
268
  },
269
+ 'restricted items': {
270
+ value: 'beperkte items',
271
+ },
248
272
  'tax free': {
249
273
  value: 'belastingvrij',
250
274
  },