@justifi/webcomponents 4.9.0 → 4.10.0-rc.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 (334) hide show
  1. package/dist/cjs/{Business-64dffab7.js → Business-79361c8a.js} +1 -0
  2. package/dist/cjs/Identity-b6364aee.js +27 -0
  3. package/dist/cjs/{SubAccount-f8144025.js → SubAccount-b3902202.js} +1 -1
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  5. package/dist/cjs/business-additional-questions-schema-cbac27f2.js +26 -0
  6. package/dist/cjs/business-details-core.cjs.entry.js +2 -2
  7. package/dist/cjs/business-form-select-options-7ccd8dca.js +85 -0
  8. package/dist/cjs/business-form-types-3cdd5447.js +19 -0
  9. package/dist/cjs/form-control-datepart_3.cjs.entry.js +32 -46
  10. package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
  11. package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-number_3.cjs.entry.js} +44 -1
  12. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  13. package/dist/cjs/{index-07ddbad2.js → index-69b9386b.js} +57 -0
  14. package/dist/cjs/justifi-additional-questions-form-step_5.cjs.entry.js +505 -0
  15. package/dist/cjs/{justifi-additional-questions_5.cjs.entry.js → justifi-additional-questions_4.cjs.entry.js} +12 -42
  16. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +1 -1
  17. package/dist/cjs/justifi-billing-form_4.cjs.entry.js +5 -13
  18. package/dist/cjs/justifi-business-address-form-step.cjs.entry.js +35 -0
  19. package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
  20. package/dist/cjs/justifi-business-form-stepped.cjs.entry.js +36 -90
  21. package/dist/cjs/justifi-business-form.cjs.entry.js +16 -15
  22. package/dist/cjs/justifi-business-list.cjs.entry.js +3 -3
  23. package/dist/cjs/justifi-business-owners.cjs.entry.js +1 -1
  24. package/dist/cjs/justifi-card-form.cjs.entry.js +1 -1
  25. package/dist/cjs/justifi-checkout-core.cjs.entry.js +2 -2
  26. package/dist/cjs/justifi-checkout.cjs.entry.js +1 -1
  27. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  28. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
  29. package/dist/cjs/justifi-new-payment-method_3.cjs.entry.js +1 -1
  30. package/dist/cjs/justifi-owner-form.cjs.entry.js +160 -0
  31. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +2 -2
  32. package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
  33. package/dist/cjs/justifi-payment-form.cjs.entry.js +2 -2
  34. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +1 -1
  35. package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
  36. package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
  37. package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
  38. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +2 -2
  39. package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -1
  40. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +4 -4
  41. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +3 -3
  42. package/dist/cjs/justifi-table_2.cjs.entry.js +1 -1
  43. package/dist/cjs/loader.cjs.js +2 -2
  44. package/dist/cjs/payload-parsers-25ed3936.js +98 -0
  45. package/dist/cjs/payment-details-core.cjs.entry.js +3 -3
  46. package/dist/cjs/payments-list-core.cjs.entry.js +2 -2
  47. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  48. package/dist/cjs/payouts-list-core.cjs.entry.js +2 -2
  49. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +3 -3
  50. package/dist/cjs/subaccount-bank-details.cjs.entry.js +2 -2
  51. package/dist/cjs/subaccount-terms-details.cjs.entry.js +2 -2
  52. package/dist/cjs/{utils-5c3e442d.js → utils-23e70ef2.js} +1 -1
  53. package/dist/cjs/{utils-84208d99.js → utils-6f62f7a1.js} +18 -0
  54. package/dist/cjs/utils-df5167a8.js +13 -0
  55. package/dist/cjs/webcomponents.cjs.js +2 -2
  56. package/dist/collection/api/Identity.js +43 -0
  57. package/dist/collection/collection-manifest.json +15 -8
  58. package/dist/collection/components/billing-form/billing-form-schema.js +1 -1
  59. package/dist/collection/components/business-details/owner-details/owner-details.js +2 -2
  60. package/dist/collection/components/business-details/representative-details/representative-details.js +2 -2
  61. package/dist/collection/components/{business-form → business-forms/business-form}/additional-questions/additional-questions.js +1 -1
  62. package/dist/collection/components/business-forms/business-form/business-address/business-address-form.css +2536 -0
  63. package/dist/collection/components/{business-form → business-forms/business-form}/business-address/business-address-form.js +4 -4
  64. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.css +2493 -0
  65. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +77 -0
  66. package/dist/collection/components/{business-form → business-forms/business-form}/business-form.js +32 -24
  67. package/dist/collection/components/business-forms/business-form/business-owners/business-owners.css +7779 -0
  68. package/dist/collection/components/{business-form → business-forms/business-form}/business-owners/business-owners.js +2 -2
  69. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.css +2493 -0
  70. package/dist/collection/components/{business-form → business-forms/business-form}/business-representative/business-representative.js +3 -3
  71. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.css +2493 -0
  72. package/dist/collection/components/{business-form → business-forms/business-form}/legal-address-form/legal-address-form.js +1 -1
  73. package/dist/collection/components/business-forms/business-form-stepped/additional-questions/business-additional-questions-form-step.js +218 -0
  74. package/dist/collection/components/business-forms/business-form-stepped/additional-questions/test/business-additional-questions-form-step.spec.js +97 -0
  75. package/dist/collection/components/business-forms/business-form-stepped/business-address/business-address-form-step.js +97 -0
  76. package/dist/collection/components/business-forms/business-form-stepped/business-address/test/business-address-form-step.spec.js +97 -0
  77. package/dist/collection/components/business-forms/business-form-stepped/business-core-info/business-core-info-form-step.js +239 -0
  78. package/dist/collection/components/business-forms/business-form-stepped/business-core-info/test/business-core-info-form-step.spec.js +97 -0
  79. package/dist/collection/components/{business-form → business-forms/business-form-stepped}/business-form-stepped.css +105 -0
  80. package/dist/collection/components/business-forms/business-form-stepped/business-form-stepped.js +199 -0
  81. package/dist/collection/components/business-forms/business-form-stepped/business-owners/business-owners-form-step.js +284 -0
  82. package/dist/collection/components/business-forms/business-form-stepped/business-owners/test/business-owners-form-step.spec.js +97 -0
  83. package/dist/collection/components/business-forms/business-form-stepped/business-representative/business-representative-form-step.js +230 -0
  84. package/dist/collection/components/business-forms/business-form-stepped/business-representative/test/business-representative-form-step.spec.js +97 -0
  85. package/dist/collection/components/business-forms/business-form-stepped/legal-address-form/legal-address-form-step.js +232 -0
  86. package/dist/collection/components/business-forms/business-form-stepped/test/business-form-stepped.spec.js +61 -0
  87. package/dist/collection/components/business-forms/owner-form/owner-form.css +7779 -0
  88. package/dist/collection/components/business-forms/owner-form/owner-form.js +367 -0
  89. package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +7 -0
  90. package/dist/collection/components/business-forms/schemas/business-address-schema.js +15 -0
  91. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +13 -0
  92. package/dist/collection/components/business-forms/schemas/business-form-schema.js +6 -0
  93. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +35 -0
  94. package/dist/collection/components/business-forms/schemas/business-owners-schema.js +16 -0
  95. package/dist/collection/components/business-forms/utils/business-form-select-options.js +80 -0
  96. package/dist/collection/components/business-forms/utils/business-form-types.js +17 -0
  97. package/dist/collection/components/business-forms/utils/payload-parsers.js +37 -0
  98. package/dist/collection/components/form/utils.js +1 -0
  99. package/dist/collection/utils/utils.js +16 -0
  100. package/dist/docs.json +1690 -300
  101. package/dist/esm/{Business-9921d35f.js → Business-1df362e0.js} +1 -1
  102. package/dist/esm/Identity-774788c0.js +25 -0
  103. package/dist/esm/{SubAccount-76f6d565.js → SubAccount-f4ae9809.js} +1 -1
  104. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  105. package/dist/esm/business-additional-questions-schema-2cb80f70.js +23 -0
  106. package/dist/esm/business-details-core.entry.js +2 -2
  107. package/dist/esm/business-form-select-options-6b9293fe.js +82 -0
  108. package/dist/esm/business-form-types-de9f38cd.js +19 -0
  109. package/dist/esm/form-control-datepart_3.entry.js +32 -46
  110. package/dist/esm/form-control-monetary.entry.js +1 -1
  111. package/dist/esm/{form-control-select_2.entry.js → form-control-number_3.entry.js} +44 -2
  112. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  113. package/dist/esm/{index-fb5ca346.js → index-df86d9a2.js} +57 -0
  114. package/dist/esm/justifi-additional-questions-form-step_5.entry.js +497 -0
  115. package/dist/esm/{justifi-additional-questions_5.entry.js → justifi-additional-questions_4.entry.js} +12 -41
  116. package/dist/esm/justifi-bank-account-form.entry.js +1 -1
  117. package/dist/esm/justifi-billing-form_4.entry.js +4 -12
  118. package/dist/esm/justifi-business-address-form-step.entry.js +31 -0
  119. package/dist/esm/justifi-business-details.entry.js +3 -3
  120. package/dist/esm/justifi-business-form-stepped.entry.js +36 -90
  121. package/dist/esm/justifi-business-form.entry.js +15 -14
  122. package/dist/esm/justifi-business-list.entry.js +3 -3
  123. package/dist/esm/justifi-business-owners.entry.js +1 -1
  124. package/dist/esm/justifi-card-form.entry.js +1 -1
  125. package/dist/esm/justifi-checkout-core.entry.js +2 -2
  126. package/dist/esm/justifi-checkout.entry.js +1 -1
  127. package/dist/esm/justifi-details.entry.js +2 -2
  128. package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
  129. package/dist/esm/justifi-new-payment-method_3.entry.js +1 -1
  130. package/dist/esm/justifi-owner-form.entry.js +156 -0
  131. package/dist/esm/justifi-payment-balance-transactions.entry.js +2 -2
  132. package/dist/esm/justifi-payment-details.entry.js +2 -2
  133. package/dist/esm/justifi-payment-form.entry.js +2 -2
  134. package/dist/esm/justifi-payment-method-selector.entry.js +1 -1
  135. package/dist/esm/justifi-payments-list.entry.js +2 -2
  136. package/dist/esm/justifi-payout-details.entry.js +2 -2
  137. package/dist/esm/justifi-payouts-list.entry.js +2 -2
  138. package/dist/esm/justifi-proceeds-list.entry.js +2 -2
  139. package/dist/esm/justifi-refund-form.entry.js +1 -1
  140. package/dist/esm/justifi-subaccount-details.entry.js +4 -4
  141. package/dist/esm/justifi-subaccounts-list.entry.js +3 -3
  142. package/dist/esm/justifi-table_2.entry.js +1 -1
  143. package/dist/esm/loader.js +3 -3
  144. package/dist/esm/payload-parsers-1dd7474f.js +90 -0
  145. package/dist/esm/payment-details-core.entry.js +3 -3
  146. package/dist/esm/payments-list-core.entry.js +2 -2
  147. package/dist/esm/payout-details-core.entry.js +3 -3
  148. package/dist/esm/payouts-list-core.entry.js +2 -2
  149. package/dist/esm/subaccount-account-details_4.entry.js +3 -3
  150. package/dist/esm/subaccount-bank-details.entry.js +2 -2
  151. package/dist/esm/subaccount-terms-details.entry.js +2 -2
  152. package/dist/esm/{utils-5193fcd7.js → utils-243abdb4.js} +17 -1
  153. package/dist/esm/utils-2828201a.js +10 -0
  154. package/dist/esm/{utils-a3e96d9f.js → utils-d01c5f3a.js} +1 -1
  155. package/dist/esm/webcomponents.js +3 -3
  156. package/dist/module/Business.js +1 -1
  157. package/dist/module/SubAccount.js +1 -1
  158. package/dist/module/billing-form.js +1 -1
  159. package/dist/module/business-additional-questions-form-step.js +120 -0
  160. package/dist/module/business-additional-questions-schema.js +10 -0
  161. package/dist/module/business-address-form.js +3 -3
  162. package/dist/module/business-address-schema.js +18 -0
  163. package/dist/module/business-core-info-form-step.js +141 -0
  164. package/dist/module/business-core-info-schema.js +16 -0
  165. package/dist/module/business-core-info.js +69 -0
  166. package/dist/module/business-form-select-options.js +82 -0
  167. package/dist/module/business-form-types.js +19 -0
  168. package/dist/module/business-identity-schema.js +38 -0
  169. package/dist/{webcomponents/p-3bae0ed3.entry.js → module/business-owners-form-step.js} +213 -1
  170. package/dist/module/business-representative-form-step.js +157 -0
  171. package/dist/module/business-representative.js +1 -1
  172. package/dist/module/checkout-core.js +1 -1
  173. package/dist/module/justifi-additional-questions-form-step.d.ts +11 -0
  174. package/dist/module/justifi-additional-questions-form-step.js +6 -0
  175. package/dist/module/justifi-business-address-form-step.d.ts +11 -0
  176. package/dist/module/justifi-business-address-form-step.js +75 -0
  177. package/dist/module/justifi-business-core-info-form-step.d.ts +11 -0
  178. package/dist/module/justifi-business-core-info-form-step.js +6 -0
  179. package/dist/module/justifi-business-core-info.d.ts +11 -0
  180. package/dist/module/justifi-business-core-info.js +6 -0
  181. package/dist/module/justifi-business-form-stepped.js +72 -113
  182. package/dist/module/justifi-business-form.js +19 -14
  183. package/dist/module/justifi-business-list.js +1 -1
  184. package/dist/module/justifi-business-owners-form-step.d.ts +11 -0
  185. package/dist/module/justifi-business-owners-form-step.js +6 -0
  186. package/dist/module/justifi-business-representative-form-step.d.ts +11 -0
  187. package/dist/module/justifi-business-representative-form-step.js +6 -0
  188. package/dist/module/justifi-legal-address-form-step.d.ts +11 -0
  189. package/dist/module/justifi-legal-address-form-step.js +6 -0
  190. package/dist/module/justifi-owner-form.d.ts +11 -0
  191. package/dist/module/justifi-owner-form.js +6 -0
  192. package/dist/module/justifi-payment-balance-transactions.js +1 -1
  193. package/dist/module/justifi-proceeds-list.js +1 -1
  194. package/dist/module/justifi-subaccount-details.js +1 -1
  195. package/dist/module/justifi-subaccounts-list.js +1 -1
  196. package/dist/module/legal-address-form-step.js +136 -0
  197. package/dist/module/owner-form.js +244 -0
  198. package/dist/module/payload-parsers.js +39 -0
  199. package/dist/module/payment-details-core2.js +1 -1
  200. package/dist/module/payment-method-form.js +2 -9
  201. package/dist/module/payments-list-core2.js +1 -1
  202. package/dist/module/payout-details-core2.js +1 -1
  203. package/dist/module/payouts-list-core2.js +1 -1
  204. package/dist/module/subaccount-merchant-details2.js +1 -1
  205. package/dist/module/utils2.js +17 -1
  206. package/dist/module/utils4.js +10 -0
  207. package/dist/types/api/Business.d.ts +1 -18
  208. package/dist/types/api/Identity.d.ts +60 -0
  209. package/dist/types/components/billing-form/billing-form-schema.d.ts +0 -1
  210. package/dist/types/components/business-details/owner-details/owner-details.d.ts +1 -1
  211. package/dist/types/components/business-details/representative-details/representative-details.d.ts +1 -1
  212. package/dist/types/components/{business-form → business-forms/business-form}/additional-questions/additional-questions.d.ts +1 -1
  213. package/dist/types/components/{business-form → business-forms/business-form}/business-address/business-address-form.d.ts +1 -1
  214. package/dist/types/components/{business-form/business-generic-info/business-generic-info.d.ts → business-forms/business-form/business-core-info/business-core-info.d.ts} +5 -5
  215. package/dist/types/components/{business-form → business-forms/business-form}/business-form.d.ts +5 -10
  216. package/dist/types/components/{business-form → business-forms/business-form}/business-owners/business-owners.d.ts +1 -1
  217. package/dist/types/components/{business-form → business-forms/business-form}/business-representative/business-representative.d.ts +1 -1
  218. package/dist/types/components/{business-form → business-forms/business-form}/legal-address-form/legal-address-form.d.ts +2 -2
  219. package/dist/types/components/business-forms/business-form-stepped/additional-questions/business-additional-questions-form-step.d.ts +30 -0
  220. package/dist/types/components/business-forms/business-form-stepped/business-address/business-address-form-step.d.ts +9 -0
  221. package/dist/types/components/business-forms/business-form-stepped/business-core-info/business-core-info-form-step.d.ts +36 -0
  222. package/dist/types/components/business-forms/business-form-stepped/business-form-stepped.d.ts +45 -0
  223. package/dist/types/components/business-forms/business-form-stepped/business-owners/business-owners-form-step.d.ts +36 -0
  224. package/dist/types/components/business-forms/business-form-stepped/business-representative/business-representative-form-step.d.ts +26 -0
  225. package/dist/types/components/business-forms/business-form-stepped/legal-address-form/legal-address-form-step.d.ts +31 -0
  226. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +36 -0
  227. package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +11 -0
  228. package/dist/types/components/{business-form/business-address/business-address-form-schema.d.ts → business-forms/schemas/business-address-schema.d.ts} +11 -8
  229. package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +19 -0
  230. package/dist/types/components/{business-form → business-forms/schemas}/business-form-schema.d.ts +2 -26
  231. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +59 -0
  232. package/dist/types/components/business-forms/schemas/business-owners-schema.d.ts +33 -0
  233. package/dist/types/components/business-forms/utils/business-form-select-options.d.ts +11 -0
  234. package/dist/types/components/business-forms/utils/business-form-types.d.ts +39 -0
  235. package/dist/types/components/business-forms/utils/payload-parsers.d.ts +4 -0
  236. package/dist/types/components/form/form.d.ts +1 -1
  237. package/dist/types/components/form/utils.d.ts +1 -0
  238. package/dist/types/components.d.ts +409 -59
  239. package/dist/types/utils/utils.d.ts +2 -0
  240. package/dist/webcomponents/p-0399f02b.entry.js +1 -0
  241. package/dist/webcomponents/{p-4edd9721.js → p-04a98c63.js} +1 -1
  242. package/dist/webcomponents/p-06888c2e.entry.js +1 -0
  243. package/dist/webcomponents/{p-adc96df1.entry.js → p-07b326d0.entry.js} +1 -1
  244. package/dist/webcomponents/p-0811bc77.entry.js +1 -0
  245. package/dist/webcomponents/p-17d72f4a.js +1 -0
  246. package/dist/webcomponents/{p-babd292f.entry.js → p-17f64853.entry.js} +1 -1
  247. package/dist/webcomponents/{p-97c42345.entry.js → p-1bfadb9f.entry.js} +1 -1
  248. package/dist/webcomponents/p-22085999.entry.js +1 -0
  249. package/dist/webcomponents/{p-531844f6.entry.js → p-252835df.entry.js} +1 -1
  250. package/dist/webcomponents/{p-34f9fe6b.js → p-28b38699.js} +1 -1
  251. package/dist/webcomponents/{p-baafa7f5.js → p-34352d04.js} +1 -1
  252. package/dist/webcomponents/{p-79f99d62.entry.js → p-374c44e6.entry.js} +1 -1
  253. package/dist/webcomponents/{p-1bac1674.entry.js → p-4697ccfa.entry.js} +1 -1
  254. package/dist/webcomponents/p-4781cd06.js +1 -0
  255. package/dist/webcomponents/{p-dc05b5c5.entry.js → p-4d50d08a.entry.js} +1 -1
  256. package/dist/webcomponents/p-4d806131.entry.js +1 -0
  257. package/dist/webcomponents/{p-09b94d22.entry.js → p-4df6174c.entry.js} +1 -1
  258. package/dist/webcomponents/p-4e0b3206.entry.js +1 -0
  259. package/dist/webcomponents/p-583dd5a2.entry.js +1 -0
  260. package/dist/webcomponents/{p-c032b216.entry.js → p-5be4e217.entry.js} +1 -1
  261. package/dist/webcomponents/{p-018b71f5.entry.js → p-5da4fbe7.entry.js} +1 -1
  262. package/dist/webcomponents/{p-796cf44f.entry.js → p-6103c20d.entry.js} +1 -1
  263. package/dist/webcomponents/{p-bb037696.js → p-65510838.js} +1 -1
  264. package/dist/webcomponents/p-688bb5da.js +2 -0
  265. package/dist/webcomponents/{p-92a55427.entry.js → p-6b51cf97.entry.js} +1 -1
  266. package/dist/webcomponents/{p-72d1ad98.entry.js → p-7654c70d.entry.js} +1 -1
  267. package/dist/webcomponents/{p-f64a85cf.entry.js → p-847441ce.entry.js} +1 -1
  268. package/dist/webcomponents/p-861ba3fc.entry.js +1 -0
  269. package/dist/webcomponents/p-9207ccb2.entry.js +1 -0
  270. package/dist/webcomponents/p-975ab96e.js +1 -0
  271. package/dist/webcomponents/p-9ce8d98c.entry.js +1 -0
  272. package/dist/webcomponents/p-9e4b81ad.entry.js +1 -0
  273. package/dist/webcomponents/p-a141c531.js +1 -0
  274. package/dist/webcomponents/{p-e536a4c1.entry.js → p-a2dbe90f.entry.js} +1 -1
  275. package/dist/webcomponents/{p-591e29bf.entry.js → p-a46174e0.entry.js} +1 -1
  276. package/dist/webcomponents/{p-c8d51336.entry.js → p-a98eea84.entry.js} +1 -1
  277. package/dist/webcomponents/{p-bb7f6095.entry.js → p-b1bc23af.entry.js} +1 -1
  278. package/dist/webcomponents/{p-ec358d69.entry.js → p-b27c9b0d.entry.js} +1 -1
  279. package/dist/webcomponents/{p-7cd06ada.entry.js → p-b68f1dd9.entry.js} +1 -1
  280. package/dist/webcomponents/p-b8f22856.js +1 -0
  281. package/dist/webcomponents/{p-1cbdca15.entry.js → p-c8d62072.entry.js} +1 -1
  282. package/dist/webcomponents/{p-c2c3d5d1.entry.js → p-da34bba7.entry.js} +1 -1
  283. package/dist/webcomponents/{p-3134ab82.entry.js → p-e3748ea4.entry.js} +1 -1
  284. package/dist/webcomponents/{p-99a8b7d0.entry.js → p-e924f2e1.entry.js} +1 -1
  285. package/dist/webcomponents/{p-9c310f5c.entry.js → p-ebf7c70f.entry.js} +1 -1
  286. package/dist/webcomponents/{p-41031759.entry.js → p-eef5ed19.entry.js} +1 -1
  287. package/dist/webcomponents/{p-8f895ec3.entry.js → p-efc7025c.entry.js} +1 -1
  288. package/dist/webcomponents/p-f3453ca2.js +1 -0
  289. package/dist/webcomponents/{p-f55ac955.entry.js → p-f3ca6fda.entry.js} +1 -1
  290. package/dist/webcomponents/{p-9a63eec9.entry.js → p-fb49ef28.entry.js} +1 -1
  291. package/dist/webcomponents/{p-9e3771b7.entry.js → p-fe2af0cf.entry.js} +1 -1
  292. package/dist/webcomponents/{p-41490d96.entry.js → p-fe8a94c1.entry.js} +1 -1
  293. package/dist/webcomponents/webcomponents.esm.js +1 -1
  294. package/package.json +1 -1
  295. package/dist/cjs/BusinessFormEventTypes-62990815.js +0 -42
  296. package/dist/cjs/business-form-schema-37e5381d.js +0 -148
  297. package/dist/collection/components/business-form/BusinessFormEventTypes.js +0 -6
  298. package/dist/collection/components/business-form/business-address/business-address-form-schema.js +0 -13
  299. package/dist/collection/components/business-form/business-form-schema.js +0 -159
  300. package/dist/collection/components/business-form/business-form-stepped.js +0 -260
  301. package/dist/collection/components/business-form/business-generic-info/business-generic-info.js +0 -77
  302. package/dist/collection/components/business-form/business-representative/business-representative-schema.js +0 -1
  303. package/dist/collection/components/business-form/helpers.js +0 -23
  304. package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js +0 -10
  305. package/dist/esm/BusinessFormEventTypes-182e20be.js +0 -39
  306. package/dist/esm/business-form-schema-f8f554d1.js +0 -144
  307. package/dist/module/BusinessFormEventTypes.js +0 -39
  308. package/dist/module/business-generic-info.js +0 -210
  309. package/dist/module/justifi-business-generic-info.d.ts +0 -11
  310. package/dist/module/justifi-business-generic-info.js +0 -6
  311. package/dist/types/components/business-form/BusinessFormEventTypes.d.ts +0 -5
  312. package/dist/types/components/business-form/business-form-stepped.d.ts +0 -48
  313. package/dist/types/components/business-form/business-representative/business-representative-schema.d.ts +0 -17
  314. package/dist/types/components/business-form/helpers.d.ts +0 -1
  315. package/dist/types/components/business-form/legal-address-form/legal-address-form-schema.d.ts +0 -17
  316. package/dist/webcomponents/p-1b04d091.entry.js +0 -1
  317. package/dist/webcomponents/p-44b88365.entry.js +0 -1
  318. package/dist/webcomponents/p-4ed3a9f5.entry.js +0 -1
  319. package/dist/webcomponents/p-51b0bf2a.entry.js +0 -1
  320. package/dist/webcomponents/p-5d5d7550.entry.js +0 -1
  321. package/dist/webcomponents/p-5ea274b8.js +0 -1
  322. package/dist/webcomponents/p-5f785ede.entry.js +0 -1
  323. package/dist/webcomponents/p-6d05174c.js +0 -2
  324. package/dist/webcomponents/p-a81229a5.entry.js +0 -1
  325. package/dist/webcomponents/p-b8a8b551.js +0 -1
  326. /package/dist/collection/components/{business-form → business-forms/business-form}/business-address/test/business-address.e2e.js +0 -0
  327. /package/dist/collection/components/{business-form → business-forms/business-form}/business-address/test/business-address.spec.js +0 -0
  328. /package/dist/collection/components/{business-form → business-forms/business-form}/business-form.css +0 -0
  329. /package/dist/collection/components/{business-form → business-forms/business-form}/test/business-form.spec.js +0 -0
  330. /package/dist/collection/components/{business-form/business-address/business-address-form.css → business-forms/business-form-stepped/business-address/business-address-form-step.css} +0 -0
  331. /package/dist/collection/components/{business-form/business-generic-info/business-generic-info.css → business-forms/business-form-stepped/business-core-info/business-core-info-form-step.css} +0 -0
  332. /package/dist/collection/components/{business-form/business-owners/business-owners.css → business-forms/business-form-stepped/business-owners/business-owners-form-step.css} +0 -0
  333. /package/dist/collection/components/{business-form/business-representative/business-representative.css → business-forms/business-form-stepped/business-representative/business-representative-form-step.css} +0 -0
  334. /package/dist/collection/components/{business-form/legal-address-form/legal-address-form.css → business-forms/business-form-stepped/legal-address-form/legal-address-form-step.css} +0 -0
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-04-08T20:31:23",
2
+ "timestamp": "2024-04-09T18:28:17",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.10.0",
@@ -350,7 +350,9 @@
350
350
  ],
