@zonos/elements 1.3.238 → 1.3.240

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 (194) hide show
  1. package/dist/cjs/{cart-e435a549.js → cart-7af808b1.js} +6 -2
  2. package/dist/cjs/{hasInclusivePrice-06d35d3c.js → hasInclusivePrice-2e306ea5.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/{invoice-fc7bef1e.js → invoice-fee18918.js} +2 -2
  5. package/dist/cjs/{isCollectMobileTablet-aeeb0401.js → isCollectMobileTablet-a58f7b70.js} +2 -2
  6. package/dist/cjs/{localization-98db6c18.js → localization-08aa03da.js} +60 -0
  7. package/dist/cjs/{paypal-a7bb03b5.js → paypal-174fca15.js} +2 -2
  8. package/dist/cjs/{placeTestOrder-6d99608b.js → placeTestOrder-a786d83a.js} +2 -2
  9. package/dist/cjs/{renderCheckoutCurrency-530fb636.js → renderCheckoutCurrency-112ab5d2.js} +2 -2
  10. package/dist/cjs/zonos-address-display_9.cjs.entry.js +2 -2
  11. package/dist/cjs/zonos-address_4.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-card_5.cjs.entry.js +8 -6
  13. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +6 -6
  14. package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
  15. package/dist/cjs/zonos-collect-cart-items_3.cjs.entry.js +2 -2
  16. package/dist/cjs/zonos-collect-finish_6.cjs.entry.js +6 -6
  17. package/dist/cjs/zonos-collect.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-controller.cjs.entry.js +2 -2
  19. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  20. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  21. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +2 -2
  22. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  23. package/dist/cjs/zonos-invoice-cart-items_2.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-invoice-finish_5.cjs.entry.js +6 -6
  25. package/dist/cjs/zonos-invoice.cjs.entry.js +4 -4
  26. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  27. package/dist/collection/components/store/checkout/stripe.js +6 -1
  28. package/dist/collection/components/store/translationStore/strings.arabic.js +3 -0
  29. package/dist/collection/components/store/translationStore/strings.base.js +3 -0
  30. package/dist/collection/components/store/translationStore/strings.chinese.js +3 -0
  31. package/dist/collection/components/store/translationStore/strings.danish.js +3 -0
  32. package/dist/collection/components/store/translationStore/strings.dutch.js +3 -0
  33. package/dist/collection/components/store/translationStore/strings.french.js +3 -0
  34. package/dist/collection/components/store/translationStore/strings.german.js +3 -0
  35. package/dist/collection/components/store/translationStore/strings.hebrew.js +3 -0
  36. package/dist/collection/components/store/translationStore/strings.indonesian.js +3 -0
  37. package/dist/collection/components/store/translationStore/strings.italian.js +3 -0
  38. package/dist/collection/components/store/translationStore/strings.japanese.js +3 -0
  39. package/dist/collection/components/store/translationStore/strings.korean.js +3 -0
  40. package/dist/collection/components/store/translationStore/strings.norwegian.js +3 -0
  41. package/dist/collection/components/store/translationStore/strings.polish.js +3 -0
  42. package/dist/collection/components/store/translationStore/strings.portuguese.js +3 -0
  43. package/dist/collection/components/store/translationStore/strings.russian.js +3 -0
  44. package/dist/collection/components/store/translationStore/strings.spanish.js +3 -0
  45. package/dist/collection/components/store/translationStore/strings.swedish.js +3 -0
  46. package/dist/collection/components/store/translationStore/strings.turkish.js +3 -0
  47. package/dist/collection/components/store/translationStore/strings.vietnamese.js +3 -0
  48. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +5 -3
  49. package/dist/collection/types/generated/graphql.frontend.types.js +4 -0
  50. package/dist/collection/types/generated/graphql.internal.types.js +387 -0
  51. package/dist/esm/{cart-d802d953.js → cart-d36150df.js} +6 -2
  52. package/dist/esm/{hasInclusivePrice-0285118a.js → hasInclusivePrice-736c9eec.js} +1 -1
  53. package/dist/esm/index.js +7 -7
  54. package/dist/esm/{invoice-888ae8c9.js → invoice-5cd8aeb3.js} +2 -2
  55. package/dist/esm/{isCollectMobileTablet-028f8611.js → isCollectMobileTablet-920988d6.js} +2 -2
  56. package/dist/esm/{localization-8f12d460.js → localization-285da14c.js} +60 -0
  57. package/dist/esm/{paypal-9b9e6231.js → paypal-fc00bbbe.js} +2 -2
  58. package/dist/esm/{placeTestOrder-42778584.js → placeTestOrder-153e0173.js} +2 -2
  59. package/dist/esm/{renderCheckoutCurrency-db3ce341.js → renderCheckoutCurrency-1be32173.js} +2 -2
  60. package/dist/esm/zonos-address-display_9.entry.js +2 -2
  61. package/dist/esm/zonos-address_4.entry.js +2 -2
  62. package/dist/esm/zonos-card_5.entry.js +8 -6
  63. package/dist/esm/zonos-cart-items_12.entry.js +6 -6
  64. package/dist/esm/zonos-checkout.entry.js +3 -3
  65. package/dist/esm/zonos-collect-cart-items_3.entry.js +2 -2
  66. package/dist/esm/zonos-collect-finish_6.entry.js +6 -6
  67. package/dist/esm/zonos-collect.entry.js +4 -4
  68. package/dist/esm/zonos-controller.entry.js +2 -2
  69. package/dist/esm/zonos-country-flag.entry.js +1 -1
  70. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  71. package/dist/esm/zonos-hello-dialog.entry.js +2 -2
  72. package/dist/esm/zonos-hello.entry.js +1 -1
  73. package/dist/esm/zonos-invoice-cart-items_2.entry.js +4 -4
  74. package/dist/esm/zonos-invoice-finish_5.entry.js +6 -6
  75. package/dist/esm/zonos-invoice.entry.js +4 -4
  76. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  77. package/dist/esm-es5/{cart-d802d953.js → cart-d36150df.js} +1 -1
  78. package/dist/esm-es5/{hasInclusivePrice-0285118a.js → hasInclusivePrice-736c9eec.js} +1 -1
  79. package/dist/esm-es5/index.js +1 -1
  80. package/dist/esm-es5/{invoice-888ae8c9.js → invoice-5cd8aeb3.js} +1 -1
  81. package/dist/esm-es5/{isCollectMobileTablet-028f8611.js → isCollectMobileTablet-920988d6.js} +1 -1
  82. package/dist/esm-es5/localization-285da14c.js +1 -0
  83. package/dist/esm-es5/{paypal-9b9e6231.js → paypal-fc00bbbe.js} +1 -1
  84. package/dist/esm-es5/{placeTestOrder-42778584.js → placeTestOrder-153e0173.js} +1 -1
  85. package/dist/esm-es5/{renderCheckoutCurrency-db3ce341.js → renderCheckoutCurrency-1be32173.js} +1 -1
  86. package/dist/esm-es5/zonos-address-display_9.entry.js +1 -1
  87. package/dist/esm-es5/zonos-address_4.entry.js +1 -1
  88. package/dist/esm-es5/zonos-card_5.entry.js +1 -1
  89. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  90. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  91. package/dist/esm-es5/zonos-collect-cart-items_3.entry.js +1 -1
  92. package/dist/esm-es5/zonos-collect-finish_6.entry.js +1 -1
  93. package/dist/esm-es5/zonos-collect.entry.js +1 -1
  94. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  95. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  96. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  97. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  98. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  99. package/dist/esm-es5/zonos-invoice-cart-items_2.entry.js +1 -1
  100. package/dist/esm-es5/zonos-invoice-finish_5.entry.js +1 -1
  101. package/dist/esm-es5/zonos-invoice.entry.js +1 -1
  102. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  103. package/dist/scripts/index.d.ts +765 -0
  104. package/dist/scripts/index.js +1 -1
  105. package/dist/scripts/loadZonos.js +1 -1
  106. package/dist/scripts/zonos.js +1 -1
  107. package/dist/types/components/store/translationStore/strings.arabic.d.ts +3 -0
  108. package/dist/types/components/store/translationStore/strings.base.d.ts +3 -0
  109. package/dist/types/components/store/translationStore/strings.chinese.d.ts +3 -0
  110. package/dist/types/components/store/translationStore/strings.danish.d.ts +3 -0
  111. package/dist/types/components/store/translationStore/strings.dutch.d.ts +3 -0
  112. package/dist/types/components/store/translationStore/strings.french.d.ts +3 -0
  113. package/dist/types/components/store/translationStore/strings.german.d.ts +3 -0
  114. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +3 -0
  115. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +3 -0
  116. package/dist/types/components/store/translationStore/strings.italian.d.ts +3 -0
  117. package/dist/types/components/store/translationStore/strings.japanese.d.ts +3 -0
  118. package/dist/types/components/store/translationStore/strings.korean.d.ts +3 -0
  119. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +3 -0
  120. package/dist/types/components/store/translationStore/strings.polish.d.ts +3 -0
  121. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +3 -0
  122. package/dist/types/components/store/translationStore/strings.russian.d.ts +3 -0
  123. package/dist/types/components/store/translationStore/strings.spanish.d.ts +3 -0
  124. package/dist/types/components/store/translationStore/strings.swedish.d.ts +3 -0
  125. package/dist/types/components/store/translationStore/strings.turkish.d.ts +3 -0
  126. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +3 -0
  127. package/dist/types/components/stripe/zonos-payment/zonos-payment.d.ts +1 -1
  128. package/dist/types/types/checkout/CheckoutConfig.d.ts +9 -0
  129. package/dist/types/types/generated/graphql.frontend.types.d.ts +6 -0
  130. package/dist/types/types/generated/graphql.frontend.types.ts +6 -0
  131. package/dist/types/types/generated/graphql.internal.types.d.ts +417 -9
  132. package/dist/types/types/generated/graphql.internal.types.ts +471 -11
  133. package/dist/zonos-elements/index.esm.js +1 -1
  134. package/dist/zonos-elements/{p-8916f54e.system.entry.js → p-0294d7fc.system.entry.js} +1 -1
  135. package/dist/zonos-elements/{p-8e250c09.entry.js → p-07f3185f.entry.js} +1 -1
  136. package/dist/zonos-elements/{p-bf37c05f.entry.js → p-094f9c5a.entry.js} +1 -1
  137. package/dist/zonos-elements/{p-85fff8a2.system.entry.js → p-0ab620d3.system.entry.js} +1 -1
  138. package/dist/zonos-elements/{p-48637bf6.system.js → p-0c977c47.system.js} +1 -1
  139. package/dist/zonos-elements/{p-442f1023.js → p-0f079e02.js} +1 -1
  140. package/dist/zonos-elements/{p-09f2cbc9.system.js → p-1beba3c1.system.js} +1 -1
  141. package/dist/zonos-elements/{p-293d7a79.entry.js → p-22b1fb53.entry.js} +1 -1
  142. package/dist/zonos-elements/{p-37f46852.js → p-23eb1dc6.js} +1 -1
  143. package/dist/zonos-elements/{p-387304a0.system.entry.js → p-32fddb6d.system.entry.js} +1 -1
  144. package/dist/zonos-elements/p-3ef06605.js +1 -0
  145. package/dist/zonos-elements/{p-475e5167.entry.js → p-41ab550e.entry.js} +1 -1
  146. package/dist/zonos-elements/{p-cd8ffc39.entry.js → p-48985087.entry.js} +1 -1
  147. package/dist/zonos-elements/{p-cca277fb.system.js → p-55bfaae0.system.js} +1 -1
  148. package/dist/zonos-elements/{p-3913b1e4.system.entry.js → p-61aa9365.system.entry.js} +1 -1
  149. package/dist/zonos-elements/{p-0ce28a83.entry.js → p-630b4c08.entry.js} +1 -1
  150. package/dist/zonos-elements/p-664da916.entry.js +1 -0
  151. package/dist/zonos-elements/{p-5ddc0bf7.system.js → p-6680fc4a.system.js} +1 -1
  152. package/dist/zonos-elements/{p-d24dde2c.system.js → p-6c65bde0.system.js} +1 -1
  153. package/dist/zonos-elements/{p-a12605f5.system.entry.js → p-6d742bc9.system.entry.js} +1 -1
  154. package/dist/zonos-elements/{p-a8b1c81e.system.js → p-78e7087f.system.js} +1 -1
  155. package/dist/zonos-elements/{p-b9b42171.system.js → p-7b001fa3.system.js} +1 -1
  156. package/dist/zonos-elements/{p-1f1bf0c6.entry.js → p-7eae7c62.entry.js} +1 -1
  157. package/dist/zonos-elements/p-83bf52d6.js +1 -0
  158. package/dist/zonos-elements/{p-0abc8161.entry.js → p-8416ee1a.entry.js} +1 -1
  159. package/dist/zonos-elements/p-84c8daa1.js +1 -0
  160. package/dist/zonos-elements/{p-b29c5296.entry.js → p-8aa2d896.entry.js} +1 -1
  161. package/dist/zonos-elements/{p-35a1979e.system.entry.js → p-90f58466.system.entry.js} +1 -1
  162. package/dist/zonos-elements/{p-f0cbecc3.system.entry.js → p-913ce041.system.entry.js} +1 -1
  163. package/dist/zonos-elements/{p-a5ac9c92.entry.js → p-9e29a4a3.entry.js} +1 -1
  164. package/dist/zonos-elements/p-ab195686.system.js +1 -0
  165. package/dist/zonos-elements/{p-0e80d189.system.entry.js → p-b107ead8.system.entry.js} +1 -1
  166. package/dist/zonos-elements/{p-e2e1145c.js → p-b47bc712.js} +1 -1
  167. package/dist/zonos-elements/{p-ef1edb24.system.entry.js → p-b47d429e.system.entry.js} +1 -1
  168. package/dist/zonos-elements/{p-68991148.system.entry.js → p-b67521c9.system.entry.js} +1 -1
  169. package/dist/zonos-elements/{p-3fce3aef.entry.js → p-b95e0ad6.entry.js} +1 -1
  170. package/dist/zonos-elements/{p-a006320c.entry.js → p-b9af9836.entry.js} +1 -1
  171. package/dist/zonos-elements/p-c2442878.system.js +1 -1
  172. package/dist/zonos-elements/{p-5fc40d18.system.entry.js → p-c33adf47.system.entry.js} +1 -1
  173. package/dist/zonos-elements/{p-aa34f69d.system.entry.js → p-c39b0f10.system.entry.js} +1 -1
  174. package/dist/zonos-elements/{p-63a1b931.entry.js → p-c5195813.entry.js} +1 -1
  175. package/dist/zonos-elements/p-cae51167.js +1 -0
  176. package/dist/zonos-elements/{p-632eb7c9.entry.js → p-d0d44989.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-b80d40e5.system.entry.js → p-d1a768da.system.entry.js} +1 -1
  178. package/dist/zonos-elements/{p-f7290144.system.entry.js → p-dfb429d7.system.entry.js} +1 -1
  179. package/dist/zonos-elements/{p-dadd3f97.js → p-e80c1730.js} +1 -1
  180. package/dist/zonos-elements/{p-a5538e61.entry.js → p-e8b3e462.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-09e3ed0d.entry.js → p-f3139ab1.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-20dac9d4.system.entry.js → p-f4e193c4.system.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-26ce341c.system.entry.js → p-f99f0541.system.entry.js} +1 -1
  184. package/dist/zonos-elements/{p-e8c344c9.system.entry.js → p-fc43442d.system.entry.js} +1 -1
  185. package/dist/zonos-elements/{p-a87b5eaa.system.js → p-fc695766.system.js} +1 -1
  186. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  187. package/package.json +1 -1
  188. package/dist/esm-es5/localization-8f12d460.js +0 -1
  189. package/dist/zonos-elements/p-2e74e090.entry.js +0 -1
  190. package/dist/zonos-elements/p-3b598f1d.system.js +0 -1
  191. package/dist/zonos-elements/p-48f48767.js +0 -1
  192. package/dist/zonos-elements/p-59bc0ca9.js +0 -1
  193. package/dist/zonos-elements/p-802a28f5.js +0 -1
  194. package/dist/zonos-elements/p-bb73eb0f.js +0 -1
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-69fa8852.js');
6
- const localization = require('./localization-98db6c18.js');
6
+ const localization = require('./localization-08aa03da.js');
7
7
  const zonosStore = require('./zonosStore-37a4b4f4.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
9
  require('./handleFetch-954f30e1.js');
@@ -9,6 +9,7 @@ import { trackConversionEvent } from "../../utils/api/trackConversionEvent";
9
9
  import { buildTranslateRequest } from "../../utils/checkout/buildTranslateRequest";
10
10
  import { sortServiceLevelOptionsByAmount } from "../../utils/checkout/sortServiceLevelOptionsByAmount";
11
11
  import { extractName } from "../../utils/extractName";
12
+ import { fallbackApiList } from "../../utils/getNextFallbackApi";
12
13
  import { handleFetch } from "../../utils/handleFetch";
13
14
  import { isDarkColor } from "../../utils/isDarkColor";
14
15
  import { jsonParse } from "../../utils/jsonParse";
@@ -728,7 +729,11 @@ const stripeStoreHandleInventoryCheck = async () => {
728
729
  return null;
729
730
  }
730
731
  try {
731
- const message = await onInventoryCheck({ items: cartStore.items });
732
+ const message = await onInventoryCheck({
733
+ items: cartStore.items,
734
+ translate,
735
+ zonosApiRoute: fallbackApiList['vercel'],
736
+ });
732
737
  return message;
733
738
  }
734
739
  catch (err) {
@@ -5,6 +5,9 @@ export const stringsArabic = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (الرسوم مدفوعة مسبقًا)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" غير متوفر في المخزون. يرجى إزالته من سلة التسوق والمحاولة مرة أخرى.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'تم إرسال بريد إلكتروني للتأكيد مع تفاصيل الدفع الخاصة بك لسجلاتك. إذا كان لديك أي أسئلة أو تحتاج إلى دعم، فإن فريقنا هنا للمساعدة.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsBase = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Duties prepaid)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" is out of stock. Please remove it from your cart and try again.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsChinese = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (关税已预付)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]"缺货。请将其从购物车中移除,然后重试。',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: '已发送包含您的付款详细信息的确认电子邮件以供记录。如果您有任何问题或需要支持,我们的团队随时为您提供帮助。',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsDanish = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Afgifter forudbetalt)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" er udsolgt. Fjern det venligst fra din kurv og prøv igen.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'En bekræftelses-e-mail med dine betalingsoplysninger er sendt til dine optegnelser. Hvis du har spørgsmål eller har brug for support, er vores team her for at hjælpe.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsDutch = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Rechten vooraf betaald)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" is niet op voorraad. Verwijder het alstublieft uit uw winkelwagen en probeer het opnieuw.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'Er is een bevestigingsmail met uw betalingsgegevens verzonden voor uw administratie. Als u vragen heeft of ondersteuning nodig heeft, staat ons team klaar om te helpen.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsFrench = {
5
5
  ' (Duties prepaid)': {
6
6
  value: " (Droits payés d'avance)",
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" est en rupture de stock. Veuillez le retirer de votre panier et réessayer.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: "Un e-mail de confirmation avec les détails de votre paiement a été envoyé pour vos dossiers. Si vous avez des questions ou besoin d'aide, notre équipe est là pour vous aider.",
10
13
  },
@@ -5,6 +5,9 @@ export const stringsGerman = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Zölle im Voraus bezahlt)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" ist nicht auf Lager. Bitte entfernen Sie es aus Ihrem Warenkorb und versuchen Sie es erneut.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'Eine Bestätigungs-E-Mail mit Ihren Zahlungsdetails wurde für Ihre Unterlagen gesendet. Wenn Sie Fragen haben oder Unterstützung benötigen, steht unser Team zur Verfügung.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsHebrew = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (מיסים שולמו מראש)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" אזל מהמלאי. אנא הסר אותו מהעגלה ונסה שוב.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'נשלח דוא"ל אישור עם פרטי התשלום שלך לרישומים שלך. אם יש לך שאלות או שאתה זקוק לתמיכה, הצוות שלנו כאן כדי לעזור.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsIndonesian = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Bea sudah dibayar di muka)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" tidak tersedia. Silakan hapus dari keranjang Anda dan coba lagi.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'Email konfirmasi dengan detail pembayaran Anda telah dikirim untuk catatan Anda. Jika Anda memiliki pertanyaan atau memerlukan dukungan, tim kami siap membantu.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsItalian = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Dazi pagati in anticipo)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" è esaurito. Si prega di rimuoverlo dal carrello e riprovare.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: "Un'email di conferma con i dettagli del tuo pagamento è stata inviata per i tuoi archivi. Se hai domande o hai bisogno di supporto, il nostro team è qui per aiutarti.",
10
13
  },
