@justifi/webcomponents 5.7.1 → 5.7.3

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 (481) hide show
  1. package/dist/cjs/{Api-C8nf_gS9.js → Api-CJ1_RDQW.js} +2 -2
  2. package/dist/cjs/{Business-DyiDiIuO.js → Business-DCRzZf0w.js} +3 -1
  3. package/dist/cjs/{Checkout-RAGvjVPj.js → Checkout-TZnRz3-3.js} +1 -1
  4. package/dist/cjs/{Document-CL5Zc72Q.js → Payment-D5UynU2f.js} +1 -57
  5. package/dist/cjs/{Refund-CYxocU06.js → Refund-BFE-2OxN.js} +57 -1
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -15
  7. package/dist/cjs/{badge-BxoJOyTJ.js → badge-ByHiVqEE.js} +1 -1
  8. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +12 -12
  9. package/dist/cjs/bank-account-form_9.cjs.entry.js +40 -29
  10. package/dist/cjs/{business-additional-questions-schema-DR8vt11M.js → business-additional-questions-schema-e3GCIHk5.js} +1 -1
  11. package/dist/cjs/business-details-core.cjs.entry.js +5 -6
  12. package/dist/cjs/{business-form-options-BCj0efiD.js → business-form-options-CMII7nIK.js} +1 -1
  13. package/dist/cjs/{business-identity-schema-BYaCsboD.js → business-identity-schema-Diqj_WVQ.js} +1 -1
  14. package/dist/cjs/{business.service-C2rg_zSw.js → business.service-CsKKWn0g.js} +5 -5
  15. package/dist/cjs/{button-BPFSRx4d.js → button-DXvFLf3b.js} +1 -1
  16. package/dist/cjs/{check-pkg-version-BqC8BOhm.js → check-pkg-version-BqLxQqZQ.js} +6 -6
  17. package/dist/cjs/{checkout.service-CyvIIMeq.js → checkout.service-CugpgJy_.js} +5 -5
  18. package/dist/cjs/checkouts-list-core.cjs.entry.js +13 -13
  19. package/dist/cjs/{payouts-list-params-state-BvG5Ysrg.js → checkouts-list-params-state-BZPc3hJS.js} +1 -1
  20. package/dist/cjs/{checkouts-table-_T5eblyc.js → checkouts-table-BV-36YfA.js} +3 -3
  21. package/dist/cjs/{config-state-D7p-XunE.js → config-state-BH7lf2ok.js} +1 -1
  22. package/dist/cjs/custom-popper_4.cjs.entry.js +2 -2
  23. package/dist/cjs/{dispute.service-CKPR1vFS.js → dispute.service-B8vLwAZm.js} +5 -5
  24. package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
  25. package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
  26. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  27. package/dist/cjs/{form-control-error-text-D9XDyFoW.js → form-control-error-text-B-3qE49U.js} +1 -1
  28. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +2 -2
  29. package/dist/cjs/{form-control-help-text-J_boqSMc.js → form-control-help-text-BlYVOrII.js} +1 -1
  30. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  31. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  32. package/dist/cjs/form-control-monetary.cjs.entry.js +4 -4
  33. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
  34. package/dist/cjs/form-control-number.cjs.entry.js +3 -3
  35. package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
  36. package/dist/cjs/{get-business-DHg5rpse.js → get-business-BJrtsomz.js} +1 -1
  37. package/dist/cjs/{get-payment-details-C9HqIv-M.js → get-payment-details-CudOQBpU.js} +7 -7
  38. package/dist/cjs/{get-subaccounts-BNpIanJ9.js → get-subaccounts-DjwsQffs.js} +7 -7
  39. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  40. package/dist/cjs/{header-1-auSUfIpO.js → header-1-agnQ4uEf.js} +1 -1
  41. package/dist/cjs/{header-3-B-bXHCpC.js → header-3-BAx5OhvM.js} +1 -1
  42. package/dist/cjs/{iframe-input-styles-state-D9vhHzZQ.js → iframe-input-styles-state-CFjq45QT.js} +1 -1
  43. package/dist/cjs/iframe-input.cjs.entry.js +5 -5
  44. package/dist/cjs/{index-B8ljHEN1.js → index-oahmQhrI.js} +1 -1
  45. package/dist/cjs/{index-BYd8IvAa.js → index-y-rskGFM.js} +1 -1
  46. package/dist/cjs/{insurance-state-CFxbKNWH.js → insurance-state-CCo-Gmfe.js} +2 -2
  47. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +50 -23
  48. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +13 -13
  49. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
  50. package/dist/cjs/justifi-business-details.cjs.entry.js +21 -16
  51. package/dist/cjs/justifi-business-form.cjs.entry.js +20 -20
  52. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  53. package/dist/cjs/justifi-checkout-core.cjs.entry.js +9 -9
  54. package/dist/cjs/justifi-checkout.cjs.entry.js +12 -12
  55. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -10
  56. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +16 -16
  57. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  58. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  60. package/dist/cjs/justifi-dispute-management.cjs.entry.js +12 -12
  61. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -15
  62. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +12 -12
  63. package/dist/cjs/justifi-order-terminals.cjs.entry.js +16 -16
  64. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +14 -14
  65. package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -14
  66. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  67. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +12 -12
  68. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +15 -15
  69. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +5 -5
  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 +15 -15
  73. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +5 -5
  74. package/dist/cjs/justifi-payouts-list.cjs.entry.js +17 -17
  75. package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -16
  76. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +6 -6
  77. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +11 -11
  78. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +10 -10
  79. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +14 -14
  80. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -10
  81. package/dist/cjs/justifi-terminals-list.cjs.entry.js +16 -16
  82. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +15 -16
  83. package/dist/cjs/loader.cjs.js +2 -2
  84. package/dist/cjs/{package-Biee4Hdo.js → package-a_vXN-Ly.js} +1 -1
  85. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  86. package/dist/cjs/payment-details-core.cjs.entry.js +7 -7
  87. package/dist/cjs/{payment.service-C996aLGw.js → payment.service-aqlDvgDe.js} +5 -5
  88. package/dist/cjs/payments-list-core.cjs.entry.js +14 -14
  89. package/dist/cjs/{payments-list-params-state-BvG5Ysrg.js → payments-list-params-state-BZPc3hJS.js} +1 -1
  90. package/dist/cjs/{payments-status-BTykBx8i.js → payments-status-CWK1uHtj.js} +2 -2
  91. package/dist/cjs/{payments-table-BkRhDePE.js → payments-table-CP8LGibG.js} +3 -3
  92. package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
  93. package/dist/cjs/{payout.service-BwKgEbDo.js → payout.service-CL-hcMGg.js} +5 -5
  94. package/dist/cjs/payouts-list-core.cjs.entry.js +14 -14
  95. package/dist/cjs/{terminal-orders-list-params-state-BvG5Ysrg.js → payouts-list-params-state-BZPc3hJS.js} +1 -1
  96. package/dist/cjs/{payouts-status-YCqmbd4K.js → payouts-status-Jz2Mh3JP.js} +2 -2
  97. package/dist/cjs/{payouts-table-DJMz3bVh.js → payouts-table-DyuoNtFw.js} +3 -3
  98. package/dist/cjs/{schema-validations-Bhz09M42.js → schema-validations-BSeMee-o.js} +5 -29
  99. package/dist/cjs/{skeleton-aMh0RMHq.js → skeleton-CgT0siC5.js} +1 -1
  100. package/dist/cjs/{spinner-BTyIjlMM.js → spinner-Cz4By3FY.js} +1 -1
  101. package/dist/cjs/{styled-host-udkBJV5h.js → styled-host-LD5MpzHs.js} +1 -1
  102. package/dist/cjs/{table-DKVauFHc.js → table-Cvr8-PLT.js} +2 -2
  103. package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
  104. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +13 -13
  105. package/dist/cjs/{checkouts-list-params-state-BvG5Ysrg.js → terminal-orders-list-params-state-BZPc3hJS.js} +1 -1
  106. package/dist/cjs/{terminal-orders-table-CxY1ykZ7.js → terminal-orders-table-CslE3Ojj.js} +8 -8
  107. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  108. package/dist/cjs/{terminal.service-D7dxg9ZQ.js → terminal.service-3geWla42.js} +5 -5
  109. package/dist/cjs/terminals-list-core.cjs.entry.js +13 -13
  110. package/dist/cjs/terminals-list-params-state-BZPc3hJS.js +22 -0
  111. package/dist/cjs/{terminals-table-D2XUsf_J.js → terminals-table-DlZSKdHC.js} +3 -3
  112. package/dist/cjs/{utils-5lco6NzU.js → utils-B4fXt0os.js} +1 -1
  113. package/dist/cjs/{utils-DmZ8Dia3.js → utils-qOon0GWm.js} +3 -0
  114. package/dist/cjs/webcomponents.cjs.js +3 -3
  115. package/dist/collection/api/Business.js +3 -1
  116. package/dist/collection/collection-manifest.json +2 -2
  117. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +3 -4
  118. package/dist/collection/components/business-details/business-details-core.js +1 -2
  119. package/dist/collection/components/business-details/business-details.js +10 -3
  120. package/dist/collection/components/business-details/core-info-details/core-info-details.js +41 -0
  121. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +3 -3
  122. package/dist/collection/components/business-details/representative-details/representative-details.js +3 -3
  123. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +1 -1
  124. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
  125. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +36 -8
  126. package/dist/collection/components/business-forms/schemas/schema-validations.js +7 -54
  127. package/dist/collection/components/checkout/billing-form/billing-form.js +6 -5
  128. package/dist/collection/components/checkout/new-payment-method.js +17 -6
  129. package/dist/collection/components/checkout/payment-method-options.js +4 -5
  130. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +4 -5
  131. package/dist/collection/ui-components/details/details.js +2 -2
  132. package/dist/collection/utils/utils.js +3 -0
  133. package/dist/docs.json +349 -122
  134. package/dist/esm/{Api-KYhsw8Nv.js → Api-CZhQlPMs.js} +2 -2
  135. package/dist/esm/{Business-D6XNzizo.js → Business-BCoP0TAV.js} +3 -1
  136. package/dist/esm/{Checkout-Dfpql997.js → Checkout-B9LrTq63.js} +1 -1
  137. package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
  138. package/dist/esm/{Document-cNXrKmGy.js → Payment-BGiKmQYR.js} +3 -57
  139. package/dist/esm/{Refund-2YJqP9qX.js → Refund-DDIEc_gu.js} +56 -2
  140. package/dist/esm/additional-questions-details_5.entry.js +14 -15
  141. package/dist/esm/{badge-Du9GTXoB.js → badge-Bbh4S1LJ.js} +1 -1
  142. package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -12
  143. package/dist/esm/bank-account-form_9.entry.js +33 -22
  144. package/dist/esm/{business-additional-questions-schema-GpN_koGK.js → business-additional-questions-schema-uQlQ8fXQ.js} +1 -1
  145. package/dist/esm/business-details-core.entry.js +5 -6
  146. package/dist/esm/{business-form-options-Bn05PRR4.js → business-form-options-CgssATyg.js} +1 -1
  147. package/dist/esm/{business-identity-schema-BjuQ6ajL.js → business-identity-schema-BsrgqgDl.js} +1 -1
  148. package/dist/esm/{business.service-ClD_YDeT.js → business.service-CUWiJ5Un.js} +6 -6
  149. package/dist/esm/{button-CjH5C0pG.js → button-BrZXQ8gb.js} +1 -1
  150. package/dist/esm/{check-pkg-version-DxnKX9GQ.js → check-pkg-version-CxnnjoM3.js} +7 -7
  151. package/dist/esm/{checkout.service-DfzkmIe4.js → checkout.service-DqXrjRw7.js} +6 -6
  152. package/dist/esm/checkouts-list-core.entry.js +14 -14
  153. package/dist/esm/{checkouts-list-params-state-Bn7pL-8x.js → checkouts-list-params-state-BI3u1DYG.js} +1 -1
  154. package/dist/esm/{checkouts-table-DKd0QLys.js → checkouts-table-p7UZFB5v.js} +3 -3
  155. package/dist/esm/{config-state-CkKrqnpZ.js → config-state-ecb1EsvM.js} +1 -1
  156. package/dist/esm/custom-popper_4.entry.js +2 -2
  157. package/dist/esm/{dispute.service-BTOWqnmk.js → dispute.service-DpgnWZA1.js} +6 -6
  158. package/dist/esm/form-alert_5.entry.js +3 -3
  159. package/dist/esm/form-control-checkbox.entry.js +3 -3
  160. package/dist/esm/form-control-date.entry.js +2 -2
  161. package/dist/esm/{form-control-error-text-tGFxd6kW.js → form-control-error-text-lGsxANkt.js} +1 -1
  162. package/dist/esm/form-control-file-v2_2.entry.js +2 -2
  163. package/dist/esm/{form-control-help-text-2DawN8-N.js → form-control-help-text-DjU4NWmt.js} +1 -1
  164. package/dist/esm/form-control-help-text.entry.js +1 -1
  165. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  166. package/dist/esm/form-control-monetary.entry.js +4 -4
  167. package/dist/esm/form-control-number-masked_2.entry.js +2 -2
  168. package/dist/esm/form-control-number.entry.js +3 -3
  169. package/dist/esm/form-control-radio.entry.js +1 -1
  170. package/dist/esm/{get-business-CIKToQur.js → get-business-GEPTefIj.js} +1 -1
  171. package/dist/esm/{get-payment-details-D-prcfRc.js → get-payment-details-ChRlNtIz.js} +7 -7
  172. package/dist/esm/{get-subaccounts-B0uEyOp_.js → get-subaccounts-DiROU10G.js} +8 -8
  173. package/dist/esm/gross-payment-chart-core.entry.js +4 -4
  174. package/dist/esm/{header-1-D2gZb3iT.js → header-1-Xbhp2rfA.js} +1 -1
  175. package/dist/esm/{header-3-DAg8Vh4B.js → header-3-DwjHOg3C.js} +1 -1
  176. package/dist/esm/{iframe-input-styles-state-ibYqbF--.js → iframe-input-styles-state-BEips-at.js} +1 -1
  177. package/dist/esm/iframe-input.entry.js +5 -5
  178. package/dist/esm/{index-Cc3u0uDC.js → index-Dc7aGxx-.js} +1 -1
  179. package/dist/esm/{index-D6FDxSyt.js → index-DeiW2BDb.js} +1 -1
  180. package/dist/esm/{insurance-state-CsZbKSgm.js → insurance-state-CiK3s-Fy.js} +2 -2
  181. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +50 -23
  182. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +14 -14
  183. package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
  184. package/dist/esm/justifi-business-details.entry.js +22 -17
  185. package/dist/esm/justifi-business-form.entry.js +21 -21
  186. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  187. package/dist/esm/justifi-checkout-core.entry.js +9 -9
  188. package/dist/esm/justifi-checkout.entry.js +13 -13
  189. package/dist/esm/justifi-checkouts-list-filters.entry.js +11 -11
  190. package/dist/esm/justifi-checkouts-list.entry.js +17 -17
  191. package/dist/esm/justifi-config-provider.entry.js +3 -3
  192. package/dist/esm/justifi-details.entry.js +3 -3
  193. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  194. package/dist/esm/justifi-dispute-management.entry.js +13 -13
  195. package/dist/esm/justifi-dispute-notification_3.entry.js +16 -16
  196. package/dist/esm/justifi-gross-payment-chart.entry.js +13 -13
  197. package/dist/esm/justifi-order-terminals.entry.js +17 -17
  198. package/dist/esm/justifi-owner-form_3.entry.js +15 -15
  199. package/dist/esm/justifi-payment-details.entry.js +15 -15
  200. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  201. package/dist/esm/justifi-payment-provisioning.entry.js +13 -13
  202. package/dist/esm/justifi-payment-transactions-list.entry.js +16 -16
  203. package/dist/esm/justifi-payments-list-filters.entry.js +5 -5
  204. package/dist/esm/justifi-payments-list.entry.js +17 -17
  205. package/dist/esm/justifi-payout-details.entry.js +14 -14
  206. package/dist/esm/justifi-payout-transactions-list.entry.js +16 -16
  207. package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
  208. package/dist/esm/justifi-payouts-list.entry.js +18 -18
  209. package/dist/esm/justifi-refund-payment.entry.js +17 -17
  210. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +6 -6
  211. package/dist/esm/justifi-season-interruption-insurance.entry.js +12 -12
  212. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -11
  213. package/dist/esm/justifi-terminal-orders-list.entry.js +15 -15
  214. package/dist/esm/justifi-terminals-list-filters.entry.js +11 -11
  215. package/dist/esm/justifi-terminals-list.entry.js +17 -17
  216. package/dist/esm/justifi-tokenize-payment-method.entry.js +16 -17
  217. package/dist/esm/loader.js +3 -3
  218. package/dist/esm/{package-DPiTQ9dr.js → package-DCoo9Ds8.js} +1 -1
  219. package/dist/esm/pagination-menu.entry.js +1 -1
  220. package/dist/esm/payment-details-core.entry.js +7 -7
  221. package/dist/esm/{payment.service-CgwLo1_s.js → payment.service-BV8Gg3vY.js} +6 -6
  222. package/dist/esm/payments-list-core.entry.js +15 -15
  223. package/dist/esm/{payments-list-params-state-Bn7pL-8x.js → payments-list-params-state-BI3u1DYG.js} +1 -1
  224. package/dist/esm/{payments-status-CIUXcA0w.js → payments-status-DIH2IxWy.js} +2 -2
  225. package/dist/esm/{payments-table-BBf5fV74.js → payments-table-DiEtudGk.js} +3 -3
  226. package/dist/esm/payout-details-core.entry.js +8 -8
  227. package/dist/esm/{payout.service-DYFCNfLa.js → payout.service-DA9Y4buU.js} +6 -6
  228. package/dist/esm/payouts-list-core.entry.js +15 -15
  229. package/dist/esm/{payouts-list-params-state-Bn7pL-8x.js → payouts-list-params-state-BI3u1DYG.js} +1 -1
  230. package/dist/esm/{payouts-status-Clo03qUI.js → payouts-status-ZOiWvFE-.js} +2 -2
  231. package/dist/esm/{payouts-table-DhZEXhGH.js → payouts-table-DbzIHwgZ.js} +3 -3
  232. package/dist/esm/{schema-validations-D9YNVLiI.js → schema-validations-DLWfpHyI.js} +7 -29
  233. package/dist/esm/{skeleton-Dlpibtr0.js → skeleton-B9rUHFom.js} +1 -1
  234. package/dist/esm/{spinner-onCBxbdo.js → spinner-CrzsUbgI.js} +1 -1
  235. package/dist/esm/{styled-host-C7vaWLiB.js → styled-host-_2J3PYDn.js} +1 -1
  236. package/dist/esm/{table-p4dOlFPi.js → table-CqDcXJpP.js} +2 -2
  237. package/dist/esm/table-filters-menu.entry.js +2 -2
  238. package/dist/esm/terminal-orders-list-core.entry.js +14 -14
  239. package/dist/esm/{terminal-orders-list-params-state-Bn7pL-8x.js → terminal-orders-list-params-state-BI3u1DYG.js} +1 -1
  240. package/dist/esm/{terminal-orders-table-BopP465z.js → terminal-orders-table-D7EOk3GS.js} +9 -9
  241. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  242. package/dist/esm/{terminal.service-f-whs_d4.js → terminal.service-VdIvwUEC.js} +6 -6
  243. package/dist/esm/terminals-list-core.entry.js +14 -14
  244. package/dist/esm/terminals-list-params-state-BI3u1DYG.js +16 -0
  245. package/dist/esm/{terminals-table-CkWr-6tD.js → terminals-table-C-fA-3eP.js} +3 -3
  246. package/dist/esm/{utils-BpP_VJGf.js → utils-CcleFgVO.js} +1 -1
  247. package/dist/esm/{utils-BWcTxbSg.js → utils-DB5fh6Iv.js} +3 -0
  248. package/dist/esm/webcomponents.js +4 -4
  249. package/dist/module/Business.js +3 -1
  250. package/dist/module/Refund.js +55 -1
  251. package/dist/module/additional-questions-details2.js +3 -4
  252. package/dist/module/bank-account-document-inputs.js +1 -2
  253. package/dist/module/billing-form.js +4 -3
  254. package/dist/module/business-bank-account-form-step-core.js +37 -11
  255. package/dist/module/business-bank-account-form-step.js +0 -1
  256. package/dist/module/business-details-core2.js +11 -7
  257. package/dist/module/business-terms-conditions-form-step.js +3 -4
  258. package/dist/module/business.service.js +0 -1
  259. package/dist/module/check-pkg-version.js +0 -1
  260. package/dist/module/checkout.service.js +0 -1
  261. package/dist/module/checkouts-list-core2.js +0 -1
  262. package/dist/module/{generic-info-details.d.ts → core-info-details.d.ts} +4 -4
  263. package/dist/module/core-info-details.js +6 -0
  264. package/dist/module/core-info-details2.js +34 -0
  265. package/dist/module/details.js +2 -2
  266. package/dist/module/dispute-response-actions.js +0 -1
  267. package/dist/module/form.js +1 -1
  268. package/dist/module/get-payment-details.js +0 -1
  269. package/dist/module/get-subaccounts.js +0 -1
  270. package/dist/module/justifi-business-details.js +20 -9
  271. package/dist/module/justifi-business-form.js +0 -1
  272. package/dist/module/justifi-checkouts-list-filters.js +0 -1
  273. package/dist/module/justifi-checkouts-list.js +0 -1
  274. package/dist/module/justifi-gross-payment-chart.js +0 -1
  275. package/dist/module/justifi-order-terminals.js +1 -2
  276. package/dist/module/justifi-payment-provisioning.js +0 -1
  277. package/dist/module/justifi-payment-transactions-list.js +1 -2
  278. package/dist/module/justifi-payments-list.js +0 -1
  279. package/dist/module/justifi-payout-details.js +0 -1
  280. package/dist/module/justifi-payout-transactions-list.js +1 -2
  281. package/dist/module/justifi-payouts-list.js +0 -1
  282. package/dist/module/justifi-refund-payment.js +1 -2
  283. package/dist/module/justifi-season-interruption-insurance.js +0 -1
  284. package/dist/module/justifi-terminal-orders-list-filters.js +0 -1
  285. package/dist/module/justifi-terminal-orders-list.js +1 -2
  286. package/dist/module/justifi-terminals-list-filters.js +0 -1
  287. package/dist/module/justifi-terminals-list.js +1 -2
  288. package/dist/module/justifi-tokenize-payment-method.js +2 -4
  289. package/dist/module/legal-address-details2.js +3 -3
  290. package/dist/module/new-payment-method.js +15 -4
  291. package/dist/module/package.js +1 -1
  292. package/dist/module/payment-method-options.js +2 -3
  293. package/dist/module/payment.service.js +0 -1
  294. package/dist/module/payments-list-core2.js +0 -1
  295. package/dist/module/payout.service.js +0 -1
  296. package/dist/module/payouts-list-core2.js +0 -1
  297. package/dist/module/representative-details2.js +3 -3
  298. package/dist/module/schema-validations.js +6 -28
  299. package/dist/module/terminal-orders-list-core2.js +0 -1
  300. package/dist/module/terminal.service.js +0 -1
  301. package/dist/module/terminals-list-core2.js +0 -1
  302. package/dist/module/utils2.js +3 -0
  303. package/dist/types/components/business-details/business-details.d.ts +1 -0
  304. package/dist/types/components/business-details/core-info-details/core-info-details.d.ts +5 -0
  305. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -7
  306. package/dist/types/components/business-forms/utils/helpers.d.ts +1 -1
  307. package/dist/types/components/checkout/billing-form/billing-form.d.ts +1 -0
  308. package/dist/types/components/checkout/new-payment-method.d.ts +4 -1
  309. package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
  310. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -0
  311. package/dist/types/components.d.ts +285 -21
  312. package/dist/types/utils/utils.d.ts +1 -1
  313. package/dist/webcomponents/p--B09FkmB.js +1 -0
  314. package/dist/webcomponents/p-070a74b0.entry.js +1 -0
  315. package/dist/webcomponents/{p-4194214c.entry.js → p-0bab65ad.entry.js} +1 -1
  316. package/dist/webcomponents/{p-5e467788.entry.js → p-0e3122fd.entry.js} +1 -1
  317. package/dist/webcomponents/{p-ceefc483.entry.js → p-0f4572d3.entry.js} +1 -1
  318. package/dist/webcomponents/{p-3abc8eab.entry.js → p-19f24867.entry.js} +1 -1
  319. package/dist/webcomponents/{p-799000c1.entry.js → p-214d8301.entry.js} +1 -1
  320. package/dist/webcomponents/{p-40541e0c.entry.js → p-217c0657.entry.js} +1 -1
  321. package/dist/webcomponents/{p-83154291.entry.js → p-2182e23d.entry.js} +1 -1
  322. package/dist/webcomponents/p-2648b61f.entry.js +1 -0
  323. package/dist/webcomponents/{p-3a979295.entry.js → p-29402bea.entry.js} +1 -1
  324. package/dist/webcomponents/p-30e036bd.entry.js +1 -0
  325. package/dist/webcomponents/p-342016ec.entry.js +1 -0
  326. package/dist/webcomponents/{p-916ea4fc.entry.js → p-35299b25.entry.js} +1 -1
  327. package/dist/webcomponents/{p-2b8ac00a.entry.js → p-388e3afc.entry.js} +1 -1
  328. package/dist/webcomponents/{p-19b9c96a.entry.js → p-3ef0b42b.entry.js} +1 -1
  329. package/dist/webcomponents/{p-b40108c0.entry.js → p-410b3f65.entry.js} +1 -1
  330. package/dist/webcomponents/p-4d4aed9d.entry.js +1 -0
  331. package/dist/webcomponents/p-5023d221.entry.js +1 -0
  332. package/dist/webcomponents/{p-d1331dbb.entry.js → p-57ec45d9.entry.js} +1 -1
  333. package/dist/webcomponents/{p-54281359.entry.js → p-5886b41e.entry.js} +1 -1
  334. package/dist/webcomponents/{p-6429afb4.entry.js → p-61daf152.entry.js} +1 -1
  335. package/dist/webcomponents/{p-bf3e8295.entry.js → p-6a89c4c8.entry.js} +1 -1
  336. package/dist/webcomponents/{p-cab175e9.entry.js → p-70b87e0c.entry.js} +1 -1
  337. package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
  338. package/dist/webcomponents/{p-25ea4450.entry.js → p-7ba945a9.entry.js} +1 -1
  339. package/dist/webcomponents/{p-n2YROtpe.js → p-8qo1QTjv.js} +1 -1
  340. package/dist/webcomponents/{p-d9c70010.entry.js → p-9154c9ae.entry.js} +1 -1
  341. package/dist/webcomponents/p-95d4c1ec.entry.js +1 -0
  342. package/dist/webcomponents/{p-3e94cf62.entry.js → p-9633ee66.entry.js} +1 -1
  343. package/dist/webcomponents/{p-b2192f8b.entry.js → p-9814a858.entry.js} +1 -1
  344. package/dist/webcomponents/p-9c7574a3.entry.js +1 -0
  345. package/dist/webcomponents/{p-7733b67b.entry.js → p-9c9bef60.entry.js} +1 -1
  346. package/dist/webcomponents/p-B0b_XePt.js +1 -0
  347. package/dist/webcomponents/p-B50n1fKP.js +1 -0
  348. package/dist/webcomponents/p-B9zTkzgI.js +1 -0
  349. package/dist/webcomponents/{p-C0UUR9CN.js → p-BC1dBUlF.js} +1 -1
  350. package/dist/webcomponents/p-BNqn5ta3.js +1 -0
  351. package/dist/webcomponents/p-BUJ--tSs.js +1 -0
  352. package/dist/webcomponents/p-BdTK0wi9.js +1 -0
  353. package/dist/webcomponents/{p-DDEz7_ad.js → p-BeW-xdck.js} +1 -1
  354. package/dist/webcomponents/{p-D5XSsLKb.js → p-Bjf1_zhy.js} +1 -1
  355. package/dist/webcomponents/p-Bkffx_rQ.js +1 -0
  356. package/dist/webcomponents/{p-DuYlA4lj.js → p-Bl3ch-Ez.js} +1 -1
  357. package/dist/webcomponents/{p-BrvbVMVq.js → p-BlJnA265.js} +1 -1
  358. package/dist/webcomponents/{p-CpTwq2jw.js → p-BnE7qgLh.js} +1 -1
  359. package/dist/webcomponents/p-BpDYt_Ep.js +1 -0
  360. package/dist/webcomponents/{p-CgxzrbM_.js → p-C1uPQOvi.js} +1 -1
  361. package/dist/webcomponents/p-C2HQYreI.js +1 -0
  362. package/dist/webcomponents/p-CJ5VkiBV.js +1 -0
  363. package/dist/webcomponents/{p-ByRPlUBS.js → p-CKAgqwwJ.js} +1 -1
  364. package/dist/webcomponents/{p-cNABKY0P.js → p-CaGTuT2-.js} +1 -1
  365. package/dist/webcomponents/{p-CQdeVKF8.js → p-CeSHqD1r.js} +1 -1
  366. package/dist/webcomponents/{p-Cd06j2SL.js → p-CgSqi8wc.js} +1 -1
  367. package/dist/webcomponents/{p-OSmuQKbK.js → p-ChL8tkhB.js} +1 -1
  368. package/dist/webcomponents/p-ClM8H2uM.js +1 -0
  369. package/dist/webcomponents/p-CoZ_5FVT.js +1 -0
  370. package/dist/webcomponents/p-CopnqpXU.js +1 -0
  371. package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
  372. package/dist/webcomponents/p-D9siq_gL.js +1 -0
  373. package/dist/webcomponents/p-DCoo9Ds8.js +1 -0
  374. package/dist/webcomponents/{p-BiPRf6d2.js → p-DGg9nHVL.js} +1 -1
  375. package/dist/webcomponents/{p-ZE1NEnP3.js → p-DMNpawhg.js} +1 -1
  376. package/dist/webcomponents/p-DQCcSXwL.js +1 -0
  377. package/dist/webcomponents/{p-DvHZ2jYI.js → p-DXhY2Usd.js} +1 -1
  378. package/dist/webcomponents/p-Ddc5F_89.js +1 -0
  379. package/dist/webcomponents/{p-l3o3Ndc0.js → p-DyCvl10I.js} +1 -1
  380. package/dist/webcomponents/{p-BjB_yKBJ.js → p-DzFysjCc.js} +1 -1
  381. package/dist/webcomponents/{p-C0WFYqwq.js → p-EbNktJEa.js} +1 -1
  382. package/dist/webcomponents/p-HiTlvG5T.js +1 -0
  383. package/dist/webcomponents/p-JOSiCHl7.js +1 -0
  384. package/dist/webcomponents/{p-82kiZkHt.js → p-SoKRLnnI.js} +1 -1
  385. package/dist/webcomponents/{p-d-_oUZor.js → p-XBoMjcoi.js} +1 -1
  386. package/dist/webcomponents/p-_5PRoEe6.js +1 -0
  387. package/dist/webcomponents/p-a32ae525.entry.js +1 -0
  388. package/dist/webcomponents/p-a60abc68.entry.js +1 -0
  389. package/dist/webcomponents/{p-24792e8e.entry.js → p-aa539239.entry.js} +1 -1
  390. package/dist/webcomponents/{p-22a0b397.entry.js → p-aa949920.entry.js} +1 -1
  391. package/dist/webcomponents/{p-d2dc6f22.entry.js → p-ab1353b0.entry.js} +3 -3
  392. package/dist/webcomponents/p-ac5f5d89.entry.js +1 -0
  393. package/dist/webcomponents/{p-bb50155f.entry.js → p-b0d1afd7.entry.js} +1 -1
  394. package/dist/webcomponents/p-b17ed568.entry.js +1 -0
  395. package/dist/webcomponents/p-b59fc73d.entry.js +1 -0
  396. package/dist/webcomponents/{p-3babed12.entry.js → p-b5c7c78d.entry.js} +1 -1
  397. package/dist/webcomponents/p-b72eca25.entry.js +1 -0
  398. package/dist/webcomponents/{p-3368d3d5.entry.js → p-b9283a1b.entry.js} +1 -1
  399. package/dist/webcomponents/{p-0deb6a38.entry.js → p-b95a7dc5.entry.js} +1 -1
  400. package/dist/webcomponents/p-bO_FomzV.js +1 -0
  401. package/dist/webcomponents/p-bd1df685.entry.js +1 -0
  402. package/dist/webcomponents/p-bfb2bad3.entry.js +1 -0
  403. package/dist/webcomponents/{p-935bbc62.entry.js → p-c13538df.entry.js} +1 -1
  404. package/dist/webcomponents/{p-9105f700.entry.js → p-c535a165.entry.js} +1 -1
  405. package/dist/webcomponents/{p-639baa7d.entry.js → p-c7a1439a.entry.js} +1 -1
  406. package/dist/webcomponents/{p-4ee0cd96.entry.js → p-c80d077b.entry.js} +1 -1
  407. package/dist/webcomponents/{p-a4dd3835.entry.js → p-ccd256f5.entry.js} +1 -1
  408. package/dist/webcomponents/{p-947239a6.entry.js → p-cfb4491e.entry.js} +1 -1
  409. package/dist/webcomponents/p-d049acb4.entry.js +1 -0
  410. package/dist/webcomponents/p-d0b3a10e.entry.js +1 -0
  411. package/dist/webcomponents/p-d3f5c51e.entry.js +1 -0
  412. package/dist/webcomponents/{p-90c24cda.entry.js → p-d3ff71df.entry.js} +1 -1
  413. package/dist/webcomponents/p-d6a66b58.entry.js +1 -0
  414. package/dist/webcomponents/{p-CCGhF18e.js → p-d6tXI5Iw.js} +1 -1
  415. package/dist/webcomponents/p-d8f92442.entry.js +1 -0
  416. package/dist/webcomponents/{p-59abf1de.entry.js → p-da6c0277.entry.js} +1 -1
  417. package/dist/webcomponents/{p-f389c2aa.entry.js → p-e0e3a939.entry.js} +1 -1
  418. package/dist/webcomponents/p-e3a07cb8.entry.js +1 -0
  419. package/dist/webcomponents/{p-1a85f26f.entry.js → p-f03acabd.entry.js} +1 -1
  420. package/dist/webcomponents/{p-ad85bd0d.entry.js → p-f1e54daa.entry.js} +1 -1
  421. package/dist/webcomponents/{p-99b080d9.entry.js → p-f3d3070a.entry.js} +1 -1
  422. package/dist/webcomponents/p-hG0Fy7E9.js +1 -0
  423. package/dist/webcomponents/p-vTsHmSQQ.js +1 -0
  424. package/dist/webcomponents/{p-IA90llLO.js → p-yH3TC3ZQ.js} +1 -1
  425. package/dist/webcomponents/webcomponents.esm.js +1 -1
  426. package/package.json +1 -1
  427. package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +0 -22
  428. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +0 -40
  429. package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +0 -16
  430. package/dist/module/Document.js +0 -55
  431. package/dist/module/generic-info-details.js +0 -6
  432. package/dist/module/generic-info-details2.js +0 -34
  433. package/dist/types/components/business-details/generic-info-details/generic-info-details.d.ts +0 -5
  434. package/dist/webcomponents/p-0ab2f675.entry.js +0 -1
  435. package/dist/webcomponents/p-0b57ecc3.entry.js +0 -1
  436. package/dist/webcomponents/p-16adfe77.entry.js +0 -1
  437. package/dist/webcomponents/p-1b22572d.entry.js +0 -1
  438. package/dist/webcomponents/p-22e9ff07.entry.js +0 -1
  439. package/dist/webcomponents/p-2adda453.entry.js +0 -1
  440. package/dist/webcomponents/p-2dbc4b19.entry.js +0 -1
  441. package/dist/webcomponents/p-43d6bbed.entry.js +0 -1
  442. package/dist/webcomponents/p-44d8c2b1.entry.js +0 -1
  443. package/dist/webcomponents/p-4749e0d0.entry.js +0 -1
  444. package/dist/webcomponents/p-6n7viK-J.js +0 -1
  445. package/dist/webcomponents/p-7c62b59d.entry.js +0 -1
  446. package/dist/webcomponents/p-82515f70.entry.js +0 -1
  447. package/dist/webcomponents/p-84d27581.entry.js +0 -1
  448. package/dist/webcomponents/p-935fa555.entry.js +0 -1
  449. package/dist/webcomponents/p-B0cQ2RjH.js +0 -1
  450. package/dist/webcomponents/p-B190pN0v.js +0 -1
  451. package/dist/webcomponents/p-BM5lviat.js +0 -1
  452. package/dist/webcomponents/p-BWJ7zamv.js +0 -1
  453. package/dist/webcomponents/p-BmWpHZ-Z.js +0 -1
  454. package/dist/webcomponents/p-BzPi8Ea_.js +0 -1
  455. package/dist/webcomponents/p-C0IqfGFc.js +0 -1
  456. package/dist/webcomponents/p-CffckWWF.js +0 -1
  457. package/dist/webcomponents/p-D0ptm6-3.js +0 -1
  458. package/dist/webcomponents/p-D4Mv5jCp.js +0 -1
  459. package/dist/webcomponents/p-D5Sh88BE.js +0 -1
  460. package/dist/webcomponents/p-DJzjeg3x.js +0 -1
  461. package/dist/webcomponents/p-DNt_pMGt.js +0 -1
  462. package/dist/webcomponents/p-DPiTQ9dr.js +0 -1
  463. package/dist/webcomponents/p-DZfxGQ1I.js +0 -1
  464. package/dist/webcomponents/p-DgfzEZny.js +0 -1
  465. package/dist/webcomponents/p-DjGTAHJM.js +0 -1
  466. package/dist/webcomponents/p-DuBhW0xA.js +0 -1
  467. package/dist/webcomponents/p-M61ygz6l.js +0 -1
  468. package/dist/webcomponents/p-U30-0DaA.js +0 -1
  469. package/dist/webcomponents/p-a46730eb.entry.js +0 -1
  470. package/dist/webcomponents/p-af2c38f7.entry.js +0 -1
  471. package/dist/webcomponents/p-afa54e39.entry.js +0 -1
  472. package/dist/webcomponents/p-dd05cce1.entry.js +0 -1
  473. package/dist/webcomponents/p-e00aeb33.entry.js +0 -1
  474. package/dist/webcomponents/p-e1c5ee0a.entry.js +0 -1
  475. package/dist/webcomponents/p-ea8dd3e7.entry.js +0 -1
  476. package/dist/webcomponents/p-f8b205f7.entry.js +0 -1
  477. package/dist/webcomponents/p-o_73WSki.js +0 -1
  478. package/dist/webcomponents/p-um3YdOwW.js +0 -1
  479. package/dist/webcomponents/p-vb3fTJEZ.js +0 -1
  480. package/dist/webcomponents/p-wqUvt1PB.js +0 -1
  481. /package/dist/webcomponents/{p-D6FDxSyt.js → p-DeiW2BDb.js} +0 -0