351
351
  "dependents": [
352
352
  "justifi-business-owners",
353
- "justifi-business-representative"
353
+ "justifi-business-representative",
354
+ "justifi-business-representative-form-step",
355
+ "justifi-owner-form"
354
356
  ],
355
357
  "dependencies": [],
356
358
  "dependencyGraph": {
@@ -359,6 +361,12 @@
359
361
  ],
360
362
  "justifi-business-representative": [
361
363
  "form-control-datepart"
364
+ ],
365
+ "justifi-business-representative-form-step": [
366
+ "form-control-datepart"
367
+ ],
368
+ "justifi-owner-form": [
369
+ "form-control-datepart"
362
370
  ]
363
371
  }
364
372
  },
@@ -518,6 +526,7 @@
518
526
  ],
519
527
  "dependents": [
520
528
  "justifi-additional-questions",
529
+ "justifi-additional-questions-form-step",
521
530
  "justifi-refund-form"
522
531
  ],
523
532
  "dependencies": [],
@@ -525,6 +534,9 @@
525
534
  "justifi-additional-questions": [
526
535
  "form-control-monetary"
527
536
  ],
537
+ "justifi-additional-questions-form-step": [
538
+ "form-control-monetary"
539
+ ],
528
540
  "justifi-refund-form": [
529
541
  "form-control-monetary"
530
542
  ]
