@justifi/webcomponents 4.9.1 → 4.10.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 (383) hide show
  1. package/dist/cjs/{Business-64dffab7.js → Business-663db337.js} +13 -1
  2. package/dist/cjs/Identity-1c4528b8.js +49 -0
  3. package/dist/cjs/{SubAccount-f8144025.js → SubAccount-05867651.js} +1 -1
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +4 -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 +68 -78
  10. package/dist/cjs/form-control-monetary.cjs.entry.js +20 -18
  11. package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-number_3.cjs.entry.js} +50 -3
  12. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -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 +506 -0
  15. package/dist/cjs/{justifi-additional-questions_5.cjs.entry.js → justifi-additional-questions_4.cjs.entry.js} +14 -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 -6
  18. package/dist/cjs/justifi-business-address-form-step.cjs.entry.js +35 -0
  19. package/dist/cjs/justifi-business-details.cjs.entry.js +5 -3
  20. package/dist/cjs/justifi-business-form.cjs.entry.js +18 -15
  21. package/dist/cjs/justifi-business-list.cjs.entry.js +4 -3
  22. package/dist/cjs/justifi-business-owners.cjs.entry.js +1 -1
  23. package/dist/cjs/justifi-card-form.cjs.entry.js +1 -1
  24. package/dist/cjs/justifi-checkout-core.cjs.entry.js +3 -2
  25. package/dist/cjs/justifi-checkout.cjs.entry.js +1 -1
  26. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  27. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
  28. package/dist/cjs/justifi-new-payment-method_3.cjs.entry.js +1 -1
  29. package/dist/cjs/justifi-owner-form.cjs.entry.js +162 -0
  30. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +3 -2
  31. package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
  32. package/dist/cjs/justifi-payment-form.cjs.entry.js +3 -2
  33. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +1 -1
  34. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +89 -0
  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 +3 -2
  39. package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -1
  40. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +5 -4
  41. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +4 -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-9e72e80f.js +99 -0
  45. package/dist/cjs/payment-details-core.cjs.entry.js +4 -3
  46. package/dist/cjs/payments-list-core.cjs.entry.js +3 -2
  47. package/dist/cjs/payout-details-core.cjs.entry.js +4 -3
  48. package/dist/cjs/payouts-list-core.cjs.entry.js +3 -2
  49. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +4 -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-2b9940e1.js} +25 -0
  54. package/dist/cjs/utils-df5167a8.js +13 -0
  55. package/dist/cjs/webcomponents.cjs.js +2 -2
  56. package/dist/collection/api/Business.js +10 -1
  57. package/dist/collection/api/Identity.js +43 -0
  58. package/dist/collection/collection-manifest.json +15 -8
  59. package/dist/collection/components/billing-form/billing-form-schema.js +1 -1
  60. package/dist/collection/components/billing-form/billing-form.js +1 -1
  61. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +4 -4
  62. package/dist/collection/components/business-details/owner-details/owner-details.js +2 -2
  63. package/dist/collection/components/business-details/representative-details/representative-details.js +2 -2
  64. package/dist/collection/components/{business-form → business-forms/business-form}/additional-questions/additional-questions.js +1 -1
  65. package/dist/collection/components/{business-form → business-forms/business-form}/business-address/business-address-form.js +4 -4
  66. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +77 -0
  67. package/dist/collection/components/{business-form → business-forms/business-form}/business-form.js +32 -24
  68. package/dist/collection/components/{business-form → business-forms/business-form}/business-owners/business-owners.js +2 -2
  69. package/dist/collection/components/{business-form → business-forms/business-form}/business-representative/business-representative.js +3 -3
  70. package/dist/collection/components/{business-form → business-forms/business-form}/legal-address-form/legal-address-form.js +1 -1
  71. package/dist/collection/components/business-forms/owner-form/owner-form.css +7779 -0
  72. package/dist/collection/components/business-forms/owner-form/owner-form.js +367 -0
  73. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +219 -0
  74. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/test/business-additional-questions-form-step.spec.js +97 -0
  75. package/dist/collection/components/business-forms/payment-provisioning/business-address/business-address-form-step.css +2536 -0
  76. package/dist/collection/components/business-forms/payment-provisioning/business-address/business-address-form-step.js +97 -0
  77. package/dist/collection/components/business-forms/payment-provisioning/business-address/test/business-address-form-step.spec.js +97 -0
  78. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.css +2493 -0
  79. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +239 -0
  80. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/test/business-core-info-form-step.spec.js +97 -0
  81. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.css +7779 -0
  82. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +284 -0
  83. package/dist/collection/components/business-forms/payment-provisioning/business-owners/test/business-owners-form-step.spec.js +97 -0
  84. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.css +2493 -0
  85. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +231 -0
  86. package/dist/collection/components/business-forms/payment-provisioning/business-representative/test/business-representative-form-step.spec.js +97 -0
  87. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.css +2493 -0
  88. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +233 -0
  89. package/dist/collection/components/{business-form/business-form-stepped.css → business-forms/payment-provisioning/payment-provisioning.css} +105 -0
  90. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +199 -0
  91. package/dist/collection/components/business-forms/payment-provisioning/test/payment-provisioning.spec.js +61 -0
  92. package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +7 -0
  93. package/dist/collection/components/business-forms/schemas/business-address-schema.js +16 -0
  94. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +13 -0
  95. package/dist/collection/components/business-forms/schemas/business-form-schema.js +6 -0
  96. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +35 -0
  97. package/dist/collection/components/business-forms/schemas/business-owners-schema.js +16 -0
  98. package/dist/collection/components/business-forms/utils/business-form-select-options.js +80 -0
  99. package/dist/collection/components/business-forms/utils/business-form-types.js +17 -0
  100. package/dist/collection/components/business-forms/utils/payload-parsers.js +37 -0
  101. package/dist/collection/components/form/form-control-datepart.js +39 -34
  102. package/dist/collection/components/form/form-control-monetary.js +22 -20
  103. package/dist/collection/components/form/form-control-number.js +1 -0
  104. package/dist/collection/components/form/form-control-select.js +3 -1
  105. package/dist/collection/components/form/form-control-text.js +2 -1
  106. package/dist/collection/components/form/test/form-control-datepart.spec.js +88 -0
  107. package/dist/collection/components/form/test/form-control-monetary.spec.js +69 -0
  108. package/dist/collection/components/form/test/form-control-number.spec.js +77 -0
  109. package/dist/collection/components/form/test/form-control-select.spec.js +84 -0
  110. package/dist/collection/components/form/test/form-control-text.spec.js +104 -0
  111. package/dist/collection/components/form/test/form.spec.js +60 -0
  112. package/dist/collection/components/form/utils.js +1 -0
  113. package/dist/collection/utils/utils.js +21 -0
  114. package/dist/docs.json +1943 -552
  115. package/dist/esm/{Business-9921d35f.js → Business-6cc4e473.js} +12 -2
  116. package/dist/esm/Identity-5f8f916f.js +46 -0
  117. package/dist/esm/{SubAccount-76f6d565.js → SubAccount-61ac70eb.js} +1 -1
  118. package/dist/esm/additional-questions-details_5.entry.js +4 -3
  119. package/dist/esm/business-additional-questions-schema-2cb80f70.js +23 -0
  120. package/dist/esm/business-details-core.entry.js +2 -2
  121. package/dist/esm/business-form-select-options-6b9293fe.js +82 -0
  122. package/dist/esm/business-form-types-de9f38cd.js +19 -0
  123. package/dist/esm/form-control-datepart_3.entry.js +68 -78
  124. package/dist/esm/form-control-monetary.entry.js +20 -18
  125. package/dist/esm/{form-control-select_2.entry.js → form-control-number_3.entry.js} +50 -4
  126. package/dist/esm/gross-payment-chart-core.entry.js +4 -3
  127. package/dist/esm/{index-fb5ca346.js → index-df86d9a2.js} +57 -0
  128. package/dist/esm/justifi-additional-questions-form-step_5.entry.js +498 -0
  129. package/dist/esm/{justifi-additional-questions_5.entry.js → justifi-additional-questions_4.entry.js} +14 -41
  130. package/dist/esm/justifi-bank-account-form.entry.js +1 -1
  131. package/dist/esm/justifi-billing-form_4.entry.js +4 -5
  132. package/dist/esm/justifi-business-address-form-step.entry.js +31 -0
  133. package/dist/esm/justifi-business-details.entry.js +5 -3
  134. package/dist/esm/justifi-business-form.entry.js +17 -14
  135. package/dist/esm/justifi-business-list.entry.js +4 -3
  136. package/dist/esm/justifi-business-owners.entry.js +1 -1
  137. package/dist/esm/justifi-card-form.entry.js +1 -1
  138. package/dist/esm/justifi-checkout-core.entry.js +3 -2
  139. package/dist/esm/justifi-checkout.entry.js +1 -1
  140. package/dist/esm/justifi-details.entry.js +2 -2
  141. package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
  142. package/dist/esm/justifi-new-payment-method_3.entry.js +1 -1
  143. package/dist/esm/justifi-owner-form.entry.js +158 -0
  144. package/dist/esm/justifi-payment-balance-transactions.entry.js +3 -2
  145. package/dist/esm/justifi-payment-details.entry.js +2 -2
  146. package/dist/esm/justifi-payment-form.entry.js +3 -2
  147. package/dist/esm/justifi-payment-method-selector.entry.js +1 -1
  148. package/dist/esm/justifi-payment-provisioning.entry.js +85 -0
  149. package/dist/esm/justifi-payments-list.entry.js +2 -2
  150. package/dist/esm/justifi-payout-details.entry.js +2 -2
  151. package/dist/esm/justifi-payouts-list.entry.js +2 -2
  152. package/dist/esm/justifi-proceeds-list.entry.js +3 -2
  153. package/dist/esm/justifi-refund-form.entry.js +1 -1
  154. package/dist/esm/justifi-subaccount-details.entry.js +5 -4
  155. package/dist/esm/justifi-subaccounts-list.entry.js +4 -3
  156. package/dist/esm/justifi-table_2.entry.js +1 -1
  157. package/dist/esm/loader.js +3 -3
  158. package/dist/esm/payload-parsers-caea809d.js +91 -0
  159. package/dist/esm/payment-details-core.entry.js +4 -3
  160. package/dist/esm/payments-list-core.entry.js +3 -2
  161. package/dist/esm/payout-details-core.entry.js +4 -3
  162. package/dist/esm/payouts-list-core.entry.js +3 -2
  163. package/dist/esm/subaccount-account-details_4.entry.js +4 -3
  164. package/dist/esm/subaccount-bank-details.entry.js +2 -2
  165. package/dist/esm/subaccount-terms-details.entry.js +2 -2
  166. package/dist/esm/utils-2828201a.js +10 -0
  167. package/dist/esm/{utils-a3e96d9f.js → utils-d01c5f3a.js} +1 -1
  168. package/dist/esm/{utils-5193fcd7.js → utils-d9e90399.js} +23 -1
  169. package/dist/esm/webcomponents.js +3 -3
  170. package/dist/module/Business.js +12 -2
  171. package/dist/module/Identity.js +46 -0
  172. package/dist/module/SubAccount.js +1 -1
  173. package/dist/module/billing-form.js +1 -1
  174. package/dist/module/business-additional-questions-form-step.js +121 -0
  175. package/dist/module/business-additional-questions-schema.js +10 -0
  176. package/dist/module/business-address-form.js +3 -3
  177. package/dist/module/business-address-schema.js +19 -0
  178. package/dist/module/business-core-info-form-step.js +141 -0
  179. package/dist/module/business-core-info-schema.js +16 -0
  180. package/dist/module/business-core-info.js +69 -0
  181. package/dist/module/business-form-select-options.js +82 -0
  182. package/dist/module/business-form-types.js +19 -0
  183. package/dist/module/business-identity-schema.js +38 -0
  184. package/dist/{webcomponents/p-f64a85cf.entry.js → module/business-owners-form-step.js} +214 -1
  185. package/dist/module/business-representative-form-step.js +158 -0
  186. package/dist/module/business-representative.js +1 -1
  187. package/dist/module/checkout-core.js +1 -1
  188. package/dist/module/form-control-datepart2.js +37 -33
  189. package/dist/module/form-control-monetary2.js +20 -18
  190. package/dist/module/form-control-number2.js +1 -0
  191. package/dist/module/form-control-select2.js +3 -1
  192. package/dist/module/form-control-text2.js +2 -1
  193. package/dist/module/justifi-additional-questions-form-step.d.ts +11 -0
  194. package/dist/module/justifi-additional-questions-form-step.js +6 -0
  195. package/dist/module/justifi-business-address-form-step.d.ts +11 -0
  196. package/dist/module/justifi-business-address-form-step.js +75 -0
  197. package/dist/module/justifi-business-core-info-form-step.d.ts +11 -0
  198. package/dist/module/justifi-business-core-info-form-step.js +6 -0
  199. package/dist/module/justifi-business-core-info.d.ts +11 -0
  200. package/dist/module/justifi-business-core-info.js +6 -0
  201. package/dist/module/justifi-business-form.js +19 -14
  202. package/dist/module/justifi-business-list.js +1 -1
  203. package/dist/module/justifi-business-owners-form-step.d.ts +11 -0
  204. package/dist/module/justifi-business-owners-form-step.js +6 -0
  205. package/dist/module/justifi-business-representative-form-step.d.ts +11 -0
  206. package/dist/module/justifi-business-representative-form-step.js +6 -0
  207. package/dist/module/justifi-legal-address-form-step.d.ts +11 -0
  208. package/dist/module/justifi-legal-address-form-step.js +6 -0
  209. package/dist/module/justifi-owner-form.d.ts +11 -0
  210. package/dist/module/justifi-owner-form.js +6 -0
  211. package/dist/module/justifi-payment-balance-transactions.js +1 -1
  212. package/dist/module/justifi-payment-provisioning.d.ts +11 -0
  213. package/dist/module/justifi-payment-provisioning.js +190 -0
  214. package/dist/module/justifi-proceeds-list.js +1 -1
  215. package/dist/module/justifi-subaccount-details.js +1 -1
  216. package/dist/module/justifi-subaccounts-list.js +1 -1
  217. package/dist/module/legal-address-form-step.js +137 -0
  218. package/dist/module/owner-form.js +222 -0
  219. package/dist/module/payload-parsers.js +39 -0
  220. package/dist/module/payment-details-core2.js +1 -1
  221. package/dist/module/payment-method-form.js +1 -1
  222. package/dist/module/payments-list-core2.js +1 -1
  223. package/dist/module/payout-details-core2.js +1 -1
  224. package/dist/module/payouts-list-core2.js +1 -1
  225. package/dist/module/subaccount-merchant-details2.js +1 -1
  226. package/dist/module/utils2.js +23 -1
  227. package/dist/module/utils4.js +10 -0
  228. package/dist/types/api/Business.d.ts +11 -21
  229. package/dist/types/api/Identity.d.ts +60 -0
  230. package/dist/types/components/billing-form/billing-form-schema.d.ts +0 -1
  231. package/dist/types/components/business-details/additional-questions-details/additional-questions-details.d.ts +2 -2
  232. package/dist/types/components/business-details/owner-details/owner-details.d.ts +1 -1
  233. package/dist/types/components/business-details/representative-details/representative-details.d.ts +1 -1
  234. package/dist/types/components/{business-form → business-forms/business-form}/additional-questions/additional-questions.d.ts +1 -1
  235. package/dist/types/components/{business-form → business-forms/business-form}/business-address/business-address-form.d.ts +1 -1
  236. 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
  237. package/dist/types/components/{business-form → business-forms/business-form}/business-form.d.ts +5 -10
  238. package/dist/types/components/{business-form → business-forms/business-form}/business-owners/business-owners.d.ts +1 -1
  239. package/dist/types/components/{business-form → business-forms/business-form}/business-representative/business-representative.d.ts +1 -1
  240. package/dist/types/components/{business-form → business-forms/business-form}/legal-address-form/legal-address-form.d.ts +2 -2
  241. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +36 -0
  242. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +31 -0
  243. package/dist/types/components/business-forms/payment-provisioning/business-address/business-address-form-step.d.ts +9 -0
  244. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +36 -0
  245. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +36 -0
  246. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +27 -0
  247. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +31 -0
  248. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning.d.ts +45 -0
  249. package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +11 -0
  250. package/dist/types/components/{business-form/business-address/business-address-form-schema.d.ts → business-forms/schemas/business-address-schema.d.ts} +11 -8
  251. package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +19 -0
  252. package/dist/types/components/{business-form → business-forms/schemas}/business-form-schema.d.ts +2 -26
  253. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +59 -0
  254. package/dist/types/components/business-forms/schemas/business-owners-schema.d.ts +33 -0
  255. package/dist/types/components/business-forms/utils/business-form-select-options.d.ts +11 -0
  256. package/dist/types/components/business-forms/utils/business-form-types.d.ts +39 -0
  257. package/dist/types/components/business-forms/utils/payload-parsers.d.ts +4 -0
  258. package/dist/types/components/form/form-control-datepart.d.ts +2 -1
  259. package/dist/types/components/form/form-control-monetary.d.ts +2 -1
  260. package/dist/types/components/form/form.d.ts +1 -1
  261. package/dist/types/components/form/utils.d.ts +1 -0
  262. package/dist/types/components.d.ts +463 -113
  263. package/dist/types/utils/utils.d.ts +3 -0
  264. package/dist/webcomponents/p-03b1d0d5.entry.js +1 -0
  265. package/dist/webcomponents/{p-adc96df1.entry.js → p-07b326d0.entry.js} +1 -1
  266. package/dist/webcomponents/p-0e189d6a.entry.js +1 -0
  267. package/dist/webcomponents/p-16dcf053.entry.js +1 -0
  268. package/dist/webcomponents/p-17d72f4a.js +1 -0
  269. package/dist/webcomponents/{p-97c42345.entry.js → p-1bfadb9f.entry.js} +1 -1
  270. package/dist/webcomponents/p-221b9504.entry.js +1 -0
  271. package/dist/webcomponents/p-2df32b4a.entry.js +1 -0
  272. package/dist/webcomponents/{p-baafa7f5.js → p-34352d04.js} +1 -1
  273. package/dist/webcomponents/p-38ba2848.entry.js +1 -0
  274. package/dist/webcomponents/p-3d4aaa4a.entry.js +1 -0
  275. package/dist/webcomponents/p-41870765.entry.js +1 -0
  276. package/dist/webcomponents/p-461f42b8.entry.js +1 -0
  277. package/dist/webcomponents/p-48c2400e.js +1 -0
  278. package/dist/webcomponents/p-491ca87f.js +1 -0
  279. package/dist/webcomponents/{p-dc05b5c5.entry.js → p-4d50d08a.entry.js} +1 -1
  280. package/dist/webcomponents/{p-09b94d22.entry.js → p-4df6174c.entry.js} +1 -1
  281. package/dist/webcomponents/{p-c032b216.entry.js → p-5be4e217.entry.js} +1 -1
  282. package/dist/webcomponents/p-60714f2a.entry.js +1 -0
  283. package/dist/webcomponents/p-60b2344a.js +1 -0
  284. package/dist/webcomponents/{p-9e3771b7.entry.js → p-65500b31.entry.js} +1 -1
  285. package/dist/webcomponents/p-688bb5da.js +2 -0
  286. package/dist/webcomponents/{p-92a55427.entry.js → p-6b51cf97.entry.js} +1 -1
  287. package/dist/webcomponents/p-6d39b8bc.entry.js +1 -0
  288. package/dist/webcomponents/p-7ec301b5.entry.js +1 -0
  289. package/dist/webcomponents/p-817211f2.entry.js +1 -0
  290. package/dist/webcomponents/{p-bb037696.js → p-8482c23f.js} +1 -1
  291. package/dist/webcomponents/p-9207ccb2.entry.js +1 -0
  292. package/dist/webcomponents/p-975ab96e.js +1 -0
  293. package/dist/webcomponents/p-9e4b81ad.entry.js +1 -0
  294. package/dist/webcomponents/p-a141c531.js +1 -0
  295. package/dist/webcomponents/{p-e536a4c1.entry.js → p-a2dbe90f.entry.js} +1 -1
  296. package/dist/webcomponents/p-a4122c35.entry.js +1 -0
  297. package/dist/webcomponents/{p-591e29bf.entry.js → p-a46174e0.entry.js} +1 -1
  298. package/dist/webcomponents/{p-1cbdca15.entry.js → p-a68519e5.entry.js} +1 -1
  299. package/dist/webcomponents/p-af8363a1.entry.js +1 -0
  300. package/dist/webcomponents/{p-bb7f6095.entry.js → p-b1bc23af.entry.js} +1 -1
  301. package/dist/webcomponents/p-b37d6888.entry.js +1 -0
  302. package/dist/webcomponents/p-b5a3bf86.entry.js +1 -0
  303. package/dist/webcomponents/{p-7cd06ada.entry.js → p-b68f1dd9.entry.js} +1 -1
  304. package/dist/webcomponents/p-b8f22856.js +1 -0
  305. package/dist/webcomponents/p-cb8f9cb8.entry.js +1 -0
  306. package/dist/webcomponents/p-d0761829.entry.js +1 -0
  307. package/dist/webcomponents/{p-c2c3d5d1.entry.js → p-da34bba7.entry.js} +1 -1
  308. package/dist/webcomponents/p-dbe32e75.entry.js +1 -0
  309. package/dist/webcomponents/p-e0c1cba8.js +1 -0
  310. package/dist/webcomponents/{p-99a8b7d0.entry.js → p-e924f2e1.entry.js} +1 -1
  311. package/dist/webcomponents/p-ea03b424.entry.js +1 -0
  312. package/dist/webcomponents/{p-9c310f5c.entry.js → p-ebf7c70f.entry.js} +1 -1
  313. package/dist/webcomponents/p-ec230480.entry.js +1 -0
  314. package/dist/webcomponents/p-eed5f4ad.entry.js +1 -0
  315. package/dist/webcomponents/{p-9a63eec9.entry.js → p-fb49ef28.entry.js} +1 -1
  316. package/dist/webcomponents/{p-41490d96.entry.js → p-fe8a94c1.entry.js} +1 -1
  317. package/dist/webcomponents/webcomponents.esm.js +1 -1
  318. package/package.json +1 -1
  319. package/dist/cjs/BusinessFormEventTypes-62990815.js +0 -42
  320. package/dist/cjs/business-form-schema-37e5381d.js +0 -148
  321. package/dist/cjs/justifi-business-form-stepped.cjs.entry.js +0 -143
  322. package/dist/collection/components/business-form/BusinessFormEventTypes.js +0 -6
  323. package/dist/collection/components/business-form/business-address/business-address-form-schema.js +0 -13
  324. package/dist/collection/components/business-form/business-form-schema.js +0 -159
  325. package/dist/collection/components/business-form/business-form-stepped.js +0 -260
  326. package/dist/collection/components/business-form/business-generic-info/business-generic-info.js +0 -77
  327. package/dist/collection/components/business-form/business-representative/business-representative-schema.js +0 -1
  328. package/dist/collection/components/business-form/helpers.js +0 -23
  329. package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js +0 -10
  330. package/dist/esm/BusinessFormEventTypes-182e20be.js +0 -39
  331. package/dist/esm/business-form-schema-f8f554d1.js +0 -144
  332. package/dist/esm/justifi-business-form-stepped.entry.js +0 -139
  333. package/dist/module/BusinessFormEventTypes.js +0 -39
  334. package/dist/module/business-generic-info.js +0 -210
  335. package/dist/module/justifi-business-form-stepped.d.ts +0 -11
  336. package/dist/module/justifi-business-form-stepped.js +0 -231
  337. package/dist/module/justifi-business-generic-info.d.ts +0 -11
  338. package/dist/module/justifi-business-generic-info.js +0 -6
  339. package/dist/types/components/business-form/BusinessFormEventTypes.d.ts +0 -5
  340. package/dist/types/components/business-form/business-form-stepped.d.ts +0 -48
  341. package/dist/types/components/business-form/business-representative/business-representative-schema.d.ts +0 -17
  342. package/dist/types/components/business-form/helpers.d.ts +0 -1
  343. package/dist/types/components/business-form/legal-address-form/legal-address-form-schema.d.ts +0 -17
  344. package/dist/webcomponents/p-018b71f5.entry.js +0 -1
  345. package/dist/webcomponents/p-1b04d091.entry.js +0 -1
  346. package/dist/webcomponents/p-1bac1674.entry.js +0 -1
  347. package/dist/webcomponents/p-2f0653f4.entry.js +0 -1
  348. package/dist/webcomponents/p-3134ab82.entry.js +0 -1
  349. package/dist/webcomponents/p-34f9fe6b.js +0 -1
  350. package/dist/webcomponents/p-3bae0ed3.entry.js +0 -1
  351. package/dist/webcomponents/p-41031759.entry.js +0 -1
  352. package/dist/webcomponents/p-4ed3a9f5.entry.js +0 -1
  353. package/dist/webcomponents/p-4edd9721.js +0 -1
  354. package/dist/webcomponents/p-51b0bf2a.entry.js +0 -1
  355. package/dist/webcomponents/p-531844f6.entry.js +0 -1
  356. package/dist/webcomponents/p-5d5d7550.entry.js +0 -1
  357. package/dist/webcomponents/p-5ea274b8.js +0 -1
  358. package/dist/webcomponents/p-5f785ede.entry.js +0 -1
  359. package/dist/webcomponents/p-6d05174c.js +0 -2
  360. package/dist/webcomponents/p-72d1ad98.entry.js +0 -1
  361. package/dist/webcomponents/p-796cf44f.entry.js +0 -1
  362. package/dist/webcomponents/p-8f895ec3.entry.js +0 -1
  363. package/dist/webcomponents/p-a81229a5.entry.js +0 -1
  364. package/dist/webcomponents/p-b8a8b551.js +0 -1
  365. package/dist/webcomponents/p-babd292f.entry.js +0 -1
  366. package/dist/webcomponents/p-c8d51336.entry.js +0 -1
  367. package/dist/webcomponents/p-e6939585.entry.js +0 -1
  368. package/dist/webcomponents/p-ec358d69.entry.js +0 -1
  369. package/dist/webcomponents/p-f55ac955.entry.js +0 -1
  370. /package/dist/cjs/{state-options-96d05a98.js → state-options-4fbcb48a.js} +0 -0
  371. /package/dist/collection/components/{business-form → business-forms/business-form}/business-address/business-address-form.css +0 -0
  372. /package/dist/collection/components/{business-form → business-forms/business-form}/business-address/test/business-address.e2e.js +0 -0
  373. /package/dist/collection/components/{business-form → business-forms/business-form}/business-address/test/business-address.spec.js +0 -0
  374. /package/dist/collection/components/{business-form/business-generic-info/business-generic-info.css → business-forms/business-form/business-core-info/business-core-info.css} +0 -0
  375. /package/dist/collection/components/{business-form → business-forms/business-form}/business-form.css +0 -0
  376. /package/dist/collection/components/{business-form → business-forms/business-form}/business-owners/business-owners.css +0 -0
  377. /package/dist/collection/components/{business-form → business-forms/business-form}/business-representative/business-representative.css +0 -0
  378. /package/dist/collection/components/{business-form → business-forms/business-form}/legal-address-form/legal-address-form.css +0 -0
  379. /package/dist/collection/components/{business-form → business-forms/business-form}/test/business-form.spec.js +0 -0
  380. /package/dist/collection/{components/billing-form → utils}/state-options.js +0 -0
  381. /package/dist/esm/{state-options-fc1daf67.js → state-options-a356fb11.js} +0 -0
  382. /package/dist/types/{components/billing-form → utils}/state-options.d.ts +0 -0
  383. /package/dist/webcomponents/{p-8e2a88a8.js → p-6078a370.js} +0 -0
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-04-10T19:21:33",
2
+ "timestamp": "2024-04-22T16:53:18",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.10.0",
@@ -38,15 +38,15 @@
38
38
  "props": [
39
39
  {
40
40
  "name": "additionalQuestions",
41
- "type": "AdditionalQuestions",
41
+ "type": "IAdditionalQuestions",
42
42
  "complexType": {
43
- "original": "AdditionalQuestions",
44
- "resolved": "AdditionalQuestions",
43
+ "original": "IAdditionalQuestions",
44
+ "resolved": "IAdditionalQuestions",
45
45
  "references": {
46
- "AdditionalQuestions": {
46
+ "IAdditionalQuestions": {
47
47
  "location": "import",
48
48
  "path": "../../../api/Business",
49
- "id": "src/api/Business.ts::AdditionalQuestions"
49
+ "id": "src/api/Business.ts::IAdditionalQuestions"
50
50
  }
51
51
  }
52
52
  },
@@ -56,7 +56,7 @@
56
56
  "docsTags": [],
57
57
  "values": [
58
58
  {
59
- "type": "AdditionalQuestions"
59
+ "type": "IAdditionalQuestions"
60
60
  }
61
61
  ],
62
62
  "optional": false,
@@ -290,6 +290,7 @@
290
290
  "reflectToAttr": false,
291
291
  "docs": "",
292
292
  "docsTags": [],
293
+ "default": "'day'",
293
294
  "values": [
294
295
  {
295
296
  "value": "day",
@@ -350,7 +351,9 @@
350
351
  ],
351
352
  "dependents": [
352
353
  "justifi-business-owners",
353
- "justifi-business-representative"
354
+ "justifi-business-representative",
355
+ "justifi-business-representative-form-step",
356
+ "justifi-owner-form"
354
357
  ],
355
358
  "dependencies": [],
356
359
  "dependencyGraph": {
@@ -359,6 +362,12 @@
359
362
  ],
360
363
  "justifi-business-representative": [
361
364
  "form-control-datepart"
365
+ ],
366
+ "justifi-business-representative-form-step": [
367
+ "form-control-datepart"
368
+ ],
369
+ "justifi-owner-form": [
370
+ "form-control-datepart"
362
371
  ]
363
372
  }
364
373
  },
@@ -456,10 +465,10 @@
456
465
  },
457
466
  {
458
467
  "name": "name",
459
- "type": "any",
468
+ "type": "string",
460
469
  "complexType": {
461
- "original": "any",
462
- "resolved": "any",
470
+ "original": "string",
471
+ "resolved": "string",
463
472
  "references": {}
464
473
  },
465
474
  "mutable": false,
@@ -469,7 +478,7 @@
469
478
  "docsTags": [],
470
479
  "values": [
471
480
  {
472
- "type": "any"
481
+ "type": "string"
473
482
  }
474
483
  ],
475
484
  "optional": false,
@@ -518,6 +527,7 @@
518
527
  ],
519
528
  "dependents": [
520
529
  "justifi-additional-questions",
530
+ "justifi-additional-questions-form-step",
521
531
  "justifi-refund-form"
522
532
  ],
523
533
  "dependencies": [],
@@ -525,6 +535,9 @@
525
535
  "justifi-additional-questions": [
526
536
  "form-control-monetary"
527
537
  ],
538
+ "justifi-additional-questions-form-step": [
539
+ "form-control-monetary"
540
+ ],
528
541
  "justifi-refund-form": [
529
542
  "form-control-monetary"
530
543
  ]
@@ -707,23 +720,39 @@
707
720
  ],
