@justifi/webcomponents 6.7.2 → 6.8.0

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 (788) hide show
  1. package/dist/cjs/{Api-QUTWjGTy.js → Api-CVbEWBG6.js} +1 -1
  2. package/dist/cjs/{Business-DWHy_-z9.js → Business-CB8EVrhD.js} +6 -0
  3. package/dist/cjs/{GooglePay-BwiJ_80p.js → Plaid-DxPvVu0H.js} +54 -1
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  5. package/dist/cjs/{badge-Cc87HAsf.js → badge-DkOPisAV.js} +2 -2
  6. package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +532 -0
  7. package/dist/cjs/bank-account-form.cjs.entry.js +7 -7
  8. package/dist/cjs/{business-additional-questions-schema-Y1mXnwUT.js → business-additional-questions-schema-Cnh6AXQU.js} +5 -3
  9. package/dist/cjs/business-details-core.cjs.entry.js +7 -7
  10. package/dist/cjs/{business-form-options-e9UFw4P-.js → business-form-options-B3CbEmdc.js} +1 -1
  11. package/dist/cjs/{business-identity-schema-D_OO0Suf.js → business-identity-schema-0jg2Thn9.js} +6 -2
  12. package/dist/cjs/{business.service-q93NsTG_.js → business.service-zGEitIbP.js} +3 -3
  13. package/dist/cjs/{button-fUPGXjU_.js → button-C2p1BMP-.js} +2 -2
  14. package/dist/cjs/card-form.cjs.entry.js +7 -7
  15. package/dist/cjs/{check-pkg-version-BG-Rfkh5.js → check-pkg-version-DKH70uPq.js} +12 -11
  16. package/dist/cjs/{checkout.service-CwelwhrT.js → checkout.service-DT13pWxH.js} +3 -3
  17. package/dist/cjs/checkouts-list-core.cjs.entry.js +14 -14
  18. package/dist/cjs/{payments-list-params-state-DfZySwaC.js → checkouts-list-params-state-vGJZ6Oe2.js} +1 -1
  19. package/dist/cjs/{checkouts-table-BBtqxG2F.js → checkouts-table-DftTbgXr.js} +3 -3
  20. package/dist/cjs/{config-state-CYoBVAca.js → config-state-BIgGhhe9.js} +1 -1
  21. package/dist/cjs/{country-config-MCOhn8o3.js → country-config-ETD-7Wb7.js} +1 -1
  22. package/dist/cjs/custom-popper_2.cjs.entry.js +52 -21
  23. package/dist/cjs/{dispute.service-q5ha39uN.js → dispute.service-GDUl1Wjs.js} +3 -3
  24. package/dist/cjs/form-alert_5.cjs.entry.js +11 -11
  25. package/dist/cjs/form-control-checkbox.cjs.entry.js +11 -8
  26. package/dist/cjs/form-control-date.cjs.entry.js +7 -7
  27. package/dist/cjs/{form-control-error-text-Dg_65HGK.js → form-control-error-text-BC5aRpfl.js} +2 -2
  28. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +17 -10
  29. package/dist/cjs/{form-control-help-text-tB5u1-5M.js → form-control-help-text-B2yMic8i.js} +2 -2
  30. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  31. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +12 -8
  32. package/dist/cjs/form-control-monetary.cjs.entry.js +8 -8
  33. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +13 -11
  34. package/dist/cjs/{owner-form-core_2.cjs.entry.js → form-control-number_3.cjs.entry.js} +71 -18
  35. package/dist/cjs/form-control-radio.cjs.entry.js +9 -6
  36. package/dist/cjs/form-control-select_2.cjs.entry.js +11 -11
  37. package/dist/cjs/{get-business-D9ZHyPem.js → get-business-CP0ALW9n.js} +1 -1
  38. package/dist/cjs/{get-payment-details-DidIAK2i.js → get-payment-details-IA5Toi7Z.js} +4 -4
  39. package/dist/cjs/{get-subaccounts-BE_wcfM7.js → get-subaccounts-DNMZjAyT.js} +5 -5
  40. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +6 -6
  41. package/dist/cjs/{header-1-Bqejh9no.js → header-1-B-nd_U7n.js} +2 -2
  42. package/dist/cjs/{header-3-DQ649Me2.js → header-3--BEJGMFA.js} +2 -2
  43. package/dist/cjs/hidden-input_2.cjs.entry.js +10 -10
  44. package/dist/cjs/{index-mmd0OhmD.js → index-W-zoNiyM.js} +90 -21
  45. package/dist/cjs/index-p7cvUYAE.js +4450 -0
  46. package/dist/cjs/{input-handlers-D6QMwPTB.js → input-handlers-gV1LyFy3.js} +1 -1
  47. package/dist/cjs/{insurance-state-DsGnIHMM.js → insurance-state-CiVJ5e26.js} +3 -3
  48. package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +34 -34
  49. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +101 -67
  50. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  51. package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +247 -317
  52. package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +10 -10
  53. package/dist/cjs/justifi-business-details.cjs.entry.js +13 -13
  54. package/dist/cjs/justifi-business-form.cjs.entry.js +22 -22
  55. package/dist/cjs/justifi-checkout.cjs.entry.js +22 -22
  56. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +17 -17
  57. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +17 -17
  58. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-details.cjs.entry.js +4 -4
  60. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +3 -3
  61. package/dist/cjs/justifi-dispute-management.cjs.entry.js +11 -11
  62. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +25 -25
  63. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +11 -11
  64. package/dist/cjs/justifi-order-terminals.cjs.entry.js +20 -20
  65. package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -14
  66. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +23 -11
  67. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -11
  68. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +17 -17
  69. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -7
  70. package/dist/cjs/justifi-payments-list.cjs.entry.js +17 -17
  71. package/dist/cjs/justifi-payout-details.cjs.entry.js +13 -13
  72. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +17 -17
  73. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
  74. package/dist/cjs/justifi-payouts-list.cjs.entry.js +18 -18
  75. package/dist/cjs/justifi-refund-payment.cjs.entry.js +20 -20
  76. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +4 -4
  77. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +17 -17
  78. package/dist/cjs/justifi-skeleton.cjs.entry.js +5 -5
  79. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +18 -18
  80. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +15 -15
  81. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +14 -14
  82. package/dist/cjs/justifi-terminals-list.cjs.entry.js +17 -17
  83. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +2 -2
  84. package/dist/cjs/loader.cjs.js +2 -2
  85. package/dist/cjs/{package-Df5lTFe6.js → package-B4vs5j7c.js} +1 -1
  86. package/dist/cjs/pagination-menu.cjs.entry.js +2 -2
  87. package/dist/cjs/{parts-BVbaniVM.js → parts-BsBVknuf.js} +1 -0
  88. package/dist/cjs/payment-details-core.cjs.entry.js +21 -21
  89. package/dist/cjs/payment-method-option.cjs.entry.js +4 -4
  90. package/dist/cjs/payment-provisioning-loading-B3hvtd9o.js +12 -0
  91. package/dist/cjs/{payment.service-CyHFdJ7n.js → payment.service-QODfB293.js} +3 -3
  92. package/dist/cjs/payments-list-core.cjs.entry.js +15 -15
  93. package/dist/cjs/{payouts-list-params-state-DfZySwaC.js → payments-list-params-state-vGJZ6Oe2.js} +1 -1
  94. package/dist/cjs/{payments-status-BP4u31jU.js → payments-status-BAR25wA6.js} +2 -2
  95. package/dist/cjs/{payments-table-CWXVhECV.js → payments-table-BLJ54fGU.js} +3 -3
  96. package/dist/cjs/payout-details-core.cjs.entry.js +13 -13
  97. package/dist/cjs/{payout.service-Half-hdB.js → payout.service-k7GBuYzk.js} +3 -3
  98. package/dist/cjs/payouts-list-core.cjs.entry.js +15 -15
  99. package/dist/cjs/{checkouts-list-params-state-DfZySwaC.js → payouts-list-params-state-vGJZ6Oe2.js} +1 -1
  100. package/dist/cjs/{payouts-status-CM5Zy-0J.js → payouts-status-uZAaS1RP.js} +2 -2
  101. package/dist/cjs/{payouts-table-ZLTcfkUm.js → payouts-table-C4jZJ8rq.js} +3 -3
  102. package/dist/cjs/plaid-icon-DTpONc_Q.js +46 -0
  103. package/dist/cjs/{schema-validations-Bf2mk2xU.js → schema-validations-BakyfJpE.js} +19 -3
  104. package/dist/cjs/{skeleton-B8dzxFFr.js → skeleton-BGGMhPJj.js} +2 -2
  105. package/dist/cjs/{spinner-jHyLNCGO.js → spinner-CV2CNXOQ.js} +2 -2
  106. package/dist/cjs/{styled-host-D5g7INLE.js → styled-host-DAi5SuFa.js} +1 -1
  107. package/dist/cjs/{table-CrtpRwGN.js → table-eTN_pRIP.js} +3 -3
  108. package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
  109. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +14 -14
  110. package/dist/cjs/{terminal-orders-list-params-state-DfZySwaC.js → terminal-orders-list-params-state-vGJZ6Oe2.js} +1 -1
  111. package/dist/cjs/{terminal-orders-table-DT53anT3.js → terminal-orders-table-C6j6Mx_r.js} +8 -8
  112. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +4 -4
  113. package/dist/cjs/{terminal.service-CFt55QNO.js → terminal.service-A90K3XNq.js} +3 -3
  114. package/dist/cjs/terminals-list-core.cjs.entry.js +14 -14
  115. package/dist/cjs/terminals-list-params-state-vGJZ6Oe2.js +22 -0
  116. package/dist/cjs/{terminals-table-DahpSz98.js → terminals-table-DZz8k4tP.js} +3 -3
  117. package/dist/cjs/{utils-CMiA4X7s.js → utils-T6hRmGuY.js} +2 -2
  118. package/dist/cjs/webcomponents.cjs.js +30 -3
  119. package/dist/collection/api/Analytics.js +8 -7
  120. package/dist/collection/api/Business.js +3 -0
  121. package/dist/collection/api/Identity.js +3 -0
  122. package/dist/collection/api/Plaid.js +50 -0
  123. package/dist/collection/api/index.js +1 -0
  124. package/dist/collection/api/services/plaid.service.js +13 -0
  125. package/dist/collection/collection-manifest.json +1 -0
  126. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  127. package/dist/collection/components/business-details/business-details-core.js +2 -2
  128. package/dist/collection/components/business-details/business-details.js +2 -2
  129. package/dist/collection/components/business-details/core-info-details/core-info-details.js +1 -1
  130. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -1
  131. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  132. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  133. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
  134. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -4
  135. package/dist/collection/components/business-forms/business-form/business-form.js +2 -2
  136. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +4 -4
  137. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +3 -3
  138. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +5 -5
  139. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +6 -6
  140. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +7 -7
  141. package/dist/collection/components/business-forms/owner-form/owner-form.js +4 -4
  142. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +4 -4
  143. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +4 -4
  144. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +5 -5
  145. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +5 -5
  146. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +2 -2
  147. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +23 -8
  148. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +3 -3
  149. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +35 -7
  150. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +6 -6
  151. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +2 -2
  152. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +4 -4
  153. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +19 -11
  154. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +2 -2
  155. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +20 -8
  156. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +7 -7
  157. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +6 -6
  158. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +3 -3
  159. package/dist/collection/components/business-forms/payment-provisioning/plaid-verification/plaid-verification.js +433 -0
  160. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +3 -3
  161. package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +2 -0
  162. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +5 -1
  163. package/dist/collection/components/business-forms/schemas/schema-validations.js +15 -0
  164. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  165. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  166. package/dist/collection/components/checkout/checkout.js +23 -4
  167. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  168. package/dist/collection/components/checkout/saved-payment-method.js +3 -3
  169. package/dist/collection/components/checkouts-list/checkouts-list-core.js +4 -4
  170. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  171. package/dist/collection/components/checkouts-list/checkouts-list.js +3 -3
  172. package/dist/collection/components/dispute-management/dispute-management-core.js +4 -4
  173. package/dist/collection/components/dispute-management/dispute-management.js +3 -3
  174. package/dist/collection/components/dispute-management/dispute-notification.js +5 -5
  175. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +2 -2
  176. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +2 -2
  177. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +2 -2
  178. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  179. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -4
  180. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +2 -2
  181. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +2 -2
  182. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +2 -2
  183. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +2 -2
  184. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +2 -2
  185. package/dist/collection/components/filters/table-filters-menu.js +3 -3
  186. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
  187. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +2 -2
  188. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +7 -7
  189. package/dist/collection/components/modular-checkout/modular-checkout.js +3 -3
  190. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +3 -0
  191. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  192. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  193. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  194. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  195. package/dist/collection/components/modular-checkout/sub-components/google-pay.js +2 -2
  196. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +6 -6
  197. package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.js +4 -51
  198. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  199. package/dist/collection/components/order-terminals/order-terminals.js +4 -4
  200. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +5 -5
  201. package/dist/collection/components/payment-details/payment-details-core.js +9 -9
  202. package/dist/collection/components/payment-details/payment-details.js +2 -2
  203. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +3 -3
  204. package/dist/collection/components/payments-list/payments-list-core.js +3 -3
  205. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  206. package/dist/collection/components/payments-list/payments-list.js +3 -3
  207. package/dist/collection/components/payout-details/payout-details-core.js +5 -5
  208. package/dist/collection/components/payout-details/payout-details.js +2 -2
  209. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +3 -3
  210. package/dist/collection/components/payouts-list/payouts-list-core.js +5 -5
  211. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  212. package/dist/collection/components/payouts-list/payouts-list.js +3 -3
  213. package/dist/collection/components/refund-payment/refund-payment.js +3 -3
  214. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +3 -3
  215. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  216. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +3 -3
  217. package/dist/collection/components/terminals-list/terminals-list-core.js +4 -4
  218. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  219. package/dist/collection/components/terminals-list/terminals-list.js +3 -3
  220. package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +1 -1
  221. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  222. package/dist/collection/ui-components/custom-popper/custom-popper.js +51 -17
  223. package/dist/collection/ui-components/details/details.js +2 -2
  224. package/dist/collection/ui-components/form/form-control-checkbox.js +16 -10
  225. package/dist/collection/ui-components/form/form-control-date.js +5 -5
  226. package/dist/collection/ui-components/form/form-control-file-v2.js +16 -8
  227. package/dist/collection/ui-components/form/form-control-file.js +16 -10
  228. package/dist/collection/ui-components/form/form-control-monetary.js +5 -5
  229. package/dist/collection/ui-components/form/form-control-number-masked.js +14 -10
  230. package/dist/collection/ui-components/form/form-control-number.js +10 -8
  231. package/dist/collection/ui-components/form/form-control-radio.js +18 -12
  232. package/dist/collection/ui-components/form/form-control-select.js +6 -6
  233. package/dist/collection/ui-components/form/form-control-text.js +5 -5
  234. package/dist/collection/ui-components/form/form-control-textarea.js +19 -11
  235. package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +2 -2
  236. package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +2 -2
  237. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +1 -1
  238. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  239. package/dist/collection/ui-components/form/iframe-input.js +6 -6
  240. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  241. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +2 -2
  242. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  243. package/dist/docs.json +714 -273
  244. package/dist/esm/{Api-Dln8a6No.js → Api-ohkSjyhl.js} +1 -1
  245. package/dist/esm/{Business-B5rtFhtR.js → Business-GgW1g7FQ.js} +6 -0
  246. package/dist/esm/{GooglePay-NNHE-OLJ.js → Plaid-CBrksnBN.js} +53 -2
  247. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  248. package/dist/esm/{badge-DtrH25ss.js → badge-BW9VFFkp.js} +2 -2
  249. package/dist/esm/bank-account-document-form-inputs_9.entry.js +522 -0
  250. package/dist/esm/bank-account-form.entry.js +7 -7
  251. package/dist/esm/{business-additional-questions-schema-woG5-pgK.js → business-additional-questions-schema-CQ8CuEfQ.js} +5 -3
  252. package/dist/esm/business-details-core.entry.js +7 -7
  253. package/dist/esm/{business-form-options-D6s5H4RI.js → business-form-options-DamBLV7N.js} +1 -1
  254. package/dist/esm/{business-identity-schema-B7VTDF4j.js → business-identity-schema-BTyJz7M9.js} +7 -3
  255. package/dist/esm/{business.service-BrUSam2T.js → business.service-BWm7Kqs4.js} +3 -3
  256. package/dist/esm/{button-Bpf3VX8Q.js → button-DMeChykB.js} +2 -2
  257. package/dist/esm/card-form.entry.js +7 -7
  258. package/dist/esm/{check-pkg-version-c_8fDHCB.js → check-pkg-version-CioeuqLV.js} +12 -11
  259. package/dist/esm/{checkout.service-Bxt1qPaY.js → checkout.service-D4Mljqjr.js} +3 -3
  260. package/dist/esm/checkouts-list-core.entry.js +14 -14
  261. package/dist/esm/{checkouts-list-params-state-gllzDQAb.js → checkouts-list-params-state-CiGfmyWW.js} +1 -1
  262. package/dist/esm/{checkouts-table-CB4GdlcZ.js → checkouts-table-B9YTe5fJ.js} +3 -3
  263. package/dist/esm/{config-state-C2NXATwF.js → config-state-kKn89dp1.js} +1 -1
  264. package/dist/esm/{country-config-BQ4D46Lb.js → country-config-D-9YmU94.js} +1 -1
  265. package/dist/esm/custom-popper_2.entry.js +52 -21
  266. package/dist/esm/{dispute.service-DYRYxxaT.js → dispute.service-ZpqfPDC0.js} +3 -3
  267. package/dist/esm/form-alert_5.entry.js +11 -11
  268. package/dist/esm/form-control-checkbox.entry.js +11 -8
  269. package/dist/esm/form-control-date.entry.js +7 -7
  270. package/dist/esm/{form-control-error-text-BZYykCDp.js → form-control-error-text-CTQxgr7_.js} +2 -2
  271. package/dist/esm/form-control-file-v2_2.entry.js +17 -10
  272. package/dist/esm/{form-control-help-text-D-p66Yxr.js → form-control-help-text-B-aaeX6n.js} +2 -2
  273. package/dist/esm/form-control-help-text.entry.js +1 -1
  274. package/dist/esm/form-control-monetary-provisioning.entry.js +12 -8
  275. package/dist/esm/form-control-monetary.entry.js +8 -8
  276. package/dist/esm/form-control-number-masked_3.entry.js +13 -11
  277. package/dist/esm/{owner-form-core_2.entry.js → form-control-number_3.entry.js} +71 -19
  278. package/dist/esm/form-control-radio.entry.js +9 -6
  279. package/dist/esm/form-control-select_2.entry.js +11 -11
  280. package/dist/esm/{get-business-Xt7B5dSo.js → get-business-BMB2IxN_.js} +1 -1
  281. package/dist/esm/{get-payment-details-BJ1PLhJZ.js → get-payment-details-B71Qi6mF.js} +3 -3
  282. package/dist/esm/{get-subaccounts-CzGHjlUF.js → get-subaccounts-DXJdRbWg.js} +4 -4
  283. package/dist/esm/gross-payment-chart-core.entry.js +6 -6
  284. package/dist/esm/{header-1-WwkF5F9y.js → header-1-DFMANSXo.js} +2 -2
  285. package/dist/esm/{header-3-C5jS39cE.js → header-3-Ck64YtdM.js} +2 -2
  286. package/dist/esm/hidden-input_2.entry.js +10 -10
  287. package/dist/esm/index-CV0Pyo1O.js +4434 -0
  288. package/dist/esm/{index-B-fWxE5e.js → index-cDVGjRkU.js} +90 -21
  289. package/dist/esm/{input-handlers-D3y0TzH9.js → input-handlers-CzWCJ849.js} +1 -1
  290. package/dist/esm/{insurance-state-C11WKZU6.js → insurance-state-DQ3xzFpR.js} +3 -3
  291. package/dist/esm/internal-tokenize-payment-method_7.entry.js +23 -23
  292. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +89 -55
  293. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  294. package/dist/esm/justifi-apple-pay_8.entry.js +35 -105
  295. package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +10 -10
  296. package/dist/esm/justifi-business-details.entry.js +13 -13
  297. package/dist/esm/justifi-business-form.entry.js +22 -22
  298. package/dist/esm/justifi-checkout.entry.js +15 -15
  299. package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -10
  300. package/dist/esm/justifi-checkouts-list.entry.js +16 -16
  301. package/dist/esm/justifi-config-provider.entry.js +3 -3
  302. package/dist/esm/justifi-details.entry.js +4 -4
  303. package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
  304. package/dist/esm/justifi-dispute-management.entry.js +11 -11
  305. package/dist/esm/justifi-dispute-notification_3.entry.js +25 -25
  306. package/dist/esm/justifi-gross-payment-chart.entry.js +11 -11
  307. package/dist/esm/justifi-order-terminals.entry.js +17 -17
  308. package/dist/esm/justifi-payment-details.entry.js +14 -14
  309. package/dist/esm/justifi-payment-provisioning-core.entry.js +23 -11
  310. package/dist/esm/justifi-payment-provisioning.entry.js +11 -11
  311. package/dist/esm/justifi-payment-transactions-list.entry.js +16 -16
  312. package/dist/esm/justifi-payments-list-filters.entry.js +7 -7
  313. package/dist/esm/justifi-payments-list.entry.js +16 -16
  314. package/dist/esm/justifi-payout-details.entry.js +12 -12
  315. package/dist/esm/justifi-payout-transactions-list.entry.js +16 -16
  316. package/dist/esm/justifi-payouts-list-filters.entry.js +7 -7
  317. package/dist/esm/justifi-payouts-list.entry.js +17 -17
  318. package/dist/esm/justifi-refund-payment.entry.js +16 -16
  319. package/dist/esm/justifi-saved-payment-method.entry.js +4 -4
  320. package/dist/esm/justifi-season-interruption-insurance.entry.js +14 -14
  321. package/dist/esm/justifi-skeleton.entry.js +5 -5
  322. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +10 -10
  323. package/dist/esm/justifi-terminal-orders-list.entry.js +14 -14
  324. package/dist/esm/justifi-terminals-list-filters.entry.js +9 -9
  325. package/dist/esm/justifi-terminals-list.entry.js +16 -16
  326. package/dist/esm/justifi-tokenize-payment-method.entry.js +2 -2
  327. package/dist/esm/loader.js +3 -3
  328. package/dist/esm/{package-BzT9OxlN.js → package-CekpA_KC.js} +1 -1
  329. package/dist/esm/pagination-menu.entry.js +2 -2
  330. package/dist/esm/{parts-sA8HBfkI.js → parts-DrquDBSk.js} +1 -1
  331. package/dist/esm/payment-details-core.entry.js +20 -20
  332. package/dist/esm/payment-method-option.entry.js +4 -4
  333. package/dist/esm/payment-provisioning-loading-DU0pNyqx.js +10 -0
  334. package/dist/esm/{payment.service-BoGemgMw.js → payment.service-C2lFq1yV.js} +3 -3
  335. package/dist/esm/payments-list-core.entry.js +15 -15
  336. package/dist/esm/{payments-list-params-state-gllzDQAb.js → payments-list-params-state-CiGfmyWW.js} +1 -1
  337. package/dist/esm/{payments-status-CADg1cD0.js → payments-status-Bn-MvMcF.js} +2 -2
  338. package/dist/esm/{payments-table-C6zHWwGO.js → payments-table-CF3_zGnh.js} +3 -3
  339. package/dist/esm/payout-details-core.entry.js +13 -13
  340. package/dist/esm/{payout.service-BSG50wqN.js → payout.service-ChupMPKT.js} +3 -3
  341. package/dist/esm/payouts-list-core.entry.js +15 -15
  342. package/dist/esm/{payouts-list-params-state-gllzDQAb.js → payouts-list-params-state-CiGfmyWW.js} +1 -1
  343. package/dist/esm/{payouts-status-4VDQvaYV.js → payouts-status-ehZrz-Xx.js} +2 -2
  344. package/dist/esm/{payouts-table-BU5XbzB9.js → payouts-table-CGZJfsje.js} +3 -3
  345. package/dist/esm/plaid-icon-wJLd-2NX.js +43 -0
  346. package/dist/esm/{schema-validations-iamDi5JD.js → schema-validations-CfHWzMvr.js} +19 -4
  347. package/dist/esm/{skeleton-Dtt56Fl3.js → skeleton-D9UXuoik.js} +2 -2
  348. package/dist/esm/{spinner-DikooWuI.js → spinner-ACMfJh3a.js} +2 -2
  349. package/dist/esm/{styled-host-DhOcKWqZ.js → styled-host-D6byRazK.js} +1 -1
  350. package/dist/esm/{table-1hqe6s5m.js → table-BbMG2jg9.js} +3 -3
  351. package/dist/esm/table-filters-menu.entry.js +4 -4
  352. package/dist/esm/terminal-orders-list-core.entry.js +14 -14
  353. package/dist/esm/{terminal-orders-list-params-state-gllzDQAb.js → terminal-orders-list-params-state-CiGfmyWW.js} +1 -1
  354. package/dist/esm/{terminal-orders-table-BsVBelxB.js → terminal-orders-table-B4_RAxxx.js} +6 -6
  355. package/dist/esm/terminal-quantity-selector.entry.js +4 -4
  356. package/dist/esm/{terminal.service-YKfi6Mr9.js → terminal.service-DqibXFHt.js} +3 -3
  357. package/dist/esm/terminals-list-core.entry.js +14 -14
  358. package/dist/esm/terminals-list-params-state-CiGfmyWW.js +16 -0
  359. package/dist/esm/{terminals-table-CXJTn-0I.js → terminals-table-B-7FR4ug.js} +3 -3
  360. package/dist/esm/{utils-CgFsPVsv.js → utils-DhCv62Pi.js} +2 -2
  361. package/dist/esm/webcomponents.js +31 -4
  362. package/dist/module/Analytics.js +9 -8
  363. package/dist/module/Business.js +6 -0
  364. package/dist/module/{Refund.js → Plaid.js} +51 -1
  365. package/dist/module/additional-questions.js +1 -1
  366. package/dist/module/additional-statement.js +2 -2
  367. package/dist/module/bank-account-billing-form-simple.js +1 -1
  368. package/dist/module/bank-account-document-inputs.js +2 -2
  369. package/dist/module/bank-account-form-inputs-canada2.js +1 -1
  370. package/dist/module/bank-account-form-inputs2.js +1 -1
  371. package/dist/module/bank-account-form.js +2 -2
  372. package/dist/module/bank-account-read-only-value2.js +1 -1
  373. package/dist/module/bank-account.js +2 -2
  374. package/dist/module/business-additional-questions-form-step.js +3 -3
  375. package/dist/module/business-additional-questions-schema.js +3 -1
  376. package/dist/module/business-address-schema.js +1 -1
  377. package/dist/module/business-bank-account-form-step.js +47 -26
  378. package/dist/module/business-core-info-form-step.js +1 -1
  379. package/dist/module/business-core-info.js +2 -2
  380. package/dist/module/business-details-core2.js +1 -1
  381. package/dist/module/business-identity-schema.js +5 -1
  382. package/dist/module/business-owners-form-step.js +42 -8
  383. package/dist/module/business-representative-form-inputs.js +2 -2
  384. package/dist/module/business-representative-form-step.js +1 -1
  385. package/dist/module/business-representative.js +2 -2
  386. package/dist/module/business-terms-conditions-form-step.js +2 -2
  387. package/dist/module/business.service.js +1 -1
  388. package/dist/module/button.js +1 -1
  389. package/dist/module/cancellation-policy.js +2 -2
  390. package/dist/module/card-billing-form-simple.js +1 -1
  391. package/dist/module/card-form.js +2 -2
  392. package/dist/module/card-form2.js +2 -2
  393. package/dist/module/checkout.service.js +1 -1
  394. package/dist/module/checkout.store.js +1 -1
  395. package/dist/module/checkouts-list-core2.js +3 -3
  396. package/dist/module/custom-popper2.js +50 -17
  397. package/dist/module/customer-details.js +2 -2
  398. package/dist/module/details.js +1 -1
  399. package/dist/module/dispute-management-core.js +2 -2
  400. package/dist/module/dispute-notification.js +3 -3
  401. package/dist/module/dispute-response-actions.js +1 -1
  402. package/dist/module/dispute-response-core.js +2 -2
  403. package/dist/module/dispute-response.js +2 -2
  404. package/dist/module/duplicate-charge.js +2 -2
  405. package/dist/module/electronic-evidence.js +2 -2
  406. package/dist/module/form-address-fields.js +1 -1
  407. package/dist/module/form-control-checkbox2.js +5 -2
  408. package/dist/module/form-control-date2.js +2 -2
  409. package/dist/module/form-control-file-v22.js +4 -1
  410. package/dist/module/form-control-file2.js +5 -2
  411. package/dist/module/form-control-monetary-provisioning2.js +6 -2
  412. package/dist/module/form-control-monetary2.js +2 -2
  413. package/dist/module/form-control-number-masked2.js +4 -2
  414. package/dist/module/form-control-number.js +1 -84
  415. package/dist/module/form-control-number2.js +87 -0
  416. package/dist/module/form-control-radio2.js +5 -2
  417. package/dist/module/form-control-select2.js +2 -2
  418. package/dist/module/form-control-text2.js +2 -2
  419. package/dist/module/form-control-textarea2.js +6 -2
  420. package/dist/module/get-business.js +1 -1
  421. package/dist/module/get-payment-details.js +1 -1
  422. package/dist/module/get-payout-csv.js +1 -1
  423. package/dist/module/get-subaccounts.js +1 -1
  424. package/dist/module/google-pay.js +3 -3
  425. package/dist/module/gross-payment-chart-core2.js +1 -1
  426. package/dist/module/hidden-input2.js +1 -1
  427. package/dist/module/identity-address-form.js +1 -1
  428. package/dist/module/iframe-input2.js +3 -3
  429. package/dist/module/index2.js +90 -21
  430. package/dist/module/internal-tokenize-payment-method2.js +2 -2
  431. package/dist/module/justifi-business-details.js +1 -1
  432. package/dist/module/justifi-business-form.js +1 -1
  433. package/dist/module/justifi-button2.js +1 -1
  434. package/dist/module/justifi-checkout.js +3 -3
  435. package/dist/module/justifi-checkouts-list-filters.js +4 -4
  436. package/dist/module/justifi-checkouts-list.js +2 -2
  437. package/dist/module/justifi-dispute-management.js +2 -2
  438. package/dist/module/justifi-gross-payment-chart.js +1 -1
  439. package/dist/module/justifi-header2.js +1 -1
  440. package/dist/module/justifi-order-terminals.js +3 -3
  441. package/dist/module/justifi-payment-details.js +1 -1
  442. package/dist/module/justifi-payment-provisioning.js +74 -62
  443. package/dist/module/justifi-payment-transactions-list.js +3 -3
  444. package/dist/module/justifi-payments-list-filters.js +3 -3
  445. package/dist/module/justifi-payments-list.js +2 -2
  446. package/dist/module/justifi-payout-details.js +1 -1
  447. package/dist/module/justifi-payout-transactions-list.js +3 -3
  448. package/dist/module/justifi-payouts-list-filters.js +3 -3
  449. package/dist/module/justifi-payouts-list.js +2 -2
  450. package/dist/module/justifi-refund-payment.js +1 -1
  451. package/dist/module/justifi-saved-payment-method.js +1 -1
  452. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  453. package/dist/module/justifi-skeleton.js +1 -1
  454. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  455. package/dist/module/justifi-terminal-orders-list.js +2 -2
  456. package/dist/module/justifi-terminals-list-filters.js +3 -3
  457. package/dist/module/justifi-terminals-list.js +2 -2
  458. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  459. package/dist/module/legal-address-form-step.js +1 -1
  460. package/dist/module/legal-address-form.js +1 -1
  461. package/dist/module/modular-checkout.js +3 -3
  462. package/dist/module/owner-form-core2.js +11 -5
  463. package/dist/module/owner-form-inputs2.js +13 -7
  464. package/dist/module/owner-form.js +11 -5
  465. package/dist/module/package.js +1 -1
  466. package/dist/module/parts.js +1 -1
  467. package/dist/module/payment-details-core2.js +9 -9
  468. package/dist/module/payment-method-option.js +1 -1
  469. package/dist/module/payment-provisioning-actions.js +1 -1
  470. package/dist/module/payment-provisioning-core.js +86 -62
  471. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  472. package/dist/module/payment-provisioning-form-steps.js +67 -55
  473. package/dist/module/payment.service.js +1 -1
  474. package/dist/module/payments-list-core2.js +3 -3
  475. package/dist/module/payout-details-core2.js +3 -3
  476. package/dist/module/payout.service.js +1 -1
  477. package/dist/module/payouts-list-core2.js +3 -3
  478. package/dist/module/plaid-icon.js +3 -0
  479. package/dist/module/plaid-payment-method.js +3 -53
  480. package/dist/module/plaid-verification.d.ts +11 -0
  481. package/dist/module/plaid-verification.js +6 -0
  482. package/dist/module/plaid-verification2.js +358 -0
  483. package/dist/module/plaid.service.js +14 -1
  484. package/dist/module/product-or-service.js +2 -2
  485. package/dist/module/refund-policy.js +2 -2
  486. package/dist/module/save-new-payment-method.js +1 -1
  487. package/dist/module/schema-validations.js +16 -1
  488. package/dist/module/shipping-details.js +2 -2
  489. package/dist/module/summary.js +1 -1
  490. package/dist/module/table-filters-menu2.js +2 -2
  491. package/dist/module/table.js +1 -1
  492. package/dist/module/terminal-orders-list-core2.js +3 -3
  493. package/dist/module/terminal-quantity-selector2.js +2 -2
  494. package/dist/module/terminal.service.js +1 -1
  495. package/dist/module/terminals-list-core2.js +3 -3
  496. package/dist/module/utils4.js +1 -1
  497. package/dist/types/api/Analytics.d.ts +1 -0
  498. package/dist/types/api/BankAccount.d.ts +1 -0
  499. package/dist/types/api/Business.d.ts +6 -0
  500. package/dist/types/api/Identity.d.ts +4 -0
  501. package/dist/types/api/Plaid.d.ts +54 -0
  502. package/dist/types/api/index.d.ts +1 -0
  503. package/dist/types/api/services/plaid.service.d.ts +8 -0
  504. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +2 -0
  505. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +1 -0
  506. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -0
  507. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +4 -0
  508. package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +3 -3
  509. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +1 -0
  510. package/dist/types/components/business-forms/payment-provisioning/plaid-verification/plaid-verification.d.ts +36 -0
  511. package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +2 -0
  512. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +12 -0
  513. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +10 -0
  514. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +1 -0
  515. package/dist/types/components/checkout/checkout.d.ts +19 -0
  516. package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +3 -0
  517. package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.d.ts +1 -25
  518. package/dist/types/components.d.ts +416 -239
  519. package/dist/types/ui-components/custom-popper/custom-popper.d.ts +4 -0
  520. package/dist/types/ui-components/form/form-control-checkbox.d.ts +2 -2
  521. package/dist/types/ui-components/form/form-control-file-v2.d.ts +2 -2
  522. package/dist/types/ui-components/form/form-control-file.d.ts +2 -2
  523. package/dist/types/ui-components/form/form-control-number-masked.d.ts +2 -2
  524. package/dist/types/ui-components/form/form-control-number.d.ts +1 -1
  525. package/dist/types/ui-components/form/form-control-radio.d.ts +3 -3
  526. package/dist/types/ui-components/form/form-control-textarea.d.ts +2 -2
  527. package/dist/webcomponents/{p-Dit3fZpU.js → p--cI8fPJx.js} +1 -1
  528. package/dist/webcomponents/p-02f360c5.entry.js +1 -0
  529. package/dist/webcomponents/{p-36a0af30.entry.js → p-0467df5d.entry.js} +1 -1
  530. package/dist/webcomponents/p-073ca03f.entry.js +1 -0
  531. package/dist/webcomponents/p-0eb97b54.entry.js +1 -0
  532. package/dist/webcomponents/p-0f6fa1c0.entry.js +1 -0
  533. package/dist/webcomponents/p-0fcb7ebb.entry.js +1 -0
  534. package/dist/webcomponents/p-110bec2e.entry.js +1 -0
  535. package/dist/webcomponents/{p-d0c4b0ea.entry.js → p-172b0c96.entry.js} +1 -1
  536. package/dist/webcomponents/{p-725319f3.entry.js → p-1ec3d1e7.entry.js} +1 -1
  537. package/dist/webcomponents/p-20cab5fe.entry.js +1 -0
  538. package/dist/webcomponents/p-238ba771.entry.js +1 -0
  539. package/dist/webcomponents/p-2454c140.entry.js +1 -0
  540. package/dist/webcomponents/p-25666afe.entry.js +1 -0
  541. package/dist/webcomponents/p-26430bfe.entry.js +1 -0
  542. package/dist/webcomponents/p-265a7cb3.entry.js +1 -0
  543. package/dist/webcomponents/p-2e7143b8.entry.js +1 -0
  544. package/dist/webcomponents/p-32fac30b.entry.js +1 -0
  545. package/dist/webcomponents/p-33ab9174.entry.js +1 -0
  546. package/dist/webcomponents/p-393c9065.entry.js +1 -0
  547. package/dist/webcomponents/p-3a254390.entry.js +1 -0
  548. package/dist/webcomponents/p-493e73a9.entry.js +1 -0
  549. package/dist/webcomponents/p-4a802f82.entry.js +1 -0
  550. package/dist/webcomponents/p-4b928d2e.entry.js +1 -0
  551. package/dist/webcomponents/p-4d3e4e56.entry.js +1 -0
  552. package/dist/webcomponents/p-50cc771a.entry.js +1 -0
  553. package/dist/webcomponents/p-55e63bdd.entry.js +1 -0
  554. package/dist/webcomponents/p-5ae3401d.entry.js +1 -0
  555. package/dist/webcomponents/p-65f4681c.entry.js +1 -0
  556. package/dist/webcomponents/p-7068c2ad.entry.js +1 -0
  557. package/dist/webcomponents/p-785e8ef7.entry.js +1 -0
  558. package/dist/webcomponents/{p-897b794b.entry.js → p-7b4e9ae8.entry.js} +2 -2
  559. package/dist/webcomponents/{p-1a327b0e.entry.js → p-7fdfc2c8.entry.js} +1 -1
  560. package/dist/webcomponents/p-81bbd944.entry.js +1 -0
  561. package/dist/webcomponents/p-8ac883e4.entry.js +1 -0
  562. package/dist/webcomponents/p-8e6f2dc8.entry.js +1 -0
  563. package/dist/webcomponents/p-8ed4f485.entry.js +1 -0
  564. package/dist/webcomponents/p-922ddfb4.entry.js +1 -0
  565. package/dist/webcomponents/p-9643fe36.entry.js +1 -0
  566. package/dist/webcomponents/{p-20af8597.entry.js → p-99065f37.entry.js} +1 -1
  567. package/dist/webcomponents/p-9ce5fcb6.entry.js +1 -0
  568. package/dist/webcomponents/p-9d844936.entry.js +1 -0
  569. package/dist/webcomponents/p-AMVhBsGv.js +1 -0
  570. package/dist/webcomponents/{p-DfKxeSrC.js → p-B1AMrMly.js} +1 -1
  571. package/dist/webcomponents/p-B8CPGGs6.js +1 -0
  572. package/dist/webcomponents/p-BPTtWj7E.js +1 -0
  573. package/dist/webcomponents/p-BRPbLfCN.js +1 -0
  574. package/dist/webcomponents/p-BZ4YUsyP.js +1 -0
  575. package/dist/webcomponents/{p-CPpUGsw5.js → p-BZbvHgMz.js} +1 -1
  576. package/dist/webcomponents/{p-CV8xqdt6.js → p-Bhk8tHxs.js} +1 -1
  577. package/dist/webcomponents/{p-B4xdk4mG.js → p-Bj9n56jK.js} +1 -1
  578. package/dist/webcomponents/p-BqL4QuAa.js +1 -0
  579. package/dist/webcomponents/{p-BP2sTIQV.js → p-BqNNwq6C.js} +1 -1
  580. package/dist/webcomponents/p-By-Mu1IX.js +1 -0
  581. package/dist/webcomponents/p-C0dMwnDO.js +1 -0
  582. package/dist/webcomponents/p-C3E-JbVM.js +1 -0
  583. package/dist/webcomponents/p-C3RQHKL5.js +1 -0
  584. package/dist/webcomponents/{p-BMJe4lzg.js → p-CAZzU98o.js} +1 -1
  585. package/dist/webcomponents/p-CGKWIBVk.js +1 -0
  586. package/dist/webcomponents/{p-DUmUUj9r.js → p-COcg4_A3.js} +1 -1
  587. package/dist/webcomponents/{p-C2Senazf.js → p-CQ36pja3.js} +1 -1
  588. package/dist/webcomponents/p-CV0Pyo1O.js +2 -0
  589. package/dist/webcomponents/{p-Dlrq1iZf.js → p-CWyW004b.js} +1 -1
  590. package/dist/webcomponents/p-CekpA_KC.js +1 -0
  591. package/dist/webcomponents/p-CkYB1zGe.js +1 -0
  592. package/dist/webcomponents/p-CpGEMRkH.js +1 -0
  593. package/dist/webcomponents/{p-CBbwdoSa.js → p-CruQSM5j.js} +1 -1
  594. package/dist/webcomponents/p-D-07jgNC.js +1 -0
  595. package/dist/webcomponents/p-D4EBPNuU.js +1 -0
  596. package/dist/webcomponents/p-D8GTwl9v.js +1 -0
  597. package/dist/webcomponents/{p-C77ElQ41.js → p-DCwnBXF7.js} +1 -1
  598. package/dist/webcomponents/p-DKemQxaE.js +1 -0
  599. package/dist/webcomponents/p-DOnVHzNq.js +1 -0
  600. package/dist/webcomponents/{p-tGDdRx0W.js → p-DVJaoI_m.js} +1 -1
  601. package/dist/webcomponents/p-DaZF_q9T.js +1 -0
  602. package/dist/webcomponents/p-Dm07nLGs.js +1 -0
  603. package/dist/webcomponents/p-DrquDBSk.js +1 -0
  604. package/dist/webcomponents/p-Dw63wyhO.js +1 -0
  605. package/dist/webcomponents/p-GgW1g7FQ.js +1 -0
  606. package/dist/webcomponents/{p-D6bKoyRc.js → p-JO-3z7ao.js} +1 -1
  607. package/dist/webcomponents/p-MVBgKFOv.js +1 -0
  608. package/dist/webcomponents/p-Y-EhaLdV.js +1 -0
  609. package/dist/webcomponents/{p-W9WWoLzT.js → p-YYXsr-bI.js} +1 -1
  610. package/dist/webcomponents/p-a20bddd2.entry.js +1 -0
  611. package/dist/webcomponents/p-a3510078.entry.js +1 -0
  612. package/dist/webcomponents/p-a4834220.entry.js +1 -0
  613. package/dist/webcomponents/p-a9ecaf0f.entry.js +1 -0
  614. package/dist/webcomponents/p-aa02e3d7.entry.js +1 -0
  615. package/dist/webcomponents/p-adbe280f.entry.js +1 -0
  616. package/dist/webcomponents/p-af11ac6a.entry.js +1 -0
  617. package/dist/webcomponents/p-bbffb17f.entry.js +1 -0
  618. package/dist/webcomponents/p-c0829d61.entry.js +1 -0
  619. package/dist/webcomponents/p-c2db5db6.entry.js +1 -0
  620. package/dist/webcomponents/{p-f37f3e94.entry.js → p-c7c79332.entry.js} +1 -1
  621. package/dist/webcomponents/p-c90f7ed6.entry.js +1 -0
  622. package/dist/webcomponents/p-ca8d78af.entry.js +1 -0
  623. package/dist/webcomponents/p-d4535236.entry.js +1 -0
  624. package/dist/webcomponents/p-d5827cb2.entry.js +1 -0
  625. package/dist/webcomponents/p-d7fa8461.entry.js +1 -0
  626. package/dist/webcomponents/p-dff12534.entry.js +1 -0
  627. package/dist/webcomponents/p-e54cdb00.entry.js +1 -0
  628. package/dist/webcomponents/p-e926be0d.entry.js +1 -0
  629. package/dist/webcomponents/p-ed9db5b2.entry.js +1 -0
  630. package/dist/webcomponents/p-f1e012f6.entry.js +1 -0
  631. package/dist/webcomponents/p-f1f0f100.entry.js +1 -0
  632. package/dist/webcomponents/p-f5b7c322.entry.js +1 -0
  633. package/dist/webcomponents/p-f9475bb0.entry.js +1 -0
  634. package/dist/webcomponents/p-ff1cff1d.entry.js +1 -0
  635. package/dist/webcomponents/{p-sCHf--Vc.js → p-g0kDRH6Z.js} +1 -1
  636. package/dist/webcomponents/p-m_Ly-YPk.js +1 -0
  637. package/dist/webcomponents/p-sPEyLX4E.js +1 -0
  638. package/dist/webcomponents/p-wSi5d4-j.js +1 -0
  639. package/dist/webcomponents/p-wqq-X93m.js +1 -0
  640. package/dist/webcomponents/{p-yyedWKWX.js → p-y8av3w9x.js} +1 -1
  641. package/dist/webcomponents/p-ygekUw3Q.js +1 -0
  642. package/dist/webcomponents/p-ztF3Y786.js +1 -0
  643. package/dist/webcomponents/webcomponents.esm.js +1 -1
  644. package/package.json +9 -12
  645. package/dist/cjs/bank-account-document-form-inputs_8.cjs.entry.js +0 -207
  646. package/dist/cjs/form-control-number.cjs.entry.js +0 -58
  647. package/dist/cjs/index-BhI7cJcE.js +0 -1891
  648. package/dist/cjs/terminals-list-params-state-DfZySwaC.js +0 -22
  649. package/dist/esm/bank-account-document-form-inputs_8.entry.js +0 -198
  650. package/dist/esm/form-control-number.entry.js +0 -56
  651. package/dist/esm/index-DwYM91AU.js +0 -1879
  652. package/dist/esm/terminals-list-params-state-gllzDQAb.js +0 -16
  653. package/dist/webcomponents/p-016b3e4c.entry.js +0 -1
  654. package/dist/webcomponents/p-035a4adc.entry.js +0 -1
  655. package/dist/webcomponents/p-06cae9e2.entry.js +0 -1
  656. package/dist/webcomponents/p-06f81525.entry.js +0 -1
  657. package/dist/webcomponents/p-0935600b.entry.js +0 -1
  658. package/dist/webcomponents/p-0ab9a3ae.entry.js +0 -1
  659. package/dist/webcomponents/p-0b7c4ed5.entry.js +0 -1
  660. package/dist/webcomponents/p-0bb616fc.entry.js +0 -1
  661. package/dist/webcomponents/p-11wdbrqX.js +0 -1
  662. package/dist/webcomponents/p-138ada4a.entry.js +0 -1
  663. package/dist/webcomponents/p-148d3327.entry.js +0 -1
  664. package/dist/webcomponents/p-1575ca68.entry.js +0 -1
  665. package/dist/webcomponents/p-1e761d96.entry.js +0 -1
  666. package/dist/webcomponents/p-20e85114.entry.js +0 -1
  667. package/dist/webcomponents/p-2cb9edad.entry.js +0 -1
  668. package/dist/webcomponents/p-2d4a2d26.entry.js +0 -1
  669. package/dist/webcomponents/p-368b37ad.entry.js +0 -1
  670. package/dist/webcomponents/p-3a3935a3.entry.js +0 -1
  671. package/dist/webcomponents/p-3f14d0c4.entry.js +0 -1
  672. package/dist/webcomponents/p-4d2589b2.entry.js +0 -1
  673. package/dist/webcomponents/p-511e80a4.entry.js +0 -1
  674. package/dist/webcomponents/p-5996879d.entry.js +0 -1
  675. package/dist/webcomponents/p-5a748e49.entry.js +0 -1
  676. package/dist/webcomponents/p-5c6727ae.entry.js +0 -1
  677. package/dist/webcomponents/p-622af881.entry.js +0 -1
  678. package/dist/webcomponents/p-6454626a.entry.js +0 -1
  679. package/dist/webcomponents/p-64ebff16.entry.js +0 -1
  680. package/dist/webcomponents/p-66713269.entry.js +0 -1
  681. package/dist/webcomponents/p-679b36b5.entry.js +0 -1
  682. package/dist/webcomponents/p-71577fa1.entry.js +0 -1
  683. package/dist/webcomponents/p-77754a65.entry.js +0 -1
  684. package/dist/webcomponents/p-7ec4838f.entry.js +0 -1
  685. package/dist/webcomponents/p-88a8741b.entry.js +0 -1
  686. package/dist/webcomponents/p-899b981b.entry.js +0 -1
  687. package/dist/webcomponents/p-8c4b502d.entry.js +0 -1
  688. package/dist/webcomponents/p-8df30672.entry.js +0 -1
  689. package/dist/webcomponents/p-911b3d63.entry.js +0 -1
  690. package/dist/webcomponents/p-97b8bf5c.entry.js +0 -1
  691. package/dist/webcomponents/p-9b74a642.entry.js +0 -1
  692. package/dist/webcomponents/p-9b8aee30.entry.js +0 -1
  693. package/dist/webcomponents/p-9e94c9ef.entry.js +0 -1
  694. package/dist/webcomponents/p-B5rtFhtR.js +0 -1
  695. package/dist/webcomponents/p-BOqOio4U.js +0 -1
  696. package/dist/webcomponents/p-BUsqF4-J.js +0 -1
  697. package/dist/webcomponents/p-BYsgavgS.js +0 -1
  698. package/dist/webcomponents/p-BhqSAzpT.js +0 -1
  699. package/dist/webcomponents/p-BrRsgB8S.js +0 -1
  700. package/dist/webcomponents/p-BzT9OxlN.js +0 -1
  701. package/dist/webcomponents/p-C9VmfRis.js +0 -1
  702. package/dist/webcomponents/p-CCxsFwC4.js +0 -1
  703. package/dist/webcomponents/p-CK_XkZku.js +0 -1
  704. package/dist/webcomponents/p-CQGIjIgZ.js +0 -1
  705. package/dist/webcomponents/p-CZ3F1ZAT.js +0 -1
  706. package/dist/webcomponents/p-CgiDds_u.js +0 -1
  707. package/dist/webcomponents/p-CsgUIrv8.js +0 -1
  708. package/dist/webcomponents/p-D032AB34.js +0 -1
  709. package/dist/webcomponents/p-DATDsXcA.js +0 -1
  710. package/dist/webcomponents/p-DGGjRqDa.js +0 -1
  711. package/dist/webcomponents/p-DKGn-ILd.js +0 -1
  712. package/dist/webcomponents/p-DOcRWTul.js +0 -1
  713. package/dist/webcomponents/p-DY_3dcgR.js +0 -1
  714. package/dist/webcomponents/p-DdJYXOQX.js +0 -1
  715. package/dist/webcomponents/p-DmdEjScI.js +0 -1
  716. package/dist/webcomponents/p-DwYM91AU.js +0 -2
  717. package/dist/webcomponents/p-RTAZ4tdd.js +0 -1
  718. package/dist/webcomponents/p-Ty7R7tsw.js +0 -1
  719. package/dist/webcomponents/p-U3nU15el.js +0 -1
  720. package/dist/webcomponents/p-Uqevvbqm.js +0 -1
  721. package/dist/webcomponents/p-VRubcA-q.js +0 -1
  722. package/dist/webcomponents/p-a0b4c42b.entry.js +0 -1
  723. package/dist/webcomponents/p-af7c219d.entry.js +0 -1
  724. package/dist/webcomponents/p-b0f0d53c.entry.js +0 -1
  725. package/dist/webcomponents/p-b752c5bc.entry.js +0 -1
  726. package/dist/webcomponents/p-bbff6196.entry.js +0 -1
  727. package/dist/webcomponents/p-c0c36187.entry.js +0 -1
  728. package/dist/webcomponents/p-c920dc54.entry.js +0 -1
  729. package/dist/webcomponents/p-cdf1e61c.entry.js +0 -1
  730. package/dist/webcomponents/p-d077569e.entry.js +0 -1
  731. package/dist/webcomponents/p-d7b1b7b5.entry.js +0 -1
  732. package/dist/webcomponents/p-dc6c9c79.entry.js +0 -1
  733. package/dist/webcomponents/p-e4335938.entry.js +0 -1
  734. package/dist/webcomponents/p-e805b011.entry.js +0 -1
  735. package/dist/webcomponents/p-ecbc83bf.entry.js +0 -1
  736. package/dist/webcomponents/p-f30c939f.entry.js +0 -1
  737. package/dist/webcomponents/p-f56d7b4c.entry.js +0 -1
  738. package/dist/webcomponents/p-f99403d8.entry.js +0 -1
  739. package/dist/webcomponents/p-fb644da6.entry.js +0 -1
  740. package/dist/webcomponents/p-fc4b27ec.entry.js +0 -1
  741. package/dist/webcomponents/p-fe43449c.entry.js +0 -1
  742. package/dist/webcomponents/p-giyZ3C4E.js +0 -1
  743. package/dist/webcomponents/p-sA8HBfkI.js +0 -1
  744. package/docs/.eslintrc.cjs +0 -17
  745. package/docs/changelog/index.mdx +0 -17
  746. package/docs/entities/businessdetails/index.mdx +0 -143
  747. package/docs/entities/businessform/index.mdx +0 -241
  748. package/docs/entities/index.mdx +0 -19
  749. package/docs/entities/payment-provisioning/index.mdx +0 -128
  750. package/docs/frameworks/angular/index.mdx +0 -112
  751. package/docs/frameworks/index.mdx +0 -18
  752. package/docs/frameworks/react/index.mdx +0 -125
  753. package/docs/frameworks/vue/index.mdx +0 -102
  754. package/docs/helpers/PartsTable.js +0 -50
  755. package/docs/helpers/PropsTable.js +0 -56
  756. package/docs/helpers/index.ts +0 -3
  757. package/docs/helpers/version.js +0 -32
  758. package/docs/introduction/index.mdx +0 -125
  759. package/docs/merchant-tools/checkouts-list/index.mdx +0 -97
  760. package/docs/merchant-tools/gross-payments-chart/index.mdx +0 -83
  761. package/docs/merchant-tools/index.mdx +0 -25
  762. package/docs/merchant-tools/order-terminals/index.mdx +0 -84
  763. package/docs/merchant-tools/payment-details/index.mdx +0 -132
  764. package/docs/merchant-tools/payment-transactions-list/index.mdx +0 -85
  765. package/docs/merchant-tools/payments-list/index.mdx +0 -109
  766. package/docs/merchant-tools/payout-details/index.mdx +0 -84
  767. package/docs/merchant-tools/payout-transactions-list/index.mdx +0 -84
  768. package/docs/merchant-tools/payouts-list/index.mdx +0 -92
  769. package/docs/merchant-tools/terminal-orders-list/index.mdx +0 -85
  770. package/docs/merchant-tools/terminals-list/index.mdx +0 -93
  771. package/docs/modular-checkout/complete-examples/index.mdx +0 -20
  772. package/docs/modular-checkout/index.mdx +0 -20
  773. package/docs/modular-checkout/introduction/index.mdx +0 -102
  774. package/docs/modular-checkout/sub-components/apple-pay.mdx +0 -106
  775. package/docs/modular-checkout/sub-components/bank-account-form.mdx +0 -167
  776. package/docs/modular-checkout/sub-components/card-form.mdx +0 -178
  777. package/docs/modular-checkout/sub-components/index.mdx +0 -23
  778. package/docs/modular-checkout/sub-components/payment-method-options.mdx +0 -87
  779. package/docs/modular-checkout/sub-components/plaid-payment-method.mdx +0 -158
  780. package/docs/modular-checkout/sub-components/saved-payment-methods.mdx +0 -183
  781. package/docs/modular-checkout/sub-components/season-interruption-insurance.mdx +0 -221
  782. package/docs/modular-checkout/sub-components/sezzle-payment-method.mdx +0 -183
  783. package/docs/modular-checkout/sub-components/summary.mdx +0 -111
  784. package/docs/payment-facilitation/dispute-management/index.mdx +0 -99
  785. package/docs/payment-facilitation/index.mdx +0 -21
  786. package/docs/payment-facilitation/refund-payment/index.mdx +0 -241
  787. package/docs/payment-facilitation/tokenize-payment-method/index.mdx +0 -350
  788. package/docs/payment-facilitation/unified-fintech-checkout/342/204/242/index.mdx +0 -150