@@ -707,23 +719,39 @@
707
719
  ],
708
720
  "dependents": [
709
721
  "justifi-business-address-form",
722
+ "justifi-business-address-form-step",
710
723
  "justifi-business-owners",
711
724
  "justifi-business-representative",
712
- "justifi-legal-address-form"
725
+ "justifi-business-representative-form-step",
726
+ "justifi-legal-address-form",
727
+ "justifi-legal-address-form-step",
728
+ "justifi-owner-form"
713
729
  ],
714
730
  "dependencies": [],
715
731
  "dependencyGraph": {
716
732
  "justifi-business-address-form": [
717
733
  "form-control-number"
718
734
  ],
735
+ "justifi-business-address-form-step": [
736
+ "form-control-number"
737
+ ],
719
738
  "justifi-business-owners": [
720
739
  "form-control-number"
721
740
  ],
722
741
  "justifi-business-representative": [
723
742
  "form-control-number"
724
743
  ],
744
+ "justifi-business-representative-form-step": [
745
+ "form-control-number"
746
+ ],
725
747
  "justifi-legal-address-form": [
726
748
  "form-control-number"
749
+ ],
750
+ "justifi-legal-address-form-step": [
751
+ "form-control-number"
752
+ ],
753
+ "justifi-owner-form": [
754
+ "form-control-number"
727
755
  ]
728
756
  }
729
757
  },
@@ -924,13 +952,19 @@
924
952
  }
925
953
  ],
926
954
  "dependents": [
927
- "justifi-business-generic-info",
955
+ "justifi-business-core-info",
956
+ "justifi-business-core-info-form-step",
928
957
  "justifi-business-owners",
929
- "justifi-business-representative"
958
+ "justifi-business-representative",
959
+ "justifi-business-representative-form-step",
960
+ "justifi-owner-form"
930
961
  ],
931
962
  "dependencies": [],
932
963
  "dependencyGraph": {
933
- "justifi-business-generic-info": [
964
+ "justifi-business-core-info": [
965
+ "form-control-number-masked"
966
+ ],
967
+ "justifi-business-core-info-form-step": [
934
968
  "form-control-number-masked"
935
969
  ],
936
970
  "justifi-business-owners": [
@@ -938,6 +972,12 @@
938
972
  ],
939
973
  "justifi-business-representative": [
940
974
  "form-control-number-masked"
975
+ ],
976
+ "justifi-business-representative-form-step": [
977
+ "form-control-number-masked"
978
+ ],
979
+ "justifi-owner-form": [
980
+ "form-control-number-masked"
941
981
  ]
942
982
  }
943
983
  },
@@ -1138,23 +1178,43 @@
1138
1178
  ],
1139
1179
  "dependents": [
1140
1180
  "justifi-business-address-form",
1141
- "justifi-business-generic-info",
1181
+ "justifi-business-address-form-step",
1182
+ "justifi-business-core-info",
1183
+ "justifi-business-core-info-form-step",
1142
1184
  "justifi-business-representative",
1143
- "justifi-legal-address-form"
1185
+ "justifi-business-representative-form-step",
1186
+ "justifi-legal-address-form",
1187
+ "justifi-legal-address-form-step",
1188
+ "justifi-owner-form"
1144
1189
  ],
1145
1190
  "dependencies": [],
1146
1191
  "dependencyGraph": {
1147
1192
  "justifi-business-address-form": [
1148
1193
  "form-control-select"
1149
1194
  ],
1150
- "justifi-business-generic-info": [
1195
+ "justifi-business-address-form-step": [
1196
+ "form-control-select"
1197
+ ],
1198
+ "justifi-business-core-info": [
1199
+ "form-control-select"
1200
+ ],
1201
+ "justifi-business-core-info-form-step": [
1151
1202
  "form-control-select"
1152
1203
  ],
1153
1204
  "justifi-business-representative": [
1154
1205
  "form-control-select"
1155
1206
  ],
1207
+ "justifi-business-representative-form-step": [
1208
+ "form-control-select"
1209
+ ],
1156
1210
  "justifi-legal-address-form": [
1157
1211
  "form-control-select"
1212
+ ],
1213
+ "justifi-legal-address-form-step": [
1214
+ "form-control-select"
1215
+ ],
1216
+ "justifi-owner-form": [
1217
+ "form-control-select"
1158
1218
  ]
1159
1219
  }
1160
1220
  },
@@ -1335,10 +1395,15 @@
1335
1395
  ],
1336
1396
  "dependents": [
1337
1397
  "justifi-business-address-form",
1338
- "justifi-business-generic-info",
1398
+ "justifi-business-address-form-step",
1399
+ "justifi-business-core-info",
1400
+ "justifi-business-core-info-form-step",
1339
1401
  "justifi-business-owners",
1340
1402
  "justifi-business-representative",
1403
+ "justifi-business-representative-form-step",
1341
1404
  "justifi-legal-address-form",
1405
+ "justifi-legal-address-form-step",
1406
+ "justifi-owner-form",
1342
1407
  "justifi-refund-form"
1343
1408
  ],
1344
1409
  "dependencies": [],
@@ -1346,7 +1411,13 @@
1346
1411
  "justifi-business-address-form": [
1347
1412
  "form-control-text"
1348
1413
  ],
1349
- "justifi-business-generic-info": [
1414
+ "justifi-business-address-form-step": [
1415
+ "form-control-text"
1416
+ ],
1417
+ "justifi-business-core-info": [
1418
+ "form-control-text"
1419
+ ],
1420
+ "justifi-business-core-info-form-step": [
1350
1421
  "form-control-text"
1351
1422
  ],
1352
1423
  "justifi-business-owners": [
@@ -1355,9 +1426,18 @@
1355
1426
  "justifi-business-representative": [
1356
1427
  "form-control-text"
1357
1428
  ],
1429
+ "justifi-business-representative-form-step": [
1430
+ "form-control-text"
1431
+ ],
1358
1432
  "justifi-legal-address-form": [
1359
1433
  "form-control-text"
1360
1434
  ],
1435
+ "justifi-legal-address-form-step": [
1436
+ "form-control-text"
1437
+ ],
1438
+ "justifi-owner-form": [
1439
+ "form-control-text"
1440
+ ],
1361
1441
  "justifi-refund-form": [
1362
1442
  "form-control-text"
1363
1443
  ]
@@ -1467,7 +1547,7 @@
1467
1547
  }
1468
1548
  },
1469
1549
  {
1470
- "filePath": "src/components/business-form/additional-questions/additional-questions.tsx",
1550
+ "filePath": "src/components/business-forms/business-form/additional-questions/additional-questions.tsx",
1471
1551
  "encapsulation": "none",
1472
1552
  "tag": "justifi-additional-questions",
1473
1553
  "readme": "# justifi-additional-questions\n\n\n",
@@ -1497,7 +1577,7 @@
1497
1577
  "references": {
1498
1578
  "FormController": {
1499
1579
  "location": "import",
1500
- "path": "../../form/form",
1580
+ "path": "../../../form/form",
1501
1581
  "id": "src/components/form/form.ts::FormController"
1502
1582
  }
1503
1583
  }
@@ -1522,8 +1602,7 @@
1522
1602
  "slots": [],
1523
1603
  "parts": [],
1524
1604
  "dependents": [
1525
- "justifi-business-form",
1526
- "justifi-business-form-stepped"
1605
+ "justifi-business-form"
1527
1606
  ],
1528
1607
  "dependencies": [
1529
1608
  "form-control-monetary"
@@ -1534,9 +1613,182 @@
1534
1613
  ],
1535
1614
  "justifi-business-form": [
1536
1615
  "justifi-additional-questions"
1616
+ ]
1617
+ }
1618
+ },
1619
+ {
1620
+ "filePath": "src/components/business-forms/business-form-stepped/additional-questions/business-additional-questions-form-step.tsx",
1621
+ "encapsulation": "none",
1622
+ "tag": "justifi-additional-questions-form-step",
1623
+ "readme": "# justifi-additional-questions\n\n\n",
1624
+ "docs": "",
1625
+ "docsTags": [
1626
+ {
1627
+ "name": "exportedPart",
1628
+ "text": "label: Label for inputs"
1629
+ },
1630
+ {
1631
+ "name": "exportedPart",
1632
+ "text": "input: The input fields"
1633
+ },
1634
+ {
1635
+ "name": "exportedPart",
1636
+ "text": "input-invalid: Invalid state for inputfs"
1637
+ }
1638
+ ],
1639
+ "usage": {},
1640
+ "props": [
1641
+ {
1642
+ "name": "authToken",
1643
+ "type": "string",
1644
+ "complexType": {
1645
+ "original": "string",
1646
+ "resolved": "string",
1647
+ "references": {}
1648
+ },
1649
+ "mutable": false,
1650
+ "attr": "auth-token",
1651
+ "reflectToAttr": false,
1652
+ "docs": "",
1653
+ "docsTags": [],
1654
+ "values": [
1655
+ {
1656
+ "type": "string"
1657
+ }
1658
+ ],
1659
+ "optional": false,
1660
+ "required": false
1661
+ },
1662
+ {
1663
+ "name": "businessId",
1664
+ "type": "string",
1665
+ "complexType": {
1666
+ "original": "string",
1667
+ "resolved": "string",
1668
+ "references": {}
1669
+ },
1670
+ "mutable": false,
1671
+ "attr": "business-id",
1672
+ "reflectToAttr": false,
1673
+ "docs": "",
1674
+ "docsTags": [],
1675
+ "values": [
1676
+ {
1677
+ "type": "string"
1678
+ }
1679
+ ],
1680
+ "optional": false,
1681
+ "required": false
1682
+ }
1683
+ ],
1684
+ "methods": [
1685
+ {
1686
+ "name": "validateAndSubmit",
1687
+ "returns": {
1688
+ "type": "Promise<void>",
1689
+ "docs": ""
1690
+ },
1691
+ "complexType": {
1692
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
1693
+ "parameters": [
1694
+ {
1695
+ "name": "__0",
1696
+ "type": "{ onSuccess: any; }",
1697
+ "docs": ""
1698
+ }
1699
+ ],
1700
+ "references": {
1701
+ "Promise": {
1702
+ "location": "global",
1703
+ "id": "global::Promise"
1704
+ }
1705
+ },
1706
+ "return": "Promise<void>"
1707
+ },
1708
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
1709
+ "parameters": [
1710
+ {
1711
+ "name": "__0",
1712
+ "type": "{ onSuccess: any; }",
1713
+ "docs": ""
1714
+ }
1715
+ ],
1716
+ "docs": "",
1717
+ "docsTags": []
1718
+ }
1719
+ ],
1720
+ "events": [
1721
+ {
1722
+ "event": "formLoading",
1723
+ "detail": "boolean",
1724
+ "bubbles": true,
1725
+ "complexType": {
1726
+ "original": "boolean",
1727
+ "resolved": "boolean",
1728
+ "references": {}
1729
+ },
1730
+ "cancelable": true,
1731
+ "composed": true,
1732
+ "docs": "",
1733
+ "docsTags": []
1734
+ },
1735
+ {
1736
+ "event": "serverError",
1737
+ "detail": "BusinessFormServerErrorEvent",
1738
+ "bubbles": true,
1739
+ "complexType": {
1740
+ "original": "BusinessFormServerErrorEvent",
1741
+ "resolved": "BusinessFormServerErrorEvent",
1742
+ "references": {
1743
+ "BusinessFormServerErrorEvent": {
1744
+ "location": "import",
1745
+ "path": "../../utils/business-form-types",
1746
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
1747
+ }
1748
+ }
1749
+ },
1750
+ "cancelable": true,
1751
+ "composed": true,
1752
+ "docs": "",
1753
+ "docsTags": []
1754
+ },
1755
+ {
1756
+ "event": "submitted",
1757
+ "detail": "BusinessFormSubmitEvent",
1758
+ "bubbles": true,
1759
+ "complexType": {
1760
+ "original": "BusinessFormSubmitEvent",
1761
+ "resolved": "BusinessFormSubmitEvent",
1762
+ "references": {
1763
+ "BusinessFormSubmitEvent": {
1764
+ "location": "import",
1765
+ "path": "../../utils/business-form-types",
1766
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
1767
+ }
1768
+ }
1769
+ },
1770
+ "cancelable": true,
1771
+ "composed": true,
1772
+ "docs": "",
1773
+ "docsTags": []
1774
+ }
1775
+ ],
1776
+ "listeners": [],
1777
+ "styles": [],
1778
+ "slots": [],
1779
+ "parts": [],
1780
+ "dependents": [
1781
+ "justifi-business-form-stepped"
1782
+ ],
1783
+ "dependencies": [
1784
+ "form-control-monetary"
1785
+ ],
1786
+ "dependencyGraph": {
1787
+ "justifi-additional-questions-form-step": [
1788
+ "form-control-monetary"
1537
1789
  ],
1538
1790
  "justifi-business-form-stepped": [
1539
- "justifi-additional-questions"
1791
+ "justifi-additional-questions-form-step"
1540
1792
  ]
1541
1793
  }
1542
1794
  },