708
721
  "dependents": [
709
722
  "justifi-business-address-form",
723
+ "justifi-business-address-form-step",
710
724
  "justifi-business-owners",
711
725
  "justifi-business-representative",
712
- "justifi-legal-address-form"
726
+ "justifi-business-representative-form-step",
727
+ "justifi-legal-address-form",
728
+ "justifi-legal-address-form-step",
729
+ "justifi-owner-form"
713
730
  ],
714
731
  "dependencies": [],
715
732
  "dependencyGraph": {
716
733
  "justifi-business-address-form": [
717
734
  "form-control-number"
718
735
  ],
736
+ "justifi-business-address-form-step": [
737
+ "form-control-number"
738
+ ],
719
739
  "justifi-business-owners": [
720
740
  "form-control-number"
721
741
  ],
722
742
  "justifi-business-representative": [
723
743
  "form-control-number"
724
744
  ],
745
+ "justifi-business-representative-form-step": [
746
+ "form-control-number"
747
+ ],
725
748
  "justifi-legal-address-form": [
726
749
  "form-control-number"
750
+ ],
751
+ "justifi-legal-address-form-step": [
752
+ "form-control-number"
753
+ ],
754
+ "justifi-owner-form": [
755
+ "form-control-number"
727
756
  ]
728
757
  }
729
758
  },
@@ -924,13 +953,19 @@
924
953
  }
925
954
  ],
926
955
  "dependents": [
927
- "justifi-business-generic-info",
956
+ "justifi-business-core-info",
957
+ "justifi-business-core-info-form-step",
928
958
  "justifi-business-owners",
929
- "justifi-business-representative"
959
+ "justifi-business-representative",
960
+ "justifi-business-representative-form-step",
961
+ "justifi-owner-form"
930
962
  ],
931
963
  "dependencies": [],
932
964
  "dependencyGraph": {
933
- "justifi-business-generic-info": [
965
+ "justifi-business-core-info": [
966
+ "form-control-number-masked"
967
+ ],
968
+ "justifi-business-core-info-form-step": [
934
969
  "form-control-number-masked"
935
970
  ],
936
971
  "justifi-business-owners": [
@@ -938,6 +973,12 @@
938
973
  ],
939
974
  "justifi-business-representative": [
940
975
  "form-control-number-masked"
976
+ ],
977
+ "justifi-business-representative-form-step": [
978
+ "form-control-number-masked"
979
+ ],
980
+ "justifi-owner-form": [
981
+ "form-control-number-masked"
941
982
  ]
942
983
  }
943
984
  },
@@ -1138,23 +1179,43 @@
1138
1179
  ],
