@justifi/webcomponents 6.0.0-rc.10 → 6.0.0-rc.12

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 (284) hide show
  1. package/dist/cjs/{check-pkg-version-DiQ-d5Nl.js → check-pkg-version-BlIBYv3J.js} +1 -1
  2. package/dist/cjs/{checkout.store-BGvYPPz0.js → checkout.store-DJEc-So8.js} +3 -0
  3. package/dist/cjs/checkouts-list-core.cjs.entry.js +1 -1
  4. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  5. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  6. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  7. package/dist/cjs/form-control-select_2.cjs.entry.js +2 -2
  8. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  9. package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
  10. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
  11. package/dist/cjs/justifi-apple-pay.cjs.entry.js +4 -1
  12. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +9 -8
  13. package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
  14. package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
  15. package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +75 -74
  16. package/dist/cjs/justifi-checkout.cjs.entry.js +5 -5
  17. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
  18. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +3 -3
  19. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  20. package/dist/cjs/justifi-dispute-management.cjs.entry.js +3 -3
  21. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +5 -5
  22. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
  23. package/dist/cjs/justifi-order-terminals.cjs.entry.js +3 -3
  24. package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
  25. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
  26. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +3 -3
  27. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  28. package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
  29. package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
  30. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +3 -3
  31. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  32. package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
  33. package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
  34. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
  35. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -2
  36. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
  37. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-terminals-list.cjs.entry.js +3 -3
  39. package/dist/cjs/loader.cjs.js +1 -1
  40. package/dist/cjs/{package-Be2aoTf8.js → package-BMpasLve.js} +1 -1
  41. package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
  42. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  43. package/dist/cjs/payments-list-core.cjs.entry.js +1 -1
  44. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  45. package/dist/cjs/payouts-list-core.cjs.entry.js +1 -1
  46. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  47. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +1 -1
  48. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  49. package/dist/cjs/terminals-list-core.cjs.entry.js +1 -1
  50. package/dist/cjs/webcomponents.cjs.js +1 -1
  51. package/dist/collection/api/index.js +1 -2
  52. package/dist/collection/collection-manifest.json +1 -1
  53. package/dist/collection/components/checkout/checkout.js +2 -2
  54. package/dist/collection/components/checkout/save-new-payment-method.js +26 -1
  55. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  56. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  57. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  58. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  59. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  60. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  61. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  62. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  63. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  64. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  65. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  66. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  67. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  68. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  69. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  70. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  71. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  72. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  73. package/dist/collection/components/modular-checkout/modular-checkout.js +43 -32
  74. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +3 -0
  75. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  76. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  77. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  78. package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.js +6 -38
  79. package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js +6 -5
  80. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  81. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  82. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  83. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  84. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  85. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  86. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  87. package/dist/collection/components/payments-list/payments-list.js +1 -1
  88. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  89. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  90. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  91. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  92. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  93. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  94. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  95. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  96. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  97. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  98. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  99. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +21 -2
  100. package/dist/collection/store/checkout.store.js +3 -0
  101. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  102. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  103. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  104. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  105. package/dist/docs.json +55 -31
  106. package/dist/esm/{check-pkg-version-CAnDiqiu.js → check-pkg-version-C34D9a6k.js} +1 -1
  107. package/dist/esm/{checkout.store-CCdFOPCK.js → checkout.store-DNDbZO3M.js} +3 -0
  108. package/dist/esm/checkouts-list-core.entry.js +1 -1
  109. package/dist/esm/custom-popper_2.entry.js +2 -2
  110. package/dist/esm/form-control-checkbox.entry.js +2 -2
  111. package/dist/esm/form-control-date.entry.js +2 -2
  112. package/dist/esm/form-control-select_2.entry.js +2 -2
  113. package/dist/esm/gross-payment-chart-core.entry.js +1 -1
  114. package/dist/esm/hidden-input_2.entry.js +1 -1
  115. package/dist/esm/justifi-additional-statement_8.entry.js +8 -8
  116. package/dist/esm/justifi-apple-pay.entry.js +4 -1
  117. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +9 -8
  118. package/dist/esm/justifi-business-details.entry.js +2 -2
  119. package/dist/esm/justifi-business-form.entry.js +2 -2
  120. package/dist/esm/justifi-checkout-summary_7.entry.js +75 -74
  121. package/dist/esm/justifi-checkout.entry.js +5 -5
  122. package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
  123. package/dist/esm/justifi-checkouts-list.entry.js +3 -3
  124. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  125. package/dist/esm/justifi-dispute-management.entry.js +3 -3
  126. package/dist/esm/justifi-dispute-notification_3.entry.js +5 -5
  127. package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
  128. package/dist/esm/justifi-order-terminals.entry.js +3 -3
  129. package/dist/esm/justifi-payment-details.entry.js +2 -2
  130. package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
  131. package/dist/esm/justifi-payment-transactions-list.entry.js +3 -3
  132. package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
  133. package/dist/esm/justifi-payments-list.entry.js +3 -3
  134. package/dist/esm/justifi-payout-details.entry.js +2 -2
  135. package/dist/esm/justifi-payout-transactions-list.entry.js +3 -3
  136. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  137. package/dist/esm/justifi-payouts-list.entry.js +3 -3
  138. package/dist/esm/justifi-refund-payment.entry.js +2 -2
  139. package/dist/esm/justifi-season-interruption-insurance.entry.js +3 -3
  140. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +2 -2
  141. package/dist/esm/justifi-terminal-orders-list.entry.js +3 -3
  142. package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
  143. package/dist/esm/justifi-terminals-list.entry.js +3 -3
  144. package/dist/esm/loader.js +1 -1
  145. package/dist/esm/{package-CnWtPu8L.js → package-RVJZaRpm.js} +1 -1
  146. package/dist/esm/payment-details-core.entry.js +8 -8
  147. package/dist/esm/payment-method-option.entry.js +1 -1
  148. package/dist/esm/payments-list-core.entry.js +1 -1
  149. package/dist/esm/payout-details-core.entry.js +3 -3
  150. package/dist/esm/payouts-list-core.entry.js +1 -1
  151. package/dist/esm/table-filters-menu.entry.js +1 -1
  152. package/dist/esm/terminal-orders-list-core.entry.js +1 -1
  153. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  154. package/dist/esm/terminals-list-core.entry.js +1 -1
  155. package/dist/esm/webcomponents.js +1 -1
  156. package/dist/module/additional-statement.js +1 -1
  157. package/dist/module/bank-account.js +2 -2
  158. package/dist/module/cancellation-policy.js +1 -1
  159. package/dist/module/card-form2.js +2 -2
  160. package/dist/module/checkout.store.js +3 -0
  161. package/dist/module/checkouts-list-core2.js +1 -1
  162. package/dist/module/custom-popper2.js +2 -2
  163. package/dist/module/customer-details.js +1 -1
  164. package/dist/module/dispute-management-core.js +1 -1
  165. package/dist/module/dispute-notification.js +1 -1
  166. package/dist/module/dispute-response-core.js +1 -1
  167. package/dist/module/dispute-response.js +1 -1
  168. package/dist/module/duplicate-charge.js +1 -1
  169. package/dist/module/electronic-evidence.js +1 -1
  170. package/dist/module/form-control-checkbox2.js +2 -2
  171. package/dist/module/form-control-date2.js +2 -2
  172. package/dist/module/form-control-select2.js +2 -2
  173. package/dist/module/gross-payment-chart-core2.js +1 -1
  174. package/dist/module/justifi-apple-pay.js +3 -0
  175. package/dist/module/justifi-checkout.js +2 -2
  176. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  177. package/dist/module/justifi-checkouts-list.js +1 -1
  178. package/dist/module/justifi-dispute-management.js +1 -1
  179. package/dist/module/justifi-order-terminals.js +1 -1
  180. package/dist/module/justifi-payment-transactions-list.js +1 -1
  181. package/dist/module/justifi-payments-list-filters.js +2 -2
  182. package/dist/module/justifi-payments-list.js +1 -1
  183. package/dist/module/justifi-payout-transactions-list.js +1 -1
  184. package/dist/module/justifi-payouts-list-filters.js +2 -2
  185. package/dist/module/justifi-payouts-list.js +1 -1
  186. package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
  187. package/dist/module/justifi-terminal-orders-list.js +1 -1
  188. package/dist/module/justifi-terminals-list-filters.js +1 -1
  189. package/dist/module/justifi-terminals-list.js +1 -1
  190. package/dist/module/modular-checkout.js +43 -12
  191. package/dist/module/package.js +1 -1
  192. package/dist/module/payment-details-core2.js +8 -8
  193. package/dist/module/payment-method-option.js +1 -1
  194. package/dist/module/payments-list-core2.js +1 -1
  195. package/dist/module/payout-details-core2.js +3 -3
  196. package/dist/module/payouts-list-core2.js +1 -1
  197. package/dist/module/plaid-payment-method.js +9 -61
  198. package/dist/module/plaid.service.js +26 -0
  199. package/dist/module/product-or-service.js +1 -1
  200. package/dist/module/refund-policy.js +1 -1
  201. package/dist/module/save-new-payment-method.js +3 -1
  202. package/dist/module/shipping-details.js +1 -1
  203. package/dist/module/summary.js +1 -1
  204. package/dist/module/table-filters-menu2.js +1 -1
  205. package/dist/module/terminal-orders-list-core2.js +1 -1
  206. package/dist/module/terminal-quantity-selector2.js +1 -1
  207. package/dist/module/terminals-list-core2.js +1 -1
  208. package/dist/module/tokenize-payment-method.js +3 -2
  209. package/dist/types/api/index.d.ts +2 -2
  210. package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -0
  211. package/dist/types/components/modular-checkout/modular-checkout.d.ts +1 -2
  212. package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.d.ts +0 -1
  213. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -0
  214. package/dist/types/components.d.ts +10 -8
  215. package/dist/types/index.d.ts +1 -0
  216. package/dist/types/store/checkout.store.d.ts +3 -0
  217. package/dist/webcomponents/{p-7bcfaff4.entry.js → p-0481bce2.entry.js} +1 -1
  218. package/dist/webcomponents/{p-af9c4174.entry.js → p-0ff04742.entry.js} +1 -1
  219. package/dist/webcomponents/p-107a603e.entry.js +1 -0
  220. package/dist/webcomponents/p-11e13345.entry.js +1 -0
  221. package/dist/webcomponents/{p-89ecd650.entry.js → p-12e5e7a5.entry.js} +1 -1
  222. package/dist/webcomponents/{p-f4d0cdf0.entry.js → p-21c867df.entry.js} +1 -1
  223. package/dist/webcomponents/p-27d3254b.entry.js +1 -0
  224. package/dist/webcomponents/p-2b39ab97.entry.js +1 -0
  225. package/dist/webcomponents/{p-e8a67dc7.entry.js → p-2d14f144.entry.js} +1 -1
  226. package/dist/webcomponents/p-402caa84.entry.js +1 -0
  227. package/dist/webcomponents/{p-17093105.entry.js → p-42d4ea58.entry.js} +1 -1
  228. package/dist/webcomponents/{p-9a2c044f.entry.js → p-431ba789.entry.js} +1 -1
  229. package/dist/webcomponents/{p-2fa34c82.entry.js → p-46b6142b.entry.js} +1 -1
  230. package/dist/webcomponents/p-4e1653c2.entry.js +1 -0
  231. package/dist/webcomponents/{p-9e8021a1.entry.js → p-522e7b24.entry.js} +1 -1
  232. package/dist/webcomponents/{p-1bcb3852.entry.js → p-52d1df84.entry.js} +1 -1
  233. package/dist/webcomponents/p-537aa971.entry.js +1 -0
  234. package/dist/webcomponents/{p-b7d2f2eb.entry.js → p-594e6de4.entry.js} +1 -1
  235. package/dist/webcomponents/{p-7dd74e6f.entry.js → p-5b96f73a.entry.js} +1 -1
  236. package/dist/webcomponents/p-5c4438d2.entry.js +1 -0
  237. package/dist/webcomponents/{p-1a08b47f.entry.js → p-60f67f0b.entry.js} +1 -1
  238. package/dist/webcomponents/{p-d62cd269.entry.js → p-65576256.entry.js} +1 -1
  239. package/dist/webcomponents/p-7186f4a7.entry.js +1 -0
  240. package/dist/webcomponents/{p-62d12566.entry.js → p-71f9c48a.entry.js} +1 -1
  241. package/dist/webcomponents/{p-f7c4222f.entry.js → p-72487fc4.entry.js} +1 -1
  242. package/dist/webcomponents/p-778e9fe9.entry.js +1 -0
  243. package/dist/webcomponents/{p-1eb2b847.entry.js → p-86a156dd.entry.js} +1 -1
  244. package/dist/webcomponents/{p-9fc0ea58.entry.js → p-8e3aa006.entry.js} +1 -1
  245. package/dist/webcomponents/{p-9fcff84c.entry.js → p-9c997d0b.entry.js} +1 -1
  246. package/dist/webcomponents/p-9f290cee.entry.js +1 -0
  247. package/dist/webcomponents/{p-DZYcH7jA.js → p-BDhDryfc.js} +1 -1
  248. package/dist/webcomponents/p-Cb3h46bV.js +1 -0
  249. package/dist/webcomponents/p-RVJZaRpm.js +1 -0
  250. package/dist/webcomponents/{p-a55f07af.entry.js → p-a17c9611.entry.js} +1 -1
  251. package/dist/webcomponents/{p-c599e526.entry.js → p-a6748a1d.entry.js} +1 -1
  252. package/dist/webcomponents/{p-54ca3070.entry.js → p-a7ac285c.entry.js} +1 -1
  253. package/dist/webcomponents/p-b884c549.entry.js +1 -0
  254. package/dist/webcomponents/p-bc45aa92.entry.js +1 -0
  255. package/dist/webcomponents/p-c8613a86.entry.js +1 -0
  256. package/dist/webcomponents/{p-bbc4b4cb.entry.js → p-d0b109a1.entry.js} +1 -1
  257. package/dist/webcomponents/{p-0803d130.entry.js → p-d637e889.entry.js} +1 -1
  258. package/dist/webcomponents/{p-5ad0f438.entry.js → p-e6d1ed81.entry.js} +1 -1
  259. package/dist/webcomponents/{p-50392803.entry.js → p-e7b66120.entry.js} +1 -1
  260. package/dist/webcomponents/p-e9a5c837.entry.js +1 -0
  261. package/dist/webcomponents/{p-ab6a5dc9.entry.js → p-ed901f9d.entry.js} +1 -1
  262. package/dist/webcomponents/{p-8a6718b6.entry.js → p-efda81f3.entry.js} +1 -1
  263. package/dist/webcomponents/p-f849a34e.entry.js +1 -0
  264. package/dist/webcomponents/{p-464e7a8e.entry.js → p-f8978519.entry.js} +1 -1
  265. package/dist/webcomponents/webcomponents.esm.js +1 -1
  266. package/package.json +1 -1
  267. package/dist/webcomponents/p-117b7f47.entry.js +0 -1
  268. package/dist/webcomponents/p-2f7aa249.entry.js +0 -1
  269. package/dist/webcomponents/p-336c31b3.entry.js +0 -1
  270. package/dist/webcomponents/p-3f33c940.entry.js +0 -1
  271. package/dist/webcomponents/p-442f86e8.entry.js +0 -1
  272. package/dist/webcomponents/p-6cf30a24.entry.js +0 -1
  273. package/dist/webcomponents/p-729dbd8f.entry.js +0 -1
  274. package/dist/webcomponents/p-85f20746.entry.js +0 -1
  275. package/dist/webcomponents/p-8d6b81ba.entry.js +0 -1
  276. package/dist/webcomponents/p-8f7396b1.entry.js +0 -1
  277. package/dist/webcomponents/p-98cffba9.entry.js +0 -1
  278. package/dist/webcomponents/p-CnWtPu8L.js +0 -1
  279. package/dist/webcomponents/p-DIjoBk44.js +0 -1
  280. package/dist/webcomponents/p-d9dd7d24.entry.js +0 -1
  281. package/dist/webcomponents/p-dd7352da.entry.js +0 -1
  282. package/dist/webcomponents/p-eddaca4e.entry.js +0 -1
  283. package/dist/webcomponents/p-ef32fe0e.entry.js +0 -1
  284. package/dist/webcomponents/p-f1f0b405.entry.js +0 -1