@@ -1999,7 +2251,7 @@
1999
2251
  }
2000
2252
  },
2001
2253
  {
2002
- "filePath": "src/components/business-form/business-address/business-address-form.tsx",
2254
+ "filePath": "src/components/business-forms/business-form/business-address/business-address-form.tsx",
2003
2255
  "encapsulation": "shadow",
2004
2256
  "tag": "justifi-business-address-form",
2005
2257
  "readme": "# justifi-business-address\n\n\n",
@@ -2050,7 +2302,7 @@
2050
2302
  "required": false
2051
2303
  },
2052
2304
  {
2053
- "name": "onFormUpdate",
2305
+ "name": "handleFormUpdate",
2054
2306
  "type": "(values: any) => void",
2055
2307
  "complexType": {
2056
2308
  "original": "(values: any) => void",
@@ -2077,7 +2329,9 @@
2077
2329
  "slots": [],
2078
2330
  "parts": [],
2079
2331
  "dependents": [
2080
- "justifi-business-representative"
2332
+ "justifi-business-representative",
2333
+ "justifi-business-representative-form-step",
2334
+ "justifi-owner-form"
2081
2335
  ],
2082
2336
  "dependencies": [
2083
2337
  "form-control-text",
@@ -2092,83 +2346,88 @@
2092
2346
  ],
2093
2347
  "justifi-business-representative": [
2094
2348
  "justifi-business-address-form"
2349
+ ],
2350
+ "justifi-business-representative-form-step": [
2351
+ "justifi-business-address-form"
2352
+ ],
2353
+ "justifi-owner-form": [
2354
+ "justifi-business-address-form"
2095
2355
  ]
2096
2356
  }
2097
2357
  },
2098
2358
  {
2099
- "filePath": "src/components/business-details/business-details.tsx",
2359
+ "filePath": "src/components/business-forms/business-form-stepped/business-address/business-address-form-step.tsx",
2100
2360
  "encapsulation": "shadow",
2101
- "tag": "justifi-business-details",
2102
- "readme": "# justifi-business-details\n\n\n",
2361
+ "tag": "justifi-business-address-form-step",
2362
+ "readme": "# justifi-business-address\n\n\n",
2103
2363
  "docs": "",
2104
- "docsTags": [
2105
- {
2106
- "name": "exportedPart",
2107
- "text": "detail-section"
2108
- },
2109
- {
2110
- "name": "exportedPart",
2111
- "text": "detail-section-title"
2112
- },
2113
- {
2114
- "name": "exportedPart",
2115
- "text": "detail-section-item-title"
2116
- },
2117
- {
2118
- "name": "exportedPart",
2119
- "text": "detail-section-item-data"
2120
- },
2121
- {
2122
- "name": "exportedPart",
2123
- "text": "detail-empty-state"
2124
- }
2125
- ],
2364
+ "docsTags": [],
2126
2365
  "usage": {},
2127
2366
  "props": [
2128
2367
  {
2129
- "name": "authToken",
2130
- "type": "string",
2368
+ "name": "defaultValues",
2369
+ "type": "any",
2131
2370
  "complexType": {
2132
- "original": "string",
2133
- "resolved": "string",
2371
+ "original": "any",
2372
+ "resolved": "any",
2134
2373
  "references": {}
2135
2374
  },
2136
2375
  "mutable": false,
2137
- "attr": "auth-token",
2376
+ "attr": "default-values",
2138
2377
  "reflectToAttr": false,
2139
2378
  "docs": "",
2140
2379
  "docsTags": [],
2141
2380
  "values": [
2142
2381
  {
2143
- "type": "string"
2382
+ "type": "any"
2144
2383
  }
2145
2384
  ],
2146
2385
  "optional": false,
2147
2386
  "required": false
2148
2387
  },
2149
2388
  {
2150
- "name": "businessId",
2151
- "type": "string",
2389
+ "name": "errors",
2390
+ "type": "any",
2152
2391
  "complexType": {
2153
- "original": "string",
2154
- "resolved": "string",
2392
+ "original": "any",
2393
+ "resolved": "any",
2155
2394
  "references": {}
2156
2395
  },
2157
2396
  "mutable": false,
2158
- "attr": "business-id",
2397
+ "attr": "errors",
2159
2398
  "reflectToAttr": false,
2160
2399
  "docs": "",
2161
2400
  "docsTags": [],
2162
2401
  "values": [
2163
2402
  {
2164
- "type": "string"
2403
+ "type": "any"
2165
2404
  }
2166
2405
  ],
2167
2406
  "optional": false,
2168
2407
  "required": false
2169
- }
2170
- ],
2171
- "methods": [],
2408
+ },
2409
+ {
2410
+ "name": "handleFormUpdate",
2411
+ "type": "(values: any) => void",
2412
+ "complexType": {
2413
+ "original": "(values: any) => void",
2414
+ "resolved": "(values: any) => void",
2415
+ "references": {}
2416
+ },
2417
+ "mutable": false,
2418
+ "reflectToAttr": false,
2419
+ "docs": "",
2420
+ "docsTags": [],
2421
+ "values": [
2422
+ {
2423
+ "type": "(values: any) => void"
2424
+ }
2425
+ ],
2426
+ "optional": false,
2427
+ "required": false
2428
+ }
2429
+ ],
2430
+ "methods": [],
2172
2431
  "events": [],
2173
2432
  "listeners": [],
2174
2433
  "styles": [],
@@ -2176,27 +2435,98 @@
2176
2435
  "parts": [],
2177
2436
  "dependents": [],
2178
2437
  "dependencies": [
2179
- "business-details-core"
2438
+ "form-control-text",
2439
+ "form-control-select",
2440
+ "form-control-number"
2180
2441
  ],