1139
1180
  "dependents": [
1140
1181
  "justifi-business-address-form",
1141
- "justifi-business-generic-info",
1182
+ "justifi-business-address-form-step",
1183
+ "justifi-business-core-info",
1184
+ "justifi-business-core-info-form-step",
1142
1185
  "justifi-business-representative",
1143
- "justifi-legal-address-form"
1186
+ "justifi-business-representative-form-step",
1187
+ "justifi-legal-address-form",
1188
+ "justifi-legal-address-form-step",
1189
+ "justifi-owner-form"
1144
1190
  ],
1145
1191
  "dependencies": [],
1146
1192
  "dependencyGraph": {
1147
1193
  "justifi-business-address-form": [
1148
1194
  "form-control-select"
1149
1195
  ],
1150
- "justifi-business-generic-info": [
1196
+ "justifi-business-address-form-step": [
1197
+ "form-control-select"
1198
+ ],
1199
+ "justifi-business-core-info": [
1200
+ "form-control-select"
1201
+ ],
1202
+ "justifi-business-core-info-form-step": [
1151
1203
  "form-control-select"
1152
1204
  ],
1153
1205
  "justifi-business-representative": [
1154
1206
  "form-control-select"
1155
1207
  ],
1208
+ "justifi-business-representative-form-step": [
1209
+ "form-control-select"
1210
+ ],
1156
1211
  "justifi-legal-address-form": [
1157
1212
  "form-control-select"
1213
+ ],
1214
+ "justifi-legal-address-form-step": [
1215
+ "form-control-select"
1216
+ ],
1217
+ "justifi-owner-form": [
1218
+ "form-control-select"
1158
1219
  ]
1159
1220
  }
1160
1221
  },
@@ -1335,10 +1396,15 @@
1335
1396
  ],
1336
1397
  "dependents": [
1337
1398
  "justifi-business-address-form",
1338
- "justifi-business-generic-info",
1399
+ "justifi-business-address-form-step",
1400
+ "justifi-business-core-info",
1401
+ "justifi-business-core-info-form-step",
1339
1402
  "justifi-business-owners",
1340
1403
  "justifi-business-representative",
1404
+ "justifi-business-representative-form-step",
1341
1405
  "justifi-legal-address-form",
1406
+ "justifi-legal-address-form-step",
1407
+ "justifi-owner-form",
1342
1408
  "justifi-refund-form"
1343
1409
  ],
1344
1410
  "dependencies": [],
@@ -1346,7 +1412,13 @@
1346
1412
  "justifi-business-address-form": [
1347
1413
  "form-control-text"
1348
1414
  ],
1349
- "justifi-business-generic-info": [
1415
+ "justifi-business-address-form-step": [
1416
+ "form-control-text"
1417
+ ],
1418
+ "justifi-business-core-info": [
1419
+ "form-control-text"
1420
+ ],
1421
+ "justifi-business-core-info-form-step": [
1350
1422
  "form-control-text"
1351
1423
  ],
1352
1424
  "justifi-business-owners": [
@@ -1355,9 +1427,18 @@
1355
1427
  "justifi-business-representative": [
1356
1428
  "form-control-text"
1357
1429
  ],
1430
+ "justifi-business-representative-form-step": [
1431
+ "form-control-text"
1432
+ ],
1358
1433
  "justifi-legal-address-form": [
1359
1434
  "form-control-text"
1360
1435
  ],
1436
+ "justifi-legal-address-form-step": [
1437
+ "form-control-text"
1438
+ ],
1439
+ "justifi-owner-form": [
1440
+ "form-control-text"
1441
+ ],
1361
1442
  "justifi-refund-form": [
1362
1443
  "form-control-text"
1363
1444
  ]
@@ -1467,7 +1548,7 @@
1467
1548
  }
1468
1549
  },
1469
1550
  {
1470
- "filePath": "src/components/business-form/additional-questions/additional-questions.tsx",
1551
+ "filePath": "src/components/business-forms/business-form/additional-questions/additional-questions.tsx",
1471
1552
  "encapsulation": "none",
1472
1553
  "tag": "justifi-additional-questions",
1473
1554
  "readme": "# justifi-additional-questions\n\n\n",
@@ -1497,7 +1578,7 @@
1497
1578
  "references": {
1498
1579
  "FormController": {
1499
1580
  "location": "import",
1500
- "path": "../../form/form",
1581
+ "path": "../../../form/form",
1501
1582
  "id": "src/components/form/form.ts::FormController"
1502
1583
  }
1503
1584
  }
@@ -1522,8 +1603,7 @@
1522
1603
  "slots": [],
1523
1604
  "parts": [],
1524
1605
  "dependents": [
1525
- "justifi-business-form",
1526
- "justifi-business-form-stepped"
1606
+ "justifi-business-form"
1527
1607
  ],
1528
1608
  "dependencies": [
1529
1609
  "form-control-monetary"
@@ -1534,9 +1614,182 @@
1534
1614
  ],
1535
1615
  "justifi-business-form": [
1536
1616
  "justifi-additional-questions"
1617
+ ]
1618
+ }
1619
+ },
1620
+ {
1621
+ "filePath": "src/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.tsx",
1622
+ "encapsulation": "none",
1623
+ "tag": "justifi-additional-questions-form-step",
1624
+ "readme": "# justifi-additional-questions\n\n\n",
1625
+ "docs": "",
1626
+ "docsTags": [
1627
+ {
1628
+ "name": "exportedPart",
1629
+ "text": "label: Label for inputs"
1630
+ },
1631
+ {
1632
+ "name": "exportedPart",
1633
+ "text": "input: The input fields"
1634
+ },
1635
+ {
1636
+ "name": "exportedPart",
1637
+ "text": "input-invalid: Invalid state for inputfs"
1638
+ }
1639
+ ],
1640
+ "usage": {},
1641
+ "props": [
1642
+ {
1643
+ "name": "authToken",
1644
+ "type": "string",
1645
+ "complexType": {
1646
+ "original": "string",
1647
+ "resolved": "string",
1648
+ "references": {}
1649
+ },
1650
+ "mutable": false,
1651
+ "attr": "auth-token",
1652
+ "reflectToAttr": false,
1653
+ "docs": "",
1654
+ "docsTags": [],
1655
+ "values": [
1656
+ {
1657
+ "type": "string"
1658
+ }
1659
+ ],
1660
+ "optional": false,
1661
+ "required": false
1662
+ },
1663
+ {
1664
+ "name": "businessId",
1665
+ "type": "string",
1666
+ "complexType": {
1667
+ "original": "string",
1668
+ "resolved": "string",
1669
+ "references": {}
1670
+ },
1671
+ "mutable": false,
1672
+ "attr": "business-id",
1673
+ "reflectToAttr": false,
1674
+ "docs": "",
1675
+ "docsTags": [],
1676
+ "values": [
1677
+ {
1678
+ "type": "string"
1679
+ }
1680
+ ],
1681
+ "optional": false,
1682
+ "required": false
1683
+ }
1684
+ ],
1685
+ "methods": [
1686
+ {
1687
+ "name": "validateAndSubmit",
1688
+ "returns": {
1689
+ "type": "Promise<void>",
1690
+ "docs": ""
1691
+ },
1692
+ "complexType": {
1693
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
1694
+ "parameters": [
1695
+ {
1696
+ "name": "__0",
1697
+ "type": "{ onSuccess: any; }",
1698
+ "docs": ""
1699
+ }
1700
+ ],
1701
+ "references": {
1702
+ "Promise": {
1703
+ "location": "global",
1704
+ "id": "global::Promise"
1705
+ }
1706
+ },
1707
+ "return": "Promise<void>"
1708
+ },
1709
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
1710
+ "parameters": [
1711
+ {
1712
+ "name": "__0",
1713
+ "type": "{ onSuccess: any; }",
1714
+ "docs": ""
1715
+ }
1716
+ ],
1717
+ "docs": "",
1718
+ "docsTags": []
1719
+ }
1720
+ ],
1721
+ "events": [
1722
+ {
1723
+ "event": "formLoading",
1724
+ "detail": "boolean",
1725
+ "bubbles": true,
1726
+ "complexType": {
1727
+ "original": "boolean",
1728
+ "resolved": "boolean",
1729
+ "references": {}
1730
+ },
1731
+ "cancelable": true,
1732
+ "composed": true,
1733
+ "docs": "",
1734
+ "docsTags": []
1735
+ },
1736
+ {
1737
+ "event": "serverError",
1738
+ "detail": "BusinessFormServerErrorEvent",
1739
+ "bubbles": true,
1740
+ "complexType": {
1741
+ "original": "BusinessFormServerErrorEvent",
1742
+ "resolved": "BusinessFormServerErrorEvent",
1743
+ "references": {
1744
+ "BusinessFormServerErrorEvent": {
1745
+ "location": "import",
1746
+ "path": "../../utils/business-form-types",
1747
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
1748
+ }
1749
+ }
1750
+ },
1751
+ "cancelable": true,
1752
+ "composed": true,
1753
+ "docs": "",
1754
+ "docsTags": []
1755
+ },
1756
+ {
1757
+ "event": "submitted",
1758
+ "detail": "BusinessFormSubmitEvent",
1759
+ "bubbles": true,
1760
+ "complexType": {
1761
+ "original": "BusinessFormSubmitEvent",
1762
+ "resolved": "BusinessFormSubmitEvent",
1763
+ "references": {
1764
+ "BusinessFormSubmitEvent": {
1765
+ "location": "import",
1766
+ "path": "../../utils/business-form-types",
1767
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
1768
+ }
1769
+ }
1770
+ },
1771
+ "cancelable": true,
1772
+ "composed": true,
1773
+ "docs": "",
1774
+ "docsTags": []
1775
+ }
1776
+ ],
1777
+ "listeners": [],
1778
+ "styles": [],
1779
+ "slots": [],
1780
+ "parts": [],
1781
+ "dependents": [
1782
+ "justifi-payment-provisioning"
1783
+ ],
1784
+ "dependencies": [
1785
+ "form-control-monetary"
1786
+ ],
1787
+ "dependencyGraph": {
1788
+ "justifi-additional-questions-form-step": [
1789
+ "form-control-monetary"
1537
1790
  ],
1538
- "justifi-business-form-stepped": [
1539
- "justifi-additional-questions"
1791
+ "justifi-payment-provisioning": [
1792
+ "justifi-additional-questions-form-step"
1540
1793
  ]
1541
1794
  }
1542
1795
  },
@@ -1999,7 +2252,7 @@
1999
2252
  }
2000
2253
  },
2001
2254
  {
2002
- "filePath": "src/components/business-form/business-address/business-address-form.tsx",
2255
+ "filePath": "src/components/business-forms/business-form/business-address/business-address-form.tsx",
2003
2256
  "encapsulation": "shadow",
2004
2257
  "tag": "justifi-business-address-form",
2005
2258
  "readme": "# justifi-business-address\n\n\n",
@@ -2050,7 +2303,7 @@
2050
2303
  "required": false
2051
2304
  },
2052
2305
  {
2053
- "name": "onFormUpdate",
2306
+ "name": "handleFormUpdate",
2054
2307
  "type": "(values: any) => void",
2055
2308
  "complexType": {
2056
2309
  "original": "(values: any) => void",
@@ -2077,7 +2330,9 @@
2077
2330
  "slots": [],
2078
2331
  "parts": [],
2079
2332
  "dependents": [
2080
- "justifi-business-representative"
2333
+ "justifi-business-representative",
2334
+ "justifi-business-representative-form-step",
2335
+ "justifi-owner-form"
2081
2336
  ],
2082
2337
  "dependencies": [
2083
2338
  "form-control-text",
@@ -2092,76 +2347,81 @@
2092
2347
  ],
2093
2348
  "justifi-business-representative": [
2094
2349
  "justifi-business-address-form"
2350
+ ],
2351
+ "justifi-business-representative-form-step": [
2352
+ "justifi-business-address-form"
2353
+ ],
2354
+ "justifi-owner-form": [
2355
+ "justifi-business-address-form"
2095
2356
  ]
2096
2357
  }
2097
2358
  },
2098
2359
  {
2099
- "filePath": "src/components/business-details/business-details.tsx",
2360
+ "filePath": "src/components/business-forms/payment-provisioning/business-address/business-address-form-step.tsx",
2100
2361
  "encapsulation": "shadow",
2101
- "tag": "justifi-business-details",
2102
- "readme": "# justifi-business-details\n\n\n",
2362
+ "tag": "justifi-business-address-form-step",
2363
+ "readme": "# justifi-business-address\n\n\n",
2103
2364
  "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
- ],
2365
+ "docsTags": [],
2126
2366
  "usage": {},
