@justifi/webcomponents 5.7.4 → 5.7.5

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 (358) hide show
  1. package/dist/cjs/{Api-BTdkb3Zh.js → Api-c8NBCwu4.js} +1 -1
  2. package/dist/cjs/{Refund-BFE-2OxN.js → Refund-DN-yzFgy.js} +17 -8
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  4. package/dist/cjs/{badge-sO_Hcamo.js → badge-DDksduwk.js} +1 -1
  5. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +6 -6
  6. package/dist/cjs/bank-account-form_9.cjs.entry.js +6 -6
  7. package/dist/cjs/business-details-core.cjs.entry.js +4 -4
  8. package/dist/cjs/{business.service-DNvLrr-n.js → business.service-U2eLTrq9.js} +2 -2
  9. package/dist/cjs/{button-CCZd8WSY.js → button-0HYMPryx.js} +1 -1
  10. package/dist/cjs/{check-pkg-version-BlUxyRaM.js → check-pkg-version-DuL7lRe2.js} +3 -3
  11. package/dist/cjs/{checkout.service-Bx0RBq-I.js → checkout.service-DtMzeEwi.js} +2 -2
  12. package/dist/cjs/checkouts-list-core.cjs.entry.js +9 -9
  13. package/dist/cjs/{payments-list-params-state-fVsfZZ5G.js → checkouts-list-params-state-DZUKBmLC.js} +1 -1
  14. package/dist/cjs/{checkouts-table-C1Jv_A7m.js → checkouts-table-CrpOOe_e.js} +2 -2
  15. package/dist/cjs/{config-state-BTfJl-LU.js → config-state-Dz9bnWHg.js} +1 -1
  16. package/dist/cjs/custom-popper_4.cjs.entry.js +2 -2
  17. package/dist/cjs/{dispute.service-DbUcp4sD.js → dispute.service-CGVAs-5M.js} +2 -2
  18. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  19. package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
  20. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  21. package/dist/cjs/{form-control-error-text-DPDsFdAT.js → form-control-error-text-CVPYL0lE.js} +1 -1
  22. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +2 -2
  23. package/dist/cjs/{form-control-help-text-CT5HzEnX.js → form-control-help-text-B3jRgfoa.js} +1 -1
  24. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  25. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  26. package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
  27. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
  28. package/dist/cjs/form-control-number.cjs.entry.js +3 -3
  29. package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
  30. package/dist/cjs/{get-payment-details-C7Ezks0M.js → get-payment-details-CdVEiscr.js} +2 -2
  31. package/dist/cjs/{get-subaccounts-UpfFbDHH.js → get-subaccounts-fBIoOr7m.js} +3 -3
  32. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +27 -8
  33. package/dist/cjs/{header-1--wdCXxjA.js → header-1-M-mc3bsa.js} +1 -1
  34. package/dist/cjs/{header-3-DxUQJ7TT.js → header-3-BnKbOjvz.js} +1 -1
  35. package/dist/cjs/{iframe-input-styles-state-BJ9xnomM.js → iframe-input-styles-state-DX5gGQQF.js} +1 -1
  36. package/dist/cjs/iframe-input.cjs.entry.js +5 -5
  37. package/dist/cjs/{index-DEMVrrsF.js → index-BCtVWU61.js} +1 -1
  38. package/dist/cjs/{index-2GwnTbNA.js → index-D5bL1DOi.js} +17 -7
  39. package/dist/cjs/{insurance-state-BmAF1Sef.js → insurance-state-BsGy_svD.js} +2 -2
  40. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +8 -7
  41. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +7 -7
  42. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +5 -8
  43. package/dist/cjs/justifi-business-details.cjs.entry.js +9 -9
  44. package/dist/cjs/justifi-business-form.cjs.entry.js +12 -12
  45. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  46. package/dist/cjs/justifi-checkout-core.cjs.entry.js +7 -7
  47. package/dist/cjs/justifi-checkout.cjs.entry.js +8 -8
  48. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
  49. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
  50. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  51. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  52. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  53. package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -8
  54. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +11 -11
  55. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -8
  56. package/dist/cjs/justifi-order-terminals.cjs.entry.js +11 -11
  57. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -7
  58. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
  59. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  60. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -8
  61. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +11 -11
  62. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
  63. package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
  64. package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -9
  65. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +11 -11
  66. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  67. package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
  68. package/dist/cjs/justifi-refund-payment.cjs.entry.js +12 -12
  69. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +5 -5
  70. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -7
  71. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +6 -6
  72. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
  73. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +6 -6
  74. package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
  75. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -9
  76. package/dist/cjs/loader.cjs.js +1 -1
  77. package/dist/cjs/{package-v-c3ZR5a.js → package-o4g7MDiy.js} +1 -1
  78. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  79. package/dist/cjs/payment-details-core.cjs.entry.js +6 -6
  80. package/dist/cjs/{payment.service-CVZgDrZw.js → payment.service-DmpOOPu1.js} +2 -2
  81. package/dist/cjs/payments-list-core.cjs.entry.js +10 -10
  82. package/dist/cjs/{payouts-list-params-state-fVsfZZ5G.js → payments-list-params-state-DZUKBmLC.js} +1 -1
  83. package/dist/cjs/{payments-status-DPqU5v9h.js → payments-status-DG50GuXR.js} +2 -2
  84. package/dist/cjs/{payments-table-BM3AoAJf.js → payments-table-BqxFc71K.js} +2 -2
  85. package/dist/cjs/payout-details-core.cjs.entry.js +7 -7
  86. package/dist/cjs/{payout.service-D6kmeDsy.js → payout.service-BfO6L79f.js} +2 -2
  87. package/dist/cjs/payouts-list-core.cjs.entry.js +10 -10
  88. package/dist/cjs/{terminal-orders-list-params-state-fVsfZZ5G.js → payouts-list-params-state-DZUKBmLC.js} +1 -1
  89. package/dist/cjs/{payouts-status-CU8aqIhH.js → payouts-status-meuI7eBr.js} +2 -2
  90. package/dist/cjs/{payouts-table-1HL4kk9B.js → payouts-table-iT2IauEa.js} +2 -2
  91. package/dist/cjs/{skeleton-ByLavxr1.js → skeleton-CbZBGO47.js} +1 -1
  92. package/dist/cjs/{spinner-DOC4Ab7M.js → spinner-CIZFX7bz.js} +1 -1
  93. package/dist/cjs/{styled-host-IMxk64cc.js → styled-host-DXNHOiqW.js} +1 -1
  94. package/dist/cjs/{table-BgQP2M2-.js → table-CxvETNS1.js} +2 -2
  95. package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
  96. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +9 -9
  97. package/dist/cjs/{checkouts-list-params-state-fVsfZZ5G.js → terminal-orders-list-params-state-DZUKBmLC.js} +1 -1
  98. package/dist/cjs/{terminal-orders-table-CUOWHQ6V.js → terminal-orders-table-DMjFmuxk.js} +4 -4
  99. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  100. package/dist/cjs/{terminal.service-BxRchD7X.js → terminal.service-h-LWztbo.js} +2 -2
  101. package/dist/cjs/terminals-list-core.cjs.entry.js +9 -9
  102. package/dist/cjs/terminals-list-params-state-DZUKBmLC.js +22 -0
  103. package/dist/cjs/{terminals-table-yRGsrfBw.js → terminals-table-sf-s5v6D.js} +2 -2
  104. package/dist/cjs/{utils-bn0fXuc-.js → utils-wkdkLmDI.js} +1 -1
  105. package/dist/cjs/webcomponents.cjs.js +2 -2
  106. package/dist/collection/api/DisputeEvidenceDocument.js +4 -7
  107. package/dist/collection/api/Document.js +17 -8
  108. package/dist/collection/collection-manifest.json +1 -1
  109. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +2 -1
  110. package/dist/docs.json +2 -2
  111. package/dist/esm/{Api-BNYhCiE2.js → Api-69eVlLFc.js} +1 -1
  112. package/dist/esm/{Refund-DDIEc_gu.js → Refund-f_BCgcDa.js} +17 -8
  113. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  114. package/dist/esm/{badge-C-nwyQ3h.js → badge-VWumlkvS.js} +1 -1
  115. package/dist/esm/bank-account-document-form-inputs_4.entry.js +6 -6
  116. package/dist/esm/bank-account-form_9.entry.js +6 -6
  117. package/dist/esm/business-details-core.entry.js +4 -4
  118. package/dist/esm/{business.service-DP2HUV0w.js → business.service-BviUFOjP.js} +2 -2
  119. package/dist/esm/{button-BGlG9iX5.js → button-BfT7Ex96.js} +1 -1
  120. package/dist/esm/{check-pkg-version-Dff5h73V.js → check-pkg-version-phOwcSQM.js} +3 -3
  121. package/dist/esm/{checkout.service-DkTEFCSZ.js → checkout.service-B8W_W-lc.js} +2 -2
  122. package/dist/esm/checkouts-list-core.entry.js +9 -9
  123. package/dist/esm/{checkouts-list-params-state-DhPyCV-V.js → checkouts-list-params-state-DFWVMJRJ.js} +1 -1
  124. package/dist/esm/{checkouts-table-rhDm-zAB.js → checkouts-table-zIrBvmQp.js} +2 -2
  125. package/dist/esm/{config-state-BjXhUj2q.js → config-state-B3mtRA6f.js} +1 -1
  126. package/dist/esm/custom-popper_4.entry.js +2 -2
  127. package/dist/esm/{dispute.service-CUcw-v4N.js → dispute.service-1e9677RK.js} +2 -2
  128. package/dist/esm/form-alert_5.entry.js +1 -1
  129. package/dist/esm/form-control-checkbox.entry.js +3 -3
  130. package/dist/esm/form-control-date.entry.js +2 -2
  131. package/dist/esm/{form-control-error-text-CwJc1ShT.js → form-control-error-text-CYWqNNkG.js} +1 -1
  132. package/dist/esm/form-control-file-v2_2.entry.js +2 -2
  133. package/dist/esm/{form-control-help-text-COx__-BM.js → form-control-help-text-DMdU5_la.js} +1 -1
  134. package/dist/esm/form-control-help-text.entry.js +1 -1
  135. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  136. package/dist/esm/form-control-monetary.entry.js +3 -3
  137. package/dist/esm/form-control-number-masked_2.entry.js +2 -2
  138. package/dist/esm/form-control-number.entry.js +3 -3
  139. package/dist/esm/form-control-radio.entry.js +1 -1
  140. package/dist/esm/{get-payment-details-Ea6HDOQH.js → get-payment-details-B5-Hzdrg.js} +2 -2
  141. package/dist/esm/{get-subaccounts-DcHphsRK.js → get-subaccounts-Cv7zn0lA.js} +3 -3
  142. package/dist/esm/gross-payment-chart-core.entry.js +27 -8
  143. package/dist/esm/{header-1-Dj4_I_9S.js → header-1-84nZCcj4.js} +1 -1
  144. package/dist/esm/{header-3-CLoMDfp0.js → header-3-DpBr7qOY.js} +1 -1
  145. package/dist/esm/{iframe-input-styles-state-CfSmDqfA.js → iframe-input-styles-state-DqkcQMM1.js} +1 -1
  146. package/dist/esm/iframe-input.entry.js +5 -5
  147. package/dist/esm/{index-Cf8VXyXg.js → index-BAq5IUBW.js} +1 -1
  148. package/dist/esm/{index-Bta_r52Z.js → index-N3w5zrz2.js} +17 -7
  149. package/dist/esm/{insurance-state-CUJP_TDB.js → insurance-state-BDLlv3CM.js} +2 -2
  150. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -7
  151. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +7 -7
  152. package/dist/esm/justifi-additional-statement_8.entry.js +5 -8
  153. package/dist/esm/justifi-business-details.entry.js +9 -9
  154. package/dist/esm/justifi-business-form.entry.js +12 -12
  155. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  156. package/dist/esm/justifi-checkout-core.entry.js +7 -7
  157. package/dist/esm/justifi-checkout.entry.js +8 -8
  158. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
  159. package/dist/esm/justifi-checkouts-list.entry.js +12 -12
  160. package/dist/esm/justifi-config-provider.entry.js +3 -3
  161. package/dist/esm/justifi-details.entry.js +2 -2
  162. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  163. package/dist/esm/justifi-dispute-management.entry.js +8 -8
  164. package/dist/esm/justifi-dispute-notification_3.entry.js +11 -11
  165. package/dist/esm/justifi-gross-payment-chart.entry.js +8 -8
  166. package/dist/esm/justifi-order-terminals.entry.js +11 -11
  167. package/dist/esm/justifi-owner-form_3.entry.js +7 -7
  168. package/dist/esm/justifi-payment-details.entry.js +10 -10
  169. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  170. package/dist/esm/justifi-payment-provisioning.entry.js +8 -8
  171. package/dist/esm/justifi-payment-transactions-list.entry.js +11 -11
  172. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  173. package/dist/esm/justifi-payments-list.entry.js +12 -12
  174. package/dist/esm/justifi-payout-details.entry.js +9 -9
  175. package/dist/esm/justifi-payout-transactions-list.entry.js +11 -11
  176. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  177. package/dist/esm/justifi-payouts-list.entry.js +13 -13
  178. package/dist/esm/justifi-refund-payment.entry.js +12 -12
  179. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +5 -5
  180. package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -7
  181. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -6
  182. package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
  183. package/dist/esm/justifi-terminals-list-filters.entry.js +6 -6
  184. package/dist/esm/justifi-terminals-list.entry.js +12 -12
  185. package/dist/esm/justifi-tokenize-payment-method.entry.js +9 -9
  186. package/dist/esm/loader.js +2 -2
  187. package/dist/esm/{package-DzXsHdKv.js → package-B0XIc_FO.js} +1 -1
  188. package/dist/esm/pagination-menu.entry.js +1 -1
  189. package/dist/esm/payment-details-core.entry.js +6 -6
  190. package/dist/esm/{payment.service-BBse35Bb.js → payment.service-BMbF1Svr.js} +2 -2
  191. package/dist/esm/payments-list-core.entry.js +10 -10
  192. package/dist/esm/{payments-list-params-state-DhPyCV-V.js → payments-list-params-state-DFWVMJRJ.js} +1 -1
  193. package/dist/esm/{payments-status-CO0mZyxH.js → payments-status-_qXPu883.js} +2 -2
  194. package/dist/esm/{payments-table-BYmcN_eJ.js → payments-table-CrCdh5OV.js} +2 -2
  195. package/dist/esm/payout-details-core.entry.js +7 -7
  196. package/dist/esm/{payout.service-DYk7xoLp.js → payout.service-HKpmn5XB.js} +2 -2
  197. package/dist/esm/payouts-list-core.entry.js +10 -10
  198. package/dist/esm/{payouts-list-params-state-DhPyCV-V.js → payouts-list-params-state-DFWVMJRJ.js} +1 -1
  199. package/dist/esm/{payouts-status-BqhlFWZJ.js → payouts-status-C1XLgtWW.js} +2 -2
  200. package/dist/esm/{payouts-table-BoNMXUDt.js → payouts-table-DIqsk6Oa.js} +2 -2
  201. package/dist/esm/{skeleton-D6agoQ_l.js → skeleton-CdD_FIeP.js} +1 -1
  202. package/dist/esm/{spinner-C8twYXzL.js → spinner-DIlSUUzM.js} +1 -1
  203. package/dist/esm/{styled-host-BSX_LSdk.js → styled-host-DtvbNFVU.js} +1 -1
  204. package/dist/esm/{table-BzdzS7PI.js → table-DjsimZwr.js} +2 -2
  205. package/dist/esm/table-filters-menu.entry.js +2 -2
  206. package/dist/esm/terminal-orders-list-core.entry.js +9 -9
  207. package/dist/esm/{terminal-orders-list-params-state-DhPyCV-V.js → terminal-orders-list-params-state-DFWVMJRJ.js} +1 -1
  208. package/dist/esm/{terminal-orders-table-BxZFOqli.js → terminal-orders-table-BnXCVH7W.js} +4 -4
  209. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  210. package/dist/esm/{terminal.service-WIpzxBkU.js → terminal.service-XpfOXoFl.js} +2 -2
  211. package/dist/esm/terminals-list-core.entry.js +9 -9
  212. package/dist/esm/terminals-list-params-state-DFWVMJRJ.js +16 -0
  213. package/dist/esm/{terminals-table-DVreYpwc.js → terminals-table-CCLlefFA.js} +2 -2
  214. package/dist/esm/{utils-DGozGJLI.js → utils-6CI1OiOE.js} +1 -1
  215. package/dist/esm/webcomponents.js +3 -3
  216. package/dist/module/Refund.js +17 -8
  217. package/dist/module/business-bank-account-form-step-core.js +2 -1
  218. package/dist/module/file-input-handler.js +4 -7
  219. package/dist/module/gross-payment-chart-core2.js +24 -5
  220. package/dist/module/package.js +1 -1
  221. package/dist/types/api/DisputeEvidenceDocument.d.ts +1 -1
  222. package/dist/types/api/Document.d.ts +2 -2
  223. package/dist/webcomponents/p-0da7c7e5.entry.js +1 -0
  224. package/dist/webcomponents/p-111535c9.entry.js +1 -0
  225. package/dist/webcomponents/{p-b4da0e31.entry.js → p-18ddc883.entry.js} +1 -1
  226. package/dist/webcomponents/p-1ANZF89K.js +1 -0
  227. package/dist/webcomponents/p-1CYqfEKd.js +1 -0
  228. package/dist/webcomponents/{p-b2086753.entry.js → p-249d9a7f.entry.js} +1 -1
  229. package/dist/webcomponents/p-2b5a7776.entry.js +1 -0
  230. package/dist/webcomponents/{p-d144c5e5.entry.js → p-30415c7f.entry.js} +1 -1
  231. package/dist/webcomponents/p-312b81a6.entry.js +1 -0
  232. package/dist/webcomponents/{p-ba7c7025.entry.js → p-36c99fce.entry.js} +1 -1
  233. package/dist/webcomponents/{p-90d36a2f.entry.js → p-39d3df56.entry.js} +1 -1
  234. package/dist/webcomponents/{p-27a7ba0d.entry.js → p-3bf842ea.entry.js} +1 -1
  235. package/dist/webcomponents/p-3dc2d47c.entry.js +1 -0
  236. package/dist/webcomponents/{p-c5f3f2cc.entry.js → p-40bbb25c.entry.js} +1 -1
  237. package/dist/webcomponents/{p-8f354461.entry.js → p-40fb2439.entry.js} +1 -1
  238. package/dist/webcomponents/{p-b3de3312.entry.js → p-412805ce.entry.js} +1 -1
  239. package/dist/webcomponents/p-43c3a433.entry.js +1 -0
  240. package/dist/webcomponents/{p-7a254093.entry.js → p-4ac8d9d4.entry.js} +6 -6
  241. package/dist/webcomponents/{p-39236b05.entry.js → p-5436c41f.entry.js} +1 -1
  242. package/dist/webcomponents/p-5576322e.entry.js +1 -0
  243. package/dist/webcomponents/{p-68425065.entry.js → p-59db70c0.entry.js} +1 -1
  244. package/dist/webcomponents/{p-59a2ccdb.entry.js → p-600da1ee.entry.js} +1 -1
  245. package/dist/webcomponents/{p-9bb3ccba.entry.js → p-6daf7df0.entry.js} +1 -1
  246. package/dist/webcomponents/{p-0c13f2da.entry.js → p-7a8a06d6.entry.js} +1 -1
  247. package/dist/webcomponents/{p-a7f5262a.entry.js → p-7d324f45.entry.js} +1 -1
  248. package/dist/webcomponents/{p-1d59c747.entry.js → p-84df9f26.entry.js} +1 -1
  249. package/dist/webcomponents/p-867a4a55.entry.js +1 -0
  250. package/dist/webcomponents/{p-99ff608b.entry.js → p-878f26f7.entry.js} +1 -1
  251. package/dist/webcomponents/{p-69e8b394.entry.js → p-8c0162b3.entry.js} +1 -1
  252. package/dist/webcomponents/{p-972531a2.entry.js → p-8e201c63.entry.js} +1 -1
  253. package/dist/webcomponents/p-91b5da99.entry.js +1 -0
  254. package/dist/webcomponents/{p-3ddaea2d.entry.js → p-95d99ffc.entry.js} +1 -1
  255. package/dist/webcomponents/p-989f51bc.entry.js +1 -0
  256. package/dist/webcomponents/p-9f9002c1.entry.js +1 -0
  257. package/dist/webcomponents/p-B0XIc_FO.js +1 -0
  258. package/dist/webcomponents/{p-B2ts3XP0.js → p-B3AHoKpE.js} +1 -1
  259. package/dist/webcomponents/{p-DmLTJr3R.js → p-BLWOT0S7.js} +1 -1
  260. package/dist/webcomponents/{p-C6qAZgXn.js → p-BOQVwCyQ.js} +1 -1
  261. package/dist/webcomponents/{p-BC1KMlPG.js → p-BSl0X3r8.js} +1 -1
  262. package/dist/webcomponents/{p-EVfmZi89.js → p-Bgdp97Tl.js} +1 -1
  263. package/dist/webcomponents/{p-DcwpS5VC.js → p-BkDN6yJN.js} +1 -1
  264. package/dist/webcomponents/{p-C-78OQ89.js → p-Bnrk5pzA.js} +1 -1
  265. package/dist/webcomponents/p-BqoTJ9CO.js +1 -0
  266. package/dist/webcomponents/p-C9oyC18r.js +1 -0
  267. package/dist/webcomponents/p-CKRDBISo.js +1 -0
  268. package/dist/webcomponents/{p-DbhOyu_u.js → p-CNSeavdR.js} +1 -1
  269. package/dist/webcomponents/{p-CU_goaUQ.js → p-CSO7ljYx.js} +1 -1
  270. package/dist/webcomponents/p-CXLazxt0.js +1 -0
  271. package/dist/webcomponents/{p-CEqUppok.js → p-CYTPbCLN.js} +1 -1
  272. package/dist/webcomponents/{p-CBs671Ol.js → p-CfBKn_Vl.js} +1 -1
  273. package/dist/webcomponents/p-CgEahdBL.js +1 -0
  274. package/dist/webcomponents/p-Cjf9yu8r.js +1 -0
  275. package/dist/webcomponents/{p-n0Sbmvzb.js → p-Ckf8pUs-.js} +1 -1
  276. package/dist/webcomponents/{p-CgSKeuxa.js → p-Clv1feia.js} +1 -1
  277. package/dist/webcomponents/p-Cm9gh1Sz.js +1 -0
  278. package/dist/webcomponents/{p-DgPQlpzy.js → p-CraCsD1A.js} +1 -1
  279. package/dist/webcomponents/{p-DOb1iL29.js → p-Cw3BMq7G.js} +1 -1
  280. package/dist/webcomponents/p-Cwt_9Jzb.js +1 -0
  281. package/dist/webcomponents/{p-BjDSEZvx.js → p-D9lioyBA.js} +1 -1
  282. package/dist/webcomponents/{p-D3BIZZrc.js → p-Dcbfnfn2.js} +1 -1
  283. package/dist/webcomponents/{p-BLm_qZkx.js → p-DgIkDBGX.js} +1 -1
  284. package/dist/webcomponents/{p-lfLAtTgJ.js → p-DpbCEDZ3.js} +1 -1
  285. package/dist/webcomponents/{p-oE-E7kjN.js → p-Ds11n2AD.js} +1 -1
  286. package/dist/webcomponents/p-DvuraFxP.js +1 -0
  287. package/dist/webcomponents/{p--B09FkmB.js → p-KoNvNGKV.js} +1 -1
  288. package/dist/webcomponents/p-N3w5zrz2.js +2 -0
  289. package/dist/webcomponents/{p-am93SGf-.js → p-Zuu7wsNB.js} +1 -1
  290. package/dist/webcomponents/{p-297b4a1a.entry.js → p-a151a347.entry.js} +1 -1
  291. package/dist/webcomponents/{p-9e7c8e33.entry.js → p-a23dfac9.entry.js} +1 -1
  292. package/dist/webcomponents/{p-ded52cad.entry.js → p-a38b3d9a.entry.js} +1 -1
  293. package/dist/webcomponents/{p-8b02e43a.entry.js → p-a48f8ec2.entry.js} +1 -1
  294. package/dist/webcomponents/{p-3af7b1ee.entry.js → p-a7e9a1d1.entry.js} +1 -1
  295. package/dist/webcomponents/{p-e0c8e41a.entry.js → p-a87c50de.entry.js} +1 -1
  296. package/dist/webcomponents/{p-9be5b03a.entry.js → p-aa72125e.entry.js} +1 -1
  297. package/dist/webcomponents/{p-0b28597b.entry.js → p-b648fca4.entry.js} +1 -1
  298. package/dist/webcomponents/{p-6f08cc3e.entry.js → p-b92737c4.entry.js} +1 -1
  299. package/dist/webcomponents/{p-234c0b0a.entry.js → p-bbf264c6.entry.js} +1 -1
  300. package/dist/webcomponents/{p-41ce682a.entry.js → p-bdbd0c8e.entry.js} +1 -1
  301. package/dist/webcomponents/{p-9ef53bb1.entry.js → p-be89720e.entry.js} +1 -1
  302. package/dist/webcomponents/{p-86112ed3.entry.js → p-c18a5ebf.entry.js} +1 -1
  303. package/dist/webcomponents/{p-Co9WxzRf.js → p-c87WhXVB.js} +1 -1
  304. package/dist/webcomponents/p-d3a2fa7e.entry.js +1 -0
  305. package/dist/webcomponents/{p-0b964616.entry.js → p-d768d814.entry.js} +1 -1
  306. package/dist/webcomponents/{p-77957f7f.entry.js → p-d7883a41.entry.js} +1 -1
  307. package/dist/webcomponents/{p-a1860b96.entry.js → p-d9a9279b.entry.js} +1 -1
  308. package/dist/webcomponents/{p-8a62bc7a.entry.js → p-d9ae1fea.entry.js} +1 -1
  309. package/dist/webcomponents/{p-e8a1dbe2.entry.js → p-da872abc.entry.js} +1 -1
  310. package/dist/webcomponents/{p-ef930355.entry.js → p-db86c150.entry.js} +1 -1
  311. package/dist/webcomponents/{p-186a25e3.entry.js → p-dbcc1a8e.entry.js} +1 -1
  312. package/dist/webcomponents/p-e0345315.entry.js +1 -0
  313. package/dist/webcomponents/{p-454d5cab.entry.js → p-e21ba107.entry.js} +1 -1
  314. package/dist/webcomponents/{p-0b52d1dd.entry.js → p-e2867ef6.entry.js} +1 -1
  315. package/dist/webcomponents/{p-299c215b.entry.js → p-e4fa3f41.entry.js} +1 -1
  316. package/dist/webcomponents/{p-df044e50.entry.js → p-edfcb58d.entry.js} +1 -1
  317. package/dist/webcomponents/{p-7fbdaa8a.entry.js → p-f37bb6d6.entry.js} +1 -1
  318. package/dist/webcomponents/p-f5eeb11d.entry.js +1 -0
  319. package/dist/webcomponents/{p-74412d52.entry.js → p-f6d5f392.entry.js} +1 -1
  320. package/dist/webcomponents/{p-7db9f780.entry.js → p-f6debdb8.entry.js} +1 -1
  321. package/dist/webcomponents/{p-bd387500.entry.js → p-fcb85a8e.entry.js} +1 -1
  322. package/dist/webcomponents/p-hBHbB3i6.js +1 -0
  323. package/dist/webcomponents/{p-BEDtXmpq.js → p-o5iASgog.js} +1 -1
  324. package/dist/webcomponents/{p-DPUXZApk.js → p-pOQo1ck9.js} +1 -1
  325. package/dist/webcomponents/p-w128-0Mj.js +1 -0
  326. package/dist/webcomponents/webcomponents.esm.js +1 -1
  327. package/package.json +1 -1
  328. package/dist/cjs/terminals-list-params-state-fVsfZZ5G.js +0 -22
  329. package/dist/esm/terminals-list-params-state-DhPyCV-V.js +0 -16
  330. package/dist/webcomponents/p-08b3ec57.entry.js +0 -1
  331. package/dist/webcomponents/p-2GKzt6ql.js +0 -1
  332. package/dist/webcomponents/p-4bf6f767.entry.js +0 -1
  333. package/dist/webcomponents/p-6ab28931.entry.js +0 -1
  334. package/dist/webcomponents/p-863d53ef.entry.js +0 -1
  335. package/dist/webcomponents/p-959d5f08.entry.js +0 -1
  336. package/dist/webcomponents/p-AW4YV_IW.js +0 -1
  337. package/dist/webcomponents/p-BBEApkWm.js +0 -1
  338. package/dist/webcomponents/p-BERbc4aX.js +0 -1
  339. package/dist/webcomponents/p-BoGb-Wsw.js +0 -1
  340. package/dist/webcomponents/p-Bta_r52Z.js +0 -2
  341. package/dist/webcomponents/p-C26QVwoo.js +0 -1
  342. package/dist/webcomponents/p-CDTncSrX.js +0 -1
  343. package/dist/webcomponents/p-CNv7zeGM.js +0 -1
  344. package/dist/webcomponents/p-CbGBEkk3.js +0 -1
  345. package/dist/webcomponents/p-DnX5CZFd.js +0 -1
  346. package/dist/webcomponents/p-DzXsHdKv.js +0 -1
  347. package/dist/webcomponents/p-UyFPa3Jb.js +0 -1
  348. package/dist/webcomponents/p-ae62bc55.entry.js +0 -1
  349. package/dist/webcomponents/p-c3b8c25f.entry.js +0 -1
  350. package/dist/webcomponents/p-c60219ba.entry.js +0 -1
  351. package/dist/webcomponents/p-caa90e8c.entry.js +0 -1
  352. package/dist/webcomponents/p-d44c7900.entry.js +0 -1
  353. package/dist/webcomponents/p-f4aa30b8.entry.js +0 -1
  354. package/dist/webcomponents/p-f7c23a96.entry.js +0 -1
  355. package/dist/webcomponents/p-f9510372.entry.js +0 -1
  356. package/dist/webcomponents/p-fe8938ba.entry.js +0 -1
  357. package/dist/webcomponents/p-iPHDHB_q.js +0 -1
  358. package/dist/webcomponents/p-uLUlLQpP.js +0 -1