@@ -5,6 +5,9 @@ export const stringsJapanese = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (関税前払い)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]"は在庫切れです。カートから削除して、もう一度お試しください。',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'お支払いの詳細を記載した確認メールが記録用に送信されました。ご質問やサポートが必要な場合は、私たちのチームがサポートいたします。',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsKorean = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (관세 선불)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]"은(는) 재고가 없습니다. 장바구니에서 제거하고 다시 시도해 주세요.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: '결제 세부 정보가 포함된 확인 이메일이 기록용으로 발송되었습니다. 질문이 있거나 지원이 필요하시면 저희 팀이 도와드리겠습니다.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsNorwegian = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Avgifter forhåndsbetalt)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" er utsolgt. Vennligst fjern det fra handlekurven din og prøv igjen.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'En bekreftelses-e-post med betalingsdetaljene dine er sendt for dine opptegnelser. Hvis du har spørsmål eller trenger støtte, er teamet vårt her for å hjelpe.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsPolish = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Opłaty celne opłacone z góry)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" jest niedostępny. Proszę usunąć go z koszyka i spróbować ponownie.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'E-mail potwierdzający z danymi dotyczącymi płatności został wysłany do twoich zapisów. Jeśli masz jakiekolwiek pytania lub potrzebujesz wsparcia, nasz zespół jest tutaj, aby pomóc.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsPortuguese = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Taxas pré-pagas)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" está fora de estoque. Por favor, remova-o do seu carrinho e tente novamente.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'Um e-mail de confirmação com os detalhes do seu pagamento foi enviado para seus registros. Se você tiver alguma dúvida ou precisar de suporte, nossa equipe está aqui para ajudar.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsRussian = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Пошлины оплачены заранее)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" отсутствует на складе. Пожалуйста, удалите его из вашей корзины и попробуйте снова.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'Подтверждающее электронное письмо с деталями вашего платежа было отправлено для ваших записей. Если у вас есть вопросы или нужна поддержка, наша команда готова помочь.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsSpanish = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Derechos pagados por adelantado)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" está agotado. Por favor, elimínalo de tu carrito e inténtalo de nuevo.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'Se ha enviado un correo electrónico de confirmación con los detalles de su pago para sus registros. Si tiene alguna pregunta o necesita ayuda, nuestro equipo está aquí para ayudar.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsSwedish = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Tullar förbetalda)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" är slut i lager. Vänligen ta bort det från din kundvagn och försök igen.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'Ett bekräftelsemail med dina betalningsuppgifter har skickats för dina register. Om du har några frågor eller behöver support, är vårt team här för att hjälpa.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsTurkish = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Gümrük vergileri önceden ödenmiş)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" stokta yok. Lütfen sepetinizden çıkarın ve tekrar deneyin.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'Ödeme detaylarınızla birlikte bir onay e-postası kayıtlarınız için gönderildi. Herhangi bir sorunuz veya desteğe ihtiyacınız varsa, ekibimiz size yardımcı olmaya hazır.',
10
13
  },
