@justifi/webcomponents 5.6.1 → 5.7.1

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 (646) hide show
  1. package/dist/cjs/{ApiNew-DG13rvk6.js → Api-C8nf_gS9.js} +1 -1
  2. package/dist/cjs/{Payment-CQCmj3Ck.js → Document-CL5Zc72Q.js} +57 -0
  3. package/dist/cjs/{Refund-CpurRc4w.js → Refund-CYxocU06.js} +1 -0
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  5. package/dist/cjs/{badge-ByWVHNyJ.js → badge-BxoJOyTJ.js} +1 -1
  6. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +12 -10
  7. package/dist/cjs/bank-account-form_9.cjs.entry.js +39 -30
  8. package/dist/cjs/{business-additional-questions-schema-gVepoR4V.js → business-additional-questions-schema-DR8vt11M.js} +1 -1
  9. package/dist/cjs/business-details-core.cjs.entry.js +4 -3
  10. package/dist/cjs/{business-identity-schema-dt0zCW0R.js → business-identity-schema-BYaCsboD.js} +1 -1
  11. package/dist/cjs/{business.service-Vcq4kPU8.js → business.service-C2rg_zSw.js} +20 -24
  12. package/dist/cjs/{button-Bn9jOYbx.js → button-BPFSRx4d.js} +1 -1
  13. package/dist/cjs/{check-pkg-version-7gGchZzS.js → check-pkg-version-BqC8BOhm.js} +14 -3
  14. package/dist/cjs/checkout.service-CyvIIMeq.js +35 -0
  15. package/dist/cjs/checkouts-list-core.cjs.entry.js +16 -12
  16. package/dist/cjs/{checkouts-table-C_cpZa-i.js → checkouts-table-_T5eblyc.js} +2 -2
  17. package/dist/cjs/{config-state-Bm8-EuFE.js → config-state-D7p-XunE.js} +1 -1
  18. package/dist/cjs/custom-popper_4.cjs.entry.js +7 -6
  19. package/dist/cjs/{dispute.service-F-M8EJxq.js → dispute.service-CKPR1vFS.js} +13 -17
  20. package/dist/cjs/event-types-YOY5TKUN.js +8 -0
  21. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  22. package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -5
  23. package/dist/cjs/form-control-date.cjs.entry.js +5 -4
  24. package/dist/cjs/{form-control-error-text-CBAVQoZ3.js → form-control-error-text-D9XDyFoW.js} +1 -1
  25. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  26. package/dist/cjs/{form-control-help-text-DQz5O3wX.js → form-control-help-text-J_boqSMc.js} +1 -1
  27. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +4 -3
  28. package/dist/cjs/form-control-monetary.cjs.entry.js +6 -5
  29. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -4
  30. package/dist/cjs/form-control-number.cjs.entry.js +6 -5
  31. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  32. package/dist/cjs/{get-payment-details-DqvDYbnK.js → get-payment-details-C9HqIv-M.js} +6 -4
  33. package/dist/cjs/{get-subaccounts-CasN5tDA.js → get-subaccounts-BNpIanJ9.js} +8 -6
  34. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  35. package/dist/cjs/{header-1-Bl1S9jV8.js → header-1-auSUfIpO.js} +1 -1
  36. package/dist/cjs/{header-3-DYzIjFIZ.js → header-3-B-bXHCpC.js} +1 -1
  37. package/dist/cjs/iframe-input.cjs.entry.js +6 -6
  38. package/dist/cjs/{insurance-state-BbmHHQl0.js → insurance-state-CFxbKNWH.js} +1 -1
  39. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -10
  40. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +13 -14
  41. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
  42. package/dist/cjs/justifi-business-details.cjs.entry.js +16 -10
  43. package/dist/cjs/justifi-business-form.cjs.entry.js +78 -54
  44. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  45. package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -7
  46. package/dist/cjs/justifi-checkout.cjs.entry.js +16 -11
  47. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -6
  48. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +24 -22
  49. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  50. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  51. package/dist/cjs/justifi-dispute-management.cjs.entry.js +17 -14
  52. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -12
  53. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +20 -8
  54. package/dist/cjs/justifi-order-terminals.cjs.entry.js +19 -15
  55. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +14 -10
  56. package/dist/cjs/justifi-payment-details.cjs.entry.js +15 -13
  57. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -2
  58. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +20 -13
  59. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +21 -17
  60. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -3
  61. package/dist/cjs/justifi-payments-list.cjs.entry.js +21 -17
  62. package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -13
  63. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +21 -17
  64. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -3
  65. package/dist/cjs/justifi-payouts-list.cjs.entry.js +21 -23
  66. package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -15
  67. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +7 -4
  68. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +19 -19
  69. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -7
  70. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +22 -15
  71. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -6
  72. package/dist/cjs/justifi-terminals-list.cjs.entry.js +20 -16
  73. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +20 -11
  74. package/dist/cjs/loader.cjs.js +1 -1
  75. package/dist/cjs/{package-CseQI95t.js → package-Biee4Hdo.js} +1 -1
  76. package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
  77. package/dist/cjs/{parts-Du1T2dvF.js → parts-9jMf1erK.js} +24 -8
  78. package/dist/cjs/payment-details-core.cjs.entry.js +16 -12
  79. package/dist/cjs/{payment.service-CAJSEb2x.js → payment.service-C996aLGw.js} +9 -2
  80. package/dist/cjs/payments-list-core.cjs.entry.js +17 -13
  81. package/dist/cjs/{payments-status-hksfHuBH.js → payments-status-BTykBx8i.js} +1 -1
  82. package/dist/cjs/{payments-table-CmvP6owu.js → payments-table-BkRhDePE.js} +2 -2
  83. package/dist/cjs/payout-details-core.cjs.entry.js +11 -7
  84. package/dist/cjs/{payout.service-wOnSu52a.js → payout.service-BwKgEbDo.js} +9 -2
  85. package/dist/cjs/payouts-list-core.cjs.entry.js +17 -13
  86. package/dist/cjs/{payouts-status-DfNhfSsm.js → payouts-status-YCqmbd4K.js} +1 -1
  87. package/dist/cjs/{payouts-table-CpgWxl8A.js → payouts-table-DJMz3bVh.js} +2 -2
  88. package/dist/cjs/{schema-validations-p4OCdblz.js → schema-validations-Bhz09M42.js} +1 -1
  89. package/dist/cjs/{skeleton-BFtuPBwQ.js → skeleton-aMh0RMHq.js} +1 -1
  90. package/dist/cjs/{spinner-C9z2tkh2.js → spinner-BTyIjlMM.js} +1 -1
  91. package/dist/cjs/{event-types-cB_-SsYZ.js → table-DKVauFHc.js} +39 -9
  92. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  93. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +16 -12
  94. package/dist/cjs/{terminal-orders-table-CpVY3VsQ.js → terminal-orders-table-CxY1ykZ7.js} +7 -5
  95. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  96. package/dist/cjs/{terminal.service-cGQB3xiL.js → terminal.service-D7dxg9ZQ.js} +9 -2
  97. package/dist/cjs/terminals-list-core.cjs.entry.js +16 -12
  98. package/dist/cjs/{terminals-table-DRQQjYAE.js → terminals-table-D2XUsf_J.js} +2 -2
  99. package/dist/cjs/{utils-B_Ol6YlL.js → utils-5lco6NzU.js} +1 -1
  100. package/dist/cjs/webcomponents.cjs.js +1 -1
  101. package/dist/collection/actions/checkout/get-checkouts.js +2 -2
  102. package/dist/collection/actions/dispute/dispute-actions.js +2 -2
  103. package/dist/collection/api/Analytics.js +3 -0
  104. package/dist/collection/api/Api.js +23 -12
  105. package/dist/collection/api/Payment.js +1 -0
  106. package/dist/collection/api/Payout.js +1 -0
  107. package/dist/collection/api/index.js +5 -1
  108. package/dist/collection/api/services/analytics.service.js +3 -2
  109. package/dist/collection/api/services/business.service.js +13 -24
  110. package/dist/collection/api/services/checkout.service.js +8 -14
  111. package/dist/collection/api/services/dispute.service.js +8 -13
  112. package/dist/collection/api/services/insurance.service.js +5 -8
  113. package/dist/collection/api/services/payment.service.js +1 -1
  114. package/dist/collection/api/services/payout.service.js +1 -1
  115. package/dist/collection/api/services/provision.service.js +4 -6
  116. package/dist/collection/api/services/refund.service.js +1 -1
  117. package/dist/collection/api/services/reports.service.js +3 -3
  118. package/dist/collection/api/services/subaccounts.service.js +1 -1
  119. package/dist/collection/api/services/terminal.service.js +1 -1
  120. package/dist/collection/api/services/terminal_orders.service.js +1 -1
  121. package/dist/collection/collection-manifest.json +1 -1
  122. package/dist/collection/components/business-details/business-details.js +3 -1
  123. package/dist/collection/components/business-forms/business-form/business-form.js +80 -39
  124. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +4 -2
  125. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +3 -3
  126. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +16 -33
  127. package/dist/collection/components/checkout/card-form/card-form.js +9 -26
  128. package/dist/collection/components/checkout/checkout-core.js +2 -21
  129. package/dist/collection/components/checkout/checkout.js +5 -24
  130. package/dist/collection/components/checkout/new-payment-method.js +2 -21
  131. package/dist/collection/components/checkout/payment-method-options.js +2 -21
  132. package/dist/collection/components/checkouts-list/checkouts-list-core.js +2 -3
  133. package/dist/collection/components/checkouts-list/checkouts-list.js +5 -25
  134. package/dist/collection/components/config-provider/config-provider.js +4 -4
  135. package/dist/collection/components/config-provider/config-state.js +1 -1
  136. package/dist/collection/components/dispute-management/dispute-management.js +4 -25
  137. package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +2 -2
  138. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -2
  139. package/dist/collection/{ui-components → components}/filters/table-filters-menu.js +3 -3
  140. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +3 -1
  141. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
  142. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -4
  143. package/dist/collection/components/order-terminals/order-terminals.js +6 -1
  144. package/dist/collection/components/payment-details/payment-details-core.js +11 -7
  145. package/dist/collection/components/payment-details/payment-details.js +2 -1
  146. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +5 -4
  147. package/dist/collection/components/payments-list/payments-list-core.js +2 -3
  148. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  149. package/dist/collection/components/payments-list/payments-list.js +4 -2
  150. package/dist/collection/components/payout-details/payout-details-core.js +5 -1
  151. package/dist/collection/components/payout-details/payout-details.js +3 -1
  152. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +5 -4
  153. package/dist/collection/components/payouts-list/payouts-list-core.js +2 -3
  154. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  155. package/dist/collection/components/payouts-list/payouts-list.js +5 -3
  156. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +2 -3
  157. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  158. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +6 -1
  159. package/dist/collection/components/terminals-list/terminals-list-core.js +2 -3
  160. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  161. package/dist/collection/components/terminals-list/terminals-list.js +4 -2
  162. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +6 -22
  163. package/dist/collection/styles/parts.js +12 -5
  164. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  165. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  166. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  167. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  168. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  169. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  170. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  171. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  172. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  173. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  174. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  175. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  176. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  177. package/dist/collection/ui-components/index.js +1 -4
  178. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +4 -4
  179. package/dist/collection/ui-components/table/index.js +5 -0
  180. package/dist/collection/ui-components/{table-empty-state.js → table/table-empty-state.js} +1 -1
  181. package/dist/collection/ui-components/{table-error-state.js → table/table-error-state.js} +1 -1
  182. package/dist/collection/ui-components/{table-loading-state.js → table/table-loading-state.js} +2 -2
  183. package/dist/collection/ui-components/table/table.js +29 -0
  184. package/dist/docs.json +29 -235
  185. package/dist/esm/{ApiNew-UOnmIWcv.js → Api-KYhsw8Nv.js} +1 -1
  186. package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
  187. package/dist/esm/{Payment-BADkZFaz.js → Document-cNXrKmGy.js} +57 -2
  188. package/dist/esm/{Refund-DOvd7RJp.js → Refund-2YJqP9qX.js} +1 -0
  189. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  190. package/dist/esm/{badge-B191hCAo.js → badge-Du9GTXoB.js} +1 -1
  191. package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -10
  192. package/dist/esm/bank-account-form_9.entry.js +32 -23
  193. package/dist/esm/{business-additional-questions-schema-DWnZs60Z.js → business-additional-questions-schema-GpN_koGK.js} +1 -1
  194. package/dist/esm/business-details-core.entry.js +4 -3
  195. package/dist/esm/{business-identity-schema-lqdJS3MT.js → business-identity-schema-BjuQ6ajL.js} +1 -1
  196. package/dist/esm/{business.service-B1VD22Tz.js → business.service-ClD_YDeT.js} +20 -24
  197. package/dist/esm/{button-BRFA5syj.js → button-CjH5C0pG.js} +1 -1
  198. package/dist/esm/{check-pkg-version-DpVT68Qo.js → check-pkg-version-DxnKX9GQ.js} +14 -3
  199. package/dist/esm/checkout.service-DfzkmIe4.js +33 -0
  200. package/dist/esm/checkouts-list-core.entry.js +15 -11
  201. package/dist/esm/{checkouts-table-BIO5rpvV.js → checkouts-table-DKd0QLys.js} +2 -2
  202. package/dist/esm/{config-state-Bl6vWekp.js → config-state-CkKrqnpZ.js} +1 -1
  203. package/dist/esm/custom-popper_4.entry.js +7 -6
  204. package/dist/esm/dispute.service-BTOWqnmk.js +33 -0
  205. package/dist/esm/event-types-CZfYo5-1.js +8 -0
  206. package/dist/esm/form-alert_5.entry.js +1 -1
  207. package/dist/esm/form-control-checkbox.entry.js +6 -5
  208. package/dist/esm/form-control-date.entry.js +5 -4
  209. package/dist/esm/{form-control-error-text-CVPFeRt0.js → form-control-error-text-tGFxd6kW.js} +1 -1
  210. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  211. package/dist/esm/{form-control-help-text-D-ReDn6e.js → form-control-help-text-2DawN8-N.js} +1 -1
  212. package/dist/esm/form-control-monetary-provisioning.entry.js +4 -3
  213. package/dist/esm/form-control-monetary.entry.js +6 -5
  214. package/dist/esm/form-control-number-masked_2.entry.js +5 -4
  215. package/dist/esm/form-control-number.entry.js +6 -5
  216. package/dist/esm/form-control-radio.entry.js +3 -3
  217. package/dist/esm/{get-payment-details-CXiGG9cO.js → get-payment-details-D-prcfRc.js} +5 -3
  218. package/dist/esm/{get-subaccounts-COe5GtaY.js → get-subaccounts-B0uEyOp_.js} +7 -5
  219. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  220. package/dist/esm/{header-1-ClU-iUGF.js → header-1-D2gZb3iT.js} +1 -1
  221. package/dist/esm/{header-3-jLYjhsUb.js → header-3-DAg8Vh4B.js} +1 -1
  222. package/dist/esm/iframe-input.entry.js +6 -6
  223. package/dist/esm/{insurance-state-5MPrBdwI.js → insurance-state-CsZbKSgm.js} +1 -1
  224. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -10
  225. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +14 -15
  226. package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
  227. package/dist/esm/justifi-business-details.entry.js +16 -10
  228. package/dist/esm/justifi-business-form.entry.js +78 -54
  229. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  230. package/dist/esm/justifi-checkout-core.entry.js +8 -7
  231. package/dist/esm/justifi-checkout.entry.js +17 -12
  232. package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -6
  233. package/dist/esm/justifi-checkouts-list.entry.js +24 -22
  234. package/dist/esm/justifi-config-provider.entry.js +3 -3
  235. package/dist/esm/justifi-details.entry.js +2 -2
  236. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  237. package/dist/esm/justifi-dispute-management.entry.js +18 -15
  238. package/dist/esm/justifi-dispute-notification_3.entry.js +20 -13
  239. package/dist/esm/justifi-gross-payment-chart.entry.js +20 -8
  240. package/dist/esm/justifi-order-terminals.entry.js +19 -15
  241. package/dist/esm/justifi-owner-form_3.entry.js +15 -11
  242. package/dist/esm/justifi-payment-details.entry.js +16 -14
  243. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -2
  244. package/dist/esm/justifi-payment-provisioning.entry.js +21 -14
  245. package/dist/esm/justifi-payment-transactions-list.entry.js +20 -16
  246. package/dist/esm/justifi-payments-list-filters.entry.js +4 -3
  247. package/dist/esm/justifi-payments-list.entry.js +20 -16
  248. package/dist/esm/justifi-payout-details.entry.js +16 -13
  249. package/dist/esm/justifi-payout-transactions-list.entry.js +20 -16
  250. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -3
  251. package/dist/esm/justifi-payouts-list.entry.js +21 -23
  252. package/dist/esm/justifi-refund-payment.entry.js +16 -14
  253. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -4
  254. package/dist/esm/justifi-season-interruption-insurance.entry.js +19 -19
  255. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -7
  256. package/dist/esm/justifi-terminal-orders-list.entry.js +21 -14
  257. package/dist/esm/justifi-terminals-list-filters.entry.js +10 -6
  258. package/dist/esm/justifi-terminals-list.entry.js +20 -16
  259. package/dist/esm/justifi-tokenize-payment-method.entry.js +20 -11
  260. package/dist/esm/loader.js +1 -1
  261. package/dist/esm/{package-D2EbqwBe.js → package-DPiTQ9dr.js} +1 -1
  262. package/dist/esm/pagination-menu.entry.js +4 -4
  263. package/dist/esm/{parts-CjO1GttX.js → parts-BrLVc_85.js} +14 -5
  264. package/dist/esm/payment-details-core.entry.js +16 -12
  265. package/dist/esm/{payment-provisioning-actions-CZYFFdTf.js → payment-provisioning-actions-BIfyW239.js} +1 -1
  266. package/dist/esm/{payment.service-B9_zvpM_.js → payment.service-CgwLo1_s.js} +8 -1
  267. package/dist/esm/payments-list-core.entry.js +16 -12
  268. package/dist/esm/{payments-status-CQQH_5oM.js → payments-status-CIUXcA0w.js} +1 -1
  269. package/dist/esm/{payments-table-BdQtWUO-.js → payments-table-BBf5fV74.js} +2 -2
  270. package/dist/esm/payout-details-core.entry.js +11 -7
  271. package/dist/esm/{payout.service-BGSaI-j9.js → payout.service-DYFCNfLa.js} +8 -1
  272. package/dist/esm/payouts-list-core.entry.js +16 -12
  273. package/dist/esm/{payouts-status-Cz9DL-Ph.js → payouts-status-Clo03qUI.js} +1 -1
  274. package/dist/esm/{payouts-table-bOrdlN_0.js → payouts-table-DhZEXhGH.js} +2 -2
  275. package/dist/esm/{schema-validations-BsbYeDDR.js → schema-validations-D9YNVLiI.js} +1 -1
  276. package/dist/esm/{skeleton-t69TLGP9.js → skeleton-Dlpibtr0.js} +1 -1
  277. package/dist/esm/{spinner-Bo1Ff3L8.js → spinner-onCBxbdo.js} +1 -1
  278. package/dist/esm/table-filters-menu.entry.js +3 -3
  279. package/dist/esm/table-p4dOlFPi.js +83 -0
  280. package/dist/esm/terminal-orders-list-core.entry.js +15 -11
  281. package/dist/esm/{terminal-orders-table-5gemV24y.js → terminal-orders-table-BopP465z.js} +7 -5
  282. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  283. package/dist/esm/{terminal.service-B0Rc9vED.js → terminal.service-f-whs_d4.js} +8 -1
  284. package/dist/esm/terminals-list-core.entry.js +15 -11
  285. package/dist/esm/{terminals-table-DFxuyQM-.js → terminals-table-CkWr-6tD.js} +2 -2
  286. package/dist/esm/{utils-CK8L6CE7.js → utils-BpP_VJGf.js} +1 -1
  287. package/dist/esm/webcomponents.js +1 -1
  288. package/dist/module/Api.js +23 -11
  289. package/dist/module/Checkout.js +22 -2
  290. package/dist/module/Payment.js +2 -1
  291. package/dist/module/Refund.js +2 -1
  292. package/dist/module/additional-statement.js +1 -1
  293. package/dist/module/bank-account-document-inputs.js +2 -1
  294. package/dist/module/bank-account-form-inputs2.js +1 -1
  295. package/dist/module/bank-account-form2.js +15 -10
  296. package/dist/module/billing-form.js +2 -1
  297. package/dist/module/business-additional-questions-form-step-core.js +1 -1
  298. package/dist/module/business-additional-questions-form-step.js +1 -1
  299. package/dist/module/business-bank-account-form-step-core.js +3 -3
  300. package/dist/module/business-bank-account-form-step.js +3 -2
  301. package/dist/module/business-core-info-form-step-core.js +1 -1
  302. package/dist/module/business-core-info-form-step.js +1 -1
  303. package/dist/module/business-details-core2.js +1 -0
  304. package/dist/module/business-documents-on-file2.js +2 -1
  305. package/dist/module/business-owners-form-step-core.js +2 -1
  306. package/dist/module/business-owners-form-step.js +1 -1
  307. package/dist/module/business-representative-form-step-core.js +1 -1
  308. package/dist/module/business-representative-form-step.js +1 -1
  309. package/dist/module/business-terms-conditions-form-step.js +6 -7
  310. package/dist/module/business.service.js +19 -24
  311. package/dist/module/button.js +1 -1
  312. package/dist/module/cancellation-policy.js +1 -1
  313. package/dist/module/card-form2.js +8 -3
  314. package/dist/module/check-pkg-version.js +11 -1
  315. package/dist/module/checkout-core.js +6 -7
  316. package/dist/module/checkout.service.js +9 -15
  317. package/dist/module/checkouts-list-core2.js +7 -5
  318. package/dist/module/config-state.js +1 -1
  319. package/dist/module/custom-popper2.js +2 -2
  320. package/dist/module/customer-details.js +1 -1
  321. package/dist/module/dispute-management-core.js +1 -1
  322. package/dist/module/dispute-notification.js +3 -2
  323. package/dist/module/dispute-response-actions.js +10 -15
  324. package/dist/module/dispute-response-core.js +1 -1
  325. package/dist/module/dispute-response.js +6 -3
  326. package/dist/module/duplicate-charge.js +1 -1
  327. package/dist/module/electronic-evidence.js +1 -1
  328. package/dist/module/event-types.js +7 -22
  329. package/dist/module/event-types2.js +22 -21
  330. package/dist/module/event-types3.js +21 -61
  331. package/dist/module/form-control-checkbox2.js +3 -2
  332. package/dist/module/form-control-date2.js +3 -2
  333. package/dist/module/form-control-file-v22.js +1 -1
  334. package/dist/module/form-control-file2.js +3 -2
  335. package/dist/module/form-control-monetary-provisioning2.js +1 -0
  336. package/dist/module/form-control-monetary2.js +4 -3
  337. package/dist/module/form-control-number-masked2.js +3 -2
  338. package/dist/module/form-control-number.js +3 -2
  339. package/dist/module/form-control-radio2.js +2 -2
  340. package/dist/module/form-control-select2.js +1 -0
  341. package/dist/module/form-control-text2.js +3 -2
  342. package/dist/module/form-control-textarea2.js +2 -2
  343. package/dist/module/get-business.js +1 -1
  344. package/dist/module/get-payment-details.js +3 -2
  345. package/dist/module/get-payout-csv.js +1 -1
  346. package/dist/module/get-subaccounts.js +5 -4
  347. package/dist/module/gross-payment-chart-core2.js +1 -1
  348. package/dist/module/hidden-input2.js +1 -1
  349. package/dist/module/iframe-input2.js +3 -3
  350. package/dist/module/justifi-business-details.js +4 -2
  351. package/dist/module/justifi-business-form.js +64 -42
  352. package/dist/module/justifi-checkout.js +6 -6
  353. package/dist/module/justifi-checkouts-list-filters.js +5 -3
  354. package/dist/module/justifi-checkouts-list.js +11 -10
  355. package/dist/module/justifi-config-provider.js +3 -3
  356. package/dist/module/justifi-dispute-management.js +7 -9
  357. package/dist/module/justifi-gross-payment-chart.js +11 -4
  358. package/dist/module/justifi-order-terminals.js +10 -4
  359. package/dist/module/justifi-payment-details.js +3 -2
  360. package/dist/module/justifi-payment-provisioning.js +13 -8
  361. package/dist/module/justifi-payment-transactions-list.js +10 -6
  362. package/dist/module/justifi-payments-list-filters.js +4 -3
  363. package/dist/module/justifi-payments-list.js +8 -4
  364. package/dist/module/justifi-payout-details.js +6 -3
  365. package/dist/module/justifi-payout-transactions-list.js +10 -7
  366. package/dist/module/justifi-payouts-list-filters.js +4 -3
  367. package/dist/module/justifi-payouts-list.js +8 -10
  368. package/dist/module/justifi-refund-payment.js +6 -4
  369. package/dist/module/justifi-season-interruption-insurance.js +10 -14
  370. package/dist/module/justifi-terminal-orders-list-filters.js +6 -4
  371. package/dist/module/justifi-terminal-orders-list.js +11 -4
  372. package/dist/module/justifi-terminals-list-filters.js +5 -3
  373. package/dist/module/justifi-terminals-list.js +8 -4
  374. package/dist/module/justifi-tokenize-payment-method.js +10 -5
  375. package/dist/module/legal-address-form-step-core.js +1 -1
  376. package/dist/module/legal-address-form-step.js +1 -1
  377. package/dist/module/new-payment-method.js +2 -3
  378. package/dist/module/owner-details2.js +1 -1
  379. package/dist/module/owner-form-core2.js +2 -1
  380. package/dist/module/package.js +1 -1
  381. package/dist/module/pagination-menu2.js +4 -4
  382. package/dist/module/parts.js +14 -5
  383. package/dist/module/payment-details-core2.js +13 -8
  384. package/dist/module/payment-method-options.js +2 -3
  385. package/dist/module/payment-provisioning-actions.js +1 -1
  386. package/dist/module/payment-provisioning-core.js +3 -2
  387. package/dist/module/payment-provisioning-form-buttons.js +2 -1
  388. package/dist/module/payment-provisioning-loading.js +1 -0
  389. package/dist/module/payment.service.js +7 -1
  390. package/dist/module/payments-list-core2.js +6 -4
  391. package/dist/module/payout-details-core2.js +7 -2
  392. package/dist/module/payout.service.js +7 -1
  393. package/dist/module/payouts-list-core2.js +7 -5
  394. package/dist/module/product-or-service.js +1 -1
  395. package/dist/module/refund-policy.js +1 -1
  396. package/dist/module/representative-details2.js +1 -1
  397. package/dist/module/season-interruption-insurance-core.js +7 -3
  398. package/dist/module/sezzle-payment-method.js +1 -1
  399. package/dist/module/shipping-details.js +1 -1
  400. package/dist/module/table-filters-menu2.js +2 -2
  401. package/dist/module/table.js +83 -0
  402. package/dist/module/terminal-orders-list-core2.js +6 -4
  403. package/dist/module/terminal-quantity-selector2.js +1 -1
  404. package/dist/module/terminal.service.js +7 -1
  405. package/dist/module/terminals-list-core2.js +6 -4
  406. package/dist/module/utils2.js +1 -1
  407. package/dist/module/utils4.js +1 -1
  408. package/dist/types/actions/checkout/get-checkouts.d.ts +1 -2
  409. package/dist/types/actions/dispute/dispute-actions.d.ts +1 -2
  410. package/dist/types/api/Api.d.ts +41 -35
  411. package/dist/types/api/Payment.d.ts +2 -0
  412. package/dist/types/api/Payout.d.ts +2 -0
  413. package/dist/types/api/index.d.ts +5 -1
  414. package/dist/types/api/services/business.service.d.ts +1 -5
  415. package/dist/types/api/services/checkout.service.d.ts +2 -2
  416. package/dist/types/api/services/dispute.service.d.ts +1 -2
  417. package/dist/types/api/services/payout.service.d.ts +1 -2
  418. package/dist/types/api/services/provision.service.d.ts +1 -1
  419. package/dist/types/api/services/reports.service.d.ts +1 -2
  420. package/dist/types/api/services/subaccounts.service.d.ts +1 -2
  421. package/dist/types/components/business-forms/business-form/business-form.d.ts +8 -6
  422. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +3 -2
  423. package/dist/types/components/checkout/card-form/card-form.d.ts +2 -1
  424. package/dist/types/components/checkout/checkout-core.d.ts +0 -1
  425. package/dist/types/components/checkout/checkout.d.ts +0 -1
  426. package/dist/types/components/checkout/new-payment-method.d.ts +0 -1
  427. package/dist/types/components/checkout/payment-method-options.d.ts +0 -1
  428. package/dist/types/components/checkouts-list/checkouts-list.d.ts +0 -1
  429. package/dist/types/components/config-provider/config-provider.d.ts +1 -1
  430. package/dist/types/components/config-provider/config-state.d.ts +1 -1
  431. package/dist/types/components/dispute-management/dispute-management.d.ts +0 -1
  432. package/dist/types/components/dispute-management/dispute-response/dispute-response-actions.d.ts +1 -2
  433. package/dist/types/components/order-terminals/order-terminals.d.ts +1 -0
  434. package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +1 -0
  435. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
  436. package/dist/types/components.d.ts +4 -20
  437. package/dist/types/styles/parts.d.ts +12 -5
  438. package/dist/types/ui-components/index.d.ts +1 -4
  439. package/dist/types/ui-components/table/index.d.ts +5 -0
  440. package/dist/types/ui-components/table/table.d.ts +9 -0
  441. package/dist/webcomponents/p-0ab2f675.entry.js +1 -0
  442. package/dist/webcomponents/p-0b57ecc3.entry.js +1 -0
  443. package/dist/webcomponents/p-0deb6a38.entry.js +1 -0
  444. package/dist/webcomponents/p-16adfe77.entry.js +1 -0
  445. package/dist/webcomponents/p-19b9c96a.entry.js +1 -0
  446. package/dist/webcomponents/p-1a85f26f.entry.js +1 -0
  447. package/dist/webcomponents/p-1b22572d.entry.js +1 -0
  448. package/dist/webcomponents/p-22a0b397.entry.js +1 -0
  449. package/dist/webcomponents/p-22e9ff07.entry.js +1 -0
  450. package/dist/webcomponents/p-24792e8e.entry.js +1 -0
  451. package/dist/webcomponents/p-25ea4450.entry.js +1 -0
  452. package/dist/webcomponents/p-2adda453.entry.js +1 -0
  453. package/dist/webcomponents/p-2b8ac00a.entry.js +1 -0
  454. package/dist/webcomponents/p-2dbc4b19.entry.js +1 -0
  455. package/dist/webcomponents/p-3368d3d5.entry.js +1 -0
  456. package/dist/webcomponents/{p-12674a89.entry.js → p-3a979295.entry.js} +1 -1
  457. package/dist/webcomponents/p-3abc8eab.entry.js +1 -0
  458. package/dist/webcomponents/{p-805269fd.entry.js → p-3babed12.entry.js} +1 -1
  459. package/dist/webcomponents/p-3e94cf62.entry.js +1 -0
  460. package/dist/webcomponents/p-40541e0c.entry.js +1 -0
  461. package/dist/webcomponents/p-4194214c.entry.js +1 -0
  462. package/dist/webcomponents/p-43d6bbed.entry.js +1 -0
  463. package/dist/webcomponents/p-44d8c2b1.entry.js +1 -0
  464. package/dist/webcomponents/p-4749e0d0.entry.js +1 -0
  465. package/dist/webcomponents/p-4ee0cd96.entry.js +1 -0
  466. package/dist/webcomponents/p-54281359.entry.js +1 -0
  467. package/dist/webcomponents/p-59abf1de.entry.js +1 -0
  468. package/dist/webcomponents/p-5e467788.entry.js +1 -0
  469. package/dist/webcomponents/{p-c899df50.entry.js → p-639baa7d.entry.js} +1 -1
  470. package/dist/webcomponents/p-6429afb4.entry.js +1 -0
  471. package/dist/webcomponents/{p-78511d66.entry.js → p-7733b67b.entry.js} +1 -1
  472. package/dist/webcomponents/p-799000c1.entry.js +1 -0
  473. package/dist/webcomponents/p-7c62b59d.entry.js +1 -0
  474. package/dist/webcomponents/p-82515f70.entry.js +1 -0
  475. package/dist/webcomponents/{p-Cixn6QDS.js → p-82kiZkHt.js} +1 -1
  476. package/dist/webcomponents/p-83154291.entry.js +1 -0
  477. package/dist/webcomponents/p-84d27581.entry.js +1 -0
  478. package/dist/webcomponents/{p-4f98895d.entry.js → p-90c24cda.entry.js} +1 -1
  479. package/dist/webcomponents/p-9105f700.entry.js +1 -0
  480. package/dist/webcomponents/p-916ea4fc.entry.js +1 -0
  481. package/dist/webcomponents/p-935bbc62.entry.js +1 -0
  482. package/dist/webcomponents/p-935fa555.entry.js +1 -0
  483. package/dist/webcomponents/p-947239a6.entry.js +1 -0
  484. package/dist/webcomponents/p-99b080d9.entry.js +1 -0
  485. package/dist/webcomponents/p-B0cQ2RjH.js +1 -0
  486. package/dist/webcomponents/p-B190pN0v.js +1 -0
  487. package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
  488. package/dist/webcomponents/p-BM5lviat.js +1 -0
  489. package/dist/webcomponents/{p-bplwtwD3.js → p-BTS3E50C.js} +1 -1
  490. package/dist/webcomponents/p-BWJ7zamv.js +1 -0
  491. package/dist/webcomponents/p-BiPRf6d2.js +1 -0
  492. package/dist/webcomponents/p-BmWpHZ-Z.js +1 -0
  493. package/dist/webcomponents/p-BrLVc_85.js +1 -0
  494. package/dist/webcomponents/{p-DyIEclkx.js → p-ByRPlUBS.js} +1 -1
  495. package/dist/webcomponents/p-BzPi8Ea_.js +1 -0
  496. package/dist/webcomponents/p-C0IqfGFc.js +1 -0
  497. package/dist/webcomponents/p-C0UUR9CN.js +1 -0
  498. package/dist/webcomponents/{p-D9q8WsW5.js → p-C0WFYqwq.js} +1 -1
  499. package/dist/webcomponents/{p-CegkOiUz.js → p-CCGhF18e.js} +1 -1
  500. package/dist/webcomponents/p-CQdeVKF8.js +1 -0
  501. package/dist/webcomponents/p-CZfYo5-1.js +1 -0
  502. package/dist/webcomponents/p-CffckWWF.js +1 -0
  503. package/dist/webcomponents/{p-BQEAUdoy.js → p-CgxzrbM_.js} +1 -1
  504. package/dist/webcomponents/p-D0ptm6-3.js +1 -0
  505. package/dist/webcomponents/{p-CN_YheWL.js → p-D4Mv5jCp.js} +1 -1
  506. package/dist/webcomponents/{p-GTA6l_sT.js → p-D5XSsLKb.js} +1 -1
  507. package/dist/webcomponents/p-DNt_pMGt.js +1 -0
  508. package/dist/webcomponents/p-DPiTQ9dr.js +1 -0
  509. package/dist/webcomponents/p-DZfxGQ1I.js +1 -0
  510. package/dist/webcomponents/p-DgfzEZny.js +1 -0
  511. package/dist/webcomponents/p-DuBhW0xA.js +1 -0
  512. package/dist/webcomponents/p-DvHZ2jYI.js +1 -0
  513. package/dist/webcomponents/p-M61ygz6l.js +1 -0
  514. package/dist/webcomponents/{p-KLQjERL5.js → p-OSmuQKbK.js} +1 -1
  515. package/dist/webcomponents/p-U30-0DaA.js +1 -0
  516. package/dist/webcomponents/p-ZE1NEnP3.js +1 -0
  517. package/dist/webcomponents/p-a46730eb.entry.js +1 -0
  518. package/dist/webcomponents/p-a4dd3835.entry.js +1 -0
  519. package/dist/webcomponents/p-ad85bd0d.entry.js +1 -0
  520. package/dist/webcomponents/p-af2c38f7.entry.js +1 -0
  521. package/dist/webcomponents/{p-b182796a.entry.js → p-afa54e39.entry.js} +1 -1
  522. package/dist/webcomponents/{p-493c9bd9.entry.js → p-b2192f8b.entry.js} +1 -1
  523. package/dist/webcomponents/p-bb50155f.entry.js +1 -0
  524. package/dist/webcomponents/p-bf3e8295.entry.js +1 -0
  525. package/dist/webcomponents/p-cNABKY0P.js +1 -0
  526. package/dist/webcomponents/p-cab175e9.entry.js +1 -0
  527. package/dist/webcomponents/p-ceefc483.entry.js +1 -0
  528. package/dist/webcomponents/{p-BdNmdBIx.js → p-d-_oUZor.js} +1 -1
  529. package/dist/webcomponents/p-d1331dbb.entry.js +1 -0
  530. package/dist/webcomponents/{p-5a1238a1.entry.js → p-d2dc6f22.entry.js} +3 -3
  531. package/dist/webcomponents/p-d9c70010.entry.js +1 -0
  532. package/dist/webcomponents/p-dd05cce1.entry.js +1 -0
  533. package/dist/webcomponents/p-e00aeb33.entry.js +1 -0
  534. package/dist/webcomponents/p-e1c5ee0a.entry.js +1 -0
  535. package/dist/webcomponents/p-ea8dd3e7.entry.js +1 -0
  536. package/dist/webcomponents/p-f389c2aa.entry.js +1 -0
  537. package/dist/webcomponents/p-f8b205f7.entry.js +1 -0
  538. package/dist/webcomponents/p-l3o3Ndc0.js +1 -0
  539. package/dist/webcomponents/p-n2YROtpe.js +1 -0
  540. package/dist/webcomponents/p-o_73WSki.js +1 -0
  541. package/dist/webcomponents/p-vb3fTJEZ.js +1 -0
  542. package/dist/webcomponents/webcomponents.esm.js +1 -1
  543. package/package.json +1 -1
  544. package/dist/cjs/Api-KMweahmp.js +0 -74
  545. package/dist/cjs/Document-rXGBUaOh.js +0 -58
  546. package/dist/cjs/checkout.service-DP9FnXBx.js +0 -40
  547. package/dist/collection/api/ApiNew.js +0 -82
  548. package/dist/collection/ui-components/table/exported-parts.js +0 -5
  549. package/dist/esm/Api-C9CDE-UM.js +0 -72
  550. package/dist/esm/Document-Ct-uNz2r.js +0 -55
  551. package/dist/esm/checkout.service-92ld4w-G.js +0 -38
  552. package/dist/esm/dispute.service-H2Oaq2af.js +0 -37
  553. package/dist/esm/event-types-BIryDMGV.js +0 -62
  554. package/dist/module/ApiNew.js +0 -84
  555. package/dist/module/ComponentError.js +0 -21
  556. package/dist/types/api/ApiNew.d.ts +0 -61
  557. package/dist/types/ui-components/table/exported-parts.d.ts +0 -1
  558. package/dist/webcomponents/p-00eb2bc9.entry.js +0 -1
  559. package/dist/webcomponents/p-0c2f2ea9.entry.js +0 -1
  560. package/dist/webcomponents/p-11344996.entry.js +0 -1
  561. package/dist/webcomponents/p-19581139.entry.js +0 -1
  562. package/dist/webcomponents/p-19d21f35.entry.js +0 -1
  563. package/dist/webcomponents/p-2294e63b.entry.js +0 -1
  564. package/dist/webcomponents/p-24e04f78.entry.js +0 -1
  565. package/dist/webcomponents/p-2P4kwjNi.js +0 -1
  566. package/dist/webcomponents/p-30466d27.entry.js +0 -1
  567. package/dist/webcomponents/p-32c156c6.entry.js +0 -1
  568. package/dist/webcomponents/p-32ff6641.entry.js +0 -1
  569. package/dist/webcomponents/p-38d6c034.entry.js +0 -1
  570. package/dist/webcomponents/p-3add8d1b.entry.js +0 -1
  571. package/dist/webcomponents/p-3c01edb0.entry.js +0 -1
  572. package/dist/webcomponents/p-3cd9d9d8.entry.js +0 -1
  573. package/dist/webcomponents/p-4028ccb0.entry.js +0 -1
  574. package/dist/webcomponents/p-43140695.entry.js +0 -1
  575. package/dist/webcomponents/p-4ac754e7.entry.js +0 -1
  576. package/dist/webcomponents/p-4afcb015.entry.js +0 -1
  577. package/dist/webcomponents/p-4c64b1e9.entry.js +0 -1
  578. package/dist/webcomponents/p-4e3aca7a.entry.js +0 -1
  579. package/dist/webcomponents/p-4e489cf9.entry.js +0 -1
  580. package/dist/webcomponents/p-4e61f480.entry.js +0 -1
  581. package/dist/webcomponents/p-4fc851c0.entry.js +0 -1
  582. package/dist/webcomponents/p-526be31d.entry.js +0 -1
  583. package/dist/webcomponents/p-575fc637.entry.js +0 -1
  584. package/dist/webcomponents/p-581ca781.entry.js +0 -1
  585. package/dist/webcomponents/p-5b4cbfd4.entry.js +0 -1
  586. package/dist/webcomponents/p-5d8d1818.entry.js +0 -1
  587. package/dist/webcomponents/p-5eb85754.entry.js +0 -1
  588. package/dist/webcomponents/p-5f02ec20.entry.js +0 -1
  589. package/dist/webcomponents/p-6567b171.entry.js +0 -1
  590. package/dist/webcomponents/p-6d701784.entry.js +0 -1
  591. package/dist/webcomponents/p-7b649051.entry.js +0 -1
  592. package/dist/webcomponents/p-9d354918.entry.js +0 -1
  593. package/dist/webcomponents/p-AVaenhw9.js +0 -1
  594. package/dist/webcomponents/p-B4Bi1JkP.js +0 -1
  595. package/dist/webcomponents/p-BBsCnePk.js +0 -1
  596. package/dist/webcomponents/p-BHbsXXRt.js +0 -1
  597. package/dist/webcomponents/p-BMDJA9xX.js +0 -1
  598. package/dist/webcomponents/p-BS-e1gnL.js +0 -1
  599. package/dist/webcomponents/p-BXey6mVj.js +0 -1
  600. package/dist/webcomponents/p-Bl3qFMoN.js +0 -1
  601. package/dist/webcomponents/p-Bl79NorO.js +0 -1
  602. package/dist/webcomponents/p-Bxs6fi7a.js +0 -1
  603. package/dist/webcomponents/p-CPXN4Ths.js +0 -1
  604. package/dist/webcomponents/p-CSwEbNEl.js +0 -1
  605. package/dist/webcomponents/p-CWpAvtGa.js +0 -1
  606. package/dist/webcomponents/p-C_9TcvwA.js +0 -1
  607. package/dist/webcomponents/p-CiKdTI9h.js +0 -1
  608. package/dist/webcomponents/p-CjO1GttX.js +0 -1
  609. package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
  610. package/dist/webcomponents/p-Cy4aIACq.js +0 -1
  611. package/dist/webcomponents/p-D2EbqwBe.js +0 -1
  612. package/dist/webcomponents/p-DD14E0K0.js +0 -1
  613. package/dist/webcomponents/p-DavDfnxI.js +0 -1
  614. package/dist/webcomponents/p-DmIOVniD.js +0 -1
  615. package/dist/webcomponents/p-Dss1xCBW.js +0 -1
  616. package/dist/webcomponents/p-Dumd8fMw.js +0 -1
  617. package/dist/webcomponents/p-ERVEQjR2.js +0 -1
  618. package/dist/webcomponents/p-OjYukdAC.js +0 -1
  619. package/dist/webcomponents/p-_bsEVFir.js +0 -1
  620. package/dist/webcomponents/p-a2f77373.entry.js +0 -1
  621. package/dist/webcomponents/p-a4c08055.entry.js +0 -1
  622. package/dist/webcomponents/p-a93cceca.entry.js +0 -1
  623. package/dist/webcomponents/p-ab5cde61.entry.js +0 -1
  624. package/dist/webcomponents/p-ac98a15e.entry.js +0 -1
  625. package/dist/webcomponents/p-b0430518.entry.js +0 -1
  626. package/dist/webcomponents/p-b05693c6.entry.js +0 -1
  627. package/dist/webcomponents/p-b25b8534.entry.js +0 -1
  628. package/dist/webcomponents/p-b2db4fae.entry.js +0 -1
  629. package/dist/webcomponents/p-bb5c9475.entry.js +0 -1
  630. package/dist/webcomponents/p-bb97192f.entry.js +0 -1
  631. package/dist/webcomponents/p-c77481fe.entry.js +0 -1
  632. package/dist/webcomponents/p-ca11ad58.entry.js +0 -1
  633. package/dist/webcomponents/p-d06f7faf.entry.js +0 -1
  634. package/dist/webcomponents/p-d2fbf7ea.entry.js +0 -1
  635. package/dist/webcomponents/p-d7a04fdd.entry.js +0 -1
  636. package/dist/webcomponents/p-d8f7a73b.entry.js +0 -1
  637. package/dist/webcomponents/p-d90b8cc2.entry.js +0 -1
  638. package/dist/webcomponents/p-e558eab8.entry.js +0 -1
  639. package/dist/webcomponents/p-f2dc1405.entry.js +0 -1
  640. package/dist/webcomponents/p-oPo_KSwO.js +0 -1
  641. /package/dist/collection/{ui-components → components}/filters/utils.js +0 -0
  642. /package/dist/types/{ui-components → components}/filters/table-filters-menu.d.ts +0 -0
  643. /package/dist/types/{ui-components → components}/filters/utils.d.ts +0 -0
  644. /package/dist/types/ui-components/{table-empty-state.d.ts → table/table-empty-state.d.ts} +0 -0
  645. /package/dist/types/ui-components/{table-error-state.d.ts → table/table-error-state.d.ts} +0 -0
  646. /package/dist/types/ui-components/{table-loading-state.d.ts → table/table-loading-state.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ import{h as e,r as t,c as a}from"./p-D6FDxSyt.js";import{d,b as s,s as i}from"./p-CpTwq2jw.js";import{M as c}from"./p-C0WFYqwq.js";import{a as b,b as f,D as l,c as h,C as r,E as o}from"./p-l3o3Ndc0.js";import{S as y}from"./p-DuYlA4lj.js";import"./p-CZfYo5-1.js";import{S as p}from"./p-U30-0DaA.js";import{a as n,B as v}from"./p-D5XSsLKb.js";import"./p-BFTU3MAI.js";import"./p-BrLVc_85.js";const u=()=>e("div",{class:"row gap-3"},e("div",{class:"col-12"},e(p,{width:"35%",height:"30px"})),e("div",{class:"col-12"},e(p,{width:"70%"})),e("div",{class:"col-12"},e(p,{width:"40%"})),e("div",{class:"col-12"},e(p,{width:"40%"})),e("div",{class:"col-12"},e(p,{width:"100%"})),e("div",{class:"col-12"},e(p,{width:"80%"}))),k=class{constructor(e){t(this,e),this.errorEvent=a(this,"error-event"),this.loading=!0}componentWillLoad(){this.getPaymentDetails&&this.fetchData()}updateOnPropChange(){this.fetchData()}fetchData(){this.loading=!0,this.getPaymentDetails({onSuccess:({payment:e})=>{this.payment=e,this.errorMessage=null},onError:({error:e,code:t,severity:a})=>{this.errorMessage=e,this.errorEvent.emit({errorCode:t,message:e,severity:a})},final:()=>{this.loading=!1}})}render(){return e(y,{key:"db2d2ec374cf0743db6bfe43e0b8f77572e9cdfd"},this.loading&&e(u,{key:"c5b7481c55723d7ab8eb9b8001efadfe33c82532"}),!this.loading&&this.errorMessage&&o(this.errorMessage),!this.loading&&!this.errorMessage&&this.payment&&e("justifi-details",{key:"cbbd4166213c49a85c70fab920024f876394a24b","error-message":this.errorMessage},e(b,{key:"645552490a3d5115af19d4b3ff3d5dc80b9d3038",slot:"head-info",badge:e("div",{class:"d-flex gap-1"},c(this.payment.status),this.payment.expedited?e(n,{variant:v.WARNING,title:"Expedited",text:"Expedited"}):null),title:this.payment.formattedPaymentAmount(this.payment.amount)},e(f,{key:"968b2420a648b0c12753dbae1ea966ba0ecd4b5e",classes:"border-1 border-end",title:"Updated At",value:`${d(this.payment.updated_at)} ${s(this.payment.updated_at)}`}),e(f,{key:"056a4d72223eba4225ec6fa3f52c028be21d3fbe",classes:"border-1 border-end",title:"Created At",value:`${d(this.payment.created_at)} ${s(this.payment.created_at)}`}),e(f,{key:"8a010c36e237479a318dd6d03026a9b36fc78eab",title:"ID",value:this.payment.id})),e("div",{key:"fbbb9dd12d129fd589228f23eef25ad2d048e5ba",slot:"detail-sections"},e(l,{key:"51a4d8bdc3e66c17dabb77cbdcf06cd3cfdbe7e8",sectionTitle:"Details"}),e("div",{key:"ce03ec8c368f24487ca5cf267dcc0237b4637595",class:"d-table gap-2 w-100"},e(h,{key:"35b94e984c638b461a26156acb08cf1647a065e4",title:"Amount",value:this.payment.formattedPaymentAmount(this.payment.amount)}),e(h,{key:"5398feb78b40735d773889c57517de8784f043f0",title:"Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(h,{key:"e2667dba443e74b4139137d7194538b4799c59d4",title:"Refunded",value:this.payment.formattedPaymentAmount(this.payment.amount_refunded)}),e(h,{key:"3cc3a74d90a0d10fe5f79c6e3fa942147bdf37f0",title:"Net",value:this.payment.formattedPaymentAmount(this.payment.balance)}),e(h,{key:"e7f942356e5810ed1f6836002e03fab078e7da24",title:"Status",value:c(this.payment.status)}),e(h,{key:"4ed5bb3102ab533914f8841de5f3bb38e059cca0",title:"Payment ID",value:this.payment.id}),e(h,{key:"ffe0e3990db78c2e57133865f8ab5314698a6126",title:"Processing Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(h,{key:"a0defbb3e570929e4667c7d96beb23a2b21090f2",title:"Statement Descriptor",value:this.payment.statement_descriptor}),e(h,{key:"a196e9c84f30e0cbab086c02caa15188adae0fe5",title:"Description",value:this.payment.description}),e(h,{key:"3f0215fbb1faf2defb2a614d1bb463f43f4edc97",title:"Expedited",value:this.payment.expedited?"Yes":"No"})),this.payment.payment_method.card&&[e(l,{key:"3627159fa135d895c1591c1146daf6b1b3fcff3e",sectionTitle:"Payment Method"}),e("div",{key:"00340647cfb3421627b587bcfd3e81d6cf9cb271",class:"d-table gap-2 w-100"},e(h,{key:"b89fd68b547f48c42636b7b0904f9c518a135a84",title:"ID",value:this.payment.payment_method.card.id}),e(h,{key:"2998d39cc3d133398f2e482cd47f5d5eb2fd9bc6",title:"Payment Type",value:"Card"}),e(h,{key:"23259226da35ecd71d07685484145d547eebcfa5",title:"Last 4 Numbers",value:this.payment.payment_method.lastFourDigits}),e(h,{key:"090a22f97bfb43ffae0c7c475ee6f9c00d92193b",title:"Brand",value:i(this.payment.payment_method.card.brand)}),e(h,{key:"72c41739c55d99c9efbc0d5c77fcfa0049d5c21a",title:"Cardholder",value:this.payment.payment_method.payersName}))],this.payment.payment_method.bank_account&&[e(l,{key:"55bfec78982d1a44c5ea863e4c5bdc64cd61f241",sectionTitle:"Payment Method"}),e("div",{key:"da3be8d900f1db7b0337a27e91c90d424b4970d5",class:"d-table gap-2 w-100"},e(h,{key:"bfcd4367c607055397d8d4417dc671d5f262acd2",title:"ID",value:this.payment.payment_method.bank_account.id}),e(h,{key:"a5ba2164eadb8bd424889cd6ed02db4679d75f91",title:"Last 4 Numbers",value:this.payment.last_four_digits}),e(h,{key:"96a3c52d38c8fe6dabaa032e41f87946a1fb5333",title:"Bank Name",value:this.payment.payment_method.bank_account.brand}),e(h,{key:"3dfa62ba43bd18533104b8e608ce4303a75b6451",title:"Account Owner",value:this.payment.payment_method.payersName}))],this.payment.metadata&&[e(l,{key:"6d180793de4f1d8e13c0af9e30d44faf121733cd",sectionTitle:"Metadata"}),e("div",{key:"76b6e75ace2f243ad86dc5f66aed0aa505a35181",class:"d-table gap-2 w-100"},e(r,{key:"a3ee69d8d8699a15980f170a087925d3458135a4",metadata:this.payment.metadata}))])))}static get watchers(){return{getPaymentDetails:["updateOnPropChange"]}}};export{k as payment_details_core}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as r}from"./p-D6FDxSyt.js";import{A as o}from"./p-OSmuQKbK.js";import{C as i,a as e}from"./p-SdntD1xf.js";import"./p-BjB_yKBJ.js";import"./p-CLHwhyvu.js";import"./p-CffckWWF.js";import"./p-BzPi8Ea_.js";import"./p-BrvbVMVq.js";import"./p-BH0Xfn-F.js";import{g as p,a}from"./p-C5RuuShs.js";import{E as n}from"./p-l3o3Ndc0.js";import{c as h,J as c}from"./p-BiPRf6d2.js";import"./p-D4Mv5jCp.js";import"./p-Cd06j2SL.js";import"./p-CpTwq2jw.js";import"./p-BFTU3MAI.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-BrLVc_85.js";import"./p-DPiTQ9dr.js";const m=o();class u{async fetchGrossVolumeChartData(t,s){return m.get({endpoint:`account/${t}/reports/gross_volume`,authToken:s})}}const d=class{constructor(r){t(this,r),this.errorEvent=s(this,"error-event"),this.errorMessage=null,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)}}componentWillLoad(){h(),this.analytics=new c(this),this.initializeGetGrossPayment()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeGetGrossPayment()}initializeGetGrossPayment(){this.accountId&&this.authToken?this.getGrossPayment=(({id:t,authToken:s,service:r})=>async({onSuccess:o,onError:e})=>{var n;try{const h=await r.fetchGrossVolumeChartData(t,s);h.error?e({error:a(h.error),code:p(null===(n=h.error)||void 0===n?void 0:n.code),severity:i.ERROR}):o(h.data)}catch(t){const s=p(null==t?void 0:t.code);e({error:a(t),code:s,severity:i.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new u}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:e.MISSING_PROPS,message:this.errorMessage,severity:i.ERROR}))}render(){return this.errorMessage?n(this.errorMessage):r("gross-payment-chart-core",{getGrossPayment:this.getGrossPayment,"onError-event":this.handleErrorEvent})}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{d as justifi_gross_payment_chart}
@@ -1 +1 @@
1
- import{r as l,h as i,H as t}from"./p-D6FDxSyt.js";import{c as e,D as s}from"./p-_bsEVFir.js";import{l as v,s as o,m as d}from"./p-CpTwq2jw.js";import"./p-CjO1GttX.js";import"./p-BFTU3MAI.js";const u=class{constructor(i){l(this,i)}render(){var l,o;return v(this.additionalQuestions)?null:i(t,null,i(s,{sectionTitle:"Additional Questions"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Business Revenue",value:null===(l=this.additionalQuestions.business_revenue)||void 0===l?void 0:l.toString()}),i(e,{title:"Business Payment Volume",value:null===(o=this.additionalQuestions.business_payment_volume)||void 0===o?void 0:o.toString()})))))}},a=class{constructor(i){l(this,i)}render(){var l,v,d,u,a,n,r,c;return this.business?i(t,null,i(s,{sectionTitle:"Business Generic Info Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Legal Name",value:null===(l=this.business)||void 0===l?void 0:l.legal_name}),i(e,{title:"Doing Business As (DBA)",value:null===(v=this.business)||void 0===v?void 0:v.doing_business_as}),i(e,{title:"Business Classification",value:o(null===(d=this.business)||void 0===d?void 0:d.classification)}),i(e,{title:"Industry",value:null===(u=this.business)||void 0===u?void 0:u.industry})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Tax ID",value:null===(a=this.business)||void 0===a?void 0:a.tax_id}),i(e,{title:"Website URL",value:null===(n=this.business)||void 0===n?void 0:n.website_url}),i(e,{title:"Email Address",value:null===(r=this.business)||void 0===r?void 0:r.email}),i(e,{title:"Phone Number",value:null===(c=this.business)||void 0===c?void 0:c.phone}))))):null}},n=class{constructor(i){l(this,i)}render(){var l,o,d,u,a,n,r;return v(this.legalAddress)?null:i(t,null,i(s,{sectionTitle:"Business Legal Address Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Country",value:null===(l=this.legalAddress)||void 0===l?void 0:l.country}),i(e,{title:"Legal Address",value:null===(o=this.legalAddress)||void 0===o?void 0:o.line1}),i(e,{title:"Address Line 2",value:null===(d=this.legalAddress)||void 0===d?void 0:d.line2})),i("div",{class:"col-12 col-md-6"},i(e,{title:"City",value:null===(u=this.legalAddress)||void 0===u?void 0:u.city}),i(e,{title:"State",value:null===(a=this.legalAddress)||void 0===a?void 0:a.state}),i(e,{title:"Postal Code",value:null===(r=null===(n=this.legalAddress)||void 0===n?void 0:n.postal_code)||void 0===r?void 0:r.toString()})))))}},r=class{constructor(i){l(this,i)}render(){var l;return(null===(l=null==this?void 0:this.owners)||void 0===l?void 0:l.length)?i(t,null,!!(null==this?void 0:this.owners.length)&&this.owners.map((l=>{var t,v,o,u,a;return[i(s,{sectionTitle:`Owner ${null==l?void 0:l.name}'s Details`}),i("div",{class:"d-table gap-2 w-100 mt-3"},i(e,{title:"Name",value:null==l?void 0:l.name}),i(e,{title:"Title",value:null==l?void 0:l.title}),i(e,{title:"Email",value:null==l?void 0:l.email}),i(e,{title:"Phone",value:null==l?void 0:l.phone}),i(e,{title:"Date of Birth",value:d(new Date(Number(null==l?void 0:l.dob_day),Number(null==l?void 0:l.dob_month),Number(null==l?void 0:l.dob_year)))}),i(e,{title:"Identification Number",value:`********${null==l?void 0:l.ssn_last4}`}),i(e,{title:"Line 1",value:null===(t=null==l?void 0:l.address)||void 0===t?void 0:t.line1}),i(e,{title:"Line 2",value:null===(v=null==l?void 0:l.address)||void 0===v?void 0:v.line2}),i(e,{title:"City",value:null===(o=null==l?void 0:l.address)||void 0===o?void 0:o.city}),i(e,{title:"State",value:null===(u=null==l?void 0:l.address)||void 0===u?void 0:u.state}),i(e,{title:"Zip",value:null===(a=null==l?void 0:l.address)||void 0===a?void 0:a.postal_code}))]}))):null}},c=class{constructor(i){l(this,i)}render(){var l,o,u,a,n,r,c,h,m,p,w,b,g,D;return v(this.representative)?null:i(t,null,i(s,{sectionTitle:"Representative Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Name",value:null===(l=this.representative)||void 0===l?void 0:l.name}),i(e,{title:"ID",value:null===(o=this.representative)||void 0===o?void 0:o.id}),i(e,{title:"Address",value:null===(a=null===(u=this.representative)||void 0===u?void 0:u.address)||void 0===a?void 0:a.line1}),i(e,{title:"Created At",value:(null===(n=this.representative)||void 0===n?void 0:n.created_at)&&d(null===(r=this.representative)||void 0===r?void 0:r.created_at)})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Title",value:null===(c=this.representative)||void 0===c?void 0:c.title}),i(e,{title:"Is Owner?",value:null===(h=this.representative)||void 0===h?void 0:h.is_owner.toString()}),i(e,{title:"Date Of Birth",value:this.representative&&d(new Date(Number(null===(m=this.representative)||void 0===m?void 0:m.dob_year),Number(null===(p=this.representative)||void 0===p?void 0:p.dob_month)-1,Number(null===(w=this.representative)||void 0===w?void 0:w.dob_day)))}),i(e,{title:"Email",value:null===(b=this.representative)||void 0===b?void 0:b.email}),i(e,{title:"Phone",value:null===(g=this.representative)||void 0===g?void 0:g.phone}),i(e,{title:"Updated At",value:this.representative&&d(null===(D=this.representative)||void 0===D?void 0:D.updated_at)})))))}};export{u as additional_questions_details,a as generic_info_details,n as legal_address_details,r as owner_details,c as representative_details}
1
+ import{r as l,h as i,H as t}from"./p-D6FDxSyt.js";import{c as e,D as s}from"./p-l3o3Ndc0.js";import{l as o,s as v,m as d}from"./p-CpTwq2jw.js";import"./p-BrLVc_85.js";import"./p-BFTU3MAI.js";const u=class{constructor(i){l(this,i)}render(){var l,v;return o(this.additionalQuestions)?null:i(t,null,i(s,{sectionTitle:"Additional Questions"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Business Revenue",value:null===(l=this.additionalQuestions.business_revenue)||void 0===l?void 0:l.toString()}),i(e,{title:"Business Payment Volume",value:null===(v=this.additionalQuestions.business_payment_volume)||void 0===v?void 0:v.toString()})))))}},a=class{constructor(i){l(this,i)}render(){var l,o,d,u,a,n,r,c;return this.business?i(t,null,i(s,{sectionTitle:"Business Generic Info Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Legal Name",value:null===(l=this.business)||void 0===l?void 0:l.legal_name}),i(e,{title:"Doing Business As (DBA)",value:null===(o=this.business)||void 0===o?void 0:o.doing_business_as}),i(e,{title:"Business Classification",value:v(null===(d=this.business)||void 0===d?void 0:d.classification)}),i(e,{title:"Industry",value:null===(u=this.business)||void 0===u?void 0:u.industry})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Tax ID",value:null===(a=this.business)||void 0===a?void 0:a.tax_id}),i(e,{title:"Website URL",value:null===(n=this.business)||void 0===n?void 0:n.website_url}),i(e,{title:"Email Address",value:null===(r=this.business)||void 0===r?void 0:r.email}),i(e,{title:"Phone Number",value:null===(c=this.business)||void 0===c?void 0:c.phone}))))):null}},n=class{constructor(i){l(this,i)}render(){var l,v,d,u,a,n,r;return o(this.legalAddress)?null:i(t,null,i(s,{sectionTitle:"Business Legal Address Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Country",value:null===(l=this.legalAddress)||void 0===l?void 0:l.country}),i(e,{title:"Legal Address",value:null===(v=this.legalAddress)||void 0===v?void 0:v.line1}),i(e,{title:"Address Line 2",value:null===(d=this.legalAddress)||void 0===d?void 0:d.line2})),i("div",{class:"col-12 col-md-6"},i(e,{title:"City",value:null===(u=this.legalAddress)||void 0===u?void 0:u.city}),i(e,{title:"State",value:null===(a=this.legalAddress)||void 0===a?void 0:a.state}),i(e,{title:"Postal Code",value:null===(r=null===(n=this.legalAddress)||void 0===n?void 0:n.postal_code)||void 0===r?void 0:r.toString()})))))}},r=class{constructor(i){l(this,i)}render(){var l;return(null===(l=null==this?void 0:this.owners)||void 0===l?void 0:l.length)?i(t,null,!!(null==this?void 0:this.owners.length)&&this.owners.map((l=>{var t,o,v,u,a;return[i(s,{sectionTitle:`Owner ${null==l?void 0:l.name}'s Details`}),i("div",{class:"d-table gap-2 w-100 mt-3"},i(e,{title:"Name",value:null==l?void 0:l.name}),i(e,{title:"Title",value:null==l?void 0:l.title}),i(e,{title:"Email",value:null==l?void 0:l.email}),i(e,{title:"Phone",value:null==l?void 0:l.phone}),i(e,{title:"Date of Birth",value:d(new Date(Number(null==l?void 0:l.dob_day),Number(null==l?void 0:l.dob_month),Number(null==l?void 0:l.dob_year)))}),i(e,{title:"Identification Number",value:`********${null==l?void 0:l.ssn_last4}`}),i(e,{title:"Line 1",value:null===(t=null==l?void 0:l.address)||void 0===t?void 0:t.line1}),i(e,{title:"Line 2",value:null===(o=null==l?void 0:l.address)||void 0===o?void 0:o.line2}),i(e,{title:"City",value:null===(v=null==l?void 0:l.address)||void 0===v?void 0:v.city}),i(e,{title:"State",value:null===(u=null==l?void 0:l.address)||void 0===u?void 0:u.state}),i(e,{title:"Zip",value:null===(a=null==l?void 0:l.address)||void 0===a?void 0:a.postal_code}))]}))):null}},c=class{constructor(i){l(this,i)}render(){var l,v,u,a,n,r,c,h,m,p,w,g,D,b;return o(this.representative)?null:i(t,null,i(s,{sectionTitle:"Representative Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Name",value:null===(l=this.representative)||void 0===l?void 0:l.name}),i(e,{title:"ID",value:null===(v=this.representative)||void 0===v?void 0:v.id}),i(e,{title:"Address",value:null===(a=null===(u=this.representative)||void 0===u?void 0:u.address)||void 0===a?void 0:a.line1}),i(e,{title:"Created At",value:(null===(n=this.representative)||void 0===n?void 0:n.created_at)&&d(null===(r=this.representative)||void 0===r?void 0:r.created_at)})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Title",value:null===(c=this.representative)||void 0===c?void 0:c.title}),i(e,{title:"Is Owner?",value:null===(h=this.representative)||void 0===h?void 0:h.is_owner.toString()}),i(e,{title:"Date Of Birth",value:this.representative&&d(new Date(Number(null===(m=this.representative)||void 0===m?void 0:m.dob_year),Number(null===(p=this.representative)||void 0===p?void 0:p.dob_month)-1,Number(null===(w=this.representative)||void 0===w?void 0:w.dob_day)))}),i(e,{title:"Email",value:null===(g=this.representative)||void 0===g?void 0:g.email}),i(e,{title:"Phone",value:null===(D=this.representative)||void 0===D?void 0:D.phone}),i(e,{title:"Updated At",value:this.representative&&d(null===(b=this.representative)||void 0===b?void 0:b.updated_at)})))))}};export{u as additional_questions_details,a as generic_info_details,n as legal_address_details,r as owner_details,c as representative_details}
@@ -1 +1 @@
1
- import{r as e,h as a,H as t}from"./p-D6FDxSyt.js";import{ak as l,F as d}from"./p-CjO1GttX.js";import{a as i,r as s,s as c,b as o}from"./p-IA90llLO.js";import{C as r,T as n,P as f,S as b}from"./p-B-iV5cYd.js";import{C as u}from"./p-BrvbVMVq.js";import{d as h}from"./p-Dt-vy9Le.js";import{S as m}from"./p-BX8GieXu.js";import{n as v}from"./p-BnjCmwMr.js";const y=class{constructor(a){e(this,a)}render(){return this.text?this.hideAlert?null:a("div",{class:"alert alert-danger d-flex align-items-center",role:"alert",part:l},a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",class:"bi bi-exclamation-triangle-fill flex-shrink-0 me-2",viewBox:"0 0 16 16",role:"img","aria-label":"Warning:"},a("path",{d:"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})),a("div",null,this.text)):null}},p=class{constructor(a){e(this,a),this.errors={},this.additional_questions={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.additional_questions=Object.assign({},e.additional_questions)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{additional_questions:Object.assign(Object.assign({},this.formController.values.getValue().additional_questions),{[e]:a})}))}render(){var e,l,o,n,f,b,u,h,m,v,y,p,k,x;const j=this.formController.getInitialValues().additional_questions;return a(t,{key:"6e2549b906fec8928dae89a4f143916a2b50eff3"},a("fieldset",{key:"525eab0debf75c3996c45128e9431086e49c3850"},a("legend",{key:"adeb6e2a32fb4f9e991d7b4843569116e336743c",part:d},"Additional Questions"),a("div",{key:"29b55613d32bc434017fc561033c6c9b8800666d",class:"row gy-3"},a("div",{key:"80c1d6b2c5e52c5fe0f8b9c3591bb315e51f7c55",class:"col-12 col-md-6"},a("form-control-monetary-provisioning",{key:"e69e6c75d3a6add592e90e3709d7b7ff694ebfe0",name:"business_revenue",label:"What is the business' estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(l=null===(e=this.errors)||void 0===e?void 0:e.additional_questions)||void 0===l?void 0:l.business_revenue,defaultValue:null==j?void 0:j.business_revenue,maskOptions:r.WHOLE})),a("div",{key:"af0e66f6f647ed7248e0d861707cc378c85b0dce",class:"col-12 col-md-6"},a("form-control-monetary-provisioning",{key:"e1f6af9f7537bf4d4e96739ff7537be01ca9371c",name:"business_payment_volume",label:"What is the business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(n=null===(o=this.errors)||void 0===o?void 0:o.additional_questions)||void 0===n?void 0:n.business_payment_volume,defaultValue:null==j?void 0:j.business_payment_volume,maskOptions:r.WHOLE})),a("div",{key:"b914a2f8abd79eab79d284f1ece9850f4a417893",class:"col-12"},a("form-control-select",{key:"8954dfe23f7984810fbae657ac9995e40253b377",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===(b=null===(f=this.errors)||void 0===f?void 0:f.additional_questions)||void 0===b?void 0:b.business_when_service_received,options:i,defaultValue:null==j?void 0:j.business_when_service_received})),a("div",{key:"da533644fd51e8678fc80d49c7db0ce20a803019",class:"col-12"},a("form-control-select",{key:"06c23865a5bbda38b294dd4edfee6ace942fb732",name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.additional_questions)||void 0===h?void 0:h.business_recurring_payments,options:s,defaultValue:null==j?void 0:j.business_recurring_payments})),a("div",{key:"bb492db9aea205138ef76cf6fc7c3f686bb41a79",class:"col-12"},a("form-control-text",{key:"a3f900076730b504587619ff9c4c13ecce36f541",name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(v=null===(m=this.errors)||void 0===m?void 0:m.additional_questions)||void 0===v?void 0:v.business_recurring_payments_percentage,defaultValue:null==j?void 0:j.business_recurring_payments_percentage})),a("div",{key:"e2f56ae5d9654bdb1077689a1ef59c9047e97bda",class:"col-12"},a("form-control-select",{key:"697e41186b4c82046e50288594681117bf8dd6fe",name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(p=null===(y=this.errors)||void 0===y?void 0:y.additional_questions)||void 0===p?void 0:p.business_seasonal,options:c,defaultValue:null==j?void 0:j.business_seasonal})),a("div",{key:"2e2f5d17b70604b9425997d9e4e0dfafea933448",class:"col-12"},a("form-control-text",{key:"27d305b06e7bc2d66084c9d04ebb785883564bbd",name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business?",inputHandler:this.inputHandler,errorText:null===(x=null===(k=this.errors)||void 0===k?void 0:k.additional_questions)||void 0===x?void 0:x.business_other_payment_details,defaultValue:null==j?void 0:j.business_other_payment_details})))))}},k=class{constructor(a){e(this,a),this.errors={},this.coreInfo={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.values.subscribe((e=>this.coreInfo=Object.assign({},new u(e)))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:a}))}render(){const e=this.formController.getInitialValues();return a(t,{key:"71096918610aa3068cf89fbf9f3537b7f49942c6"},a("fieldset",{key:"502e6c3e3ae05256c6e5e8d315b4aa208ce88953"},a("legend",{key:"ccbe69b2323e815dc77b2602a96bdc4238fcef03",part:d},"General Info"),a("div",{key:"19a70fd7a361e5de4c88e14cbff12d88f78233e3",class:"row gy-3"},a("div",{key:"611bcc2bd35db7b6940a5b7ae53c54b55b855dd6",class:"col-12"},a("form-control-text",{key:"a9de594470c896aff0803c34a313c38467f7c82a",name:"legal_name",label:"Legal Name",defaultValue:e.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler})),a("div",{key:"ed742f64b1c344587127ce94ba1d17206bbdebb3",class:"col-12"},a("form-control-text",{key:"abb41f3aa059c180882066e21fe0239838cd9956",name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:e.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler})),a("div",{key:"3659fb0dd0419fd4d6f0205bc9e32aef05f56aa1",class:"col-12 col-md-8"},a("form-control-select",{key:"5bbbe7cd7fe0a7e8788e36855ff18390bf8df301",name:"classification",label:"Business Classification",options:o,defaultValue:e.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),a("div",{key:"5007e6269c59878e6388164ff8d5163090b87585",class:"col-12 col-md-4"},a("form-control-date",{key:"4fa7c7f001ced10c746d2891fe3efd8336542907",name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:e.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),a("div",{key:"e245a4ac6e0904c9742a0d1d220cb95c9fe63497",class:"col-12 col-md-6"},a("form-control-text",{key:"bc7367525a45c221c576f2b31c1a95680a95937a",name:"industry",label:"Industry",defaultValue:e.industry,errorText:this.errors.industry,inputHandler:this.inputHandler})),a("div",{key:"6475831320818242eda7ac045dcdd076fbc4245c",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"d68e8046fa42f4d5976aa44a7769b14fc4cda416",name:"tax_id",label:"Tax ID",defaultValue:e.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,mask:n.US})),a("div",{key:"f59cda0241c1ad92d0d995e330b92079ba75737f",class:"col-12"},a("form-control-text",{key:"8243464d1c75897c1e3423e5045f34b81b425a9e",name:"website_url",label:"Website URL",defaultValue:e.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler})),a("div",{key:"c65251b25e0996277f7d0e11d25d6340ccfc11e7",class:"col-12 col-md-6"},a("form-control-text",{key:"fe3a4eff53786f49fbfe24afb048f861bf7a469a",name:"email",label:"Email Address",defaultValue:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"b1d909e5f937dcbbac0082b293571904c0c81396",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"83238873cbd8ccc08a5c3af1bd87a7965fefb5f8",name:"phone",label:"Phone Number",defaultValue:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})))))}},x=class{constructor(a){e(this,a),this.errors={},this.representative={},this.inputHandler=(e,a)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{[e]:a})}))},this.onAddressFormUpdate=e=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{address:Object.assign(Object.assign({},this.formController.values.getValue().representative.address),e)})}))},this.onDateOfBirthUpdate=e=>{const a=h(e.detail);this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{dob_day:a.dob_day,dob_month:a.dob_month,dob_year:a.dob_year})}))}}get identificationNumberLabel(){return this.representative.ssn_last4?"Update SSN (optional)":"SSN"}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e.representative))),this.formController.values.subscribe((e=>this.representative=Object.assign({},e.representative)))}render(){const e=this.formController.getInitialValues().representative;return a(t,{key:"eb9c09602a11107abc465463bf7e7cdbeb98cede"},a("fieldset",{key:"1f2a035f9796c29269a7dcd7ca874c73ed6493bb"},a("legend",{key:"1aeaba7f119f15e1ffa75cd58d77608fe51a60c8",part:d},"Representative"),a("div",{key:"5d09c634135046c79b4ac80b5c1cfee9fbd26ce0",class:"row gy-3"},a("div",{key:"6f03250bf88cc79ff07a1de68fef97a41a376aec",class:"col-12 col-md-8"},a("form-control-text",{key:"d6696ab573a305e277db56a578eaeb3fc4adf9ff",name:"name",label:"Full Name",defaultValue:null==e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"fd6ddc83d99b4f86f29566077249a23724741438",class:"col-12 col-md-4"},a("form-control-text",{key:"632b12a09042ffdaf85d2fafecfab1736bbc8d36",name:"title",label:"Title",defaultValue:null==e?void 0:e.title,errorText:this.errors.title,inputHandler:this.inputHandler})),a("div",{key:"65842c9cb8c616806631bd1d2902342cebf5326e",class:"col-12 col-md-6"},a("form-control-text",{key:"8e1f64cc7f97e4b337dfcda6494fca5750656130",name:"email",label:"Email Address",defaultValue:null==e?void 0:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"e050604c8d71e1d07f916822fbb73da4c3f5e034",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"a5bba8b362ce6070efc65e88ee80880ce855e624",name:"phone",label:"Phone Number",defaultValue:null==e?void 0:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})),a("div",{key:"dcbd23ab368e630ebaea9e8bdbb6985a98d5fbeb",class:"col-12 col-md-4"},a("form-control-date",{key:"05e0e255549ad8f0760102aab5cbfe444cae5996",name:"dob_full",label:"Birth Date",defaultValue:null==e?void 0:e.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:this.onDateOfBirthUpdate})),a("div",{key:"764595ed842fd09221ef71d5c921a9ebe947556d",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"91761e52dd724a27e135a3db8b7c85643f7891d9",name:"identification_number",label:this.identificationNumberLabel,defaultValue:null==e?void 0:e.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:b})),a("div",{key:"4be6739744d6d9fcd060ed9d894502f35396a9a9",class:"col-12"},a("justifi-identity-address-form",{key:"7c9d98057e908a068aa0783b10b2bd0f634d7ab9",errors:this.errors.address,defaultValues:null==e?void 0:e.address,handleFormUpdate:this.onAddressFormUpdate})))))}},j=class{constructor(a){e(this,a),this.errors={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.legal_address=Object.assign({},e.legal_address)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{legal_address:Object.assign(Object.assign({},this.formController.values.getValue().legal_address),{[e]:a})}))}render(){var e,l,i,s,c,o,r,n,f,b,u,h;const y=this.formController.getInitialValues().legal_address;return a(t,{key:"129b2ec053708454db5a515fdae9a7fba5289336"},a("fieldset",{key:"6af5c9469acc432ea01ff404af25727bd444abc7"},a("legend",{key:"1af149db608a13d18142aaea83f9ed2e8271fdc0",part:d},"Business Legal Address"),a("div",{key:"805c6ae992ebed34937b9a2622f50a7f99c7d0e6",class:"row gy-3"},a("div",{key:"78750dc68bcc6782bc4a71cfd14d417e980a57a6",class:"col-12"},a("form-control-text",{key:"18a75e38a7a5fbfcbbbce56e4967ce34c5618c8e",name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line1,errorText:null===(l=null===(e=this.errors)||void 0===e?void 0:e.legal_address)||void 0===l?void 0:l.line1})),a("div",{key:"676622c84785edfafa3413359d4985d26a734985",class:"col-12"},a("form-control-text",{key:"e8467f96595d240f5fc93585e472ad844cc49143",name:"line2",label:"Address Line 2",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line2,errorText:null===(s=null===(i=this.errors)||void 0===i?void 0:i.legal_address)||void 0===s?void 0:s.line2})),a("div",{key:"01556012d9335d23c14e130ca72b6e75028bcb36",class:"col-12"},a("form-control-text",{key:"c08dcd0ef726ff714d60de26492ced763a7d32ff",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.city,errorText:null===(o=null===(c=this.errors)||void 0===c?void 0:c.legal_address)||void 0===o?void 0:o.city})),a("div",{key:"ad811869e742f265a5441c6f36c2a55fa0b07952",class:"col-12"},a("form-control-select",{key:"47cc4b15578257f3c1fdee7896d28da94b5aaa16",name:"state",label:"State",options:m,inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.state,errorText:null===(n=null===(r=this.errors)||void 0===r?void 0:r.legal_address)||void 0===n?void 0:n.state})),a("div",{key:"f732fd2ed3967ee7fd602f41c62efd24cf6038eb",class:"col-12"},a("form-control-text",{key:"0431a63d11beb6682a2544d2483901f7fffa77bd",name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.postal_code,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.legal_address)||void 0===b?void 0:b.postal_code,maxLength:5,keyDownHandler:v})),a("div",{key:"cca67b0cd006f6cf9f9bbfe147507eb0ac6fecca",class:"col-12"},a("form-control-select",{key:"f561947f9443ea6f56d7ae31d44a69e2462c0751",name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.country,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.legal_address)||void 0===h?void 0:h.country,disabled:!0})))))}};export{y as form_alert,p as justifi_additional_questions,k as justifi_business_core_info,x as justifi_business_representative,j as justifi_legal_address_form}
1
+ import{r as e,h as a,H as t}from"./p-D6FDxSyt.js";import{al as l,D as d}from"./p-BrLVc_85.js";import{a as i,r as s,s as c,b as o}from"./p-IA90llLO.js";import{C as r,T as n,P as f,S as b}from"./p-B-iV5cYd.js";import{C as u}from"./p-BrvbVMVq.js";import{d as h}from"./p-Dt-vy9Le.js";import{S as m}from"./p-BX8GieXu.js";import{n as v}from"./p-BnjCmwMr.js";const y=class{constructor(a){e(this,a)}render(){return this.text?this.hideAlert?null:a("div",{class:"alert alert-danger d-flex align-items-center",role:"alert",part:l},a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",class:"bi bi-exclamation-triangle-fill flex-shrink-0 me-2",viewBox:"0 0 16 16",role:"img","aria-label":"Warning:"},a("path",{d:"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})),a("div",null,this.text)):null}},p=class{constructor(a){e(this,a),this.errors={},this.additional_questions={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.additional_questions=Object.assign({},e.additional_questions)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{additional_questions:Object.assign(Object.assign({},this.formController.values.getValue().additional_questions),{[e]:a})}))}render(){var e,l,o,n,f,b,u,h,m,v,y,p,k,x;const j=this.formController.getInitialValues().additional_questions;return a(t,{key:"6e2549b906fec8928dae89a4f143916a2b50eff3"},a("fieldset",{key:"525eab0debf75c3996c45128e9431086e49c3850"},a("legend",{key:"adeb6e2a32fb4f9e991d7b4843569116e336743c",part:d},"Additional Questions"),a("div",{key:"29b55613d32bc434017fc561033c6c9b8800666d",class:"row gy-3"},a("div",{key:"80c1d6b2c5e52c5fe0f8b9c3591bb315e51f7c55",class:"col-12 col-md-6"},a("form-control-monetary-provisioning",{key:"e69e6c75d3a6add592e90e3709d7b7ff694ebfe0",name:"business_revenue",label:"What is the business' estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(l=null===(e=this.errors)||void 0===e?void 0:e.additional_questions)||void 0===l?void 0:l.business_revenue,defaultValue:null==j?void 0:j.business_revenue,maskOptions:r.WHOLE})),a("div",{key:"af0e66f6f647ed7248e0d861707cc378c85b0dce",class:"col-12 col-md-6"},a("form-control-monetary-provisioning",{key:"e1f6af9f7537bf4d4e96739ff7537be01ca9371c",name:"business_payment_volume",label:"What is the business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(n=null===(o=this.errors)||void 0===o?void 0:o.additional_questions)||void 0===n?void 0:n.business_payment_volume,defaultValue:null==j?void 0:j.business_payment_volume,maskOptions:r.WHOLE})),a("div",{key:"b914a2f8abd79eab79d284f1ece9850f4a417893",class:"col-12"},a("form-control-select",{key:"8954dfe23f7984810fbae657ac9995e40253b377",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===(b=null===(f=this.errors)||void 0===f?void 0:f.additional_questions)||void 0===b?void 0:b.business_when_service_received,options:i,defaultValue:null==j?void 0:j.business_when_service_received})),a("div",{key:"da533644fd51e8678fc80d49c7db0ce20a803019",class:"col-12"},a("form-control-select",{key:"06c23865a5bbda38b294dd4edfee6ace942fb732",name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.additional_questions)||void 0===h?void 0:h.business_recurring_payments,options:s,defaultValue:null==j?void 0:j.business_recurring_payments})),a("div",{key:"bb492db9aea205138ef76cf6fc7c3f686bb41a79",class:"col-12"},a("form-control-text",{key:"a3f900076730b504587619ff9c4c13ecce36f541",name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(v=null===(m=this.errors)||void 0===m?void 0:m.additional_questions)||void 0===v?void 0:v.business_recurring_payments_percentage,defaultValue:null==j?void 0:j.business_recurring_payments_percentage})),a("div",{key:"e2f56ae5d9654bdb1077689a1ef59c9047e97bda",class:"col-12"},a("form-control-select",{key:"697e41186b4c82046e50288594681117bf8dd6fe",name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(p=null===(y=this.errors)||void 0===y?void 0:y.additional_questions)||void 0===p?void 0:p.business_seasonal,options:c,defaultValue:null==j?void 0:j.business_seasonal})),a("div",{key:"2e2f5d17b70604b9425997d9e4e0dfafea933448",class:"col-12"},a("form-control-text",{key:"27d305b06e7bc2d66084c9d04ebb785883564bbd",name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business?",inputHandler:this.inputHandler,errorText:null===(x=null===(k=this.errors)||void 0===k?void 0:k.additional_questions)||void 0===x?void 0:x.business_other_payment_details,defaultValue:null==j?void 0:j.business_other_payment_details})))))}},k=class{constructor(a){e(this,a),this.errors={},this.coreInfo={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.values.subscribe((e=>this.coreInfo=Object.assign({},new u(e)))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:a}))}render(){const e=this.formController.getInitialValues();return a(t,{key:"71096918610aa3068cf89fbf9f3537b7f49942c6"},a("fieldset",{key:"502e6c3e3ae05256c6e5e8d315b4aa208ce88953"},a("legend",{key:"ccbe69b2323e815dc77b2602a96bdc4238fcef03",part:d},"General Info"),a("div",{key:"19a70fd7a361e5de4c88e14cbff12d88f78233e3",class:"row gy-3"},a("div",{key:"611bcc2bd35db7b6940a5b7ae53c54b55b855dd6",class:"col-12"},a("form-control-text",{key:"a9de594470c896aff0803c34a313c38467f7c82a",name:"legal_name",label:"Legal Name",defaultValue:e.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler})),a("div",{key:"ed742f64b1c344587127ce94ba1d17206bbdebb3",class:"col-12"},a("form-control-text",{key:"abb41f3aa059c180882066e21fe0239838cd9956",name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:e.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler})),a("div",{key:"3659fb0dd0419fd4d6f0205bc9e32aef05f56aa1",class:"col-12 col-md-8"},a("form-control-select",{key:"5bbbe7cd7fe0a7e8788e36855ff18390bf8df301",name:"classification",label:"Business Classification",options:o,defaultValue:e.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),a("div",{key:"5007e6269c59878e6388164ff8d5163090b87585",class:"col-12 col-md-4"},a("form-control-date",{key:"4fa7c7f001ced10c746d2891fe3efd8336542907",name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:e.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),a("div",{key:"e245a4ac6e0904c9742a0d1d220cb95c9fe63497",class:"col-12 col-md-6"},a("form-control-text",{key:"bc7367525a45c221c576f2b31c1a95680a95937a",name:"industry",label:"Industry",defaultValue:e.industry,errorText:this.errors.industry,inputHandler:this.inputHandler})),a("div",{key:"6475831320818242eda7ac045dcdd076fbc4245c",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"d68e8046fa42f4d5976aa44a7769b14fc4cda416",name:"tax_id",label:"Tax ID",defaultValue:e.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,mask:n.US})),a("div",{key:"f59cda0241c1ad92d0d995e330b92079ba75737f",class:"col-12"},a("form-control-text",{key:"8243464d1c75897c1e3423e5045f34b81b425a9e",name:"website_url",label:"Website URL",defaultValue:e.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler})),a("div",{key:"c65251b25e0996277f7d0e11d25d6340ccfc11e7",class:"col-12 col-md-6"},a("form-control-text",{key:"fe3a4eff53786f49fbfe24afb048f861bf7a469a",name:"email",label:"Email Address",defaultValue:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"b1d909e5f937dcbbac0082b293571904c0c81396",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"83238873cbd8ccc08a5c3af1bd87a7965fefb5f8",name:"phone",label:"Phone Number",defaultValue:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})))))}},x=class{constructor(a){e(this,a),this.errors={},this.representative={},this.inputHandler=(e,a)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{[e]:a})}))},this.onAddressFormUpdate=e=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{address:Object.assign(Object.assign({},this.formController.values.getValue().representative.address),e)})}))},this.onDateOfBirthUpdate=e=>{const a=h(e.detail);this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{dob_day:a.dob_day,dob_month:a.dob_month,dob_year:a.dob_year})}))}}get identificationNumberLabel(){return this.representative.ssn_last4?"Update SSN (optional)":"SSN"}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e.representative))),this.formController.values.subscribe((e=>this.representative=Object.assign({},e.representative)))}render(){const e=this.formController.getInitialValues().representative;return a(t,{key:"eb9c09602a11107abc465463bf7e7cdbeb98cede"},a("fieldset",{key:"1f2a035f9796c29269a7dcd7ca874c73ed6493bb"},a("legend",{key:"1aeaba7f119f15e1ffa75cd58d77608fe51a60c8",part:d},"Representative"),a("div",{key:"5d09c634135046c79b4ac80b5c1cfee9fbd26ce0",class:"row gy-3"},a("div",{key:"6f03250bf88cc79ff07a1de68fef97a41a376aec",class:"col-12 col-md-8"},a("form-control-text",{key:"d6696ab573a305e277db56a578eaeb3fc4adf9ff",name:"name",label:"Full Name",defaultValue:null==e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"fd6ddc83d99b4f86f29566077249a23724741438",class:"col-12 col-md-4"},a("form-control-text",{key:"632b12a09042ffdaf85d2fafecfab1736bbc8d36",name:"title",label:"Title",defaultValue:null==e?void 0:e.title,errorText:this.errors.title,inputHandler:this.inputHandler})),a("div",{key:"65842c9cb8c616806631bd1d2902342cebf5326e",class:"col-12 col-md-6"},a("form-control-text",{key:"8e1f64cc7f97e4b337dfcda6494fca5750656130",name:"email",label:"Email Address",defaultValue:null==e?void 0:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"e050604c8d71e1d07f916822fbb73da4c3f5e034",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"a5bba8b362ce6070efc65e88ee80880ce855e624",name:"phone",label:"Phone Number",defaultValue:null==e?void 0:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})),a("div",{key:"dcbd23ab368e630ebaea9e8bdbb6985a98d5fbeb",class:"col-12 col-md-4"},a("form-control-date",{key:"05e0e255549ad8f0760102aab5cbfe444cae5996",name:"dob_full",label:"Birth Date",defaultValue:null==e?void 0:e.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:this.onDateOfBirthUpdate})),a("div",{key:"764595ed842fd09221ef71d5c921a9ebe947556d",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"91761e52dd724a27e135a3db8b7c85643f7891d9",name:"identification_number",label:this.identificationNumberLabel,defaultValue:null==e?void 0:e.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:b})),a("div",{key:"4be6739744d6d9fcd060ed9d894502f35396a9a9",class:"col-12"},a("justifi-identity-address-form",{key:"7c9d98057e908a068aa0783b10b2bd0f634d7ab9",errors:this.errors.address,defaultValues:null==e?void 0:e.address,handleFormUpdate:this.onAddressFormUpdate})))))}},j=class{constructor(a){e(this,a),this.errors={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.legal_address=Object.assign({},e.legal_address)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{legal_address:Object.assign(Object.assign({},this.formController.values.getValue().legal_address),{[e]:a})}))}render(){var e,l,i,s,c,o,r,n,f,b,u,h;const y=this.formController.getInitialValues().legal_address;return a(t,{key:"129b2ec053708454db5a515fdae9a7fba5289336"},a("fieldset",{key:"6af5c9469acc432ea01ff404af25727bd444abc7"},a("legend",{key:"1af149db608a13d18142aaea83f9ed2e8271fdc0",part:d},"Business Legal Address"),a("div",{key:"805c6ae992ebed34937b9a2622f50a7f99c7d0e6",class:"row gy-3"},a("div",{key:"78750dc68bcc6782bc4a71cfd14d417e980a57a6",class:"col-12"},a("form-control-text",{key:"18a75e38a7a5fbfcbbbce56e4967ce34c5618c8e",name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line1,errorText:null===(l=null===(e=this.errors)||void 0===e?void 0:e.legal_address)||void 0===l?void 0:l.line1})),a("div",{key:"676622c84785edfafa3413359d4985d26a734985",class:"col-12"},a("form-control-text",{key:"e8467f96595d240f5fc93585e472ad844cc49143",name:"line2",label:"Address Line 2",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line2,errorText:null===(s=null===(i=this.errors)||void 0===i?void 0:i.legal_address)||void 0===s?void 0:s.line2})),a("div",{key:"01556012d9335d23c14e130ca72b6e75028bcb36",class:"col-12"},a("form-control-text",{key:"c08dcd0ef726ff714d60de26492ced763a7d32ff",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.city,errorText:null===(o=null===(c=this.errors)||void 0===c?void 0:c.legal_address)||void 0===o?void 0:o.city})),a("div",{key:"ad811869e742f265a5441c6f36c2a55fa0b07952",class:"col-12"},a("form-control-select",{key:"47cc4b15578257f3c1fdee7896d28da94b5aaa16",name:"state",label:"State",options:m,inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.state,errorText:null===(n=null===(r=this.errors)||void 0===r?void 0:r.legal_address)||void 0===n?void 0:n.state})),a("div",{key:"f732fd2ed3967ee7fd602f41c62efd24cf6038eb",class:"col-12"},a("form-control-text",{key:"0431a63d11beb6682a2544d2483901f7fffa77bd",name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.postal_code,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.legal_address)||void 0===b?void 0:b.postal_code,maxLength:5,keyDownHandler:v})),a("div",{key:"cca67b0cd006f6cf9f9bbfe147507eb0ac6fecca",class:"col-12"},a("form-control-select",{key:"f561947f9443ea6f56d7ae31d44a69e2462c0751",name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.country,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.legal_address)||void 0===h?void 0:h.country,disabled:!0})))))}};export{y as form_alert,p as justifi_additional_questions,k as justifi_business_core_info,x as justifi_business_representative,j as justifi_legal_address_form}
@@ -0,0 +1 @@
1
+ import{r as s,c as t,h as e}from"./p-D6FDxSyt.js";import{C as i,a as r}from"./p-SdntD1xf.js";import{c as o}from"./p-Dt-vy9Le.js";import{A as h}from"./p-BrLVc_85.js";import{S as n}from"./p-DuYlA4lj.js";import{H as a}from"./p-B190pN0v.js";import"./p-CZfYo5-1.js";import{B as p}from"./p-XYgDHrVL.js";import"./p-BX8GieXu.js";const c=class{constructor(e){s(this,e),this.clickEvent=t(this,"click-event"),this.errorEvent=t(this,"error-event"),this.submitEvent=t(this,"submit-event"),this.loading=!1,this.businessProvisioned=!1,this.currentStep=0,this.allowOptionalFields=!1,this.setBusinessProvisioned=()=>{this.getBusiness({onSuccess:s=>{this.businessProvisioned=o(s.data),this.businessProvisioned&&this.errorEvent.emit({message:"A request to provision payments for this business has already been submitted.",errorCode:r.PROVISIONING_REQUESTED,severity:i.INFO})},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})}})},this.postProvisioningData=()=>{this.postProvisioning({onSuccess:s=>{this.submitEvent.emit({response:s})},onError:({error:s,code:t,severity:e})=>{this.submitEvent.emit({response:{error:s}}),this.errorEvent.emit({message:s,errorCode:t,severity:e})}})},this.refs=[],this.incrementSteps=()=>{if(this.currentStep<this.totalSteps)return this.currentStep++},this.decrementSteps=()=>this.currentStep--,this.previousStepButtonOnClick=()=>{this.clickEvent.emit({name:p.previousStep}),this.decrementSteps()},this.nextStepButtonOnClick=(s,t)=>{s.preventDefault(),this.clickEvent.emit({name:t}),this.refs[this.currentStep].validateAndSubmit({onSuccess:this.incrementSteps})}}handleFormCompleted(){this.postProvisioningData()}componentWillLoad(){this.getBusiness&&this.setBusinessProvisioned(),this.refs=[this.coreInfoRef,this.legalAddressRef,this.additionalQuestionsRef,this.representativeRef,this.ownersRef,this.bankAccountRef,this.termsRef]}get businessEndpoint(){return`entities/business/${this.businessId}`}get formDisabled(){return this.loading||this.businessProvisioned}get totalSteps(){return this.refs.length-1}get stepCounter(){return`${this.currentStep+1} of ${this.totalSteps+1}`}handleFormLoading(s){this.loading=s.detail}render(){return e(n,{key:"e195b19df4d1061ecf8b305005faf0ffce68221e"},e("div",{key:"17d42ba0a22567dce6760e2047478eb1bc36a794",class:"row gap-3"},e(a,{key:"507788c4af5572cbb09037443ae51b505567d825",text:this.formTitle}),e("justifi-payment-provisioning-form-steps",{key:"4b7e73217ff8230756542c3b0c069e18b7f23356",businessId:this.businessId,authToken:this.authToken,refs:this.refs,currentStep:this.currentStep,allowOptionalFields:this.allowOptionalFields,handleFormLoading:this.handleFormLoading}),e("div",{key:"2ae1e8386114181cbd6f7999ac047b7709daa4fb",class:"d-flex justify-content-between align-items-center"},e("div",{key:"a126b618a3028c4c7a9c12145ab63e222a17e51f",class:"d-flex align-items-center",part:h},this.stepCounter),e("justifi-payment-provisioning-form-buttons",{key:"a66e1ac554e0dffa78be59df6a74d8175ba0376c",currentStep:this.currentStep,totalSteps:this.totalSteps,formLoading:this.loading,formDisabled:this.formDisabled,previousStepButtonOnClick:this.previousStepButtonOnClick,nextStepButtonOnClick:this.nextStepButtonOnClick}))))}};export{c as justifi_payment_provisioning_core}
@@ -0,0 +1 @@
1
+ import{r as i}from"./p-D6FDxSyt.js";import{s as t}from"./p-D4Mv5jCp.js";import"./p-Cd06j2SL.js";const s=class{constructor(t){i(this,t),this.apiOrigin="https://wc-proxy.justifi.ai",this.iframeOrigin="https://components.justifi.ai",this.accountId=""}componentWillLoad(){t({apiOrigin:this.apiOrigin,iframeOrigin:this.iframeOrigin,accountId:this.accountId})}render(){return null}};export{s as justifi_config_provider}
@@ -0,0 +1 @@
1
+ import{h as s}from"./p-D6FDxSyt.js";import{ac as r,ad as a,ae as n}from"./p-BrLVc_85.js";const t=(t,o)=>s("button",Object.assign({class:`btn btn-${t.variant}`,onClick:t.clickHandler,part:`${{primary:a,secondary:r}[t.variant]} ${t.isLoading?n:""}`},t),t.isLoading?s("div",{class:"spinner-border spinner-border-sm",role:"status",part:"button-spinner"},s("span",{class:"visually-hidden"},"Loading...")):o);export{t as B}
@@ -0,0 +1 @@
1
+ import{r as e,h as t,H as a,c as s,g as c}from"./p-D6FDxSyt.js";import"./p-D4Mv5jCp.js";import{s as r,d as i,i as o}from"./p-CpTwq2jw.js";import"./p-SdntD1xf.js";import"./p-BjB_yKBJ.js";import"./p-CLHwhyvu.js";import{E as l}from"./p-CffckWWF.js";import"./p-BzPi8Ea_.js";import"./p-BrvbVMVq.js";import"./p-BH0Xfn-F.js";import{c as d}from"./p-IA90llLO.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 j,a as x}from"./p-BrLVc_85.js";import{S as v}from"./p-U30-0DaA.js";import"./p-CZfYo5-1.js";import{F as _}from"./p-C0IqfGFc.js";import"./p-Cd06j2SL.js";import"./p-BFTU3MAI.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";const g=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})))}},T=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}},D=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=j),this.isFocused&&(e=x),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{g as bank_account_document_form_inputs,T as bank_account_form_inputs,w as business_documents_on_file,D as form_control_file}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as s,H as a,g as i}from"./p-D6FDxSyt.js";import{F as r}from"./p-C0IqfGFc.js";import{i as o,b as l,a as c,R as d,c as h,l as n}from"./p-BrLVc_85.js";const f=class{constructor(s){t(this,s),this.formControlInput=e(this,"formControlInput"),this.formControlBlur=e(this,"formControlBlur")}render(){return s(a,{key:"a047767dfcdd22535de0f797e05ba1124f5476c1",exportparts:"label,input,input-invalid"},s("div",{key:"2b2eba9c135edc67135ee1fac2ddae29714a8139",class:"form-group d-flex flex-column"},s("div",{key:"c7825bbeef90e85d43d9690da84f14c802520d68",class:"d-flex align-items-start gap-2"},s("label",{key:"3b9a273ee2d27edc17d6798fd5bb161650368c88",part:"label",class:"form-label",htmlFor:this.name},this.label),s("form-control-tooltip",{key:"efb7ad8c5040a615d1c0ed8923c75e477294d6a4",helpText:this.helpText})),s("input",{key:"212de1de46ec3392e12535f137232328dbdf4681",type:"file",name:this.name,part:`input ${this.errorText?"input-invalid ":""}${this.disabled?"input-disabled":""}`,class:this.errorText?"form-control is-invalid":"form-control",multiple:this.multiple,disabled:this.disabled,onBlur:()=>this.formControlBlur.emit(),onChange:()=>this.errorText=""}),s(r,{key:"573f0ddd4238786336d0a78c59b434bc83d8bb02",errorText:this.errorText,name:this.name})))}get el(){return i(this)}},b=class{constructor(s){t(this,s),this.formControlInput=e(this,"formControlInput"),this.formControlBlur=e(this,"formControlBlur"),this.isFocused=!1,this.handleFormControlInput=t=>{const e=t.target,s=e.getAttribute("name");this.inputHandler(s,e.value),this.formControlInput.emit({name:s,value:e.value})},this.updateInput=t=>{const e=this.el.querySelector("textarea");e&&(e.value=t||"")}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get part(){return this.isFocused&&this.errorText?o:this.errorText?l:this.isFocused?c:this.disabled?d:h}render(){return s(a,{key:"b1f6375f194cbbda1b2a7d6b421a1491cafc05cb"},s("div",{key:"c372f254b00a9a50505cc9473ad138cebcf5495b",class:"form-group d-flex flex-column"},s("label",{key:"bea34d76380a9892fd30e3ae1e8cd4e11c3edcae",part:n,class:"form-label",htmlFor:this.name},this.label),s("textarea",{key:"06f7fd1ac978e0f82adbd1cad272fa5c627bd88d",id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,onKeyDown:this.keyDownHandler,onPaste:this.keyDownHandler,maxLength:this.maxLength,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",disabled:this.disabled}),s("form-control-help-text",{key:"2375f0026db86411561e3381e8ca487859cc432c",helpText:this.helpText,name:this.name}),s("form-control-error-text",{key:"def27e9c4e4add94e0ecc5a5c3579c754a17fbad",errorText:this.errorText,name:this.name})))}get el(){return i(this)}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{f as form_control_file_v2,b as form_control_textarea}
@@ -1 +1 @@
1
- import{h as t}from"./p-D6FDxSyt.js";import{M as a}from"./p-D9q8WsW5.js";import{a as e}from"./p-CpTwq2jw.js";import{R as p,S as o}from"./p-CjO1GttX.js";const s="created_at,amount,status,payment_type,description,payers_name,last_four_digits",r={created_at:()=>t("th",{part:p,scope:"col",title:"The date and time each payment was made"},"Date"),amount:()=>t("th",{part:p,scope:"col",title:"The dollar amount of each payment"},"Amount"),status:()=>t("th",{part:p,scope:"col",title:"The current status of each payment"},"Status"),payment_type:()=>t("th",{part:p,scope:"col",title:"The type of each payment"},"Type"),description:()=>t("th",{part:p,scope:"col",title:"The payment description, if you provided one"},"Description"),payers_name:()=>t("th",{part:p,scope:"col",title:"The name associated with the payment method"},"Account Holder"),last_four_digits:()=>t("th",{part:p,scope:"col",title:"The brand and last 4 digits of the payment method"},"Payment Method")},i={created_at:(a,p)=>t("td",{part:o(p)},t("div",{class:"fw-bold"},e(a.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},e(a.created_at,{showTime:!0}))),amount:(a,e)=>t("td",{part:o(e)},a.formattedPaymentAmount(a.amount)),status:(e,p)=>t("td",{part:o(p)},a(e.status)),payment_type:(a,e)=>t("td",{part:o(e)},a.payment_type),description:(a,e)=>t("td",{part:o(e)},a.description),payers_name:(a,e)=>t("td",{part:o(e)},a.payers_name),last_four_digits:(a,e)=>t("td",{part:o(e)},a.last_four_digits)};export{i as a,s as d,r as p}
1
+ import{h as t}from"./p-D6FDxSyt.js";import{M as a}from"./p-C0WFYqwq.js";import{a as e}from"./p-CpTwq2jw.js";import{P as p,Q as o}from"./p-BrLVc_85.js";const s="created_at,amount,status,payment_type,description,payers_name,last_four_digits",r={created_at:()=>t("th",{part:p,scope:"col",title:"The date and time each payment was made"},"Date"),amount:()=>t("th",{part:p,scope:"col",title:"The dollar amount of each payment"},"Amount"),status:()=>t("th",{part:p,scope:"col",title:"The current status of each payment"},"Status"),payment_type:()=>t("th",{part:p,scope:"col",title:"The type of each payment"},"Type"),description:()=>t("th",{part:p,scope:"col",title:"The payment description, if you provided one"},"Description"),payers_name:()=>t("th",{part:p,scope:"col",title:"The name associated with the payment method"},"Account Holder"),last_four_digits:()=>t("th",{part:p,scope:"col",title:"The brand and last 4 digits of the payment method"},"Payment Method")},i={created_at:(a,p)=>t("td",{part:o(p)},t("div",{class:"fw-bold"},e(a.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},e(a.created_at,{showTime:!0}))),amount:(a,e)=>t("td",{part:o(e)},a.formattedPaymentAmount(a.amount)),status:(e,p)=>t("td",{part:o(p)},a(e.status)),payment_type:(a,e)=>t("td",{part:o(e)},a.payment_type),description:(a,e)=>t("td",{part:o(e)},a.description),payers_name:(a,e)=>t("td",{part:o(e)},a.payers_name),last_four_digits:(a,e)=>t("td",{part:o(e)},a.last_four_digits)};export{i as a,s as d,r as p}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e}from"./p-D6FDxSyt.js";import{T as i,a,b as r,c as h,d as o,e as p,f as n,g as c,h as d,i as f,j as m,k as b,l as j}from"./p-n2YROtpe.js";import{T as u}from"./p-CZfYo5-1.js";import"./p-D4Mv5jCp.js";import"./p-CpTwq2jw.js";import"./p-SdntD1xf.js";import"./p-BjB_yKBJ.js";import{p as g}from"./p-CLHwhyvu.js";import"./p-CffckWWF.js";import"./p-BzPi8Ea_.js";import"./p-BrvbVMVq.js";import"./p-BH0Xfn-F.js";import{t as y,a as l}from"./p-C0UUR9CN.js";import{o as k,g as C}from"./p-6n7viK-J.js";import"./p-BrLVc_85.js";import"./p-CQdeVKF8.js";import"./p-Cd06j2SL.js";import"./p-BFTU3MAI.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-D5XSsLKb.js";const O=class{constructor(e){t(this,e),this.clickEvent=s(this,"click-event"),this.errorEvent=s(this,"error-event"),this.terminalOrders=[],this.loading=!0,this.paging=g,this.pagingParams={},this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:u.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:u.next})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;if(!s)return;const e=this.terminalOrders.find((t=>t.id===s));this.clickEvent.emit({name:u.row,data:e})}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.terminalOrdersTable=new i(this.terminalOrders,this.columns,y,l),this.getTerminalOrders&&this.fetchData(),k("set",(()=>{this.pagingParams={}})),k("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getTerminalOrders({params:this.terminalOrderParams,onSuccess:async({terminalOrders:t,pagingInfo:s})=>{this.terminalOrders=t,this.paging=s,this.terminalOrdersTable.collectionData=this.terminalOrders},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e})},final:()=>{this.loading=!1}})}get terminalOrderParams(){const t=C();return Object.assign(Object.assign({},t),this.pagingParams)}get entityId(){return this.terminalOrders.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.terminalOrdersTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e(j,{key:"5d03d7f992d4918b6174d89aa67ac87159b0918d"},e(a,{key:"30dfd6db82678f7c8e25ee03619403bf0a73ad47"},e(r,{key:"3e51fd3124abf93a1a76ac6d6b66ec64edf30216"},e(h,{key:"170385237e96ba55aa21c954bff4f74a7724463b"},this.terminalOrdersTable.columnData.map((t=>t)))),e(o,{key:"c313d42ae1ad3f54a806f8965b8ff99616df85ab"},e(p,{key:"7f01919e6120a497383990bafb8288fec806f421",columnSpan:this.terminalOrdersTable.columnKeys.length,isLoading:this.loading}),e(n,{key:"e6585de336bb6cfe0f7bddc4bd503cf5632481da",isEmpty:this.showEmptyState,columnSpan:this.terminalOrdersTable.columnKeys.length}),e(c,{key:"3490d034636506fdd54c748bff98596baed09673",columnSpan:this.terminalOrdersTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.terminalOrdersTable.rowData.map(((t,s)=>e(d,{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},t)))),this.paging&&e(f,{key:"52ba4b6e8c0d2afcded3feaaf6a22927036b96fa"},e(m,{key:"8fccd42dc633300f5e6664ff380c3828010ff6ec"},e(b,{key:"7937c9bceb54abe450e9b7956bd2599de228cc8b",colSpan:this.terminalOrdersTable.columnData.length},e("pagination-menu",{key:"90854b93870cb20251488fd15e936982245c3d3b",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})}))))))}static get watchers(){return{pagingParams:["updateOnPropChange"],getTerminalOrders:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{O as terminal_orders_list_core}