@@ -0,0 +1,532 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-p7cvUYAE.js');
4
+ require('./config-state-BIgGhhe9.js');
5
+ require('./dinero-BwNN_k7x.js');
6
+ var ComponentError = require('./ComponentError-D4OLnOkg.js');
7
+ var Plaid = require('./Plaid-DxPvVu0H.js');
8
+ require('./Pagination-Dediz133.js');
9
+ require('./Business-CB8EVrhD.js');
10
+ require('./Dispute-CruQTF6_.js');
11
+ var businessFormOptions = require('./business-form-options-B3CbEmdc.js');
12
+ require('./event-types-DNOUef41.js');
13
+ var utils = require('./utils-DAyWinG2.js');
14
+ var parts = require('./parts-BsBVknuf.js');
15
+ var utils$1 = require('./utils-D4WPxuzW.js');
16
+ var skeleton = require('./skeleton-BGGMhPJj.js');
17
+ require('./event-types-YOY5TKUN.js');
18
+ var formControlErrorText = require('./form-control-error-text-BC5aRpfl.js');
19
+ var inputHandlers = require('./input-handlers-gV1LyFy3.js');
20
+ var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
21
+ var countryConfig = require('./country-config-ETD-7Wb7.js');
22
+ var paymentProvisioningActions = require('./payment-provisioning-actions-CZVlnRA0.js');
23
+ var business_service = require('./business.service-zGEitIbP.js');
24
+ var button = require('./button-C2p1BMP-.js');
25
+ var styledHost = require('./styled-host-DAi5SuFa.js');
26
+ var plaidIcon = require('./plaid-icon-DTpONc_Q.js');
27
+ require('./index-W-zoNiyM.js');
28
+ require('./index-CajjbB9t.js');
29
+ require('./utils-DvUQQLmR.js');
30
+ require('./Api-CVbEWBG6.js');
31
+
32
+ const BankAccountDocumentFormInputs = class {
33
+ constructor(hostRef) {
34
+ index.registerInstance(this, hostRef);
35
+ }
36
+ render() {
37
+ return (index.h("div", { key: '7f9ea576aad16f3c2ea45c987a38878ea65f2df2', class: "row gy-3" }, index.h("div", { key: '316fe3f20df7c7dce2b8903e6073e0fe7920e5e8', class: "col-12" }, index.h("form-control-file", { key: '320d6b7f3de2cfeeb30eb1e08ca4122123854ffd', name: "voided_check", label: "Voided Check", documentType: Plaid.EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), index.h("div", { key: 'f33a936c61c14c701e40d375e4dfc4c554b8293c', class: "col-12" }, index.h("form-control-file", { key: '1e160d8211a71175d6a45b10590fb2c8774f61e1', name: "bank_statement", label: "Bank Statement", documentType: Plaid.EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
38
+ }
39
+ };
40
+
41
+ const BankAccountFormInputs = class {
42
+ constructor(hostRef) {
43
+ index.registerInstance(this, hostRef);
44
+ }
45
+ render() {
46
+ var _a, _b, _c, _d, _e, _f;
47
+ return (index.h("div", { key: '5dc7139f54d11979410d0d67ca29e65b02f30200', class: "row gy-3" }, index.h("div", { key: '118f15bf02855b24baec5ce2a2c3cf5b241b3da4', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (index.h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), index.h("div", { key: 'db03eccee03ec4b7d0de637306315982a2cd770d', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (index.h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), index.h("div", { key: '217120e0052b8ee41cac8f901ac4d9742b0c6ea9', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (index.h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), index.h("div", { key: 'f589511545d6262966a6fa2888cb78babacfb770', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (index.h("form-control-select", { name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), index.h("div", { key: '24df83bb2666cee381c266608c43f3fd729db4cf', class: "col-6" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (index.h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." }))), index.h("div", { key: '75fe11d71e57707d088f8a90a250621fce82647f', class: "col-6" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Routing Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.routing_number) || '' })) : (index.h("form-control-text", { name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." })))));
48
+ }
49
+ };
50
+
51
+ const BankAccountFormInputsCanada = class {
52
+ constructor(hostRef) {
53
+ index.registerInstance(this, hostRef);
54
+ }
55
+ render() {
56
+ var _a, _b, _c, _d, _e, _f, _g;
57
+ return (index.h("div", { key: '34cbf10449df73748095fd7122d0ae1355a83e13', class: "row gy-3" }, index.h("div", { key: '607cc5cbc70fdd2d5a325bef7002a44740394282', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (index.h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), index.h("div", { key: 'f57f4cd733f2dd439d6d83f32078371618f5fa06', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (index.h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), index.h("div", { key: 'b92dface0116321ea990bfcaf1b036b5629385db', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (index.h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), index.h("div", { key: '45d68efa47de76ee420cedfb97e82f498a2de97b', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (index.h("form-control-select", { name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), index.h("div", { key: '8419925e8470d63d506e1f7e82ccdf1a1132ecc0', class: "col-3" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Transit Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.transit_number) || '' })) : (index.h("form-control-text", { name: "transit_number", label: "Transit Number", defaultValue: this.defaultValue.transit_number, maxLength: 5, errorText: this.errors.transit_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "5 digits" }))), index.h("div", { key: 'aa6e83c409e0cf93f1903394f63c0b719ec8808e', class: "col-3" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Institution Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.institution_number) || '' })) : (index.h("form-control-text", { name: "institution_number", label: "Institution Number", defaultValue: this.defaultValue.institution_number, maxLength: 3, errorText: this.errors.institution_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "3 digits" }))), index.h("div", { key: '029058c023daca9d0488f45478af6edafe359df7', class: "col-6" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Number", value: ((_g = this.defaultValue) === null || _g === void 0 ? void 0 : _g.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (index.h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "Please copy the account number as shown on your statement. Do not include spaces or dashes." })))));
58
+ }
59
+ };
60
+
61
+ const BankAccountReadOnlyValue = class {
62
+ constructor(hostRef) {
63
+ index.registerInstance(this, hostRef);
64
+ }
65
+ render() {
66
+ return (index.h("div", { key: 'ad9eadcf49dbc67e51cd814d3ded334a587cc17c' }, index.h("label", { key: 'b8ba3d8b7ef9fc33e0e0870f71b7df5dbfae4759', class: "form-label", part: parts.text }, this.label), index.h("div", { key: '1839bdadb96b3c814c73991530497f9a7be6a10d', part: parts.text }, this.value || '')));
67
+ }
68
+ };
69
+
70
+ const BusinessDocumentsOnFile = class {
71
+ constructor(hostRef) {
72
+ index.registerInstance(this, hostRef);
73
+ this.documents = [];
74
+ this.isLoading = false;
75
+ }
76
+ render() {
77
+ if (this.isLoading) {
78
+ return index.h(skeleton.Skeleton, { height: "50px" });
79
+ }
80
+ if (!this.documents.length) {
81
+ return null;
82
+ }
83
+ return (index.h(index.Host, null, index.h("div", { class: "card", part: parts.card }, index.h("div", { class: "card-body" }, index.h("h5", { class: "card-title", part: parts.heading2 }, "Documents Already on File"), index.h("div", { class: "table-responsive" }, index.h("table", { class: "table table-sm table-borderless", part: parts.table }, index.h("thead", null, index.h("tr", null, index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "File Name"), index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "File Type"), index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "Document Type"), index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "Date Uploaded"))), index.h("tbody", null, this.documents.sort((a, b) => a.document_type.localeCompare(b.document_type))
84
+ .map((document, index$1) => {
85
+ return (index.h("tr", { class: index$1 === 0 ? "border-bottom border-top" : "border-bottom" }, index.h("td", { part: parts.tableCell }, document.file_name), index.h("td", { part: parts.tableCell }, document.file_type), index.h("td", { part: parts.tableCell }, utils$1.snakeCaseToHumanReadable(document.document_type)), index.h("td", { part: parts.tableCell }, `${utils$1.formatDate(document.created_at)} - ${utils$1.formatTime(document.created_at)}`)));
86
+ })))))), index.h("hr", null)));
87
+ }
88
+ };
89
+
90
+ const FileInput = class {
91
+ constructor(hostRef) {
92
+ index.registerInstance(this, hostRef);
93
+ this.formControlInput = index.createEvent(this, "formControlInput", 7);
94
+ this.formControlBlur = index.createEvent(this, "formControlBlur", 7);
95
+ this.fileSelected = index.createEvent(this, "fileSelected", 7);
96
+ this.isFocused = false;
97
+ this.errorText = '';
98
+ this.inputHandler = () => { };
99
+ this.disabled = false;
100
+ this.handleFormControlInput = (event) => {
101
+ const target = event.target;
102
+ const name = target.getAttribute('name');
103
+ this.inputHandler(name, target.value);
104
+ this.formControlInput.emit({ name, value: target.value });
105
+ };
106
+ this.changeHandler = () => {
107
+ const inputFileList = this.fileInput.files;
108
+ if (inputFileList) {
109
+ this.fileSelected.emit({
110
+ fileList: inputFileList,
111
+ document_type: this.documentType
112
+ });
113
+ }
114
+ };
115
+ }
116
+ componentDidLoad() {
117
+ this.fileInput = this.el.querySelector('input');
118
+ }
119
+ get part() {
120
+ let part = parts.input;
121
+ if (this.errorText) {
122
+ part = parts.inputInvalid;
123
+ }
124
+ if (this.disabled) {
125
+ part = parts.inputDisabled;
126
+ }
127
+ if (this.isFocused) {
128
+ part = parts.inputFocused;
129
+ }
130
+ return part;
131
+ }
132
+ render() {
133
+ return (index.h(index.Host, { key: '430da302c06fb83a93c10bbf8d9b62ff89fc9e5e' }, index.h("div", { key: '2235fd7e9ef83839a5c9644828580cb1727cb3cc', class: "form-group d-flex flex-column" }, index.h("div", { key: 'e899430b50cd692e76b4992d01df4ab5ef754ff4', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '41a257c0c9064ababe2167522690678627d574ec', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '734a6dbf61d1f04920b01e8d9024c29bc8cf0967', helpText: this.helpText })), index.h("input", { key: '6bbe60077bbff7c427cb84883f91489ae58abbd1', ref: (el) => this.fileInput = el, 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 = true, onBlur: () => {
134
+ this.isFocused = false;
135
+ this.formControlBlur.emit();
136
+ } }), index.h(formControlErrorText.FormControlErrorText, { key: '4b0ed448a2f7fd8e76d21abdaa47662f847bca7f', errorText: this.errorText, name: this.name }))));
137
+ }
138
+ get el() { return index.getElement(this); }
139
+ };
140
+
141
+ const RepresentativeFormInputs = class {
142
+ constructor(hostRef) {
143
+ index.registerInstance(this, hostRef);
144
+ this.isEditingIdentification = false;
145
+ this.inputHandler = (name, value) => {
146
+ inputHandlers.updateFormValues(this.formController, { [name]: value });
147
+ };
148
+ this.onAddressFormUpdate = (values) => {
149
+ inputHandlers.updateAddressFormValues(this.formController, Object.assign(Object.assign({}, this.formController.values.getValue().address), values));
150
+ };
151
+ }
152
+ render() {
153
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
154
+ return (index.h("form", { key: 'a9c0f6332bf302d5eb9f93c4ca045d572a40468f' }, index.h("fieldset", { key: '115c564826335a9c7b670bbc0409912c3eb7a4aa' }, index.h("div", { key: '6de8909b4b2f3c7d8ec4665aad77ef59cdf035b4', class: "d-flex align-items-center gap-2" }, index.h("legend", { key: 'bb8b5a3775eae450a866356a9e149a0bf57b5699', class: "mb-0", part: parts.heading2 }, "Representative"), index.h("form-control-tooltip", { key: 'a0296d4a3c35a039525f39501e117ee6fdd12257', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), index.h("hr", { key: 'abbee22f5664275f27dd8eeb2b12c87b059ff024', class: "mt-2" }), index.h("div", { key: 'e165ff125df62dc1d22b7329fe7fe2ff200cbbb3', class: "row gy-3" }, index.h("div", { key: '114ff752eeda3ffa90529ff6bc675b874f543336', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '8b6ce9f4a327ca5282aa32c226f671945aa10404', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: 'bce864367883c6bbf7bd0841114a3dbb39db692b', class: "col-12 col-md-4" }, index.h("form-control-text", { key: 'ec3e72dc3f84c0daee2c6509f7dbf2bad22f5db6', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), index.h("div", { key: '200ae959d897d9d22016553d3c586cf3f0438dd9', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '4f77d6ca6c3c85edabc11af6f5703ab1327f05e7', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: 'cf642ee73f7ae8b254920a3f781c23dc456f16ae', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: 'df609213bec728f17b2527a2e99ff3e0e69604aa', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '2e4565c06976723ae4e497a5305cea7468bac2f4', class: "col-12 col-md-4" }, index.h("form-control-date", { key: 'ca7d4bf05c32d1d9983df430d338cc3433015957', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => inputHandlers.updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), index.h("div", { key: 'f6cbe1b7f4e5575f626e6d73f31b4a1a09ac33e3', class: "col-12 col-md-8" }, (!((_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.ssn_last4) || this.isEditingIdentification) ? (index.h("form-control-number-masked", { name: "identification_number", label: countryConfig.countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].identityHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, countryConfig.countryLabels[this.country].idNumberLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_h = this.representativeDefaultValue) === null || _h === void 0 ? void 0 : _h.ssn_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
155
+ this.isEditingIdentification = true;
156
+ // Clear current value to force validation
157
+ inputHandlers.updateFormValues(this.formController, {
158
+ identification_number: '',
159
+ ssn_last4: null
160
+ });
161
+ } }, "Change"))))), index.h("div", { key: 'e3fa556dece2feaf5eb175ae3734c2319777ef48', class: "col-12" }, index.h("justifi-identity-address-form", { key: 'fe3d349371d11b8a246b9c31aebd7d9c84e03f8e', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
162
+ }
163
+ };
164
+
165
+ const BusinessOwnerForm = class {
166
+ constructor(hostRef) {
167
+ index.registerInstance(this, hostRef);
168
+ this.errorEvent = index.createEvent(this, "error-event", 7);
169
+ }
170
+ async validate() {
171
+ return this.coreComponent.validate();
172
+ }
173
+ async submit() {
174
+ return this.coreComponent.submit();
175
+ }
176
+ async validateAndSubmit({ onSuccess }) {
177
+ this.coreComponent.validateAndSubmit({ onSuccess });
178
+ }
179
+ componentWillLoad() {
180
+ this.initializeApi();
181
+ }
182
+ initializeApi() {
183
+ if (!this.authToken) {
184
+ return;
185
+ }
186
+ this.getOwner = paymentProvisioningActions.makeGetIdentity({
187
+ authToken: this.authToken,
188
+ identityId: this.ownerId,
189
+ service: new business_service.IdentityService()
190
+ });
191
+ this.patchOwner = paymentProvisioningActions.makePatchIdentity({
192
+ authToken: this.authToken,
193
+ identityId: this.ownerId,
194
+ service: new business_service.IdentityService()
195
+ });
196
+ this.postOwner = paymentProvisioningActions.makePostIdentity({
197
+ authToken: this.authToken,
198
+ service: new business_service.IdentityService()
199
+ });
200
+ }
201
+ render() {
202
+ return (index.h("owner-form-core", { key: '47c36dfc76ac8a108950e17770d1a0fb06fe4e42', ownerId: this.ownerId, businessId: this.businessId, getOwner: this.getOwner, patchOwner: this.patchOwner, postOwner: this.postOwner, allowOptionalFields: this.allowOptionalFields, removeOwner: this.removeOwner, newFormOpen: this.newFormOpen, ownersLength: this.ownersLength, country: this.country, ref: ref => this.coreComponent = ref }));
203
+ }
204
+ };
205
+
206
+ const PlaidVerification = class {
207
+ constructor(hostRef) {
208
+ index.registerInstance(this, hostRef);
209
+ this.plaidVerificationSuccess = index.createEvent(this, "plaidVerificationSuccess", 7);
210
+ this.plaidVerificationError = index.createEvent(this, "plaidVerificationError", 7);
211
+ this.linkToken = null;
212
+ this.linkTokenId = null;
213
+ this.plaidLink = null;
214
+ this.isAuthenticating = false;
215
+ this.isSuccess = false;
216
+ this.error = null;
217
+ this.isLoading = false;
218
+ this.plaidService = new plaidIcon.PlaidService();
219
+ this.abortController = null;
220
+ this.timeoutId = null;
221
+ this.initializePlaidLink = async () => {
222
+ try {
223
+ // Check if Plaid is available globally
224
+ if (typeof window.Plaid === 'undefined') {
225
+ this.handleError({
226
+ code: Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED,
227
+ message: Plaid.PLAID_ERROR_MESSAGES[Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED],
228
+ severity: Plaid.PLAID_ERROR_SEVERITY[Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED],
229
+ retryable: true,
230
+ userAction: 'Refresh the page and try again',
231
+ });
232
+ return;
233
+ }
234
+ // Get link token from backend
235
+ await this.getLinkToken();
236
+ if (!this.linkToken) {
237
+ this.handleError({
238
+ code: Plaid.PlaidErrorCodes.PLAID_LINK_TOKEN_FAILED,
239
+ message: Plaid.PLAID_ERROR_MESSAGES[Plaid.PlaidErrorCodes.PLAID_LINK_TOKEN_FAILED],
240
+ severity: Plaid.PLAID_ERROR_SEVERITY[Plaid.PlaidErrorCodes.PLAID_LINK_TOKEN_FAILED],
241
+ retryable: true,
242
+ userAction: 'Click to try again',
243
+ });
244
+ return;
245
+ }
246
+ // Initialize Plaid Link
247
+ const Plaid$1 = window.Plaid;
248
+ this.plaidLink = Plaid$1.create({
249
+ token: this.linkToken,
250
+ onSuccess: this.handlePlaidSuccess,
251
+ onExit: this.handlePlaidExit,
252
+ onEvent: this.handlePlaidEvent,
253
+ onLoad: this.handlePlaidLoad,
254
+ });
255
+ }
256
+ catch (error) {
257
+ this.handleError({
258
+ code: Plaid.PlaidErrorCodes.PLAID_LINK_INIT_FAILED,
259
+ message: Plaid.PLAID_ERROR_MESSAGES[Plaid.PlaidErrorCodes.PLAID_LINK_INIT_FAILED],
260
+ severity: Plaid.PLAID_ERROR_SEVERITY[Plaid.PlaidErrorCodes.PLAID_LINK_INIT_FAILED],
261
+ originalError: error,
262
+ retryable: true,
263
+ userAction: 'Click to try again',
264
+ });
265
+ }
266
+ };
267
+ this.getLinkToken = async () => {
268
+ var _a, _b, _c, _d;
269
+ try {
270
+ if (!this.authToken || !this.accountId) {
271
+ this.handleError({
272
+ code: Plaid.PlaidErrorCodes.PLAID_LINK_TOKEN_FAILED,
273
+ message: 'Missing authentication. Please provide authToken and accountId.',
274
+ severity: ComponentError.ComponentErrorSeverity.ERROR,
275
+ retryable: false,
276
+ userAction: 'Provide required props',
277
+ });
278
+ return;
279
+ }
280
+ // Create abort controller for timeout handling
281
+ this.abortController = new AbortController();
282
+ // Set timeout for the request
283
+ this.timeoutId = setTimeout(() => {
284
+ var _a;
285
+ (_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
286
+ }, 30000); // 30 second timeout
287
+ const response = await this.plaidService.getLinkTokenForVerification(this.authToken, this.businessId, this.abortController.signal);
288
+ // Clear timeout
289
+ if (this.timeoutId) {
290
+ clearTimeout(this.timeoutId);
291
+ this.timeoutId = null;
292
+ }
293
+ if (response.error) {
294
+ const errorMessage = typeof response.error === 'string'
295
+ ? response.error
296
+ : response.error.message || 'Failed to get link token';
297
+ throw new Error(errorMessage);
298
+ }
299
+ this.linkToken = response.data.link_token;
300
+ this.linkTokenId = response.data.id;
301
+ }
302
+ catch (error) {
303
+ // Clear timeout
304
+ if (this.timeoutId) {
305
+ clearTimeout(this.timeoutId);
306
+ this.timeoutId = null;
307
+ }
308
+ let errorCode = Plaid.PlaidErrorCodes.PLAID_LINK_TOKEN_FAILED;
309
+ let message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
310
+ let retryable = true;
311
+ // Handle specific error types
312
+ if (error.name === 'AbortError') {
313
+ errorCode = Plaid.PlaidErrorCodes.PLAID_TIMEOUT;
314
+ message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
315
+ retryable = true;
316
+ }
317
+ else if (((_a = error.message) === null || _a === void 0 ? void 0 : _a.includes('network')) || ((_b = error.message) === null || _b === void 0 ? void 0 : _b.includes('fetch'))) {
318
+ errorCode = Plaid.PlaidErrorCodes.PLAID_NETWORK_ERROR;
319
+ message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
320
+ retryable = true;
321
+ }
322
+ else if (((_c = error.message) === null || _c === void 0 ? void 0 : _c.includes('401')) || ((_d = error.message) === null || _d === void 0 ? void 0 : _d.includes('unauthorized'))) {
323
+ errorCode = Plaid.PlaidErrorCodes.PLAID_INVALID_CREDENTIALS;
324
+ message = 'Authentication failed. Please check your credentials.';
325
+ retryable = false;
326
+ }
327
+ this.handleError({
328
+ code: errorCode,
329
+ message: message,
330
+ severity: Plaid.PLAID_ERROR_SEVERITY[errorCode],
331
+ originalError: error,
332
+ retryable,
333
+ userAction: retryable ? 'Click to try again' : 'Check your credentials',
334
+ });
335
+ }
336
+ };
337
+ this.openPlaidLink = () => {
338
+ if (this.plaidLink && this.linkToken) {
339
+ this.isAuthenticating = true;
340
+ this.clearError();
341
+ this.plaidLink.open();
342
+ }
343
+ };
344
+ this.handlePlaidSuccess = async (publicToken, _metadata) => {
345
+ var _a;
346
+ this.isAuthenticating = false;
347
+ this.isLoading = true;
348
+ this.clearError();
349
+ try {
350
+ // Send publicToken to backend
351
+ const response = await this.plaidService.postPlaidVerifiedBankAccountData(this.authToken, this.businessId, { public_token: publicToken, link_token_id: this.linkTokenId }, (_a = this.abortController) === null || _a === void 0 ? void 0 : _a.signal);
352
+ if (response.error) {
353
+ const errorMessage = typeof response.error === 'string'
354
+ ? response.error
355
+ : response.error.message || 'Failed to verify bank account';
356
+ throw new Error(errorMessage);
357
+ }
358
+ // Success - display success message
359
+ this.isSuccess = true;
360
+ this.isLoading = false;
361
+ // Emit success event
362
+ this.plaidVerificationSuccess.emit({ publicToken, bankAccount: response.data });
363
+ }
364
+ catch (error) {
365
+ this.isLoading = false;
366
+ this.handleError({
367
+ code: Plaid.PlaidErrorCodes.PLAID_AUTHENTICATION_FAILED,
368
+ message: (error === null || error === void 0 ? void 0 : error.message) || 'Failed to verify bank account',
369
+ severity: Plaid.PLAID_ERROR_SEVERITY[Plaid.PlaidErrorCodes.PLAID_AUTHENTICATION_FAILED],
370
+ originalError: error,
371
+ retryable: true,
372
+ userAction: 'Click to try again',
373
+ });
374
+ }
375
+ };
376
+ this.handlePlaidExit = (err, _metadata) => {
377
+ this.isAuthenticating = false;
378
+ if (err) {
379
+ this.handlePlaidError(err);
380
+ }
381
+ };
382
+ this.handlePlaidEvent = (eventName, metadata) => {
383
+ // Handle specific events if needed
384
+ switch (eventName) {
385
+ case 'OPEN':
386
+ this.isAuthenticating = true;
387
+ break;
388
+ case 'CLOSE':
389
+ this.isAuthenticating = false;
390
+ break;
391
+ case 'ERROR':
392
+ this.handlePlaidError(metadata);
393
+ break;
394
+ }
395
+ };
396
+ this.handlePlaidLoad = () => {
397
+ // Plaid Link loaded successfully
398
+ };
399
+ this.handlePlaidError = (error) => {
400
+ let errorCode = Plaid.PlaidErrorCodes.PLAID_AUTHENTICATION_FAILED;
401
+ let message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
402
+ let retryable = true;
403
+ let userAction = 'Click to try again';
404
+ // Map Plaid error codes to our error codes
405
+ if (error.error_code) {
406
+ switch (error.error_code) {
407
+ case 'INVALID_CREDENTIALS':
408
+ errorCode = Plaid.PlaidErrorCodes.PLAID_INVALID_CREDENTIALS;
409
+ message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
410
+ retryable = true;
411
+ break;
412
+ case 'ITEM_LOGIN_REQUIRED':
413
+ errorCode = Plaid.PlaidErrorCodes.PLAID_INVALID_CREDENTIALS;
414
+ message = 'Your bank requires re-authentication. Please try again.';
415
+ retryable = true;
416
+ break;
417
+ case 'ITEM_LOCKED':
418
+ errorCode = Plaid.PlaidErrorCodes.PLAID_ACCOUNT_LOCKED;
419
+ message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
420
+ retryable = false;
421
+ userAction = 'Contact your bank';
422
+ break;
423
+ case 'INSTITUTION_NOT_RESPONDING':
424
+ errorCode = Plaid.PlaidErrorCodes.PLAID_MAINTENANCE;
425
+ message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
426
+ retryable = true;
427
+ break;
428
+ case 'RATE_LIMIT_EXCEEDED':
429
+ errorCode = Plaid.PlaidErrorCodes.PLAID_RATE_LIMITED;
430
+ message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
431
+ retryable = true;
432
+ break;
433
+ default:
434
+ if (error.error_message) {
435
+ message = error.error_message;
436
+ }
437
+ break;
438
+ }
439
+ }
440
+ this.handleError({
441
+ code: errorCode,
442
+ message,
443
+ severity: Plaid.PLAID_ERROR_SEVERITY[errorCode],
444
+ originalError: error,
445
+ retryable,
446
+ userAction,
447
+ });
448
+ this.isAuthenticating = false;
449
+ };
450
+ this.handleError = (plaidError) => {
451
+ this.error = plaidError;
452
+ this.isLoading = false;
453
+ // Emit error event for parent components
454
+ this.plaidVerificationError.emit(plaidError);
455
+ console.error('Plaid verification error:', plaidError);
456
+ };
457
+ this.clearError = () => {
458
+ if (this.error) {
459
+ this.error = null;
460
+ }
461
+ };
462
+ }
463
+ componentDidRender() {
464
+ if (!this.scriptRef)
465
+ return;
466
+ this.scriptRef.onload = () => {
467
+ this.initializePlaidLink();
468
+ };
469
+ this.scriptRef.onerror = () => {
470
+ this.handleError({
471
+ code: Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED,
472
+ message: Plaid.PLAID_ERROR_MESSAGES[Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED],
473
+ severity: Plaid.PLAID_ERROR_SEVERITY[Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED],
474
+ retryable: true,
475
+ userAction: 'Refresh the page and try again',
476
+ });
477
+ };
478
+ }
479
+ disconnectedCallback() {
480
+ // Clean up timeouts and abort controllers
481
+ if (this.timeoutId) {
482
+ clearTimeout(this.timeoutId);
483
+ }
484
+ if (this.abortController) {
485
+ this.abortController.abort();
486
+ }
487
+ }
488
+ render() {
489
+ const renderErrorState = () => {
490
+ if (!this.error)
491
+ return null;
492
+ const errorClass = this.error.severity === ComponentError.ComponentErrorSeverity.ERROR
493
+ ? 'text-danger'
494
+ : this.error.severity === ComponentError.ComponentErrorSeverity.WARNING
495
+ ? 'text-warning'
496
+ : 'text-info';
497
+ return (index.h("div", { class: `${errorClass} mt-2` }, index.h("small", null, this.error.message), index.h("br", null), this.error.userAction && (index.h("small", { class: "text-muted" }, this.error.userAction))));
498
+ };
499
+ const renderStatusState = () => {
500
+ if (this.error)
501
+ return null;
502
+ if (this.isLoading) {
503
+ return (index.h("div", { class: "text-info mt-2" }, index.h("small", null, "Verifying bank account...")));
504
+ }
505
+ if (this.isSuccess) {
506
+ return (index.h("div", { class: "text-success mt-2" }, index.h("small", null, "\u2713 Bank account verified successfully")));
507
+ }
508
+ if (this.isAuthenticating) {
509
+ return (index.h("div", { class: "text-info mt-2" }, index.h("small", null, "Connecting to your bank...")));
510
+ }
511
+ return null;
512
+ };
513
+ const plaidLogo = (index.h("img", { class: "plaid-logo-img", src: plaidIcon.plaidIconSvg, alt: "Plaid", title: "Plaid", style: {
514
+ display: 'inline',
515
+ width: '20px',
516
+ height: '20px',
517
+ marginLeft: '5px',
518
+ marginTop: '-2px',
519
+ } }));
520
+ return (index.h(styledHost.StyledHost, null, index.h("script", { src: "https://cdn.plaid.com/link/v2/stable/link-initialize.js", async: true, ref: (el) => (this.scriptRef = el) }), index.h("div", null, index.h("div", { class: "mb-3" }, index.h(button.Button, { variant: "secondary", type: "button", onClick: (event) => { event.preventDefault(); this.openPlaidLink(); }, disabled: this.isLoading, part: parts.buttonSecondary }, "Link Bank Account with ", plaidLogo)), renderErrorState(), renderStatusState())));
521
+ }
522
+ };
523
+
524
+ exports.bank_account_document_form_inputs = BankAccountDocumentFormInputs;
525
+ exports.bank_account_form_inputs = BankAccountFormInputs;
526
+ exports.bank_account_form_inputs_canada = BankAccountFormInputsCanada;
527
+ exports.bank_account_read_only_value = BankAccountReadOnlyValue;
528
+ exports.business_documents_on_file = BusinessDocumentsOnFile;
529
+ exports.form_control_file = FileInput;
530
+ exports.justifi_business_representative_form_inputs = RepresentativeFormInputs;
531
+ exports.justifi_owner_form = BusinessOwnerForm;
532
+ exports.plaid_verification = PlaidVerification;
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BhI7cJcE.js');
4
- var skeleton = require('./skeleton-B8dzxFFr.js');
5
- var configState = require('./config-state-CYoBVAca.js');
3
+ var index = require('./index-p7cvUYAE.js');
4
+ var skeleton = require('./skeleton-BGGMhPJj.js');
5
+ var configState = require('./config-state-BIgGhhe9.js');
6
6
  var utils = require('./utils-D4WPxuzW.js');
7
- require('./parts-BVbaniVM.js');
8
- require('./index-mmd0OhmD.js');
7
+ require('./parts-BsBVknuf.js');
8
+ require('./index-W-zoNiyM.js');
9
9
  require('./dinero-BwNN_k7x.js');
10
10
 
11
11
  const BankAccountFormSkeleton = (props) => {
@@ -48,10 +48,10 @@ const BankAccountForm = class {
48
48
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
49
49
  }
50
50
  render() {
51
- return (index.h(index.Host, { key: '32cfa049dff176af26d2a4bcb86c440a99bc8668' }, index.h(BankAccountFormSkeleton, { key: '8382fc8ff7726e245245db06b01fdc253d43328e', isReady: this.isReady }), index.h("div", { key: '83f16d13bb8c338dd859a60a7bd63edbb8f703b6', class: "container-fluid p-0", style: {
51
+ return (index.h(index.Host, { key: 'a104b2e88e818472d0158990ccf2cac6d7315616' }, index.h(BankAccountFormSkeleton, { key: '1ed1ac87a66aedf6a7528247e0ff3a803c74e4c3', isReady: this.isReady }), index.h("div", { key: 'a96c05c60c51f97c8abb7dc6a8cfebc940ea1513', class: "container-fluid p-0", style: {
52
52
  opacity: this.isReady ? '1' : '0',
53
53
  height: this.isReady ? 'auto' : '0',
54
- } }, index.h("div", { key: 'ff5a4020f51e917874583036ef3b50d9496a393e', class: "row mb-3" }, index.h("iframe-input", { key: '334cd1bbdb23cb1d4ae5df1f89737913209fd1c1', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), index.h("div", { key: '65a00ea0fe1202240a2641b40d5f0455483746ff', class: "row" }, index.h("iframe-input", { key: 'c8dda20444c7f6494fad1377cc556676e1d7dc54', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
54
+ } }, index.h("div", { key: '3d168fd241702b30f0c8727d3c0aae65c20b69aa', class: "row mb-3" }, index.h("iframe-input", { key: 'dc1da989b1577ed62b3eeafd33128aca38e4610d', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), index.h("div", { key: '1179ae9d6b9f476bb01a1ee4f4edd7da6f22f635', class: "row" }, index.h("iframe-input", { key: '7e79b383876be1711a2e21ab7462f86281ebf28c', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
55
55
  }
56
56
  };
57
57
 
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var index_esm = require('./index.esm-ByC0D4sJ.js');
4
- var schemaValidations = require('./schema-validations-Bf2mk2xU.js');
5
- var Business = require('./Business-DWHy_-z9.js');
6
- var countryConfig = require('./country-config-MCOhn8o3.js');
4
+ var schemaValidations = require('./schema-validations-BakyfJpE.js');
5
+ var Business = require('./Business-CB8EVrhD.js');
6
+ var countryConfig = require('./country-config-ETD-7Wb7.js');
7
7
 
8
8
  // Base schema (no country-specific rules for classification/tax id)
9
9
  const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
@@ -54,12 +54,14 @@ const additionalQuestionsSchema = (allowOptionalFields) => {
54
54
  const schema = index_esm.create$3({
55
55
  business_revenue: schemaValidations.revenueValidation.required('Enter business revenue'),
56
56
  business_payment_volume: schemaValidations.paymentVolumeValidation.required('Enter business payment volume'),
57
+ business_average_transaction_amount: schemaValidations.revenueValidation.required('Enter average transaction amount'),
57
58
  business_when_service_received: schemaValidations.whenServiceReceivedValidation.required('Select when service is received'),
58
59
  business_other_payment_details: schemaValidations.otherPaymentDetailsValidation.nullable(),
59
60
  });
60
61
  const easySchema = index_esm.create$3({
61
62
  business_revenue: schemaValidations.revenueValidation.nullable(),
62
63
  business_payment_volume: schemaValidations.paymentVolumeValidation.nullable(),
64
+ business_average_transaction_amount: schemaValidations.revenueValidation.nullable(),
63
65
  business_when_service_received: schemaValidations.whenServiceReceivedValidation.nullable(),
64
66
  business_other_payment_details: schemaValidations.otherPaymentDetailsValidation.nullable(),
65
67
  });
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BhI7cJcE.js');
4
- var utils = require('./utils-CMiA4X7s.js');
5
- var styledHost = require('./styled-host-D5g7INLE.js');
3
+ var index = require('./index-p7cvUYAE.js');
4
+ var utils = require('./utils-T6hRmGuY.js');
5
+ var styledHost = require('./styled-host-DAi5SuFa.js');
6
6
  require('./event-types-YOY5TKUN.js');
7
- var skeleton = require('./skeleton-B8dzxFFr.js');
8
- require('./parts-BVbaniVM.js');
7
+ var skeleton = require('./skeleton-BGGMhPJj.js');
8
+ require('./parts-BsBVknuf.js');
9
9
 
10
10
  const BusinessDetailsLoading = () => {
11
11
  const Block = () => (index.h("div", { class: "mt-5" }, index.h(skeleton.Skeleton, { width: "40%", height: "1.5rem" }), index.h("hr", null), index.h("div", { class: "row g-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)), index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)))));
@@ -21,7 +21,7 @@ var RENDER_STATES;
21
21
  const BusinessDetailsCore = class {
22
22
  constructor(hostRef) {
23
23
  index.registerInstance(this, hostRef);
24
- this.errorEvent = index.createEvent(this, "error-event");
24
+ this.errorEvent = index.createEvent(this, "error-event", 7);
25
25
  this.renderState = RENDER_STATES.LOADING;
26
26
  }
27
27
  async componentWillLoad() {
@@ -54,7 +54,7 @@ const BusinessDetailsCore = class {
54
54
  if (this.renderState === RENDER_STATES.ERROR) {
55
55
  return index.h(styledHost.StyledHost, null, utils.ErrorState(this.errorMessage));
56
56
  }
57
- return (index.h(styledHost.StyledHost, null, index.h("justifi-details", { "error-message": this.errorMessage }, index.h("div", { slot: 'detail-sections' }, index.h("core-info-details", { business: this.business }), index.h("legal-address-details", { legalAddress: this.business.legal_address }), index.h("representative-details", { representative: this.business.representative }), index.h("owner-details", { owners: this.business.owners }), index.h("additional-questions-details", { additionalQuestions: this.business.additional_questions })))));
57
+ return (index.h(styledHost.StyledHost, null, index.h("justifi-details", { errorMessage: this.errorMessage }, index.h("div", { slot: 'detail-sections' }, index.h("core-info-details", { business: this.business }), index.h("legal-address-details", { legalAddress: this.business.legal_address }), index.h("representative-details", { representative: this.business.representative }), index.h("owner-details", { owners: this.business.owners }), index.h("additional-questions-details", { additionalQuestions: this.business.additional_questions })))));
58
58
  }
59
59
  };
60
60