@@ -5,6 +5,9 @@ export const stringsVietnamese = {
5
5
  ' (Duties prepaid)': {
6
6
  value: ' (Thuế đã trả trước)',
7
7
  },
8
+ '"[itemName]" is out of stock. Please remove it from your cart and try again.': {
9
+ value: '"[itemName]" đã hết hàng. Vui lòng xóa nó khỏi giỏ hàng của bạn và thử lại.',
10
+ },
8
11
  'A confirmation email with your payment details has been sent for your records. If you have any questions or need support, our team is here to help.': {
9
12
  value: 'Một email xác nhận với chi tiết thanh toán của bạn đã được gửi để lưu trữ. Nếu bạn có bất kỳ câu hỏi nào hoặc cần hỗ trợ, đội ngũ của chúng tôi luôn sẵn sàng giúp đỡ.',
10
13
  },
@@ -28,11 +28,13 @@ export class ZonosPayment {
28
28
  this.trackingSent = true;
29
29
  }
30
30
  }
31
- watchInitStripe() {
31
+ async watchInitStripe() {
32
32
  var _a;
33
33
  if (!this.stripeElements) {
34
34
  return;
35
35
  }
36
+ // Calling this to make sure the elements are updated with the latest options
37
+ await this.stripeElements.fetchUpdates();
36
38
  // Create and mount the Authentication Element in ${type} mode
37
39
  const paymentElement = stripeStore.stripePaymentElement ||
38
40
  this.stripeElements.create('payment', {
@@ -61,11 +63,11 @@ export class ZonosPayment {
61
63
  }
62
64
  componentDidLoad() {
63
65
  // @Watch doesn't get trigger on initial load
64
- this.watchInitStripe();
66
+ void this.watchInitStripe();
65
67
  }
66
68
  render() {
67
69
  // this component loads iframe from the stripe elements and puts here, so we don't need to do anything here
68
- return (h(Host, { key: '42a202e340dfa0f52920f7e351a116daec674a34', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '8424ae7cc51ea41832c2ae10d07a7e9e0c84c3c7', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'ac7f96570bacc823541396f791ed9d4a122b94b0', class: "zonos--payment-component" }), h("div", { key: 'af0a99cd447eb881224814d024ddb64edf0fbeb2', class: "zonos--payment-paypal-container" })));
70
+ return (h(Host, { key: 'ca6da9e9fadd891c2a748186c30fdfcf8f57ffc5', class: "zonos--payment zonos--elements" }, this.titleText && (h("zonos-text", { key: '8083de8ff08f5cd7f3ddaf6190844ee11b72ed4a', class: "zonos--title", type: "semiBoldLabel" }, this.titleText)), h("div", { key: 'cf88a4f5b989e1911b089ce9298945307085455a', class: "zonos--payment-component" }), h("div", { key: 'ff768b9ca8dd0a60605196f50bcba3c542cc2206', class: "zonos--payment-paypal-container" })));
69
71
  }
70
72
  static get is() { return "zonos-payment"; }
71
73
  static get encapsulation() { return "scoped"; }
@@ -11,6 +11,7 @@ export const errorProjectNameEnum = {
11
11
  ZonosCom: 'zonos_com',
12
12
  };
13
13
  export const featureAspectKeyEnum = {
14
+ AirwallexBeta: 'airwallex_beta',
14
15
  Checkout_2_0: 'checkout_2_0',
15
16
  ClassifyBulk: 'classify_bulk',
16
17
  ClassifyBulkExportViewConfidenceScore: 'classify_bulk_export_view_confidence_score',
@@ -36,11 +37,13 @@ export const featureAspectKeyEnum = {
36
37
  PageAuditor: 'page_auditor',
37
38
  PromptExplorer: 'prompt_explorer',
38
39
  RulesUiCreate: 'rules_ui_create',
40
+ SearchDgsBeta: 'search_dgs_beta',
39
41
  SupportTicketSystem: 'support_ticket_system',
40
42
  TeamAuditor: 'team_auditor',
41
43
  };
42
44
  export const featureAudienceNameEnum = {
43
45
  AccountsReceivable: 'accounts_receivable',
46
+ AirwallexBetaMerchant: 'airwallex_beta_merchant',
44
47
  CheckoutSales: 'checkout_sales',
45
48
  ClassifyBulkMerchant: 'classify_bulk_merchant',
46
49
  ClassifyBulkMerchantExportConfidenceScore: 'classify_bulk_merchant_export_confidence_score',
@@ -66,6 +69,7 @@ export const featureAudienceNameEnum = {
66
69
  ProServeHead: 'pro_serve_head',
67
70
  ProductManager: 'product_manager',
68
71
  RulesUiCreateMerchant: 'rules_ui_create_merchant',
72
+ SearchDgsBetaMerchant: 'search_dgs_beta_merchant',
69
73
  SupportTicketMerchants: 'support_ticket_merchants',
70
74
  TechLead: 'tech_lead',
71
75
  };