2127
2367
  "props": [
2128
2368
  {
2129
- "name": "authToken",
2130
- "type": "string",
2369
+ "name": "defaultValues",
2370
+ "type": "any",
2131
2371
  "complexType": {
2132
- "original": "string",
2133
- "resolved": "string",
2372
+ "original": "any",
2373
+ "resolved": "any",
2134
2374
  "references": {}
2135
2375
  },
2136
2376
  "mutable": false,
2137
- "attr": "auth-token",
2377
+ "attr": "default-values",
2138
2378
  "reflectToAttr": false,
2139
2379
  "docs": "",
2140
2380
  "docsTags": [],
2141
2381
  "values": [
2142
2382
  {
2143
- "type": "string"
2383
+ "type": "any"
2144
2384
  }
2145
2385
  ],
2146
2386
  "optional": false,
2147
2387
  "required": false
2148
2388
  },
2149
2389
  {
2150
- "name": "businessId",
2151
- "type": "string",
2390
+ "name": "errors",
2391
+ "type": "any",
2152
2392
  "complexType": {
2153
- "original": "string",
2154
- "resolved": "string",
2393
+ "original": "any",
2394
+ "resolved": "any",
2155
2395
  "references": {}
2156
2396
  },
2157
2397
  "mutable": false,
2158
- "attr": "business-id",
2398
+ "attr": "errors",
2159
2399
  "reflectToAttr": false,
2160
2400
  "docs": "",
2161
2401
  "docsTags": [],
2162
2402
  "values": [
2163
2403
  {
2164
- "type": "string"
2404
+ "type": "any"
2405
+ }
2406
+ ],
2407
+ "optional": false,
2408
+ "required": false
2409
+ },
2410
+ {
2411
+ "name": "handleFormUpdate",
2412
+ "type": "(values: any) => void",
2413
+ "complexType": {
2414
+ "original": "(values: any) => void",
2415
+ "resolved": "(values: any) => void",
2416
+ "references": {}
2417
+ },
2418
+ "mutable": false,
2419
+ "reflectToAttr": false,
2420
+ "docs": "",
2421
+ "docsTags": [],
2422
+ "values": [
2423
+ {
2424
+ "type": "(values: any) => void"
2165
2425
  }
2166
2426
  ],
2167
2427
  "optional": false,
@@ -2176,27 +2436,98 @@
2176
2436
  "parts": [],
2177
2437
  "dependents": [],
2178
2438
  "dependencies": [
2179
- "business-details-core"
2439
+ "form-control-text",
2440
+ "form-control-select",
2441
+ "form-control-number"
2180
2442
  ],
2181
2443
  "dependencyGraph": {
2182
- "justifi-business-details": [
2183
- "business-details-core"
2444
+ "justifi-business-address-form-step": [
2445
+ "form-control-text",
2446
+ "form-control-select",
2447
+ "form-control-number"
2448
+ ]
2449
+ }
2450
+ },
2451
+ {
2452
+ "filePath": "src/components/business-forms/business-form/business-core-info/business-core-info.tsx",
2453
+ "encapsulation": "none",
2454
+ "tag": "justifi-business-core-info",
2455
+ "readme": "# justifi-business-generic-info-form\n\n\n",
2456
+ "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.",
2457
+ "docsTags": [
2458
+ {
2459
+ "name": "exportedPart",
2460
+ "text": "label: Label for inputs"
2461
+ },
2462
+ {
2463
+ "name": "exportedPart",
2464
+ "text": "input: The input fields"
2465
+ },
2466
+ {
2467
+ "name": "exportedPart",
2468
+ "text": "input-invalid: Invalid state for inputfs"
2469
+ }
2470
+ ],
2471
+ "usage": {},
2472
+ "props": [
2473
+ {
2474
+ "name": "formController",
2475
+ "type": "FormController",
2476
+ "complexType": {
2477
+ "original": "FormController",
2478
+ "resolved": "FormController",
2479
+ "references": {
2480
+ "FormController": {
2481
+ "location": "import",
2482
+ "path": "../../../form/form",
2483
+ "id": "src/components/form/form.ts::FormController"
2484
+ }
2485
+ }
2486
+ },
2487
+ "mutable": false,
2488
+ "reflectToAttr": false,
2489
+ "docs": "",
2490
+ "docsTags": [],
2491
+ "values": [
2492
+ {
2493
+ "type": "FormController"
2494
+ }
2495
+ ],
2496
+ "optional": false,
2497
+ "required": false
2498
+ }
2499
+ ],
2500
+ "methods": [],
2501
+ "events": [],
2502
+ "listeners": [],
2503
+ "styles": [],
2504
+ "slots": [],
2505
+ "parts": [],
2506
+ "dependents": [
2507
+ "justifi-business-form"
2508
+ ],
2509
+ "dependencies": [
2510
+ "form-control-text",
2511
+ "form-control-select",
2512
+ "form-control-number-masked"
2513
+ ],
2514
+ "dependencyGraph": {
2515
+ "justifi-business-core-info": [
2516
+ "form-control-text",
2517
+ "form-control-select",
2518
+ "form-control-number-masked"
2184
2519
  ],
2185
- "business-details-core": [
2186
- "generic-info-details",
2187
- "legal-address-details",
2188
- "representative-details",
2189
- "owner-details",
2190
- "additional-questions-details"
2520
+ "justifi-business-form": [
2521
+ "justifi-business-core-info"
2191
2522
  ]
2192
2523
  }
2193
2524
  },
2194
2525
  {
2195
- "filePath": "src/components/business-form/business-form.tsx",
2526
+ "filePath": "src/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.tsx",
2196
2527
  "encapsulation": "none",
2197
- "tag": "justifi-business-form",
2198
- "readme": "# justifi-business-info\n\n\n",
2199
- "docs": "",
2528
+ "tag": "justifi-business-core-info-form-step",
2529
+ "readme": "# justifi-business-generic-info-form\n\n\n",
2530
+ "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
2531
  "docsTags": [
2201
2532
  {
2202
2533
  "name": "exportedPart",
@@ -2254,39 +2585,52 @@
2254
2585
  ],
2255
2586
  "optional": false,
2256
2587
  "required": false
2257
- },
2588
+ }
2589
+ ],
2590
+ "methods": [
2258
2591
  {
2259
- "name": "hideErrors",
2260
- "type": "boolean",
2592
+ "name": "validateAndSubmit",
2593
+ "returns": {
2594
+ "type": "Promise<void>",
2595
+ "docs": ""
2596
+ },
2261
2597
  "complexType": {
2262
- "original": "boolean",
2263
- "resolved": "boolean",
2264
- "references": {}
2598
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
2599
+ "parameters": [
2600
+ {
2601
+ "name": "__0",
2602
+ "type": "{ onSuccess: any; }",
2603
+ "docs": ""
2604
+ }
2605
+ ],
2606
+ "references": {
2607
+ "Promise": {
2608
+ "location": "global",
2609
+ "id": "global::Promise"
2610
+ }
2611
+ },
2612
+ "return": "Promise<void>"
2265
2613
  },
2266
- "mutable": false,
2267
- "attr": "hide-errors",
2268
- "reflectToAttr": false,
2269
- "docs": "",
2270
- "docsTags": [],
2271
- "default": "false",
2272
- "values": [
2614
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
2615
+ "parameters": [
2273
2616
  {
2274
- "type": "boolean"
2617
+ "name": "__0",
2618
+ "type": "{ onSuccess: any; }",
2619
+ "docs": ""
2275
2620
  }
2276
2621
  ],
2277
- "optional": true,
2278
- "required": false
2622
+ "docs": "",
2623
+ "docsTags": []
2279
2624
  }
2280
2625
  ],
2281
- "methods": [],
2282
2626
  "events": [
2283
2627
  {
2284
- "event": "clickEvent",
2285
- "detail": "{ data?: any; name: string; }",
2628
+ "event": "formLoading",
2629
+ "detail": "boolean",
2286
2630
  "bubbles": true,
2287
2631
  "complexType": {
2288
- "original": "{ data?: any, name: string }",
2289
- "resolved": "{ data?: any; name: string; }",
2632
+ "original": "boolean",
2633
+ "resolved": "boolean",
2290
2634
  "references": {}
2291
2635
  },
2292
2636
  "cancelable": true,
@@ -2294,14 +2638,40 @@
2294
2638
  "docs": "",
2295
2639
  "docsTags": []
2296
2640
  },
2641
+ {
2642
+ "event": "serverError",
2643
+ "detail": "BusinessFormServerErrorEvent",
2644
+ "bubbles": true,
2645
+ "complexType": {
2646
+ "original": "BusinessFormServerErrorEvent",
2647
+ "resolved": "BusinessFormServerErrorEvent",
2648
+ "references": {
2649
+ "BusinessFormServerErrorEvent": {
2650
+ "location": "import",
2651
+ "path": "../../utils/business-form-types",
2652
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
2653
+ }
2654
+ }
2655
+ },
2656
+ "cancelable": true,
2657
+ "composed": true,
2658
+ "docs": "",
2659
+ "docsTags": []
2660
+ },
2297
2661
  {
2298
2662
  "event": "submitted",
2299
- "detail": "{ data: any; }",
2663
+ "detail": "BusinessFormSubmitEvent",
2300
2664
  "bubbles": true,
2301
2665
  "complexType": {
2302
- "original": "{ data: any }",
2303
- "resolved": "{ data: any; }",
2304
- "references": {}
2666
+ "original": "BusinessFormSubmitEvent",
2667
+ "resolved": "BusinessFormSubmitEvent",
2668
+ "references": {
2669
+ "BusinessFormSubmitEvent": {
2670
+ "location": "import",
2671
+ "path": "../../utils/business-form-types",
2672
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
2673
+ }
2674
+ }
2305
2675
  },
2306
2676
  "cancelable": true,
2307
2677
  "composed": true,
@@ -2313,66 +2683,51 @@
2313
2683
  "styles": [],
2314
2684
  "slots": [],
2315
2685
  "parts": [],
2316
- "dependents": [],
2686
+ "dependents": [
2687
+ "justifi-payment-provisioning"
2688
+ ],
2317
2689
  "dependencies": [
2318
- "justifi-business-generic-info",
2319
- "justifi-legal-address-form",
2320
- "justifi-additional-questions",
2321
- "justifi-business-representative"
2690
+ "form-control-text",
2691
+ "form-control-select",
2692
+ "form-control-number-masked"
2322
2693
  ],
2323
2694
  "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": [
2695
+ "justifi-business-core-info-form-step": [
2331
2696
  "form-control-text",
2332
2697
  "form-control-select",
2333
2698
  "form-control-number-masked"
2334
2699
  ],
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"
2700
+ "justifi-payment-provisioning": [
2701
+ "justifi-business-core-info-form-step"
2355
2702
  ]
2356
2703
  }
2357
2704
  },
2358
2705
  {
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",
2706
+ "filePath": "src/components/business-details/business-details.tsx",
2707
+ "encapsulation": "shadow",
2708
+ "tag": "justifi-business-details",
2709
+ "readme": "# justifi-business-details\n\n\n",
2363
2710
  "docs": "",
2364
2711
  "docsTags": [
2365
2712
  {
2366
2713
  "name": "exportedPart",
2367
- "text": "label: Label for inputs"
2714
+ "text": "detail-section"
2368
2715
  },
2369
2716
  {
2370
2717
  "name": "exportedPart",
2371
- "text": "input: The input fields"
2718
+ "text": "detail-section-title"
2372
2719
  },
2373
2720
  {
2374
2721
  "name": "exportedPart",
2375
- "text": "input-invalid: Invalid state for inputfs"
2722
+ "text": "detail-section-item-title"
2723
+ },
2724
+ {
2725
+ "name": "exportedPart",
2726
+ "text": "detail-section-item-data"
2727
+ },
2728
+ {
2729
+ "name": "exportedPart",
2730
+ "text": "detail-empty-state"
2376
2731
  }
2377
2732
  ],
2378
2733
  "usage": {},
@@ -2418,39 +2773,105 @@
2418
2773
  ],
2419
2774
  "optional": false,
2420
2775
  "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": {
2448
- "original": "boolean",
2449
- "resolved": "boolean",
2450
- "references": {}
2776
+ }
2777
+ ],
2778
+ "methods": [],
2779
+ "events": [],
2780
+ "listeners": [],
2781
+ "styles": [],
2782
+ "slots": [],
2783
+ "parts": [],
2784
+ "dependents": [],
2785
+ "dependencies": [
2786
+ "business-details-core"
2787
+ ],
2788
+ "dependencyGraph": {
2789
+ "justifi-business-details": [
2790
+ "business-details-core"
2791
+ ],
2792
+ "business-details-core": [
2793
+ "generic-info-details",
2794
+ "legal-address-details",
2795
+ "representative-details",
2796
+ "owner-details",
2797
+ "additional-questions-details"
2798
+ ]
2799
+ }
2800
+ },
2801
+ {
2802
+ "filePath": "src/components/business-forms/business-form/business-form.tsx",
2803
+ "encapsulation": "none",
2804
+ "tag": "justifi-business-form",
2805
+ "readme": "# justifi-business-info\n\n\n",
2806
+ "docs": "",
2807
+ "docsTags": [
2808
+ {
2809
+ "name": "exportedPart",
2810
+ "text": "label: Label for inputs"
2811
+ },
2812
+ {
2813
+ "name": "exportedPart",
2814
+ "text": "input: The input fields"
2815
+ },
2816
+ {
2817
+ "name": "exportedPart",
2818
+ "text": "input-invalid: Invalid state for inputfs"
2819
+ }
2820
+ ],
2821
+ "usage": {},
2822
+ "props": [
2823
+ {
2824
+ "name": "authToken",
2825
+ "type": "string",
2826
+ "complexType": {
2827
+ "original": "string",
2828
+ "resolved": "string",
2829
+ "references": {}
2451
2830
  },
2452
2831
  "mutable": false,
2453
- "attr": "test-mode",
2832
+ "attr": "auth-token",
2833
+ "reflectToAttr": false,
2834
+ "docs": "",
2835
+ "docsTags": [],
2836
+ "values": [
2837
+ {
2838
+ "type": "string"
2839
+ }
2840
+ ],
2841
+ "optional": false,
2842
+ "required": false
2843
+ },
2844
+ {
2845
+ "name": "businessId",
2846
+ "type": "string",
2847
+ "complexType": {
2848
+ "original": "string",
2849
+ "resolved": "string",
2850
+ "references": {}
2851
+ },
2852
+ "mutable": false,
2853
+ "attr": "business-id",
2854
+ "reflectToAttr": false,
2855
+ "docs": "",
2856
+ "docsTags": [],
2857
+ "values": [
2858
+ {
2859
+ "type": "string"
2860
+ }
2861
+ ],
2862
+ "optional": false,
2863
+ "required": false
2864
+ },
2865
+ {
2866
+ "name": "hideErrors",
2867
+ "type": "boolean",
2868
+ "complexType": {
2869
+ "original": "boolean",
2870
+ "resolved": "boolean",
2871
+ "references": {}
2872
+ },
2873
+ "mutable": false,
2874
+ "attr": "hide-errors",
2454
2875
  "reflectToAttr": false,
2455
2876
  "docs": "",
2456
2877
  "docsTags": [],
@@ -2460,7 +2881,7 @@
2460
2881
  "type": "boolean"
2461
2882
  }
2462
2883
  ],
2463
- "optional": false,
2884
+ "optional": true,
2464
2885
  "required": false
2465
2886
  }
2466
2887
  ],
@@ -2468,12 +2889,18 @@
2468
2889
  "events": [
2469
2890
  {
2470
2891
  "event": "clickEvent",
2471
- "detail": "{ data?: any; name: string; }",
2892
+ "detail": "BusinessFormClickEvent",
2472
2893
  "bubbles": true,
2473
2894
  "complexType": {
2474
- "original": "{ data?: any, name: string }",
2475
- "resolved": "{ data?: any; name: string; }",
2476
- "references": {}
2895
+ "original": "BusinessFormClickEvent",
2896
+ "resolved": "BusinessFormClickEvent",
2897
+ "references": {
2898
+ "BusinessFormClickEvent": {
2899
+ "location": "import",
2900
+ "path": "../utils/business-form-types",
2901
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormClickEvent"
2902
+ }
2903
+ }
2477
2904
  },
2478
2905
  "cancelable": true,
2479
2906
  "composed": true,
@@ -2482,12 +2909,18 @@
2482
2909
  },
2483
2910
  {
2484
2911
  "event": "submitted",
2485
- "detail": "{ data: any; }",
2912
+ "detail": "BusinessFormSubmitEvent",
2486
2913
  "bubbles": true,
2487
2914
  "complexType": {
2488
- "original": "{ data: any }",
2489
- "resolved": "{ data: any; }",
2490
- "references": {}
2915
+ "original": "BusinessFormSubmitEvent",
2916
+ "resolved": "BusinessFormSubmitEvent",
2917
+ "references": {
2918
+ "BusinessFormSubmitEvent": {
2919
+ "location": "import",
2920
+ "path": "../utils/business-form-types",
2921
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
2922
+ }
2923
+ }
2491
2924
  },
2492
2925
  "cancelable": true,
2493
2926
  "composed": true,
@@ -2501,19 +2934,19 @@
2501
2934
  "parts": [],
2502
2935
  "dependents": [],
2503
2936
  "dependencies": [
2504
- "justifi-business-generic-info",
2937
+ "justifi-business-core-info",
2505
2938
  "justifi-legal-address-form",
2506
2939
  "justifi-additional-questions",
2507
2940
  "justifi-business-representative"
2508
2941
  ],
2509
2942
  "dependencyGraph": {
2510
- "justifi-business-form-stepped": [
2511
- "justifi-business-generic-info",
2943
+ "justifi-business-form": [
2944
+ "justifi-business-core-info",
2512
2945
  "justifi-legal-address-form",
2513
2946
  "justifi-additional-questions",
2514
2947
  "justifi-business-representative"
2515
2948
  ],
2516
- "justifi-business-generic-info": [
2949
+ "justifi-business-core-info": [
2517
2950
  "form-control-text",
2518
2951
  "form-control-select",
2519
2952
  "form-control-number-masked"
@@ -2541,84 +2974,6 @@
2541
2974
  ]
2542
2975
  }
2543
2976
  },
2544
- {
2545
- "filePath": "src/components/business-form/business-generic-info/business-generic-info.tsx",
2546
- "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.",
2550
- "docsTags": [
2551
- {
2552
- "name": "exportedPart",
2553
- "text": "label: Label for inputs"
2554
- },
2555
- {
2556
- "name": "exportedPart",
2557
- "text": "input: The input fields"
2558
- },
2559
- {
2560
- "name": "exportedPart",
2561
- "text": "input-invalid: Invalid state for inputfs"
2562
- }
2563
- ],
2564
- "usage": {},
2565
- "props": [
2566
- {
2567
- "name": "formController",
2568
- "type": "FormController",
2569
- "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
- }
2578
- }
2579
- },
2580
- "mutable": false,
2581
- "reflectToAttr": false,
2582
- "docs": "",
2583
- "docsTags": [],
2584
- "values": [
2585
- {
2586
- "type": "FormController"
2587
- }
2588
- ],
2589
- "optional": false,
2590
- "required": false
2591
- }
2592
- ],
2593
- "methods": [],
2594
- "events": [],
2595
- "listeners": [],
2596
- "styles": [],
2597
- "slots": [],
2598
- "parts": [],
2599
- "dependents": [
2600
- "justifi-business-form",
2601
- "justifi-business-form-stepped"
2602
- ],
2603
- "dependencies": [
2604
- "form-control-text",
2605
- "form-control-select",
2606
- "form-control-number-masked"
2607
- ],
2608
- "dependencyGraph": {
2609
- "justifi-business-generic-info": [
2610
- "form-control-text",
2611
- "form-control-select",
2612
- "form-control-number-masked"
2613
- ],
2614
- "justifi-business-form": [
2615
- "justifi-business-generic-info"
2616
- ],
2617
- "justifi-business-form-stepped": [
2618
- "justifi-business-generic-info"
2619
- ]
2620
- }
2621
- },
2622
2977
  {
2623
2978
  "filePath": "src/components/business-list/business-list.tsx",
2624
2979
  "encapsulation": "shadow",
@@ -2772,7 +3127,7 @@
2772
3127
  }
2773
3128
  },
2774
3129
  {
2775
- "filePath": "src/components/business-form/business-owners/business-owners.tsx",
3130
+ "filePath": "src/components/business-forms/business-form/business-owners/business-owners.tsx",
2776
3131
  "encapsulation": "none",
2777
3132
  "tag": "justifi-business-owners",
2778
3133
  "readme": "# justifi-business-owners\n\n\n",
@@ -2802,7 +3157,7 @@
2802
3157
  "references": {
2803
3158
  "FormController": {
2804
3159
  "location": "import",
2805
- "path": "../../form/form",
3160
+ "path": "../../../form/form",
2806
3161
  "id": "src/components/form/form.ts::FormController"
2807
3162
  }
2808
3163
  }
@@ -2843,62 +3198,250 @@
2843
3198
  }
2844
3199
  },