@@ -1,11 +1,11 @@
1
- import { A as Api } from './Api-KYhsw8Nv.js';
1
+ import { A as Api } from './Api-CZhQlPMs.js';
2
2
  import './ComponentError-SdntD1xf.js';
3
- import './Checkout-Dfpql997.js';
3
+ import './Checkout-B9LrTq63.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
- import './Document-cNXrKmGy.js';
6
- import './Refund-2YJqP9qX.js';
7
- import './Business-D6XNzizo.js';
8
- import './Dispute-BH0Xfn-F.js';
5
+ import './Payment-BGiKmQYR.js';
6
+ import './Refund-DDIEc_gu.js';
7
+ import './Business-BCoP0TAV.js';
8
+ import './Dispute-7MWRbTXI.js';
9
9
 
10
10
  const api = Api();
11
11
  class DisputeService {
@@ -1,8 +1,8 @@
1
- import { r as registerInstance, h, H as Host } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, h, H as Host } from './index-DeiW2BDb.js';
2
2
  import { al as alertDanger, D as heading2 } from './parts-BrLVc_85.js';
3
- import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as businessClassificationOptions } from './business-form-options-Bn05PRR4.js';
3
+ import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as businessClassificationOptions } from './business-form-options-CgssATyg.js';
4
4
  import { C as CURRENCY_MASK, T as TAX_ID_MASKS, P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks-B-iV5cYd.js';
5
- import { C as CoreBusinessInfo } from './Business-D6XNzizo.js';
5
+ import { C as CoreBusinessInfo } from './Business-BCoP0TAV.js';
6
6
  import { d as deconstructDate } from './helpers-Mu7LQT-w.js';
7
7
  import { S as StateOptions } from './state-options-BX8GieXu.js';
8
8
  import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DeiW2BDb.js';
2
2
  import { a2 as inputCheckboxInvalid, a3 as inputCheckboxCheckedFocused, a4 as inputCheckboxFocused, a5 as inputCheckboxChecked, a6 as inputCheckbox, l as label } from './parts-BrLVc_85.js';
3
- import { F as FormControlHelpText } from './form-control-help-text-2DawN8-N.js';
4
- import { F as FormControlErrorText } from './form-control-error-text-tGFxd6kW.js';
3
+ import { F as FormControlHelpText } from './form-control-help-text-DjU4NWmt.js';
4
+ import { F as FormControlErrorText } from './form-control-error-text-lGsxANkt.js';
5
5
  import './event-types-CZfYo5-1.js';
6
6
 
7
7
  const CheckboxInput = class {
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DeiW2BDb.js';
2
2
  import { c as input, l as label, b as inputInvalid, R as inputDisabled, a as inputFocused } from './parts-BrLVc_85.js';
3
- import { F as FormControlErrorText } from './form-control-error-text-tGFxd6kW.js';
3
+ import { F as FormControlErrorText } from './form-control-error-text-lGsxANkt.js';
4
4
  import './event-types-CZfYo5-1.js';
5
5
 
6
6
  const DateInput = class {
@@ -1,4 +1,4 @@
1
- import { h } from './index-D6FDxSyt.js';
1
+ import { h } from './index-DeiW2BDb.js';
2
2
  import { B as textDanger } from './parts-BrLVc_85.js';
3
3
 
4
4
  const FormControlErrorText = (props) => {
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-D6FDxSyt.js';
2
- import { F as FormControlErrorText } from './form-control-error-text-tGFxd6kW.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-DeiW2BDb.js';
2
+ import { F as FormControlErrorText } from './form-control-error-text-lGsxANkt.js';
3
3
  import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, R as inputDisabled, c as input, l as label } from './parts-BrLVc_85.js';
4
4
 
5
5
  const FileInput = class {
@@ -1,4 +1,4 @@
1
- import { h } from './index-D6FDxSyt.js';
1
+ import { h } from './index-DeiW2BDb.js';
2
2
  import { A as text } from './parts-BrLVc_85.js';
3
3
 
4
4
  const FormControlHelpText = (props) => {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, h } from './index-DeiW2BDb.js';
2
2
 
3
3
  const FormControlHelpText = class {
4
4
  constructor(hostRef) {
@@ -1,9 +1,9 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DeiW2BDb.js';
2
2
  import { I as IMask } from './index-Ce_F4E0f.js';
3
3
  import { C as CURRENCY_MASK } from './form-input-masks-B-iV5cYd.js';
4
4
  import { Y as inputGroup, l as label, S as inputAdornment, b as inputInvalid, R as inputDisabled, a as inputFocused } from './parts-BrLVc_85.js';
5
- import { F as FormControlHelpText } from './form-control-help-text-2DawN8-N.js';
6
- import { F as FormControlErrorText } from './form-control-error-text-tGFxd6kW.js';
5
+ import { F as FormControlHelpText } from './form-control-help-text-DjU4NWmt.js';
6
+ import { F as FormControlErrorText } from './form-control-error-text-lGsxANkt.js';
7
7
  import './event-types-CZfYo5-1.js';
8
8
 
9
9
  const MonetaryInputProvisioning = class {
@@ -1,9 +1,9 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DeiW2BDb.js';
2
2
  import { b as inputInvalid, R as inputDisabled, a as inputFocused, c as input, l as label, S as inputAdornment } from './parts-BrLVc_85.js';
3
- import { F as FormControlHelpText } from './form-control-help-text-2DawN8-N.js';
4
- import { F as FormControlErrorText } from './form-control-error-text-tGFxd6kW.js';
3
+ import { F as FormControlHelpText } from './form-control-help-text-DjU4NWmt.js';
4
+ import { F as FormControlErrorText } from './form-control-error-text-lGsxANkt.js';
5
5
  import './event-types-CZfYo5-1.js';
6
- import { f as formatCurrency } from './utils-BWcTxbSg.js';
6
+ import { f as formatCurrency } from './utils-DB5fh6Iv.js';
7
7
  import './_commonjsHelpers-BFTU3MAI.js';
8
8
 
9
9
  const MonetaryInput = class {
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DeiW2BDb.js';
2
2
  import { I as IMask } from './index-Ce_F4E0f.js';
3
3
  import { b as inputInvalid, R as inputDisabled, a as inputFocused, c as input, l as label } from './parts-BrLVc_85.js';
4
- import { F as FormControlErrorText } from './form-control-error-text-tGFxd6kW.js';
4
+ import { F as FormControlErrorText } from './form-control-error-text-lGsxANkt.js';
5
5
  import './event-types-CZfYo5-1.js';
6
6
  import { S as StateOptions } from './state-options-BX8GieXu.js';
7
7
  import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-DeiW2BDb.js';
2
2
  import { i as inputInvalidAndFocused, a as inputFocused, b as inputInvalid, c as input, l as label } from './parts-BrLVc_85.js';
3
- import { F as FormControlHelpText } from './form-control-help-text-2DawN8-N.js';
4
- import { F as FormControlErrorText } from './form-control-error-text-tGFxd6kW.js';
3
+ import { F as FormControlHelpText } from './form-control-help-text-DjU4NWmt.js';
4
+ import { F as FormControlErrorText } from './form-control-error-text-lGsxANkt.js';
5
5
  import './event-types-CZfYo5-1.js';
6
6
 
7
7
  const NumberInput = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DeiW2BDb.js';
2
2
  import { Z as inputRadioInvalid, _ as inputRadioCheckedFocused, $ as inputRadioChecked, a0 as inputRadioFocused, a1 as inputRadio, l as label } from './parts-BrLVc_85.js';
3
3
 
4
4
  const RadioInput = class {
@@ -1,4 +1,4 @@
1
- import { B as Business } from './Business-D6XNzizo.js';
1
+ import { B as Business } from './Business-BCoP0TAV.js';
2
2
  import { C as ComponentErrorSeverity } from './ComponentError-SdntD1xf.js';
3
3
  import { g as getErrorCode, a as getErrorMessage } from './utils-Dccsn9BY.js';
4
4
 
@@ -1,12 +1,12 @@
1
- import './config-state-CkKrqnpZ.js';
2
- import './utils-BWcTxbSg.js';
1
+ import './config-state-ecb1EsvM.js';
2
+ import './utils-DB5fh6Iv.js';
3
3
  import { C as ComponentErrorSeverity } from './ComponentError-SdntD1xf.js';
4
- import './Checkout-Dfpql997.js';
4
+ import './Checkout-B9LrTq63.js';
5
5
  import './Pagination-CLHwhyvu.js';
6
- import { P as Payment } from './Document-cNXrKmGy.js';
7
- import './Refund-2YJqP9qX.js';
8
- import './Business-D6XNzizo.js';
9
- import './Dispute-BH0Xfn-F.js';
6
+ import { P as Payment } from './Payment-BGiKmQYR.js';
7
+ import './Refund-DDIEc_gu.js';
8
+ import './Business-BCoP0TAV.js';
9
+ import './Dispute-7MWRbTXI.js';
10
10
  import { g as getErrorCode, a as getErrorMessage } from './utils-Dccsn9BY.js';
11
11
 
12
12
  const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
@@ -1,13 +1,13 @@
1
- import { A as Api } from './Api-KYhsw8Nv.js';
1
+ import { A as Api } from './Api-CZhQlPMs.js';
2
2
  import { C as ComponentErrorSeverity } from './ComponentError-SdntD1xf.js';
3
- import './Checkout-Dfpql997.js';
3
+ import './Checkout-B9LrTq63.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
- import './Document-cNXrKmGy.js';
6
- import { S as SubAccount } from './Refund-2YJqP9qX.js';
7
- import './Business-D6XNzizo.js';
8
- import './Dispute-BH0Xfn-F.js';
9
- import './config-state-CkKrqnpZ.js';
10
- import './utils-BWcTxbSg.js';
5
+ import './Payment-BGiKmQYR.js';
6
+ import { S as SubAccount } from './Refund-DDIEc_gu.js';
7
+ import './Business-BCoP0TAV.js';
8
+ import './Dispute-7MWRbTXI.js';
9
+ import './config-state-ecb1EsvM.js';
10
+ import './utils-DB5fh6Iv.js';
11
11
  import { g as getErrorCode, a as getErrorMessage } from './utils-Dccsn9BY.js';
12
12
 
13
13
  const api = Api();
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-D6FDxSyt.js';
2
- import { f as formatCurrency, k as formatDisplayDate } from './utils-BWcTxbSg.js';
3
- import { E as ErrorState } from './utils-BpP_VJGf.js';
4
- import { S as Spinner } from './spinner-onCBxbdo.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DeiW2BDb.js';
2
+ import { f as formatCurrency, k as formatDisplayDate } from './utils-DB5fh6Iv.js';
3
+ import { E as ErrorState } from './utils-CcleFgVO.js';
4
+ import { S as Spinner } from './spinner-CrzsUbgI.js';
5
5
  import './_commonjsHelpers-BFTU3MAI.js';
6
6
  import './parts-BrLVc_85.js';
7
7
 
@@ -1,4 +1,4 @@
1
- import { h } from './index-D6FDxSyt.js';
1
+ import { h } from './index-DeiW2BDb.js';
2
2
  import { C as heading1 } from './parts-BrLVc_85.js';
3
3
 
4
4
  const Header1 = (props) => {
@@ -1,4 +1,4 @@
1
- import { h } from './index-D6FDxSyt.js';
1
+ import { h } from './index-DeiW2BDb.js';
2
2
  import { U as heading3 } from './parts-BrLVc_85.js';
3
3
 
4
4
  const Header3 = (props) => {
@@ -1,4 +1,4 @@
1
- import { c as createStore } from './index-Cc3u0uDC.js';
1
+ import { c as createStore } from './index-Dc7aGxx-.js';
2
2
 
3
3
  const iframeInputStylesStore = createStore({
4
4
  focused: {
@@ -1,10 +1,10 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-DeiW2BDb.js';
2
2
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
3
- import { F as FormControlErrorText } from './form-control-error-text-tGFxd6kW.js';
4
- import { p as packageJson } from './package-DPiTQ9dr.js';
5
- import { i as iframeInputStyles } from './iframe-input-styles-state-ibYqbF--.js';
3
+ import { F as FormControlErrorText } from './form-control-error-text-lGsxANkt.js';
4
+ import { p as packageJson } from './package-DCoo9Ds8.js';
5
+ import { i as iframeInputStyles } from './iframe-input-styles-state-BEips-at.js';
6
6
  import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, l as label } from './parts-BrLVc_85.js';
7
- import './index-Cc3u0uDC.js';
7
+ import './index-Dc7aGxx-.js';
8
8
 
9
9
  var iframeResizer = {exports: {}};
10
10
 
@@ -1,4 +1,4 @@
1
- import { a as getRenderingRef, f as forceUpdate } from './index-D6FDxSyt.js';
1
+ import { a as getRenderingRef, f as forceUpdate } from './index-DeiW2BDb.js';
2
2
 
3
3
  const appendToMap = (map, propName, value) => {
4
4
  const items = map.get(propName);
@@ -2,7 +2,7 @@ const NAMESPACE = 'webcomponents';
2
2
  const BUILD = /* webcomponents */ { hydratedSelectorName: "hydrated", lazyLoad: true, slotRelocation: true, updatable: true};
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.31.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.32.0 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -1,6 +1,6 @@
1
- import { h } from './index-D6FDxSyt.js';
1
+ import { h } from './index-DeiW2BDb.js';
2
2
  import { D as heading2 } from './parts-BrLVc_85.js';
3
- import { c as createStore } from './index-Cc3u0uDC.js';
3
+ import { c as createStore } from './index-Dc7aGxx-.js';
4
4
 
5
5
  const Header2 = (props) => {
6
6
  return h("h2", { class: `header-2 ${props === null || props === void 0 ? void 0 : props.class}`, part: heading2 }, props.text);
@@ -1,29 +1,29 @@
1
- import { h, r as registerInstance, c as createEvent } from './index-D6FDxSyt.js';
2
- import { a as additionalQuestionsSchema, b as businessCoreInfoSchema } from './business-additional-questions-schema-GpN_koGK.js';
3
- import { F as FormController, c as create$3 } from './index.esm-BCNUj0Dx.js';
4
- import { A as AdditionalQuestions, C as CoreBusinessInfo, R as Representative, c as Address } from './Business-D6XNzizo.js';
1
+ import { h, r as registerInstance, c as createEvent } from './index-DeiW2BDb.js';
2
+ import { a as additionalQuestionsSchema, b as businessCoreInfoSchema } from './business-additional-questions-schema-uQlQ8fXQ.js';
3
+ import { F as FormController, c as create$3, b as create$8 } from './index.esm-BCNUj0Dx.js';
4
+ import { A as AdditionalQuestions, C as CoreBusinessInfo, R as Representative, c as Address } from './Business-BCoP0TAV.js';
5
5
  import { C as CURRENCY_MASK, P as PHONE_MASKS } from './form-input-masks-B-iV5cYd.js';
6
6
  import { D as heading2 } from './parts-BrLVc_85.js';
7
- import { S as Skeleton } from './skeleton-Dlpibtr0.js';
7
+ import { S as Skeleton } from './skeleton-B9rUHFom.js';
8
8
  import './event-types-CZfYo5-1.js';
9
- import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as businessClassificationOptions } from './business-form-options-Bn05PRR4.js';
9
+ import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as businessClassificationOptions } from './business-form-options-CgssATyg.js';
10
10
  import { a as BusinessFormStep, B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
11
- import { z as bankStatementValidation, A as voidedCheckValidation, B as routingNumberValidation, C as accountNumberValidation, D as accountTypeValidation, y as identityNameValidation, E as nicknameValidation, F as bankNameValidation } from './schema-validations-D9YNVLiI.js';
12
- import './config-state-CkKrqnpZ.js';
13
- import './utils-BWcTxbSg.js';
11
+ import { E as EntityDocumentType, h as EntityDocumentStorage, i as EntityDocument } from './Refund-DDIEc_gu.js';
12
+ import { z as routingNumberValidation, A as accountNumberValidation, B as accountTypeValidation, y as identityNameValidation, C as nicknameValidation, D as bankNameValidation } from './schema-validations-DLWfpHyI.js';
13
+ import './config-state-ecb1EsvM.js';
14
+ import './utils-DB5fh6Iv.js';
14
15
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-SdntD1xf.js';
15
- import './Checkout-Dfpql997.js';
16
+ import './Checkout-B9LrTq63.js';
16
17
  import './Pagination-CLHwhyvu.js';
17
- import { a as EntityDocumentStorage, b as EntityDocument } from './Document-cNXrKmGy.js';
18
- import './Refund-2YJqP9qX.js';
19
- import './Dispute-BH0Xfn-F.js';
18
+ import './Payment-BGiKmQYR.js';
19
+ import './Dispute-7MWRbTXI.js';
20
20
  import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
21
- import { B as Button } from './button-CjH5C0pG.js';
22
- import { i as identitySchema, a as addressSchema } from './business-identity-schema-BjuQ6ajL.js';
21
+ import { B as Button } from './button-BrZXQ8gb.js';
22
+ import { i as identitySchema, a as addressSchema } from './business-identity-schema-BsrgqgDl.js';
23
23
  import { S as StateOptions } from './state-options-BX8GieXu.js';
24
24
  import './_commonjsHelpers-BFTU3MAI.js';
25
25
  import './helpers-Mu7LQT-w.js';
26
- import './index-Cc3u0uDC.js';
26
+ import './index-Dc7aGxx-.js';
27
27
 
28
28
  class BankAccount {
29
29
  constructor(data) {
@@ -175,17 +175,44 @@ const AdditionalQuestionsFormStepCore = class {
175
175
  }; }
176
176
  };
177
177
 
178
+ const checkExistingDocs = (documents, documentType) => {
179
+ return documents.some((doc) => doc.document_type === documentType);
180
+ };
181
+ const documentErrorText = 'Please upload either a voided check or a bank statement. Only one is required.';
178
182
  const businessBankAccountSchema = (documents, allowOptionalFields) => {
179
- const schema = create$3({
183
+ const existingVoidedCheck = checkExistingDocs(documents, EntityDocumentType.voidedCheck);
184
+ const existingBankStatement = checkExistingDocs(documents, EntityDocumentType.bankStatement);
185
+ const existingDocument = existingVoidedCheck || existingBankStatement;
186
+ const schema = create$3().shape({
180
187
  bank_name: bankNameValidation.required('Enter bank name'),
181
188
  nickname: nicknameValidation.required('Enter nickname'),
182
189
  account_owner_name: identityNameValidation.required('Enter account owner name'),
183
190
  account_type: accountTypeValidation.required('Select account type'),
184
191
  account_number: accountNumberValidation.required('Enter account number'),
185
192
  routing_number: routingNumberValidation.required('Enter routing number'),
186
- voided_check: voidedCheckValidation(documents, allowOptionalFields),
187
- bank_statement: bankStatementValidation(documents, allowOptionalFields)
188
- });
193
+ voided_check: create$8().when('bank_statement', {
194
+ is: (val) => {
195
+ return !val && !existingDocument;
196
+ },
197
+ then: (schema) => {
198
+ return schema.required(documentErrorText);
199
+ },
200
+ otherwise: (schema) => {
201
+ return schema.notRequired();
202
+ }
203
+ }),
204
+ bank_statement: create$8().when('voided_check', {
205
+ is: (val) => {
206
+ return !val && !existingDocument;
207
+ },
208
+ then: (schema) => {
209
+ return schema.required(documentErrorText);
210
+ },
211
+ otherwise: (schema) => {
212
+ return schema.notRequired();
213
+ }
214
+ }),
215
+ }, [['voided_check', 'bank_statement']]);
189
216
  const easySchema = create$3({
190
217
  bank_name: bankNameValidation.nullable(),
191
218
  nickname: nicknameValidation.nullable(),
@@ -193,8 +220,8 @@ const businessBankAccountSchema = (documents, allowOptionalFields) => {
193
220
  account_type: accountTypeValidation.nullable(),
194
221
  account_number: accountNumberValidation.nullable(),
195
222
  routing_number: routingNumberValidation.nullable(),
196
- voided_check: voidedCheckValidation(documents, allowOptionalFields),
197
- bank_statement: bankStatementValidation(documents, allowOptionalFields)
223
+ voided_check: create$8().nullable(),
224
+ bank_statement: create$8().nullable(),
198
225
  });
199
226
  return allowOptionalFields ? easySchema : schema;
200
227
  };
@@ -417,7 +444,7 @@ const BusinessBankAccountFormStepCore = class {
417
444
  if (this.isLoading) {
418
445
  return h(PaymentProvisioningLoading, null);
419
446
  }
420
- return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.existingBankAccount })), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "These documents are required for underwriting purposes. Various file formats such as PDF, DOC, DOCX, JPEG, and others are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles }))));
447
+ return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.existingBankAccount })), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "One document (voided check or bank statement) is required for underwriting purposes. It needs to visibly show the name tied to the account and the account number. Various file formats such as PDF, DOC, DOCX, JPEG are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles }))));
421
448
  }
422
449
  static get watchers() { return {
423
450
  "isLoading": ["watchHandler"]
@@ -1,23 +1,23 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DeiW2BDb.js';
2
2
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-SdntD1xf.js';
3
3
  import { m as makeGetBusiness, b as makePatchBusiness, f as makePostBankAccount, g as makePostDocumentRecord } from './payment-provisioning-actions-BIfyW239.js';
4
- import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service-ClD_YDeT.js';
5
- import './config-state-CkKrqnpZ.js';
6
- import './utils-BWcTxbSg.js';
7
- import './Checkout-Dfpql997.js';
4
+ import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service-CUWiJ5Un.js';
5
+ import './config-state-ecb1EsvM.js';
6
+ import './utils-DB5fh6Iv.js';
7
+ import './Checkout-B9LrTq63.js';
8
8
  import './Pagination-CLHwhyvu.js';
9
- import './Document-cNXrKmGy.js';
10
- import './Refund-2YJqP9qX.js';
11
- import './Business-D6XNzizo.js';
12
- import './Dispute-BH0Xfn-F.js';
9
+ import './Payment-BGiKmQYR.js';
10
+ import './Refund-DDIEc_gu.js';
11
+ import './Business-BCoP0TAV.js';
12
+ import './Dispute-7MWRbTXI.js';
13
13
  import { c as create$3, d as create$7, F as FormController } from './index.esm-BCNUj0Dx.js';
14
- import { A as Api } from './Api-KYhsw8Nv.js';
14
+ import { A as Api } from './Api-CZhQlPMs.js';
15
15
  import { D as heading2 } from './parts-BrLVc_85.js';
16
16
  import { a as BusinessFormStep, B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
17
- import { B as Button } from './button-CjH5C0pG.js';
17
+ import { B as Button } from './button-BrZXQ8gb.js';
18
18
  import './event-types-CZfYo5-1.js';
19
19
  import './utils-Dccsn9BY.js';
20
- import './index-Cc3u0uDC.js';
20
+ import './index-Dc7aGxx-.js';
21
21
  import './_commonjsHelpers-BFTU3MAI.js';
22
22
  import './helpers-Mu7LQT-w.js';
23
23
  import './state-options-BX8GieXu.js';
@@ -287,7 +287,7 @@ const BusinessTermsConditionsFormStep = class {
287
287
  this.formLoading.emit(true);
288
288
  try {
289
289
  const payload = this.termsPayload;
290
- const response = await this.api.post({ endpoint: this.termsConditionsEndpoint, body: payload });
290
+ const response = await this.api.post({ endpoint: this.termsConditionsEndpoint, body: payload, authToken: this.authToken });
291
291
  this.handleResponse(response, onSuccess);
292
292
  }
293
293
  catch (error) {
@@ -365,7 +365,7 @@ const BusinessTermsConditionsFormStep = class {
365
365
  return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
366
366
  }
367
367
  render() {
368
- return (h("form", { key: '6bba766ba11512058470225103aa2afff318ab99' }, h("fieldset", { key: '318755ea4fc772e61ac9f8318ccf95494f71bf73' }, h("legend", { key: 'e5a268e9be8ed0a69eb8eed23ffc742228218685', part: heading2 }, "Terms and Conditions"), h("hr", { key: '100eed0ad0c8e7a5c652640c337d899be6f2131a' }), h("div", { key: '08a878a7fe9cd7b8ccb2217932d5d3a3b53bb0c9' }, h("p", { key: 'a5b3ddc655c511187327028229a893f7ea06c7ca' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '5c021ef8a8bce686a615a7478a4312f842eb4248' }), h("div", { key: '6b3172972459d33e70e6bf4b8c2c9d93a843b7f4', class: "row-gy-3" }, h("div", { key: '1e99c4eab265b0b0f370a02ddf76b15d27db961c', class: "col-12" }, h("form-control-checkbox", { key: '4c974e3fd58f34000fa70d38d3da312f9bd1fe0d', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
368
+ return (h("form", { key: 'c1ca0ecd364a999e7525e9ac3da82e874a8784e8' }, h("fieldset", { key: 'a77178a38044c458d8dbd31a7e1aeb3f1a34c968' }, h("legend", { key: '7e933517fca8d54095466715bf1f0485625be74f', part: heading2 }, "Terms and Conditions"), h("hr", { key: '1c1da0b7378c51ad2be5efc0e51dedd3ed178c8f' }), h("div", { key: 'bc37aa5162dddc8ade4316b5f24deb1d4a4b6f86' }, h("p", { key: 'aef3d0c9186845e3f44b8e1906c405647f489b53' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '2a6a480916cc0c4bf35d96c96c3f0250e87149cb' }), h("div", { key: '2e3bed3a57bcb026152fcdc82debab0e667f8148', class: "row-gy-3" }, h("div", { key: '3243c1819e4e61921421467271b2a4d2a89e73d4', class: "col-12" }, h("form-control-checkbox", { key: '20b9b72809148ef390a6da7d9f5bc216436d34a5', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
369
369
  }
370
370
  };
371
371
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, h } from './index-DeiW2BDb.js';
2
2
  import { c as create$3, a as create$6, F as FormController } from './index.esm-BCNUj0Dx.js';
3
3
  import { ak as heading5 } from './parts-BrLVc_85.js';
4
4
  import './_commonjsHelpers-BFTU3MAI.js';
@@ -1,30 +1,35 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-D6FDxSyt.js';
2
- import { E as ErrorState } from './utils-BpP_VJGf.js';
3
- import { B as BusinessService } from './business.service-ClD_YDeT.js';
4
- import { m as makeGetBusiness } from './get-business-CIKToQur.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-DeiW2BDb.js';
2
+ import { E as ErrorState } from './utils-CcleFgVO.js';
3
+ import { B as BusinessService } from './business.service-CUWiJ5Un.js';
4
+ import { m as makeGetBusiness } from './get-business-GEPTefIj.js';
5
5
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-SdntD1xf.js';
6
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-DxnKX9GQ.js';
6
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-CxnnjoM3.js';
7
7
  import './parts-BrLVc_85.js';
8
- import './Api-KYhsw8Nv.js';
9
- import './config-state-CkKrqnpZ.js';
10
- import './index-Cc3u0uDC.js';
11
- import './utils-BWcTxbSg.js';
8
+ import './Api-CZhQlPMs.js';
9
+ import './config-state-ecb1EsvM.js';
10
+ import './index-Dc7aGxx-.js';
11
+ import './utils-DB5fh6Iv.js';
12
12
  import './_commonjsHelpers-BFTU3MAI.js';
13
- import './Checkout-Dfpql997.js';
13
+ import './Checkout-B9LrTq63.js';
14
14
  import './Pagination-CLHwhyvu.js';
15
- import './Document-cNXrKmGy.js';
16
- import './Dispute-BH0Xfn-F.js';
17
- import './Refund-2YJqP9qX.js';
18
- import './Business-D6XNzizo.js';
15
+ import './Payment-BGiKmQYR.js';
16
+ import './Dispute-7MWRbTXI.js';
17
+ import './Refund-DDIEc_gu.js';
18
+ import './Business-BCoP0TAV.js';
19
19
  import './helpers-Mu7LQT-w.js';
20
20
  import './state-options-BX8GieXu.js';
21
21
  import './utils-Dccsn9BY.js';
22
- import './package-DPiTQ9dr.js';
22
+ import './package-DCoo9Ds8.js';
23
23
 
24
24
  const BusinessDetails = class {
25
25
  constructor(hostRef) {
26
26
  registerInstance(this, hostRef);
27
27
  this.errorEvent = createEvent(this, "error-event");
28
+ this.errorMessage = null;
29
+ this.handleErrorEvent = event => {
30
+ this.errorMessage = event.detail.message;
31
+ this.errorEvent.emit(event.detail);
32
+ };
28
33
  }
29
34
  componentWillLoad() {
30
35
  checkPkgVersion();
@@ -54,9 +59,9 @@ const BusinessDetails = class {
54
59
  }
55
60
  render() {
56
61
  if (this.errorMessage) {
57
- return h(Host, null, ErrorState(this.errorMessage));
62
+ return ErrorState(this.errorMessage);
58
63
  }
59
- return (h(Host, null, h("business-details-core", { getBusiness: this.getBusiness })));
64
+ return (h("business-details-core", { getBusiness: this.getBusiness, "onError-event": this.handleErrorEvent }));
60
65
  }
61
66
  };
62
67
 
@@ -1,33 +1,33 @@
1
- import { h, r as registerInstance, c as createEvent } from './index-D6FDxSyt.js';
1
+ import { h, r as registerInstance, c as createEvent } from './index-DeiW2BDb.js';
2
2
  import { c as create$3, F as FormController } from './index.esm-BCNUj0Dx.js';
3
- import { b as businessCoreInfoSchema, a as additionalQuestionsSchema } from './business-additional-questions-schema-GpN_koGK.js';
4
- import { i as identitySchema, a as addressSchema } from './business-identity-schema-BjuQ6ajL.js';
5
- import './config-state-CkKrqnpZ.js';
6
- import './utils-BWcTxbSg.js';
3
+ import { b as businessCoreInfoSchema, a as additionalQuestionsSchema } from './business-additional-questions-schema-uQlQ8fXQ.js';
4
+ import { i as identitySchema, a as addressSchema } from './business-identity-schema-BsrgqgDl.js';
5
+ import './config-state-ecb1EsvM.js';
6
+ import './utils-DB5fh6Iv.js';
7
7
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-SdntD1xf.js';
8
- import './Checkout-Dfpql997.js';
8
+ import './Checkout-B9LrTq63.js';
9
9
  import './Pagination-CLHwhyvu.js';
10
- import './Document-cNXrKmGy.js';
11
- import './Refund-2YJqP9qX.js';
12
- import { B as Business, b as BusinessFormServerErrors } from './Business-D6XNzizo.js';
13
- import './Dispute-BH0Xfn-F.js';
14
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-DxnKX9GQ.js';
15
- import { B as Button } from './button-CjH5C0pG.js';
16
- import { S as StyledHost } from './styled-host-C7vaWLiB.js';
17
- import { H as Header1 } from './header-1-D2gZb3iT.js';
10
+ import './Payment-BGiKmQYR.js';
11
+ import './Refund-DDIEc_gu.js';
12
+ import { B as Business, b as BusinessFormServerErrors } from './Business-BCoP0TAV.js';
13
+ import './Dispute-7MWRbTXI.js';
14
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-CxnnjoM3.js';
15
+ import { B as Button } from './button-BrZXQ8gb.js';
16
+ import { S as StyledHost } from './styled-host-_2J3PYDn.js';
17
+ import { H as Header1 } from './header-1-Xbhp2rfA.js';
18
18
  import './event-types-CZfYo5-1.js';
19
- import { S as Skeleton } from './skeleton-Dlpibtr0.js';
19
+ import { S as Skeleton } from './skeleton-B9rUHFom.js';
20
20
  import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
21
21
  import { m as makeGetBusiness, b as makePatchBusiness } from './payment-provisioning-actions-BIfyW239.js';
22
- import { B as BusinessService } from './business.service-ClD_YDeT.js';
22
+ import { B as BusinessService } from './business.service-CUWiJ5Un.js';
23
23
  import './_commonjsHelpers-BFTU3MAI.js';
24
- import './schema-validations-D9YNVLiI.js';
24
+ import './schema-validations-DLWfpHyI.js';
25
25
  import './state-options-BX8GieXu.js';
26
- import './business-form-options-Bn05PRR4.js';
27
- import './index-Cc3u0uDC.js';
26
+ import './business-form-options-CgssATyg.js';
27
+ import './index-Dc7aGxx-.js';
28
28
  import './helpers-Mu7LQT-w.js';
29
- import './package-DPiTQ9dr.js';
30
- import './Api-KYhsw8Nv.js';
29
+ import './package-DCoo9Ds8.js';
30
+ import './Api-CZhQlPMs.js';
31
31
  import './parts-BrLVc_85.js';
32
32
  import './utils-Dccsn9BY.js';
33
33
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-D6FDxSyt.js';
1
+ import { r as registerInstance, h } from './index-DeiW2BDb.js';
2
2
  import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-CX6mSvOM.js';
3
3
  import { P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks-B-iV5cYd.js';
4
4
  import { D as heading2 } from './parts-BrLVc_85.js';