@@ -47,10 +47,10 @@ const DateInput = class {
47
47
  return part;
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: '9e06145d50ff23ff7c7b3ef2bc0542f9e6cec388' }, h("div", { key: 'eb787b4488da0ca4b836cb4fe8577d32c5dac531', class: "form-group d-flex flex-column" }, h("div", { key: '9edd445e5b576c2087a96ab65f97f406adc61647', class: "d-flex gap-2" }, h("label", { key: '2ee675cc282033bba8f52f444cce60181eed58a3', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '7c6e69baf4d521c232e48a36d42da426cfcb8573', helpText: this.helpText })), h("input", { key: 'c0364e383a104264bc8f0cb770d29309463b7b97', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
50
+ return (h(Host, { key: 'bbeb4c2a8177f067f448d8dbdd1a3cb4231edca0' }, h("div", { key: '73cbd532399f7c1f3b8165d1b4e32c91698cb8af', class: "form-group d-flex flex-column" }, h("div", { key: 'bda1044c15ef82183369dee491d37bec84ef76bc', class: "d-flex gap-2" }, h("label", { key: '858e0dbe67055585a108604f8ee142047431938f', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'de42e98c63b984570a420ccef8dee18038164b23', helpText: this.helpText })), h("input", { key: '87148f5d0d56720377293de8856a0cb5a6c04333', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
51
51
  this.isFocused = false;
52
52
  this.formControlBlur.emit();
53
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: 'd3bc10c598d942b513c62f4ed2f0fdfa9b0703b2', errorText: this.errorText, name: this.name }))));
53
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '526352380506480c7e60bd0d3a9b2dad6a96278e', errorText: this.errorText, name: this.name }))));
54
54
  }