2845
3200
  {
2846
- "filePath": "src/components/business-form/business-representative/business-representative.tsx",
3201
+ "filePath": "src/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.tsx",
2847
3202
  "encapsulation": "none",
2848
- "tag": "justifi-business-representative",
2849
- "readme": "# justifi-business-representative\n\n\n",
3203
+ "tag": "justifi-business-owners-form-step",
3204
+ "readme": "# justifi-business-owners\n\n\n",
2850
3205
  "docs": "",
2851
- "docsTags": [],
3206
+ "docsTags": [
3207
+ {
3208
+ "name": "exportedPart",
3209
+ "text": "label: Label for inputs"
3210
+ },
3211
+ {
3212
+ "name": "exportedPart",
3213
+ "text": "input: The input fields"
3214
+ },
3215
+ {
3216
+ "name": "exportedPart",
3217
+ "text": "input-invalid: Invalid state for inputfs"
3218
+ }
3219
+ ],
2852
3220
  "usage": {},
2853
3221
  "props": [
2854
3222
  {
2855
- "name": "formController",
2856
- "type": "FormController",
3223
+ "name": "authToken",
3224
+ "type": "string",
2857
3225
  "complexType": {
2858
- "original": "FormController",
2859
- "resolved": "FormController",
2860
- "references": {
2861
- "FormController": {
2862
- "location": "import",
2863
- "path": "../../form/form",
2864
- "id": "src/components/form/form.ts::FormController"
2865
- }
3226
+ "original": "string",
3227
+ "resolved": "string",
3228
+ "references": {}
3229
+ },
3230
+ "mutable": false,
3231
+ "attr": "auth-token",
3232
+ "reflectToAttr": false,
3233
+ "docs": "",
3234
+ "docsTags": [],
3235
+ "values": [
3236
+ {
3237
+ "type": "string"
2866
3238
  }
3239
+ ],
3240
+ "optional": false,
3241
+ "required": false
3242
+ },
3243
+ {
3244
+ "name": "businessId",
3245
+ "type": "string",
3246
+ "complexType": {
3247
+ "original": "string",
3248
+ "resolved": "string",
3249
+ "references": {}
2867
3250
  },
2868
3251
  "mutable": false,
3252
+ "attr": "business-id",
2869
3253
  "reflectToAttr": false,
2870
3254
  "docs": "",
2871
3255
  "docsTags": [],
2872
3256
  "values": [
2873
3257
  {
2874
- "type": "FormController"
3258
+ "type": "string"
2875
3259
  }
2876
3260
  ],
2877
3261
  "optional": false,
2878
3262
  "required": false
2879
3263
  }
2880
3264
  ],
2881
- "methods": [],
2882
- "events": [],
2883
- "listeners": [],
2884
- "styles": [],
2885
- "slots": [],
2886
- "parts": [
3265
+ "methods": [
2887
3266
  {
2888
- "name": "label",
2889
- "docs": ""
2890
- }
2891
- ],
2892
- "dependents": [
2893
- "justifi-business-form",
2894
- "justifi-business-form-stepped"
2895
- ],
2896
- "dependencies": [
2897
- "form-control-text",
2898
- "form-control-select",
2899
- "form-control-number-masked",
2900
- "form-control-datepart",
2901
- "form-control-number",
3267
+ "name": "validateAndSubmit",
3268
+ "returns": {
3269
+ "type": "Promise<void>",
3270
+ "docs": ""
3271
+ },
3272
+ "complexType": {
3273
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
3274
+ "parameters": [
3275
+ {
3276
+ "name": "__0",
3277
+ "type": "{ onSuccess: any; }",
3278
+ "docs": ""
3279
+ }
3280
+ ],
3281
+ "references": {
3282
+ "Promise": {
3283
+ "location": "global",
3284
+ "id": "global::Promise"
3285
+ }
3286
+ },
3287
+ "return": "Promise<void>"
3288
+ },
3289
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
3290
+ "parameters": [
3291
+ {
3292
+ "name": "__0",
3293
+ "type": "{ onSuccess: any; }",
3294
+ "docs": ""
3295
+ }
3296
+ ],
3297
+ "docs": "",
3298
+ "docsTags": []
3299
+ }
3300
+ ],
3301
+ "events": [
3302
+ {
3303
+ "event": "formLoading",
3304
+ "detail": "boolean",
3305
+ "bubbles": true,
3306
+ "complexType": {
3307
+ "original": "boolean",
3308
+ "resolved": "boolean",
3309
+ "references": {}
3310
+ },
3311
+ "cancelable": true,
3312
+ "composed": true,
3313
+ "docs": "",
3314
+ "docsTags": []
3315
+ },
3316
+ {
3317
+ "event": "serverError",
3318
+ "detail": "BusinessFormServerErrorEvent",
3319
+ "bubbles": true,
3320
+ "complexType": {
3321
+ "original": "BusinessFormServerErrorEvent",
3322
+ "resolved": "BusinessFormServerErrorEvent",
3323
+ "references": {
3324
+ "BusinessFormServerErrorEvent": {
3325
+ "location": "import",
3326
+ "path": "../../utils/business-form-types",
3327
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
3328
+ }
3329
+ }
3330
+ },
3331
+ "cancelable": true,
3332
+ "composed": true,
3333
+ "docs": "",
3334
+ "docsTags": []
3335
+ },
3336
+ {
3337
+ "event": "submitted",
3338
+ "detail": "BusinessFormSubmitEvent",
3339
+ "bubbles": true,
3340
+ "complexType": {
3341
+ "original": "BusinessFormSubmitEvent",
3342
+ "resolved": "BusinessFormSubmitEvent",
3343
+ "references": {
3344
+ "BusinessFormSubmitEvent": {
3345
+ "location": "import",
3346
+ "path": "../../utils/business-form-types",
3347
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
3348
+ }
3349
+ }
3350
+ },
3351
+ "cancelable": true,
3352
+ "composed": true,
3353
+ "docs": "",
3354
+ "docsTags": []
3355
+ }
3356
+ ],
3357
+ "listeners": [],
3358
+ "styles": [],
3359
+ "slots": [],
3360
+ "parts": [],
3361
+ "dependents": [
3362
+ "justifi-payment-provisioning"
3363
+ ],
3364
+ "dependencies": [
3365
+ "justifi-owner-form"
3366
+ ],
3367
+ "dependencyGraph": {
3368
+ "justifi-business-owners-form-step": [
3369
+ "justifi-owner-form"
3370
+ ],
3371
+ "justifi-owner-form": [
3372
+ "form-control-text",
3373
+ "form-control-select",
3374
+ "form-control-number-masked",
3375
+ "form-control-datepart",
3376
+ "form-control-number",
3377
+ "justifi-business-address-form"
3378
+ ],
3379
+ "justifi-business-address-form": [
3380
+ "form-control-text",
3381
+ "form-control-select",
3382
+ "form-control-number"
3383
+ ],
3384
+ "justifi-payment-provisioning": [
3385
+ "justifi-business-owners-form-step"
3386
+ ]
3387
+ }
3388
+ },
3389
+ {
3390
+ "filePath": "src/components/business-forms/business-form/business-representative/business-representative.tsx",
3391
+ "encapsulation": "none",
3392
+ "tag": "justifi-business-representative",
3393
+ "readme": "# justifi-business-representative\n\n\n",
3394
+ "docs": "",
3395
+ "docsTags": [],
3396
+ "usage": {},
3397
+ "props": [
3398
+ {
3399
+ "name": "formController",
3400
+ "type": "FormController",
3401
+ "complexType": {
3402
+ "original": "FormController",
3403
+ "resolved": "FormController",
3404
+ "references": {
3405
+ "FormController": {
3406
+ "location": "import",
3407
+ "path": "../../../form/form",
3408
+ "id": "src/components/form/form.ts::FormController"
3409
+ }
3410
+ }
3411
+ },
3412
+ "mutable": false,
3413
+ "reflectToAttr": false,
3414
+ "docs": "",
3415
+ "docsTags": [],
3416
+ "values": [
3417
+ {
3418
+ "type": "FormController"
3419
+ }
3420
+ ],
3421
+ "optional": false,
3422
+ "required": false
3423
+ }
3424
+ ],
3425
+ "methods": [],
3426
+ "events": [],
3427
+ "listeners": [],
3428
+ "styles": [],
3429
+ "slots": [],
3430
+ "parts": [
3431
+ {
3432
+ "name": "label",
3433
+ "docs": ""
3434
+ }
3435
+ ],
3436
+ "dependents": [
3437
+ "justifi-business-form"
3438
+ ],
3439
+ "dependencies": [
3440
+ "form-control-text",
3441
+ "form-control-select",
3442
+ "form-control-number-masked",
3443
+ "form-control-datepart",
3444
+ "form-control-number",
2902
3445
  "justifi-business-address-form"
2903
3446
  ],
2904
3447
  "dependencyGraph": {
@@ -2915,11 +3458,191 @@
2915
3458
  "form-control-select",
2916
3459
  "form-control-number"
2917
3460
  ],
2918
- "justifi-business-form": [
2919
- "justifi-business-representative"
2920
- ],
2921
- "justifi-business-form-stepped": [
2922
- "justifi-business-representative"
3461
+ "justifi-business-form": [
3462
+ "justifi-business-representative"
3463
+ ]
3464
+ }
3465
+ },
3466
+ {
3467
+ "filePath": "src/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.tsx",
3468
+ "encapsulation": "none",
3469
+ "tag": "justifi-business-representative-form-step",
3470
+ "readme": "# justifi-business-representative-form-step\n\n\n",
3471
+ "docs": "",
3472
+ "docsTags": [],
3473
+ "usage": {},
3474
+ "props": [
3475
+ {
3476
+ "name": "authToken",
3477
+ "type": "string",
3478
+ "complexType": {
3479
+ "original": "string",
3480
+ "resolved": "string",
3481
+ "references": {}
3482
+ },
3483
+ "mutable": false,
3484
+ "attr": "auth-token",
3485
+ "reflectToAttr": false,
3486
+ "docs": "",
3487
+ "docsTags": [],
3488
+ "values": [
3489
+ {
3490
+ "type": "string"
3491
+ }
3492
+ ],
3493
+ "optional": false,
3494
+ "required": false
3495
+ },
3496
+ {
3497
+ "name": "businessId",
3498
+ "type": "string",
3499
+ "complexType": {
3500
+ "original": "string",
3501
+ "resolved": "string",
3502
+ "references": {}
3503
+ },
3504
+ "mutable": false,
3505
+ "attr": "business-id",
3506
+ "reflectToAttr": false,
3507
+ "docs": "",
3508
+ "docsTags": [],
3509
+ "values": [
3510
+ {
3511
+ "type": "string"
3512
+ }
3513
+ ],
3514
+ "optional": false,
3515
+ "required": false
3516
+ }
3517
+ ],
3518
+ "methods": [
3519
+ {
3520
+ "name": "validateAndSubmit",
3521
+ "returns": {
3522
+ "type": "Promise<void>",
3523
+ "docs": ""
3524
+ },
3525
+ "complexType": {
3526
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
3527
+ "parameters": [
3528
+ {
3529
+ "name": "__0",
3530
+ "type": "{ onSuccess: any; }",
3531
+ "docs": ""
3532
+ }
3533
+ ],
3534
+ "references": {
3535
+ "Promise": {
3536
+ "location": "global",
3537
+ "id": "global::Promise"
3538
+ }
3539
+ },
3540
+ "return": "Promise<void>"
3541
+ },
3542
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
3543
+ "parameters": [
3544
+ {
3545
+ "name": "__0",
3546
+ "type": "{ onSuccess: any; }",
3547
+ "docs": ""
3548
+ }
3549
+ ],
3550
+ "docs": "",
3551
+ "docsTags": []
3552
+ }
3553
+ ],
3554
+ "events": [
3555
+ {
3556
+ "event": "formLoading",
3557
+ "detail": "boolean",
3558
+ "bubbles": true,
3559
+ "complexType": {
3560
+ "original": "boolean",
3561
+ "resolved": "boolean",
3562
+ "references": {}
3563
+ },
3564
+ "cancelable": true,
3565
+ "composed": true,
3566
+ "docs": "",
3567
+ "docsTags": []
3568
+ },
3569
+ {
3570
+ "event": "serverError",
3571
+ "detail": "BusinessFormServerErrorEvent",
3572
+ "bubbles": true,
3573
+ "complexType": {
3574
+ "original": "BusinessFormServerErrorEvent",
3575
+ "resolved": "BusinessFormServerErrorEvent",
3576
+ "references": {
3577
+ "BusinessFormServerErrorEvent": {
3578
+ "location": "import",
3579
+ "path": "../../utils/business-form-types",
3580
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
3581
+ }
3582
+ }
3583
+ },
3584
+ "cancelable": true,
3585
+ "composed": true,
3586
+ "docs": "",
3587
+ "docsTags": []
3588
+ },
3589
+ {
3590
+ "event": "submitted",
3591
+ "detail": "BusinessFormSubmitEvent",
3592
+ "bubbles": true,
3593
+ "complexType": {
3594
+ "original": "BusinessFormSubmitEvent",
3595
+ "resolved": "BusinessFormSubmitEvent",
3596
+ "references": {
3597
+ "BusinessFormSubmitEvent": {
3598
+ "location": "import",
3599
+ "path": "../../utils/business-form-types",
3600
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
3601
+ }
3602
+ }
3603
+ },
3604
+ "cancelable": true,
3605
+ "composed": true,
3606
+ "docs": "",
3607
+ "docsTags": []
3608
+ }
3609
+ ],
3610
+ "listeners": [],
3611
+ "styles": [],
3612
+ "slots": [],
3613
+ "parts": [
3614
+ {
3615
+ "name": "label",
3616
+ "docs": ""
3617
+ }
3618
+ ],
3619
+ "dependents": [
3620
+ "justifi-payment-provisioning"
3621
+ ],
3622
+ "dependencies": [
3623
+ "form-control-text",
3624
+ "form-control-select",
3625
+ "form-control-number-masked",
3626
+ "form-control-datepart",
3627
+ "form-control-number",
3628
+ "justifi-business-address-form"
3629
+ ],
3630
+ "dependencyGraph": {
3631
+ "justifi-business-representative-form-step": [
3632
+ "form-control-text",
3633
+ "form-control-select",
3634
+ "form-control-number-masked",
3635
+ "form-control-datepart",
3636
+ "form-control-number",
3637
+ "justifi-business-address-form"
3638
+ ],
3639
+ "justifi-business-address-form": [
3640
+ "form-control-text",
3641
+ "form-control-select",
3642
+ "form-control-number"
3643
+ ],
3644
+ "justifi-payment-provisioning": [
3645
+ "justifi-business-representative-form-step"
2923
3646
  ]
2924
3647
  }
2925
3648
  },
@@ -3336,7 +4059,263 @@
3336
4059
  "usage": {},
3337
4060
  "props": [
3338
4061
  {
3339
- "name": "authToken",
4062
+ "name": "authToken",
4063
+ "type": "string",
4064
+ "complexType": {
4065
+ "original": "string",
4066
+ "resolved": "string",
4067
+ "references": {}
4068
+ },
4069
+ "mutable": false,
4070
+ "attr": "auth-token",
4071
+ "reflectToAttr": false,
4072
+ "docs": "",
4073
+ "docsTags": [],
4074
+ "values": [
4075
+ {
4076
+ "type": "string"
4077
+ }
4078
+ ],
4079
+ "optional": false,
4080
+ "required": false
4081
+ },
4082
+ {
4083
+ "name": "checkoutId",
4084
+ "type": "string",
4085
+ "complexType": {
4086
+ "original": "string",
4087
+ "resolved": "string",
4088
+ "references": {}
4089
+ },
4090
+ "mutable": false,
4091
+ "attr": "checkout-id",
4092
+ "reflectToAttr": false,
4093
+ "docs": "",
4094
+ "docsTags": [],
4095
+ "values": [
4096
+ {
4097
+ "type": "string"
4098
+ }
4099
+ ],
4100
+ "optional": false,
4101
+ "required": false
4102
+ },
4103
+ {
4104
+ "name": "getCheckout",
4105
+ "type": "Function",
4106
+ "complexType": {
4107
+ "original": "Function",
4108
+ "resolved": "Function",
4109
+ "references": {
4110
+ "Function": {
4111
+ "location": "global",
4112
+ "id": "global::Function"
4113
+ }
4114
+ }
4115
+ },
4116
+ "mutable": false,
4117
+ "reflectToAttr": false,
4118
+ "docs": "",
4119
+ "docsTags": [],
4120
+ "values": [
4121
+ {
4122
+ "type": "Function"
4123
+ }
4124
+ ],
4125
+ "optional": false,
4126
+ "required": false
4127
+ },
4128
+ {
4129
+ "name": "iframeOrigin",
4130
+ "type": "string",
4131
+ "complexType": {
4132
+ "original": "string",
4133
+ "resolved": "string",
4134
+ "references": {}
4135
+ },
4136
+ "mutable": true,
4137
+ "attr": "iframe-origin",
4138
+ "reflectToAttr": false,
4139
+ "docs": "URL for the rendered iFrame. End-users need not use this.",
4140
+ "docsTags": [],
4141
+ "default": "config.iframeOrigin",
4142
+ "values": [
4143
+ {
4144
+ "type": "string"
4145
+ }
4146
+ ],
4147
+ "optional": true,
4148
+ "required": false
4149
+ },
4150
+ {
4151
+ "name": "pay",
4152
+ "type": "Function",
4153
+ "complexType": {
4154
+ "original": "Function",
4155
+ "resolved": "Function",
4156
+ "references": {
4157
+ "Function": {
4158
+ "location": "global",
4159
+ "id": "global::Function"
4160
+ }
4161
+ }
4162
+ },
4163
+ "mutable": false,
4164
+ "reflectToAttr": false,
4165
+ "docs": "",
4166
+ "docsTags": [],
4167
+ "values": [
4168
+ {
4169
+ "type": "Function"
4170
+ }
4171
+ ],
4172
+ "optional": false,
4173
+ "required": false
4174
+ }
4175
+ ],
4176
+ "methods": [
4177
+ {
4178
+ "name": "loadFontsOnParent",
4179
+ "returns": {
4180
+ "type": "Promise<any>",
4181
+ "docs": ""
4182
+ },
4183
+ "complexType": {
4184
+ "signature": "() => Promise<any>",
4185
+ "parameters": [],
4186
+ "references": {
4187
+ "Promise": {
4188
+ "location": "global",
4189
+ "id": "global::Promise"
4190
+ }
4191
+ },
4192
+ "return": "Promise<any>"
4193
+ },
4194
+ "signature": "loadFontsOnParent() => Promise<any>",
4195
+ "parameters": [],
4196
+ "docs": "",
4197
+ "docsTags": []
4198
+ }
4199
+ ],
4200
+ "events": [
4201
+ {
4202
+ "event": "submitted",
4203
+ "detail": "BankAccountCreateResponse | CardCreateResponse",
4204
+ "bubbles": true,
4205
+ "complexType": {
4206
+ "original": "CreatePaymentMethodResponse",
4207
+ "resolved": "BankAccountCreateResponse | CardCreateResponse",
4208
+ "references": {
4209
+ "CreatePaymentMethodResponse": {
4210
+ "location": "import",
4211
+ "path": "../payment-method-form/payment-method-responses",
4212
+ "id": "src/components/payment-method-form/payment-method-responses.ts::CreatePaymentMethodResponse"
4213
+ }
4214
+ }
4215
+ },
4216
+ "cancelable": true,
4217
+ "composed": true,
4218
+ "docs": "",
4219
+ "docsTags": []
4220
+ }
4221
+ ],
4222
+ "listeners": [],
4223
+ "styles": [],
4224
+ "slots": [],
4225
+ "parts": [],
4226
+ "dependents": [
4227
+ "justifi-checkout"
4228
+ ],
4229
+ "dependencies": [
4230
+ "justifi-payment-method-options"
4231
+ ],
4232
+ "dependencyGraph": {
4233
+ "justifi-checkout-core": [
4234
+ "justifi-payment-method-options"
4235
+ ],
4236
+ "justifi-payment-method-options": [
4237
+ "justifi-new-payment-method",
4238
+ "justifi-saved-payment-method"
4239
+ ],
4240
+ "justifi-new-payment-method": [
4241
+ "justifi-payment-method-form",
4242
+ "justifi-billing-form"
4243
+ ],
4244
+ "justifi-billing-form": [
4245
+ "text-input",
4246
+ "select-input"
4247
+ ],
4248
+ "justifi-checkout": [
4249
+ "justifi-checkout-core"
4250
+ ]
4251
+ }
4252
+ },
4253
+ {
4254
+ "filePath": "src/components/details/details.tsx",
4255
+ "encapsulation": "shadow",
4256
+ "tag": "justifi-details",
4257
+ "readme": "# justifi-details\n\n\n",
4258
+ "docs": "",
4259
+ "docsTags": [],
4260
+ "usage": {},
4261
+ "props": [
4262
+ {
4263
+ "name": "errorMessage",
4264
+ "type": "string",
4265
+ "complexType": {
4266
+ "original": "string",
4267
+ "resolved": "string",
4268
+ "references": {}
4269
+ },
4270
+ "mutable": false,
4271
+ "attr": "error-message",
4272
+ "reflectToAttr": false,
4273
+ "docs": "",
4274
+ "docsTags": [],
4275
+ "values": [
4276
+ {
4277
+ "type": "string"
4278
+ }
4279
+ ],
4280
+ "optional": false,
4281
+ "required": false
4282
+ }
4283
+ ],
4284
+ "methods": [],
4285
+ "events": [],
4286
+ "listeners": [],
4287
+ "styles": [],
4288
+ "slots": [],
4289
+ "parts": [],
4290
+ "dependents": [
4291
+ "justifi-subaccount-details",
4292
+ "payment-details-core",
4293
+ "payout-details-core"
4294
+ ],
4295
+ "dependencies": [],
4296
+ "dependencyGraph": {
4297
+ "justifi-subaccount-details": [
4298
+ "justifi-details"
4299
+ ],
4300
+ "payment-details-core": [
4301
+ "justifi-details"
4302
+ ],
4303
+ "payout-details-core": [
4304
+ "justifi-details"
4305
+ ]
4306
+ }
4307
+ },
4308
+ {
4309
+ "filePath": "src/components/gross-payment-chart/gross-payment-chart.tsx",
4310
+ "encapsulation": "shadow",
4311
+ "tag": "justifi-gross-payment-chart",
4312
+ "readme": "# justifi-gross-payment-chart\n\n\n",
4313
+ "docs": "",
4314
+ "docsTags": [],
4315
+ "usage": {},
4316
+ "props": [
4317
+ {
4318
+ "name": "accountId",
3340
4319
  "type": "string",
3341
4320
  "complexType": {
3342
4321
  "original": "string",
@@ -3344,7 +4323,7 @@
3344
4323
  "references": {}
3345
4324
  },
3346
4325
  "mutable": false,
3347
- "attr": "auth-token",
4326
+ "attr": "account-id",
3348
4327
  "reflectToAttr": false,
3349
4328
  "docs": "",
3350
4329
  "docsTags": [],
@@ -3357,7 +4336,7 @@
3357
4336
  "required": false
3358
4337
  },
3359
4338
  {
3360
- "name": "checkoutId",
4339
+ "name": "authToken",
3361
4340
  "type": "string",
3362
4341
  "complexType": {
3363
4342
  "original": "string",
@@ -3365,7 +4344,7 @@
3365
4344
  "references": {}
3366
4345
  },
3367
4346
  "mutable": false,
3368
- "attr": "checkout-id",
4347
+ "attr": "auth-token",
3369
4348
  "reflectToAttr": false,
3370
4349
  "docs": "",
3371
4350
  "docsTags": [],
@@ -3376,17 +4355,57 @@
3376
4355
  ],
3377
4356
  "optional": false,
3378
4357
  "required": false
4358
+ }
4359
+ ],
4360
+ "methods": [],
4361
+ "events": [],
4362
+ "listeners": [],
4363
+ "styles": [],
4364
+ "slots": [],
4365
+ "parts": [],
4366
+ "dependents": [],
4367
+ "dependencies": [
4368
+ "gross-payment-chart-core"
4369
+ ],
4370
+ "dependencyGraph": {
4371
+ "justifi-gross-payment-chart": [
4372
+ "gross-payment-chart-core"
4373
+ ]
4374
+ }
4375
+ },
4376
+ {
4377
+ "filePath": "src/components/business-forms/business-form/legal-address-form/legal-address-form.tsx",
4378
+ "encapsulation": "none",
4379
+ "tag": "justifi-legal-address-form",
4380
+ "readme": "# legal-address-form\n\n\n",
4381
+ "docs": "",
4382
+ "docsTags": [
4383
+ {
4384
+ "name": "exportedPart",
4385
+ "text": "label: Label for inputs"
3379
4386
  },
3380
4387
  {
3381
- "name": "getCheckout",
3382
- "type": "Function",
4388
+ "name": "exportedPart",
4389
+ "text": "input: The input fields"
4390
+ },
4391
+ {
4392
+ "name": "exportedPart",
4393
+ "text": "input-invalid: Invalid state for inputfs"
4394
+ }
4395
+ ],
4396
+ "usage": {},
4397
+ "props": [
4398
+ {
4399
+ "name": "formController",
4400
+ "type": "FormController",
3383
4401
  "complexType": {
3384
- "original": "Function",
3385
- "resolved": "Function",
4402
+ "original": "FormController",
4403
+ "resolved": "FormController",
3386
4404
  "references": {
3387
- "Function": {
3388
- "location": "global",
3389
- "id": "global::Function"
4405
+ "FormController": {
4406
+ "location": "import",
4407
+ "path": "../../../form/form",
4408
+ "id": "src/components/form/form.ts::FormController"
3390
4409
  }
3391
4410
  }
3392
4411
  },
@@ -3396,54 +4415,97 @@
3396
4415
  "docsTags": [],
3397
4416
  "values": [
3398
4417
  {
3399
- "type": "Function"
4418
+ "type": "FormController"
3400
4419
  }
3401
4420
  ],
3402
4421
  "optional": false,
3403
4422
  "required": false
4423
+ }
4424
+ ],
4425
+ "methods": [],
4426
+ "events": [],
4427
+ "listeners": [],
4428
+ "styles": [],
4429
+ "slots": [],
4430
+ "parts": [],
4431
+ "dependents": [
4432
+ "justifi-business-form"
4433
+ ],
4434
+ "dependencies": [
4435
+ "form-control-text",
4436
+ "form-control-number",
4437
+ "form-control-select"
4438
+ ],
4439
+ "dependencyGraph": {
4440
+ "justifi-legal-address-form": [
4441
+ "form-control-text",
4442
+ "form-control-number",
4443
+ "form-control-select"
4444
+ ],
4445
+ "justifi-business-form": [
4446
+ "justifi-legal-address-form"
4447
+ ]
4448
+ }
4449
+ },
4450
+ {
4451
+ "filePath": "src/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.tsx",
4452
+ "encapsulation": "none",
4453
+ "tag": "justifi-legal-address-form-step",
4454
+ "readme": "# legal-address-form\n\n\n",
4455
+ "docs": "",
4456
+ "docsTags": [
4457
+ {
4458
+ "name": "exportedPart",
4459
+ "text": "label: Label for inputs"
3404
4460
  },
3405
4461
  {
3406
- "name": "iframeOrigin",
4462
+ "name": "exportedPart",
4463
+ "text": "input: The input fields"
4464
+ },
4465
+ {
4466
+ "name": "exportedPart",
4467
+ "text": "input-invalid: Invalid state for inputfs"
4468
+ }
4469
+ ],
4470
+ "usage": {},
4471
+ "props": [
4472
+ {
4473
+ "name": "authToken",
3407
4474
  "type": "string",
3408
4475
  "complexType": {
3409
4476
  "original": "string",
3410
4477
  "resolved": "string",
3411
4478
  "references": {}
3412
4479
  },
3413
- "mutable": true,
3414
- "attr": "iframe-origin",
4480
+ "mutable": false,
4481
+ "attr": "auth-token",
3415
4482
  "reflectToAttr": false,
3416
- "docs": "URL for the rendered iFrame. End-users need not use this.",
4483
+ "docs": "",
3417
4484
  "docsTags": [],
3418
- "default": "config.iframeOrigin",
3419
4485
  "values": [
3420
4486
  {
3421
4487
  "type": "string"
3422
4488
  }
3423
4489
  ],
3424
- "optional": true,
4490
+ "optional": false,
3425
4491
  "required": false
3426
4492
  },
3427
4493
  {
3428
- "name": "pay",
3429
- "type": "Function",
4494
+ "name": "businessId",
4495
+ "type": "string",
3430
4496
  "complexType": {
3431
- "original": "Function",
3432
- "resolved": "Function",
3433
- "references": {
3434
- "Function": {
3435
- "location": "global",
3436
- "id": "global::Function"
3437
- }
3438
- }
4497
+ "original": "string",
4498
+ "resolved": "string",
4499
+ "references": {}
3439
4500
  },
3440
4501
  "mutable": false,
4502
+ "attr": "business-id",
3441
4503
  "reflectToAttr": false,
3442
4504
  "docs": "",
3443
4505
  "docsTags": [],
3444
4506
  "values": [
3445
4507
  {
3446
- "type": "Function"
4508
+ "type": "string"
3447
4509
  }
3448
4510
  ],
3449
4511
  "optional": false,
@@ -3452,41 +4514,67 @@
3452
4514
  ],
3453
4515
  "methods": [
3454
4516
  {
3455
- "name": "loadFontsOnParent",
4517
+ "name": "validateAndSubmit",
3456
4518
  "returns": {
3457
- "type": "Promise<any>",
4519
+ "type": "Promise<void>",
3458
4520
  "docs": ""
3459
4521
  },
3460
4522
  "complexType": {
3461
- "signature": "() => Promise<any>",
3462
- "parameters": [],
4523
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
4524
+ "parameters": [
4525
+ {
4526
+ "name": "__0",
4527
+ "type": "{ onSuccess: any; }",
4528
+ "docs": ""
4529
+ }
4530
+ ],
3463
4531
  "references": {
3464
4532
  "Promise": {
3465
4533
  "location": "global",
3466
4534
  "id": "global::Promise"
3467
4535
  }
3468
4536
  },
3469
- "return": "Promise<any>"
4537
+ "return": "Promise<void>"
3470
4538
  },
3471
- "signature": "loadFontsOnParent() => Promise<any>",
3472
- "parameters": [],
4539
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
4540
+ "parameters": [
4541
+ {
4542
+ "name": "__0",
4543
+ "type": "{ onSuccess: any; }",
4544
+ "docs": ""
4545
+ }
4546
+ ],
3473
4547
  "docs": "",
3474
4548
  "docsTags": []
3475
4549
  }
3476
4550
  ],
3477
4551
  "events": [
3478
4552
  {
3479
- "event": "submitted",
3480
- "detail": "BankAccountCreateResponse | CardCreateResponse",
4553
+ "event": "formLoading",
4554
+ "detail": "boolean",
3481
4555
  "bubbles": true,
3482
4556
  "complexType": {
3483
- "original": "CreatePaymentMethodResponse",
3484
- "resolved": "BankAccountCreateResponse | CardCreateResponse",
4557
+ "original": "boolean",
4558
+ "resolved": "boolean",
4559
+ "references": {}
4560
+ },
4561
+ "cancelable": true,
4562
+ "composed": true,
4563
+ "docs": "",
4564
+ "docsTags": []
4565
+ },
4566
+ {
4567
+ "event": "serverError",
4568
+ "detail": "BusinessFormServerErrorEvent",
4569
+ "bubbles": true,
4570
+ "complexType": {
4571
+ "original": "BusinessFormServerErrorEvent",
4572
+ "resolved": "BusinessFormServerErrorEvent",
3485
4573
  "references": {
3486
- "CreatePaymentMethodResponse": {
4574
+ "BusinessFormServerErrorEvent": {
3487
4575
  "location": "import",
3488
- "path": "../payment-method-form/payment-method-responses",
3489
- "id": "src/components/payment-method-form/payment-method-responses.ts::CreatePaymentMethodResponse"
4576
+ "path": "../../utils/business-form-types",
4577
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
3490
4578
  }
3491
4579
  }
3492
4580
  },
@@ -3494,100 +4582,57 @@
3494
4582
  "composed": true,
3495
4583
  "docs": "",
3496
4584
  "docsTags": []
3497
- }
3498
- ],
3499
- "listeners": [],
3500
- "styles": [],
3501
- "slots": [],
3502
- "parts": [],
3503
- "dependents": [
3504
- "justifi-checkout"
3505
- ],
3506
- "dependencies": [
3507
- "justifi-payment-method-options"
3508
- ],
3509
- "dependencyGraph": {
3510
- "justifi-checkout-core": [
3511
- "justifi-payment-method-options"
3512
- ],
3513
- "justifi-payment-method-options": [
3514
- "justifi-new-payment-method",
3515
- "justifi-saved-payment-method"
3516
- ],
3517
- "justifi-new-payment-method": [
3518
- "justifi-payment-method-form",
3519
- "justifi-billing-form"
3520
- ],
3521
- "justifi-billing-form": [
3522
- "text-input",
3523
- "select-input"
3524
- ],
3525
- "justifi-checkout": [
3526
- "justifi-checkout-core"
3527
- ]
3528
- }
3529
- },
3530
- {
3531
- "filePath": "src/components/details/details.tsx",
3532
- "encapsulation": "shadow",
3533
- "tag": "justifi-details",
3534
- "readme": "# justifi-details\n\n\n",
3535
- "docs": "",
3536
- "docsTags": [],
3537
- "usage": {},
3538
- "props": [
4585
+ },
3539
4586
  {
3540
- "name": "errorMessage",
3541
- "type": "string",
4587
+ "event": "submitted",
4588
+ "detail": "BusinessFormSubmitEvent",
4589
+ "bubbles": true,
3542
4590
  "complexType": {
3543
- "original": "string",
3544
- "resolved": "string",
3545
- "references": {}
4591
+ "original": "BusinessFormSubmitEvent",
4592
+ "resolved": "BusinessFormSubmitEvent",
4593
+ "references": {
4594
+ "BusinessFormSubmitEvent": {
4595
+ "location": "import",
4596
+ "path": "../../utils/business-form-types",
4597
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
4598
+ }
4599
+ }
3546
4600
  },
3547
- "mutable": false,
3548
- "attr": "error-message",
3549
- "reflectToAttr": false,
4601
+ "cancelable": true,
4602
+ "composed": true,
3550
4603
  "docs": "",
3551
- "docsTags": [],
3552
- "values": [
3553
- {
3554
- "type": "string"
3555
- }
3556
- ],
3557
- "optional": false,
3558
- "required": false
4604
+ "docsTags": []
3559
4605
  }
3560
4606
  ],
3561
- "methods": [],
3562
- "events": [],
3563
4607
  "listeners": [],
3564
4608
  "styles": [],
3565
4609
  "slots": [],
3566
4610
  "parts": [],
3567
4611
  "dependents": [
3568
- "justifi-subaccount-details",
3569
- "payment-details-core",
3570
- "payout-details-core"
4612
+ "justifi-payment-provisioning"
4613
+ ],
4614
+ "dependencies": [
4615
+ "form-control-text",
4616
+ "form-control-select",
4617
+ "form-control-number"
3571
4618
  ],
3572
- "dependencies": [],
3573
4619
  "dependencyGraph": {
3574
- "justifi-subaccount-details": [
3575
- "justifi-details"
3576
- ],
3577
- "payment-details-core": [
3578
- "justifi-details"
4620
+ "justifi-legal-address-form-step": [
4621
+ "form-control-text",
4622
+ "form-control-select",
4623
+ "form-control-number"
3579
4624
  ],
3580
- "payout-details-core": [
3581
- "justifi-details"
4625
+ "justifi-payment-provisioning": [
4626
+ "justifi-legal-address-form-step"
3582
4627
  ]
3583
4628
  }
3584
4629
  },
3585
4630
  {
3586
- "filePath": "src/components/gross-payment-chart/gross-payment-chart.tsx",
3587
- "encapsulation": "shadow",
3588
- "tag": "justifi-gross-payment-chart",
3589
- "readme": "# justifi-gross-payment-chart\n\n\n",
3590
- "docs": "",
4631
+ "filePath": "src/components/checkout/new-payment-method.tsx",
4632
+ "encapsulation": "none",
4633
+ "tag": "justifi-new-payment-method",
4634
+ "readme": "<h1>\n <code><justifi-payment-form /></code>\n</h1>\n\n## Examples\n\n```html\n<!DOCTYPE html>\n<html dir=\"ltr\" lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0\" />\n <title>justifi-payment-form: Simple example</title>\n\n <!--\n If you are including the components via CDN the src should be the following:\n https://cdn.jsdelivr.net/npm/@justifi/webcomponents@2.1.0/dist/webcomponents/webcomponents.esm.js\n -->\n <script type=\"module\" src=\"/build/webcomponents.esm.js\"></script>\n <script nomodule src=\"/build/webcomponents.js\"></script>\n </head>\n\n <body>\n <h1>PaymentForm</h1>\n <hr />\n <justifi-payment-form></justifi-payment-form>\n </body>\n\n <script>\n (function () {})();\n </script>\n</html>\n```\n",
4635
+ "docs": "<h1>\n <code><justifi-payment-form /></code>\n</h1>",
3591
4636
  "docsTags": [],
3592
4637
  "usage": {},
3593
4638
  "props": [
@@ -3613,7 +4658,7 @@
3613
4658
  "required": false
3614
4659
  },
3615
4660
  {
3616
- "name": "authToken",
4661
+ "name": "clientId",
3617
4662
  "type": "string",
3618
4663
  "complexType": {
3619
4664
  "original": "string",
@@ -3621,7 +4666,7 @@
3621
4666
  "references": {}
3622
4667
  },
3623
4668
  "mutable": false,
3624
- "attr": "auth-token",
4669
+ "attr": "client-id",
3625
4670
  "reflectToAttr": false,
3626
4671
  "docs": "",
3627
4672
  "docsTags": [],
@@ -3632,57 +4677,61 @@
3632
4677
  ],
3633
4678
  "optional": false,
3634
4679
  "required": false
3635
- }
3636
- ],
3637
- "methods": [],
3638
- "events": [],
3639
- "listeners": [],
3640
- "styles": [],
3641
- "slots": [],
3642
- "parts": [],
3643
- "dependents": [],
3644
- "dependencies": [
3645
- "gross-payment-chart-core"
3646
- ],
3647
- "dependencyGraph": {
3648
- "justifi-gross-payment-chart": [
3649
- "gross-payment-chart-core"
3650
- ]
3651
- }
3652
- },
3653
- {
3654
- "filePath": "src/components/business-form/legal-address-form/legal-address-form.tsx",
3655
- "encapsulation": "none",
3656
- "tag": "justifi-legal-address-form",
3657
- "readme": "# legal-address-form\n\n\n",
3658
- "docs": "",
3659
- "docsTags": [
3660
- {
3661
- "name": "exportedPart",
3662
- "text": "label: Label for inputs"
3663
4680
  },
3664
4681
  {
3665
- "name": "exportedPart",
3666
- "text": "input: The input fields"
4682
+ "name": "iframeOrigin",
4683
+ "type": "string",
4684
+ "complexType": {
4685
+ "original": "string",
4686
+ "resolved": "string",
4687
+ "references": {}
4688
+ },
4689
+ "mutable": true,
4690
+ "attr": "iframe-origin",
4691
+ "reflectToAttr": false,
4692
+ "docs": "",
4693
+ "docsTags": [],
4694
+ "default": "config.iframeOrigin",
4695
+ "values": [
4696
+ {
4697
+ "type": "string"
4698
+ }
4699
+ ],
4700
+ "optional": true,
4701
+ "required": false
3667
4702
  },
3668
4703
  {
3669
- "name": "exportedPart",
3670
- "text": "input-invalid: Invalid state for inputfs"
3671
- }
3672
- ],
3673
- "usage": {},
3674
- "props": [
4704
+ "name": "isSelected",
4705
+ "type": "boolean",
4706
+ "complexType": {
4707
+ "original": "boolean",
4708
+ "resolved": "boolean",
4709
+ "references": {}
4710
+ },
4711
+ "mutable": false,
4712
+ "attr": "is-selected",
4713
+ "reflectToAttr": false,
4714
+ "docs": "",
4715
+ "docsTags": [],
4716
+ "values": [
4717
+ {
4718
+ "type": "boolean"
4719
+ }
4720
+ ],
4721
+ "optional": false,
4722
+ "required": false
4723
+ },
3675
4724
  {
3676
- "name": "formController",
3677
- "type": "FormController",
4725
+ "name": "paymentMethodOption",
4726
+ "type": "PaymentMethodOption",
3678
4727
  "complexType": {
3679
- "original": "FormController",
3680
- "resolved": "FormController",
4728
+ "original": "PaymentMethodOption",
4729
+ "resolved": "PaymentMethodOption",
3681
4730
  "references": {
3682
- "FormController": {
4731
+ "PaymentMethodOption": {
3683
4732
  "location": "import",
3684
- "path": "../../form/form",
3685
- "id": "src/components/form/form.ts::FormController"
4733
+ "path": "./payment-method-option-utils",
4734
+ "id": "src/components/checkout/payment-method-option-utils.tsx::PaymentMethodOption"
3686
4735
  }
3687
4736
  }
3688
4737
  },
@@ -3692,53 +4741,89 @@
3692
4741
  "docsTags": [],
3693
4742
  "values": [
3694
4743
  {
3695
- "type": "FormController"
4744
+ "type": "PaymentMethodOption"
3696
4745
  }
3697
4746
  ],
3698
4747
  "optional": false,
3699
4748
  "required": false
3700
4749
  }
3701
4750
  ],
3702
- "methods": [],
3703
- "events": [],
4751
+ "methods": [
4752
+ {
4753
+ "name": "getPaymentMethodToken",
4754
+ "returns": {
4755
+ "type": "Promise<string>",
4756
+ "docs": ""
4757
+ },
4758
+ "complexType": {
4759
+ "signature": "() => Promise<string>",
4760
+ "parameters": [],
4761
+ "references": {
4762
+ "Promise": {
4763
+ "location": "global",
4764
+ "id": "global::Promise"
4765
+ }
4766
+ },
4767
+ "return": "Promise<string>"
4768
+ },
4769
+ "signature": "getPaymentMethodToken() => Promise<string>",
4770
+ "parameters": [],
4771
+ "docs": "",
4772
+ "docsTags": []
4773
+ }
4774
+ ],
4775
+ "events": [
4776
+ {
4777
+ "event": "paymentMethodOptionSelected",
4778
+ "detail": "any",
4779
+ "bubbles": true,
4780
+ "complexType": {
4781
+ "original": "any",
4782
+ "resolved": "any",
4783
+ "references": {}
4784
+ },
4785
+ "cancelable": true,
4786
+ "composed": true,
4787
+ "docs": "",
4788
+ "docsTags": []
4789
+ }
4790
+ ],
3704
4791
  "listeners": [],
3705
4792
  "styles": [],
3706
4793
  "slots": [],
3707
4794
  "parts": [],
3708
4795
  "dependents": [
3709
- "justifi-business-form",
3710
- "justifi-business-form-stepped"
4796
+ "justifi-payment-method-options"
3711
4797
  ],
3712
4798
  "dependencies": [
3713
- "form-control-text",
3714
- "form-control-number",
3715
- "form-control-select"
4799
+ "justifi-payment-method-form",
4800
+ "justifi-billing-form"
3716
4801
  ],
3717
4802
  "dependencyGraph": {
3718
- "justifi-legal-address-form": [
3719
- "form-control-text",
3720
- "form-control-number",
3721
- "form-control-select"
4803
+ "justifi-new-payment-method": [
4804
+ "justifi-payment-method-form",
4805
+ "justifi-billing-form"
3722
4806
  ],
3723
- "justifi-business-form": [
3724
- "justifi-legal-address-form"
4807
+ "justifi-billing-form": [
4808
+ "text-input",
4809
+ "select-input"
3725
4810
  ],
3726
- "justifi-business-form-stepped": [
3727
- "justifi-legal-address-form"
4811
+ "justifi-payment-method-options": [
4812
+ "justifi-new-payment-method"
3728
4813
  ]
3729
4814
  }
3730
4815
  },
3731
4816
  {
3732
- "filePath": "src/components/checkout/new-payment-method.tsx",
3733
- "encapsulation": "none",
3734
- "tag": "justifi-new-payment-method",
3735
- "readme": "<h1>\n <code><justifi-payment-form /></code>\n</h1>\n\n## Examples\n\n```html\n<!DOCTYPE html>\n<html dir=\"ltr\" lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0\" />\n <title>justifi-payment-form: Simple example</title>\n\n <!--\n If you are including the components via CDN the src should be the following:\n https://cdn.jsdelivr.net/npm/@justifi/webcomponents@2.1.0/dist/webcomponents/webcomponents.esm.js\n -->\n <script type=\"module\" src=\"/build/webcomponents.esm.js\"></script>\n <script nomodule src=\"/build/webcomponents.js\"></script>\n </head>\n\n <body>\n <h1>PaymentForm</h1>\n <hr />\n <justifi-payment-form></justifi-payment-form>\n </body>\n\n <script>\n (function () {})();\n </script>\n</html>\n```\n",
3736
- "docs": "<h1>\n <code><justifi-payment-form /></code>\n</h1>",
4817
+ "filePath": "src/components/business-forms/owner-form/owner-form.tsx",
4818
+ "encapsulation": "shadow",
4819
+ "tag": "justifi-owner-form",
4820
+ "readme": "# justifi-owner-form\n\n\n",
4821
+ "docs": "",
3737
4822
  "docsTags": [],
3738
4823
  "usage": {},
3739
4824
  "props": [
3740
4825
  {
3741
- "name": "accountId",
4826
+ "name": "authToken",
3742
4827
  "type": "string",
3743
4828
  "complexType": {
3744
4829
  "original": "string",
@@ -3746,7 +4831,7 @@
3746
4831
  "references": {}
3747
4832
  },
3748
4833
  "mutable": false,
3749
- "attr": "account-id",
4834
+ "attr": "auth-token",
3750
4835
  "reflectToAttr": false,
3751
4836
  "docs": "",
3752
4837
  "docsTags": [],
@@ -3759,7 +4844,7 @@
3759
4844
  "required": false
3760
4845
  },
3761
4846
  {
3762
- "name": "clientId",
4847
+ "name": "businessId",
3763
4848
  "type": "string",
3764
4849
  "complexType": {
3765
4850
  "original": "string",
@@ -3767,7 +4852,7 @@
3767
4852
  "references": {}
3768
4853
  },
3769
4854
  "mutable": false,
3770
- "attr": "client-id",
4855
+ "attr": "business-id",
3771
4856
  "reflectToAttr": false,
3772
4857
  "docs": "",
3773
4858
  "docsTags": [],
@@ -3776,23 +4861,43 @@
3776
4861
  "type": "string"
3777
4862
  }
3778
4863
  ],
3779
- "optional": false,
4864
+ "optional": true,
3780
4865
  "required": false
3781
4866
  },
3782
4867
  {
3783
- "name": "iframeOrigin",
4868
+ "name": "newFormOpen",
4869
+ "type": "boolean",
4870
+ "complexType": {
4871
+ "original": "boolean",
4872
+ "resolved": "boolean",
4873
+ "references": {}
4874
+ },
4875
+ "mutable": false,
4876
+ "attr": "new-form-open",
4877
+ "reflectToAttr": false,
4878
+ "docs": "",
4879
+ "docsTags": [],
4880
+ "values": [
4881
+ {
4882
+ "type": "boolean"
4883
+ }
4884
+ ],
4885
+ "optional": true,
4886
+ "required": false
4887
+ },
4888
+ {
4889
+ "name": "ownerId",
3784
4890
  "type": "string",
3785
4891
  "complexType": {
3786
4892
  "original": "string",
3787
4893
  "resolved": "string",
3788
4894
  "references": {}
3789
4895
  },
3790
- "mutable": true,
3791
- "attr": "iframe-origin",
4896
+ "mutable": false,
4897
+ "attr": "owner-id",
3792
4898
  "reflectToAttr": false,
3793
4899
  "docs": "",
3794
4900
  "docsTags": [],
3795
- "default": "config.iframeOrigin",
3796
4901
  "values": [
3797
4902
  {
3798
4903
  "type": "string"
@@ -3802,39 +4907,33 @@
3802
4907
  "required": false
3803
4908
  },
3804
4909
  {
3805
- "name": "isSelected",
3806
- "type": "boolean",
4910
+ "name": "ownersLength",
4911
+ "type": "number",
3807
4912
  "complexType": {
3808
- "original": "boolean",
3809
- "resolved": "boolean",
4913
+ "original": "number",
4914
+ "resolved": "number",
3810
4915
  "references": {}
3811
4916
  },
3812
4917
  "mutable": false,
3813
- "attr": "is-selected",
4918
+ "attr": "owners-length",
3814
4919
  "reflectToAttr": false,
3815
4920
  "docs": "",
3816
4921
  "docsTags": [],
3817
4922
  "values": [
3818
4923
  {
3819
- "type": "boolean"
4924
+ "type": "number"
3820
4925
  }
3821
4926
  ],
3822
- "optional": false,
4927
+ "optional": true,
3823
4928
  "required": false
3824
4929
  },
3825
4930
  {
3826
- "name": "paymentMethodOption",
3827
- "type": "PaymentMethodOption",
4931
+ "name": "removeOwner",
4932
+ "type": "(id: string) => void",
3828
4933
  "complexType": {
3829
- "original": "PaymentMethodOption",
3830
- "resolved": "PaymentMethodOption",
3831
- "references": {
3832
- "PaymentMethodOption": {
3833
- "location": "import",
3834
- "path": "./payment-method-option-utils",
3835
- "id": "src/components/checkout/payment-method-option-utils.tsx::PaymentMethodOption"
3836
- }
3837
- }
4934
+ "original": "(id: string) => void",
4935
+ "resolved": "(id: string) => void",
4936
+ "references": {}
3838
4937
  },
3839
4938
  "mutable": false,
3840
4939
  "reflectToAttr": false,
@@ -3842,7 +4941,7 @@
3842
4941
  "docsTags": [],
3843
4942
  "values": [
3844
4943
  {
3845
- "type": "PaymentMethodOption"
4944
+ "type": "(id: string) => void"
3846
4945
  }
3847
4946
  ],
3848
4947
  "optional": false,
@@ -3851,13 +4950,35 @@
3851
4950
  ],
3852
4951
  "methods": [
3853
4952
  {
3854
- "name": "getPaymentMethodToken",
4953
+ "name": "submit",
4954
+ "returns": {
4955
+ "type": "Promise<boolean>",
4956
+ "docs": ""
4957
+ },
4958
+ "complexType": {
4959
+ "signature": "() => Promise<boolean>",
4960
+ "parameters": [],
4961
+ "references": {
4962
+ "Promise": {
4963
+ "location": "global",
4964
+ "id": "global::Promise"
4965
+ }
4966
+ },
4967
+ "return": "Promise<boolean>"
4968
+ },
4969
+ "signature": "submit() => Promise<boolean>",
4970
+ "parameters": [],
4971
+ "docs": "",
4972
+ "docsTags": []
4973
+ },
4974
+ {
4975
+ "name": "validate",
3855
4976
  "returns": {
3856
- "type": "Promise<string>",
4977
+ "type": "Promise<boolean>",
3857
4978
  "docs": ""
3858
4979
  },
3859
4980
  "complexType": {
3860
- "signature": "() => Promise<string>",
4981
+ "signature": "() => Promise<boolean>",
3861
4982
  "parameters": [],
3862
4983
  "references": {
3863
4984
  "Promise": {
@@ -3865,9 +4986,9 @@
3865
4986
  "id": "global::Promise"
3866
4987
  }
3867
4988
  },
3868
- "return": "Promise<string>"
4989
+ "return": "Promise<boolean>"
3869
4990
  },
3870
- "signature": "getPaymentMethodToken() => Promise<string>",
4991
+ "signature": "validate() => Promise<boolean>",
3871
4992
  "parameters": [],
3872
4993
  "docs": "",
3873
4994
  "docsTags": []
@@ -3875,42 +4996,96 @@
3875
4996
  ],
3876
4997
  "events": [
3877
4998
  {
3878
- "event": "paymentMethodOptionSelected",
3879
- "detail": "any",
4999
+ "event": "formLoading",
5000
+ "detail": "boolean",
3880
5001
  "bubbles": true,
3881
5002
  "complexType": {
3882
- "original": "any",
3883
- "resolved": "any",
5003
+ "original": "boolean",
5004
+ "resolved": "boolean",
3884
5005
  "references": {}
3885
5006
  },
3886
5007
  "cancelable": true,
3887
5008
  "composed": true,
3888
5009
  "docs": "",
3889
5010
  "docsTags": []
5011
+ },
5012
+ {
5013
+ "event": "serverError",
5014
+ "detail": "OwnerFormServerErrorEvent",
5015
+ "bubbles": true,
5016
+ "complexType": {
5017
+ "original": "OwnerFormServerErrorEvent",
5018
+ "resolved": "OwnerFormServerErrorEvent",
5019
+ "references": {
5020
+ "OwnerFormServerErrorEvent": {
5021
+ "location": "import",
5022
+ "path": "../utils/business-form-types",
5023
+ "id": "src/components/business-forms/utils/business-form-types.ts::OwnerFormServerErrorEvent"
5024
+ }
5025
+ }
5026
+ },
5027
+ "cancelable": true,
5028
+ "composed": true,
5029
+ "docs": "",
5030
+ "docsTags": []
5031
+ },
5032
+ {
5033
+ "event": "submitted",
5034
+ "detail": "OwnerFormSubmitEvent",
5035
+ "bubbles": true,
5036
+ "complexType": {
5037
+ "original": "OwnerFormSubmitEvent",
5038
+ "resolved": "OwnerFormSubmitEvent",
5039
+ "references": {
5040
+ "OwnerFormSubmitEvent": {
5041
+ "location": "import",
5042
+ "path": "../utils/business-form-types",
5043
+ "id": "src/components/business-forms/utils/business-form-types.ts::OwnerFormSubmitEvent"
5044
+ }
5045
+ }
5046
+ },
5047
+ "cancelable": true,
5048
+ "composed": true,
5049
+ "docs": "",
5050
+ "docsTags": []
3890
5051
  }
3891
5052
  ],
3892
5053
  "listeners": [],
3893
5054
  "styles": [],
3894
5055
  "slots": [],
3895
- "parts": [],
5056
+ "parts": [
5057
+ {
5058
+ "name": "label",
5059
+ "docs": ""
5060
+ }
5061
+ ],
3896
5062
  "dependents": [
3897
- "justifi-payment-method-options"
5063
+ "justifi-business-owners-form-step"
3898
5064
  ],
3899
5065
  "dependencies": [
3900
- "justifi-payment-method-form",
3901
- "justifi-billing-form"
5066
+ "form-control-text",
5067
+ "form-control-select",
5068
+ "form-control-number-masked",
5069
+ "form-control-datepart",
5070
+ "form-control-number",
5071
+ "justifi-business-address-form"
3902
5072
  ],
3903
5073
  "dependencyGraph": {
3904
- "justifi-new-payment-method": [
3905
- "justifi-payment-method-form",
3906
- "justifi-billing-form"
5074
+ "justifi-owner-form": [
5075
+ "form-control-text",
5076
+ "form-control-select",
5077
+ "form-control-number-masked",
5078
+ "form-control-datepart",
5079
+ "form-control-number",
5080
+ "justifi-business-address-form"
3907
5081
  ],
3908
- "justifi-billing-form": [
3909
- "text-input",
3910
- "select-input"
5082
+ "justifi-business-address-form": [
5083
+ "form-control-text",
5084
+ "form-control-select",
5085
+ "form-control-number"
3911
5086
  ],
3912
- "justifi-payment-method-options": [
3913
- "justifi-new-payment-method"
5087
+ "justifi-business-owners-form-step": [
5088
+ "justifi-owner-form"
3914
5089
  ]
3915
5090
  }
3916
5091
  },
@@ -5011,6 +6186,197 @@
5011
6186
  ]
5012
6187
  }
5013
6188
  },
6189
+ {
6190
+ "filePath": "src/components/business-forms/payment-provisioning/payment-provisioning.tsx",
6191
+ "encapsulation": "none",
6192
+ "tag": "justifi-payment-provisioning",
6193
+ "readme": "# justifi-business-info\n\n\n",
6194
+ "docs": "",
6195
+ "docsTags": [
6196
+ {
6197
+ "name": "exportedPart",
6198
+ "text": "label: Label for inputs"
6199
+ },
6200
+ {
6201
+ "name": "exportedPart",
6202
+ "text": "input: The input fields"
6203
+ },
6204
+ {
6205
+ "name": "exportedPart",
6206
+ "text": "input-invalid: Invalid state for inputfs"
6207
+ }
6208
+ ],
6209
+ "usage": {},
6210
+ "props": [
6211
+ {
6212
+ "name": "authToken",
6213
+ "type": "string",
6214
+ "complexType": {
6215
+ "original": "string",
6216
+ "resolved": "string",
6217
+ "references": {}
6218
+ },
6219
+ "mutable": false,
6220
+ "attr": "auth-token",
6221
+ "reflectToAttr": false,
6222
+ "docs": "",
6223
+ "docsTags": [],
6224
+ "values": [
6225
+ {
6226
+ "type": "string"
6227
+ }
6228
+ ],
6229
+ "optional": false,
6230
+ "required": false
6231
+ },
6232
+ {
6233
+ "name": "businessId",
6234
+ "type": "string",
6235
+ "complexType": {
6236
+ "original": "string",
6237
+ "resolved": "string",
6238
+ "references": {}
6239
+ },
6240
+ "mutable": false,
6241
+ "attr": "business-id",
6242
+ "reflectToAttr": false,
6243
+ "docs": "",
6244
+ "docsTags": [],
6245
+ "values": [
6246
+ {
6247
+ "type": "string"
6248
+ }
6249
+ ],
6250
+ "optional": false,
6251
+ "required": false
6252
+ },
6253
+ {
6254
+ "name": "hideErrors",
6255
+ "type": "boolean",
6256
+ "complexType": {
6257
+ "original": "boolean",
6258
+ "resolved": "boolean",
6259
+ "references": {}
6260
+ },
6261
+ "mutable": false,
6262
+ "attr": "hide-errors",
6263
+ "reflectToAttr": false,
6264
+ "docs": "",
6265
+ "docsTags": [],
6266
+ "default": "false",
6267
+ "values": [
6268
+ {
6269
+ "type": "boolean"
6270
+ }
6271
+ ],
6272
+ "optional": true,
6273
+ "required": false
6274
+ },
6275
+ {
6276
+ "name": "testMode",
6277
+ "type": "boolean",
6278
+ "complexType": {
6279
+ "original": "boolean",
6280
+ "resolved": "boolean",
6281
+ "references": {}
6282
+ },
6283
+ "mutable": false,
6284
+ "attr": "test-mode",
6285
+ "reflectToAttr": false,
6286
+ "docs": "",
6287
+ "docsTags": [],
6288
+ "default": "false",
6289
+ "values": [
6290
+ {
6291
+ "type": "boolean"
6292
+ }
6293
+ ],
6294
+ "optional": false,
6295
+ "required": false
6296
+ }
6297
+ ],
6298
+ "methods": [],
6299
+ "events": [
6300
+ {
6301
+ "event": "clickEvent",
6302
+ "detail": "BusinessFormClickEvent",
6303
+ "bubbles": true,
6304
+ "complexType": {
6305
+ "original": "BusinessFormClickEvent",
6306
+ "resolved": "BusinessFormClickEvent",
6307
+ "references": {
6308
+ "BusinessFormClickEvent": {
6309
+ "location": "import",
6310
+ "path": "../utils/business-form-types",
6311
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormClickEvent"
6312
+ }
6313
+ }
6314
+ },
6315
+ "cancelable": true,
6316
+ "composed": true,
6317
+ "docs": "",
6318
+ "docsTags": []
6319
+ }
6320
+ ],
6321
+ "listeners": [],
6322
+ "styles": [],
6323
+ "slots": [],
6324
+ "parts": [],
6325
+ "dependents": [],
6326
+ "dependencies": [
6327
+ "justifi-business-core-info-form-step",
6328
+ "justifi-legal-address-form-step",
6329
+ "justifi-additional-questions-form-step",
6330
+ "justifi-business-representative-form-step",
6331
+ "justifi-business-owners-form-step"
6332
+ ],
6333
+ "dependencyGraph": {
6334
+ "justifi-payment-provisioning": [
6335
+ "justifi-business-core-info-form-step",
6336
+ "justifi-legal-address-form-step",
6337
+ "justifi-additional-questions-form-step",
6338
+ "justifi-business-representative-form-step",
6339
+ "justifi-business-owners-form-step"
6340
+ ],
6341
+ "justifi-business-core-info-form-step": [
6342
+ "form-control-text",
6343
+ "form-control-select",
6344
+ "form-control-number-masked"
6345
+ ],
6346
+ "justifi-legal-address-form-step": [
6347
+ "form-control-text",
6348
+ "form-control-select",
6349
+ "form-control-number"
6350
+ ],
6351
+ "justifi-additional-questions-form-step": [
6352
+ "form-control-monetary"
6353
+ ],
6354
+ "justifi-business-representative-form-step": [
6355
+ "form-control-text",
6356
+ "form-control-select",
6357
+ "form-control-number-masked",
6358
+ "form-control-datepart",
6359
+ "form-control-number",
6360
+ "justifi-business-address-form"
6361
+ ],
6362
+ "justifi-business-address-form": [
6363
+ "form-control-text",
6364
+ "form-control-select",
6365
+ "form-control-number"
6366
+ ],
6367
+ "justifi-business-owners-form-step": [
6368
+ "justifi-owner-form"
6369
+ ],
6370
+ "justifi-owner-form": [
6371
+ "form-control-text",
6372
+ "form-control-select",
6373
+ "form-control-number-masked",
6374
+ "form-control-datepart",
6375
+ "form-control-number",
6376
+ "justifi-business-address-form"
6377
+ ]
6378
+ }
6379
+ },
5014
6380
  {
5015
6381
  "filePath": "src/components/payments-list/payments-list.tsx",
5016
6382
  "encapsulation": "shadow",
@@ -6381,8 +7747,8 @@
6381
7747
  "references": {
6382
7748
  "Identity": {
6383
7749
  "location": "import",
6384
- "path": "../../../api/Business",
6385
- "id": "src/api/Business.ts::Identity"
7750
+ "path": "../../../api/Identity",
7751
+ "id": "src/api/Identity.ts::Identity"
6386
7752
  }
6387
7753
  }
6388
7754
  },
@@ -6815,8 +8181,8 @@
6815
8181
  "references": {
6816
8182
  "Identity": {
6817
8183
  "location": "import",
6818
- "path": "../../../api/Business",
6819
- "id": "src/api/Business.ts::Identity"
8184
+ "path": "../../../api/Identity",
8185
+ "id": "src/api/Identity.ts::Identity"
6820
8186
  }
6821
8187
  }
6822
8188
  },
@@ -7488,13 +8854,13 @@
7488
8854
  "docstring": "",
7489
8855
  "path": "../../node_modules/.pnpm/yup@1.3.3/node_modules/yup/index.d.ts"
7490
8856
  },
7491
- "src/api/Business.ts::AdditionalQuestions": {
7492
- "declaration": "export interface AdditionalQuestions {\n business_revenue?: string;\n business_payment_volume?: string;\n business_dispute_volume?: string;\n business_receivable_volume?: string;\n}",
8857
+ "src/api/Business.ts::IAdditionalQuestions": {
8858
+ "declaration": "export interface IAdditionalQuestions {\n business_revenue?: string;\n business_payment_volume?: string;\n business_dispute_volume?: string;\n business_receivable_volume?: string;\n}",
7493
8859
  "docstring": "",
7494
8860
  "path": "src/api/Business.ts"
7495
8861
  },
7496
8862
  "src/api/Business.ts::IBusiness": {
7497
- "declaration": "export interface IBusiness {\n additional_questions: AdditionalQuestions | {};\n business_structure: BusinessStructure;\n business_type: BusinessType;\n bank_accounts: BankAccount[];\n created_at: string;\n documents: Document[];\n doing_business_as: string;\n email: string;\n id: string;\n industry: string;\n legal_address: IAddress | {};\n legal_name: string;\n metadata: any;\n owners: Identity[];\n phone: string;\n platform_account_id: string;\n product_categories: ProductCategories;\n representative: Identity | {};\n tax_id: string;\n updated_at: string;\n website_url: string;\n}",
8863
+ "declaration": "export interface IBusiness {\n additional_questions: IAdditionalQuestions | {};\n business_structure: BusinessStructure;\n business_type: BusinessType;\n bank_accounts: BankAccount[];\n created_at: string;\n documents: Document[];\n doing_business_as: string;\n email: string;\n id: string;\n industry: string;\n legal_address: IAddress | {};\n legal_name: string;\n metadata: any;\n owners: Identity[];\n phone: string;\n platform_account_id: string;\n product_categories: ProductCategories;\n representative: Identity | {};\n tax_id: string;\n updated_at: string;\n website_url: string;\n}",
7498
8864
  "docstring": "",
7499
8865
  "path": "src/api/Business.ts"
7500
8866
  },
@@ -7503,16 +8869,41 @@
7503
8869
  "docstring": "",
7504
8870
  "path": "src/api/Business.ts"
7505
8871
  },
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}",
8872
+ "src/api/Identity.ts::Identity": {
8873
+ "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
8874
  "docstring": "",
7509
- "path": "src/api/Business.ts"
8875
+ "path": "src/api/Identity.ts"
8876
+ },
8877
+ "src/components/business-forms/utils/business-form-types.ts::BusinessFormClickEvent": {
8878
+ "declaration": "export interface BusinessFormClickEvent {\n data?: any;\n name: BusinessFormClickActions;\n}",
8879
+ "docstring": "",
8880
+ "path": "src/components/business-forms/utils/business-form-types.ts"
8881
+ },
8882
+ "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent": {
8883
+ "declaration": "export interface BusinessFormSubmitEvent {\n data: any;\n metadata?: BusinessFormEventMetaData;\n}",
8884
+ "docstring": "",
8885
+ "path": "src/components/business-forms/utils/business-form-types.ts"
7510
8886
  },
7511
8887
  "src/components/form/form.ts::FormController": {
7512
8888
  "declaration": "any",
7513
8889
  "docstring": "",
7514
8890
  "path": "src/components/form/form.ts"
7515
8891
  },
8892
+ "src/components/business-forms/utils/business-form-types.ts::OwnerFormSubmitEvent": {
8893
+ "declaration": "export interface OwnerFormSubmitEvent {\n data: any;\n metadata?: any;\n}",
8894
+ "docstring": "",
8895
+ "path": "src/components/business-forms/utils/business-form-types.ts"
8896
+ },
8897
+ "src/components/business-forms/utils/business-form-types.ts::OwnerFormServerErrorEvent": {
8898
+ "declaration": "export interface OwnerFormServerErrorEvent {\n data?: any;\n message: OwnerFormServerErrors;\n}",
8899
+ "docstring": "",
8900
+ "path": "src/components/business-forms/utils/business-form-types.ts"
8901
+ },
8902
+ "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent": {
8903
+ "declaration": "export interface BusinessFormServerErrorEvent {\n data?: any;\n message: BusinessFormServerErrors;\n}",
8904
+ "docstring": "",
8905
+ "path": "src/components/business-forms/utils/business-form-types.ts"
8906
+ },
7516
8907
  "src/components/checkout/payment-method-option-utils.tsx::PaymentMethodOption": {
7517
8908
  "declaration": "any",
7518
8909
  "docstring": "",