2181
2442
  "dependencyGraph": {
2182
- "justifi-business-details": [
2183
- "business-details-core"
2443
+ "justifi-business-address-form-step": [
2444
+ "form-control-text",
2445
+ "form-control-select",
2446
+ "form-control-number"
2447
+ ]
2448
+ }
2449
+ },
2450
+ {
2451
+ "filePath": "src/components/business-forms/business-form/business-core-info/business-core-info.tsx",
2452
+ "encapsulation": "none",
2453
+ "tag": "justifi-business-core-info",
2454
+ "readme": "# justifi-business-generic-info-form\n\n\n",
2455
+ "docs": "\nThe difference between this component and business-core-info-details\nis that this component is meant to be a form and send data\nand the other one is meant to be just read only.",
2456
+ "docsTags": [
2457
+ {
2458
+ "name": "exportedPart",
2459
+ "text": "label: Label for inputs"
2460
+ },
2461
+ {
2462
+ "name": "exportedPart",
2463
+ "text": "input: The input fields"
2464
+ },
2465
+ {
2466
+ "name": "exportedPart",
2467
+ "text": "input-invalid: Invalid state for inputfs"
2468
+ }
2469
+ ],
2470
+ "usage": {},
2471
+ "props": [
2472
+ {
2473
+ "name": "formController",
2474
+ "type": "FormController",
2475
+ "complexType": {
2476
+ "original": "FormController",
2477
+ "resolved": "FormController",
2478
+ "references": {
2479
+ "FormController": {
2480
+ "location": "import",
2481
+ "path": "../../../form/form",
2482
+ "id": "src/components/form/form.ts::FormController"
2483
+ }
2484
+ }
2485
+ },
2486
+ "mutable": false,
2487
+ "reflectToAttr": false,
2488
+ "docs": "",
2489
+ "docsTags": [],
2490
+ "values": [
2491
+ {
2492
+ "type": "FormController"
2493
+ }
2494
+ ],
2495
+ "optional": false,
2496
+ "required": false
2497
+ }
2498
+ ],
2499
+ "methods": [],
2500
+ "events": [],
2501
+ "listeners": [],
2502
+ "styles": [],
2503
+ "slots": [],
2504
+ "parts": [],
2505
+ "dependents": [
2506
+ "justifi-business-form"
2507
+ ],
2508
+ "dependencies": [
2509
+ "form-control-text",
2510
+ "form-control-select",
2511
+ "form-control-number-masked"
2512
+ ],
2513
+ "dependencyGraph": {
2514
+ "justifi-business-core-info": [
2515
+ "form-control-text",
2516
+ "form-control-select",
2517
+ "form-control-number-masked"
2184
2518
  ],
2185
- "business-details-core": [
2186
- "generic-info-details",
2187
- "legal-address-details",
2188
- "representative-details",
2189
- "owner-details",
2190
- "additional-questions-details"
2519
+ "justifi-business-form": [
2520
+ "justifi-business-core-info"
2191
2521
  ]
2192
2522
  }
2193
2523
  },
2194
2524
  {
2195
- "filePath": "src/components/business-form/business-form.tsx",
2525
+ "filePath": "src/components/business-forms/business-form-stepped/business-core-info/business-core-info-form-step.tsx",
2196
2526
  "encapsulation": "none",
2197
- "tag": "justifi-business-form",
2198
- "readme": "# justifi-business-info\n\n\n",
2199
- "docs": "",
2527
+ "tag": "justifi-business-core-info-form-step",
2528
+ "readme": "# justifi-business-generic-info-form\n\n\n",
2529
+ "docs": "\nThe difference between this component and business-generic-info-details\nis that this component is meant to be a form and send data\nand the other one is meant to be just read only.",
2200
2530
  "docsTags": [
2201
2531
  {
2202
2532
  "name": "exportedPart",
@@ -2254,39 +2584,52 @@
2254
2584
  ],
2255
2585
  "optional": false,
2256
2586
  "required": false
2257
- },
2587
+ }
2588
+ ],
2589
+ "methods": [
2258
2590
  {
2259
- "name": "hideErrors",
2260
- "type": "boolean",
2591
+ "name": "validateAndSubmit",
2592
+ "returns": {
2593
+ "type": "Promise<void>",
2594
+ "docs": ""
2595
+ },
2261
2596
  "complexType": {
2262
- "original": "boolean",
2263
- "resolved": "boolean",
2264
- "references": {}
2597
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
2598
+ "parameters": [
2599
+ {
2600
+ "name": "__0",
2601
+ "type": "{ onSuccess: any; }",
2602
+ "docs": ""
2603
+ }
2604
+ ],
2605
+ "references": {
2606
+ "Promise": {
2607
+ "location": "global",
2608
+ "id": "global::Promise"
2609
+ }
2610
+ },
2611
+ "return": "Promise<void>"
2265
2612
  },
2266
- "mutable": false,
2267
- "attr": "hide-errors",
2268
- "reflectToAttr": false,
2269
- "docs": "",
2270
- "docsTags": [],
2271
- "default": "false",
2272
- "values": [
2613
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
2614
+ "parameters": [
2273
2615
  {
2274
- "type": "boolean"
2616
+ "name": "__0",
2617
+ "type": "{ onSuccess: any; }",
2618
+ "docs": ""
2275
2619
  }
2276
2620
  ],
2277
- "optional": true,
2278
- "required": false
2621
+ "docs": "",
2622
+ "docsTags": []
2279
2623
  }
2280
2624
  ],
2281
- "methods": [],
2282
2625
  "events": [
2283
2626
  {
2284
- "event": "clickEvent",
2285
- "detail": "{ data?: any; name: string; }",
2627
+ "event": "formLoading",
2628
+ "detail": "boolean",
2286
2629
  "bubbles": true,
2287
2630
  "complexType": {
2288
- "original": "{ data?: any, name: string }",
2289
- "resolved": "{ data?: any; name: string; }",
2631
+ "original": "boolean",
2632
+ "resolved": "boolean",
2290
2633
  "references": {}
2291
2634
  },
2292
2635
  "cancelable": true,
@@ -2294,14 +2637,40 @@
2294
2637
  "docs": "",
2295
2638
  "docsTags": []
2296
2639
  },
2640
+ {
2641
+ "event": "serverError",
2642
+ "detail": "BusinessFormServerErrorEvent",
2643
+ "bubbles": true,
2644
+ "complexType": {
2645
+ "original": "BusinessFormServerErrorEvent",
2646
+ "resolved": "BusinessFormServerErrorEvent",
2647
+ "references": {
2648
+ "BusinessFormServerErrorEvent": {
2649
+ "location": "import",
2650
+ "path": "../../utils/business-form-types",
2651
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
2652
+ }
2653
+ }
2654
+ },
2655
+ "cancelable": true,
2656
+ "composed": true,
2657
+ "docs": "",
2658
+ "docsTags": []
2659
+ },
2297
2660
  {
2298
2661
  "event": "submitted",
2299
- "detail": "{ data: any; }",
2662
+ "detail": "BusinessFormSubmitEvent",
2300
2663
  "bubbles": true,
2301
2664
  "complexType": {
2302
- "original": "{ data: any }",
2303
- "resolved": "{ data: any; }",
2304
- "references": {}
2665
+ "original": "BusinessFormSubmitEvent",
2666
+ "resolved": "BusinessFormSubmitEvent",
2667
+ "references": {
2668
+ "BusinessFormSubmitEvent": {
2669
+ "location": "import",
2670
+ "path": "../../utils/business-form-types",
2671
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
2672
+ }
2673
+ }
2305
2674
  },
2306
2675
  "cancelable": true,
2307
2676
  "composed": true,
@@ -2313,66 +2682,51 @@
2313
2682
  "styles": [],
2314
2683
  "slots": [],
2315
2684
  "parts": [],
2316
- "dependents": [],
2685
+ "dependents": [
2686
+ "justifi-business-form-stepped"
2687
+ ],
2317
2688
  "dependencies": [
2318
- "justifi-business-generic-info",
2319
- "justifi-legal-address-form",
2320
- "justifi-additional-questions",
2321
- "justifi-business-representative"
2689
+ "form-control-text",
2690
+ "form-control-select",
2691
+ "form-control-number-masked"
2322
2692
  ],
2323
2693
  "dependencyGraph": {
2324
- "justifi-business-form": [
2325
- "justifi-business-generic-info",
2326
- "justifi-legal-address-form",
2327
- "justifi-additional-questions",
2328
- "justifi-business-representative"
2329
- ],
2330
- "justifi-business-generic-info": [
2694
+ "justifi-business-core-info-form-step": [
2331
2695
  "form-control-text",
2332
2696
  "form-control-select",
2333
2697
  "form-control-number-masked"
2334
2698
  ],
2335
- "justifi-legal-address-form": [
2336
- "form-control-text",
2337
- "form-control-number",
2338
- "form-control-select"
2339
- ],
2340
- "justifi-additional-questions": [
2341
- "form-control-monetary"
2342
- ],
2343
- "justifi-business-representative": [
2344
- "form-control-text",
2345
- "form-control-select",
2346
- "form-control-number-masked",
2347
- "form-control-datepart",
2348
- "form-control-number",
2349
- "justifi-business-address-form"
2350
- ],
2351
- "justifi-business-address-form": [
2352
- "form-control-text",
2353
- "form-control-select",
2354
- "form-control-number"
2699
+ "justifi-business-form-stepped": [
2700
+ "justifi-business-core-info-form-step"
2355
2701
  ]
2356
2702
  }
2357
2703
  },
2358
2704
  {
2359
- "filePath": "src/components/business-form/business-form-stepped.tsx",
2360
- "encapsulation": "none",
2361
- "tag": "justifi-business-form-stepped",
2362
- "readme": "# justifi-business-info\n\n\n",
2705
+ "filePath": "src/components/business-details/business-details.tsx",
2706
+ "encapsulation": "shadow",
2707
+ "tag": "justifi-business-details",
2708
+ "readme": "# justifi-business-details\n\n\n",
2363
2709
  "docs": "",
2364
2710
  "docsTags": [
2365
2711
  {
2366
2712
  "name": "exportedPart",
2367
- "text": "label: Label for inputs"
2713
+ "text": "detail-section"
2368
2714
  },
2369
2715
  {
2370
2716
  "name": "exportedPart",
2371
- "text": "input: The input fields"
2717
+ "text": "detail-section-title"
2372
2718
  },
2373
2719
  {
2374
2720
  "name": "exportedPart",
2375
- "text": "input-invalid: Invalid state for inputfs"
2721
+ "text": "detail-section-item-title"
2722
+ },
2723
+ {
2724
+ "name": "exportedPart",
2725
+ "text": "detail-section-item-data"
2726
+ },
2727
+ {
2728
+ "name": "exportedPart",
2729
+ "text": "detail-empty-state"
2376
2730
  }
2377
2731
  ],
2378
2732
  "usage": {},
@@ -2418,39 +2772,105 @@
2418
2772
  ],
2419
2773
  "optional": false,
2420
2774
  "required": false
2421
- },
2422
- {
2423
- "name": "hideErrors",
2424
- "type": "boolean",
2425
- "complexType": {
2426
- "original": "boolean",
2427
- "resolved": "boolean",
2428
- "references": {}
2429
- },
2430
- "mutable": false,
2431
- "attr": "hide-errors",
2432
- "reflectToAttr": false,
2433
- "docs": "",
2434
- "docsTags": [],
2435
- "default": "false",
2436
- "values": [
2437
- {
2438
- "type": "boolean"
2439
- }
2440
- ],
2441
- "optional": true,
2442
- "required": false
2443
- },
2444
- {
2445
- "name": "testMode",
2446
- "type": "boolean",
2447
- "complexType": {
2775
+ }
2776
+ ],
2777
+ "methods": [],
2778
+ "events": [],
2779
+ "listeners": [],
2780
+ "styles": [],
2781
+ "slots": [],
2782
+ "parts": [],
2783
+ "dependents": [],
2784
+ "dependencies": [
2785
+ "business-details-core"
2786
+ ],
2787
+ "dependencyGraph": {
2788
+ "justifi-business-details": [
2789
+ "business-details-core"
2790
+ ],
2791
+ "business-details-core": [
2792
+ "generic-info-details",
2793
+ "legal-address-details",
2794
+ "representative-details",
2795
+ "owner-details",
2796
+ "additional-questions-details"
2797
+ ]
2798
+ }
2799
+ },
2800
+ {
2801
+ "filePath": "src/components/business-forms/business-form/business-form.tsx",
2802
+ "encapsulation": "none",
2803
+ "tag": "justifi-business-form",
2804
+ "readme": "# justifi-business-info\n\n\n",
2805
+ "docs": "",
2806
+ "docsTags": [
2807
+ {
2808
+ "name": "exportedPart",
2809
+ "text": "label: Label for inputs"
2810
+ },
2811
+ {
2812
+ "name": "exportedPart",
2813
+ "text": "input: The input fields"
2814
+ },
2815
+ {
2816
+ "name": "exportedPart",
2817
+ "text": "input-invalid: Invalid state for inputfs"
2818
+ }
2819
+ ],
2820
+ "usage": {},
2821
+ "props": [
2822
+ {
2823
+ "name": "authToken",
2824
+ "type": "string",
2825
+ "complexType": {
2826
+ "original": "string",
2827
+ "resolved": "string",
2828
+ "references": {}
2829
+ },
2830
+ "mutable": false,
2831
+ "attr": "auth-token",
2832
+ "reflectToAttr": false,
2833
+ "docs": "",
2834
+ "docsTags": [],
2835
+ "values": [
2836
+ {
2837
+ "type": "string"
2838
+ }
2839
+ ],
2840
+ "optional": false,
2841
+ "required": false
2842
+ },
2843
+ {
2844
+ "name": "businessId",
2845
+ "type": "string",
2846
+ "complexType": {
2847
+ "original": "string",
2848
+ "resolved": "string",
2849
+ "references": {}
2850
+ },
2851
+ "mutable": false,
2852
+ "attr": "business-id",
2853
+ "reflectToAttr": false,
2854
+ "docs": "",
2855
+ "docsTags": [],
2856
+ "values": [
2857
+ {
2858
+ "type": "string"
2859
+ }
2860
+ ],
2861
+ "optional": false,
2862
+ "required": false
2863
+ },
2864
+ {
2865
+ "name": "hideErrors",
2866
+ "type": "boolean",
2867
+ "complexType": {
2448
2868
  "original": "boolean",
2449
2869
  "resolved": "boolean",
2450
2870
  "references": {}
2451
2871
  },
2452
2872
  "mutable": false,
2453
- "attr": "test-mode",
2873
+ "attr": "hide-errors",
2454
2874
  "reflectToAttr": false,
2455
2875
  "docs": "",
2456
2876
  "docsTags": [],
@@ -2460,7 +2880,7 @@
2460
2880
  "type": "boolean"
2461
2881
  }
2462
2882
  ],
2463
- "optional": false,
2883
+ "optional": true,
2464
2884
  "required": false
2465
2885
  }
2466
2886
  ],
@@ -2468,12 +2888,18 @@
2468
2888
  "events": [
2469
2889
  {
2470
2890
  "event": "clickEvent",
2471
- "detail": "{ data?: any; name: string; }",
2891
+ "detail": "BusinessFormClickEvent",
2472
2892
  "bubbles": true,
2473
2893
  "complexType": {
2474
- "original": "{ data?: any, name: string }",
2475
- "resolved": "{ data?: any; name: string; }",
2476
- "references": {}
2894
+ "original": "BusinessFormClickEvent",
2895
+ "resolved": "BusinessFormClickEvent",
2896
+ "references": {
2897
+ "BusinessFormClickEvent": {
2898
+ "location": "import",
2899
+ "path": "../utils/business-form-types",
2900
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormClickEvent"
2901
+ }
2902
+ }
2477
2903
  },
2478
2904
  "cancelable": true,
2479
2905
  "composed": true,
@@ -2482,12 +2908,18 @@
2482
2908
  },
2483
2909
  {
2484
2910
  "event": "submitted",
2485
- "detail": "{ data: any; }",
2911
+ "detail": "BusinessFormSubmitEvent",
2486
2912
  "bubbles": true,
2487
2913
  "complexType": {
2488
- "original": "{ data: any }",
2489
- "resolved": "{ data: any; }",
2490
- "references": {}
2914
+ "original": "BusinessFormSubmitEvent",
2915
+ "resolved": "BusinessFormSubmitEvent",
2916
+ "references": {
2917
+ "BusinessFormSubmitEvent": {
2918
+ "location": "import",
2919
+ "path": "../utils/business-form-types",
2920
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
2921
+ }
2922
+ }
2491
2923
  },
2492
2924
  "cancelable": true,
2493
2925
  "composed": true,
@@ -2501,19 +2933,19 @@
2501
2933
  "parts": [],
2502
2934
  "dependents": [],
2503
2935
  "dependencies": [
2504
- "justifi-business-generic-info",
2936
+ "justifi-business-core-info",
2505
2937
  "justifi-legal-address-form",
2506
2938
  "justifi-additional-questions",
2507
2939
  "justifi-business-representative"
2508
2940
  ],
2509
2941
  "dependencyGraph": {
2510
- "justifi-business-form-stepped": [
2511
- "justifi-business-generic-info",
2942
+ "justifi-business-form": [
2943
+ "justifi-business-core-info",
2512
2944
  "justifi-legal-address-form",
2513
2945
  "justifi-additional-questions",
2514
2946
  "justifi-business-representative"
2515
2947
  ],
2516
- "justifi-business-generic-info": [
2948
+ "justifi-business-core-info": [
2517
2949
  "form-control-text",
2518
2950
  "form-control-select",
2519
2951
  "form-control-number-masked"
@@ -2542,11 +2974,11 @@
2542
2974
  }
2543
2975
  },
2544
2976
  {
2545
- "filePath": "src/components/business-form/business-generic-info/business-generic-info.tsx",
2977
+ "filePath": "src/components/business-forms/business-form-stepped/business-form-stepped.tsx",
2546
2978
  "encapsulation": "none",
2547
- "tag": "justifi-business-generic-info",
2548
- "readme": "# justifi-business-generic-info-form\n\n\n",
2549
- "docs": "\nThe difference between this component and business-generic-info-details\nis that this component is meant to be a form and send data\nand the other one is meant to be just read only.",
2979
+ "tag": "justifi-business-form-stepped",
2980
+ "readme": "# justifi-business-info\n\n\n",
2981
+ "docs": "",
2550
2982
  "docsTags": [
2551
2983
  {
2552
2984
  "name": "exportedPart",
@@ -2564,26 +2996,86 @@
2564
2996
  "usage": {},
2565
2997
  "props": [
2566
2998
  {
2567
- "name": "formController",
2568
- "type": "FormController",
2999
+ "name": "authToken",
3000
+ "type": "string",
2569
3001
  "complexType": {
2570
- "original": "FormController",
2571
- "resolved": "FormController",
2572
- "references": {
2573
- "FormController": {
2574
- "location": "import",
2575
- "path": "../../form/form",
2576
- "id": "src/components/form/form.ts::FormController"
2577
- }
3002
+ "original": "string",
3003
+ "resolved": "string",
3004
+ "references": {}
3005
+ },
3006
+ "mutable": false,
3007
+ "attr": "auth-token",
3008
+ "reflectToAttr": false,
3009
+ "docs": "",
3010
+ "docsTags": [],
3011
+ "values": [
3012
+ {
3013
+ "type": "string"
2578
3014
  }
3015
+ ],
3016
+ "optional": false,
3017
+ "required": false
3018
+ },
3019
+ {
3020
+ "name": "businessId",
3021
+ "type": "string",
3022
+ "complexType": {
3023
+ "original": "string",
3024
+ "resolved": "string",
3025
+ "references": {}
2579
3026
  },
2580
3027
  "mutable": false,
3028
+ "attr": "business-id",
2581
3029
  "reflectToAttr": false,
2582
3030
  "docs": "",
2583
3031
  "docsTags": [],
2584
3032
  "values": [
2585
3033
  {
2586
- "type": "FormController"
3034
+ "type": "string"
3035
+ }
3036
+ ],
3037
+ "optional": false,
3038
+ "required": false
3039
+ },
3040
+ {
3041
+ "name": "hideErrors",
3042
+ "type": "boolean",
3043
+ "complexType": {
3044
+ "original": "boolean",
3045
+ "resolved": "boolean",
3046
+ "references": {}
3047
+ },
3048
+ "mutable": false,
3049
+ "attr": "hide-errors",
3050
+ "reflectToAttr": false,
3051
+ "docs": "",
3052
+ "docsTags": [],
3053
+ "default": "false",
3054
+ "values": [
3055
+ {
3056
+ "type": "boolean"
3057
+ }
3058
+ ],
3059
+ "optional": true,
3060
+ "required": false
3061
+ },
3062
+ {
3063
+ "name": "testMode",
3064
+ "type": "boolean",
3065
+ "complexType": {
3066
+ "original": "boolean",
3067
+ "resolved": "boolean",
3068
+ "references": {}
3069
+ },
3070
+ "mutable": false,
3071
+ "attr": "test-mode",
3072
+ "reflectToAttr": false,
3073
+ "docs": "",
3074
+ "docsTags": [],
3075
+ "default": "false",
3076
+ "values": [
3077
+ {
3078
+ "type": "boolean"
2587
3079
  }
2588
3080
  ],
2589
3081
  "optional": false,
@@ -2591,31 +3083,84 @@
2591
3083
  }
2592
3084
  ],
2593
3085
  "methods": [],
2594
- "events": [],
3086
+ "events": [
3087
+ {
3088
+ "event": "clickEvent",
3089
+ "detail": "BusinessFormClickEvent",
3090
+ "bubbles": true,
3091
+ "complexType": {
3092
+ "original": "BusinessFormClickEvent",
3093
+ "resolved": "BusinessFormClickEvent",
3094
+ "references": {
3095
+ "BusinessFormClickEvent": {
3096
+ "location": "import",
3097
+ "path": "../utils/business-form-types",
3098
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormClickEvent"
3099
+ }
3100
+ }
3101
+ },
3102
+ "cancelable": true,
3103
+ "composed": true,
3104
+ "docs": "",
3105
+ "docsTags": []
3106
+ }
3107
+ ],
2595
3108
  "listeners": [],
2596
3109
  "styles": [],
2597
3110
  "slots": [],
2598
3111
  "parts": [],
2599
- "dependents": [
2600
- "justifi-business-form",
2601
- "justifi-business-form-stepped"
2602
- ],
3112
+ "dependents": [],
2603
3113
  "dependencies": [
2604
- "form-control-text",
2605
- "form-control-select",
2606
- "form-control-number-masked"
3114
+ "justifi-business-core-info-form-step",
3115
+ "justifi-legal-address-form-step",
3116
+ "justifi-additional-questions-form-step",
3117
+ "justifi-business-representative-form-step",
3118
+ "justifi-business-owners-form-step"
2607
3119
  ],
2608
3120
  "dependencyGraph": {
2609
- "justifi-business-generic-info": [
3121
+ "justifi-business-form-stepped": [
3122
+ "justifi-business-core-info-form-step",
3123
+ "justifi-legal-address-form-step",
3124
+ "justifi-additional-questions-form-step",
3125
+ "justifi-business-representative-form-step",
3126
+ "justifi-business-owners-form-step"
3127
+ ],
3128
+ "justifi-business-core-info-form-step": [
2610
3129
  "form-control-text",
2611
3130
  "form-control-select",
2612
3131
  "form-control-number-masked"
2613
3132
  ],
2614
- "justifi-business-form": [
2615
- "justifi-business-generic-info"
3133
+ "justifi-legal-address-form-step": [
3134
+ "form-control-text",
3135
+ "form-control-number",
3136
+ "form-control-select"
2616
3137
  ],
2617
- "justifi-business-form-stepped": [
2618
- "justifi-business-generic-info"
3138
+ "justifi-additional-questions-form-step": [
3139
+ "form-control-monetary"
3140
+ ],
3141
+ "justifi-business-representative-form-step": [
3142
+ "form-control-text",
3143
+ "form-control-select",
3144
+ "form-control-number-masked",
3145
+ "form-control-datepart",
3146
+ "form-control-number",
3147
+ "justifi-business-address-form"
3148
+ ],
3149
+ "justifi-business-address-form": [
3150
+ "form-control-text",
3151
+ "form-control-select",
3152
+ "form-control-number"
3153
+ ],
3154
+ "justifi-business-owners-form-step": [
3155
+ "justifi-owner-form"
3156
+ ],
3157
+ "justifi-owner-form": [
3158
+ "form-control-text",
3159
+ "form-control-select",
3160
+ "form-control-number-masked",
3161
+ "form-control-datepart",
3162
+ "form-control-number",
3163
+ "justifi-business-address-form"
2619
3164
  ]
2620
3165
  }
2621
3166
  },
@@ -2772,7 +3317,7 @@
2772
3317
  }
2773
3318
  },
2774
3319
  {
2775
- "filePath": "src/components/business-form/business-owners/business-owners.tsx",
3320
+ "filePath": "src/components/business-forms/business-form/business-owners/business-owners.tsx",
2776
3321
  "encapsulation": "none",
2777
3322
  "tag": "justifi-business-owners",
2778
3323
  "readme": "# justifi-business-owners\n\n\n",
@@ -2791,95 +3336,467 @@
2791
3336
  "text": "input-invalid: Invalid state for inputfs"
2792
3337
  }
2793
3338
  ],
2794
- "usage": {},
2795
- "props": [
3339
+ "usage": {},
3340
+ "props": [
3341
+ {
3342
+ "name": "formController",
3343
+ "type": "FormController",
3344
+ "complexType": {
3345
+ "original": "FormController",
3346
+ "resolved": "FormController",
3347
+ "references": {
3348
+ "FormController": {
3349
+ "location": "import",
3350
+ "path": "../../../form/form",
3351
+ "id": "src/components/form/form.ts::FormController"
3352
+ }
3353
+ }
3354
+ },
3355
+ "mutable": false,
3356
+ "reflectToAttr": false,
3357
+ "docs": "",
3358
+ "docsTags": [],
3359
+ "values": [
3360
+ {
3361
+ "type": "FormController"
3362
+ }
3363
+ ],
3364
+ "optional": false,
3365
+ "required": false
3366
+ }
3367
+ ],
3368
+ "methods": [],
3369
+ "events": [],
3370
+ "listeners": [],
3371
+ "styles": [],
3372
+ "slots": [],
3373
+ "parts": [],
3374
+ "dependents": [],
3375
+ "dependencies": [
3376
+ "form-control-text",
3377
+ "form-control-number-masked",
3378
+ "form-control-datepart",
3379
+ "form-control-number"
3380
+ ],
3381
+ "dependencyGraph": {
3382
+ "justifi-business-owners": [
3383
+ "form-control-text",
3384
+ "form-control-number-masked",
3385
+ "form-control-datepart",
3386
+ "form-control-number"
3387
+ ]
3388
+ }
3389
+ },
3390
+ {
3391
+ "filePath": "src/components/business-forms/business-form-stepped/business-owners/business-owners-form-step.tsx",
3392
+ "encapsulation": "none",
3393
+ "tag": "justifi-business-owners-form-step",
3394
+ "readme": "# justifi-business-owners\n\n\n",
3395
+ "docs": "",
3396
+ "docsTags": [
3397
+ {
3398
+ "name": "exportedPart",
3399
+ "text": "label: Label for inputs"
3400
+ },
3401
+ {
3402
+ "name": "exportedPart",
3403
+ "text": "input: The input fields"
3404
+ },
3405
+ {
3406
+ "name": "exportedPart",
3407
+ "text": "input-invalid: Invalid state for inputfs"
3408
+ }
3409
+ ],
3410
+ "usage": {},
3411
+ "props": [
3412
+ {
3413
+ "name": "authToken",
3414
+ "type": "string",
3415
+ "complexType": {
3416
+ "original": "string",
3417
+ "resolved": "string",
3418
+ "references": {}
3419
+ },
3420
+ "mutable": false,
3421
+ "attr": "auth-token",
3422
+ "reflectToAttr": false,
3423
+ "docs": "",
3424
+ "docsTags": [],
3425
+ "values": [
3426
+ {
3427
+ "type": "string"
3428
+ }
3429
+ ],
3430
+ "optional": false,
3431
+ "required": false
3432
+ },
3433
+ {
3434
+ "name": "businessId",
3435
+ "type": "string",
3436
+ "complexType": {
3437
+ "original": "string",
3438
+ "resolved": "string",
3439
+ "references": {}
3440
+ },
3441
+ "mutable": false,
3442
+ "attr": "business-id",
3443
+ "reflectToAttr": false,
3444
+ "docs": "",
3445
+ "docsTags": [],
3446
+ "values": [
3447
+ {
3448
+ "type": "string"
3449
+ }
3450
+ ],
3451
+ "optional": false,
3452
+ "required": false
3453
+ }
3454
+ ],
3455
+ "methods": [
3456
+ {
3457
+ "name": "validateAndSubmit",
3458
+ "returns": {
3459
+ "type": "Promise<void>",
3460
+ "docs": ""
3461
+ },
3462
+ "complexType": {
3463
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
3464
+ "parameters": [
3465
+ {
3466
+ "name": "__0",
3467
+ "type": "{ onSuccess: any; }",
3468
+ "docs": ""
3469
+ }
3470
+ ],
3471
+ "references": {
3472
+ "Promise": {
3473
+ "location": "global",
3474
+ "id": "global::Promise"
3475
+ }
3476
+ },
3477
+ "return": "Promise<void>"
3478
+ },
3479
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
3480
+ "parameters": [
3481
+ {
3482
+ "name": "__0",
3483
+ "type": "{ onSuccess: any; }",
3484
+ "docs": ""
3485
+ }
3486
+ ],
3487
+ "docs": "",
3488
+ "docsTags": []
3489
+ }
3490
+ ],
3491
+ "events": [
3492
+ {
3493
+ "event": "formLoading",
3494
+ "detail": "boolean",
3495
+ "bubbles": true,
3496
+ "complexType": {
3497
+ "original": "boolean",
3498
+ "resolved": "boolean",
3499
+ "references": {}
3500
+ },
3501
+ "cancelable": true,
3502
+ "composed": true,
3503
+ "docs": "",
3504
+ "docsTags": []
3505
+ },
3506
+ {
3507
+ "event": "serverError",
3508
+ "detail": "BusinessFormServerErrorEvent",
3509
+ "bubbles": true,
3510
+ "complexType": {
3511
+ "original": "BusinessFormServerErrorEvent",
3512
+ "resolved": "BusinessFormServerErrorEvent",
3513
+ "references": {
3514
+ "BusinessFormServerErrorEvent": {
3515
+ "location": "import",
3516
+ "path": "../../utils/business-form-types",
3517
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
3518
+ }
3519
+ }
3520
+ },
3521
+ "cancelable": true,
3522
+ "composed": true,
3523
+ "docs": "",
3524
+ "docsTags": []
3525
+ },
3526
+ {
3527
+ "event": "submitted",
3528
+ "detail": "BusinessFormSubmitEvent",
3529
+ "bubbles": true,
3530
+ "complexType": {
3531
+ "original": "BusinessFormSubmitEvent",
3532
+ "resolved": "BusinessFormSubmitEvent",
3533
+ "references": {
3534
+ "BusinessFormSubmitEvent": {
3535
+ "location": "import",
3536
+ "path": "../../utils/business-form-types",
3537
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
3538
+ }
3539
+ }
3540
+ },
3541
+ "cancelable": true,
3542
+ "composed": true,
3543
+ "docs": "",
3544
+ "docsTags": []
3545
+ }
3546
+ ],
3547
+ "listeners": [],
3548
+ "styles": [],
3549
+ "slots": [],
3550
+ "parts": [],
3551
+ "dependents": [
3552
+ "justifi-business-form-stepped"
3553
+ ],
3554
+ "dependencies": [
3555
+ "justifi-owner-form"
3556
+ ],
3557
+ "dependencyGraph": {
3558
+ "justifi-business-owners-form-step": [
3559
+ "justifi-owner-form"
3560
+ ],
3561
+ "justifi-owner-form": [
3562
+ "form-control-text",
3563
+ "form-control-select",
3564
+ "form-control-number-masked",
3565
+ "form-control-datepart",
3566
+ "form-control-number",
3567
+ "justifi-business-address-form"
3568
+ ],
3569
+ "justifi-business-address-form": [
3570
+ "form-control-text",
3571
+ "form-control-select",
3572
+ "form-control-number"
3573
+ ],
3574
+ "justifi-business-form-stepped": [
3575
+ "justifi-business-owners-form-step"
3576
+ ]
3577
+ }
3578
+ },
3579
+ {
3580
+ "filePath": "src/components/business-forms/business-form/business-representative/business-representative.tsx",
3581
+ "encapsulation": "none",
3582
+ "tag": "justifi-business-representative",
3583
+ "readme": "# justifi-business-representative\n\n\n",
3584
+ "docs": "",
3585
+ "docsTags": [],
3586
+ "usage": {},
3587
+ "props": [
3588
+ {
3589
+ "name": "formController",
3590
+ "type": "FormController",
3591
+ "complexType": {
3592
+ "original": "FormController",
3593
+ "resolved": "FormController",
3594
+ "references": {
3595
+ "FormController": {
3596
+ "location": "import",
3597
+ "path": "../../../form/form",
3598
+ "id": "src/components/form/form.ts::FormController"
3599
+ }
3600
+ }
3601
+ },
3602
+ "mutable": false,
3603
+ "reflectToAttr": false,
3604
+ "docs": "",
3605
+ "docsTags": [],
3606
+ "values": [
3607
+ {
3608
+ "type": "FormController"
3609
+ }
3610
+ ],
3611
+ "optional": false,
3612
+ "required": false
3613
+ }
3614
+ ],
3615
+ "methods": [],
3616
+ "events": [],
3617
+ "listeners": [],
3618
+ "styles": [],
3619
+ "slots": [],
3620
+ "parts": [
3621
+ {
3622
+ "name": "label",
3623
+ "docs": ""
3624
+ }
3625
+ ],
3626
+ "dependents": [
3627
+ "justifi-business-form"
3628
+ ],
3629
+ "dependencies": [
3630
+ "form-control-text",
3631
+ "form-control-select",
3632
+ "form-control-number-masked",
3633
+ "form-control-datepart",
3634
+ "form-control-number",
3635
+ "justifi-business-address-form"
3636
+ ],
3637
+ "dependencyGraph": {
3638
+ "justifi-business-representative": [
3639
+ "form-control-text",
3640
+ "form-control-select",
3641
+ "form-control-number-masked",
3642
+ "form-control-datepart",
3643
+ "form-control-number",
3644
+ "justifi-business-address-form"
3645
+ ],
3646
+ "justifi-business-address-form": [
3647
+ "form-control-text",
3648
+ "form-control-select",
3649
+ "form-control-number"
3650
+ ],
3651
+ "justifi-business-form": [
3652
+ "justifi-business-representative"
3653
+ ]
3654
+ }
3655
+ },
3656
+ {
3657
+ "filePath": "src/components/business-forms/business-form-stepped/business-representative/business-representative-form-step.tsx",
3658
+ "encapsulation": "none",
3659
+ "tag": "justifi-business-representative-form-step",
3660
+ "readme": "# justifi-business-representative-form-step\n\n\n",
3661
+ "docs": "",
3662
+ "docsTags": [],
3663
+ "usage": {},
3664
+ "props": [
3665
+ {
3666
+ "name": "authToken",
3667
+ "type": "string",
3668
+ "complexType": {
3669
+ "original": "string",
3670
+ "resolved": "string",
3671
+ "references": {}
3672
+ },
3673
+ "mutable": false,
3674
+ "attr": "auth-token",
3675
+ "reflectToAttr": false,
3676
+ "docs": "",
3677
+ "docsTags": [],
3678
+ "values": [
3679
+ {
3680
+ "type": "string"
3681
+ }
3682
+ ],
3683
+ "optional": false,
3684
+ "required": false
3685
+ },
3686
+ {
3687
+ "name": "businessId",
3688
+ "type": "string",
3689
+ "complexType": {
3690
+ "original": "string",
3691
+ "resolved": "string",
3692
+ "references": {}
3693
+ },
3694
+ "mutable": false,
3695
+ "attr": "business-id",
3696
+ "reflectToAttr": false,
3697
+ "docs": "",
3698
+ "docsTags": [],
3699
+ "values": [
3700
+ {
3701
+ "type": "string"
3702
+ }
3703
+ ],
3704
+ "optional": false,
3705
+ "required": false
3706
+ }
3707
+ ],
3708
+ "methods": [
3709
+ {
3710
+ "name": "validateAndSubmit",
3711
+ "returns": {
3712
+ "type": "Promise<void>",
3713
+ "docs": ""
3714
+ },
3715
+ "complexType": {
3716
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
3717
+ "parameters": [
3718
+ {
3719
+ "name": "__0",
3720
+ "type": "{ onSuccess: any; }",
3721
+ "docs": ""
3722
+ }
3723
+ ],
3724
+ "references": {
3725
+ "Promise": {
3726
+ "location": "global",
3727
+ "id": "global::Promise"
3728
+ }
3729
+ },
3730
+ "return": "Promise<void>"
3731
+ },
3732
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
3733
+ "parameters": [
3734
+ {
3735
+ "name": "__0",
3736
+ "type": "{ onSuccess: any; }",
3737
+ "docs": ""
3738
+ }
3739
+ ],
3740
+ "docs": "",
3741
+ "docsTags": []
3742
+ }
3743
+ ],
3744
+ "events": [
2796
3745
  {
2797
- "name": "formController",
2798
- "type": "FormController",
3746
+ "event": "formLoading",
3747
+ "detail": "boolean",
3748
+ "bubbles": true,
2799
3749
  "complexType": {
2800
- "original": "FormController",
2801
- "resolved": "FormController",
3750
+ "original": "boolean",
3751
+ "resolved": "boolean",
3752
+ "references": {}
3753
+ },
3754
+ "cancelable": true,
3755
+ "composed": true,
3756
+ "docs": "",
3757
+ "docsTags": []
3758
+ },
3759
+ {
3760
+ "event": "serverError",
3761
+ "detail": "BusinessFormServerErrorEvent",
3762
+ "bubbles": true,
3763
+ "complexType": {
3764
+ "original": "BusinessFormServerErrorEvent",
3765
+ "resolved": "BusinessFormServerErrorEvent",
2802
3766
  "references": {
2803
- "FormController": {
3767
+ "BusinessFormServerErrorEvent": {
2804
3768
  "location": "import",
2805
- "path": "../../form/form",
2806
- "id": "src/components/form/form.ts::FormController"
3769
+ "path": "../../utils/business-form-types",
3770
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
2807
3771
  }
2808
3772
  }
2809
3773
  },
2810
- "mutable": false,
2811
- "reflectToAttr": false,
3774
+ "cancelable": true,
3775
+ "composed": true,
2812
3776
  "docs": "",
2813
- "docsTags": [],
2814
- "values": [
2815
- {
2816
- "type": "FormController"
2817
- }
2818
- ],
2819
- "optional": false,
2820
- "required": false
2821
- }
2822
- ],
2823
- "methods": [],
2824
- "events": [],
2825
- "listeners": [],
2826
- "styles": [],
2827
- "slots": [],
2828
- "parts": [],
2829
- "dependents": [],
2830
- "dependencies": [
2831
- "form-control-text",
2832
- "form-control-number-masked",
2833
- "form-control-datepart",
2834
- "form-control-number"
2835
- ],
2836
- "dependencyGraph": {
2837
- "justifi-business-owners": [
2838
- "form-control-text",
2839
- "form-control-number-masked",
2840
- "form-control-datepart",
2841
- "form-control-number"
2842
- ]
2843
- }
2844
- },
2845
- {
2846
- "filePath": "src/components/business-form/business-representative/business-representative.tsx",
2847
- "encapsulation": "none",
2848
- "tag": "justifi-business-representative",
2849
- "readme": "# justifi-business-representative\n\n\n",
2850
- "docs": "",
2851
- "docsTags": [],
2852
- "usage": {},
2853
- "props": [
3777
+ "docsTags": []
3778
+ },
2854
3779
  {
2855
- "name": "formController",
2856
- "type": "FormController",
3780
+ "event": "submitted",
3781
+ "detail": "BusinessFormSubmitEvent",
3782
+ "bubbles": true,
2857
3783
  "complexType": {
2858
- "original": "FormController",
2859
- "resolved": "FormController",
3784
+ "original": "BusinessFormSubmitEvent",
3785
+ "resolved": "BusinessFormSubmitEvent",
2860
3786
  "references": {
2861
- "FormController": {
3787
+ "BusinessFormSubmitEvent": {
2862
3788
  "location": "import",
2863
- "path": "../../form/form",
2864
- "id": "src/components/form/form.ts::FormController"
3789
+ "path": "../../utils/business-form-types",
3790
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
2865
3791
  }
2866
3792
  }
2867
3793
  },
2868
- "mutable": false,
2869
- "reflectToAttr": false,
3794
+ "cancelable": true,
3795
+ "composed": true,
2870
3796
  "docs": "",
2871
- "docsTags": [],
2872
- "values": [
2873
- {
2874
- "type": "FormController"
2875
- }
2876
- ],
2877
- "optional": false,
2878
- "required": false
3797
+ "docsTags": []
2879
3798
  }
2880
3799
  ],
2881
- "methods": [],
2882
- "events": [],
2883
3800
  "listeners": [],
2884
3801
  "styles": [],
2885
3802
  "slots": [],
@@ -2890,7 +3807,6 @@
2890
3807
  }
2891
3808
  ],
2892
3809
  "dependents": [
2893
- "justifi-business-form",
2894
3810
  "justifi-business-form-stepped"
2895
3811
  ],
2896
3812
  "dependencies": [
@@ -2902,7 +3818,7 @@
2902
3818
  "justifi-business-address-form"
2903
3819
  ],
2904
3820
  "dependencyGraph": {
2905
- "justifi-business-representative": [
3821
+ "justifi-business-representative-form-step": [
2906
3822
  "form-control-text",
2907
3823
  "form-control-select",
2908
3824
  "form-control-number-masked",
@@ -2915,11 +3831,8 @@
2915
3831
  "form-control-select",
2916
3832
  "form-control-number"
2917
3833
  ],
2918
- "justifi-business-form": [
2919
- "justifi-business-representative"
2920
- ],
2921
3834
  "justifi-business-form-stepped": [
2922
- "justifi-business-representative"
3835
+ "justifi-business-representative-form-step"
2923
3836
  ]
2924
3837
  }
2925
3838
  },
@@ -3651,7 +4564,7 @@
3651
4564
  }
3652
4565
  },
3653
4566
  {
3654
- "filePath": "src/components/business-form/legal-address-form/legal-address-form.tsx",
4567
+ "filePath": "src/components/business-forms/business-form/legal-address-form/legal-address-form.tsx",
3655
4568
  "encapsulation": "none",
3656
4569
  "tag": "justifi-legal-address-form",
3657
4570
  "readme": "# legal-address-form\n\n\n",
@@ -3681,7 +4594,7 @@
3681
4594
  "references": {
3682
4595
  "FormController": {
3683
4596
  "location": "import",
3684
- "path": "../../form/form",
4597
+ "path": "../../../form/form",
3685
4598
  "id": "src/components/form/form.ts::FormController"
3686
4599
  }
3687
4600
  }
@@ -3699,14 +4612,193 @@
3699
4612
  "required": false
3700
4613
  }
3701
4614
  ],
3702
- "methods": [],
3703
- "events": [],
4615
+ "methods": [],
4616
+ "events": [],
4617
+ "listeners": [],
4618
+ "styles": [],
4619
+ "slots": [],
4620
+ "parts": [],
4621
+ "dependents": [
4622
+ "justifi-business-form"
4623
+ ],
4624
+ "dependencies": [
4625
+ "form-control-text",
4626
+ "form-control-number",
4627
+ "form-control-select"
4628
+ ],
4629
+ "dependencyGraph": {
4630
+ "justifi-legal-address-form": [
4631
+ "form-control-text",
4632
+ "form-control-number",
4633
+ "form-control-select"
4634
+ ],
4635
+ "justifi-business-form": [
4636
+ "justifi-legal-address-form"
4637
+ ]
4638
+ }
4639
+ },
4640
+ {
4641
+ "filePath": "src/components/business-forms/business-form-stepped/legal-address-form/legal-address-form-step.tsx",
4642
+ "encapsulation": "none",
4643
+ "tag": "justifi-legal-address-form-step",
4644
+ "readme": "# legal-address-form\n\n\n",
4645
+ "docs": "",
4646
+ "docsTags": [
4647
+ {
4648
+ "name": "exportedPart",
4649
+ "text": "label: Label for inputs"
4650
+ },
4651
+ {
4652
+ "name": "exportedPart",
4653
+ "text": "input: The input fields"
4654
+ },
4655
+ {
4656
+ "name": "exportedPart",
4657
+ "text": "input-invalid: Invalid state for inputfs"
4658
+ }
4659
+ ],
4660
+ "usage": {},
4661
+ "props": [
4662
+ {
4663
+ "name": "authToken",
4664
+ "type": "string",
4665
+ "complexType": {
4666
+ "original": "string",
4667
+ "resolved": "string",
4668
+ "references": {}
4669
+ },
4670
+ "mutable": false,
4671
+ "attr": "auth-token",
4672
+ "reflectToAttr": false,
4673
+ "docs": "",
4674
+ "docsTags": [],
4675
+ "values": [
4676
+ {
4677
+ "type": "string"
4678
+ }
4679
+ ],
4680
+ "optional": false,
4681
+ "required": false
4682
+ },
4683
+ {
4684
+ "name": "businessId",
4685
+ "type": "string",
4686
+ "complexType": {
4687
+ "original": "string",
4688
+ "resolved": "string",
4689
+ "references": {}
4690
+ },
4691
+ "mutable": false,
4692
+ "attr": "business-id",
4693
+ "reflectToAttr": false,
4694
+ "docs": "",
4695
+ "docsTags": [],
4696
+ "values": [
4697
+ {
4698
+ "type": "string"
4699
+ }
4700
+ ],
4701
+ "optional": false,
4702
+ "required": false
4703
+ }
4704
+ ],
4705
+ "methods": [
4706
+ {
4707
+ "name": "validateAndSubmit",
4708
+ "returns": {
4709
+ "type": "Promise<void>",
4710
+ "docs": ""
4711
+ },
4712
+ "complexType": {
4713
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
4714
+ "parameters": [
4715
+ {
4716
+ "name": "__0",
4717
+ "type": "{ onSuccess: any; }",
4718
+ "docs": ""
4719
+ }
4720
+ ],
4721
+ "references": {
4722
+ "Promise": {
4723
+ "location": "global",
4724
+ "id": "global::Promise"
4725
+ }
4726
+ },
4727
+ "return": "Promise<void>"
4728
+ },
4729
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
4730
+ "parameters": [
4731
+ {
4732
+ "name": "__0",
4733
+ "type": "{ onSuccess: any; }",
4734
+ "docs": ""
4735
+ }
4736
+ ],
4737
+ "docs": "",
4738
+ "docsTags": []
4739
+ }
4740
+ ],
4741
+ "events": [
4742
+ {
4743
+ "event": "formLoading",
4744
+ "detail": "boolean",
4745
+ "bubbles": true,
4746
+ "complexType": {
4747
+ "original": "boolean",
4748
+ "resolved": "boolean",
4749
+ "references": {}
4750
+ },
4751
+ "cancelable": true,
4752
+ "composed": true,
4753
+ "docs": "",
4754
+ "docsTags": []
4755
+ },
4756
+ {
4757
+ "event": "serverError",
4758
+ "detail": "BusinessFormServerErrorEvent",
4759
+ "bubbles": true,
4760
+ "complexType": {
4761
+ "original": "BusinessFormServerErrorEvent",
4762
+ "resolved": "BusinessFormServerErrorEvent",
4763
+ "references": {
4764
+ "BusinessFormServerErrorEvent": {
4765
+ "location": "import",
4766
+ "path": "../../utils/business-form-types",
4767
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
4768
+ }
4769
+ }
4770
+ },
4771
+ "cancelable": true,
4772
+ "composed": true,
4773
+ "docs": "",
4774
+ "docsTags": []
4775
+ },
4776
+ {
4777
+ "event": "submitted",
4778
+ "detail": "BusinessFormSubmitEvent",
4779
+ "bubbles": true,
4780
+ "complexType": {
4781
+ "original": "BusinessFormSubmitEvent",
4782
+ "resolved": "BusinessFormSubmitEvent",
4783
+ "references": {
4784
+ "BusinessFormSubmitEvent": {
4785
+ "location": "import",
4786
+ "path": "../../utils/business-form-types",
4787
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
4788
+ }
4789
+ }
4790
+ },
4791
+ "cancelable": true,
4792
+ "composed": true,
4793
+ "docs": "",
4794
+ "docsTags": []
4795
+ }
4796
+ ],
3704
4797
  "listeners": [],
3705
4798
  "styles": [],
3706
4799
  "slots": [],
3707
4800
  "parts": [],
3708
4801
  "dependents": [
3709
- "justifi-business-form",
3710
4802
  "justifi-business-form-stepped"
3711
4803
  ],
3712
4804
  "dependencies": [
@@ -3715,16 +4807,13 @@
3715
4807
  "form-control-select"
3716
4808
  ],
3717
4809
  "dependencyGraph": {
3718
- "justifi-legal-address-form": [
4810
+ "justifi-legal-address-form-step": [
3719
4811
  "form-control-text",
3720
4812
  "form-control-number",
3721
4813
  "form-control-select"
3722
4814
  ],
3723
- "justifi-business-form": [
3724
- "justifi-legal-address-form"
3725
- ],
3726
4815
  "justifi-business-form-stepped": [
3727
- "justifi-legal-address-form"
4816
+ "justifi-legal-address-form-step"
3728
4817
  ]
3729
4818
  }
3730
4819
  },
@@ -3914,6 +5003,282 @@
3914
5003
  ]
3915
5004
  }
3916
5005
  },
5006
+ {
5007
+ "filePath": "src/components/business-forms/owner-form/owner-form.tsx",
5008
+ "encapsulation": "shadow",
5009
+ "tag": "justifi-owner-form",
5010
+ "readme": "# justifi-owner-form\n\n\n",
5011
+ "docs": "",
5012
+ "docsTags": [],
5013
+ "usage": {},
5014
+ "props": [
5015
+ {
5016
+ "name": "authToken",
5017
+ "type": "string",
5018
+ "complexType": {
5019
+ "original": "string",
5020
+ "resolved": "string",
5021
+ "references": {}
5022
+ },
5023
+ "mutable": false,
5024
+ "attr": "auth-token",
5025
+ "reflectToAttr": false,
5026
+ "docs": "",
5027
+ "docsTags": [],
5028
+ "values": [
5029
+ {
5030
+ "type": "string"
5031
+ }
5032
+ ],
5033
+ "optional": false,
5034
+ "required": false
5035
+ },
5036
+ {
5037
+ "name": "businessId",
5038
+ "type": "string",
5039
+ "complexType": {
5040
+ "original": "string",
5041
+ "resolved": "string",
5042
+ "references": {}
5043
+ },
5044
+ "mutable": false,
5045
+ "attr": "business-id",
5046
+ "reflectToAttr": false,
5047
+ "docs": "",
5048
+ "docsTags": [],
5049
+ "values": [
5050
+ {
5051
+ "type": "string"
5052
+ }
5053
+ ],
5054
+ "optional": true,
5055
+ "required": false
5056
+ },
5057
+ {
5058
+ "name": "newFormOpen",
5059
+ "type": "boolean",
5060
+ "complexType": {
5061
+ "original": "boolean",
5062
+ "resolved": "boolean",
5063
+ "references": {}
5064
+ },
5065
+ "mutable": false,
5066
+ "attr": "new-form-open",
5067
+ "reflectToAttr": false,
5068
+ "docs": "",
5069
+ "docsTags": [],
5070
+ "values": [
5071
+ {
5072
+ "type": "boolean"
5073
+ }
5074
+ ],
5075
+ "optional": true,
5076
+ "required": false
5077
+ },
5078
+ {
5079
+ "name": "ownerId",
5080
+ "type": "string",
5081
+ "complexType": {
5082
+ "original": "string",
5083
+ "resolved": "string",
5084
+ "references": {}
5085
+ },
5086
+ "mutable": false,
5087
+ "attr": "owner-id",
5088
+ "reflectToAttr": false,
5089
+ "docs": "",
5090
+ "docsTags": [],
5091
+ "values": [
5092
+ {
5093
+ "type": "string"
5094
+ }
5095
+ ],
5096
+ "optional": true,
5097
+ "required": false
5098
+ },
5099
+ {
5100
+ "name": "ownersLength",
5101
+ "type": "number",
5102
+ "complexType": {
5103
+ "original": "number",
5104
+ "resolved": "number",
5105
+ "references": {}
5106
+ },
5107
+ "mutable": false,
5108
+ "attr": "owners-length",
5109
+ "reflectToAttr": false,
5110
+ "docs": "",
5111
+ "docsTags": [],
5112
+ "values": [
5113
+ {
5114
+ "type": "number"
5115
+ }
5116
+ ],
5117
+ "optional": true,
5118
+ "required": false
5119
+ },
5120
+ {
5121
+ "name": "removeOwner",
5122
+ "type": "(id: string) => void",
5123
+ "complexType": {
5124
+ "original": "(id: string) => void",
5125
+ "resolved": "(id: string) => void",
5126
+ "references": {}
5127
+ },
5128
+ "mutable": false,
5129
+ "reflectToAttr": false,
5130
+ "docs": "",
5131
+ "docsTags": [],
5132
+ "values": [
5133
+ {
5134
+ "type": "(id: string) => void"
5135
+ }
5136
+ ],
5137
+ "optional": false,
5138
+ "required": false
5139
+ }
5140
+ ],
5141
+ "methods": [
5142
+ {
5143
+ "name": "submit",
5144
+ "returns": {
5145
+ "type": "Promise<boolean>",
5146
+ "docs": ""
5147
+ },
5148
+ "complexType": {
5149
+ "signature": "() => Promise<boolean>",
5150
+ "parameters": [],
5151
+ "references": {
5152
+ "Promise": {
5153
+ "location": "global",
5154
+ "id": "global::Promise"
5155
+ }
5156
+ },
5157
+ "return": "Promise<boolean>"
5158
+ },
5159
+ "signature": "submit() => Promise<boolean>",
5160
+ "parameters": [],
5161
+ "docs": "",
5162
+ "docsTags": []
5163
+ },
5164
+ {
5165
+ "name": "validate",
5166
+ "returns": {
5167
+ "type": "Promise<boolean>",
5168
+ "docs": ""
5169
+ },
5170
+ "complexType": {
5171
+ "signature": "() => Promise<boolean>",
5172
+ "parameters": [],
5173
+ "references": {
5174
+ "Promise": {
5175
+ "location": "global",
5176
+ "id": "global::Promise"
5177
+ }
5178
+ },
5179
+ "return": "Promise<boolean>"
5180
+ },
5181
+ "signature": "validate() => Promise<boolean>",
5182
+ "parameters": [],
5183
+ "docs": "",
5184
+ "docsTags": []
5185
+ }
5186
+ ],
5187
+ "events": [
5188
+ {
5189
+ "event": "formLoading",
5190
+ "detail": "boolean",
5191
+ "bubbles": true,
5192
+ "complexType": {
5193
+ "original": "boolean",
5194
+ "resolved": "boolean",
5195
+ "references": {}
5196
+ },
5197
+ "cancelable": true,
5198
+ "composed": true,
5199
+ "docs": "",
5200
+ "docsTags": []
5201
+ },
5202
+ {
5203
+ "event": "serverError",
5204
+ "detail": "OwnerFormServerErrorEvent",
5205
+ "bubbles": true,
5206
+ "complexType": {
5207
+ "original": "OwnerFormServerErrorEvent",
5208
+ "resolved": "OwnerFormServerErrorEvent",
5209
+ "references": {
5210
+ "OwnerFormServerErrorEvent": {
5211
+ "location": "import",
5212
+ "path": "../utils/business-form-types",
5213
+ "id": "src/components/business-forms/utils/business-form-types.ts::OwnerFormServerErrorEvent"
5214
+ }
5215
+ }
5216
+ },
5217
+ "cancelable": true,
5218
+ "composed": true,
5219
+ "docs": "",
5220
+ "docsTags": []
5221
+ },
5222
+ {
5223
+ "event": "submitted",
5224
+ "detail": "OwnerFormSubmitEvent",
5225
+ "bubbles": true,
5226
+ "complexType": {
5227
+ "original": "OwnerFormSubmitEvent",
5228
+ "resolved": "OwnerFormSubmitEvent",
5229
+ "references": {
5230
+ "OwnerFormSubmitEvent": {
5231
+ "location": "import",
5232
+ "path": "../utils/business-form-types",
5233
+ "id": "src/components/business-forms/utils/business-form-types.ts::OwnerFormSubmitEvent"
5234
+ }
5235
+ }
5236
+ },
5237
+ "cancelable": true,
5238
+ "composed": true,
5239
+ "docs": "",
5240
+ "docsTags": []
5241
+ }
5242
+ ],
5243
+ "listeners": [],
5244
+ "styles": [],
5245
+ "slots": [],
5246
+ "parts": [
5247
+ {
5248
+ "name": "label",
5249
+ "docs": ""
5250
+ }
5251
+ ],
5252
+ "dependents": [
5253
+ "justifi-business-owners-form-step"
5254
+ ],
5255
+ "dependencies": [
5256
+ "form-control-text",
5257
+ "form-control-select",
5258
+ "form-control-number-masked",
5259
+ "form-control-datepart",
5260
+ "form-control-number",
5261
+ "justifi-business-address-form"
5262
+ ],
5263
+ "dependencyGraph": {
5264
+ "justifi-owner-form": [
5265
+ "form-control-text",
5266
+ "form-control-select",
5267
+ "form-control-number-masked",
5268
+ "form-control-datepart",
5269
+ "form-control-number",
5270
+ "justifi-business-address-form"
5271
+ ],
5272
+ "justifi-business-address-form": [
5273
+ "form-control-text",
5274
+ "form-control-select",
5275
+ "form-control-number"
5276
+ ],
5277
+ "justifi-business-owners-form-step": [
5278
+ "justifi-owner-form"
5279
+ ]
5280
+ }
5281
+ },
3917
5282
  {
3918
5283
  "filePath": "src/components/payment-balance-transactions/payment-balance-transactions.tsx",
3919
5284
  "encapsulation": "shadow",
@@ -6381,8 +7746,8 @@
6381
7746
  "references": {
6382
7747
  "Identity": {
6383
7748
  "location": "import",
6384
- "path": "../../../api/Business",
6385
- "id": "src/api/Business.ts::Identity"
7749
+ "path": "../../../api/Identity",
7750
+ "id": "src/api/Identity.ts::Identity"
6386
7751
  }
6387
7752
  }
6388
7753
  },
@@ -6815,8 +8180,8 @@
6815
8180
  "references": {
6816
8181
  "Identity": {
6817
8182
  "location": "import",
6818
- "path": "../../../api/Business",
6819
- "id": "src/api/Business.ts::Identity"
8183
+ "path": "../../../api/Identity",
8184
+ "id": "src/api/Identity.ts::Identity"
6820
8185
  }
6821
8186
  }
6822
8187
  },
@@ -7503,16 +8868,41 @@
7503
8868
  "docstring": "",
7504
8869
  "path": "src/api/Business.ts"
7505
8870
  },