55
55
  static get watchers() { return {
56
56
  "defaultValue": ["handleDefaultValueChange"]
@@ -40,10 +40,10 @@ const SelectInput = class {
40
40
  }
41
41
  render() {
42
42
  var _a;
43
- return (h(Host, { key: '9842d5b2a2069292ded1b960bc024d7995a6d58e' }, h("div", { key: 'b4b5fe37f88661d2f592864adb16ae997a38b484', class: "form-group d-flex flex-column" }, h("div", { key: 'f70c40c7e4bdd58b985ac9b6e76fbf48ff15261e', class: "d-flex align-items-start gap-2" }, h("label", { key: '6b1d9e1f3b22e702962c1d23a057f08222af5e1a', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'fae7835adde280a8c4f48f3c9b169240aac3672d', helpText: this.helpText })), h("select", { key: 'bee75d1bb56ed104473efcad7d8c432b50bfbb38', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
43
+ return (h(Host, { key: 'a7428cd8a89414d877dafe9948f5652f28c36a5f' }, h("div", { key: 'c9d5d5d2f8a6292484d3606d883dbb9d168aa316', class: "form-group d-flex flex-column" }, h("div", { key: 'c1aba6560934b966de02e9afef77428c6060eefb', class: "d-flex align-items-start gap-2" }, h("label", { key: '5fbbb09c3955ff3285b006f24c3873082394d39c', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'f756a05a8273ab6fd65205bb5c32cd34c30a9db3', helpText: this.helpText })), h("select", { key: 'ffd0fa461d3c35da5595e705a7c4068066d8f971', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
44
44
  this.isFocused = false;
45
45
  this.formControlBlur.emit();
46
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: 'f5df46552aa8124b344260bca05bd02c695d0fe6', errorText: this.errorText, name: this.name }))));
46
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: '6ee60bb236ccf7cea7bc8ccf946a363d2cd26906', errorText: this.errorText, name: this.name }))));
47
47
  }
48
48
  static get watchers() { return {
49
49
  "defaultValue": ["handleDefaultValueChange"]
@@ -11053,7 +11053,7 @@ const GrossPaymentChartCore = class {
11053
11053
  }
11054
11054
  }
11055
11055
  render() {
11056
- return (h(Host, { key: '14360f11f9b118e347ee73739f03c3631fbef1a4' }, this.loading && h(Spinner, { key: 'a5190472afdbf507c6c36c8aaae1473bffc80dcf' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
11056
+ return (h(Host, { key: '663505aa79e84647ccc612ba671910a2cbc9e27d' }, this.loading && h(Spinner, { key: '2c0a00781ec16313786e76e2d95f4cddae5d3cb9' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
11057
11057
  }
11058
11058
  static get watchers() { return {
11059
11059
  "getGrossPayment": ["propChanged"],
@@ -3,7 +3,7 @@ import { c as createStore } from './index-B_KxSZIF.js';
3
3
  import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, l as label } from './parts-RvUQ__Pq.js';
4
4
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
5
5
  import { F as FormControlErrorText } from './form-control-error-text-R7U07nTg.js';
6
- import { p as packageJson } from './package-CnWtPu8L.js';
6
+ import { p as packageJson } from './package-RVJZaRpm.js';
7
7
 
8
8
  const iframeInputStylesStore = createStore({
9
9
  focused: {
@@ -98,7 +98,7 @@ const AdditionalStatement = class {
98
98
  }
99
99
  render() {
100
100
  var _a, _b;
101
- return (h("div", { key: '3904e1b961f9e1a0683647d306a128efcd7b9202' }, h("div", { key: '37ae13e4b7ad7bc8a18b588c4e591cde9030147e', class: "row gy-3" }, h("div", { key: '2f9b835795f21e4585638ad8be2093642f08b982', class: "col-12" }, h("h2", { key: '9ff1aeb8256ffe97c6300bd48597542519cda0a7', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: 'e4c6b9f4624b06103b6c643838a76c4a724e3168', class: "col-12" }, h("form-control-textarea", { key: 'dc9a5cb126a2d6f70cd8d59cdcfcd29f5c4e341b', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: 'ba5202a5d8df30f5f4b7217341110646bb76e082', class: "col-12" }, h("form-control-file-v2", { key: '3168fc63d6bd6013821ee335914d916bb680fe42', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
101
+ return (h("div", { key: '4d0fbca80a880577be7853efc494807d7d1e2fd9' }, h("div", { key: '6c3a82afe01b0812807a8e19dc750d4e9901876a', class: "row gy-3" }, h("div", { key: '89e7f50b0c6d67249b892caf8c6b2d78c1742309', class: "col-12" }, h("h2", { key: 'e0c4db3f5330cdd0e00897da0a54b898f0056f93', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '58d4506d4bc0470afa4de87fdcf25ce4397d4180', class: "col-12" }, h("form-control-textarea", { key: 'aee641d90803d0ff483cfe75d881e3259303d4bc', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '19377eb6382adc9cb69ec57fe7928b7d477110d8', class: "col-12" }, h("form-control-file-v2", { key: '9529de236046398904d4780fcedada3a67ce4daf', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
102
102
  }
103
103
  };
104
104
 
@@ -132,7 +132,7 @@ const CancellationPolicy = class {
132
132
  }
133
133
  render() {
134
134
  var _a, _b, _c;
135
- return (h("div", { key: '29819e51969e655219ccbdbb2e1d1b738b64f7d3' }, h("div", { key: '28279bbc8354128a5041ed6eac16d4966be1584c', class: "row gy-3" }, h("div", { key: '8b6215544f87a8c35b81a93a5f4826a35e0c0f9f', class: "col-12" }, h("h2", { key: 'b6337efb93f03ea48f2c29b1baef4929f236df2d', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'b7d78115378ecd0b4a4f8a43349f1b4f2527ca35', class: "col-12" }, h("form-control-textarea", { key: '6ab47f5626a945f222efceef43dc096061cb67ed', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '6aeccf798d112e79251408401c99d916a9065e94', class: "col-12" }, h("form-control-textarea", { key: '580e61e4370570c9a04496fef4b7ad9c19058336', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: 'e0deddf002b64d02bc5a5db075da11d2566dc3bb', class: "col-12" }, h("form-control-file-v2", { key: '3da55e915d4d3126456de8e95debc6d9e46dca42', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
135
+ return (h("div", { key: 'ac10b9b21d37179211d74118b06f561e95d9ea71' }, h("div", { key: '8ff525f8ed20828ed153b7dc23cb84a0277b81d4', class: "row gy-3" }, h("div", { key: '4f22ed526972a6625dc77b3ab0ab5b074277d7b2', class: "col-12" }, h("h2", { key: 'd78d54468b91edd99238bd757f871b18ec5b58ca', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '629c9660446cbba8951cd8396d9b72aea71c731b', class: "col-12" }, h("form-control-textarea", { key: '60e0b4903e4ddec6915d23617f215d5d2ea20935', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'aec3e4561f880b86ba6f5c7ce0298e45b837c2fd', class: "col-12" }, h("form-control-textarea", { key: 'e77d126709037cb22e6e4fcf2228652ffeb672ee', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '407c071a0f7a1e488eb2ef4d522e515138a5ed2c', class: "col-12" }, h("form-control-file-v2", { key: '15dfacd8e1de439848d12ecec9a0f5ffac259484', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
136
136
  }
137
137
  };
138
138
 
@@ -167,7 +167,7 @@ const CustomerDetails = class {
167
167
  }
168
168
  render() {
169
169
  var _a, _b, _c, _d, _e;
170
- return (h("div", { key: 'f5442efc59bb6a99a87f90feb5a4a147019af940' }, h("div", { key: 'd0f97e7ca943bfe8e4846ea84838ab08dc3658ab', class: "row gy-3" }, h("div", { key: 'da7f41d96c717f921010786f593c3776e2644738', class: "col-12" }, h("h2", { key: '0f7d56f400ec0f4250bbf7c8b2b736e084c17ab0', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: 'eca73b10ec43454be35d4ec6e09b410b7a509b46', class: "col-12" }, h("form-control-text", { key: '1b67e031f3ac24b43319b09a01a5e297095ecc84', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '967326bb10e6d2a64b2f3f0bae99432f238e361c', class: "col-12" }, h("form-control-text", { key: 'fc7d83cc51728920d9f4849dd85f4f019bb50fe4', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '4e598f3e9bf118ddf22c4c160f0171c9789cd853', class: "col-12" }, h("form-control-textarea", { key: 'fe1c2e1a4c70ef463a31e890349a5b49f979e21b', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: 'a4345bc3b39f913cc233baa21373a6d7d93d3cda', class: "col-12" }, h("form-control-file-v2", { key: '82cb1b948807d901845a23137b5d488c9edd53ae', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: 'ffc589785e6114d604c2d98d3140de5487dc8af6', class: "col-12" }, h("form-control-file-v2", { key: '5b6b64927e4b90cc6dbb302fbc0d2067b70c6f4a', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
170
+ return (h("div", { key: 'e09402d1c3ca9bb8f3a243c22bec2e9d908d661f' }, h("div", { key: '67a1038f92a9a9711ca37d353af7a06b87cbe0a8', class: "row gy-3" }, h("div", { key: '1be2249539c434bf3faf847b4202ff2f421d15a3', class: "col-12" }, h("h2", { key: '17d8bc1b31dfa77f08500ff4029f572049d9e1ce', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '3e218b39c8f5dab178cc8b23caf403e1a912694c', class: "col-12" }, h("form-control-text", { key: 'ab28a2176315c3ecd1ff984a599589a81375f4e0', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: 'e1739728748de575e39f29018cd1139d75232611', class: "col-12" }, h("form-control-text", { key: '9f2aec120b08ac793be93f9c990d81a74c9e57d2', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '9be7e4a85edfc9bc95e8ede96ebc81f4777f1cdb', class: "col-12" }, h("form-control-textarea", { key: '100e419cc2064509aaa03c76e2898fc7df85e950', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '94da95bb013738aefb17088203ee14e07f159ae0', class: "col-12" }, h("form-control-file-v2", { key: '1ab77a12a715fbb82c0bc1c9f9081e54fd3fef0e', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '88eed9387758b86332137fa64b4e3b3c5825d908', class: "col-12" }, h("form-control-file-v2", { key: '0b654ffcf253c639b07ffe03450a87550caaa75a', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
171
171
  }
172
172
  };
173
173
 
@@ -201,7 +201,7 @@ const DuplicateCharge = class {
201
201
  }
202
202
  render() {
203
203
  var _a, _b, _c;
204
- return (h("div", { key: '2b1fbb67aebf81b2cac878cfd86a71e31feb7288' }, h("div", { key: 'e05d18f73ae193c43ead170ca59e580172115c25', class: "row gy-3" }, h("div", { key: '0f0c24505bc9e14e79681e1686e61671027af940', class: "col-12" }, h("h2", { key: '0c5a6f6119c5178564ece36506e90d79cf0a2393', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'cb740c8a1b6ded55b53b4b402ec5ae3147b6c632', class: "col-12" }, h("form-control-text", { key: 'a89bae70a2cf7500d69d51d0e2a8b9f50dc6ed56', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '87ec40290b40beae641136a5caca878bf5b69d34', class: "col-12" }, h("form-control-textarea", { key: '3a87c44d1584949ac5ec444c28b26a043a697e90', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: 'dc4fbe2c23c992d9bf72d1932d41886d3a4bd53a', class: "col-12" }, h("form-control-file-v2", { key: 'ee9e58fff423be4009bef08109b14a4acda8e39f', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
204
+ return (h("div", { key: '2a51ce4a6859bdd9b6fc3376f08726a682a61587' }, h("div", { key: '49765fde2654e0eda955e4569d3003749d04b1a1', class: "row gy-3" }, h("div", { key: '9a04ce529407e436c5c7dc363525821116eb3271', class: "col-12" }, h("h2", { key: '6d8c1c64da56d19e3adedc08171b7096084adb0b', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '3a4be2ced9e35974864a6fb3504dff58d792e623', class: "col-12" }, h("form-control-text", { key: 'a3d86e2059a017d931619d1e53a24e60e9f95282', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '407386824a21bc40a802366ebf4c8e0cc2aef908', class: "col-12" }, h("form-control-textarea", { key: 'c4b5a5026eeffedeae11d9f6fd74ecd4e288894c', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: 'cc4a805b1c5574436a19258007cd3271831e9967', class: "col-12" }, h("form-control-file-v2", { key: '49d84e63f7acd6dd953429063fc9206373482d16', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
205
205
  }
206
206
  };
207
207
 
@@ -234,7 +234,7 @@ const ElectronicEvidence = class {
234
234
  }
235
235
  render() {
236
236
  var _a, _b;
237
- return (h("div", { key: 'e23dbefec1d452aa3ba3cca69523eee0f5cfe923' }, h("div", { key: 'e1f11a356d05519b568b5bb65be9e8a1fc14e46f', class: "row gy-3" }, h("div", { key: 'a6208153a9a44d49e88f80d953477de8b40ed64b', class: "col-12" }, h("h2", { key: 'c80cc00343452fbf9d9ddacb6929d3a7e0a33f42', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '1ed5c9f72596f33f41431eb62e6338f60adc9ab3', class: "col-12" }, h("form-control-text", { key: 'dfb38a1c00b8b09849840f4a071fbaa12321f7a8', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: 'd6f0a73cccf7eb2ea481836c6206ee39a0a21c6c', class: "col-12" }, h("form-control-file-v2", { key: '25dfd3efa3ec536f899fb263624bfea1b68dc397', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
237
+ return (h("div", { key: '41d5fd40ac6fc4fffddb7913b647046869882dfd' }, h("div", { key: '265d25bbd6423f6514a1bb4fab1574631113783d', class: "row gy-3" }, h("div", { key: 'e55e31fbfaa88eacd940622551e37951e54aa321', class: "col-12" }, h("h2", { key: '710bec9fdf42a7ddedbaed447ab1212bc9d6be9c', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '81ad6d6af441041c0aa0f39c732d528e9d966b61', class: "col-12" }, h("form-control-text", { key: 'b9a3ae49cc394e28baadec0ca9904e5c25996921', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '53c9b52e9ff3a988805c9e72dca2038ac8cb8483', class: "col-12" }, h("form-control-file-v2", { key: 'bd2bd5d7131bf7c92a7d11042211a9b7764dbbd7', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
238
238
  }
239
239
  };
240
240
 
@@ -268,7 +268,7 @@ const ProductOrService = class {
268
268
  }
269
269
  render() {
270
270
  var _a, _b, _c;
271
- return (h("div", { key: 'f1f7d30bd481b5e3b49d9aaffd6e9bc1266b3c17' }, h("div", { key: 'c41caefa4937db6b0669cd28e84b6918c719d8f0', class: "row gy-3" }, h("div", { key: 'be3b622f366017c7a8bdddfc363a0a46216de2ea', class: "col-12" }, h("h2", { key: '39374858f492c6e20e637dab0c73356fb6c6499d', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'c910f0b2a6c1574f2b09348e4d3b889a675bbfeb', class: "col-12" }, h("form-control-text", { key: '636616c14d388dd25c33d81220231f2e7b36ec2f', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '44da2982c48cd5da994aec38f5196205b25c4868', class: "col-12" }, h("form-control-date", { key: '6b5ff071f9e941caaadff9fbaf18501524f71fce', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '8ae3d7fbc3826f932ee14d98a48d90cf913606af', class: "col-12" }, h("form-control-file-v2", { key: '5990ebe0df1e74fd7b1d6a6cf1dd8d08cd680a68', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
271
+ return (h("div", { key: 'c93f5bc2e64f5e2964eb033cb6c972283841876b' }, h("div", { key: '7986f459ba9cc0d7e896a418ba4bd9e51148d36f', class: "row gy-3" }, h("div", { key: 'ddf033f861a5b91961294600a5d6d7261937711c', class: "col-12" }, h("h2", { key: '2a33306859a2982fbb3457831c29a98cd3e86c4f', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '385212b08cbdcd4d610c806f1f9b5d18446a9831', class: "col-12" }, h("form-control-text", { key: '210a8c07288473e93737e93659dc91e7f813e306', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '5a52ad00db803d2ddd0afe6ee7cde4b907e1ad1a', class: "col-12" }, h("form-control-date", { key: '1bdef3f3391b4a97aa3e97aefac3e29b5520f620', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: 'd4fc75d0f175914e2fbb134e6449e1d45742a9f3', class: "col-12" }, h("form-control-file-v2", { key: '62e1ae0f42103f49bc5c93427b62ad90570634f8', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
272
272
  }
273
273
  };
274
274
 
@@ -302,7 +302,7 @@ const RefundPolicy = class {
302
302
  }
303
303
  render() {
304
304
  var _a, _b, _c, _d;
305
- return (h("div", { key: '75d1e4a99166f8b8f112746fd5a786ed4b41b6ae' }, h("div", { key: 'c4a137ad32f0a0e5580061b1cc2443399d5baf15', class: "row gy-3" }, h("div", { key: '8b864aacd4b1334f9a5e7ffdf116345db20aac58', class: "col-12" }, h("h2", { key: 'e319c7e0d2ebedf204e6845fb977651b96f4a9b8', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '72cc1aff194c70395f8002b4af6842cd42046d80', class: "col-12" }, h("form-control-textarea", { key: '798219393da9f68198205bb877a5a3aa2ac2d1bb', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: 'bc0d341abb63327da6d97fba120c34aebabd50b3', class: "col-12" }, h("form-control-textarea", { key: '2aa931300951be7897d9ba4adeda6be5e94a00d8', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'c3cad588c5b40a6133920a0c43f71d7b172abdab', class: "col-12" }, h("form-control-file-v2", { key: '8f2184a0d95804a85d61de763c14b1a6fb44c566', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '183f6286e96694e54fd31213b514349a43d0446f', class: "col-12" }, h("form-control-file-v2", { key: 'e3f97404946c8e6a813d397141d10e372df5f520', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
305
+ return (h("div", { key: 'a300941b5472ab2cfd1dd212fbab4b280c132f73' }, h("div", { key: '1f11681c815c4f0676da384884b758b1bd49f3d1', class: "row gy-3" }, h("div", { key: '56f1575a5e2c7da5d725ca224b5d64163de0fd23', class: "col-12" }, h("h2", { key: '9ccb22c016184f233d1096b66380473a8e62c269', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'e602ac3e5fe3cbd3d12910d66cc8d879295a9e4a', class: "col-12" }, h("form-control-textarea", { key: 'f6e6dae3ab7d383da16fa5308933a77cf63f11d8', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '8cdb3b28847683f5fd4594eb64522c899e5ef993', class: "col-12" }, h("form-control-textarea", { key: 'c8e4b7c760cbe8bb9cb30818b0c29f6012092649', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: '95c376af4517e3ee23afd64d479a6ae051f03d72', class: "col-12" }, h("form-control-file-v2", { key: 'dc2ef0d5911dbab2d820bc46563bbb7218390501', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: 'b9d6ffb85e987f5037e414dde26e72f5219c0ea8', class: "col-12" }, h("form-control-file-v2", { key: 'c6513b7a2f9d68c2df2be8c21da0d16e03a6a885', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
306
306
  }
307
307
  };
308
308
 
@@ -339,7 +339,7 @@ const ShippingDetails = class {
339
339
  }
340
340
  render() {
341
341
  var _a, _b, _c, _d, _e;
342
- return (h("div", { key: 'a0907d5f1fe8d40876f816b6d332dbb0d9afe975' }, h("div", { key: '3f22d56b30227d9ce0d22dc45c4e29bba60b5366', class: "row gy-3" }, h("div", { key: 'ec768dcf266527e981712f55cdb1921d0e6ef257', class: "col-12" }, h("h2", { key: '0b0e92ba9164941f48e1162937d7bd694683b206', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '2a5f5508c7f8b1a3a674d4bd18a2cba725ff86e7', class: "col-12" }, h("form-control-text", { key: 'deb04aa47dee3269ad8ad84b59edfdf251207520', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: 'e340cf8f480c335b7e565e7d4bf052685bc3f78f', class: "col-12" }, h("form-control-text", { key: '8e3d040776e821518c0d04ea8d0da2d0ddb75cd3', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '71dab91e7befe734db1b8f02bb3fd8d1b8180ab8', class: "col-12" }, h("form-control-date", { key: 'f257e98c81762700c7164a8cbd86764ebe4e4353', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: 'e69255a96e9292fea2269f7f0a7888e53e5a8be7', class: "col-12" }, h("form-control-textarea", { key: 'b40386270d12484982d81a85db0e95853f76ec58', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '23f2a4dabdaefef86940ae03e00a5d240d061a2f', class: "col-12" }, h("form-control-file-v2", { key: '6db6eb9ed1803d7c25f2b9dd03955be7e9c41a34', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
342
+ return (h("div", { key: '4556d3dbedce4833b63302f78f467ccf71cce02c' }, h("div", { key: '18569ca4c37bbf7b82a13db6c8ae878d0b2c12fa', class: "row gy-3" }, h("div", { key: '001f41285eda4237686861df1aaaad24836fbf7c', class: "col-12" }, h("h2", { key: '3193324c11f5ca7c81de99cd224e2f8a8d21a43d', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'e312e8aee070bee2b317dc7f6f9e616dc3cbd26e', class: "col-12" }, h("form-control-text", { key: '69a90af0a8c328b7e0eba67d39ac3f2f4ffd3439', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '5c4ca04204a7467918e2e130d6ee437a4c5db85b', class: "col-12" }, h("form-control-text", { key: '266415e75633d4d4b5062f56ec43d47e60e03aa1', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '90088259556bbfce03c87af029ea53efc4c394de', class: "col-12" }, h("form-control-date", { key: 'b5eaf92844540c4536f8296e8668ed7e826dfd1f', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '180c72ec5c37cb7bca2edbf3d158d4973c149084', class: "col-12" }, h("form-control-textarea", { key: '924cae54e30cba491dd4ce10bb514a7374a1d793', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: 'b7f06251c0a03bec0b6622b9d05c7c55d7d6bb13', class: "col-12" }, h("form-control-file-v2", { key: '832da84ac1f4822ac882c03d60b169a2351ffb8e', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
343
343
  }
344
344
  };
345
345
 
@@ -3,7 +3,7 @@ import { A as Api } from './Api-DAWuvzbl.js';
3
3
  import { S as StyledHost } from './styled-host-CTAGIN84.js';
4
4
  import './event-types-CZfYo5-1.js';
5
5
  import { S as Skeleton } from './skeleton-qMb0_Cjy.js';
6
- import { c as checkoutStore, o as onChange } from './checkout.store-CCdFOPCK.js';
6
+ import { c as checkoutStore, o as onChange } from './checkout.store-DNDbZO3M.js';
7
7
  import './config-state-DZeVYerv.js';
8
8
  import './index-B_KxSZIF.js';
9
9
  import './utils-BscIVFn8.js';
@@ -671,6 +671,9 @@ const ApplePay = class {
671
671
  onChange("authToken", () => {
672
672
  this.initializeApplePay();
673
673
  });
674
+ onChange("checkoutLoaded", () => {
675
+ this.initializeApplePay();
676
+ });
674
677
  }
675
678
  watchPropsChange() {
676
679
  this.initializeApplePay();
@@ -5,18 +5,18 @@ import { r as radioListItem, av as billingForm } from './parts-RvUQ__Pq.js';
5
5
  import { S as StyledHost } from './styled-host-CTAGIN84.js';
6
6
  import './event-types-CZfYo5-1.js';
7
7
  import { S as Skeleton } from './skeleton-qMb0_Cjy.js';
8
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-CAnDiqiu.js';
8
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C34D9a6k.js';
9
9
  import { w as waitForConfig, c as configState } from './config-state-DZeVYerv.js';
10
10
  import { H as Header3 } from './header-3-CWa41YWq.js';
11
11
  import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
12
12
  import { S as StateOptions } from './state-options-BX8GieXu.js';
13
13
  import { B as Button } from './button-CpllL0At.js';
14
- import { c as checkoutStore } from './checkout.store-CCdFOPCK.js';
14
+ import { c as checkoutStore } from './checkout.store-DNDbZO3M.js';
15
15
  import './_commonjsHelpers-BFTU3MAI.js';
16
16
  import './business-form-options-CgssATyg.js';
17
17
  import './Business-BCoP0TAV.js';
18
18
  import './helpers-Mu7LQT-w.js';
19
- import './package-CnWtPu8L.js';
19
+ import './package-RVJZaRpm.js';
20
20
  import './Api-DAWuvzbl.js';
21
21
  import './utils-BscIVFn8.js';
22
22
  import './dinero-HXpYMWUU.js';
@@ -154,10 +154,10 @@ const BankAccountForm = class {
154
154
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
155
155
  }
156
156
  render() {
157
- return (h(StyledHost, { key: '653403782a62c5a2ea0675f9633c7197503c9ab7' }, h(BankAccountFormSkeleton, { key: '63f13c4e3c7ca588a17837faeca840302675c927', isReady: this.isReady }), h("hidden-input", { key: '7d825c7c130942e751f3ba17d195e979c406f4a6' }), h("div", { key: 'd9fec72e9526c9dadd3cae0af98d99b024320a2c', class: "container-fluid p-0", style: {
157
+ return (h(StyledHost, { key: '55cf04f40c030d67235807168a303dc2680561d2' }, h(BankAccountFormSkeleton, { key: '1b076c4d58b80c5f9b5842e1e0228657ec39f68b', isReady: this.isReady }), h("hidden-input", { key: '8b622b9693d7648a6bd33f082241910801c14e1e' }), h("div", { key: 'ce79e65bd2dba972885b5c906715e70d2817dd4c', class: "container-fluid p-0", style: {
158
158
  opacity: this.isReady ? '1' : '0',
159
159
  height: this.isReady ? 'auto' : '0',
160
- } }, h("div", { key: '22047ead687c0eb6cb724343091eac42760d93a4', class: "row mb-3" }, h("iframe-input", { key: '5f5a1300d37439b3c936dcc13e1e17cf779c9ba0', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '2898faa832be4454b81047cdc220cc418b6a6783', class: "row" }, h("iframe-input", { key: '962fc1a8504d5e84386818936b27d38ca580c410', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
160
+ } }, h("div", { key: '8cc5b4b9c742ba0958845f2e5fee3e94c6449229', class: "row mb-3" }, h("iframe-input", { key: '3c41e6d2af86ff242f3b7a3d462628ab16626fe7', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: 'd95374c4f22fe40bc0033f159d456d94ee10363f', class: "row" }, h("iframe-input", { key: '22df6eb6ad22ccb18e9e24533dd8b208afb44309', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
161
161
  }
162
162
  };
163
163
 
@@ -337,10 +337,10 @@ const JustifiCardForm = class {
337
337
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
338
338
  }
339
339
  render() {
340
- return (h(StyledHost, { key: 'a53db7e555c2a1df6679bf9ddeada18d9e750a3d' }, h(CardFormSkeleton, { key: '70eda1f05670b09bdb6a5f9f506f5828fec0cd71', isReady: this.isReady }), h("hidden-input", { key: '648480344a5a79e79d8396cdcc402f63f40b2b18' }), h("div", { key: 'd7bcf16f905367429ddf4be468d12f603135affa', class: "container-fluid p-0", style: {
340
+ return (h(StyledHost, { key: '46acef24075db09eea0c94417e92e90a360e5850' }, h(CardFormSkeleton, { key: 'bd4f610e83d7bcbf5b597079d68bbeb2abe8c02e', isReady: this.isReady }), h("hidden-input", { key: 'b4a289f1ac7f104f5dce7848a94d22c9aa4a4b56' }), h("div", { key: 'df003c1be11c5a5262e6563d1fd4755ae60dc700', class: "container-fluid p-0", style: {
341
341
  opacity: this.isReady ? '1' : '0',
342
342
  height: this.isReady ? 'auto' : '0',
343
- } }, h("div", { key: '9860508b6a16ae4a37d96c3d259237ccd17b28f1', class: "mb-3" }, h("iframe-input", { key: 'c37ec02e0b2f8465c4118892f0b51faaf9a57cdf', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '097258a271969ef38a1d32a5aa0b20c5443de991', class: "row" }, h("div", { key: 'ad2b656c503abd6aca2eea0842a70358097c452e', class: "col-4 align-content-end" }, h("iframe-input", { key: '3e3fda000e1ea41e44a337a1efd886ce7d9503f7', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '13f33bd008ad4c6407336775d35b752c0e6eb8e5', class: "col-4 align-content-end" }, h("iframe-input", { key: '3dcf445381f39544a1421569151c76c47e790456', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'fbc26d74b4e18b7a77639d8b53720ca4e7bdd201', class: "col-4 align-content-end" }, h("iframe-input", { key: '400c65fa8efb358396e561b3ba2a5ac13c3bcbbe', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
343
+ } }, h("div", { key: '900e56045f6db140c74db42396a85153d3fae683', class: "mb-3" }, h("iframe-input", { key: '1600ae4cddd10afb5abeea9d9a4e851e76ad3de2', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'ce66d35bd549b2cebca200c8c42eeddca4acd2d1', class: "row" }, h("div", { key: 'f1480606b802eff983710a37f79a9492f79b8440', class: "col-4 align-content-end" }, h("iframe-input", { key: 'd04785d62994fef3ee2d597a189d0b823e803bca', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '875e03320bb22f4f6891f01e749fef871f37cf18', class: "col-4 align-content-end" }, h("iframe-input", { key: 'ead59922d5ffeefe6e5951203b9ec157135dee3c', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'a70d098fc88770441dfb347b9124f4c4d159714d', class: "col-4 align-content-end" }, h("iframe-input", { key: 'eff54f20b8b3280b08839aaf4e77ab46c3262202', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
344
344
  }
345
345
  };
346
346
 
@@ -348,6 +348,7 @@ const SaveNewPaymentMethod = class {
348
348
  constructor(hostRef) {
349
349
  registerInstance(this, hostRef);
350
350
  this.checkboxChanged = createEvent(this, "checkboxChanged");
351
+ this.label = 'Save New Payment Method';
351
352
  this.isChecked = false;
352
353
  this.handleCheckboxChange = (_name, value) => {
353
354
  this.isChecked = value;
@@ -356,7 +357,7 @@ const SaveNewPaymentMethod = class {
356
357
  };
357
358
  }
358
359
  render() {
359
- return (h(StyledHost, { key: '407e24ad9cd84378dab6a85ed813a8040f93942a' }, h("form-control-checkbox", { key: '73dc01e01c4ca57e26c6897c06a0280fda8c98db', label: "Save New Payment Method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
360
+ return (h(StyledHost, { key: 'c3808f4373067144ded9db353e48fe9cd3df59bc' }, h("form-control-checkbox", { key: '2f104a35497fdc1397c014c4c4ed646f7b389239', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
360
361
  }
361
362
  };
362
363
 
@@ -3,7 +3,7 @@ import { E as ErrorState } from './utils-Dg6gMUTv.js';
3
3
  import { B as BusinessService } from './business.service-cQrH5BqF.js';
4
4
  import { m as makeGetBusiness } from './get-business-Crb6P-iI.js';
5
5
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
6
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-CAnDiqiu.js';
6
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C34D9a6k.js';
7
7
  import './parts-RvUQ__Pq.js';
8
8
  import './Api-DAWuvzbl.js';
9
9
  import './config-state-DZeVYerv.js';
@@ -17,7 +17,7 @@ import './Business-BCoP0TAV.js';
17
17
  import './helpers-Mu7LQT-w.js';
18
18
  import './state-options-BX8GieXu.js';
19
19
  import './utils-BeQLScSm.js';
20
- import './package-CnWtPu8L.js';
20
+ import './package-RVJZaRpm.js';
21
21
 
22
22
  const BusinessDetails = class {
23
23
  constructor(hostRef) {
@@ -9,7 +9,7 @@ import './Refund-CVh70dXA.js';
9
9
  import './Pagination-CLHwhyvu.js';
10
10
  import { B as Business, b as BusinessFormServerErrors } from './Business-BCoP0TAV.js';
11
11
  import './Dispute-BH0Xfn-F.js';
12
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-CAnDiqiu.js';
12
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-C34D9a6k.js';
13
13
  import { B as Button } from './button-CpllL0At.js';
14
14
  import { S as StyledHost } from './styled-host-CTAGIN84.js';
15
15
  import { H as Header1 } from './header-1-3M9If0gM.js';
@@ -25,7 +25,7 @@ import './business-form-options-CgssATyg.js';
25
25
  import './index-B_KxSZIF.js';
26
26
  import './utils-BscIVFn8.js';
27
27
  import './helpers-Mu7LQT-w.js';
28
- import './package-CnWtPu8L.js';
28
+ import './package-RVJZaRpm.js';
29
29
  import './Api-DAWuvzbl.js';
30
30
  import './parts-RvUQ__Pq.js';
31
31
  import './utils-BeQLScSm.js';
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, h, c as createEvent, H as Host, g as getElement } from './index-Bn7inNWG.js';
2
2
  import { z as text, r as radioListItem } from './parts-RvUQ__Pq.js';
3
3
  import { f as formatCurrency } from './utils-BscIVFn8.js';
4
- import { c as checkoutStore, a as onAnyChange, g as getAvailablePaymentMethodTypes, o as onChange } from './checkout.store-CCdFOPCK.js';
4
+ import { c as checkoutStore, a as onAnyChange, g as getAvailablePaymentMethodTypes, o as onChange } from './checkout.store-DNDbZO3M.js';
5
5
  import { S as StyledHost } from './styled-host-CTAGIN84.js';
6
6
  import './event-types-CZfYo5-1.js';
7
7
  import { H as Header1 } from './header-1-3M9If0gM.js';
8
8
  import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-CTalqbNa.js';
9
9
  import { H as Header3 } from './header-3-CWa41YWq.js';
10
- import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-CAnDiqiu.js';
10
+ import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-C34D9a6k.js';
11
11
  import './config-state-DZeVYerv.js';
12
12
  import './dinero-HXpYMWUU.js';
13
13
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes, b as ComponentErrorMessages } from './ComponentError-Cjcsf8ku.js';
@@ -17,11 +17,11 @@ import './Business-BCoP0TAV.js';
17
17
  import './Dispute-BH0Xfn-F.js';
18
18
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
19
19
  import { C as CheckoutService } from './checkout.service-Bbgi1I6V.js';
20
- import { a as PAYMENT_MODE, b as PAYMENT_METHOD_TYPES, P as PAYMENT_METHODS } from './index-CbL73B6U.js';
21
20
  import { A as Api } from './Api-DAWuvzbl.js';
21
+ import { a as PAYMENT_MODE, b as PAYMENT_METHOD_TYPES, P as PAYMENT_METHODS } from './index-CbL73B6U.js';
22
22
  import { C as CardBrandLabels } from './payment-method-option-utils-lUHAQVFl.js';
23
23
  import './index-B_KxSZIF.js';
24
- import './package-CnWtPu8L.js';
24
+ import './package-RVJZaRpm.js';
25
25
  import './helpers-Mu7LQT-w.js';
26
26
  import './state-options-BX8GieXu.js';
27
27
 
@@ -30,7 +30,7 @@ const Summary = class {
30
30
  registerInstance(this, hostRef);
31
31
  }
32
32
  render() {
33
- return (h(StyledHost, { key: 'fccb819d66329424af42e9c53effec29a6c9784d' }, h("section", { key: '0ee7a4e0579f7f222a9db82e6b4db6bb92542d9e' }, h("div", { key: 'bdf74b2bc5db35b96ca75d50783b790bb482a76e' }, h("div", { key: '851b481bd6beb1fcaadc106d27d131f8b07d1c9a', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '0b261bc0e2d65cf989778e02df51b3265816f7aa' }, h("span", { key: '0eee0017ddf25ae45d6b5c828071098f45e6e19d', part: text }, "Total"), "\u00A0", h("span", { key: 'd21576f14c3437f70a4b85b9dfc01107392d663a', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
33
+ return (h(StyledHost, { key: '2644d423d844136d86f7f6b1b80aa98b224146ac' }, h("section", { key: '2017758b2eb8bf6483ca4765e5f18279ff2f6de7' }, h("div", { key: '029f98c45be1e9c807eef1dbf1508e231c7215d1' }, h("div", { key: 'db1b7e220f5afd230ea1fcf5dc818f96d03f68b9', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'b9d401af17512a5f5ef24350f8c9e9ad1163d83e' }, h("span", { key: '5d7dcef6b946ae455cb2b8e57089f0365b8bb52b', part: text }, "Total"), "\u00A0", h("span", { key: 'cfc8fc46c2f87011de758ccce92a9f4bfbe2ba88', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
34
34
  }
35
35
  };
36
36
 
@@ -105,13 +105,33 @@ const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ pa
105
105
  }
106
106
  };
107
107
 
108
+ const api = Api();
109
+ class PlaidService {
110
+ async getLinkToken(authToken, accountId, checkoutId, signal) {
111
+ const endpoint = `plaid/${accountId}/link`;
112
+ const body = { checkout_id: checkoutId };
113
+ return api.post({ endpoint, body, authToken, signal });
114
+ }
115
+ async tokenizeBankAccount(authToken, accountId, publicToken, linkTokenId, paymentMethodGroupId, signal) {
116
+ const endpoint = `plaid/${accountId}/tokenize`;
117
+ const body = { public_token: publicToken };
118
+ if (linkTokenId) {
119
+ body.link_token_id = linkTokenId;
120
+ }
121
+ if (paymentMethodGroupId) {
122
+ body.payment_method_group_id = paymentMethodGroupId;
123
+ }
124
+ return api.post({ endpoint, body, authToken, signal });
125
+ }
126
+ }
127
+
108
128
  const ModularCheckout = class {
109
129
  constructor(hostRef) {
110
130
  registerInstance(this, hostRef);
111
131
  this.errorEvent = createEvent(this, "error-event");
112
132
  this.submitEvent = createEvent(this, "submit-event");
113
133
  this.checkoutChangedEvent = createEvent(this, "checkout-changed");
114
- this.savePaymentMethod = false;
134
+ this.plaidService = new PlaidService();
115
135
  this.handleApplePayCompleted = (event) => {
116
136
  const { success, token, paymentMethodId, error } = event.detail;
117
137
  if (success && token) {
@@ -142,9 +162,6 @@ const ModularCheckout = class {
142
162
  checkoutStore.selectedPaymentMethod = undefined;
143
163
  };
144
164
  }
145
- savePaymentMethodChanged(newValue) {
146
- checkoutStore.savePaymentMethod = newValue;
147
- }
148
165
  connectedCallback() {
149
166
  this.observer = new MutationObserver(() => {
150
167
  this.queryFormRefs();
@@ -171,7 +188,6 @@ const ModularCheckout = class {
171
188
  this.analytics = new JustifiAnalytics(this);
172
189
  checkPkgVersion();
173
190
  checkoutStore.authToken = this.authToken;
174
- checkoutStore.savePaymentMethod = this.savePaymentMethod;
175
191
  this.fetchCheckout();
176
192
  // Refresh the checkout data when insurance values actually change (not on initial load)
177
193
  insuranceValuesOn("set", (key) => {
@@ -233,6 +249,7 @@ const ModularCheckout = class {
233
249
  updateStore(checkout) {
234
250
  var _a, _b, _c, _d, _e;
235
251
  checkoutStore.accountId = checkout.account_id;
252
+ checkoutStore.checkoutLoaded = true;
236
253
  checkoutStore.paymentMethods = checkout.payment_methods;
237
254
  checkoutStore.paymentMethodGroupId = checkout.payment_method_group_id;
238
255
  checkoutStore.paymentDescription = checkout.payment_description;
@@ -299,6 +316,7 @@ const ModularCheckout = class {
299
316
  // set the selected payment method to the checkout store from outside the component
300
317
  async setSelectedPaymentMethod(paymentMethod) {
301
318
  checkoutStore.selectedPaymentMethod = paymentMethod;
319
+ checkoutStore.paymentToken = paymentMethod.id || undefined;
302
320
  }
303
321
  // getAvailablePaymentMethods removed in favor of checkout-changed event
304
322
  // if validation fails, the error will be emitted by the component
@@ -341,11 +359,13 @@ const ModularCheckout = class {
341
359
  }
342
360
  }
343
361
  async submitCheckout(submitCheckoutArgs) {
362
+ var _a;
344
363
  const isValid = await this.validate();
345
364
  const isNewCard = checkoutStore.selectedPaymentMethod.type === PaymentMethodTypes.card &&
346
365
  checkoutStore.selectedPaymentMethod.id === undefined;
347
366
  const isNewBankAccount = checkoutStore.selectedPaymentMethod.type === PaymentMethodTypes.bankAccount &&
348
367
  checkoutStore.selectedPaymentMethod.id === undefined;
368
+ const isPlaid = checkoutStore.selectedPaymentMethod.type === PaymentMethodTypes.plaid;
349
369
  const shouldTokenize = isNewCard || isNewBankAccount;
350
370
  if (shouldTokenize) {
351
371
  const tokenizeResult = await this.tokenizePaymentMethod(submitCheckoutArgs);
@@ -358,6 +378,41 @@ const ModularCheckout = class {
358
378
  return;
359
379
  }
360
380
  }
381
+ // For Plaid, perform exchange at submit time using stored public token and link token id
382
+ if (isPlaid && !checkoutStore.paymentToken) {
383
+ const publicToken = checkoutStore.plaidPublicToken;
384
+ const linkTokenId = checkoutStore.plaidLinkTokenId;
385
+ if (!publicToken) {
386
+ this.errorEvent.emit({
387
+ message: 'Missing Plaid public token. Please connect your bank.',
388
+ errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
389
+ severity: ComponentErrorSeverity.ERROR,
390
+ });
391
+ return;
392
+ }
393
+ try {
394
+ const response = await this.plaidService.tokenizeBankAccount(checkoutStore.authToken, checkoutStore.accountId, publicToken, linkTokenId || undefined, checkoutStore.savePaymentMethod ? checkoutStore.paymentMethodGroupId : undefined);
395
+ if (response === null || response === void 0 ? void 0 : response.error) {
396
+ this.errorEvent.emit({
397
+ message: typeof response.error === 'string' ? response.error : response.error.message || 'Failed to tokenize bank account',
398
+ errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
399
+ severity: ComponentErrorSeverity.ERROR,
400
+ });
401
+ return;
402
+ }
403
+ const paymentMethod = response === null || response === void 0 ? void 0 : response.data;
404
+ const token = ((_a = paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.bank_account) === null || _a === void 0 ? void 0 : _a.token) || (paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.token) || (paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id);
405
+ checkoutStore.paymentToken = token;
406
+ }
407
+ catch (err) {
408
+ this.errorEvent.emit({
409
+ message: (err === null || err === void 0 ? void 0 : err.message) || 'Plaid exchange error',
410
+ errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
411
+ severity: ComponentErrorSeverity.ERROR,
412
+ });
413
+ return;
414
+ }
415
+ }
361
416
  if (!isValid) {
362
417
  this.errorEvent.emit({
363
418
  message: "Please fill in all required fields.",
@@ -372,6 +427,7 @@ const ModularCheckout = class {
372
427
  errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
373
428
  severity: ComponentErrorSeverity.ERROR,
374
429
  });
430
+ return;
375
431
  }
376
432
  let payment;
377
433
  const mapTypeToPaymentMode = (type) => {
@@ -410,36 +466,13 @@ const ModularCheckout = class {
410
466
  });
411
467
  }
412
468
  render() {
413
- return h(Host, { key: '4df5d1aa50fbeee7da93f8e19e45f6907b6ae2c7' });
469
+ return h(Host, { key: '08b6e2c3f58745ac7865f686bafba4e18cbab268' });
414
470
  }
415
471
  get hostEl() { return getElement(this); }
416
- static get watchers() { return {
417
- "savePaymentMethod": ["savePaymentMethodChanged"]
418
- }; }
419
472
  };
420
473
 
421
474
  const plaidIconSvg = 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQ4IiB2aWV3Qm94PSIwIDAgMjggMjkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY2xhc3M9ImNzcy0xcmRhajhtIj48ZyBmaWxsPSIjMTExIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yNS43NjI5IDI2LjI2MjhMMjggMTcuNTMwOUwyNC45NjkxIDE0LjUwMDFMMjcuOTk5OSAxMS40NjkxTDI1Ljc2MjggMi43MzcwNkwxNy4wMzA5IDAuNUwxNC4wMDAxIDMuNTMxTDEwLjk2OSAwLjUwMDE0TDIuMjM3MDYgMi43MzczNEwwIDExLjQ2OTFMMy4wMzEyOCAxNC40OTk5TDAuMDAwMTQgMTcuNTMxTDIuMjM3MiAyNi4yNjI5TDEwLjk2OTEgMjguNUwxNC4wMDAxIDI1LjQ2OUwxNy4wMzEgMjguNDk5OUwyNS43NjI5IDI2LjI2MjhaTTE1LjczMjEgMjMuNzM3MUwxOC42MTg2IDIwLjg1MDVMMjIuMjkxMiAyNC41MjMzTDE3LjY5NTYgMjUuNzAwN0wxNS43MzIxIDIzLjczNzFaTTExLjExMzYgOS44ODE1NEwxNC4wMDAzIDYuOTk1MDJMMTYuODg2OCA5Ljg4MTRMMTQuMDAwMSAxMi43Njc5TDExLjExMzYgOS44ODE1NFpNMTIuMjY4MiAxNC41TDkuMzgxNTQgMTcuMzg2NUw2LjQ5NTAyIDE0LjVMOS4zODE1NCAxMS42MTM1TDEyLjI2ODIgMTQuNVpNMTguNjE4NyAxMS42MTMzTDIxLjUwNTMgMTQuNUwxOC42MTg2IDE3LjM4NjVMMTUuNzMyMSAxNC41TDE4LjYxODcgMTEuNjEzM1pNMTYuODg2NyAxOS4xMTg2TDE0LjAwMDEgMjIuMDA1MUwxMS4xMTM1IDE5LjExODVMMTQuMDAwMSAxNi4yMzE5TDE2Ljg4NjcgMTkuMTE4NlpNMTAuMzA0NCAyNS43MDA3TDUuNzA4NjQgMjQuNTIzM0w5LjM4MTU0IDIwLjg1MDRMMTIuMjY4MiAyMy43MzcxTDEwLjMwNDQgMjUuNzAwN1pNNC43NjMwOCAxNi4yMzE5TDcuNjQ5NiAxOS4xMTg1TDMuOTc2NyAyMi43OTE0TDIuNzk5MyAxOC4xOTU3TDQuNzYzMDggMTYuMjMxOVpNMy45NzY3IDYuMjA4MzZMNy42NDk3NCA5Ljg4MTRMNC43NjMwOCAxMi43NjgxTDIuNzk5MyAxMC44MDQxTDMuOTc2NyA2LjIwODM2Wk0xMi4yNjgzIDUuMjYyOTRMOS4zODE2OCA4LjE0OTZMNS43MDg5MiA0LjQ3NjdMMTAuMzA0NyAzLjI5OTNMMTIuMjY4MyA1LjI2Mjk0Wk0xNy42OTU5IDMuMjk5M0wyMi4yOTE1IDQuNDc2N0wxOC42MTg2IDguMTQ5NDZMMTUuNzMyMSA1LjI2Mjk0TDE3LjY5NTkgMy4yOTkzWk0yMy4yMzcyIDEyLjc2ODFMMjAuMzUwNSA5Ljg4MTRMMjQuMDIzMyA2LjIwODc4TDI1LjIwMDcgMTAuODA0NkwyMy4yMzcyIDEyLjc2ODFaTTI0LjAyMzMgMjIuNzkxNEwyMC4zNTA1IDE5LjExODZMMjMuMjM3MiAxNi4yMzIxTDI1LjIwMDcgMTguMTk1N0wyNC4wMjMzIDIyLjc5MTRaIj48L3BhdGg+PC9nPjwvc3ZnPgo=';
422
475
 
423
- const api = Api();
424
- class PlaidService {
425
- async getLinkToken(authToken, accountId, checkoutId, signal) {
426
- const endpoint = `plaid/${accountId}/link`;
427
- const body = { checkout_id: checkoutId };
428
- return api.post({ endpoint, body, authToken, signal });
429
- }
430
- async tokenizeBankAccount(authToken, accountId, publicToken, linkTokenId, paymentMethodGroupId, signal) {
431
- const endpoint = `plaid/${accountId}/tokenize`;
432
- const body = { public_token: publicToken };
433
- if (linkTokenId) {
434
- body.link_token_id = linkTokenId;
435
- }
436
- if (paymentMethodGroupId) {
437
- body.payment_method_group_id = paymentMethodGroupId;
438
- }
439
- return api.post({ endpoint, body, authToken, signal });
440
- }
441
- }
442
-
443
476
  // Plaid-specific error codes
444
477
  var PlaidErrorCodes;
445
478
  (function (PlaidErrorCodes) {
@@ -604,6 +637,9 @@ const PlaidPaymentMethod = class {
604
637
  this.linkToken = response.data.link_token;
605
638
  // Try to capture link token id if present in envelope
606
639
  this.linkTokenId = (response === null || response === void 0 ? void 0 : response.id) || ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.id) || null;
640
+ if (this.linkTokenId) {
641
+ checkoutStore.plaidLinkTokenId = this.linkTokenId;
642
+ }
607
643
  }
608
644
  catch (error) {
609
645
  // Clear timeout
@@ -683,41 +719,10 @@ const PlaidPaymentMethod = class {
683
719
  message: 'Bank account connected successfully',
684
720
  severity: ComponentErrorSeverity.INFO
685
721
  });
686
- // Immediately exchange the public token for a payment method token via backend
687
- this.exchangePublicTokenForPaymentMethod();
688
- };
689
- this.exchangePublicTokenForPaymentMethod = async () => {
690
- var _a;
691
- if (!this.publicToken) {
692
- console.error('[PlaidPaymentMethod] exchange: missing publicToken');
693
- return;
694
- }
695
- if (!checkoutStore.authToken || !checkoutStore.accountId) {
696
- console.error('[PlaidPaymentMethod] exchange: missing auth/account context');
697
- return;
698
- }
699
- try {
700
- const response = await this.plaidService.tokenizeBankAccount(checkoutStore.authToken, checkoutStore.accountId, this.publicToken, this.linkTokenId || undefined, checkoutStore.savePaymentMethod ? checkoutStore.paymentMethodGroupId : undefined);
701
- if (response === null || response === void 0 ? void 0 : response.error) {
702
- console.error('[PlaidPaymentMethod] exchange: backend error', response.error);
703
- return;
704
- }
705
- // Extract token from payment method response
706
- const paymentMethod = response === null || response === void 0 ? void 0 : response.data;
707
- const token = ((_a = paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.bank_account) === null || _a === void 0 ? void 0 : _a.token) || (paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.token) || (paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id);
708
- if (!token) {
709
- console.error('[PlaidPaymentMethod] exchange: no token in response');
710
- return;
711
- }
712
- // Save for downstream submit flows
713
- checkoutStore.paymentToken = token;
714
- }
715
- catch (err) {
716
- console.error('[PlaidPaymentMethod] exchange: exception', {
717
- message: (err === null || err === void 0 ? void 0 : err.message) || String(err),
718
- });
719
- }
722
+ // Store public token in checkout store; exchange will be handled on submit
723
+ checkoutStore.plaidPublicToken = publicToken;
720
724
  };
725
+ // Exchange logic moved to Modular Checkout submit flow.
721
726
  this.handlePlaidExit = (err, _metadata) => {
722
727
  this.isAuthenticating = false;
723
728
  if (err) {
@@ -913,10 +918,6 @@ const PlaidPaymentMethod = class {
913
918
  // Returns a usable payment method token for checkout completion.
914
919
  // Will perform the backend exchange if the token is not yet present in the store.
915
920
  async getPaymentToken() {
916
- if (checkoutStore.paymentToken) {
917
- return checkoutStore.paymentToken;
918
- }
919
- await this.exchangePublicTokenForPaymentMethod();
920
921
  return checkoutStore.paymentToken;
921
922
  }
922
923
  async handleSelectionClick() {
@@ -1395,13 +1396,13 @@ const TokenizePaymentMethod = class {
1395
1396
  return (h("div", { class: "payment-method" }, h("justifi-radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
1396
1397
  }
1397
1398
  renderSelectedPaymentMethodForm(paymentMethodId) {
1398
- return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodId), h("div", { class: "mt-4" }, h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodId })), h("div", { class: "mt-4" }, h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID }))));
1399
+ return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodId), h("div", { class: "mt-4" }, h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodId })), h("div", { class: "mt-4" }, h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID, label: this.savePaymentMethodLabel }))));
1399
1400
  }
1400
1401
  renderPaymentMethodForm(paymentMethodId) {
1401
1402
  return paymentMethodId === PaymentMethodTypes.card ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
1402
1403
  }
1403
1404
  render() {
1404
- return (h(StyledHost, { key: 'a89908d2f192d86edf016b052734f81f46e00f8b' }, h("form", { key: '527d1e5ff94a2db8b2d1223d7beda86fdaf08ff0' }, h("fieldset", { key: 'd8479461d3788dbcb319f1eaf99b7e05c00c49f9' }, h("div", { key: '17f68ee0dceb8353ca54ccf383dc2709444a3b26', class: "row gy-3" }, h("div", { key: '3568f3ac4ef04a9a245d61f2b94f3b79371b0a6f', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '97be6dbaf8373a82a706a7eb97e9107baa6c1823', class: "col-12" }, h("justifi-button", { key: 'afcd192881ad092f8d31a01e571541079d4d33ac', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
1405
+ return (h(StyledHost, { key: '8a7983cbb634e39612d9f464c3dde43c646356dd' }, h("form", { key: 'ef1d8bc768aeb880445283d4b00d41cd85b77d16' }, h("fieldset", { key: 'be8f72bb4aab7b52098f034a06ad8586fe3b89cb' }, h("div", { key: '0155b97ff6bf1c9364b2b71b337e981c89774bbe', class: "row gy-3" }, h("div", { key: '27bf72ad4b2729a94be20b8a22e196cb5550c078', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '3a9c4c7bf7830f66d22fa99fc1ca12f3dcaad390', class: "col-12" }, h("justifi-button", { key: '860fbcdc509a72abecc1e6abe2c8ff45a565ea46', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
1405
1406
  }
1406
1407
  get host() { return getElement(this); }
1407
1408
  static get watchers() { return {