@zonos/elements 1.3.38 → 1.3.40

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 (282) hide show
  1. package/dist/cjs/{cart-c7212410.js → cart-775440b7.js} +240 -7
  2. package/dist/cjs/{getBorderRadius-074b46ef.js → getBorderRadius-9ae7890c.js} +1 -1
  3. package/dist/cjs/{index-b071017b.js → index-ef8b2c76.js} +234 -167
  4. package/dist/cjs/index.cjs.js +10 -4
  5. package/dist/cjs/{isDarkColor-371a3b1a.js → isDarkColor-5f56770b.js} +1 -1
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/paypal-25c84e33.js +461 -0
  8. package/dist/cjs/{submitGtag-7a679d92.js → sendErrorLog-7818b288.js} +2 -19
  9. package/dist/cjs/zonos-address_8.cjs.entry.js +8 -8
  10. package/dist/cjs/zonos-badge_2.cjs.entry.js +2 -2
  11. package/dist/cjs/zonos-banner.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-button_3.cjs.entry.js +4 -4
  13. package/dist/cjs/zonos-card.cjs.entry.js +3 -3
  14. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +73 -35
  15. package/dist/cjs/zonos-checkout.cjs.entry.js +50 -70
  16. package/dist/cjs/zonos-component.cjs.entry.js +1 -1
  17. package/dist/cjs/zonos-controller.cjs.entry.js +15 -15
  18. package/dist/cjs/zonos-country-flag.cjs.entry.js +5 -5
  19. package/dist/cjs/zonos-country-select_3.cjs.entry.js +5 -5
  20. package/dist/cjs/zonos-elements.cjs.js +3 -3
  21. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +5 -5
  22. package/dist/cjs/zonos-hello.cjs.entry.js +5 -5
  23. package/dist/cjs/zonos-input.cjs.entry.js +3 -3
  24. package/dist/cjs/zonos-language-select_2.cjs.entry.js +5 -5
  25. package/dist/cjs/zonos-link.cjs.entry.js +1 -1
  26. package/dist/cjs/zonos-logo.cjs.entry.js +2 -2
  27. package/dist/cjs/{zonos-notification_2.cjs.entry.js → zonos-notification_3.cjs.entry.js} +59 -7
  28. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +3 -3
  29. package/dist/cjs/zonos-text.cjs.entry.js +2 -2
  30. package/dist/cjs/zonos-v-stack.cjs.entry.js +2 -2
  31. package/dist/cjs/{zonosStore-4c6c85da.js → zonosStore-b6c72408.js} +5 -1
  32. package/dist/collection/__tests__/build-utils/urlCheckOne.js +3 -1
  33. package/dist/collection/collection-manifest.json +2 -1
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-address-update-dialog/zonos-address-update-dialog.css +1 -0
  35. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.js +39 -8
  36. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-footer/zonos-checkout-footer.css +1 -0
  37. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +7 -1
  38. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +37 -22
  39. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.css +3 -0
  40. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +37 -60
  41. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.css +1 -0
  42. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.css +1 -0
  43. package/dist/collection/components/main/zonos-controller.js +22 -8
  44. package/dist/collection/components/paypal/zonos-paypal-payment.css +37 -0
  45. package/dist/collection/components/paypal/zonos-paypal-payment.js +92 -0
  46. package/dist/collection/components/store/checkout/cart.js +26 -1
  47. package/dist/collection/components/store/checkout/paypal.js +219 -0
  48. package/dist/collection/components/store/checkout/stripe.js +16 -4
  49. package/dist/collection/components/store/translationStore/strings.arabic.js +9 -0
  50. package/dist/collection/components/store/translationStore/strings.base.js +9 -0
  51. package/dist/collection/components/store/translationStore/strings.chinese.js +9 -0
  52. package/dist/collection/components/store/translationStore/strings.danish.js +9 -0
  53. package/dist/collection/components/store/translationStore/strings.dutch.js +9 -0
  54. package/dist/collection/components/store/translationStore/strings.french.js +9 -0
  55. package/dist/collection/components/store/translationStore/strings.german.js +9 -0
  56. package/dist/collection/components/store/translationStore/strings.hebrew.js +9 -0
  57. package/dist/collection/components/store/translationStore/strings.indonesian.js +9 -0
  58. package/dist/collection/components/store/translationStore/strings.italian.js +9 -0
  59. package/dist/collection/components/store/translationStore/strings.japanese.js +9 -0
  60. package/dist/collection/components/store/translationStore/strings.korean.js +9 -0
  61. package/dist/collection/components/store/translationStore/strings.norwegian.js +9 -0
  62. package/dist/collection/components/store/translationStore/strings.polish.js +9 -0
  63. package/dist/collection/components/store/translationStore/strings.portuguese.js +9 -0
  64. package/dist/collection/components/store/translationStore/strings.russian.js +9 -0
  65. package/dist/collection/components/store/translationStore/strings.spanish.js +9 -0
  66. package/dist/collection/components/store/translationStore/strings.swedish.js +9 -0
  67. package/dist/collection/components/store/translationStore/strings.turkish.js +9 -0
  68. package/dist/collection/components/store/translationStore/strings.vietnamese.js +9 -0
  69. package/dist/collection/components/store/zonosStore.js +4 -0
  70. package/dist/collection/components/stripe/zonos-address/zonos-address.js +2 -2
  71. package/dist/collection/components/stripe/zonos-link-authentication/zonos-link-authentication.js +1 -1
  72. package/dist/collection/components/stripe/zonos-payment/zonos-payment.js +2 -3
  73. package/dist/collection/components/utils/api/getZonosSettings.js +3 -3
  74. package/dist/collection/components/utils/api/paypalCaptureOrder.js +8 -0
  75. package/dist/collection/components/utils/api/paypalCreateOrder.js +8 -0
  76. package/dist/collection/components/utils/getContrastColor.js +6 -2
  77. package/dist/collection/components/utils/handleFetch.js +6 -1
  78. package/dist/collection/components/utils/isContrastColor.js +7 -0
  79. package/dist/collection/environment.js +4 -5
  80. package/dist/collection/scripts/_getZonosQaUrl.js +4 -0
  81. package/dist/collection/scripts/_zonosBase.js +2 -0
  82. package/dist/collection/styles/stripe/addressRuleStyle.js +6 -0
  83. package/dist/collection/types/generated/graphql.customer.types.js +35 -0
  84. package/dist/esm/{cart-eb75b113.js → cart-e9cd8286.js} +236 -8
  85. package/dist/esm/{getBorderRadius-947c24de.js → getBorderRadius-3c75c4c1.js} +1 -1
  86. package/dist/esm/{index-3b46f3c3.js → index-5a37ccde.js} +234 -167
  87. package/dist/esm/index.js +10 -4
  88. package/dist/esm/{isDarkColor-f8324c10.js → isDarkColor-3eb31a6d.js} +1 -1
  89. package/dist/esm/loader.js +3 -3
  90. package/dist/esm/paypal-da2b3db1.js +453 -0
  91. package/dist/esm/{submitGtag-0bc0baa0.js → sendErrorLog-2fcf78a2.js} +3 -19
  92. package/dist/esm/zonos-address_8.entry.js +8 -8
  93. package/dist/esm/zonos-badge_2.entry.js +2 -2
  94. package/dist/esm/zonos-banner.entry.js +2 -2
  95. package/dist/esm/zonos-button_3.entry.js +4 -4
  96. package/dist/esm/zonos-card.entry.js +3 -3
  97. package/dist/esm/zonos-cart-items_12.entry.js +60 -22
  98. package/dist/esm/zonos-checkout.entry.js +41 -61
  99. package/dist/esm/zonos-component.entry.js +1 -1
  100. package/dist/esm/zonos-controller.entry.js +15 -15
  101. package/dist/esm/zonos-country-flag.entry.js +5 -5
  102. package/dist/esm/zonos-country-select_3.entry.js +5 -5
  103. package/dist/esm/zonos-elements.js +4 -4
  104. package/dist/esm/zonos-hello-dialog.entry.js +5 -5
  105. package/dist/esm/zonos-hello.entry.js +5 -5
  106. package/dist/esm/zonos-input.entry.js +3 -3
  107. package/dist/esm/zonos-language-select_2.entry.js +5 -5
  108. package/dist/esm/zonos-link.entry.js +1 -1
  109. package/dist/esm/zonos-logo.entry.js +2 -2
  110. package/dist/esm/{zonos-notification_2.entry.js → zonos-notification_3.entry.js} +60 -9
  111. package/dist/esm/zonos-shipping-rich-radio.entry.js +3 -3
  112. package/dist/esm/zonos-text.entry.js +2 -2
  113. package/dist/esm/zonos-v-stack.entry.js +2 -2
  114. package/dist/esm/{zonosStore-ba9e541e.js → zonosStore-425abc1b.js} +5 -1
  115. package/dist/esm-es5/cart-e9cd8286.js +1 -0
  116. package/dist/esm-es5/{getBorderRadius-947c24de.js → getBorderRadius-3c75c4c1.js} +1 -1
  117. package/dist/esm-es5/index-5a37ccde.js +2 -0
  118. package/dist/esm-es5/index.js +1 -1
  119. package/dist/esm-es5/{isDarkColor-f8324c10.js → isDarkColor-3eb31a6d.js} +1 -1
  120. package/dist/esm-es5/loader.js +1 -1
  121. package/dist/esm-es5/paypal-da2b3db1.js +17 -0
  122. package/dist/esm-es5/sendErrorLog-2fcf78a2.js +1 -0
  123. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  124. package/dist/esm-es5/zonos-badge_2.entry.js +1 -1
  125. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  126. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  127. package/dist/esm-es5/zonos-card.entry.js +1 -1
  128. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  129. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  130. package/dist/esm-es5/zonos-component.entry.js +1 -1
  131. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  132. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  133. package/dist/esm-es5/zonos-country-select_3.entry.js +1 -1
  134. package/dist/esm-es5/zonos-elements.js +1 -1
  135. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  136. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  137. package/dist/esm-es5/zonos-input.entry.js +1 -1
  138. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  139. package/dist/esm-es5/zonos-link.entry.js +1 -1
  140. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  141. package/dist/esm-es5/zonos-notification_3.entry.js +1 -0
  142. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  143. package/dist/esm-es5/zonos-text.entry.js +1 -1
  144. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  145. package/dist/esm-es5/{zonosStore-ba9e541e.js → zonosStore-425abc1b.js} +1 -1
  146. package/dist/scripts/index.d.ts +91 -6
  147. package/dist/scripts/index.js +1 -1
  148. package/dist/scripts/loadZonos.js +1 -1
  149. package/dist/scripts/zonos.js +1 -1
  150. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-finish/zonos-checkout-finish.d.ts +2 -1
  151. package/dist/types/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.d.ts +8 -4
  152. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +1 -20
  153. package/dist/types/components/main/zonos-controller.d.ts +6 -0
  154. package/dist/types/components/paypal/zonos-paypal-payment.d.ts +17 -0
  155. package/dist/types/components/store/checkout/cart.d.ts +19 -1
  156. package/dist/types/components/store/checkout/paypal.d.ts +28 -0
  157. package/dist/types/components/store/checkout/stripe.d.ts +10 -1
  158. package/dist/types/components/store/translationStore/strings.arabic.d.ts +9 -0
  159. package/dist/types/components/store/translationStore/strings.base.d.ts +9 -0
  160. package/dist/types/components/store/translationStore/strings.chinese.d.ts +9 -0
  161. package/dist/types/components/store/translationStore/strings.danish.d.ts +9 -0
  162. package/dist/types/components/store/translationStore/strings.dutch.d.ts +9 -0
  163. package/dist/types/components/store/translationStore/strings.french.d.ts +9 -0
  164. package/dist/types/components/store/translationStore/strings.german.d.ts +9 -0
  165. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +9 -0
  166. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +9 -0
  167. package/dist/types/components/store/translationStore/strings.italian.d.ts +9 -0
  168. package/dist/types/components/store/translationStore/strings.japanese.d.ts +9 -0
  169. package/dist/types/components/store/translationStore/strings.korean.d.ts +9 -0
  170. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +9 -0
  171. package/dist/types/components/store/translationStore/strings.polish.d.ts +9 -0
  172. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +9 -0
  173. package/dist/types/components/store/translationStore/strings.russian.d.ts +9 -0
  174. package/dist/types/components/store/translationStore/strings.spanish.d.ts +9 -0
  175. package/dist/types/components/store/translationStore/strings.swedish.d.ts +9 -0
  176. package/dist/types/components/store/translationStore/strings.turkish.d.ts +9 -0
  177. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +9 -0
  178. package/dist/types/components/store/translationStore.d.ts +1 -1
  179. package/dist/types/components/store/zonosStore.d.ts +4 -0
  180. package/dist/types/components/utils/api/getZonosSettings.d.ts +2 -0
  181. package/dist/types/components/utils/api/paypalCaptureOrder.d.ts +10 -0
  182. package/dist/types/components/utils/api/paypalCreateOrder.d.ts +9 -0
  183. package/dist/types/components/utils/handleFetch.d.ts +4 -0
  184. package/dist/types/components/utils/isContrastColor.d.ts +4 -0
  185. package/dist/types/components.d.ts +50 -6
  186. package/dist/types/scripts/_zonosBase.d.ts +9 -1
  187. package/dist/types/stencil-public-runtime.d.ts +3 -10
  188. package/dist/types/types/checkout/CheckoutConfig.d.ts +14 -1
  189. package/dist/types/types/generated/graphql.customer.types.d.ts +71 -11
  190. package/dist/types/types/generated/graphql.customer.types.ts +103 -11
  191. package/dist/zonos-elements/index.esm.js +1 -1
  192. package/dist/zonos-elements/{p-ed333de6.system.entry.js → p-01bd2187.system.entry.js} +1 -1
  193. package/dist/zonos-elements/{p-f06bb776.system.entry.js → p-14b53e8f.system.entry.js} +1 -1
  194. package/dist/zonos-elements/p-15ecad81.entry.js +1 -0
  195. package/dist/zonos-elements/p-1b499bcc.system.js +1 -0
  196. package/dist/zonos-elements/{p-d2992457.system.entry.js → p-1daa3b1e.system.entry.js} +1 -1
  197. package/dist/zonos-elements/{p-085548f2.entry.js → p-1debb7b2.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-9de374a7.system.entry.js → p-2bfb5e4b.system.entry.js} +1 -1
  199. package/dist/zonos-elements/{p-01304a58.system.entry.js → p-2c03ac78.system.entry.js} +1 -1
  200. package/dist/zonos-elements/p-3447ef24.system.js +17 -0
  201. package/dist/zonos-elements/{p-699a5376.entry.js → p-3496183d.entry.js} +1 -1
  202. package/dist/zonos-elements/{p-59f37de3.entry.js → p-36df9785.entry.js} +1 -1
  203. package/dist/zonos-elements/p-3996d025.system.js +1 -0
  204. package/dist/zonos-elements/p-3b6a7200.entry.js +1 -0
  205. package/dist/zonos-elements/p-3d98f422.system.entry.js +1 -0
  206. package/dist/zonos-elements/{p-31b3d26b.js → p-3da1bc42.js} +1 -1
  207. package/dist/zonos-elements/{p-a21ec316.system.entry.js → p-445fb353.system.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-3541e6dd.entry.js → p-54101ed6.entry.js} +1 -1
  209. package/dist/zonos-elements/p-54971a77.system.js +1 -0
  210. package/dist/zonos-elements/{p-c0fcc0fa.system.entry.js → p-5a5d1a12.system.entry.js} +1 -1
  211. package/dist/zonos-elements/{p-c21802e9.entry.js → p-5e55dcbc.entry.js} +1 -1
  212. package/dist/zonos-elements/{p-71882ac9.system.entry.js → p-5f68f356.system.entry.js} +1 -1
  213. package/dist/zonos-elements/{p-73ba4398.system.entry.js → p-61842b4f.system.entry.js} +1 -1
  214. package/dist/zonos-elements/{p-3523c3b4.entry.js → p-657be9e9.entry.js} +1 -1
  215. package/dist/zonos-elements/p-6897be29.entry.js +1 -0
  216. package/dist/zonos-elements/{p-3f5e2e5c.system.entry.js → p-6f39051c.system.entry.js} +1 -1
  217. package/dist/zonos-elements/{p-966ab4e7.system.entry.js → p-70b024ad.system.entry.js} +1 -1
  218. package/dist/zonos-elements/{p-22882fd6.entry.js → p-71037fe5.entry.js} +1 -1
  219. package/dist/zonos-elements/p-7dd54a63.entry.js +1 -0
  220. package/dist/zonos-elements/{p-e3c014ae.entry.js → p-7f96d3b4.entry.js} +1 -1
  221. package/dist/zonos-elements/p-800db524.system.js +1 -0
  222. package/dist/zonos-elements/{p-9a1c0d02.js → p-890f5788.js} +1 -1
  223. package/dist/zonos-elements/{p-62ed4236.entry.js → p-8d149b99.entry.js} +1 -1
  224. package/dist/zonos-elements/p-916adba7.entry.js +1 -0
  225. package/dist/zonos-elements/{p-5821856c.js → p-92bebe7a.js} +1 -1
  226. package/dist/zonos-elements/p-94279862.system.js +1 -0
  227. package/dist/zonos-elements/{p-b903af96.system.entry.js → p-97dadd90.system.entry.js} +1 -1
  228. package/dist/zonos-elements/{p-e37440ad.system.js → p-b2007124.system.js} +1 -1
  229. package/dist/zonos-elements/p-b55b557a.system.js +2 -0
  230. package/dist/zonos-elements/{p-18b28104.entry.js → p-bfa5ec2b.entry.js} +1 -1
  231. package/dist/zonos-elements/p-c55a5fe4.system.entry.js +1 -0
  232. package/dist/zonos-elements/p-c5a5512a.system.entry.js +1 -0
  233. package/dist/zonos-elements/p-c87113fb.system.entry.js +1 -0
  234. package/dist/zonos-elements/p-ca58f16e.system.entry.js +1 -0
  235. package/dist/zonos-elements/{p-6c3390b7.entry.js → p-d46fa40a.entry.js} +1 -1
  236. package/dist/zonos-elements/p-d6135575.js +1 -0
  237. package/dist/zonos-elements/p-d95cb86a.system.js +1 -0
  238. package/dist/zonos-elements/{p-d8c1eb99.entry.js → p-d9d5ee2f.entry.js} +1 -1
  239. package/dist/zonos-elements/{p-2a45c837.system.entry.js → p-da15b587.system.entry.js} +1 -1
  240. package/dist/zonos-elements/{p-8acdf43b.system.entry.js → p-dc6a17fe.system.entry.js} +1 -1
  241. package/dist/zonos-elements/p-dd61b7a0.js +2 -0
  242. package/dist/zonos-elements/p-e252d86f.entry.js +1 -0
  243. package/dist/zonos-elements/{p-da2e5289.system.entry.js → p-e6efc2e1.system.entry.js} +1 -1
  244. package/dist/zonos-elements/{p-63a27875.entry.js → p-efdc7748.entry.js} +1 -1
  245. package/dist/zonos-elements/{p-2aa72606.entry.js → p-f643035f.entry.js} +1 -1
  246. package/dist/zonos-elements/p-f98f7066.js +17 -0
  247. package/dist/zonos-elements/{p-9d29f3f4.system.entry.js → p-fa02dd07.system.entry.js} +1 -1
  248. package/dist/zonos-elements/{p-c3619b3d.entry.js → p-fa95c3dc.entry.js} +1 -1
  249. package/dist/zonos-elements/p-fb63bd03.js +1 -0
  250. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  251. package/dist/zonos-elements/zonos-elements.js +1 -1
  252. package/loader/cdn.js +1 -2
  253. package/loader/index.cjs.js +1 -2
  254. package/loader/index.d.ts +3 -0
  255. package/loader/index.es2017.js +1 -2
  256. package/loader/index.js +1 -2
  257. package/package.json +12 -11
  258. package/dist/esm-es5/cart-eb75b113.js +0 -1
  259. package/dist/esm-es5/index-3b46f3c3.js +0 -2
  260. package/dist/esm-es5/submitGtag-0bc0baa0.js +0 -1
  261. package/dist/esm-es5/zonos-notification_2.entry.js +0 -1
  262. package/dist/zonos-elements/p-02405211.system.entry.js +0 -1
  263. package/dist/zonos-elements/p-0b538ed4.system.js +0 -1
  264. package/dist/zonos-elements/p-357322ea.system.entry.js +0 -1
  265. package/dist/zonos-elements/p-467f934c.system.entry.js +0 -1
  266. package/dist/zonos-elements/p-53acc999.js +0 -1
  267. package/dist/zonos-elements/p-548ac127.entry.js +0 -1
  268. package/dist/zonos-elements/p-5609876a.system.entry.js +0 -1
  269. package/dist/zonos-elements/p-57617755.entry.js +0 -1
  270. package/dist/zonos-elements/p-6f9448bb.entry.js +0 -1
  271. package/dist/zonos-elements/p-70262120.system.js +0 -1
  272. package/dist/zonos-elements/p-878293fe.js +0 -1
  273. package/dist/zonos-elements/p-a8b934c2.entry.js +0 -1
  274. package/dist/zonos-elements/p-a8cb25de.system.js +0 -1
  275. package/dist/zonos-elements/p-abe8ea12.system.js +0 -1
  276. package/dist/zonos-elements/p-ad37d20e.system.js +0 -1
  277. package/dist/zonos-elements/p-ae04d3ff.entry.js +0 -1
  278. package/dist/zonos-elements/p-b684f8aa.system.entry.js +0 -1
  279. package/dist/zonos-elements/p-ce347974.js +0 -2
  280. package/dist/zonos-elements/p-d99232c5.system.js +0 -2
  281. package/dist/zonos-elements/p-e0bf9666.system.js +0 -1
  282. package/dist/zonos-elements/p-e1db1bc9.entry.js +0 -1
