@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
@@ -3,13 +3,13 @@
3
3
  var index = require('./index-C9hBD-32.js');
4
4
  var parts = require('./parts-9jMf1erK.js');
5
5
  var utils = require('./utils-ChCUZgUy.js');
6
- var checkout_store = require('./checkout.store-BGvYPPz0.js');
6
+ var checkout_store = require('./checkout.store-DJEc-So8.js');
7
7
  var styledHost = require('./styled-host-BfVJlAsJ.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
9
  var header1 = require('./header-1-DRA3f4Jh.js');
10
10
  var insuranceState = require('./insurance-state-d2thhXUX.js');
11
11
  var header3 = require('./header-3-sOdOpfx3.js');
12
- var checkPkgVersion = require('./check-pkg-version-DiQ-d5Nl.js');
12
+ var checkPkgVersion = require('./check-pkg-version-BlIBYv3J.js');
13
13
  require('./config-state-BBOZIS8x.js');
14
14
  require('./dinero-BwNN_k7x.js');
15
15
  var ComponentError = require('./ComponentError-D4OLnOkg.js');
@@ -19,11 +19,11 @@ require('./Business-DCRzZf0w.js');
19
19
  require('./Dispute-CruQTF6_.js');
20
20
  var utils$1 = require('./utils-DvUQQLmR.js');
21
21
  var checkout_service = require('./checkout.service-B-R80p4f.js');
22
- var index$1 = require('./index-D-dD-aC2.js');
23
22
  var Api = require('./Api-DyimBzKT.js');
23
+ var index$1 = require('./index-D-dD-aC2.js');
24
24
  var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
25
25
  require('./index-B32W0A3m.js');
26
- require('./package-Be2aoTf8.js');
26
+ require('./package-BMpasLve.js');
27
27
  require('./helpers-B5OCqlIM.js');
28
28
  require('./state-options-CIT9xdTz.js');
29
29
 
@@ -32,7 +32,7 @@ const Summary = class {
32
32
  index.registerInstance(this, hostRef);
33
33
  }
34
34
  render() {
35
- return (index.h(styledHost.StyledHost, { key: 'fccb819d66329424af42e9c53effec29a6c9784d' }, index.h("section", { key: '0ee7a4e0579f7f222a9db82e6b4db6bb92542d9e' }, index.h("div", { key: 'bdf74b2bc5db35b96ca75d50783b790bb482a76e' }, index.h("div", { key: '851b481bd6beb1fcaadc106d27d131f8b07d1c9a', part: parts.text }, checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.paymentDescription), index.h("div", { key: '0b261bc0e2d65cf989778e02df51b3265816f7aa' }, index.h("span", { key: '0eee0017ddf25ae45d6b5c828071098f45e6e19d', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: 'd21576f14c3437f70a4b85b9dfc01107392d663a', part: parts.text }, utils.formatCurrency(+(checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.totalAmount))))))));
35
+ return (index.h(styledHost.StyledHost, { key: '2644d423d844136d86f7f6b1b80aa98b224146ac' }, index.h("section", { key: '2017758b2eb8bf6483ca4765e5f18279ff2f6de7' }, index.h("div", { key: '029f98c45be1e9c807eef1dbf1508e231c7215d1' }, index.h("div", { key: 'db1b7e220f5afd230ea1fcf5dc818f96d03f68b9', part: parts.text }, checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.paymentDescription), index.h("div", { key: 'b9d401af17512a5f5ef24350f8c9e9ad1163d83e' }, index.h("span", { key: '5d7dcef6b946ae455cb2b8e57089f0365b8bb52b', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: 'cfc8fc46c2f87011de758ccce92a9f4bfbe2ba88', part: parts.text }, utils.formatCurrency(+(checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.totalAmount))))))));
36
36
  }
37
37
  };
38
38
 
@@ -107,13 +107,33 @@ const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ pa
107
107
  }
108
108
  };
109
109
 