@@ -1,24 +1,24 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Bta_r52Z.js';
2
- import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-BzdzS7PI.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-N3w5zrz2.js';
2
+ import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-DjsimZwr.js';
3
3
  import { T as TableClickActions } from './event-types-CZfYo5-1.js';
4
- import './config-state-BjXhUj2q.js';
4
+ import './config-state-B3mtRA6f.js';
5
5
  import './utils-DB5fh6Iv.js';
6
6
  import './ComponentError-SdntD1xf.js';
7
7
  import './Checkout-B9LrTq63.js';
8
8
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
9
9
  import './Payment-BGiKmQYR.js';
10
- import './Refund-DDIEc_gu.js';
10
+ import './Refund-f_BCgcDa.js';
11
11
  import './Business-BCoP0TAV.js';
12
12
  import './Dispute-7MWRbTXI.js';
13
- import { t as terminalOrdersTableColumns, a as terminalOrdersTableCells } from './terminal-orders-table-BxZFOqli.js';
14
- import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state-DhPyCV-V.js';
13
+ import { t as terminalOrdersTableColumns, a as terminalOrdersTableCells } from './terminal-orders-table-BnXCVH7W.js';
14
+ import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state-DFWVMJRJ.js';
15
15
  import './parts-BrLVc_85.js';