@@ -1,9 +1,5 @@
1
1
  import { type EventEmitter } from '../../../../stencil-public-runtime';
2
2
  export declare class ZonosCheckoutPayment {
3
- /**
4
- * Error occurred during payment
5
- */
6
- paymentError: boolean;
7
3
  /**
8
4
  * Whether or not the checkout is in mobile mode
9
5
  */
@@ -20,6 +16,14 @@ export declare class ZonosCheckoutPayment {
20
16
  * Event to emit when the continue button is clicked
21
17
  */
22
18
  continueClicked: EventEmitter<void>;
19
+ /**
20
+ * Event to emit when the paypal session failed
21
+ */
22
+ paypalSessionFailed: EventEmitter<void>;
23
+ /**
24
+ * Event to emit when the paypal session is done
25
+ */
26
+ paypalSessionDone: EventEmitter<string>;
23
27
  /**
24
28
  * Show error banner when the form is not complete, and user clicks on `Submit` button
25
29
  * @default false
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type { PaymentIntent, Stripe } from '@stripe/stripe-js';
3
2
  import { type CartItem } from "../../store/checkout/cart";
4
3
  import { type StripeStoreContactOption } from "../../store/checkout/stripe";
@@ -40,10 +39,6 @@ export declare class ZonosCheckout {
40
39
  * Whether or not the submit button is loading in `step` component
41
40
  */
42
41
  submitLoading: boolean;
43
- /**
44
- * Error when submitting payment
45
- */
46
- paymentError: boolean;
47
42
  collapseReviewMobile: boolean;
48
43
  /**
49
44
  * Determine if we should skip and not hijack the Checkout button click event
@@ -60,14 +55,6 @@ export declare class ZonosCheckout {
60
55
  * Confirm dialog open state
61
56
  */
62
57
  confirmDialogOpen: boolean;
63
- /**
64
- * Session timeout screen state
65
- */
66
- showSessionTimoutScreen: boolean;
67
- /**
68
- * Timeout alert message
69
- */
70
- checkoutTimeoutInterval: NodeJS.Timeout | null;
71
58
  /**
72
59
  * Error message from onInventoryCheck callback
73
60
  */
@@ -88,8 +75,6 @@ export declare class ZonosCheckout {
88
75
  }): Promise<void>;
89
76
  private applyStripeTheme;
90
77
  private buildCartAndInit;
91
- private clearCheckoutTimeoutInterval;
92
- private startCheckoutTimeoutInterval;
93
78
  private reloadCheckoutSession;
94
79
  private attachCheckout;
95
80
  appearanceSettingsOverrideChanged(): void;
@@ -109,11 +94,7 @@ export declare class ZonosCheckout {
109
94
  private handleShippingContinue;
110
95
  private handleInventoryCheckDialogCancel;
111
96
  private handleInventoryCheckDialogConfirm;
112
- /**
113
- * Handle inventory check and returns error message if the callback provided.
114
- */
115
- private handleInventoryCheck;
116
- private handleCheckoutPaymentContinue;
97
+ private handleStripePaymentContinue;
117
98
  private handleFinishClick;
118
99
  private getCurrentLocalePageEnum;
119
100
  handleWindowResize(): void;
@@ -13,6 +13,12 @@ export declare class ZonosController {
13
13
  * The zonos api key
14
14
  */
15
15
  zonosApiKey: string;
16
+ /**
17
+ * Event emitted to initialize paypal
18
+ */
19
+ paypalInitEvent?: EventEmitter<{
20
+ paypalClientId: string;
21
+ }>;
16
22
  /**
17
23
  * Event emitted when stripe is initialized
18
24
  */
@@ -0,0 +1,17 @@
1
+ import { type EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class ZonosPaypalPayment {
3
+ el: HTMLZonosPaypalPaymentElement;
4
+ /**
5
+ * Event to emit when the paypal session is done
6
+ */
7
+ paypalSessionDone: EventEmitter<{
8
+ orderId: string;
9
+ }>;
10
+ /**
11
+ * Event to emit when the paypal session is failed
12
+ */
13
+ paypalSessionFail: EventEmitter<void>;
14
+ private loadPaypal;
15
+ componentDidLoad(): void;
16
+ render(): any;
17
+ }
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  import { stripeStoreUpdateCheckoutSession } from "./stripe";
2
3
  import type { CalculateLandedCostMutation, CheckoutPresentmentFragment, CurrencyCode, ItemMeasurementType, ItemType, ItemUnitOfMeasure, LandedCostFragment, ShipmentRatingFragment } from "../../../types/generated/graphql.customer.types";
3
4
  type Step = 'customer-info' | 'shipping' | 'payment' | 'finish' | 'error';
@@ -51,6 +52,11 @@ type CartItemToUse = CartItem & {
51
52
  };
52
53
  type CartStore = {
53
54
  checkoutSessionId: string | null;
55
+ /**
56
+ * Checkout session timeout
57
+ */
58
+ checkoutSessionTimeoutShow: boolean;
59
+ checkoutTimeoutInterval: NodeJS.Timeout | null;
54
60
  currency: CurrencyCode;
55
61
  dutiesTaxFees: number;
56
62
  error: {
@@ -64,6 +70,10 @@ type CartStore = {
64
70
  targetCurrencyCode: CurrencyCode;
65
71
  type: string;
66
72
  } | null;
73
+ /**
74
+ * Inventory check error message. When this error message is not null, we will show the inventory check error modal
75
+ */
76
+ inventoryCheckErrorMessage: string | null;
67
77
  isSelectedShippingAboveDeminimis: boolean;
68
78
  isSelectedShippingGuarantee: boolean;
69
79
  items: CartItemToUse[];
@@ -144,8 +154,16 @@ type CartStoreRecalculateTotalParams = Omit<Parameters<typeof stripeStoreUpdateC
144
154
  declare const cartStoreHasOneEligibleItem: () => boolean;
145
155
  declare const cartStoreReCalculateTotal: ({ currency, itemsAmount, landedCostId, }: CartStoreRecalculateTotalParams) => Promise<boolean>;
146
156
  declare const cartStoreUpdateSelectedShippingOption: (selectedShippingOption: ShipmentRatingFragment) => Promise<boolean>;
157
+ declare const cartStoreStartCheckoutInterval: ({ isPreview, sessionTimeout, }: {
158
+ isPreview: boolean;
159
+ /**
160
+ * Checkout session timeout in milliseconds
161
+ */
162
+ sessionTimeout: number;
163
+ }) => void;
164
+ declare const cartStoreClearCheckoutInterval: () => void;
147
165
  declare const cartStoreResetCartItems: () => void;
148
166
  declare const cartStoreUpdateItems: (cartItems: CartItem[]) => Promise<void>;
149
167
  declare const cartStoreNextStep: () => void;
150
168
  declare const cartStoreResetTabItems: () => void;
151
- export { cartStore, cartStoreApplySubtotals, cartStoreCheckItemRestrictions, cartStoreGetShippingTransitInfo, cartStoreHasOneEligibleItem, cartStoreNextStep, cartStoreReCalculateTotal, cartStoreReset, cartStoreResetCartItems, cartStoreResetTabItems, cartStoreUpdateItems, cartStoreUpdateSelectedShippingOption, cartStoreUpdateToErrorState, };
169
+ export { cartStore, cartStoreApplySubtotals, cartStoreCheckItemRestrictions, cartStoreClearCheckoutInterval, cartStoreGetShippingTransitInfo, cartStoreHasOneEligibleItem, cartStoreNextStep, cartStoreReCalculateTotal, cartStoreReset, cartStoreResetCartItems, cartStoreResetTabItems, cartStoreStartCheckoutInterval, cartStoreUpdateItems, cartStoreUpdateSelectedShippingOption, cartStoreUpdateToErrorState, };
@@ -0,0 +1,28 @@
1
+ import { type PayPalButtonsComponent } from '@paypal/paypal-js';
2
+ import type { CurrencyCode, ElementsUiStyle } from "../../../types/generated/graphql.customer.types";
3
+ type PaypalStore = {
4
+ /**
5
+ * Zonos order id created by paypal
6
+ */
7
+ orderIdCreated: string | null;
8
+ paypalButtons: PayPalButtonsComponent[];
9
+ paypalClientId: string;
10
+ paypalErrorMessage: string | null;
11
+ };
12
+ declare const paypalStoreReset: () => void, paypalStore: PaypalStore;
13
+ declare const paypalStoreCreaterOrder: ({ checkoutSessionId, }: {
14
+ checkoutSessionId: string;
15
+ }) => Promise<string>;
16
+ declare const paypalInitScript: ({ currency }: {
17
+ currency: CurrencyCode;
18
+ }) => Promise<void>;
19
+ declare const paypalStoreInitButtons: (props?: {
20
+ overrideBorderRaidus?: ElementsUiStyle;
21
+ overridePrimaryColor?: string;
22
+ onPaypalFail?: () => void;
23
+ onPaypalSessionDone?: (params: {
24
+ orderId: string;
25
+ }) => void;
26
+ }) => PayPalButtonsComponent[] | null;
27
+ declare const paypalStoreHasPaypalEnabled: () => boolean;
28
+ export { paypalInitScript, paypalStore, paypalStoreCreaterOrder, paypalStoreHasPaypalEnabled, paypalStoreInitButtons, paypalStoreReset, };
@@ -18,6 +18,7 @@ export type StripeStoreContactOption = {
18
18
  type StripeStore = {
19
19
  clientSecret: string | null;
20
20
  fetchingLandedCostAbordController: AbortController | null;
21
+ hasPaymentError: boolean;
21
22
  isFetchingLandedCost: boolean;
22
23
  isFetchingSession: boolean;
23
24
  stripe: Stripe | null;
@@ -70,6 +71,14 @@ declare const initStripeElements: (props?: {
70
71
  }) => Promise<void>;
71
72
  declare const stripeStoreReset: () => void;
72
73
  declare const stripeStorePrefetchLandedCost: () => Promise<void>;
74
+ declare const stripeStoreMessageBasedOnStatus: (status?: PaymentIntent['status']) => {
75
+ isError: boolean;
76
+ messages: string[];
77
+ };
78
+ /**
79
+ * Handle inventory check and returns error message if the callback provided.
80
+ */
81
+ declare const stripeStoreHandleInventoryCheck: () => Promise<string | null>;
73
82
  declare const stripeStoreRetrievePayment: ({ clientSecret: _clientSecret, storybookForceStatus, }: {
74
83
  clientSecret: string | null;
75
84
  storybookForceStatus?: PaymentIntent['status'];
@@ -128,4 +137,4 @@ declare const stripeStoreTranslateAddressToLatin: ({ addressInvalidCharactersLis
128
137
  addressInvalidCharactersList: ReturnType<typeof containsNonLatinChars> | null;
129
138
  billingAddressInvalidCharactersList: ReturnType<typeof containsNonLatinChars> | null;
130
139
  }) => Promise<void>;
131
- export { initStripeElements, stripeStore, stripeStoreCleanupDomesticShippingSession, stripeStoreConfirmPayment, stripeStoreGetDomesticShippingSession, stripeStoreInitCheckoutSession, stripeStorePrefetchLandedCost, stripeStoreReset, stripeStoreRetrievePayment, stripeStoreSaveDomesticShippingSession, stripeStoreTranslateAddressToLatin, stripeStoreUpdateCheckoutSession, };
140
+ export { initStripeElements, stripeStore, stripeStoreCleanupDomesticShippingSession, stripeStoreConfirmPayment, stripeStoreGetDomesticShippingSession, stripeStoreHandleInventoryCheck, stripeStoreInitCheckoutSession, stripeStoreMessageBasedOnStatus, stripeStorePrefetchLandedCost, stripeStoreReset, stripeStoreRetrievePayment, stripeStoreSaveDomesticShippingSession, stripeStoreTranslateAddressToLatin, stripeStoreUpdateCheckoutSession, };
@@ -11,6 +11,9 @@ export declare const stringsArabic: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsArabic: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsArabic: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsBase: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsBase: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsBase: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsChinese: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsChinese: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsChinese: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsDanish: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsDanish: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsDanish: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsDutch: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsDutch: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsDutch: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsFrench: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsFrench: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsFrench: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsGerman: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsGerman: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsGerman: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsHebrew: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsHebrew: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsHebrew: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsIndonesian: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsIndonesian: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsIndonesian: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsItalian: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsItalian: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsItalian: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsJapanese: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsJapanese: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsJapanese: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsKorean: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsKorean: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsKorean: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsNorwegian: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsNorwegian: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsNorwegian: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsPolish: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsPolish: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsPolish: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };
@@ -11,6 +11,9 @@ export declare const stringsPortuguese: {
11
11
  'Address line 2': {
12
12
  value: string;
13
13
  };
14
+ 'An unexpected error occurred when processing PayPal order.': {
15
+ value: string;
16
+ };
14
17
  'Are you sure?': {
15
18
  value: string;
16
19
  };
@@ -92,6 +95,9 @@ export declare const stringsPortuguese: {
92
95
  'Expected delivery': {
93
96
  value: string;
94
97
  };
98
+ 'Failed to create PayPal order. Please try again, or consider using an alternative method.': {
99
+ value: string;
100
+ };
95
101
  Failure: {
96
102
  value: string;
97
103
  };
@@ -317,6 +323,9 @@ export declare const stringsPortuguese: {
317
323
  'click to learn more': {
318
324
  value: string;
319
325
  };
326
+ or: {
327
+ value: string;
328
+ };
320
329
  'restricted items': {
321
330
  value: string;
322
331
  };