110
+ const api = Api.Api();
111
+ class PlaidService {
112
+ async getLinkToken(authToken, accountId, checkoutId, signal) {
113
+ const endpoint = `plaid/${accountId}/link`;
114
+ const body = { checkout_id: checkoutId };
115
+ return api.post({ endpoint, body, authToken, signal });
116
+ }
117
+ async tokenizeBankAccount(authToken, accountId, publicToken, linkTokenId, paymentMethodGroupId, signal) {
118
+ const endpoint = `plaid/${accountId}/tokenize`;
119
+ const body = { public_token: publicToken };
120
+ if (linkTokenId) {
121
+ body.link_token_id = linkTokenId;
122
+ }
123
+ if (paymentMethodGroupId) {
124
+ body.payment_method_group_id = paymentMethodGroupId;
125
+ }
126
+ return api.post({ endpoint, body, authToken, signal });
127
+ }
128
+ }
129
+
110
130
  const ModularCheckout = class {
111
131
  constructor(hostRef) {
112
132
  index.registerInstance(this, hostRef);
113
133
  this.errorEvent = index.createEvent(this, "error-event");
114
134
  this.submitEvent = index.createEvent(this, "submit-event");
115
135
  this.checkoutChangedEvent = index.createEvent(this, "checkout-changed");
116
- this.savePaymentMethod = false;
136
+ this.plaidService = new PlaidService();
117
137
  this.handleApplePayCompleted = (event) => {
118
138
  const { success, token, paymentMethodId, error } = event.detail;
119
139
  if (success && token) {
@@ -144,9 +164,6 @@ const ModularCheckout = class {
144
164
  checkout_store.checkoutStore.selectedPaymentMethod = undefined;
145
165
  };
146
166
  }
147
- savePaymentMethodChanged(newValue) {
148
- checkout_store.checkoutStore.savePaymentMethod = newValue;
149
- }
150
167
  connectedCallback() {
151
168
  this.observer = new MutationObserver(() => {
152
169
  this.queryFormRefs();
@@ -173,7 +190,6 @@ const ModularCheckout = class {
173
190
  this.analytics = new checkPkgVersion.JustifiAnalytics(this);
174
191
  checkPkgVersion.checkPkgVersion();
175
192
  checkout_store.checkoutStore.authToken = this.authToken;
176
- checkout_store.checkoutStore.savePaymentMethod = this.savePaymentMethod;
177
193
  this.fetchCheckout();
178
194
  // Refresh the checkout data when insurance values actually change (not on initial load)
179
195
  insuranceState.insuranceValuesOn("set", (key) => {
@@ -235,6 +251,7 @@ const ModularCheckout = class {
235
251
  updateStore(checkout) {
236
252
  var _a, _b, _c, _d, _e;
237
253
  checkout_store.checkoutStore.accountId = checkout.account_id;
254
+ checkout_store.checkoutStore.checkoutLoaded = true;
238
255
  checkout_store.checkoutStore.paymentMethods = checkout.payment_methods;
239
256
  checkout_store.checkoutStore.paymentMethodGroupId = checkout.payment_method_group_id;
240
257
  checkout_store.checkoutStore.paymentDescription = checkout.payment_description;
@@ -301,6 +318,7 @@ const ModularCheckout = class {
301
318
  // set the selected payment method to the checkout store from outside the component
302
319
  async setSelectedPaymentMethod(paymentMethod) {
303
320
  checkout_store.checkoutStore.selectedPaymentMethod = paymentMethod;
321
+ checkout_store.checkoutStore.paymentToken = paymentMethod.id || undefined;
304
322
  }
305
323
  // getAvailablePaymentMethods removed in favor of checkout-changed event
306
324
  // if validation fails, the error will be emitted by the component
@@ -343,11 +361,13 @@ const ModularCheckout = class {
343
361
  }
344
362
  }
345
363
  async submitCheckout(submitCheckoutArgs) {
364
+ var _a;
346
365
  const isValid = await this.validate();
347
366
  const isNewCard = checkout_store.checkoutStore.selectedPaymentMethod.type === Refund.PaymentMethodTypes.card &&
348
367
  checkout_store.checkoutStore.selectedPaymentMethod.id === undefined;
349
368
  const isNewBankAccount = checkout_store.checkoutStore.selectedPaymentMethod.type === Refund.PaymentMethodTypes.bankAccount &&
350
369
  checkout_store.checkoutStore.selectedPaymentMethod.id === undefined;
370
+ const isPlaid = checkout_store.checkoutStore.selectedPaymentMethod.type === Refund.PaymentMethodTypes.plaid;
351
371
  const shouldTokenize = isNewCard || isNewBankAccount;
352
372
  if (shouldTokenize) {
353
373
  const tokenizeResult = await this.tokenizePaymentMethod(submitCheckoutArgs);
@@ -360,6 +380,41 @@ const ModularCheckout = class {
360
380
  return;
361
381
  }
362
382
  }
383
+ // For Plaid, perform exchange at submit time using stored public token and link token id
384
+ if (isPlaid && !checkout_store.checkoutStore.paymentToken) {
385
+ const publicToken = checkout_store.checkoutStore.plaidPublicToken;
386
+ const linkTokenId = checkout_store.checkoutStore.plaidLinkTokenId;
387
+ if (!publicToken) {
388
+ this.errorEvent.emit({
389
+ message: 'Missing Plaid public token. Please connect your bank.',
390
+ errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
391
+ severity: ComponentError.ComponentErrorSeverity.ERROR,
392
+ });
393
+ return;
394
+ }
395
+ try {
396
+ const response = await this.plaidService.tokenizeBankAccount(checkout_store.checkoutStore.authToken, checkout_store.checkoutStore.accountId, publicToken, linkTokenId || undefined, checkout_store.checkoutStore.savePaymentMethod ? checkout_store.checkoutStore.paymentMethodGroupId : undefined);
397
+ if (response === null || response === void 0 ? void 0 : response.error) {
398
+ this.errorEvent.emit({
399
+ message: typeof response.error === 'string' ? response.error : response.error.message || 'Failed to tokenize bank account',
400
+ errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
401
+ severity: ComponentError.ComponentErrorSeverity.ERROR,
402
+ });
403
+ return;
404
+ }
405
+ const paymentMethod = response === null || response === void 0 ? void 0 : response.data;
406
+ 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);
407
+ checkout_store.checkoutStore.paymentToken = token;
408
+ }
409
+ catch (err) {
410
+ this.errorEvent.emit({
411
+ message: (err === null || err === void 0 ? void 0 : err.message) || 'Plaid exchange error',
412
+ errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
413
+ severity: ComponentError.ComponentErrorSeverity.ERROR,
414
+ });
415
+ return;
416
+ }
417
+ }
363
418
  if (!isValid) {
364
419
  this.errorEvent.emit({
365
420
  message: "Please fill in all required fields.",
@@ -374,6 +429,7 @@ const ModularCheckout = class {
374
429
  errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
375
430
  severity: ComponentError.ComponentErrorSeverity.ERROR,
376
431
  });
432
+ return;
377
433
  }
378
434
  let payment;
379
435
  const mapTypeToPaymentMode = (type) => {
@@ -412,36 +468,13 @@ const ModularCheckout = class {
412
468
  });
413
469
  }
414
470
  render() {
415
- return index.h(index.Host, { key: '4df5d1aa50fbeee7da93f8e19e45f6907b6ae2c7' });
471
+ return index.h(index.Host, { key: '08b6e2c3f58745ac7865f686bafba4e18cbab268' });
416
472
  }
417
473
  get hostEl() { return index.getElement(this); }
418
- static get watchers() { return {
419
- "savePaymentMethod": ["savePaymentMethodChanged"]
420
- }; }
421
474
  };
422
475
 
423
476
  const plaidIconSvg = 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQ4IiB2aWV3Qm94PSIwIDAgMjggMjkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY2xhc3M9ImNzcy0xcmRhajhtIj48ZyBmaWxsPSIjMTExIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yNS43NjI5IDI2LjI2MjhMMjggMTcuNTMwOUwyNC45NjkxIDE0LjUwMDFMMjcuOTk5OSAxMS40NjkxTDI1Ljc2MjggMi43MzcwNkwxNy4wMzA5IDAuNUwxNC4wMDAxIDMuNTMxTDEwLjk2OSAwLjUwMDE0TDIuMjM3MDYgMi43MzczNEwwIDExLjQ2OTFMMy4wMzEyOCAxNC40OTk5TDAuMDAwMTQgMTcuNTMxTDIuMjM3MiAyNi4yNjI5TDEwLjk2OTEgMjguNUwxNC4wMDAxIDI1LjQ2OUwxNy4wMzEgMjguNDk5OUwyNS43NjI5IDI2LjI2MjhaTTE1LjczMjEgMjMuNzM3MUwxOC42MTg2IDIwLjg1MDVMMjIuMjkxMiAyNC41MjMzTDE3LjY5NTYgMjUuNzAwN0wxNS43MzIxIDIzLjczNzFaTTExLjExMzYgOS44ODE1NEwxNC4wMDAzIDYuOTk1MDJMMTYuODg2OCA5Ljg4MTRMMTQuMDAwMSAxMi43Njc5TDExLjExMzYgOS44ODE1NFpNMTIuMjY4MiAxNC41TDkuMzgxNTQgMTcuMzg2NUw2LjQ5NTAyIDE0LjVMOS4zODE1NCAxMS42MTM1TDEyLjI2ODIgMTQuNVpNMTguNjE4NyAxMS42MTMzTDIxLjUwNTMgMTQuNUwxOC42MTg2IDE3LjM4NjVMMTUuNzMyMSAxNC41TDE4LjYxODcgMTEuNjEzM1pNMTYuODg2NyAxOS4xMTg2TDE0LjAwMDEgMjIuMDA1MUwxMS4xMTM1IDE5LjExODVMMTQuMDAwMSAxNi4yMzE5TDE2Ljg4NjcgMTkuMTE4NlpNMTAuMzA0NCAyNS43MDA3TDUuNzA4NjQgMjQuNTIzM0w5LjM4MTU0IDIwLjg1MDRMMTIuMjY4MiAyMy43MzcxTDEwLjMwNDQgMjUuNzAwN1pNNC43NjMwOCAxNi4yMzE5TDcuNjQ5NiAxOS4xMTg1TDMuOTc2NyAyMi43OTE0TDIuNzk5MyAxOC4xOTU3TDQuNzYzMDggMTYuMjMxOVpNMy45NzY3IDYuMjA4MzZMNy42NDk3NCA5Ljg4MTRMNC43NjMwOCAxMi43NjgxTDIuNzk5MyAxMC44MDQxTDMuOTc2NyA2LjIwODM2Wk0xMi4yNjgzIDUuMjYyOTRMOS4zODE2OCA4LjE0OTZMNS43MDg5MiA0LjQ3NjdMMTAuMzA0NyAzLjI5OTNMMTIuMjY4MyA1LjI2Mjk0Wk0xNy42OTU5IDMuMjk5M0wyMi4yOTE1IDQuNDc2N0wxOC42MTg2IDguMTQ5NDZMMTUuNzMyMSA1LjI2Mjk0TDE3LjY5NTkgMy4yOTkzWk0yMy4yMzcyIDEyLjc2ODFMMjAuMzUwNSA5Ljg4MTRMMjQuMDIzMyA2LjIwODc4TDI1LjIwMDcgMTAuODA0NkwyMy4yMzcyIDEyLjc2ODFaTTI0LjAyMzMgMjIuNzkxNEwyMC4zNTA1IDE5LjExODZMMjMuMjM3MiAxNi4yMzIxTDI1LjIwMDcgMTguMTk1N0wyNC4wMjMzIDIyLjc5MTRaIj48L3BhdGg+PC9nPjwvc3ZnPgo=';
424
477
 
425
- const api = Api.Api();
426
- class PlaidService {
427
- async getLinkToken(authToken, accountId, checkoutId, signal) {
428
- const endpoint = `plaid/${accountId}/link`;
429
- const body = { checkout_id: checkoutId };
430
- return api.post({ endpoint, body, authToken, signal });
431
- }
432
- async tokenizeBankAccount(authToken, accountId, publicToken, linkTokenId, paymentMethodGroupId, signal) {
433
- const endpoint = `plaid/${accountId}/tokenize`;
434
- const body = { public_token: publicToken };
435
- if (linkTokenId) {
436
- body.link_token_id = linkTokenId;
437
- }
438
- if (paymentMethodGroupId) {
439
- body.payment_method_group_id = paymentMethodGroupId;
440
- }
441
- return api.post({ endpoint, body, authToken, signal });
442
- }
443
- }
444
-
445
478
  // Plaid-specific error codes
446
479
  var PlaidErrorCodes;
447
480
  (function (PlaidErrorCodes) {
@@ -606,6 +639,9 @@ const PlaidPaymentMethod = class {
606
639
  this.linkToken = response.data.link_token;
607
640
  // Try to capture link token id if present in envelope
608
641
  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;
642
+ if (this.linkTokenId) {
643
+ checkout_store.checkoutStore.plaidLinkTokenId = this.linkTokenId;
644
+ }
609
645
  }
610
646
  catch (error) {
611
647
  // Clear timeout
@@ -685,41 +721,10 @@ const PlaidPaymentMethod = class {
685
721
  message: 'Bank account connected successfully',
686
722
  severity: ComponentError.ComponentErrorSeverity.INFO
687
723
  });
688
- // Immediately exchange the public token for a payment method token via backend
689
- this.exchangePublicTokenForPaymentMethod();
690
- };
691
- this.exchangePublicTokenForPaymentMethod = async () => {
692
- var _a;
693
- if (!this.publicToken) {
694
- console.error('[PlaidPaymentMethod] exchange: missing publicToken');
695
- return;
696
- }
697
- if (!checkout_store.checkoutStore.authToken || !checkout_store.checkoutStore.accountId) {
698
- console.error('[PlaidPaymentMethod] exchange: missing auth/account context');
699
- return;
700
- }
701
- try {
702
- const response = await this.plaidService.tokenizeBankAccount(checkout_store.checkoutStore.authToken, checkout_store.checkoutStore.accountId, this.publicToken, this.linkTokenId || undefined, checkout_store.checkoutStore.savePaymentMethod ? checkout_store.checkoutStore.paymentMethodGroupId : undefined);
703
- if (response === null || response === void 0 ? void 0 : response.error) {
704
- console.error('[PlaidPaymentMethod] exchange: backend error', response.error);
705
- return;
706
- }
707
- // Extract token from payment method response
708
- const paymentMethod = response === null || response === void 0 ? void 0 : response.data;
709
- 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);
710
- if (!token) {
711
- console.error('[PlaidPaymentMethod] exchange: no token in response');
712
- return;
713
- }
714
- // Save for downstream submit flows
715
- checkout_store.checkoutStore.paymentToken = token;
716
- }
717
- catch (err) {
718
- console.error('[PlaidPaymentMethod] exchange: exception', {
719
- message: (err === null || err === void 0 ? void 0 : err.message) || String(err),
720
- });
721
- }
724
+ // Store public token in checkout store; exchange will be handled on submit
725
+ checkout_store.checkoutStore.plaidPublicToken = publicToken;
722
726
  };
727
+ // Exchange logic moved to Modular Checkout submit flow.
723
728
  this.handlePlaidExit = (err, _metadata) => {
724
729
  this.isAuthenticating = false;
725
730
  if (err) {
@@ -915,10 +920,6 @@ const PlaidPaymentMethod = class {
915
920
  // Returns a usable payment method token for checkout completion.
916
921
  // Will perform the backend exchange if the token is not yet present in the store.
917
922
  async getPaymentToken() {
918
- if (checkout_store.checkoutStore.paymentToken) {
919
- return checkout_store.checkoutStore.paymentToken;
920
- }
921
- await this.exchangePublicTokenForPaymentMethod();
922
923
  return checkout_store.checkoutStore.paymentToken;
923
924
  }
924
925
  async handleSelectionClick() {
@@ -1397,13 +1398,13 @@ const TokenizePaymentMethod = class {
1397
1398
  return (index.h("div", { class: "payment-method" }, index.h("justifi-radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
1398
1399
  }
1399
1400
  renderSelectedPaymentMethodForm(paymentMethodId) {
1400
- return (index.h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodId), index.h("div", { class: "mt-4" }, index.h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodId })), index.h("div", { class: "mt-4" }, index.h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID }))));
1401
+ return (index.h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodId), index.h("div", { class: "mt-4" }, index.h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodId })), index.h("div", { class: "mt-4" }, index.h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID, label: this.savePaymentMethodLabel }))));
1401
1402
  }
1402
1403
  renderPaymentMethodForm(paymentMethodId) {
1403
1404
  return paymentMethodId === Refund.PaymentMethodTypes.card ? (index.h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (index.h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
1404
1405
  }
1405
1406
  render() {
1406
- return (index.h(styledHost.StyledHost, { key: 'a89908d2f192d86edf016b052734f81f46e00f8b' }, index.h("form", { key: '527d1e5ff94a2db8b2d1223d7beda86fdaf08ff0' }, index.h("fieldset", { key: 'd8479461d3788dbcb319f1eaf99b7e05c00c49f9' }, index.h("div", { key: '17f68ee0dceb8353ca54ccf383dc2709444a3b26', class: "row gy-3" }, index.h("div", { key: '3568f3ac4ef04a9a245d61f2b94f3b79371b0a6f', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: '97be6dbaf8373a82a706a7eb97e9107baa6c1823', class: "col-12" }, index.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 })))))));
1407
+ return (index.h(styledHost.StyledHost, { key: '8a7983cbb634e39612d9f464c3dde43c646356dd' }, index.h("form", { key: 'ef1d8bc768aeb880445283d4b00d41cd85b77d16' }, index.h("fieldset", { key: 'be8f72bb4aab7b52098f034a06ad8586fe3b89cb' }, index.h("div", { key: '0155b97ff6bf1c9364b2b71b337e981c89774bbe', class: "row gy-3" }, index.h("div", { key: '27bf72ad4b2729a94be20b8a22e196cb5550c078', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: '3a9c4c7bf7830f66d22fa99fc1ca12f3dcaad390', class: "col-12" }, index.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 })))))));
1407
1408
  }
1408
1409
  get host() { return index.getElement(this); }
1409
1410
  static get watchers() { return {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-C9hBD-32.js');
4
- var checkPkgVersion = require('./check-pkg-version-DiQ-d5Nl.js');
4
+ var checkPkgVersion = require('./check-pkg-version-BlIBYv3J.js');
5
5
  require('./config-state-BBOZIS8x.js');
6
6
  require('./dinero-BwNN_k7x.js');
7
7
  require('./ComponentError-D4OLnOkg.js');
@@ -9,12 +9,12 @@ var Refund = require('./Refund-BefKONu4.js');
9
9
  require('./Pagination-Dediz133.js');
10
10
  require('./Business-DCRzZf0w.js');
11
11
  require('./Dispute-CruQTF6_.js');
12
- var checkout_store = require('./checkout.store-BGvYPPz0.js');
12
+ var checkout_store = require('./checkout.store-DJEc-So8.js');
13
13
  var parts = require('./parts-9jMf1erK.js');
14
14
  var styledHost = require('./styled-host-BfVJlAsJ.js');
15
15
  require('./event-types-YOY5TKUN.js');
16
16
  var index$1 = require('./index-D-dD-aC2.js');
17
- require('./package-Be2aoTf8.js');
17
+ require('./package-BMpasLve.js');
18
18
  require('./Api-DyimBzKT.js');
19
19
  require('./utils-ChCUZgUy.js');
20
20
  require('./index-B32W0A3m.js');
@@ -90,9 +90,9 @@ const Checkout = class {
90
90
  return !this.disableCreditCard && !this.disableBankAccount;
91
91
  }
92
92
  render() {
93
- return (index.h(styledHost.StyledHost, { key: '61cab7c3b5ca01ea70f35d23df100c2e7bd0c03a' }, index.h("justifi-modular-checkout", { key: '3e0c1729d51ca5e89108723b4a6ee14761965546', ref: (el) => {
93
+ return (index.h(styledHost.StyledHost, { key: '61cab7c3b5ca01ea70f35d23df100c2e7bd0c03a' }, index.h("justifi-modular-checkout", { key: '67ed6c7b2a6bbbec0e24b47b24c2eb73b82abc43', ref: (el) => {
94
94
  this.modularCheckoutRef = el;
95
- }, authToken: this.authToken, checkoutId: this.checkoutId, savePaymentMethod: checkout_store.checkoutStore.savePaymentMethod }, index.h("div", { key: '04a19f4c090bd8b70801b48ce24fd734bbce5b73', class: "row gy-3 jfi-checkout-core" }, index.h("div", { key: '50e11e53ca4274441da3813504c9a2af223a0e28', class: "col-12", part: parts.checkoutSummary }, index.h("justifi-header", { key: '2de0fb5500246c8c2ea63b6beade5fea57611a6d', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), index.h("section", { key: '918f05a55424d4a2e46011b6c5fa0c71fc19bec3' }, index.h("justifi-checkout-summary", { key: 'e34604b589685ee13af794c15fd25cc19f9d2ee8' }))), index.h("div", { key: '7d1390340bfa79592f5643a56f15a65b6dc4faac', class: "col-12 mt-4" }, index.h("slot", { key: '783667c66419f8718378a705c5c313f8a763f64b', name: "insurance" })), index.h("div", { key: '63cc63309104557bc5dfd97f2cff3c366cbd62ae', class: "col-12 mt-4" }, index.h("justifi-header", { key: '8981556e7dc5f4f27a81415c222c274a6aa29173', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (index.h("justifi-header", { key: '86d3b2e89c5fedaf8d9023a1597134b0a3556e22', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), index.h("div", { key: 'da9b779071f32fe740f74061aa021a980db3aa34', class: "d-flex flex-column" }, index.h("section", { key: 'e0e953bfbd7f2ab7f558cc226878f74cde55e5dd' }, index.h("div", { key: 'b28c99a3298b8aa9ec65b254b43944af42c31e56' }, index.h("justifi-saved-payment-methods", { key: 'b22333168f775bc0ff58fd9ec502828b27ed3063' }), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.SEZZLE) && (index.h("justifi-radio-list-item", { key: '9eac787dc5ce5a2c2f2d4a54ee1e2f9b2a48bbf7', name: "paymentMethodType", value: index$1.PAYMENT_METHODS.SEZZLE, checked: checkout_store.checkoutStore.selectedPaymentMethod.type === Refund.PaymentMethodTypes.sezzle, label: index.h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.PLAID) && (index.h("justifi-radio-list-item", { key: '005fb466a494525ac651893afcf38a8998511e9e', name: "paymentMethodType", value: index$1.PAYMENT_METHODS.PLAID, checked: checkout_store.checkoutStore.selectedPaymentMethod.type === Refund.PaymentMethodTypes.plaid, label: index.h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), index.h("justifi-tokenize-payment-method", { key: '75eaa74fc65172ecbcde91ddaf397ca367ba84be', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkout_store.checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkout_store.checkoutStore.paymentMethodGroupId }))))), index.h("div", { key: '3ae7b4ad2a464ec02eaaecbef65128ea204160c0', class: "mt-4" }, index.h("justifi-button", { key: '387e7fde5250bcf651a9ce1639fde76ac398dd3c', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: this.isSubmitting, isLoading: this.isSubmitting, customStyle: { width: '100%', textAlign: "center" } }))))));
95
+ }, authToken: this.authToken, checkoutId: this.checkoutId }, index.h("div", { key: 'b02aaa188db4d619ab3f14a336fe33f4113f2799', class: "row gy-3 jfi-checkout-core" }, index.h("div", { key: '2c8c019f86bc181d7d05848993ff3782f1fe3ed2', class: "col-12", part: parts.checkoutSummary }, index.h("justifi-header", { key: '00eb81f75652c80108ad24620b72a977a09192d9', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), index.h("section", { key: '346d90b8cca657a1af0eea96244ef105d1274abe' }, index.h("justifi-checkout-summary", { key: '68784e0b3ef83b6a87d8084fe19dbce7d3348169' }))), index.h("div", { key: 'bb04ad56ed5074cc272c47e013c7647cc6cf5c2d', class: "col-12 mt-4" }, index.h("slot", { key: 'a0955737dc7af83b01608abe7818af666ac08d87', name: "insurance" })), index.h("div", { key: '7025fb6b7ad229879f2198f12a79e07871691b6a', class: "col-12 mt-4" }, index.h("justifi-header", { key: 'a7823342698429e7845cb341bba2de41f461f6c2', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (index.h("justifi-header", { key: 'b579b51c7f6adec31c7e1d39981634328a22b0c2', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), index.h("div", { key: '496812c7404b914acc03052018b06b5ebedfd230', class: "d-flex flex-column" }, index.h("section", { key: '227d6e265d947a5035d8e072b6ea9a87e04faa97' }, index.h("div", { key: 'b06b49af43c4fce8251c7b227bcc2f2dce5b531a' }, index.h("justifi-saved-payment-methods", { key: 'd5629c6248d780c5ce8b69c88b4bf866baab2c53' }), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.SEZZLE) && (index.h("justifi-radio-list-item", { key: 'dbaf7d54d8c26315faea5537eb821a4a9314d2c4', name: "paymentMethodType", value: index$1.PAYMENT_METHODS.SEZZLE, checked: checkout_store.checkoutStore.selectedPaymentMethod.type === Refund.PaymentMethodTypes.sezzle, label: index.h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.PLAID) && (index.h("justifi-radio-list-item", { key: 'dad1c44a06f6e60d27d737d36ff68d536244776b', name: "paymentMethodType", value: index$1.PAYMENT_METHODS.PLAID, checked: checkout_store.checkoutStore.selectedPaymentMethod.type === Refund.PaymentMethodTypes.plaid, label: index.h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), index.h("justifi-tokenize-payment-method", { key: '2bf37f35ae9cb51a6622d4e3f4244359fd40606d', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkout_store.checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkout_store.checkoutStore.paymentMethodGroupId }))))), index.h("div", { key: 'a29f2e940b8c2970d09af0fdce278344cd70833a', class: "mt-4" }, index.h("justifi-button", { key: '6a076cff574520eaf3303cb4792227365eaf25ae', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: this.isSubmitting, isLoading: this.isSubmitting, customStyle: { width: '100%', textAlign: "center" } }))))));
96
96
  }
97
97
  static get watchers() { return {
98
98
  "authToken": ["propChanged"],
@@ -53,7 +53,7 @@ const CheckoutsListFilters = class {
53
53
  }
54
54
  render() {
55
55
  const filterMenuParams = Object.assign({}, checkoutsListParamsState.filterParams);
56
- return (index.h(styledHost.StyledHost, { key: '05a4d429a1acd7bbaf202872523284e2b2cd3677' }, index.h("table-filters-menu", { key: 'abf61654a75212537af580f3bfd2646042eaba8a', params: filterMenuParams, clearParams: checkoutsListParamsState.clearParams, part: parts.checkoutsListFilterMenu }, index.h("div", { key: 'f8e5cfe4b0a23723d0df939a1d1873adffcb1da9', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: 'd9e23e96a7269b3609e690a1e64e8c20bd125cb7', class: "p-2" }, index.h("form-control-select", { key: 'e1899dbc615be07486bc54f8baa395bee776d8ce', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || checkoutsListParamsState.filterParams.status, disabled: !!this.checkoutStatus, part: parts.statusCheckoutsListFilterParam })), index.h("div", { key: 'bedbc26d9d9f6906013ef4b80542d9031822b19c', class: "p-2" }, index.h("form-control-select", { key: '3bfef7fabeb85a29304e11093005bb1f58b23f41', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || checkoutsListParamsState.filterParams.payment_mode, disabled: !!this.paymentMode, part: parts.paymentModeCheckoutsListFilterParam }))))));
56
+ return (index.h(styledHost.StyledHost, { key: '5474a09b729c816bafb47101dbf5a25aff92eb1b' }, index.h("table-filters-menu", { key: '92e46a05e67bdf84b74cd644c1b89d0fc4c86af9', params: filterMenuParams, clearParams: checkoutsListParamsState.clearParams, part: parts.checkoutsListFilterMenu }, index.h("div", { key: 'd8562876f8a0c1d85caa5a298cccdb1143bd7512', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: '4162644cf10861d91a79dc07f845dd21a6c8d6a5', class: "p-2" }, index.h("form-control-select", { key: '2b13ef4af25f6ac3865f3b0edde91929655537bf', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || checkoutsListParamsState.filterParams.status, disabled: !!this.checkoutStatus, part: parts.statusCheckoutsListFilterParam })), index.h("div", { key: '9aee7f453be147b03a548fe9ea9bd9bcc6a233aa', class: "p-2" }, index.h("form-control-select", { key: '8f375d5660c3414e5f3796e02694fa46ed761871', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || checkoutsListParamsState.filterParams.payment_mode, disabled: !!this.paymentMode, part: parts.paymentModeCheckoutsListFilterParam }))))));
57
57
  }
58
58
  };
59
59
 
@@ -9,7 +9,7 @@ require('./Pagination-Dediz133.js');
9
9
  require('./Business-DCRzZf0w.js');
10
10
  require('./Dispute-CruQTF6_.js');
11
11
  var utils = require('./utils-DvUQQLmR.js');
12
- var checkPkgVersion = require('./check-pkg-version-DiQ-d5Nl.js');
12
+ var checkPkgVersion = require('./check-pkg-version-BlIBYv3J.js');
13
13
  var checkout_service = require('./checkout.service-B-R80p4f.js');
14
14
  var getSubaccounts = require('./get-subaccounts-Bnfv2tEN.js');
15
15
  var styledHost = require('./styled-host-BfVJlAsJ.js');
@@ -19,7 +19,7 @@ require('./index-B32W0A3m.js');
19
19
  require('./utils-ChCUZgUy.js');
20
20
  require('./helpers-B5OCqlIM.js');
21
21
  require('./state-options-CIT9xdTz.js');
22
- require('./package-Be2aoTf8.js');
22
+ require('./package-BMpasLve.js');
23
23
  require('./Api-DyimBzKT.js');
24
24
  require('./badge-CcJ9H85-.js');
25
25
  require('./parts-9jMf1erK.js');
@@ -108,7 +108,7 @@ const CheckoutsList = class {
108
108
  }
109
109
  }
110
110
  render() {
111
- return (index.h(styledHost.StyledHost, { key: 'b0c774c4f56f94cd6b4a3dc8651938f9f33ca94e' }, index.h("checkouts-list-core", { key: 'd524423a791f70c234044f5ba27d7bc3648fc988', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
111
+ return (index.h(styledHost.StyledHost, { key: '41bf633467138b6af13b1c02ccf1e1016ec54bfe' }, index.h("checkouts-list-core", { key: 'cd3ca431258ad73e701fe74612ecdf2c0f2a1bda', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
112
112
  }
113
113
  static get watchers() { return {
114
114
  "accountId": ["propChanged"],
@@ -51,7 +51,7 @@ const DisputeManagementCore = class {
51
51
  });
52
52
  }
53
53
  render() {
54
- return (index.h("div", { key: 'b5a802e8c418b3b7f3235f43260186084a6ee079' }, this.showDisputeResponseForm ? (index.h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (index.h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
54
+ return (index.h("div", { key: 'c85852cbd1169f371eb30ae06b6a2a564a15ece7' }, this.showDisputeResponseForm ? (index.h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (index.h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
55
55
  }
56
56
  static get watchers() { return {
57
57
  "getDispute": ["updateOnPropChange"]
@@ -2,11 +2,11 @@
2
2
 
3
3
  var index = require('./index-C9hBD-32.js');
4
4
  var ComponentError = require('./ComponentError-D4OLnOkg.js');
5
- var checkPkgVersion = require('./check-pkg-version-DiQ-d5Nl.js');
5
+ var checkPkgVersion = require('./check-pkg-version-BlIBYv3J.js');
6
6
  var Dispute = require('./Dispute-CruQTF6_.js');
7
7
  var utils = require('./utils-DvUQQLmR.js');
8
8
  var dispute_service = require('./dispute.service-B5tITFAh.js');
9
- require('./package-Be2aoTf8.js');
9
+ require('./package-BMpasLve.js');
10
10
  require('./Api-DyimBzKT.js');
11
11
  require('./config-state-BBOZIS8x.js');
12
12
  require('./index-B32W0A3m.js');
@@ -88,7 +88,7 @@ const DisputeManagement = class {
88
88
  }
89
89
  }
90
90
  render() {
91
- return (index.h("justifi-dispute-management-core", { key: '8c800827aaa9d549a734ea05698763685e160a98', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
91
+ return (index.h("justifi-dispute-management-core", { key: '4087eb105a046a3cc194d9f25c80fa11298fa0a2', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
92
92
  }
93
93
  static get watchers() { return {
94
94
  "disputeId": ["propChanged"],
@@ -11,7 +11,7 @@ var ComponentError = require('./ComponentError-D4OLnOkg.js');
11
11
  var utils = require('./utils-DvUQQLmR.js');
12
12
  var dispute_service = require('./dispute.service-B5tITFAh.js');
13
13
  var eventTypes = require('./event-types-BWQT2lwu.js');
14
- var checkPkgVersion = require('./check-pkg-version-DiQ-d5Nl.js');
14
+ var checkPkgVersion = require('./check-pkg-version-BlIBYv3J.js');
15
15
  require('./dinero-BwNN_k7x.js');
16
16
  require('./Api-DyimBzKT.js');
17
17
  require('./config-state-BBOZIS8x.js');
@@ -22,7 +22,7 @@ require('./Pagination-Dediz133.js');
22
22
  require('./Business-DCRzZf0w.js');
23
23
  require('./helpers-B5OCqlIM.js');
24
24
  require('./state-options-CIT9xdTz.js');
25
- require('./package-Be2aoTf8.js');
25
+ require('./package-BMpasLve.js');
26
26
 
27
27
  const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
28
28
  var _a;
@@ -143,7 +143,7 @@ const DisputeNotification = class {
143
143
  }
144
144
  render() {
145
145
  var _a, _b, _c, _d, _e, _f, _g;
146
- return (index.h(styledHost.StyledHost, { key: '90d2506d5bde2ea478fa3575fc162bb356b67fac' }, this.isLoading && (index.h("div", { key: '4877ae22d3d8e312640b122c9107b6bdd8f924cb', style: { marginBottom: '8px' } }, index.h(skeleton.Skeleton, { key: '31fa0717949bbc6aa49db1c6ae0e324099ae1de2', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), index.h(skeleton.Skeleton, { key: 'ac5179232cb9ee33d3f3e16d9f93536ecfbf46a5', height: '18px', styles: { marginBottom: '8px' } }), index.h(skeleton.Skeleton, { key: 'c22a5e3b257d01f92de7f6188fa0758861abc747', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (index.h("div", { key: 'be331b1a5e2fa0baf46bc593ef7ce4f5872abcff', part: parts.text }, index.h("h1", { key: '8094c16d3b375f28ffe314613f21ae25b63e59ef', class: "h4", part: parts.heading4 }, "This payment is disputed"), index.h("p", { key: 'd89ae665e1f9bd99c9338e2132c1dc56e5386696' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), index.h("h2", { key: '2786733eac76628019993e13473d1f43c0c395ed', class: "h5" }, "Dispute details"), index.h("div", { key: '663c28c46136bd56889b6ad0b9bfce9e5adbb590', class: "d-table gap-2" }, index.h("div", { key: 'dc688fad875d1591dcb7f31d423b61a3df2ff954', class: "d-table-row gap-2" }, index.h("span", { key: '442db7a6e95524ca6b092794c7a4a4d987c9866e', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), index.h("span", { key: '0a31de8692c9b00f43fcf3c0508e4d00a221d096', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, utils$1.formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), index.h("div", { key: '9fe0c1a3d3350c36fca190ae748dafe24d41b5fc', class: "d-table-row gap-2" }, index.h("span", { key: '12165cb6671519130a5f2e0d8938aaa55e7e3ead', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), index.h("span", { key: '4a37ca8a7d64b97142997bb50ec11d737ac6a882', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), index.h("div", { key: '4d9cf74a8ed26dd84e4ce7325d4b8703352362a4', class: "d-table-row gap-2" }, index.h("span", { key: '8c0eaa24ebec7703eb18384b0b1f2eae8a684b55', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), index.h("span", { key: '238813abf2ea0848e1fe817d5798b9b0d0b78ffc', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), index.h("div", { key: 'd156a7e9bf0e7214ff2164fc09b12c0b8f1d2b36', class: "d-flex gap-2 mt-4 justify-content-end" }, index.h(button.Button, { key: '7822fd12dfc39bd2aced043956d012fd34cc1b01', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), index.h(button.Button, { key: '05132b3a6d1fc3d136dc227008ea1999330cdb96', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (index.h("div", { key: 'b04dd0c34f608b75ea3997a9c28ce948fa9dba5c' }, index.h("h1", { key: 'ac2a13373315703e86247b6707097af7cf2e6757', class: "h4" }, "This payment is disputed and under review"), index.h("p", { key: '203aed553e01bbaebe44bb370a1d088c149cda06' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (index.h("div", { key: '6325264f8ad7b6678825878ed59f03f90eee421a' }, index.h("h1", { key: '7b647ed77373884e0751de4fc39403211c249db6', class: "h4" }, "This payment was disputed"), index.h("p", { key: '2a5c1560d341af9b743234a058a1187f245a2ae8' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (index.h("div", { key: 'a89e7f4d7e8926ed052023c7dbbbaf076a03ed9c' }, index.h("h1", { key: '534b560aa35dd43ba0eba668904ef70dc1a6954f', class: "h4" }, "This payment was disputed"), index.h("p", { key: '2381f2f6418b47dce67c498c56d5f3789add57dc' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
146
+ return (index.h(styledHost.StyledHost, { key: '0f1028825a7a96a06e7219518ffed54bc0db1b2b' }, this.isLoading && (index.h("div", { key: 'f4b704182a5a7085827854634d38c56423cc2e1b', style: { marginBottom: '8px' } }, index.h(skeleton.Skeleton, { key: 'b2062d8b683ab110c26fc30f1600c4500f668d87', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), index.h(skeleton.Skeleton, { key: 'b5d2afe1fdd2e5ee0ec60048a48778bcfa6c78d3', height: '18px', styles: { marginBottom: '8px' } }), index.h(skeleton.Skeleton, { key: '1e87c8936b3f2e26e680786927c5a4609aca0b83', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (index.h("div", { key: '49090493e3921353b7a830397795496bb234d112', part: parts.text }, index.h("h1", { key: 'fd7b56a7cfeaa6820bf2cc121575314d075b5a83', class: "h4", part: parts.heading4 }, "This payment is disputed"), index.h("p", { key: '72ba296695928baca8f7c5c3b1f858c596efedb2' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), index.h("h2", { key: 'cce733ff1bbca7a9530a442035cbae2995e018e7', class: "h5" }, "Dispute details"), index.h("div", { key: '28b7f081e345112d99c52d05f205734995617253', class: "d-table gap-2" }, index.h("div", { key: 'd9476d8d0adfa3c6eccad229e94cd3824a720c7d', class: "d-table-row gap-2" }, index.h("span", { key: '4d9e0714eee778c326ee1d70a32f79d90d3d4b09', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), index.h("span", { key: 'b227edcf9b4b65b790d8aa98021d2662a12855bc', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, utils$1.formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), index.h("div", { key: 'b1b1cdaac5482f565a6f26af71c0b526b8c19f4e', class: "d-table-row gap-2" }, index.h("span", { key: '0a479a9de96cce6e42bec90a17affe2c93ced44f', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), index.h("span", { key: '5d5020dda571f4465e2a358880ad5f20bc6171ea', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), index.h("div", { key: 'a5f42c3fcbb5d14f8479d0a576d31a50f8fc6441', class: "d-table-row gap-2" }, index.h("span", { key: '280fca5a101eb0e823eb9ccc13c746ac7ed62069', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), index.h("span", { key: '4dfc0b9a295ffc804b708d3590358256009e5376', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), index.h("div", { key: '654e7baccd08628bc90d050bad108011b49f9972', class: "d-flex gap-2 mt-4 justify-content-end" }, index.h(button.Button, { key: 'd0817cdb23bf33086c6ce5122f4ed5388027d96c', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), index.h(button.Button, { key: '5446bef44a0ca747692d59fd5490409d00a9e285', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (index.h("div", { key: '17fbc5902badc4230c5485b326f480180c844768' }, index.h("h1", { key: 'fefa0234306588d9e7f56733872bf8c9793f51dd', class: "h4" }, "This payment is disputed and under review"), index.h("p", { key: 'eaad72aa8d9f65ca296379a2800180878ec8a7e5' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (index.h("div", { key: 'ec1b0d728a7518f913c2a69976fa1f5fc8f76c74' }, index.h("h1", { key: '9d42fad15fbeee507e2f364c3a35f143ff7599e2', class: "h4" }, "This payment was disputed"), index.h("p", { key: '3b728a5544fe17a6c58c12f7e8eef290022945b6' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (index.h("div", { key: '6d1813508a657265546fbef00bd1e8f46ffaf740' }, index.h("h1", { key: 'de981fc2e06e860f47146647975965a903a39b55', class: "h4" }, "This payment was disputed"), index.h("p", { key: '4e57ab86518bd678a3a5402b712d40d573b3a970' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
147
147
  }
148
148
  };
149
149
 
@@ -199,7 +199,7 @@ const DisputeResponse = class {
199
199
  }
200
200
  }
201
201
  render() {
202
- return (index.h(styledHost.StyledHost, { key: 'b90f636418c3e11b046d36dee9accf345756b407' }, index.h("justifi-dispute-response-core", { key: 'ff6e510faad54506eda24b1d8dc94b67afc18014', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
202
+ return (index.h(styledHost.StyledHost, { key: 'dbdfd59a21c7e8ea4dfdaecb91f885f82540a27c' }, index.h("justifi-dispute-response-core", { key: '3cff38e5995f0033c45c54fa195ffeebc27e189e', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
203
203
  }
204
204
  ;
205
205
  static get watchers() { return {
@@ -367,7 +367,7 @@ const DisputeResponseCore = class {
367
367
  return this.currentStep === 0;
368
368
  }
369
369
  render() {
370
- return (index.h("div", { key: '09b09843d54a2dbced9788d16e244b2e59a3a78f', class: "row gy-3" }, index.h("div", { key: '6a3fe32d65ea1a74161d9ba9984543cf950e47ea', class: "col-12" }, index.h("h1", { key: 'bbb6f1334fd6b120e592117ba191d90b628e620f', class: "h4", part: parts.heading4 }, "Counter dispute")), index.h("div", { key: '19cbc45842294e9344dbffb725f5f053bf370af7', class: "col-12" }, this.currentStepComponent), index.h("div", { key: 'fa875ca152ea77fc4c8363216d8ba16c7699b597', class: "col-12" }, index.h("div", { key: 'fa7b62fff0cbac81c19ebad919f5dd54c3679e84', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (index.h(button.Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (index.h(button.Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (index.h(button.Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (index.h(button.Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
370
+ return (index.h("div", { key: '20d075178a9d88cd73be32e52f8df6d3d360f8d7', class: "row gy-3" }, index.h("div", { key: '6c1bc735f1a15709c596b5bea7cc3ce50e9a73f5', class: "col-12" }, index.h("h1", { key: '27a0804924937ee7a8d01265bd0da2d9dd31d301', class: "h4", part: parts.heading4 }, "Counter dispute")), index.h("div", { key: 'b60822e91425c5c4af003169f47fd725daf9fb0f', class: "col-12" }, this.currentStepComponent), index.h("div", { key: 'd1be3f6be53de37836275067070cf4b5a2eb3e4a', class: "col-12" }, index.h("div", { key: '48c8725d8de8b658e59ccfa851a6af6638e19ca5', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (index.h(button.Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (index.h(button.Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (index.h(button.Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (index.h(button.Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
371
371
  }
372
372
  };
373
373
 
@@ -9,7 +9,7 @@ require('./Business-DCRzZf0w.js');
9
9
  require('./Dispute-CruQTF6_.js');
10
10
  var utils = require('./utils-DvUQQLmR.js');
11
11
  var utils$1 = require('./utils-Bzyj4qWe.js');
12
- var checkPkgVersion = require('./check-pkg-version-DiQ-d5Nl.js');
12
+ var checkPkgVersion = require('./check-pkg-version-BlIBYv3J.js');
13
13
  require('./config-state-BBOZIS8x.js');
14
14
  require('./index-B32W0A3m.js');
15
15
  require('./utils-ChCUZgUy.js');
@@ -17,7 +17,7 @@ require('./dinero-BwNN_k7x.js');
17
17
  require('./helpers-B5OCqlIM.js');
18
18
  require('./state-options-CIT9xdTz.js');
19
19
  require('./parts-9jMf1erK.js');
20
- require('./package-Be2aoTf8.js');
20
+ require('./package-BMpasLve.js');
21
21
 
22
22
  const api = Api.Api();
23
23
  class ReportsService {
@@ -4,7 +4,7 @@ var index = require('./index-C9hBD-32.js');
4
4
  var parts = require('./parts-9jMf1erK.js');
5
5
  var styledHost = require('./styled-host-BfVJlAsJ.js');
6
6
  require('./event-types-YOY5TKUN.js');
7
- var checkPkgVersion = require('./check-pkg-version-DiQ-d5Nl.js');
7
+ var checkPkgVersion = require('./check-pkg-version-BlIBYv3J.js');
8
8
  var ComponentError = require('./ComponentError-D4OLnOkg.js');
9
9
  var business_service = require('./business.service-BB6zl4Gc.js');
10
10
  var Business = require('./Business-DCRzZf0w.js');
@@ -18,7 +18,7 @@ require('./Dispute-CruQTF6_.js');
18
18
  var utils = require('./utils-DvUQQLmR.js');
19
19
  var terminal_service = require('./terminal.service-D1FAYZzd.js');
20
20
  var utils$1 = require('./utils-ChCUZgUy.js');
21
- require('./package-Be2aoTf8.js');
21
+ require('./package-BMpasLve.js');
22
22
  require('./Api-DyimBzKT.js');
23
23
  require('./helpers-B5OCqlIM.js');
24
24
  require('./state-options-CIT9xdTz.js');
@@ -233,7 +233,7 @@ const OrderTerminals = class {
233
233
  return (index.h("div", { class: "mt-3" }, index.h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), index.h("div", { class: "d-flex justify-content-end mt-3" }, index.h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: parts.buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
234
234
  }
235
235
  render() {
236
- return (index.h(styledHost.StyledHost, { key: '5171ddb7b807bf4084f0f831002803a4ece698f3' }, index.h("div", { key: '529adf4549be8b2723fca357be3f541403dfc8a3', part: parts.text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
236
+ return (index.h(styledHost.StyledHost, { key: 'd30fa51dfc5de12c0c70b642a8ad43093717b6e3' }, index.h("div", { key: '022332e39a80c3cc276ad8e0f56e98a592f14f0a', part: parts.text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
237
237
  }
238
238
  };
239
239
 
@@ -5,7 +5,7 @@ var payment_service = require('./payment.service-aR96UW5e.js');
5
5
  var getPaymentDetails = require('./get-payment-details-BfgRmNL4.js');
6
6
  var utils = require('./utils-Bzyj4qWe.js');
7
7
  var ComponentError = require('./ComponentError-D4OLnOkg.js');
8
- var checkPkgVersion = require('./check-pkg-version-DiQ-d5Nl.js');
8
+ var checkPkgVersion = require('./check-pkg-version-BlIBYv3J.js');
9
9
  require('./Api-DyimBzKT.js');
10
10
  require('./config-state-BBOZIS8x.js');
11
11
  require('./index-B32W0A3m.js');
@@ -19,7 +19,7 @@ require('./helpers-B5OCqlIM.js');
19
19
  require('./state-options-CIT9xdTz.js');
20
20
  require('./utils-DvUQQLmR.js');
21
21
  require('./parts-9jMf1erK.js');
22
- require('./package-Be2aoTf8.js');
22
+ require('./package-BMpasLve.js');
23
23
 
24
24
  const PaymentDetails = class {
25
25
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-C9hBD-32.js');
4
- var checkPkgVersion = require('./check-pkg-version-DiQ-d5Nl.js');
4
+ var checkPkgVersion = require('./check-pkg-version-BlIBYv3J.js');
5
5
  var ComponentError = require('./ComponentError-D4OLnOkg.js');
6
6
  var paymentProvisioningActions = require('./payment-provisioning-actions-CZVlnRA0.js');
7
7
  var business_service = require('./business.service-BB6zl4Gc.js');
@@ -10,7 +10,7 @@ require('./Refund-BefKONu4.js');
10
10
  require('./Pagination-Dediz133.js');
11
11
  require('./Business-DCRzZf0w.js');
12
12
  require('./Dispute-CruQTF6_.js');
13
- require('./package-Be2aoTf8.js');
13
+ require('./package-BMpasLve.js');
14
14
  require('./utils-DvUQQLmR.js');
15
15
  require('./config-state-BBOZIS8x.js');
16
16
  require('./index-B32W0A3m.js');
@@ -8,7 +8,7 @@ var Refund = require('./Refund-BefKONu4.js');
8
8
  var Pagination = require('./Pagination-Dediz133.js');
9
9
  require('./Business-DCRzZf0w.js');
10
10
  require('./Dispute-CruQTF6_.js');
11
- var checkPkgVersion = require('./check-pkg-version-DiQ-d5Nl.js');
11
+ var checkPkgVersion = require('./check-pkg-version-BlIBYv3J.js');
12
12
  var utils = require('./utils-DvUQQLmR.js');
13
13
  var payment_service = require('./payment.service-aR96UW5e.js');
14
14
  var table = require('./table-Ccdrt0v_.js');
@@ -19,7 +19,7 @@ var parts = require('./parts-9jMf1erK.js');
19
19
  require('./index-B32W0A3m.js');
20
20
  require('./helpers-B5OCqlIM.js');
21
21
  require('./state-options-CIT9xdTz.js');
22
- require('./package-Be2aoTf8.js');
22
+ require('./package-BMpasLve.js');
23
23
  require('./Api-DyimBzKT.js');
24
24
  require('./spinner-jmeA44Ee.js');
25
25
 
@@ -186,7 +186,7 @@ const PaymentTransactionsList = class {
186
186
  return !this.showEmptyState && !this.showErrorState && !this.isLoading;
187
187
  }
188
188
  render() {
189
- return (index.h(styledHost.StyledHost, { key: '0ea0cd7e150028fa7dd07bc8d3a9900ba2de5728' }, index.h(table.TableWrapper, { key: 'cf8085e6989e1fb05c2b606a6d56c4af5ba33d33' }, index.h(table.TableComponent, { key: '2aeae7b80720b715e33b4decc824b08c95642951' }, index.h(table.TableHead, { key: '463a4486652002ec647d90d23eeba7251eccda98' }, index.h(table.TableHeadRow, { key: '8c2906ce4c1f53d196ac6134ad363332c4e831fb' }, this.transactionsTable.columnData.map((column) => column))), index.h(table.TableBody, { key: 'bf1a2336f715ef317ee41f7b1de44b4256ac5f48' }, index.h(table.TableLoadingState, { key: '7bf57b2056d7e8a912d1e173d01b6007cc648441', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), index.h(table.TableEmptyState, { key: '3a578832c5c3c05fbcebad508e3922c180ee33cf', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), index.h(table.TableErrorState, { key: '9cdff1699621d8e02d90ca7544a3e95340c6598e', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index$1) => (index.h(table.TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h(table.TableFoot, { key: '9c5baf6c5bbba0c19f287fd2eddd7b06490f51df' }, index.h(table.TableFootRow, { key: '95460f894d3f6a9d20422aef2c9172cdc230e079' }, index.h(table.TableFootCell, { key: '33fa015f7a7a968c6697302616359991f5ae16cf', colSpan: this.transactionsTable.columnData.length }, index.h("pagination-menu", { key: 'e1821a1b7658b503e11ff799413fa5ea368a7ae7', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
189
+ return (index.h(styledHost.StyledHost, { key: '94919675808cd7b7df82403b7fa40e72c763f676' }, index.h(table.TableWrapper, { key: 'e405a069813214b692d7efb39b1a2b8313291088' }, index.h(table.TableComponent, { key: '27c7d5a96075d6e1e3b25d18272b4f4f57e374f0' }, index.h(table.TableHead, { key: 'e80e58ed2c38902adc86b7088cf9094b1e4f2540' }, index.h(table.TableHeadRow, { key: '641c6bc3d69a20bbd4624043cca1178f6e7257ba' }, this.transactionsTable.columnData.map((column) => column))), index.h(table.TableBody, { key: 'b1a029e801f1f87f35201ba8725bff6e9cc5eb28' }, index.h(table.TableLoadingState, { key: '8af52c5f9a0072502e64539900aeae2d08dce1ce', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), index.h(table.TableEmptyState, { key: 'df0d89fd7fee252611ea45052373b59974d86c81', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), index.h(table.TableErrorState, { key: '1ae2c61e4eaa643ed47cd37ec2a7fa192b99ec11', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index$1) => (index.h(table.TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h(table.TableFoot, { key: 'c3b9d5df20e37e8325ce8b99360ed5547078b9a6' }, index.h(table.TableFootRow, { key: '8ae2ddda61552ff945b075287654d0bfc64a8dae' }, index.h(table.TableFootCell, { key: 'ee9fe2a43b9ea6e6916d196fbfcf67f87b46821c', colSpan: this.transactionsTable.columnData.length }, index.h("pagination-menu", { key: '79f03d48df9fde25ee3ceb9b5a369b1d8296caa8', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
190
190
  }
191
191
  static get watchers() { return {
192
192
  "pagingParams": ["propChanged"],