7506
- "src/api/Business.ts::Identity": {
7507
- "declaration": "export interface Identity {\n address?: IAddress;\n created_at?: string;\n dob_day?: string;\n dob_month?: string;\n dob_year?: string;\n documents?: Document[];\n email?: string;\n id?: string;\n is_owner?: boolean;\n metadata?: any;\n name?: string;\n phone?: string;\n platform_account_id?: string;\n ssn_last4?: string;\n title?: string;\n updated_at?: string;\n}",
8871
+ "src/api/Identity.ts::Identity": {
8872
+ "declaration": "export interface Identity {\n address?: IAddress;\n created_at?: string;\n dob_day?: string;\n dob_month?: string;\n dob_year?: string;\n documents?: Document[];\n email?: string;\n id?: string;\n business_id?: string;\n is_owner?: boolean;\n metadata?: any;\n name?: string;\n phone?: string;\n platform_account_id?: string;\n ssn_last4?: string;\n title?: string;\n updated_at?: string;\n}",
7508
8873
  "docstring": "",
7509
- "path": "src/api/Business.ts"
8874
+ "path": "src/api/Identity.ts"
8875
+ },
8876
+ "src/components/business-forms/utils/business-form-types.ts::BusinessFormClickEvent": {
8877
+ "declaration": "export interface BusinessFormClickEvent {\n data?: any;\n name: BusinessFormClickActions;\n}",
8878
+ "docstring": "",
8879
+ "path": "src/components/business-forms/utils/business-form-types.ts"
8880
+ },
8881
+ "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent": {
8882
+ "declaration": "export interface BusinessFormSubmitEvent {\n data: any;\n metadata?: BusinessFormEventMetaData;\n}",
8883
+ "docstring": "",
8884
+ "path": "src/components/business-forms/utils/business-form-types.ts"
7510
8885
  },
7511
8886
  "src/components/form/form.ts::FormController": {
7512
8887
  "declaration": "any",
7513
8888
  "docstring": "",
7514
8889
  "path": "src/components/form/form.ts"
7515
8890
  },
8891
+ "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent": {
8892
+ "declaration": "export interface BusinessFormServerErrorEvent {\n data?: any;\n message: BusinessFormServerErrors;\n}",
8893
+ "docstring": "",
8894
+ "path": "src/components/business-forms/utils/business-form-types.ts"
8895
+ },
8896
+ "src/components/business-forms/utils/business-form-types.ts::OwnerFormSubmitEvent": {
8897
+ "declaration": "export interface OwnerFormSubmitEvent {\n data: any;\n metadata?: any;\n}",
8898
+ "docstring": "",
8899
+ "path": "src/components/business-forms/utils/business-form-types.ts"
8900
+ },
8901
+ "src/components/business-forms/utils/business-form-types.ts::OwnerFormServerErrorEvent": {
8902
+ "declaration": "export interface OwnerFormServerErrorEvent {\n data?: any;\n message: OwnerFormServerErrors;\n}",
8903
+ "docstring": "",
8904
+ "path": "src/components/business-forms/utils/business-form-types.ts"
8905
+ },
7516
8906
  "src/components/checkout/payment-method-option-utils.tsx::PaymentMethodOption": {
7517
8907
  "declaration": "any",
7518
8908
  "docstring": "",