16
- import './spinner-C8twYXzL.js';
17
- import './index-Cf8VXyXg.js';
16
+ import './spinner-DIlSUUzM.js';
17
+ import './index-BAq5IUBW.js';
18
18
  import './_commonjsHelpers-BFTU3MAI.js';
19
19
  import './helpers-Mu7LQT-w.js';
20
20
  import './state-options-BX8GieXu.js';
21
- import './badge-C-nwyQ3h.js';
21
+ import './badge-VWumlkvS.js';
22
22
 
23
23
  const TerminalOrdersListCore = class {
24
24
  constructor(hostRef) {
@@ -1,4 +1,4 @@
1
- import { c as createStore } from './index-Cf8VXyXg.js';
1
+ import { c as createStore } from './index-BAq5IUBW.js';
2
2
 
3
3
  const filterParamsInitialState = {};
4
4
  const propsParamsInitialState = {};
@@ -1,15 +1,15 @@
1
- import { h } from './index-Bta_r52Z.js';
1
+ import { h } from './index-N3w5zrz2.js';
2
2
  import { P as tableHeadCell, Q as getAlternateTableCellPart } from './parts-BrLVc_85.js';
3
3
  import { a as convertToLocal } from './utils-DB5fh6Iv.js';
4
- import './config-state-BjXhUj2q.js';
4
+ import './config-state-B3mtRA6f.js';
5
5
  import './ComponentError-SdntD1xf.js';
6
6
  import './Checkout-B9LrTq63.js';
7
7
  import './Pagination-CLHwhyvu.js';
8
8
  import './Payment-BGiKmQYR.js';
9
- import { a as TerminalOrderType } from './Refund-DDIEc_gu.js';
9
+ import { a as TerminalOrderType } from './Refund-f_BCgcDa.js';
10
10
  import './Business-BCoP0TAV.js';
11
11
  import './Dispute-7MWRbTXI.js';
12
- import { B as BadgeVariant, a as Badge } from './badge-C-nwyQ3h.js';
12
+ import { B as BadgeVariant, a as Badge } from './badge-VWumlkvS.js';
13
13
 
14
14
  const MapTerminalOrderStatusToBadge = (status) => {
15
15
  const statusToBadgeProps = {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Bta_r52Z.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-N3w5zrz2.js';
2
2
  import { V as image, W as buttonLink, X as card } from './parts-BrLVc_85.js';
3
3
 
4
4
  const TerminalQuantitySelector = class {
@@ -1,9 +1,9 @@
1
- import { A as Api } from './Api-BNYhCiE2.js';
1
+ import { A as Api } from './Api-69eVlLFc.js';
2
2
  import './ComponentError-SdntD1xf.js';
3
3
  import './Checkout-B9LrTq63.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
5
  import './Payment-BGiKmQYR.js';
6
- import './Refund-DDIEc_gu.js';
6
+ import './Refund-f_BCgcDa.js';
7
7
  import './Business-BCoP0TAV.js';
8
8
  import './Dispute-7MWRbTXI.js';
9
9
 
@@ -1,24 +1,24 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Bta_r52Z.js';
2
- import './config-state-BjXhUj2q.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-N3w5zrz2.js';
2
+ import './config-state-B3mtRA6f.js';
3
3
  import './utils-DB5fh6Iv.js';
4
4
  import './ComponentError-SdntD1xf.js';
5
5
  import './Checkout-B9LrTq63.js';
6
6
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
7
7
  import './Payment-BGiKmQYR.js';
8
- import './Refund-DDIEc_gu.js';
8
+ import './Refund-f_BCgcDa.js';
9
9
  import './Business-BCoP0TAV.js';
10
10
  import './Dispute-7MWRbTXI.js';
11
- import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-BzdzS7PI.js';
11
+ import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-DjsimZwr.js';
12
12
  import { T as TableClickActions } from './event-types-CZfYo5-1.js';
13
- import { t as terminalTableColumns, a as terminalTableCells } from './terminals-table-DVreYpwc.js';
14
- import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state-DhPyCV-V.js';
15
- import './index-Cf8VXyXg.js';
13
+ import { t as terminalTableColumns, a as terminalTableCells } from './terminals-table-CCLlefFA.js';
14
+ import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state-DFWVMJRJ.js';
15
+ import './index-BAq5IUBW.js';
16
16
  import './_commonjsHelpers-BFTU3MAI.js';
17
17
  import './helpers-Mu7LQT-w.js';
18
18
  import './state-options-BX8GieXu.js';
19
19
  import './parts-BrLVc_85.js';
20
- import './spinner-C8twYXzL.js';
21
- import './badge-C-nwyQ3h.js';
20
+ import './spinner-DIlSUUzM.js';
21
+ import './badge-VWumlkvS.js';
22
22
 
23
23
  const TerminalsListCore = class {
24
24
  constructor(hostRef) {
@@ -0,0 +1,16 @@
1
+ import { c as createStore } from './index-BAq5IUBW.js';
2
+
3
+ const filterParamsInitialState = {};
4
+ const propsParamsInitialState = {};
5
+ const filterParamsStore = createStore(() => filterParamsInitialState);
6
+ const { state: filterParams, on: onQueryParamsChange } = filterParamsStore;
7
+ const propsParamsStore = createStore(() => propsParamsInitialState);
8
+ const { state: propsParams } = propsParamsStore;
9
+ const getRequestParams = () => {
10
+ return Object.assign(Object.assign({}, filterParams), propsParams);
11
+ };
12
+ const clearParams = () => {
13
+ filterParamsStore.reset();
14
+ };
15
+
16
+ export { clearParams as c, filterParams as f, getRequestParams as g, onQueryParamsChange as o, propsParams as p };
@@ -1,5 +1,5 @@
1
- import { h } from './index-Bta_r52Z.js';
2
- import { B as BadgeVariant, a as Badge } from './badge-C-nwyQ3h.js';
1
+ import { h } from './index-N3w5zrz2.js';
2
+ import { B as BadgeVariant, a as Badge } from './badge-VWumlkvS.js';
3
3
  import { P as tableHeadCell, Q as getAlternateTableCellPart } from './parts-BrLVc_85.js';
4
4
  import { e as capitalFirstLetter } from './utils-DB5fh6Iv.js';
5
5
 
@@ -1,4 +1,4 @@
1
- import { h } from './index-Bta_r52Z.js';
1
+ import { h } from './index-N3w5zrz2.js';
2
2
  import { A as text, C as heading1, D as heading2 } from './parts-BrLVc_85.js';
3
3
 
4
4
  const ErrorState = (errorMessage) => (h("main", { class: "p-4 d-flex justify-content-center text-center", style: { fontSize: '1.2rem' } },
@@ -1,8 +1,8 @@
1
- import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-Bta_r52Z.js';
2
- export { s as setNonce } from './index-Bta_r52Z.js';
1
+ import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-N3w5zrz2.js';
2
+ export { s as setNonce } from './index-N3w5zrz2.js';
3
3
 
4
4
  /*
5
- Stencil Client Patch Browser v4.33.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Browser v4.35.1 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
 
8
8
  var patchBrowser = () => {
@@ -286,8 +286,8 @@ class EntityDocumentStorage {
286
286
  }
287
287
  class EntityDocument {
288
288
  constructor(fileData, business_id) {
289
+ this.fileData = null;
289
290
  this.file = fileData.file;
290
- this.fileString = this.getFileString();
291
291
  this.document_type = fileData.document_type;
292
292
  this.presigned_url = null;
293
293
  this.record_data = {
@@ -297,13 +297,22 @@ class EntityDocument {
297
297
  file_type: this.file.type,
298
298
  };
299
299
  }
300
- getFileString() {
301
- let reader = new FileReader();
302
- reader.onload = (e) => {
303
- this.fileString = e.target.result;
304
- };
305
- reader.readAsDataURL(this.file);
306
- return this.fileString;
300
+ async getFileData() {
301
+ if (this.fileData) {
302
+ return this.fileData;
303
+ }
304
+ const fileDataPromise = new Promise((resolve, reject) => {
305
+ const reader = new FileReader();
306
+ reader.onload = (e) => {
307
+ this.fileData = e.target.result;
308
+ resolve(this.fileData);
309
+ };
310
+ reader.onerror = () => {
311
+ reject(new Error('Error reading file'));
312
+ };
313
+ reader.readAsArrayBuffer(this.file);
314
+ });
315
+ return await fileDataPromise;
307
316
  }
308
317
  setPresignedUrl(url) {
309
318
  this.presigned_url = url;
@@ -197,9 +197,10 @@ const BusinessBankAccountFormStepCore = /*@__PURE__*/ proxyCustomElement(class B
197
197
  if (!docData.presigned_url) {
198
198
  throw new Error('Presigned URL is not set');
199
199
  }
200
+ const fileData = await docData.getFileData();
200
201
  const response = await fetch(docData.presigned_url, {
201
202
  method: 'PUT',
202
- body: docData.fileString,
203
+ body: fileData
203
204
  });
204
205
  return this.handleUploadResponse(response);
205
206
  };
@@ -32,20 +32,17 @@ class DisputeEvidenceDocument {
32
32
  return this._presignedUrl;
33
33
  }
34
34
  async getFileString() {
35
- let fileString = '';
36
- const fileStringPromise = new Promise((resolve, reject) => {
35
+ const fileDataPromise = new Promise((resolve, reject) => {
37
36
  const reader = new FileReader();
38
37
  reader.onload = (e) => {
39
- fileString = e.target.result;
40
- resolve(fileString);
38
+ resolve(e.target.result);
41
39
  };
42
40
  reader.onerror = () => {
43
41
  reject(new Error('Error reading file'));
44
42
  };
45
- reader.readAsDataURL(this._file);
43
+ reader.readAsArrayBuffer(this._file);
46
44
  });
47
- await fileStringPromise;
48
- return fileString;
45
+ return await fileDataPromise;
49
46
  }
50
47
  ;
51
48
  constructor(file, dispute_evidence_type) {
@@ -585,7 +585,7 @@ class Color {
585
585
  }
586
586
 
587
587
  /*!
588
- * Chart.js v4.4.9
588
+ * Chart.js v4.5.0
589
589
  * https://www.chartjs.org
590
590
  * (c) 2025 Chart.js Contributors
591
591
  * Released under the MIT License
@@ -2682,7 +2682,7 @@ function getDatasetClipArea(chart, meta) {
2682
2682
  }
2683
2683
 
2684
2684
  /*!
2685
- * Chart.js v4.4.9
2685
+ * Chart.js v4.5.0
2686
2686
  * https://www.chartjs.org
2687
2687
  * (c) 2025 Chart.js Contributors
2688
2688
  * Released under the MIT License
@@ -4202,6 +4202,22 @@ class BarController extends DatasetController {
4202
4202
  _getStackCount(index) {
4203
4203
  return this._getStacks(undefined, index).length;
4204
4204
  }
4205
+ _getAxisCount() {
4206
+ return this._getAxis().length;
4207
+ }
4208
+ getFirstScaleIdForIndexAxis() {
4209
+ const scales = this.chart.scales;
4210
+ const indexScaleId = this.chart.options.indexAxis;
4211
+ return Object.keys(scales).filter((key)=>scales[key].axis === indexScaleId).shift();
4212
+ }
4213
+ _getAxis() {
4214
+ const axis = {};
4215
+ const firstScaleAxisId = this.getFirstScaleIdForIndexAxis();
4216
+ for (const dataset of this.chart.data.datasets){
4217
+ axis[valueOrDefault(this.chart.options.indexAxis === 'x' ? dataset.xAxisID : dataset.yAxisID, firstScaleAxisId)] = true;
4218
+ }
4219
+ return Object.keys(axis);
4220
+ }
4205
4221
  _getStackIndex(datasetIndex, name, dataIndex) {
4206
4222
  const stacks = this._getStacks(datasetIndex, dataIndex);
4207
4223
  const index = name !== undefined ? stacks.indexOf(name) : -1;
@@ -4292,10 +4308,13 @@ class BarController extends DatasetController {
4292
4308
  const skipNull = options.skipNull;
4293
4309
  const maxBarThickness = valueOrDefault(options.maxBarThickness, Infinity);
4294
4310
  let center, size;
4311
+ const axisCount = this._getAxisCount();
4295
4312
  if (ruler.grouped) {
4296
4313
  const stackCount = skipNull ? this._getStackCount(index) : ruler.stackCount;
4297
- const range = options.barThickness === 'flex' ? computeFlexCategoryTraits(index, ruler, options, stackCount) : computeFitCategoryTraits(index, ruler, options, stackCount);
4298
- const stackIndex = this._getStackIndex(this.index, this._cachedMeta.stack, skipNull ? index : undefined);
4314
+ const range = options.barThickness === 'flex' ? computeFlexCategoryTraits(index, ruler, options, stackCount * axisCount) : computeFitCategoryTraits(index, ruler, options, stackCount * axisCount);
4315
+ const axisID = this.chart.options.indexAxis === 'x' ? this.getDataset().xAxisID : this.getDataset().yAxisID;
4316
+ const axisNumber = this._getAxis().indexOf(valueOrDefault(axisID, this.getFirstScaleIdForIndexAxis()));
4317
+ const stackIndex = this._getStackIndex(this.index, this._cachedMeta.stack, skipNull ? index : undefined) + axisNumber;
4299
4318
  center = range.start + range.chunk * stackIndex + range.chunk / 2;
4300
4319
  size = Math.min(maxBarThickness, range.chunk * range.ratio);
4301
4320
  } else {
@@ -7707,7 +7726,7 @@ function needContext(proxy, names) {
7707
7726
  return false;
7708
7727
  }
7709
7728
 
7710
- var version = "4.4.9";
7729
+ var version = "4.5.0";
7711
7730
 
7712
7731
  const KNOWN_POSITIONS = [
7713
7732
  'top',
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "5.7.4";
2
+ const version = "5.7.5";
3
3
  var packageJson = {
4
4
  name: name,
5
5
  version: version};
@@ -18,6 +18,6 @@ export declare class DisputeEvidenceDocument {
18
18
  private _presignedUrl;
19
19
  set presignedUrl(url: string);
20
20
  get presignedUrl(): string;
21
- getFileString(): Promise<string>;
21
+ getFileString(): Promise<ArrayBuffer>;
22
22
  constructor(file: File, dispute_evidence_type: DisputeEvidenceDocumentType);
23
23
  }
@@ -54,11 +54,11 @@ export interface EntityFileData {
54
54
  }
55
55
  export declare class EntityDocument {
56
56
  file: File;
57
- fileString: string;
57
+ fileData: ArrayBuffer | null;
58
58
  document_type: EntityDocumentType;
59
59
  presigned_url: string | null;
60
60
  record_data: DocumentRecordData | null;
61
61
  constructor(fileData: EntityFileData, business_id: string);
62
- getFileString(): string;
62
+ getFileData(): Promise<ArrayBuffer>;
63
63
  setPresignedUrl(url: string): void;
64
64
  }
@@ -0,0 +1 @@
1
+ import{h as i,r as s,c as t}from"./p-N3w5zrz2.js";import{ak as e,ah as r,ad as o,A as l}from"./p-BrLVc_85.js";import{S as d}from"./p-o5iASgog.js";import"./p-CZfYo5-1.js";import{c as n,J as a}from"./p-Ckf8pUs-.js";import{C as h,a as c}from"./p-SdntD1xf.js";import{B as p}from"./p-B3AHoKpE.js";import{B as v}from"./p-BlJnA265.js";import{m as u}from"./p-Cs0cIpIm.js";import{S as m}from"./p-C9oyC18r.js";import"./p-CfBKn_Vl.js";import{j as f}from"./p-BnE7qgLh.js";import"./p-DzFysjCc.js";import"./p-CLHwhyvu.js";import"./p-vTsHmSQQ.js";import{f as w,e as y,a as j}from"./p-KoNvNGKV.js";import"./p-7MWRbTXI.js";import{g as b,a as g}from"./p-C5RuuShs.js";import{T as x}from"./p-BkDN6yJN.js";import"./p-B0XIc_FO.js";import"./p-D9lioyBA.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-Dcbfnfn2.js";import"./p-BFTU3MAI.js";const S=()=>i("div",{class:"row gap-3"},i("div",{class:"col-12"},i(m,{width:"25%"})),i("div",{class:"col-12"},i(m,{width:"100%"})),i("div",{class:"col-12 d-flex gap-3"},i(m,{width:"50%"}),i(m,{width:"50%"})),i("div",{class:"col-12 d-flex gap-3"},i(m,{width:"65%"}),i(m,{width:"35%"}))),B=()=>i("div",{class:"row gap-5"},i("div",{class:"col-12"},i(m,{width:"40%",height:"40px"})),i(S,null)),C=()=>i("div",{class:"terminal-selector-skeleton mt-4 rounded shadow-sm"},i("div",{class:"d-flex align-items-center gap-3"},i(m,{width:"125px",height:"125px",styles:{borderRadius:"8px"}}),i("div",{class:"flex-grow-1"},i("div",{class:"d-flex row flex-row"},i("div",{class:"col-6 flex-column"},i(m,null),i(m,{width:"60%"})),i("div",{class:"d-flex justify-content-end align-items-center gap-2 col-6"},i(m,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}),i(m,{width:"80px",height:"32px"}),i(m,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}))),i("div",{class:"mt-4"},i("div",{class:"d-flex flex-column gap-2"},i(m,null),i(m,null)))))),k=class{constructor(i){s(this,i),this.errorEvent=t(this,"error-event"),this.submitted=t(this,"submit-event"),this.shipping=!1,this.submitButtonText="Submit Order",this.loading={business:!0,terminals:!0},this.submitting=!1,this.error=null,this.totalQuantity=0}componentWillLoad(){this.order=new y({business_id:this.businessId,sub_account_id:this.accountId,order_type:this.shipping?j.boardingShipping:j.boardingOnly}),n(),this.analytics=new a(this),this.loadData()}disconnectedCallback(){var i;null===(i=this.analytics)||void 0===i||i.cleanup()}handleError(i,s,t){this.error={message:i,code:s,severity:t},this.errorEvent.emit({errorCode:s,message:i,severity:t})}loadData(){this.businessId&&this.authToken?(this.initializeGetBusiness(),this.initializeGetTerminalModels()):this.handleError("Invalid business id or auth token",c.MISSING_PROPS,h.ERROR)}initializeGetBusiness(){u({id:this.businessId,authToken:this.authToken,service:new p})({onSuccess:({business:i})=>{this.business=new v(i),this.loading.business=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.loading.business=!1}})}initializeGetTerminalModels(){(({id:i,authToken:s,service:t})=>async({onSuccess:e,onError:r})=>{var o,l,d,n;try{const a=await t.fetchTerminalModels(i,s);if(a.error)return r({error:g(a.error),code:b(null===(n=a.error)||void 0===n?void 0:n.code),severity:h.ERROR});e({terminals:(null===(l=null===(o=a.data)||void 0===o?void 0:o.terminal_order_models)||void 0===l?void 0:l.map((i=>new w(i))))||[],orderLimit:null===(d=a.data)||void 0===d?void 0:d.order_limit})}catch(i){const s=b(null==i?void 0:i.code);return r({error:i.message||i,code:s,severity:h.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new x})({onSuccess:({terminals:i,orderLimit:s})=>{this.terminalModels=i,this.orderLimit=s,this.loading.terminals=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.loading.terminals=!1}})}submitOrder(){const i=(({authToken:i,service:s,apiOrigin:t="https://wc-proxy.justifi.ai"})=>async({terminalOrder:e,onSuccess:r,onError:o})=>{var l;try{const d=await s.orderTerminals(i,e,t);if(d.error)return o({error:g(d.error),code:b(null===(l=d.error)||void 0===l?void 0:l.code),severity:h.ERROR});{const{data:i}=d;r({data:i})}}catch(i){const s=b(null==i?void 0:i.code);return o({error:i.message||i,code:s,severity:h.ERROR})}})({authToken:this.authToken,service:new x});this.submitting=!0,i({terminalOrder:this.order.payload,onSuccess:({data:i})=>{this.submitted.emit(i),this.submitting=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.submitting=!1}})}onSelectedQuantityChange(i){this.order.updateTerminal(i.detail.modelName,i.detail.quantity),this.totalQuantity=this.order.totalQuantity}renderLoading(){return i("div",null,this.loading.business&&i(B,null),this.loading.terminals&&i("div",{class:"mt-5"},i(C,null),i(C,null),i(C,null)))}renderBusinessDetails(){var s,t,o,l,d,n,a,h;if(!this.loading.business&&this.business)return i("div",{class:"d-flex flex-column gap-4 mb-5 pt-5"},i("div",{class:"row"},i("div",{class:"col-12"},i("h2",{part:r},this.business.legal_name))),i("div",{class:"row"},i("div",{class:"col-6"},i("h5",{part:e},"Representative:"),i("div",null,i("div",null,null===(t=null===(s=this.business)||void 0===s?void 0:s.representative)||void 0===t?void 0:t.name),i("div",null,null===(l=null===(o=this.business)||void 0===o?void 0:o.representative)||void 0===l?void 0:l.title),i("div",null,null===(n=null===(d=this.business)||void 0===d?void 0:d.representative)||void 0===n?void 0:n.email),i("div",null,f(null===(h=null===(a=this.business)||void 0===a?void 0:a.representative)||void 0===h?void 0:h.phone)))),i("div",{class:"col-6"},i("h5",{part:e},this.shipping?"Shipping Address:":"Business Address:"),i("div",null,this.business.legal_address.line1,this.business.legal_address.line2?`, ${this.business.legal_address.line2}`:"",i("br",null),this.business.legal_address.city,", ",this.business.legal_address.state," ",this.business.legal_address.postal_code))))}renderTerminals(){if(!this.loading.terminals&&this.terminalModels)return i("div",{class:"d-flex flex-column gap-2 mt-5"},this.terminalModels.map((s=>i("terminal-quantity-selector",{modelName:s.model_name,description:s.description,imageUrl:s.image_url,helpUrl:s.help_url,limit:this.orderLimit-this.order.totalQuantity,onSelectedQuantityChange:this.onSelectedQuantityChange.bind(this)}))))}renderOrderSection(){return i("div",{class:"mt-3"},i("div",{class:"text-end"},"Order limit: ",this.orderLimit),i("div",{class:"d-flex justify-content-end mt-3"},i("button",{class:"btn btn-primary submit-btn",onClick:this.submitOrder.bind(this),disabled:0===this.order.totalQuantity||this.submitting,part:o},this.submitting?"Submitting...":this.submitButtonText)))}render(){return i(d,{key:"95d4b374036e4713216ce61e87571a607b8c3f0a"},i("div",{key:"3e57b055db0d1bf26b9eb38a78fa57493afd3af3",part:l},this.renderLoading(),this.renderBusinessDetails(),this.renderTerminals(),this.renderOrderSection()))}};export{k as justifi_order_terminals}
@@ -0,0 +1 @@
1
+ import{h as t,r as s,c as e}from"./p-N3w5zrz2.js";import{a as i,b as r}from"./p-d6tXI5Iw.js";import{F as o,c as n,b as a}from"./p-DVnVdicA.js";import{A as l,C as h,R as c,c as d}from"./p-BlJnA265.js";import{C as u,P as m}from"./p-B-iV5cYd.js";import{D as p}from"./p-BrLVc_85.js";import{S as f}from"./p-C9oyC18r.js";import"./p-CZfYo5-1.js";import{a as v,r as b,s as y,b as g}from"./p-yH3TC3ZQ.js";import{a as w,B as _}from"./p-XYgDHrVL.js";import{E as x,h as j,i as T}from"./p-KoNvNGKV.js";import{z as S,A as k,B as C,y as O,C as L,D as H}from"./p-JOSiCHl7.js";import"./p-CfBKn_Vl.js";import"./p-BnE7qgLh.js";import{C as D,a as V}from"./p-SdntD1xf.js";import"./p-DzFysjCc.js";import"./p-CLHwhyvu.js";import"./p-vTsHmSQQ.js";import"./p-7MWRbTXI.js";import{n as E}from"./p-BnjCmwMr.js";import{B}from"./p-pOQo1ck9.js";import{i as A,a as P}from"./p-BdTK0wi9.js";import{S as I}from"./p-BX8GieXu.js";import"./p-BFTU3MAI.js";import"./p-Dt-vy9Le.js";import"./p-Dcbfnfn2.js";class W{constructor(t){this.id=t.id,this.account_owner_name=t.account_owner_name,this.full_name=t.full_name,this.account_type=t.account_type,this.account_number=t.account_number,this.acct_last_four=t.acct_last_four,this.account_number_last4=t.account_number_last4,this.routing_number=t.routing_number,this.bank_name=t.bank_name,this.country=t.country,this.currency=t.currency,this.nickname=t.nickname,this.metadata=t.metadata,this.business_id=t.business_id,this.platform_account_id=t.platform_account_id,this.created_at=t.created_at,this.updated_at=t.updated_at}get payload(){return{account_owner_name:this.account_owner_name||"",account_type:this.account_type||"",account_number:this.account_number||"",routing_number:this.routing_number||"",bank_name:this.bank_name||"",nickname:this.nickname||"",business_id:this.business_id||""}}}const N=()=>t("div",{class:"row gap-3"},t("div",{class:"col-12"},t(f,{width:"25%"})),t("div",{class:"col-12"},t(f,{width:"100%"})),t("div",{class:"col-12 d-flex gap-3"},t(f,{width:"50%"}),t(f,{width:"50%"})),t("div",{class:"col-12 d-flex gap-3"},t(f,{width:"65%"}),t(f,{width:"35%"}))),F=()=>t("div",{class:"row gap-5"},t("div",{class:"col-12"},t(f,{width:"40%",height:"40px"})),t(N,null),t(N,null),t(N,null)),q=class{constructor(t){s(this,t),this.stepCompleteEvent=e(this,"complete-form-step-event"),this.errorEvent=e(this,"error-event"),this.formLoading=e(this,"formLoading"),this.errors={},this.additional_questions={},this.recurringPayments=!1,this.isLoading=!1,this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:t=>{this.additional_questions=new l(t.data.additional_questions||{}),this.formController.setInitialValues(Object.assign({},this.additional_questions))},onError:({error:t,code:s,severity:e})=>{this.errorEvent.emit({message:t,errorCode:s,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=t=>{let s;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{s=e,t()},onError:({error:t,code:e,severity:i})=>{s=t,this.errorEvent.emit({message:t,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:s,formStep:w.additionalQuestions}),this.formLoading.emit(!1)}})},this.inputHandler=(t,s)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[t]:s})),this.additional_questions=new l(Object.assign(Object.assign({},this.formController.values.getValue()),{[t]:s}))}}recurringPaymentsWatcher(t){this.recurringPayments="Yes"===(null==t?void 0:t.business_recurring_payments)}async validateAndSubmit({onSuccess:t}){this.formController.validateAndSubmit((()=>this.sendData(t)))}get patchPayload(){return{additional_questions:new l(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(i(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((t=>{this.errors=Object.assign({},t)}))}render(){var s,e,i,r,o,n,a;const l=this.formController.getInitialValues();return this.isLoading?t(F,null):t("form",null,t("fieldset",null,t("div",{class:"d-flex align-items-center gap-2"},t("legend",{class:"mb-0",part:p},"Additional Questions"),t("form-control-tooltip",{helpText:"This information helps us understand the business and identify and monitor trends to safeguard you and your customers."})),t("hr",{class:"mt-2"}),t("div",{class:"row gy-3"},t("div",{class:"col-12 col-md-6"},t("form-control-monetary-provisioning",{name:"business_revenue",label:"What is your business’ estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(s=this.errors)||void 0===s?void 0:s.business_revenue,defaultValue:null==l?void 0:l.business_revenue,maskOptions:u.WHOLE})),t("div",{class:"col-12 col-md-6"},t("form-control-monetary-provisioning",{name:"business_payment_volume",label:"What is your business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(e=this.errors)||void 0===e?void 0:e.business_payment_volume,defaultValue:null==l?void 0:l.business_payment_volume,maskOptions:u.WHOLE})),t("div",{class:"col-12"},t("form-control-select",{name:"business_when_service_received",label:"On average, how long after paying will your customers typically receive their goods or services?",inputHandler:this.inputHandler,errorText:null===(i=this.errors)||void 0===i?void 0:i.business_when_service_received,options:v,defaultValue:null==l?void 0:l.business_when_service_received})),t("div",{class:"col-12"},t("form-control-select",{name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(r=this.errors)||void 0===r?void 0:r.business_recurring_payments,options:b,defaultValue:null==l?void 0:l.business_recurring_payments})),t("div",{class:"col-12",hidden:!this.recurringPayments},t("form-control-text",{name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(o=this.errors)||void 0===o?void 0:o.business_recurring_payments_percentage,defaultValue:null==l?void 0:l.business_recurring_payments_percentage,helpText:"For example: 50% monthly, 50% annual."})),t("div",{class:"col-12"},t("form-control-select",{name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(n=this.errors)||void 0===n?void 0:n.business_seasonal,options:y,defaultValue:null==l?void 0:l.business_seasonal})),t("div",{class:"col-12"},t("form-control-text",{name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business? (optional)",inputHandler:this.inputHandler,errorText:null===(a=this.errors)||void 0===a?void 0:a.business_other_payment_details,defaultValue:null==l?void 0:l.business_other_payment_details})))))}static get watchers(){return{additional_questions:["recurringPaymentsWatcher"]}}},U=(t,s)=>t.some((t=>t.document_type===s)),R="Please upload either a voided check or a bank statement. Only one is required.",X=(t,s)=>{const e=U(t,x.voidedCheck),i=U(t,x.bankStatement),r=e||i,o=n().shape({bank_name:H.required("Enter bank name"),nickname:L.required("Enter nickname"),account_owner_name:O.required("Enter account owner name"),account_type:C.required("Select account type"),account_number:k.required("Enter account number"),routing_number:S.required("Enter routing number"),voided_check:a().when("bank_statement",{is:t=>!t&&!r,then:t=>t.required(R),otherwise:t=>t.notRequired()}),bank_statement:a().when("voided_check",{is:t=>!t&&!r,then:t=>t.required(R),otherwise:t=>t.notRequired()})},[["voided_check","bank_statement"]]),l=n({bank_name:H.nullable(),nickname:L.nullable(),account_owner_name:O.nullable(),account_type:C.nullable(),account_number:k.nullable(),routing_number:S.nullable(),voided_check:a().nullable(),bank_statement:a().nullable()});return s?l:o},Q=class{constructor(t){s(this,t),this.stepCompleteEvent=e(this,"complete-form-step-event"),this.errorEvent=e(this,"error-event"),this.formLoading=e(this,"formLoading"),this.errors={},this.bankAccount={},this.existingDocuments=[],this.documentData=new j,this.isLoading=!1,this.initializeFormController=()=>{this.formController=new o(X(this.existingDocuments,this.allowOptionalFields)),this.formController.setInitialValues(Object.assign({},this.bankAccount)),this.formController.errors.subscribe((t=>{this.errors=Object.assign({},t)}))},this.inputHandler=(t,s)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[t]:s}))},this.storeFiles=t=>{const s=Array.from(t.detail.fileList),e=t.detail.document_type,i=s.map((t=>new T({file:t,document_type:e},this.businessId)));this.documentData[e]=i},this.getData=()=>{this.isLoading=!0,this.getBusiness({onSuccess:t=>{t.data.bank_accounts.length>0?this.bankAccount=new W(t.data.bank_accounts[0]):(this.bankAccount=new W({}),this.bankAccount.business_id=this.businessId),this.existingDocuments=t.data.documents},onError:({error:t,code:s,severity:e})=>{this.errorEvent.emit({message:t,errorCode:s,severity:e})},final:()=>{this.initializeFormController(),this.isLoading=!1}})},this.postDocumentRecordData=async t=>{this.isLoading=!0;const s=t.record_data;return new Promise((e=>{this.postDocumentRecord({payload:s,onSuccess:s=>{e(this.handleDocRecordResponse(t,s))},onError:({error:t,code:s,severity:i})=>{this.errorEvent.emit({message:t,errorCode:s,severity:i}),e(!1)}})}))},this.handleDocRecordResponse=(t,s)=>s.error?(this.errorEvent.emit({errorCode:V.POST_ERROR,message:s.error.message,severity:D.ERROR,data:s.error}),!1):(t.setPresignedUrl(s.data.presigned_url),!0),this.uploadDocument=async t=>{if(!t.presigned_url)throw new Error("Presigned URL is not set");const s=await t.getFileData(),e=await fetch(t.presigned_url,{method:"PUT",body:s});return this.handleUploadResponse(e)},this.handleUploadResponse=t=>!t.error||(this.errorEvent.emit({errorCode:V.POST_ERROR,message:t.error.message,severity:D.ERROR,data:t.error}),!1)}watchHandler(t){this.formLoading.emit(t)}async validateAndSubmit({onSuccess:t}){this.existingBankAccount?this.sendData(t):this.formController.validateAndSubmit((()=>this.sendData(t)))}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(X(this.existingDocuments,this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((t=>{this.errors=Object.assign({},t)}))}get postPayload(){return new W(this.formController.values.getValue()).payload}get existingBankAccount(){var t;return!!(null===(t=this.bankAccount)||void 0===t?void 0:t.id)}async sendData(t){try{if(!this.existingBankAccount&&!await this.postBankAccountData())return;if(!await this.postBusinessDocuments())return;t()}catch(t){this.errorEvent.emit({message:t,errorCode:V.POST_ERROR,severity:D.ERROR})}}async postBankAccountData(){let t;return this.isLoading=!0,new Promise((s=>{let e=!1;this.postBankAccount({payload:this.postPayload,onSuccess:s=>{t=s,e=!0},onError:({error:t,code:s,severity:i})=>{e=!1,this.errorEvent.emit({message:t,errorCode:s,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:w.bankAccount}),this.isLoading=!1,s(e)}})}))}async postBusinessDocuments(){this.isLoading=!0;try{const t=Object.values(this.documentData).flat();return!t.length||!(await Promise.all(t.map((t=>this.postDocumentRecordData(t))))).includes(!1)&&!(await Promise.all(t.map((t=>this.uploadDocument(t))))).includes(!1)}finally{this.isLoading=!1}}render(){const s=this.formController.getInitialValues();return this.isLoading?t(F,null):t("form",null,t("fieldset",{class:"mb-4"},t("div",{class:"d-flex align-items-center gap-2"},t("legend",{class:"mb-0",part:p},"Bank Account Info"),t("form-control-tooltip",{helpText:"This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship."})),t("hr",{class:"mt-2"}),t("bank-account-form-inputs",{defaultValue:s,errors:this.errors,inputHandler:this.inputHandler,formDisabled:this.existingBankAccount})),t("fieldset",{class:"mt-4"},t("div",{class:"d-flex align-items-center gap-2"},t("legend",{class:"mb-0",part:p},"Document Uploads"),t("form-control-tooltip",{helpText:"One document (voided check or bank statement) is required for underwriting purposes. It needs to visibly show the name tied to the account and the account number. Various file formats such as PDF, DOC, DOCX, JPEG are accepted. Multiple files can be uploaded for each document category."})),t("hr",{class:"mt-2"}),t("business-documents-on-file",{documents:this.existingDocuments,isLoading:this.isLoading}),t("bank-account-document-form-inputs",{inputHandler:this.inputHandler,errors:this.errors,storeFiles:this.storeFiles})))}static get watchers(){return{isLoading:["watchHandler"]}}},Y=class{constructor(t){s(this,t),this.stepCompleteEvent=e(this,"complete-form-step-event"),this.errorEvent=e(this,"error-event"),this.formLoading=e(this,"formLoading"),this.errors={},this.coreInfo={},this.isLoading=!1,this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:t=>{this.coreInfo=new h(t.data),this.formController.setInitialValues(Object.assign({},this.coreInfo))},onError:({error:t,code:s,severity:e})=>{this.errorEvent.emit({message:t,errorCode:s,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=t=>{let s;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{s=e,t()},onError:({error:t,code:e,severity:i})=>{s=t,this.errorEvent.emit({message:t,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:s,formStep:w.businessInfo}),this.formLoading.emit(!1)}})},this.inputHandler=(t,s)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[t]:s}))}}async validateAndSubmit({onSuccess:t}){this.formController.validateAndSubmit((()=>this.sendData(t)))}get patchPayload(){return new h(this.formController.values.getValue()).payload}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(r(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((t=>{this.errors=Object.assign({},t)}))}render(){const s=this.formController.getInitialValues();return this.isLoading?t(F,null):t("form",null,t("fieldset",null,t("div",{class:"d-flex align-items-center gap-2"},t("legend",{class:"mb-0",part:p},"Business Information")),t("hr",{class:"mt-2"}),t("div",{class:"row gy-3"},t("div",{class:"col-12"},t("form-control-text",{name:"legal_name",label:"Business Name",defaultValue:s.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler,helpText:"Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)."})),t("div",{class:"col-12"},t("form-control-text",{name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:s.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler,helpText:"Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)"})),t("div",{class:"col-12 col-md-8"},t("form-control-select",{name:"classification",label:"Business Classification",options:g,defaultValue:s.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),t("div",{class:"col-12 col-md-4"},t("form-control-date",{name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:s.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),t("div",{class:"col-12 col-md-6"},t("form-control-text",{name:"industry",label:"Industry",defaultValue:s.industry,errorText:this.errors.industry,inputHandler:this.inputHandler,helpText:"Describe what you sell"})),t("div",{class:"col-12 col-md-6"},t("form-control-text",{name:"tax_id",label:"Tax ID (EIN or SSN)",defaultValue:s.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,keyDownHandler:E,maxLength:9,helpText:"Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns. Enter value without dashes."})),t("div",{class:"col-12"},t("form-control-text",{name:"website_url",label:"Business Website URL",defaultValue:s.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler,helpText:"Don't have a live website? You can use your social media business page, app store link, or staging site URL."})),t("div",{class:"col-12 col-md-6"},t("form-control-text",{name:"email",label:"Business Email Address",defaultValue:s.email,errorText:this.errors.email,inputHandler:this.inputHandler})),t("div",{class:"col-12 col-md-6"},t("form-control-number-masked",{name:"phone",label:"Business Phone Number",defaultValue:s.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:m.US})))))}},z=class{constructor(t){s(this,t),this.clickEvent=e(this,"click-event"),this.stepCompleteEvent=e(this,"complete-form-step-event"),this.errorEvent=e(this,"error-event"),this.formLoading=e(this,"formLoading"),this.ownersPayload=[],this.refs=[],this.isLoading=!1,this.matchRef=(t,s)=>{const e=this.refs.findIndex((t=>t===s));-1!==e&&(this.refs[e]=t)},this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:t=>{t.data.owners.length?this.ownersPayload=t.data.owners.map((t=>({id:t.id}))):this.addOwnerForm()},onError:({error:t,code:s,severity:e})=>{this.errorEvent.emit({message:t,errorCode:s,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1,this.manageRefs()}})},this.sendData=async t=>{let s;this.formLoading.emit(!0),this.patchBusiness({payload:{owners:this.ownersPayload},onSuccess:e=>{s=e,t()},onError:({error:t,code:e,severity:i})=>{s=t,this.errorEvent.emit({message:t,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:s,formStep:w.owners}),this.formLoading.emit(!1)}})},this.addOwnerForm=t=>{this.newFormOpen=!0,this.ownersPayload=[...this.ownersPayload,{id:""}],t&&this.clickEvent.emit({name:_.addOwnerForm})},this.removeOwnerForm=t=>{this.ownersPayload=this.ownersPayload.filter((s=>s.id!==t)),this.newFormOpen&&(this.newFormOpen=!1)}}get showAddOwnerButton(){return this.ownersPayload.length<4&&!this.newFormOpen}manageRefs(){this.refs=this.ownersPayload.map((t=>t.id))}async validateAndSubmit({onSuccess:t}){const s=this.refs.map((t=>t.validate()));if(!(await Promise.all(s)).every((t=>t)))return;const e=this.refs.map((t=>t.submit()));(await Promise.all(e)).every((t=>t))&&this.sendData(t)}componentWillLoad(){this.getBusiness&&this.getData()}ownersWatcher(){this.manageRefs()}handleOwnerSubmit(t){const s=t.detail,e=this.ownersPayload.map((t=>t.id===s.id?s:t));e.includes(s)||(e[this.ownersPayload.findIndex((t=>!t.id))]=s,this.newFormOpen&&(this.newFormOpen=!1)),this.ownersPayload=e}render(){return this.isLoading?t(F,null):t("div",null,t("div",{class:"d-flex align-items-center gap-2"},t("legend",{class:"mb-0",part:p},"Owners"),t("form-control-tooltip",{helpText:"For partnerships, LLCs or privately held corporations, the business is required to apply with all individuals with 25% or more ownership to the application. For charities and registered non-profits, the business is required to apply with 1 individual with substantial control over the entity, such as a board member or director."})),t("hr",{class:"mt-2"}),t("div",{class:"row gy-3"},this.ownersPayload.map((s=>t("justifi-owner-form",{key:s.id,authToken:this.authToken,businessId:this.businessId,ownerId:s.id,removeOwner:this.removeOwnerForm,newFormOpen:this.newFormOpen,ownersLength:this.ownersPayload.length,allowOptionalFields:this.allowOptionalFields,ref:t=>this.matchRef(t,s.id)})))),t("div",{class:"d-flex justify-content-start"},t("div",{class:"gap-2"},t(B,{variant:"primary",onClick:()=>this.addOwnerForm(!0),hidden:!this.showAddOwnerButton},"Add Owner"))))}static get watchers(){return{ownersPayload:["ownersWatcher"]}}},K=class{constructor(t){s(this,t),this.stepCompleteEvent=e(this,"complete-form-step-event"),this.errorEvent=e(this,"error-event"),this.formLoading=e(this,"formLoading"),this.errors={},this.representative={},this.isLoading=!1,this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:t=>{this.representative=new c(t.data.representative||{}),this.formController.setInitialValues(Object.assign({},this.representative))},onError:({error:t,code:s,severity:e})=>{this.errorEvent.emit({message:t,errorCode:s,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=t=>{let s;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{s=e,t()},onError:({error:t,code:e,severity:i})=>{s=t,this.errorEvent.emit({message:t,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:s,formStep:w.representative}),this.formLoading.emit(!1)}})}}async validateAndSubmit({onSuccess:t}){this.formController.validateAndSubmit((()=>this.sendData(t)))}get patchPayload(){return{representative:new c(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(A("representative",this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((t=>{this.errors=Object.assign({},t)}))}render(){return this.isLoading?t(F,null):t("justifi-business-representative-form-inputs",{representativeDefaultValue:this.formController.getInitialValues(),errors:this.errors,formController:this.formController})}},M=class{constructor(t){s(this,t),this.stepCompleteEvent=e(this,"complete-form-step-event"),this.errorEvent=e(this,"error-event"),this.formLoading=e(this,"formLoading"),this.errors={},this.legal_address={},this.isLoading=!1,this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:t=>{this.legal_address=new d(t.data.legal_address||{}),this.formController.setInitialValues(Object.assign({},this.legal_address))},onError:({error:t,code:s,severity:e})=>{this.errorEvent.emit({message:t,errorCode:s,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=t=>{let s;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{s=e,t()},onError:({error:t,code:e,severity:i})=>{s=t,this.errorEvent.emit({message:t,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:s,formStep:w.legalAddress}),this.formLoading.emit(!1)}})},this.inputHandler=(t,s)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[t]:s}))}}async validateAndSubmit({onSuccess:t}){this.formController.validateAndSubmit((()=>this.sendData(t)))}get patchPayload(){return{legal_address:new d(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(P(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((t=>{this.errors=Object.assign({},t)}))}render(){var s,e,i,r,o,n;const a=this.formController.getInitialValues();return this.isLoading?t(F,null):t("form",null,t("fieldset",null,t("div",{class:"d-flex align-items-center gap-2"},t("legend",{class:"mb-0",part:p},"Legal Address of your Business"),t("form-control-tooltip",{helpText:"No PO Boxes."})),t("hr",{class:"mt-2"}),t("div",{class:"row gy-3"},t("div",{class:"col-12"},t("form-control-text",{name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.line1,errorText:null===(s=this.errors)||void 0===s?void 0:s.line1})),t("div",{class:"col-12"},t("form-control-text",{name:"line2",label:"Address Line 2 (optional)",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.line2,errorText:null===(e=this.errors)||void 0===e?void 0:e.line2})),t("div",{class:"col-12"},t("form-control-text",{name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.city,errorText:null===(i=this.errors)||void 0===i?void 0:i.city})),t("div",{class:"col-12"},t("form-control-select",{name:"state",label:"State",options:I,inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.state,errorText:null===(r=this.errors)||void 0===r?void 0:r.state})),t("div",{class:"col-12"},t("form-control-text",{name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.postal_code,errorText:null===(o=this.errors)||void 0===o?void 0:o.postal_code,maxLength:5,keyDownHandler:E})),t("div",{class:"col-12"},t("form-control-select",{name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.country,errorText:null===(n=this.errors)||void 0===n?void 0:n.country,disabled:!0})))))}};export{q as justifi_additional_questions_form_step_core,Q as justifi_business_bank_account_form_step_core,Y as justifi_business_core_info_form_step_core,z as justifi_business_owners_form_step_core,K as justifi_business_representative_form_step_core,M as justifi_legal_address_form_step_core}
@@ -1 +1 @@
1
- import{r as t,c as s,h as e}from"./p-Bta_r52Z.js";import"./p-CBs671Ol.js";import"./p-BnE7qgLh.js";import"./p-SdntD1xf.js";import"./p-DzFysjCc.js";import{p as i}from"./p-CLHwhyvu.js";import"./p-vTsHmSQQ.js";import"./p--B09FkmB.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";import{T as a,a as r,b as h,c as o,d as c,e as n,f as p,g as d,h as m,i as b,j as u,k as f,l as g}from"./p-CEqUppok.js";import{T as j}from"./p-CZfYo5-1.js";import{c as k,a as y}from"./p-C-78OQ89.js";import{o as l,g as C}from"./p-CbGBEkk3.js";import"./p-D3BIZZrc.js";import"./p-BFTU3MAI.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-BrLVc_85.js";import"./p-BLm_qZkx.js";import"./p-BC1KMlPG.js";const v=class{constructor(e){t(this,e),this.clickEvent=s(this,"click-event"),this.errorEvent=s(this,"error-event"),this.checkouts=[],this.subAccounts=[],this.loading=!0,this.paging=i,this.pagingParams={},this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:j.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:j.next})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;if(!s)return;const e=this.checkouts.find((t=>t.id===s));this.clickEvent.emit({name:j.row,data:e})}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.checkoutsTable=new a(this.checkouts,this.columns,k,y),this.getCheckouts&&this.getSubAccounts&&this.fetchData(),l("set",(()=>{this.pagingParams={}})),l("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getCheckouts({params:this.checkoutParams,onSuccess:async({checkouts:t,pagingInfo:s})=>{this.checkouts=t,this.paging=s,this.checkoutsTable.collectionData=this.checkouts,this.checkoutsTable.columnKeys.includes("sub_account_name")?await this.fetchSubAccounts():this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}async fetchSubAccounts(){this.getSubAccounts({params:this.subAccountParams,onSuccess:({subAccounts:t})=>{this.subAccounts=t,this.checkouts=this.checkouts.map((t=>{var s;return t.sub_account_name=null===(s=this.subAccounts.find((s=>s.id===t.account_id)))||void 0===s?void 0:s.name,t})),this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}get checkoutParams(){const t=C();return Object.assign(Object.assign({},t),this.pagingParams)}get subAccountParams(){let t=this.checkouts.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.checkouts.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.checkoutsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e(g,{key:"79f36b8dd358285868187892962f5e2138942fe8"},e(r,{key:"e48c644e425ac45ab27b92548bc49af35b599245"},e(h,{key:"6d47b68c0a74f0eff3146dfc4720b0cc0f6fc24d"},e(o,{key:"a3660ae82b53ba7dead2e577fd8d573426935dc6"},this.checkoutsTable.columnData.map((t=>t)))),e(c,{key:"08fbd465bae0afa3de8d472c84e0410150509673"},e(n,{key:"ba7d778f9fc029166d6228fe9b1a8f1598a68c5a",columnSpan:this.checkoutsTable.columnKeys.length,isLoading:this.loading}),e(p,{key:"312b176371526658852b74ae228524695f5c1947",isEmpty:this.showEmptyState,columnSpan:this.checkoutsTable.columnKeys.length}),e(d,{key:"a24680fb1d681397a3cb266ec34ab5c9310dfa64",columnSpan:this.checkoutsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.checkoutsTable.rowData.map(((t,s)=>e(m,{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},t)))),this.paging&&e(b,{key:"503ffd707d958a353a18a6f06d1280a0cb01c741"},e(u,{key:"250fcfc3961881ab460221e5e0160d5b6d35e5c3"},e(f,{key:"2631d54b49bbee1502e5412cd9303d7d67746525",colSpan:this.checkoutsTable.columnData.length},e("pagination-menu",{key:"d7bb27501b62a1089090b06c82b2a2c328a2e0b6",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})}))))))}static get watchers(){return{pagingParams:["updateOnPropChange"],getCheckouts:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{v as checkouts_list_core}
1
+ import{r as t,c as s,h as e}from"./p-N3w5zrz2.js";import"./p-CfBKn_Vl.js";import"./p-BnE7qgLh.js";import"./p-SdntD1xf.js";import"./p-DzFysjCc.js";import{p as i}from"./p-CLHwhyvu.js";import"./p-vTsHmSQQ.js";import"./p-KoNvNGKV.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";import{T as a,a as r,b as h,c as o,d as c,e as n,f as p,g as d,h as m,i as b,j as u,k as f,l as g}from"./p-CYTPbCLN.js";import{T as j}from"./p-CZfYo5-1.js";import{c as y,a as k}from"./p-Bnrk5pzA.js";import{o as l,g as C}from"./p-CKRDBISo.js";import"./p-Dcbfnfn2.js";import"./p-BFTU3MAI.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-BrLVc_85.js";import"./p-DgIkDBGX.js";import"./p-BSl0X3r8.js";const S=class{constructor(e){t(this,e),this.clickEvent=s(this,"click-event"),this.errorEvent=s(this,"error-event"),this.checkouts=[],this.subAccounts=[],this.loading=!0,this.paging=i,this.pagingParams={},this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:j.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:j.next})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;if(!s)return;const e=this.checkouts.find((t=>t.id===s));this.clickEvent.emit({name:j.row,data:e})}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.checkoutsTable=new a(this.checkouts,this.columns,y,k),this.getCheckouts&&this.getSubAccounts&&this.fetchData(),l("set",(()=>{this.pagingParams={}})),l("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getCheckouts({params:this.checkoutParams,onSuccess:async({checkouts:t,pagingInfo:s})=>{this.checkouts=t,this.paging=s,this.checkoutsTable.collectionData=this.checkouts,this.checkoutsTable.columnKeys.includes("sub_account_name")?await this.fetchSubAccounts():this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}async fetchSubAccounts(){this.getSubAccounts({params:this.subAccountParams,onSuccess:({subAccounts:t})=>{this.subAccounts=t,this.checkouts=this.checkouts.map((t=>{var s;return t.sub_account_name=null===(s=this.subAccounts.find((s=>s.id===t.account_id)))||void 0===s?void 0:s.name,t})),this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}get checkoutParams(){const t=C();return Object.assign(Object.assign({},t),this.pagingParams)}get subAccountParams(){let t=this.checkouts.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.checkouts.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.checkoutsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e(g,{key:"79f36b8dd358285868187892962f5e2138942fe8"},e(r,{key:"e48c644e425ac45ab27b92548bc49af35b599245"},e(h,{key:"6d47b68c0a74f0eff3146dfc4720b0cc0f6fc24d"},e(o,{key:"a3660ae82b53ba7dead2e577fd8d573426935dc6"},this.checkoutsTable.columnData.map((t=>t)))),e(c,{key:"08fbd465bae0afa3de8d472c84e0410150509673"},e(n,{key:"ba7d778f9fc029166d6228fe9b1a8f1598a68c5a",columnSpan:this.checkoutsTable.columnKeys.length,isLoading:this.loading}),e(p,{key:"312b176371526658852b74ae228524695f5c1947",isEmpty:this.showEmptyState,columnSpan:this.checkoutsTable.columnKeys.length}),e(d,{key:"a24680fb1d681397a3cb266ec34ab5c9310dfa64",columnSpan:this.checkoutsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.checkoutsTable.rowData.map(((t,s)=>e(m,{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},t)))),this.paging&&e(b,{key:"503ffd707d958a353a18a6f06d1280a0cb01c741"},e(u,{key:"250fcfc3961881ab460221e5e0160d5b6d35e5c3"},e(f,{key:"2631d54b49bbee1502e5412cd9303d7d67746525",colSpan:this.checkoutsTable.columnData.length},e("pagination-menu",{key:"d7bb27501b62a1089090b06c82b2a2c328a2e0b6",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})}))))))}static get watchers(){return{pagingParams:["updateOnPropChange"],getCheckouts:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{S as checkouts_list_core}
@@ -0,0 +1 @@
1
+ import{h as r}from"./p-N3w5zrz2.js";import{U as o}from"./p-BrLVc_85.js";const s=s=>r("h3",{class:`header-3 ${null==s?void 0:s.class}`,part:o},s.text);export{s as H}
@@ -0,0 +1 @@
1
+ import{h as t}from"./p-N3w5zrz2.js";import{B as e,a}from"./p-BSl0X3r8.js";const n=n=>t(a,Object.assign({},{canceled:{variant:e.DANGER,title:"Transfer to your bank account failed",text:"Canceled"},failed:{variant:e.DANGER,title:"Transfer to your bank account failed",text:"Failed"},forwarded:{variant:e.SECONDARY,title:"This payout initially failed; the funds have been forwarded to your next successful payout",text:"Forwarded"},in_transit:{variant:e.PRIMARY,title:"Transfer to your bank account has been initiated",text:"In Transit"},paid:{variant:e.SUCCESS,title:"Successfully deposited into your bank account",text:"Paid"},pending:{variant:e.PRIMARY,title:"Batched and scheduled to be transferred",text:"Pending"},scheduled:{variant:e.PRIMARY,title:"Batched and scheduled to be transferred",text:"Scheduled"},withdrawn:{variant:e.SUCCESS,title:"Negative payout balance successfully withdrawn from your bank account",text:"Withdrawn"}}[n]));export{n as M}
@@ -1 +1 @@
1
- import{r as e,h as t,H as a,c as s,a as c}from"./p-Bta_r52Z.js";import"./p-CBs671Ol.js";import{s as r,d as i,i as o}from"./p-BnE7qgLh.js";import"./p-SdntD1xf.js";import"./p-DzFysjCc.js";import"./p-CLHwhyvu.js";import"./p-vTsHmSQQ.js";import{E as l}from"./p--B09FkmB.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";import{c as d}from"./p-yH3TC3ZQ.js";import"./p-XYgDHrVL.js";import{n}from"./p-BnjCmwMr.js";import{X as b,D as f,ai as h,P as p,aj as m,c as u,l as y,b as k,R as x,a as j}from"./p-BrLVc_85.js";import{S as v}from"./p-BERbc4aX.js";import"./p-CZfYo5-1.js";import{F as _}from"./p-am93SGf-.js";import"./p-D3BIZZrc.js";import"./p-BFTU3MAI.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";const T=class{constructor(t){e(this,t)}render(){return t("div",{key:"a3ff8b1ff23923beb847e66d6c56a39de9a86434",class:"row gy-3"},t("div",{key:"86f9ba3a8f0f87f7fa67ba0fcf1d7c04f67e9bc5",class:"col-12"},t("form-control-file",{key:"9cc2bc21414c8e3f4b25ac47b76340a4ce569c42",name:"voided_check",label:"Voided Check",documentType:l.voidedCheck,inputHandler:this.inputHandler,onFileSelected:this.storeFiles,errorText:this.errors.voided_check,multiple:!0})),t("div",{key:"bee72d6c63514cdbd3200910d3a53b045c60d05d",class:"col-12"},t("form-control-file",{key:"80a79f352d078cd210768b4060cad7014b1060c5",name:"bank_statement",label:"Bank Statement",documentType:l.bankStatement,inputHandler:this.inputHandler,onFileSelected:this.storeFiles,errorText:this.errors.bank_statement,multiple:!0})))}},g=class{constructor(t){e(this,t)}render(){return t("div",{key:"b18e803521d67b40e4e5af03a66dcdca0b678968",class:"row gy-3"},t("div",{key:"e2e6667ffbcebb6a9aa50739814e7bbebceaabfa",class:"col-12"},t("form-control-text",{key:"e1ad63fb7db32dbb6ed67cf18919c681d6d192ef",name:"bank_name",label:"Bank Name",defaultValue:this.defaultValue.bank_name,errorText:this.errors.bank_name,inputHandler:this.inputHandler,disabled:this.formDisabled})),t("div",{key:"54db821813e7eb931b8f19fad7fce976cdeb0045",class:"col-12"},t("form-control-text",{key:"4ecf222c1918e364f319d07e0a770d68dba099d0",name:"nickname",label:"Nickname",defaultValue:this.defaultValue.nickname,errorText:this.errors.nickname,inputHandler:this.inputHandler,disabled:this.formDisabled})),t("div",{key:"a92c38f2abbcb3dcaee4bc5ea73df44b31adc3f9",class:"col-12"},t("form-control-text",{key:"492ff1a4d1e9c4f2fa9d0e527a34dc5ccb09afe6",name:"account_owner_name",label:"Account Owner Name",defaultValue:this.defaultValue.account_owner_name,errorText:this.errors.account_owner_name,inputHandler:this.inputHandler,disabled:this.formDisabled})),t("div",{key:"8e14e6e3de43822d139085d3a05bfd0e7ae5b1be",class:"col-12"},t("form-control-select",{key:"f6648b6f7c4a475f88b849bf3a75d446bb539c69",name:"account_type",label:"Account Type",options:d,defaultValue:this.defaultValue.account_type,errorText:this.errors.account_type,inputHandler:this.inputHandler,disabled:this.formDisabled})),t("div",{key:"68a2efc082f5b6414ebde10b6da4365677dbefca",class:"col-12"},t("form-control-text",{key:"3ef9b3db5882063708ccf1eb282f3e90ed53ce82",name:"account_number",label:"Account Number",defaultValue:this.defaultValue.account_number,maxLength:17,errorText:this.errors.account_number,inputHandler:this.inputHandler,keyDownHandler:n,disabled:this.formDisabled,helpText:"Please copy the account number as shown on your statement/check. Do not include spaces or dashes."})),t("div",{key:"e3270db28269bc25dd4d5a99274f042c1efd1fc6",class:"col-12"},t("form-control-text",{key:"a8e801f65a4cc164cdc7bf186fed67f87abc828f",name:"routing_number",label:"Routing Number",defaultValue:this.defaultValue.routing_number,maxLength:9,errorText:this.errors.routing_number,inputHandler:this.inputHandler,keyDownHandler:n,disabled:this.formDisabled,helpText:"A valid routing number is nine digits. Please include any leading or trailing zeroes."})))}},B=class{constructor(t){e(this,t),this.documents=[],this.isLoading=!1}render(){return this.isLoading?t(v,{height:"50px"}):this.documents.length?t(a,null,t("div",{class:"card",part:b},t("div",{class:"card-body"},t("h5",{class:"card-title",part:f},"Documents Already on File"),t("div",{class:"table-responsive"},t("table",{class:"table table-sm table-borderless",part:h},t("thead",null,t("tr",null,t("th",{style:{width:"25%"},part:p,scope:"col"},"File Name"),t("th",{style:{width:"25%"},part:p,scope:"col"},"File Type"),t("th",{style:{width:"25%"},part:p,scope:"col"},"Document Type"),t("th",{style:{width:"25%"},part:p,scope:"col"},"Date Uploaded"))),t("tbody",null,this.documents.sort(((e,t)=>e.document_type.localeCompare(t.document_type))).map(((e,a)=>t("tr",{class:0===a?"border-bottom border-top":"border-bottom"},t("td",{part:m},e.file_name),t("td",{part:m},e.file_type),t("td",{part:m},r(e.document_type)),t("td",{part:m},`${i(e.created_at)} - ${o(e.created_at)}`))))))))),t("hr",null)):null}},H=class{constructor(t){e(this,t),this.formControlInput=s(this,"formControlInput"),this.formControlBlur=s(this,"formControlBlur"),this.fileSelected=s(this,"fileSelected"),this.isFocused=!1,this.handleFormControlInput=e=>{const t=e.target,a=t.getAttribute("name");this.inputHandler(a,t.value),this.formControlInput.emit({name:a,value:t.value})},this.changeHandler=()=>{const e=this.fileInput.files;e&&this.fileSelected.emit({fileList:e,document_type:this.documentType})}}componentDidLoad(){this.fileInput=this.el.querySelector("input")}get part(){let e=u;return this.errorText&&(e=k),this.disabled&&(e=x),this.isFocused&&(e=j),e}render(){return t(a,{key:"c34cbf8874c33d945d81a93646372ac9dc687362"},t("div",{key:"cacf5f210a0adb6f408ac05efe4279d9eb1ae3b8",class:"form-group d-flex flex-column"},t("div",{key:"936cb5268fa2c63f9931895f7a0b46ed5b4776ec",class:"d-flex align-items-start gap-2"},t("label",{key:"6dc1dd3be36337cc3c4bb72a4e4d42c6e7c2a239",part:y,class:"form-label",htmlFor:this.name},this.label),t("form-control-tooltip",{key:"4c4a2c965882e7e96d36b16e6448fa4efd003950",helpText:this.helpText})),t("input",{key:"469cf033fae879306ecbfdcdb9e6d74fdb4b4265",ref:e=>this.fileInput=e,type:"file",name:this.name,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",multiple:this.multiple,disabled:this.disabled,onChange:this.changeHandler,onInput:this.handleFormControlInput,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()}}),t(_,{key:"7359b6f39ac038230ce1d2d60454a4d4e69c6bb9",errorText:this.errorText,name:this.name})))}get el(){return c(this)}};export{T as bank_account_document_form_inputs,g as bank_account_form_inputs,B as business_documents_on_file,H as form_control_file}
1
+ import{r as e,h as t,H as a,c as s,a as c}from"./p-N3w5zrz2.js";import"./p-CfBKn_Vl.js";import{s as r,d as i,i as o}from"./p-BnE7qgLh.js";import"./p-SdntD1xf.js";import"./p-DzFysjCc.js";import"./p-CLHwhyvu.js";import"./p-vTsHmSQQ.js";import{E as l}from"./p-KoNvNGKV.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";import{c as d}from"./p-yH3TC3ZQ.js";import"./p-XYgDHrVL.js";import{n}from"./p-BnjCmwMr.js";import{X as b,D as f,ai as h,P as p,aj as m,c as u,l as y,b as k,R as x,a as j}from"./p-BrLVc_85.js";import{S as v}from"./p-C9oyC18r.js";import"./p-CZfYo5-1.js";import{F as _}from"./p-Zuu7wsNB.js";import"./p-Dcbfnfn2.js";import"./p-BFTU3MAI.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";const T=class{constructor(t){e(this,t)}render(){return t("div",{key:"a3ff8b1ff23923beb847e66d6c56a39de9a86434",class:"row gy-3"},t("div",{key:"86f9ba3a8f0f87f7fa67ba0fcf1d7c04f67e9bc5",class:"col-12"},t("form-control-file",{key:"9cc2bc21414c8e3f4b25ac47b76340a4ce569c42",name:"voided_check",label:"Voided Check",documentType:l.voidedCheck,inputHandler:this.inputHandler,onFileSelected:this.storeFiles,errorText:this.errors.voided_check,multiple:!0})),t("div",{key:"bee72d6c63514cdbd3200910d3a53b045c60d05d",class:"col-12"},t("form-control-file",{key:"80a79f352d078cd210768b4060cad7014b1060c5",name:"bank_statement",label:"Bank Statement",documentType:l.bankStatement,inputHandler:this.inputHandler,onFileSelected:this.storeFiles,errorText:this.errors.bank_statement,multiple:!0})))}},g=class{constructor(t){e(this,t)}render(){return t("div",{key:"b18e803521d67b40e4e5af03a66dcdca0b678968",class:"row gy-3"},t("div",{key:"e2e6667ffbcebb6a9aa50739814e7bbebceaabfa",class:"col-12"},t("form-control-text",{key:"e1ad63fb7db32dbb6ed67cf18919c681d6d192ef",name:"bank_name",label:"Bank Name",defaultValue:this.defaultValue.bank_name,errorText:this.errors.bank_name,inputHandler:this.inputHandler,disabled:this.formDisabled})),t("div",{key:"54db821813e7eb931b8f19fad7fce976cdeb0045",class:"col-12"},t("form-control-text",{key:"4ecf222c1918e364f319d07e0a770d68dba099d0",name:"nickname",label:"Nickname",defaultValue:this.defaultValue.nickname,errorText:this.errors.nickname,inputHandler:this.inputHandler,disabled:this.formDisabled})),t("div",{key:"a92c38f2abbcb3dcaee4bc5ea73df44b31adc3f9",class:"col-12"},t("form-control-text",{key:"492ff1a4d1e9c4f2fa9d0e527a34dc5ccb09afe6",name:"account_owner_name",label:"Account Owner Name",defaultValue:this.defaultValue.account_owner_name,errorText:this.errors.account_owner_name,inputHandler:this.inputHandler,disabled:this.formDisabled})),t("div",{key:"8e14e6e3de43822d139085d3a05bfd0e7ae5b1be",class:"col-12"},t("form-control-select",{key:"f6648b6f7c4a475f88b849bf3a75d446bb539c69",name:"account_type",label:"Account Type",options:d,defaultValue:this.defaultValue.account_type,errorText:this.errors.account_type,inputHandler:this.inputHandler,disabled:this.formDisabled})),t("div",{key:"68a2efc082f5b6414ebde10b6da4365677dbefca",class:"col-12"},t("form-control-text",{key:"3ef9b3db5882063708ccf1eb282f3e90ed53ce82",name:"account_number",label:"Account Number",defaultValue:this.defaultValue.account_number,maxLength:17,errorText:this.errors.account_number,inputHandler:this.inputHandler,keyDownHandler:n,disabled:this.formDisabled,helpText:"Please copy the account number as shown on your statement/check. Do not include spaces or dashes."})),t("div",{key:"e3270db28269bc25dd4d5a99274f042c1efd1fc6",class:"col-12"},t("form-control-text",{key:"a8e801f65a4cc164cdc7bf186fed67f87abc828f",name:"routing_number",label:"Routing Number",defaultValue:this.defaultValue.routing_number,maxLength:9,errorText:this.errors.routing_number,inputHandler:this.inputHandler,keyDownHandler:n,disabled:this.formDisabled,helpText:"A valid routing number is nine digits. Please include any leading or trailing zeroes."})))}},w=class{constructor(t){e(this,t),this.documents=[],this.isLoading=!1}render(){return this.isLoading?t(v,{height:"50px"}):this.documents.length?t(a,null,t("div",{class:"card",part:b},t("div",{class:"card-body"},t("h5",{class:"card-title",part:f},"Documents Already on File"),t("div",{class:"table-responsive"},t("table",{class:"table table-sm table-borderless",part:h},t("thead",null,t("tr",null,t("th",{style:{width:"25%"},part:p,scope:"col"},"File Name"),t("th",{style:{width:"25%"},part:p,scope:"col"},"File Type"),t("th",{style:{width:"25%"},part:p,scope:"col"},"Document Type"),t("th",{style:{width:"25%"},part:p,scope:"col"},"Date Uploaded"))),t("tbody",null,this.documents.sort(((e,t)=>e.document_type.localeCompare(t.document_type))).map(((e,a)=>t("tr",{class:0===a?"border-bottom border-top":"border-bottom"},t("td",{part:m},e.file_name),t("td",{part:m},e.file_type),t("td",{part:m},r(e.document_type)),t("td",{part:m},`${i(e.created_at)} - ${o(e.created_at)}`))))))))),t("hr",null)):null}},H=class{constructor(t){e(this,t),this.formControlInput=s(this,"formControlInput"),this.formControlBlur=s(this,"formControlBlur"),this.fileSelected=s(this,"fileSelected"),this.isFocused=!1,this.handleFormControlInput=e=>{const t=e.target,a=t.getAttribute("name");this.inputHandler(a,t.value),this.formControlInput.emit({name:a,value:t.value})},this.changeHandler=()=>{const e=this.fileInput.files;e&&this.fileSelected.emit({fileList:e,document_type:this.documentType})}}componentDidLoad(){this.fileInput=this.el.querySelector("input")}get part(){let e=u;return this.errorText&&(e=k),this.disabled&&(e=x),this.isFocused&&(e=j),e}render(){return t(a,{key:"c34cbf8874c33d945d81a93646372ac9dc687362"},t("div",{key:"cacf5f210a0adb6f408ac05efe4279d9eb1ae3b8",class:"form-group d-flex flex-column"},t("div",{key:"936cb5268fa2c63f9931895f7a0b46ed5b4776ec",class:"d-flex align-items-start gap-2"},t("label",{key:"6dc1dd3be36337cc3c4bb72a4e4d42c6e7c2a239",part:y,class:"form-label",htmlFor:this.name},this.label),t("form-control-tooltip",{key:"4c4a2c965882e7e96d36b16e6448fa4efd003950",helpText:this.helpText})),t("input",{key:"469cf033fae879306ecbfdcdb9e6d74fdb4b4265",ref:e=>this.fileInput=e,type:"file",name:this.name,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",multiple:this.multiple,disabled:this.disabled,onChange:this.changeHandler,onInput:this.handleFormControlInput,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()}}),t(_,{key:"7359b6f39ac038230ce1d2d60454a4d4e69c6bb9",errorText:this.errorText,name:this.name})))}get el(){return c(this)}};export{T as bank_account_document_form_inputs,g as bank_account_form_inputs,w as business_documents_on_file,H as form_control_file}
@@ -0,0 +1 @@
1
+ import{r as e,h as a}from"./p-N3w5zrz2.js";import{c as t,a as i,F as c}from"./p-DVnVdicA.js";import{ak as d}from"./p-BrLVc_85.js";import"./p-BFTU3MAI.js";const s=t({additional_statement:i().nullable()});var o,l;!function(e){e.disputeReason="dispute_reason",e.productOrService="product_or_service",e.customerDetails="customer_details",e.cancellationPolicy="cancellation_policy",e.refundPolicy="refund_policy",e.duplicateCharge="duplicate_charge",e.electronicEvidence="electronic_evidence",e.shippingDetails="shipping_details",e.additionalStatement="additional_statement"}(o||(o={})),function(e){e.activity_log="activity_log",e.cancellationPolicy="cancellation_policy",e.customerCommunication="customer_communication",e.customerSignature="customer_signature",e.duplicateChargeDocumentation="duplicate_charge_documentation",e.receipt="receipt",e.refundPolicy="refund_policy",e.serviceDocumentation="service_documentation",e.shippingDocumentation="shipping_documentation",e.uncategorizedFile="uncategorized_file"}(l||(l={}));class n{set presignedUrl(e){this._presignedUrl=e}get presignedUrl(){return this._presignedUrl}async getFileString(){const e=new Promise(((e,a)=>{const t=new FileReader;t.onload=a=>{e(a.target.result)},t.onerror=()=>{a(new Error("Error reading file"))},t.readAsArrayBuffer(this._file)}));return await e}constructor(e,a){this._file=e,this.file_name=e.name,this.file_type=e.type,this.dispute_evidence_type=a}}const r=(e,a)=>{const t=e.target,i=t.name,c=t.files;a[i]=[];for(const e of c)a[i].push(new n(e,i))},f=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.acceptedTerms=!1,this.documents={uncategorized_file:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.additionalStatement)))}componentWillLoad(){this.form=new c(s)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"5e572a30ed53b4fbcf3808ba545ce2fdf5b988aa"},a("div",{key:"90870dc58e0eab72e64ae03bdaa25bb1749d8e23",class:"row gy-3"},a("div",{key:"cc3b6f19687d02e047744e8a53d22a2f91a8b968",class:"col-12"},a("h2",{key:"230c20dc3f75e48afa4008369374fd8c175cb7ea",class:"h5",part:d},"Additional Evidence")),a("div",{key:"7b49c8012cfc07c44399969f8505db786389b38b",class:"col-12"},a("form-control-textarea",{key:"349a8a2ebda338e170c90266801ae93b6f9482ea",label:"Is there anything else you would like to say about this dispute?",name:"additional_statement",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.additional_statement,inputHandler:this.inputHandler,errorText:this.errors.additional_statement})),a("div",{key:"01cd368a2278c5de462f0998a50ba4ca5889be26",class:"col-12"},a("form-control-file-v2",{key:"f95d0b78704f9a1fd154003edbbffb062659ae27",label:"Additional files",name:"uncategorized_file",multiple:!0,helpText:"Upload any additional pieces of evidence that have not already been provided.",onChange:e=>r(e,this.documents),errorText:null===(t=this.documentErrors)||void 0===t?void 0:t.uncategorized_file}))))}},b=t({cancellation_policy_disclosure:i().nullable(),cancellation_rebuttal:i().nullable()}),h=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={cancellation_policy:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.cancellationPolicy)))}componentWillLoad(){this.form=new c(b)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"6dc5100426e8e4124d19a375250f85f8e15b28d4"},a("div",{key:"fb950108be5fd4096a7717c88943938261787f99",class:"row gy-3"},a("div",{key:"08f85a06288e19939a16d3fa52ef3b3199c56f36",class:"col-12"},a("h2",{key:"a585b93921814b1ffbb95c6f9c1de37d4104049b",class:"h5",part:d},"Cancellation Policy")),a("div",{key:"3b7c620518006738d2e36863b62a72142f167733",class:"col-12"},a("form-control-textarea",{key:"70a76160b0d29648a9e0598dd5b867a382935e03",label:"Cancellation Policy Disclosure",name:"cancellation_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.cancellation_policy_disclosure,inputHandler:this.inputHandler,errorText:this.errors.cancellation_policy_disclosure})),a("div",{key:"e06d4c794bad47e366ca702e764307fdab5e33a8",class:"col-12"},a("form-control-textarea",{key:"1b783920c5a5b94bff60d4b061cc7cc6666cc184",label:"Cancellation Rebuttal",name:"cancellation_rebuttal",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.cancellation_rebuttal,inputHandler:this.inputHandler,errorText:this.errors.cancellation_rebuttal})),a("div",{key:"3cb3371c1d3727e55140ea60a0cff96bc0f42702",class:"col-12"},a("form-control-file-v2",{key:"738a456bf4653240180963fa7e5ab20a7a4add7c",label:"Upload Cancellation Policy",name:"cancellation_policy",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.cancellation_policy}))))}},u=t({customer_name:i().nullable(),customer_email_address:i().nullable(),customer_billing_address:i().nullable()}),v=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={customer_signature:[],customer_communication:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.customerDetails)))}componentWillLoad(){this.form=new c(u)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c,s;return a("div",{key:"70e29d650d5304522f927c15b4eb5e62e203c5e0"},a("div",{key:"f50422b29cb2a4f3bca911ced94dc681adb3fc41",class:"row gy-3"},a("div",{key:"f29816d9281ea4c4db5018d3b7edb1600569357a",class:"col-12"},a("h2",{key:"a2889c95c293bf0bbf97c16e4486e307ca87729c",class:"h5",part:d},"Customer Details")),a("div",{key:"9cd45719434a1740f67b73c13fd08e0fe562168e",class:"col-12"},a("form-control-text",{key:"5a30a3aef7fbe2d3013c46e43a437724dae41213",label:"Full Name",name:"customer_name",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_name,inputHandler:this.inputHandler,errorText:this.errors.customer_name})),a("div",{key:"9812e1f9f6df949b9f15b2c3f28857db7dcf5cb7",class:"col-12"},a("form-control-text",{key:"10b146053a399039e8dbd42c3cab53b4b55c0ec3",label:"Email",name:"customer_email_address",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.customer_email_address,inputHandler:this.inputHandler,errorText:this.errors.customer_email_address})),a("div",{key:"2742a0922a223bd60d6e3d08a55190742ecf5112",class:"col-12"},a("form-control-textarea",{key:"41491e238c75716520d747cbf9f1bcc329a2d686",label:"Billing Address",name:"customer_billing_address",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.customer_billing_address,inputHandler:this.inputHandler,errorText:this.errors.customer_billing_address})),a("div",{key:"71074f31e565c24107b91b04d9aa16da77ba618c",class:"col-12"},a("form-control-file-v2",{key:"17f70cf96927b01e65430e13c2d21209e9170603",label:"Customer Signature",name:"customer_signature",onChange:e=>r(e,this.documents),errorText:null===(c=this.documentErrors)||void 0===c?void 0:c.customer_signature})),a("div",{key:"ec696695191e68c7ceb0cc41f99f9e53f2d59da1",class:"col-12"},a("form-control-file-v2",{key:"562ff8b3819f536d491f2e2e55a85a55fcda0e1c",label:"Customer Communication",name:"customer_communication",onChange:e=>r(e,this.documents),errorText:null===(s=this.documentErrors)||void 0===s?void 0:s.customer_communication}))))}},p=t({duplicate_charge_original_payment_id:i().nullable(),duplicate_charge_explanation:i().nullable()}),m=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={duplicate_charge_documentation:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.duplicateCharge)))}componentWillLoad(){this.form=new c(p)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"0b0d73b396b32f29fa389d3981d48c3f30f96fd7"},a("div",{key:"2fd16a4cf964c863a59789a2be60d94b27a95de8",class:"row gy-3"},a("div",{key:"48c15f7db3285caa9164d815615b82a84283fbfe",class:"col-12"},a("h2",{key:"397b3026311bf57588b172146fc9822f99ede63e",class:"h5",part:d},"Duplicate Charge")),a("div",{key:"c825b6efd428bee298b9b0ddf2265378cf999de9",class:"col-12"},a("form-control-text",{key:"b43283087a10826bf8e582a1e863ed4982b5c000",label:"Original Payment ID",name:"duplicate_charge_original_payment_id",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.duplicate_charge_original_payment_id,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_original_payment_id})),a("div",{key:"66d5cefa16c341f5c523eaa46de5c11f5b16e619",class:"col-12"},a("form-control-textarea",{key:"f83573136fc2ce108f186f9434f46a3f157bd102",label:"Duplicate Charge Explanation",name:"duplicate_charge_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.duplicate_charge_explanation,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_explanation})),a("div",{key:"cc47dc1d9dbac962d27494b5ff3fef572c98c7b4",class:"col-12"},a("form-control-file-v2",{key:"3cf06b6d61edd6ac96d02b12639d040f698b2526",label:"Duplicate Charge Documentation",name:"duplicate_charge_documentation",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.duplicate_charge_documentation}))))}},y=t({customer_purchase_ip_address:i().nullable()}),_=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={activity_log:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.electronicEvidence)))}componentWillLoad(){this.form=new c(y)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"1a4a1d78529c48b8f32029a3efa05b4430c6d271"},a("div",{key:"593d167f4e6b610ac3cdb8a04b4eee30a1cb4f91",class:"row gy-3"},a("div",{key:"39440c3a2802b823c85f251c4393ba76bad287c0",class:"col-12"},a("h2",{key:"f5ec8cce1bbadb772ac6dbe668cf54187d2690d7",class:"h5",part:d},"Electronic Evidence")),a("div",{key:"b9020a773c45a8f59a31ffef44b32253fdb4a551",class:"col-12"},a("form-control-text",{key:"56122eafb7f138f4472a5818cddd32cb0e17fc7e",label:"Purchase IP Address",name:"customer_purchase_ip_address",helpText:"The IP address used by the customer during the purchase.",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_purchase_ip_address,inputHandler:this.inputHandler,errorText:this.errors.customer_purchase_ip_address})),a("div",{key:"0737f585271838dd60ab9ee1e6ac83d0c6362b96",class:"col-12"},a("form-control-file-v2",{key:"63590d574ee151cbf82638002dfe513cea471035",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=>r(e,this.documents),errorText:null===(t=this.documentErrors)||void 0===t?void 0:t.activity_log}))))}},k=t({product_description:i().nullable(),service_date:i().nullable()}),g=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={service_documentation:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.productOrService)))}componentWillLoad(){this.form=new c(k)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"0e2648d399af18f7959bed2e0fff56fd63b541df"},a("div",{key:"4322c227617147721ab7cf33a5e75a09bc370a0c",class:"row gy-3"},a("div",{key:"e2bc9f0642356a864e7fa323262ead13d4825fdc",class:"col-12"},a("h2",{key:"88af660c9add83da7edc7758d4645db796c80fdf",class:"h5",part:d},"Product & Service Details")),a("div",{key:"dcfb0f64e1b611eb8d53f97950d5922f7358a64c",class:"col-12"},a("form-control-text",{key:"42959d4b7c03d14fdef29a656a5f18d0d89d3b2e",label:"Product Description",name:"product_description",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.product_description,inputHandler:this.inputHandler,errorText:this.errors.product_description})),a("div",{key:"1f4173e79f10a6ac32b860ecbd62fe5c612cc5b2",class:"col-12"},a("form-control-date",{key:"6e8bab228b3a23655cbf71fe6dc72a850b38947c",label:"Service Date",name:"service_date",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.service_date,inputHandler:this.inputHandler,errorText:this.errors.service_date})),a("div",{key:"2e32f65cc5388302d067fb1a8db34e3e529435c2",class:"col-12"},a("form-control-file-v2",{key:"f9fb2ac0c6a2f37a7584eeda2460702b1e0d6cc0",label:"Service Documentation",name:"service_documentation",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.service_documentation}))))}},x=t({refund_policy_disclosure:i().nullable(),refund_refusal_explanation:i().nullable()}),j=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={refund_policy:[],receipt:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.refundPolicy)))}componentWillLoad(){this.form=new c(x)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c;return a("div",{key:"882eb01880bcfdde30abe10465fecd7390654ed6"},a("div",{key:"de2f238310e4b80976888d147e90047688ad5ada",class:"row gy-3"},a("div",{key:"305af62aa762ae6abff0678998132e8f56707550",class:"col-12"},a("h2",{key:"6e224996b82639c426d129bfd28633f3d3839f6f",class:"h5",part:d},"Refund Policy and Receipt")),a("div",{key:"b2b8d444c594bf92d04fed6640230745c5fb49ba",class:"col-12"},a("form-control-textarea",{key:"f75c6c360c485ac5253164be5d4941d859deb902",label:"Refund Policy Disclosure",name:"refund_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.refund_policy_disclosure,inputHandler:this.inputHandler})),a("div",{key:"1788d1e6ba1ddbe82795ce1a41b901a81c055f6d",class:"col-12"},a("form-control-textarea",{key:"f47fac9b8e0d6b9766311b13c760129bb6335ddd",label:"Refund Refusal Explanation",name:"refund_refusal_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.refund_refusal_explanation,inputHandler:this.inputHandler})),a("div",{key:"d96552fee8b4cdddf31148b2d3783a4e1dfb031b",class:"col-12"},a("form-control-file-v2",{key:"3c6c06201ef3a730aed41ab6b8cb62d5ee8d8128",label:"Upload Refund Policy",name:"refund_policy",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.refund_policy})),a("div",{key:"ec2271dd9646596df3106f56c6e96f618196046a",class:"col-12"},a("form-control-file-v2",{key:"48f956f2580187fc7baecc5426d5ed0a1050150b",label:"Upload Receipt",name:"receipt",onChange:e=>r(e,this.documents),errorText:null===(c=this.documentErrors)||void 0===c?void 0:c.receipt}))))}},O=t({shipping_carrier:i().nullable(),shipping_tracking_number:i().nullable(),shipping_date:i().nullable(),shipping_address:i().nullable()}),T=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={shipping_documentation:[]},this.documentList=[],this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.shippingDetails)))}componentWillLoad(){this.form=new c(O)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c,s;return a("div",{key:"90641cea619de697d7a90e6e397790f79ceb9376"},a("div",{key:"52d939e26bd26e99240d100897a530b89553e727",class:"row gy-3"},a("div",{key:"01755fbca3430bd3066377e9481038370c49b2d8",class:"col-12"},a("h2",{key:"d273fbe6ff8b7815ba5c2369748a3a20548b0a4d",class:"h5",part:d},"Shipping Details")),a("div",{key:"595f4e63dff85591713a4c895acb6628c8ef8214",class:"col-12"},a("form-control-text",{key:"958169d07544237a72facdc016d4d12ac64a4c48",label:"Shipping Carrier Name",name:"shipping_carrier",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.shipping_carrier,inputHandler:this.inputHandler,errorText:this.errors.shipping_carrier})),a("div",{key:"1d3020a30f95c5ced652871a635aba0152bbc4e3",class:"col-12"},a("form-control-text",{key:"088af20353ec2efcb65a4e597a1fb4aec23cfcbb",label:"Tracking Number",name:"shipping_tracking_number",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.shipping_tracking_number,inputHandler:this.inputHandler,errorText:this.errors.shipping_tracking_number})),a("div",{key:"536ee74c42d326d7f7f698274c846bfebf0d34dd",class:"col-12"},a("form-control-date",{key:"71ef44bd4c810a567162b7fe92199eceff9be470",label:"Date Shipped",name:"shipping_date",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.shipping_date,inputHandler:this.inputHandler,errorText:this.errors.shipping_date})),a("div",{key:"8887e0daf44be31486563e85cd989eef1da5f5ce",class:"col-12"},a("form-control-textarea",{key:"c34093bc4ee65f4fb092c377a98e01cd69bdbc7c",label:"Shipping Address",name:"shipping_address",defaultValue:null===(c=this.disputeResponse)||void 0===c?void 0:c.shipping_address,inputHandler:this.inputHandler,errorText:this.errors.shipping_address})),a("div",{key:"469a5d8c7e28fa2ad430f104f08f387448f70048",class:"col-12"},a("form-control-file-v2",{key:"a2b6c6c0c1cf32430582b97efe6bcc1d4c47147d",label:"Shipping Documentation",name:"shipping_documentation",onChange:e=>r(e,this.documents),errorText:null===(s=this.documentErrors)||void 0===s?void 0:s.shipping_documentation}))))}};export{f as justifi_additional_statement,h as justifi_cancellation_policy,v as justifi_customer_details,m as justifi_duplicate_charge,_ as justifi_electronic_evidence,g as justifi_product_or_service,j as justifi_refund_policy,T as justifi_shipping_details}