@justifi/webcomponents 4.8.3 → 4.10.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (490) hide show
  1. package/dist/cjs/{Business-42d0c522.js → Business-79361c8a.js} +7 -7
  2. package/dist/cjs/Identity-b6364aee.js +27 -0
  3. package/dist/cjs/{Payout-44b49b2d.js → Payment-89a8bc21.js} +0 -43
  4. package/dist/cjs/Payout-a2dd7b01.js +45 -0
  5. package/dist/cjs/{SubAccount-2a803b22.js → SubAccount-b3902202.js} +1 -1
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +24 -10
  7. package/dist/cjs/business-additional-questions-schema-cbac27f2.js +26 -0
  8. package/dist/cjs/business-details-core.cjs.entry.js +55 -0
  9. package/dist/cjs/business-form-select-options-7ccd8dca.js +85 -0
  10. package/dist/cjs/business-form-types-3cdd5447.js +19 -0
  11. package/dist/cjs/form-control-datepart_3.cjs.entry.js +32 -46
  12. package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
  13. package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-number_3.cjs.entry.js} +44 -1
  14. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +11036 -0
  15. package/dist/cjs/{index-55950669.js → index-69b9386b.js} +57 -3
  16. package/dist/cjs/justifi-additional-questions-form-step_5.cjs.entry.js +505 -0
  17. package/dist/cjs/{justifi-additional-questions_5.cjs.entry.js → justifi-additional-questions_4.cjs.entry.js} +12 -42
  18. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +1 -1
  19. package/dist/cjs/{select-input_2.cjs.entry.js → justifi-billing-form_4.cjs.entry.js} +1810 -1
  20. package/dist/cjs/justifi-business-address-form-step.cjs.entry.js +35 -0
  21. package/dist/cjs/justifi-business-details.cjs.entry.js +43 -57
  22. package/dist/cjs/justifi-business-form-stepped.cjs.entry.js +36 -89
  23. package/dist/cjs/justifi-business-form.cjs.entry.js +18 -16
  24. package/dist/cjs/justifi-business-list.cjs.entry.js +5 -4
  25. package/dist/cjs/justifi-business-owners.cjs.entry.js +1 -1
  26. package/dist/cjs/justifi-card-form.cjs.entry.js +1 -1
  27. package/dist/cjs/justifi-checkout-core.cjs.entry.js +95 -0
  28. package/dist/cjs/justifi-checkout.cjs.entry.js +99 -0
  29. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  30. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +39 -11008
  31. package/dist/cjs/justifi-new-payment-method_3.cjs.entry.js +168 -0
  32. package/dist/cjs/justifi-owner-form.cjs.entry.js +160 -0
  33. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +5 -4
  34. package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -5
  35. package/dist/cjs/justifi-payment-form.cjs.entry.js +5 -4
  36. package/dist/cjs/{justifi-billing-form_2.cjs.entry.js → justifi-payment-method-selector.cjs.entry.js} +4 -79
  37. package/dist/cjs/justifi-payments-list.cjs.entry.js +6 -5
  38. package/dist/cjs/justifi-payout-details.cjs.entry.js +5 -4
  39. package/dist/cjs/justifi-payouts-list.cjs.entry.js +5 -4
  40. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +4 -3
  41. package/dist/cjs/justifi-refund-form.cjs.entry.js +3 -2
  42. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +6 -5
  43. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +5 -4
  44. package/dist/cjs/justifi-table_2.cjs.entry.js +1 -1
  45. package/dist/cjs/loader.cjs.js +2 -2
  46. package/dist/cjs/payload-parsers-25ed3936.js +98 -0
  47. package/dist/cjs/payment-details-core.cjs.entry.js +10 -4
  48. package/dist/cjs/{payment.service-605896dc.js → payment.service-0b0086dc.js} +2 -1
  49. package/dist/cjs/payments-list-core.cjs.entry.js +4 -3
  50. package/dist/cjs/payout-details-core.cjs.entry.js +4 -4
  51. package/dist/cjs/{payout.service-b39f2739.js → payout.service-5cc3b4e9.js} +2 -1
  52. package/dist/cjs/payouts-list-core.cjs.entry.js +4 -3
  53. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +7 -7
  54. package/dist/cjs/subaccount-bank-details.cjs.entry.js +3 -3
  55. package/dist/cjs/subaccount-terms-details.cjs.entry.js +3 -3
  56. package/dist/cjs/{utils-d126d17c.js → utils-23e70ef2.js} +5 -5
  57. package/dist/cjs/{utils-29a8a91d.js → utils-6f62f7a1.js} +29 -2
  58. package/dist/cjs/utils-df5167a8.js +13 -0
  59. package/dist/cjs/webcomponents.cjs.js +2 -2
  60. package/dist/collection/api/Business.js +6 -7
  61. package/dist/collection/api/Checkout.js +1 -0
  62. package/dist/collection/api/Identity.js +43 -0
  63. package/dist/collection/api/index.js +1 -0
  64. package/dist/collection/api/services/business.service.js +8 -0
  65. package/dist/collection/api/services/checkout.service.js +12 -0
  66. package/dist/collection/api/services/reports.service.js +9 -0
  67. package/dist/collection/collection-manifest.json +22 -8
  68. package/dist/collection/components/billing-form/billing-form-schema.js +1 -1
  69. package/dist/collection/components/billing-form/billing-form.js +1 -2
  70. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +5 -2
  71. package/dist/collection/components/business-details/additional-questions-details/test/additional-questions.spec.js +16 -0
  72. package/dist/collection/components/business-details/business-details-core.js +86 -0
  73. package/dist/collection/components/business-details/business-details.js +20 -65
  74. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +4 -2
  75. package/dist/collection/components/business-details/generic-info-details/test/generic-info-details.spec.js +16 -0
  76. package/dist/collection/components/business-details/get-business.js +17 -0
  77. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +5 -2
  78. package/dist/collection/components/business-details/legal-address-details/test/legal-address-details.spec.js +16 -0
  79. package/dist/collection/components/business-details/owner-details/owner-details.js +12 -14
  80. package/dist/collection/components/business-details/owner-details/test/owner-details.spec.js +16 -0
  81. package/dist/collection/components/business-details/representative-details/representative-details.js +7 -5
  82. package/dist/collection/components/business-details/representative-details/test/representative-details.spec.js +16 -0
  83. package/dist/collection/components/business-details/test/busines-details-core.spec.js +53 -0
  84. package/dist/collection/components/business-details/test/business-details.spec.js +40 -0
  85. package/dist/collection/components/business-details/test/get-business.spec.js +60 -0
  86. package/dist/collection/components/{business-form → business-forms/business-form}/additional-questions/additional-questions.js +1 -1
  87. package/dist/collection/components/business-forms/business-form/business-address/business-address-form.css +2536 -0
  88. package/dist/collection/components/{business-form → business-forms/business-form}/business-address/business-address-form.js +4 -4
  89. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.css +2493 -0
  90. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +77 -0
  91. package/dist/collection/components/{business-form → business-forms/business-form}/business-form.js +32 -24
  92. package/dist/collection/components/business-forms/business-form/business-owners/business-owners.css +7779 -0
  93. package/dist/collection/components/{business-form → business-forms/business-form}/business-owners/business-owners.js +2 -2
  94. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.css +2493 -0
  95. package/dist/collection/components/{business-form → business-forms/business-form}/business-representative/business-representative.js +3 -3
  96. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.css +2493 -0
  97. package/dist/collection/components/{business-form → business-forms/business-form}/legal-address-form/legal-address-form.js +1 -1
  98. package/dist/collection/components/business-forms/business-form-stepped/additional-questions/business-additional-questions-form-step.js +218 -0
  99. package/dist/collection/components/business-forms/business-form-stepped/additional-questions/test/business-additional-questions-form-step.spec.js +97 -0
  100. package/dist/collection/components/business-forms/business-form-stepped/business-address/business-address-form-step.js +97 -0
  101. package/dist/collection/components/business-forms/business-form-stepped/business-address/test/business-address-form-step.spec.js +97 -0
  102. package/dist/collection/components/business-forms/business-form-stepped/business-core-info/business-core-info-form-step.js +239 -0
  103. package/dist/collection/components/business-forms/business-form-stepped/business-core-info/test/business-core-info-form-step.spec.js +97 -0
  104. package/dist/collection/components/{business-form → business-forms/business-form-stepped}/business-form-stepped.css +105 -0
  105. package/dist/collection/components/business-forms/business-form-stepped/business-form-stepped.js +199 -0
  106. package/dist/collection/components/business-forms/business-form-stepped/business-owners/business-owners-form-step.js +284 -0
  107. package/dist/collection/components/business-forms/business-form-stepped/business-owners/test/business-owners-form-step.spec.js +97 -0
  108. package/dist/collection/components/business-forms/business-form-stepped/business-representative/business-representative-form-step.js +230 -0
  109. package/dist/collection/components/business-forms/business-form-stepped/business-representative/test/business-representative-form-step.spec.js +97 -0
  110. package/dist/collection/components/business-forms/business-form-stepped/legal-address-form/legal-address-form-step.js +232 -0
  111. package/dist/collection/components/business-forms/business-form-stepped/test/business-form-stepped.spec.js +61 -0
  112. package/dist/collection/components/business-forms/owner-form/owner-form.css +7779 -0
  113. package/dist/collection/components/business-forms/owner-form/owner-form.js +367 -0
  114. package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +7 -0
  115. package/dist/collection/components/business-forms/schemas/business-address-schema.js +15 -0
  116. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +13 -0
  117. package/dist/collection/components/business-forms/schemas/business-form-schema.js +6 -0
  118. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +35 -0
  119. package/dist/collection/components/business-forms/schemas/business-owners-schema.js +16 -0
  120. package/dist/collection/components/business-forms/utils/business-form-select-options.js +80 -0
  121. package/dist/collection/components/business-forms/utils/business-form-types.js +17 -0
  122. package/dist/collection/components/business-forms/utils/payload-parsers.js +37 -0
  123. package/dist/collection/components/checkout/checkout-actions.js +33 -0
  124. package/dist/collection/components/checkout/checkout-core.css +2604 -0
  125. package/dist/collection/components/checkout/checkout-core.js +248 -0
  126. package/dist/collection/components/checkout/checkout.js +112 -0
  127. package/dist/collection/components/checkout/new-payment-method.js +188 -0
  128. package/dist/collection/components/checkout/payment-method-option-utils.js +19 -0
  129. package/dist/collection/components/checkout/payment-method-options.css +7073 -0
  130. package/dist/collection/components/checkout/payment-method-options.js +248 -0
  131. package/dist/collection/components/checkout/saved-payment-method.js +123 -0
  132. package/dist/collection/components/checkout/test/checkout.js +22 -0
  133. package/dist/collection/components/checkout/test/checkout.spec.js +166 -0
  134. package/dist/collection/components/checkout/test/mockCheckout.js +19 -0
  135. package/dist/collection/components/details/utils.js +4 -1
  136. package/dist/collection/components/form/utils.js +1 -0
  137. package/dist/collection/components/gross-payment-chart/get-gross-payment-chart-data.js +14 -0
  138. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +119 -0
  139. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +25 -73
  140. package/dist/collection/components/gross-payment-chart/test/get-gross-payment-chart-data.spec.js +69 -0
  141. package/dist/collection/components/gross-payment-chart/test/gross-payment-chart-core.spec.js +64 -0
  142. package/dist/collection/components/gross-payment-chart/test/gross-payment-chart.spec.js +23 -8
  143. package/dist/collection/components/payment-details/payment-details-core.js +8 -2
  144. package/dist/collection/components/payment-details/payment-details.js +0 -1
  145. package/dist/collection/components/payment-form/payment-form.js +1 -1
  146. package/dist/collection/components/payment-method-form/payment-method-form.js +1 -1
  147. package/dist/collection/components/payout-details/payout-details-core.js +2 -2
  148. package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +2 -2
  149. package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +2 -2
  150. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +2 -2
  151. package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +2 -2
  152. package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +2 -2
  153. package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +2 -2
  154. package/dist/collection/utils/utils.js +25 -3
  155. package/dist/docs.json +2945 -590
  156. package/dist/esm/{Business-e9340f6b.js → Business-1df362e0.js} +7 -8
  157. package/dist/esm/Identity-774788c0.js +25 -0
  158. package/dist/esm/{Payout-dc5f009c.js → Payment-55886c86.js} +1 -43
  159. package/dist/esm/Payout-dfe15b00.js +43 -0
  160. package/dist/esm/{SubAccount-46b4c2b1.js → SubAccount-f4ae9809.js} +1 -1
  161. package/dist/esm/additional-questions-details_5.entry.js +24 -10
  162. package/dist/esm/business-additional-questions-schema-2cb80f70.js +23 -0
  163. package/dist/esm/business-details-core.entry.js +51 -0
  164. package/dist/esm/business-form-select-options-6b9293fe.js +82 -0
  165. package/dist/esm/business-form-types-de9f38cd.js +19 -0
  166. package/dist/esm/form-control-datepart_3.entry.js +32 -46
  167. package/dist/esm/form-control-monetary.entry.js +1 -1
  168. package/dist/esm/{form-control-select_2.entry.js → form-control-number_3.entry.js} +44 -2
  169. package/dist/esm/gross-payment-chart-core.entry.js +11032 -0
  170. package/dist/esm/{index-62b8aa8a.js → index-df86d9a2.js} +57 -3
  171. package/dist/esm/justifi-additional-questions-form-step_5.entry.js +497 -0
  172. package/dist/esm/{justifi-additional-questions_5.entry.js → justifi-additional-questions_4.entry.js} +12 -41
  173. package/dist/esm/justifi-bank-account-form.entry.js +1 -1
  174. package/dist/esm/{select-input_2.entry.js → justifi-billing-form_4.entry.js} +1809 -2
  175. package/dist/esm/justifi-business-address-form-step.entry.js +31 -0
  176. package/dist/esm/justifi-business-details.entry.js +42 -56
  177. package/dist/esm/justifi-business-form-stepped.entry.js +36 -89
  178. package/dist/esm/justifi-business-form.entry.js +17 -15
  179. package/dist/esm/justifi-business-list.entry.js +5 -4
  180. package/dist/esm/justifi-business-owners.entry.js +1 -1
  181. package/dist/esm/justifi-card-form.entry.js +1 -1
  182. package/dist/esm/justifi-checkout-core.entry.js +91 -0
  183. package/dist/esm/justifi-checkout.entry.js +95 -0
  184. package/dist/esm/justifi-details.entry.js +2 -2
  185. package/dist/esm/justifi-gross-payment-chart.entry.js +39 -11008
  186. package/dist/esm/justifi-new-payment-method_3.entry.js +162 -0
  187. package/dist/esm/justifi-owner-form.entry.js +156 -0
  188. package/dist/esm/justifi-payment-balance-transactions.entry.js +4 -3
  189. package/dist/esm/justifi-payment-details.entry.js +5 -4
  190. package/dist/esm/justifi-payment-form.entry.js +4 -3
  191. package/dist/esm/{justifi-billing-form_2.entry.js → justifi-payment-method-selector.entry.js} +4 -78
  192. package/dist/esm/justifi-payments-list.entry.js +5 -4
  193. package/dist/esm/justifi-payout-details.entry.js +5 -4
  194. package/dist/esm/justifi-payouts-list.entry.js +5 -4
  195. package/dist/esm/justifi-proceeds-list.entry.js +4 -3
  196. package/dist/esm/justifi-refund-form.entry.js +3 -2
  197. package/dist/esm/justifi-subaccount-details.entry.js +6 -5
  198. package/dist/esm/justifi-subaccounts-list.entry.js +5 -4
  199. package/dist/esm/justifi-table_2.entry.js +1 -1
  200. package/dist/esm/loader.js +3 -3
  201. package/dist/esm/payload-parsers-1dd7474f.js +90 -0
  202. package/dist/esm/payment-details-core.entry.js +10 -4
  203. package/dist/esm/{payment.service-bea02ccf.js → payment.service-f274ef98.js} +2 -1
  204. package/dist/esm/payments-list-core.entry.js +4 -3
  205. package/dist/esm/payout-details-core.entry.js +4 -4
  206. package/dist/esm/{payout.service-92e56814.js → payout.service-af293f61.js} +2 -1
  207. package/dist/esm/payouts-list-core.entry.js +4 -3
  208. package/dist/esm/subaccount-account-details_4.entry.js +7 -7
  209. package/dist/esm/subaccount-bank-details.entry.js +3 -3
  210. package/dist/esm/subaccount-terms-details.entry.js +3 -3
  211. package/dist/esm/{utils-76a93600.js → utils-243abdb4.js} +26 -3
  212. package/dist/esm/utils-2828201a.js +10 -0
  213. package/dist/esm/{utils-576874df.js → utils-d01c5f3a.js} +5 -5
  214. package/dist/esm/webcomponents.js +3 -3
  215. package/dist/module/Business.js +7 -8
  216. package/dist/module/Payment.js +138 -0
  217. package/dist/module/Payout.js +1 -138
  218. package/dist/module/SubAccount.js +1 -1
  219. package/dist/module/additional-questions-details2.js +5 -2
  220. package/dist/module/billing-form.js +2 -3
  221. package/dist/module/business-additional-questions-form-step.js +120 -0
  222. package/dist/module/business-additional-questions-schema.js +10 -0
  223. package/dist/module/business-address-form.js +3 -3
  224. package/dist/module/business-address-schema.js +18 -0
  225. package/dist/module/business-core-info-form-step.js +141 -0
  226. package/dist/module/business-core-info-schema.js +16 -0
  227. package/dist/module/business-core-info.js +69 -0
  228. package/dist/module/business-details-core.d.ts +11 -0
  229. package/dist/module/business-details-core.js +6 -0
  230. package/dist/module/business-details-core2.js +101 -0
  231. package/dist/module/business-form-select-options.js +82 -0
  232. package/dist/module/business-form-types.js +19 -0
  233. package/dist/module/business-identity-schema.js +38 -0
  234. package/dist/module/business-owners-form-step.js +213 -0
  235. package/dist/module/business-representative-form-step.js +157 -0
  236. package/dist/module/business-representative.js +1 -1
  237. package/dist/module/checkout-core.js +163 -0
  238. package/dist/module/generic-info-details2.js +4 -2
  239. package/dist/module/gross-payment-chart-core.d.ts +11 -0
  240. package/dist/module/gross-payment-chart-core.js +6 -0
  241. package/dist/module/gross-payment-chart-core2.js +11055 -0
  242. package/dist/module/justifi-additional-questions-form-step.d.ts +11 -0
  243. package/dist/module/justifi-additional-questions-form-step.js +6 -0
  244. package/dist/module/justifi-business-address-form-step.d.ts +11 -0
  245. package/dist/module/justifi-business-address-form-step.js +75 -0
  246. package/dist/module/justifi-business-core-info-form-step.d.ts +11 -0
  247. package/dist/module/justifi-business-core-info-form-step.js +6 -0
  248. package/dist/module/justifi-business-core-info.d.ts +11 -0
  249. package/dist/module/justifi-business-core-info.js +6 -0
  250. package/dist/module/justifi-business-details.js +51 -60
  251. package/dist/module/justifi-business-form-stepped.js +72 -112
  252. package/dist/module/justifi-business-form.js +20 -14
  253. package/dist/module/justifi-business-list.js +2 -1
  254. package/dist/module/justifi-business-owners-form-step.d.ts +11 -0
  255. package/dist/module/justifi-business-owners-form-step.js +6 -0
  256. package/dist/module/justifi-business-representative-form-step.d.ts +11 -0
  257. package/dist/module/justifi-business-representative-form-step.js +6 -0
  258. package/dist/module/justifi-checkout-core.d.ts +11 -0
  259. package/dist/module/justifi-checkout-core.js +6 -0
  260. package/dist/module/justifi-checkout.d.ts +11 -0
  261. package/dist/module/justifi-checkout.js +172 -0
  262. package/dist/module/justifi-gross-payment-chart.js +49 -11016
  263. package/dist/module/justifi-legal-address-form-step.d.ts +11 -0
  264. package/dist/module/justifi-legal-address-form-step.js +6 -0
  265. package/dist/module/justifi-new-payment-method.d.ts +11 -0
  266. package/dist/module/justifi-new-payment-method.js +6 -0
  267. package/dist/module/justifi-owner-form.d.ts +11 -0
  268. package/dist/module/justifi-owner-form.js +6 -0
  269. package/dist/module/justifi-payment-balance-transactions.js +3 -2
  270. package/dist/module/justifi-payment-details.js +2 -1
  271. package/dist/module/justifi-payment-form.js +2 -1
  272. package/dist/module/justifi-payment-method-options.d.ts +11 -0
  273. package/dist/module/justifi-payment-method-options.js +6 -0
  274. package/dist/module/justifi-payments-list.js +2 -1
  275. package/dist/module/justifi-payout-details.js +2 -1
  276. package/dist/module/justifi-payouts-list.js +2 -1
  277. package/dist/module/justifi-proceeds-list.js +2 -1
  278. package/dist/module/justifi-refund-form.js +1 -0
  279. package/dist/module/justifi-saved-payment-method.d.ts +11 -0
  280. package/dist/module/justifi-saved-payment-method.js +6 -0
  281. package/dist/module/justifi-subaccount-details.js +2 -1
  282. package/dist/module/justifi-subaccounts-list.js +2 -1
  283. package/dist/module/legal-address-details2.js +5 -2
  284. package/dist/module/legal-address-form-step.js +136 -0
  285. package/dist/module/new-payment-method.js +105 -0
  286. package/dist/module/owner-details2.js +10 -4
  287. package/dist/module/owner-form.js +244 -0
  288. package/dist/module/payload-parsers.js +39 -0
  289. package/dist/module/payment-details-core2.js +9 -3
  290. package/dist/module/payment-method-form.js +4 -10
  291. package/dist/module/payment-method-options.js +128 -0
  292. package/dist/module/payment-method-selector.js +2 -1
  293. package/dist/module/payment.service.js +1 -0
  294. package/dist/module/payments-list-core2.js +2 -1
  295. package/dist/module/payout-details-core2.js +3 -3
  296. package/dist/module/payout.service.js +1 -0
  297. package/dist/module/payouts-list-core2.js +3 -2
  298. package/dist/module/representative-details2.js +5 -3
  299. package/dist/module/saved-payment-method.js +66 -0
  300. package/dist/module/subaccount-account-details2.js +2 -2
  301. package/dist/module/subaccount-bank-details.js +2 -2
  302. package/dist/module/subaccount-merchant-details2.js +3 -3
  303. package/dist/module/subaccount-owners-details2.js +2 -2
  304. package/dist/module/subaccount-representative-details2.js +2 -2
  305. package/dist/module/subaccount-terms-details.js +2 -2
  306. package/dist/module/utils.js +4 -4
  307. package/dist/module/utils2.js +26 -3
  308. package/dist/module/utils4.js +10 -0
  309. package/dist/types/api/Api.d.ts +1 -1
  310. package/dist/types/api/Business.d.ts +1 -18
  311. package/dist/types/api/Checkout.d.ts +14 -0
  312. package/dist/types/api/Identity.d.ts +60 -0
  313. package/dist/types/api/index.d.ts +1 -0
  314. package/dist/types/api/services/business.service.d.ts +8 -0
  315. package/dist/types/api/services/checkout.service.d.ts +9 -0
  316. package/dist/types/api/services/reports.service.d.ts +5 -0
  317. package/dist/types/components/billing-form/billing-form-schema.d.ts +0 -1
  318. package/dist/types/components/billing-form/billing-form.d.ts +0 -1
  319. package/dist/types/components/business-details/business-details-core.d.ts +16 -0
  320. package/dist/types/components/business-details/business-details.d.ts +3 -13
  321. package/dist/types/components/business-details/get-business.d.ts +8 -0
  322. package/dist/types/components/business-details/owner-details/owner-details.d.ts +1 -9
  323. package/dist/types/components/business-details/representative-details/representative-details.d.ts +1 -1
  324. package/dist/types/components/{business-form → business-forms/business-form}/additional-questions/additional-questions.d.ts +1 -1
  325. package/dist/types/components/{business-form → business-forms/business-form}/business-address/business-address-form.d.ts +1 -1
  326. 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
  327. package/dist/types/components/{business-form → business-forms/business-form}/business-form.d.ts +5 -10
  328. package/dist/types/components/{business-form → business-forms/business-form}/business-owners/business-owners.d.ts +1 -1
  329. package/dist/types/components/{business-form → business-forms/business-form}/business-representative/business-representative.d.ts +1 -1
  330. package/dist/types/components/{business-form → business-forms/business-form}/legal-address-form/legal-address-form.d.ts +2 -2
  331. package/dist/types/components/business-forms/business-form-stepped/additional-questions/business-additional-questions-form-step.d.ts +30 -0
  332. package/dist/types/components/business-forms/business-form-stepped/business-address/business-address-form-step.d.ts +9 -0
  333. package/dist/types/components/business-forms/business-form-stepped/business-core-info/business-core-info-form-step.d.ts +36 -0
  334. package/dist/types/components/business-forms/business-form-stepped/business-form-stepped.d.ts +45 -0
  335. package/dist/types/components/business-forms/business-form-stepped/business-owners/business-owners-form-step.d.ts +36 -0
  336. package/dist/types/components/business-forms/business-form-stepped/business-representative/business-representative-form-step.d.ts +26 -0
  337. package/dist/types/components/business-forms/business-form-stepped/legal-address-form/legal-address-form-step.d.ts +31 -0
  338. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +36 -0
  339. package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +11 -0
  340. package/dist/types/components/{business-form/business-address/business-address-form-schema.d.ts → business-forms/schemas/business-address-schema.d.ts} +11 -8
  341. package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +19 -0
  342. package/dist/types/components/{business-form → business-forms/schemas}/business-form-schema.d.ts +2 -26
  343. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +59 -0
  344. package/dist/types/components/business-forms/schemas/business-owners-schema.d.ts +33 -0
  345. package/dist/types/components/business-forms/utils/business-form-select-options.d.ts +11 -0
  346. package/dist/types/components/business-forms/utils/business-form-types.d.ts +39 -0
  347. package/dist/types/components/business-forms/utils/payload-parsers.d.ts +4 -0
  348. package/dist/types/components/checkout/checkout-actions.d.ts +17 -0
  349. package/dist/types/components/checkout/checkout-core.d.ts +28 -0
  350. package/dist/types/components/checkout/checkout.d.ts +12 -0
  351. package/dist/types/components/checkout/new-payment-method.d.ts +17 -0
  352. package/dist/types/components/checkout/payment-method-option-utils.d.ts +16 -0
  353. package/dist/types/components/checkout/payment-method-options.d.ts +18 -0
  354. package/dist/types/components/checkout/saved-payment-method.d.ts +11 -0
  355. package/dist/types/components/checkout/test/checkout.d.ts +1 -0
  356. package/dist/types/components/checkout/test/mockCheckout.d.ts +19 -0
  357. package/dist/types/components/details/utils.d.ts +1 -1
  358. package/dist/types/components/form/form.d.ts +1 -1
  359. package/dist/types/components/form/utils.d.ts +1 -0
  360. package/dist/types/components/gross-payment-chart/get-gross-payment-chart-data.d.ts +11 -0
  361. package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +18 -0
  362. package/dist/types/components/gross-payment-chart/gross-payment-chart.d.ts +4 -14
  363. package/dist/types/components/payment-details/payment-details.d.ts +0 -1
  364. package/dist/types/components/payment-method-form/payment-method-responses.d.ts +3 -9
  365. package/dist/types/components.d.ts +626 -91
  366. package/dist/types/utils/utils.d.ts +3 -0
  367. package/dist/webcomponents/p-0399f02b.entry.js +1 -0
  368. package/dist/webcomponents/{p-6478f3ca.js → p-04a98c63.js} +1 -1
  369. package/dist/webcomponents/p-06888c2e.entry.js +1 -0
  370. package/dist/webcomponents/{p-234bc840.entry.js → p-07b326d0.entry.js} +1 -1
  371. package/dist/webcomponents/p-0811bc77.entry.js +1 -0
  372. package/dist/webcomponents/p-0923e39c.js +1 -0
  373. package/dist/webcomponents/p-17d72f4a.js +1 -0
  374. package/dist/webcomponents/p-17f64853.entry.js +1 -0
  375. package/dist/webcomponents/p-1bfadb9f.entry.js +1 -0
  376. package/dist/webcomponents/p-22085999.entry.js +1 -0
  377. package/dist/webcomponents/p-252835df.entry.js +1 -0
  378. package/dist/webcomponents/{p-22c1acd6.js → p-28b38699.js} +1 -1
  379. package/dist/webcomponents/p-34352d04.js +1 -0
  380. package/dist/webcomponents/p-374c44e6.entry.js +1 -0
  381. package/dist/webcomponents/{p-0a0cf2e6.entry.js → p-4697ccfa.entry.js} +1 -1
  382. package/dist/webcomponents/p-4781cd06.js +1 -0
  383. package/dist/webcomponents/{p-4c01df65.entry.js → p-4d50d08a.entry.js} +1 -1
  384. package/dist/webcomponents/p-4d806131.entry.js +1 -0
  385. package/dist/webcomponents/{p-7a1a06c0.entry.js → p-4df6174c.entry.js} +1 -1
  386. package/dist/webcomponents/p-4e0b3206.entry.js +1 -0
  387. package/dist/webcomponents/{p-4ee44c76.entry.js → p-583dd5a2.entry.js} +1 -1
  388. package/dist/webcomponents/p-5be4e217.entry.js +1 -0
  389. package/dist/webcomponents/p-5da4fbe7.entry.js +1 -0
  390. package/dist/webcomponents/{p-40349ffc.entry.js → p-6103c20d.entry.js} +1 -1
  391. package/dist/webcomponents/p-63296409.js +1 -0
  392. package/dist/webcomponents/{p-5c0310ee.js → p-65510838.js} +1 -1
  393. package/dist/webcomponents/p-688bb5da.js +2 -0
  394. package/dist/webcomponents/p-6b51cf97.entry.js +1 -0
  395. package/dist/webcomponents/p-7654c70d.entry.js +1 -0
  396. package/dist/webcomponents/p-7b2cddc7.js +1 -0
  397. package/dist/webcomponents/p-847441ce.entry.js +1 -0
  398. package/dist/webcomponents/p-861ba3fc.entry.js +1 -0
  399. package/dist/webcomponents/p-9207ccb2.entry.js +1 -0
  400. package/dist/webcomponents/p-975ab96e.js +1 -0
  401. package/dist/webcomponents/p-9ce8d98c.entry.js +1 -0
  402. package/dist/webcomponents/p-9e4b81ad.entry.js +1 -0
  403. package/dist/webcomponents/p-a141c531.js +1 -0
  404. package/dist/webcomponents/p-a2dbe90f.entry.js +1 -0
  405. package/dist/webcomponents/{p-4fa27a28.entry.js → p-a46174e0.entry.js} +1 -1
  406. package/dist/webcomponents/p-a98eea84.entry.js +1 -0
  407. package/dist/webcomponents/p-b1bc23af.entry.js +1 -0
  408. package/dist/webcomponents/p-b27c9b0d.entry.js +1 -0
  409. package/dist/webcomponents/{p-7c0f91fa.entry.js → p-b68f1dd9.entry.js} +1 -1
  410. package/dist/webcomponents/p-b8f22856.js +1 -0
  411. package/dist/webcomponents/p-c8d62072.entry.js +1 -0
  412. package/dist/webcomponents/{p-08833966.entry.js → p-da34bba7.entry.js} +1 -1
  413. package/dist/webcomponents/p-e3748ea4.entry.js +1 -0
  414. package/dist/webcomponents/p-e3fab0e2.js +1 -0
  415. package/dist/webcomponents/p-e924f2e1.entry.js +1 -0
  416. package/dist/webcomponents/p-ebf7c70f.entry.js +1 -0
  417. package/dist/webcomponents/p-eef5ed19.entry.js +1 -0
  418. package/dist/webcomponents/p-efc7025c.entry.js +1 -0
  419. package/dist/webcomponents/p-f3453ca2.js +1 -0
  420. package/dist/webcomponents/p-f3ca6fda.entry.js +1 -0
  421. package/dist/webcomponents/p-fb49ef28.entry.js +1 -0
  422. package/dist/webcomponents/p-fe2af0cf.entry.js +19 -0
  423. package/dist/webcomponents/p-fe8a94c1.entry.js +1 -0
  424. package/dist/webcomponents/webcomponents.esm.js +1 -1
  425. package/package.json +3 -2
  426. package/dist/cjs/BusinessFormEventTypes-863f48e9.js +0 -42
  427. package/dist/cjs/business-form-schema-37e5381d.js +0 -148
  428. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +0 -1747
  429. package/dist/collection/components/business-form/BusinessFormEventTypes.js +0 -6
  430. package/dist/collection/components/business-form/business-address/business-address-form-schema.js +0 -13
  431. package/dist/collection/components/business-form/business-form-schema.js +0 -159
  432. package/dist/collection/components/business-form/business-form-stepped.js +0 -260
  433. package/dist/collection/components/business-form/business-generic-info/business-generic-info.js +0 -77
  434. package/dist/collection/components/business-form/business-representative/business-representative-schema.js +0 -1
  435. package/dist/collection/components/business-form/helpers.js +0 -23
  436. package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js +0 -10
  437. package/dist/esm/BusinessFormEventTypes-989960ba.js +0 -39
  438. package/dist/esm/business-form-schema-f8f554d1.js +0 -144
  439. package/dist/esm/justifi-payment-method-form.entry.js +0 -1743
  440. package/dist/module/BusinessFormEventTypes.js +0 -39
  441. package/dist/module/business-generic-info.js +0 -210
  442. package/dist/module/justifi-business-generic-info.d.ts +0 -11
  443. package/dist/module/justifi-business-generic-info.js +0 -6
  444. package/dist/types/components/business-form/BusinessFormEventTypes.d.ts +0 -5
  445. package/dist/types/components/business-form/business-form-stepped.d.ts +0 -48
  446. package/dist/types/components/business-form/business-representative/business-representative-schema.d.ts +0 -17
  447. package/dist/types/components/business-form/helpers.d.ts +0 -1
  448. package/dist/types/components/business-form/legal-address-form/legal-address-form-schema.d.ts +0 -17
  449. package/dist/webcomponents/p-081cf5f6.entry.js +0 -1
  450. package/dist/webcomponents/p-0bc8b02e.entry.js +0 -1
  451. package/dist/webcomponents/p-112acd3c.entry.js +0 -1
  452. package/dist/webcomponents/p-1555e6b1.js +0 -1
  453. package/dist/webcomponents/p-16f41fd0.entry.js +0 -1
  454. package/dist/webcomponents/p-17715325.js +0 -1
  455. package/dist/webcomponents/p-3a4d4869.entry.js +0 -1
  456. package/dist/webcomponents/p-3cb0b96d.js +0 -1
  457. package/dist/webcomponents/p-4ba2c711.entry.js +0 -1
  458. package/dist/webcomponents/p-4f14df36.js +0 -2
  459. package/dist/webcomponents/p-5422a24b.entry.js +0 -1
  460. package/dist/webcomponents/p-578e0a05.entry.js +0 -1
  461. package/dist/webcomponents/p-640d90dc.entry.js +0 -1
  462. package/dist/webcomponents/p-663bfe87.js +0 -1
  463. package/dist/webcomponents/p-696396c7.entry.js +0 -1
  464. package/dist/webcomponents/p-6ab67031.entry.js +0 -1
  465. package/dist/webcomponents/p-6d0725ef.entry.js +0 -1
  466. package/dist/webcomponents/p-810b72b5.js +0 -1
  467. package/dist/webcomponents/p-8516d602.entry.js +0 -1
  468. package/dist/webcomponents/p-894a7475.entry.js +0 -19
  469. package/dist/webcomponents/p-94ebfafb.entry.js +0 -1
  470. package/dist/webcomponents/p-9cb3ff78.entry.js +0 -1
  471. package/dist/webcomponents/p-9e81808f.entry.js +0 -1
  472. package/dist/webcomponents/p-a432110c.entry.js +0 -1
  473. package/dist/webcomponents/p-b1881723.entry.js +0 -1
  474. package/dist/webcomponents/p-b5aba473.entry.js +0 -1
  475. package/dist/webcomponents/p-b8a8b551.js +0 -1
  476. package/dist/webcomponents/p-bd099662.entry.js +0 -1
  477. package/dist/webcomponents/p-bfd917b8.entry.js +0 -1
  478. package/dist/webcomponents/p-c90fa055.entry.js +0 -1
  479. package/dist/webcomponents/p-ebb91944.entry.js +0 -1
  480. package/dist/webcomponents/p-ec4f27e7.entry.js +0 -1
  481. package/dist/webcomponents/p-fa495a43.entry.js +0 -1
  482. /package/dist/collection/components/{business-form → business-forms/business-form}/business-address/test/business-address.e2e.js +0 -0
  483. /package/dist/collection/components/{business-form → business-forms/business-form}/business-address/test/business-address.spec.js +0 -0
  484. /package/dist/collection/components/{business-form → business-forms/business-form}/business-form.css +0 -0
  485. /package/dist/collection/components/{business-form → business-forms/business-form}/test/business-form.spec.js +0 -0
  486. /package/dist/collection/components/{business-form/business-address/business-address-form.css → business-forms/business-form-stepped/business-address/business-address-form-step.css} +0 -0
  487. /package/dist/collection/components/{business-form/business-generic-info/business-generic-info.css → business-forms/business-form-stepped/business-core-info/business-core-info-form-step.css} +0 -0
  488. /package/dist/collection/components/{business-form/business-owners/business-owners.css → business-forms/business-form-stepped/business-owners/business-owners-form-step.css} +0 -0
  489. /package/dist/collection/components/{business-form/business-representative/business-representative.css → business-forms/business-form-stepped/business-representative/business-representative-form-step.css} +0 -0
  490. /package/dist/collection/components/{business-form/legal-address-form/legal-address-form.css → business-forms/business-form-stepped/legal-address-form/legal-address-form-step.css} +0 -0
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-03-12T20:24:00",
2
+ "timestamp": "2024-04-09T18:28:17",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.10.0",
@@ -70,12 +70,76 @@
70
70
  "slots": [],
71
71
  "parts": [],
72
72
  "dependents": [
73
- "justifi-business-details"
73
+ "business-details-core"
74
74
  ],
75
75
  "dependencies": [],
76
76
  "dependencyGraph": {
77
- "justifi-business-details": [
77
+ "business-details-core": [
78
+ "additional-questions-details"
79
+ ]
80
+ }
81
+ },
82
+ {
83
+ "filePath": "src/components/business-details/business-details-core.tsx",
84
+ "encapsulation": "none",
85
+ "tag": "business-details-core",
86
+ "readme": "# justifi-business-details\n\n\n",
87
+ "docs": "",
88
+ "docsTags": [],
89
+ "usage": {},
90
+ "props": [
91
+ {
92
+ "name": "getBusiness",
93
+ "type": "Function",
94
+ "complexType": {
95
+ "original": "Function",
96
+ "resolved": "Function",
97
+ "references": {
98
+ "Function": {
99
+ "location": "global",
100
+ "id": "global::Function"
101
+ }
102
+ }
103
+ },
104
+ "mutable": false,
105
+ "reflectToAttr": false,
106
+ "docs": "",
107
+ "docsTags": [],
108
+ "values": [
109
+ {
110
+ "type": "Function"
111
+ }
112
+ ],
113
+ "optional": false,
114
+ "required": false
115
+ }
116
+ ],
117
+ "methods": [],
118
+ "events": [],
119
+ "listeners": [],
120
+ "styles": [],
121
+ "slots": [],
122
+ "parts": [],
123
+ "dependents": [
124
+ "justifi-business-details"
125
+ ],
126
+ "dependencies": [
127
+ "generic-info-details",
128
+ "legal-address-details",
129
+ "representative-details",
130
+ "owner-details",
131
+ "additional-questions-details"
132
+ ],
133
+ "dependencyGraph": {
134
+ "business-details-core": [
135
+ "generic-info-details",
136
+ "legal-address-details",
137
+ "representative-details",
138
+ "owner-details",
78
139
  "additional-questions-details"
140
+ ],
141
+ "justifi-business-details": [
142
+ "business-details-core"
79
143
  ]
80
144
  }
81
145
  },
@@ -286,7 +350,9 @@
286
350
  ],
287
351
  "dependents": [
288
352
  "justifi-business-owners",
289
- "justifi-business-representative"
353
+ "justifi-business-representative",
354
+ "justifi-business-representative-form-step",
355
+ "justifi-owner-form"
290
356
  ],
291
357
  "dependencies": [],
292
358
  "dependencyGraph": {
@@ -295,6 +361,12 @@
295
361
  ],
296
362
  "justifi-business-representative": [
297
363
  "form-control-datepart"
364
+ ],
365
+ "justifi-business-representative-form-step": [
366
+ "form-control-datepart"
367
+ ],
368
+ "justifi-owner-form": [
369
+ "form-control-datepart"
298
370
  ]
299
371
  }
300
372
  },
@@ -454,6 +526,7 @@
454
526
  ],
455
527
  "dependents": [
456
528
  "justifi-additional-questions",
529
+ "justifi-additional-questions-form-step",
457
530
  "justifi-refund-form"
458
531
  ],
459
532
  "dependencies": [],
@@ -461,6 +534,9 @@
461
534
  "justifi-additional-questions": [
462
535
  "form-control-monetary"
463
536
  ],
537
+ "justifi-additional-questions-form-step": [
538
+ "form-control-monetary"
539
+ ],
464
540
  "justifi-refund-form": [
465
541
  "form-control-monetary"
466
542
  ]
@@ -643,23 +719,39 @@
643
719
  ],
644
720
  "dependents": [
645
721
  "justifi-business-address-form",
722
+ "justifi-business-address-form-step",
646
723
  "justifi-business-owners",
647
724
  "justifi-business-representative",
648
- "justifi-legal-address-form"
725
+ "justifi-business-representative-form-step",
726
+ "justifi-legal-address-form",
727
+ "justifi-legal-address-form-step",
728
+ "justifi-owner-form"
649
729
  ],
650
730
  "dependencies": [],
651
731
  "dependencyGraph": {
652
732
  "justifi-business-address-form": [
653
733
  "form-control-number"
654
734
  ],
735
+ "justifi-business-address-form-step": [
736
+ "form-control-number"
737
+ ],
655
738
  "justifi-business-owners": [
656
739
  "form-control-number"
657
740
  ],
658
741
  "justifi-business-representative": [
659
742
  "form-control-number"
660
743
  ],
744
+ "justifi-business-representative-form-step": [
745
+ "form-control-number"
746
+ ],
661
747
  "justifi-legal-address-form": [
662
748
  "form-control-number"
749
+ ],
750
+ "justifi-legal-address-form-step": [
751
+ "form-control-number"
752
+ ],
753
+ "justifi-owner-form": [
754
+ "form-control-number"
663
755
  ]
664
756
  }
665
757
  },
@@ -860,13 +952,19 @@
860
952
  }
861
953
  ],
862
954
  "dependents": [
863
- "justifi-business-generic-info",
955
+ "justifi-business-core-info",
956
+ "justifi-business-core-info-form-step",
864
957
  "justifi-business-owners",
865
- "justifi-business-representative"
958
+ "justifi-business-representative",
959
+ "justifi-business-representative-form-step",
960
+ "justifi-owner-form"
866
961
  ],
867
962
  "dependencies": [],
868
963
  "dependencyGraph": {
869
- "justifi-business-generic-info": [
964
+ "justifi-business-core-info": [
965
+ "form-control-number-masked"
966
+ ],
967
+ "justifi-business-core-info-form-step": [
870
968
  "form-control-number-masked"
871
969
  ],
872
970
  "justifi-business-owners": [
@@ -874,6 +972,12 @@
874
972
  ],
875
973
  "justifi-business-representative": [
876
974
  "form-control-number-masked"
975
+ ],
976
+ "justifi-business-representative-form-step": [
977
+ "form-control-number-masked"
978
+ ],
979
+ "justifi-owner-form": [
980
+ "form-control-number-masked"
877
981
  ]
878
982
  }
879
983
  },
@@ -1074,23 +1178,43 @@
1074
1178
  ],
1075
1179
  "dependents": [
1076
1180
  "justifi-business-address-form",
1077
- "justifi-business-generic-info",
1181
+ "justifi-business-address-form-step",
1182
+ "justifi-business-core-info",
1183
+ "justifi-business-core-info-form-step",
1078
1184
  "justifi-business-representative",
1079
- "justifi-legal-address-form"
1185
+ "justifi-business-representative-form-step",
1186
+ "justifi-legal-address-form",
1187
+ "justifi-legal-address-form-step",
1188
+ "justifi-owner-form"
1080
1189
  ],
1081
1190
  "dependencies": [],
1082
1191
  "dependencyGraph": {
1083
1192
  "justifi-business-address-form": [
1084
1193
  "form-control-select"
1085
1194
  ],
1086
- "justifi-business-generic-info": [
1195
+ "justifi-business-address-form-step": [
1196
+ "form-control-select"
1197
+ ],
1198
+ "justifi-business-core-info": [
1199
+ "form-control-select"
1200
+ ],
1201
+ "justifi-business-core-info-form-step": [
1087
1202
  "form-control-select"
1088
1203
  ],
1089
1204
  "justifi-business-representative": [
1090
1205
  "form-control-select"
1091
1206
  ],
1207
+ "justifi-business-representative-form-step": [
1208
+ "form-control-select"
1209
+ ],
1092
1210
  "justifi-legal-address-form": [
1093
1211
  "form-control-select"
1212
+ ],
1213
+ "justifi-legal-address-form-step": [
1214
+ "form-control-select"
1215
+ ],
1216
+ "justifi-owner-form": [
1217
+ "form-control-select"
1094
1218
  ]
1095
1219
  }
1096
1220
  },
@@ -1271,10 +1395,15 @@
1271
1395
  ],
1272
1396
  "dependents": [
1273
1397
  "justifi-business-address-form",
1274
- "justifi-business-generic-info",
1398
+ "justifi-business-address-form-step",
1399
+ "justifi-business-core-info",
1400
+ "justifi-business-core-info-form-step",
1275
1401
  "justifi-business-owners",
1276
1402
  "justifi-business-representative",
1403
+ "justifi-business-representative-form-step",
1277
1404
  "justifi-legal-address-form",
1405
+ "justifi-legal-address-form-step",
1406
+ "justifi-owner-form",
1278
1407
  "justifi-refund-form"
1279
1408
  ],
1280
1409
  "dependencies": [],
@@ -1282,7 +1411,13 @@
1282
1411
  "justifi-business-address-form": [
1283
1412
  "form-control-text"
1284
1413
  ],
1285
- "justifi-business-generic-info": [
1414
+ "justifi-business-address-form-step": [
1415
+ "form-control-text"
1416
+ ],
1417
+ "justifi-business-core-info": [
1418
+ "form-control-text"
1419
+ ],
1420
+ "justifi-business-core-info-form-step": [
1286
1421
  "form-control-text"
1287
1422
  ],
1288
1423
  "justifi-business-owners": [
@@ -1291,9 +1426,18 @@
1291
1426
  "justifi-business-representative": [
1292
1427
  "form-control-text"
1293
1428
  ],
1429
+ "justifi-business-representative-form-step": [
1430
+ "form-control-text"
1431
+ ],
1294
1432
  "justifi-legal-address-form": [
1295
1433
  "form-control-text"
1296
1434
  ],
1435
+ "justifi-legal-address-form-step": [
1436
+ "form-control-text"
1437
+ ],
1438
+ "justifi-owner-form": [
1439
+ "form-control-text"
1440
+ ],
1297
1441
  "justifi-refund-form": [
1298
1442
  "form-control-text"
1299
1443
  ]
@@ -1342,17 +1486,68 @@
1342
1486
  "slots": [],
1343
1487
  "parts": [],
1344
1488
  "dependents": [
1345
- "justifi-business-details"
1489
+ "business-details-core"
1346
1490
  ],
1347
1491
  "dependencies": [],
1348
1492
  "dependencyGraph": {
1349
- "justifi-business-details": [
1493
+ "business-details-core": [
1350
1494
  "generic-info-details"
1351
1495
  ]
1352
1496
  }
1353
1497
  },
1354
1498
  {
1355
- "filePath": "src/components/business-form/additional-questions/additional-questions.tsx",
1499
+ "filePath": "src/components/gross-payment-chart/gross-payment-chart-core.tsx",
1500
+ "encapsulation": "none",
1501
+ "tag": "gross-payment-chart-core",
1502
+ "readme": "# justifi-gross-payment-chart\n\n\n",
1503
+ "docs": "",
1504
+ "docsTags": [],
1505
+ "usage": {},
1506
+ "props": [
1507
+ {
1508
+ "name": "getGrossPayment",
1509
+ "type": "Function",
1510
+ "complexType": {
1511
+ "original": "Function",
1512
+ "resolved": "Function",
1513
+ "references": {
1514
+ "Function": {
1515
+ "location": "global",
1516
+ "id": "global::Function"
1517
+ }
1518
+ }
1519
+ },
1520
+ "mutable": false,
1521
+ "reflectToAttr": false,
1522
+ "docs": "",
1523
+ "docsTags": [],
1524
+ "values": [
1525
+ {
1526
+ "type": "Function"
1527
+ }
1528
+ ],
1529
+ "optional": false,
1530
+ "required": false
1531
+ }
1532
+ ],
1533
+ "methods": [],
1534
+ "events": [],
1535
+ "listeners": [],
1536
+ "styles": [],
1537
+ "slots": [],
1538
+ "parts": [],
1539
+ "dependents": [
1540
+ "justifi-gross-payment-chart"
1541
+ ],
1542
+ "dependencies": [],
1543
+ "dependencyGraph": {
1544
+ "justifi-gross-payment-chart": [
1545
+ "gross-payment-chart-core"
1546
+ ]
1547
+ }
1548
+ },
1549
+ {
1550
+ "filePath": "src/components/business-forms/business-form/additional-questions/additional-questions.tsx",
1356
1551
  "encapsulation": "none",
1357
1552
  "tag": "justifi-additional-questions",
1358
1553
  "readme": "# justifi-additional-questions\n\n\n",
@@ -1382,7 +1577,7 @@
1382
1577
  "references": {
1383
1578
  "FormController": {
1384
1579
  "location": "import",
1385
- "path": "../../form/form",
1580
+ "path": "../../../form/form",
1386
1581
  "id": "src/components/form/form.ts::FormController"
1387
1582
  }
1388
1583
  }
@@ -1407,8 +1602,7 @@
1407
1602
  "slots": [],
1408
1603
  "parts": [],
1409
1604
  "dependents": [
1410
- "justifi-business-form",
1411
- "justifi-business-form-stepped"
1605
+ "justifi-business-form"
1412
1606
  ],
1413
1607
  "dependencies": [
1414
1608
  "form-control-monetary"
@@ -1419,75 +1613,67 @@
1419
1613
  ],
1420
1614
  "justifi-business-form": [
1421
1615
  "justifi-additional-questions"
1422
- ],
1423
- "justifi-business-form-stepped": [
1424
- "justifi-additional-questions"
1425
1616
  ]
1426
1617
  }
1427
1618
  },
1428
1619
  {
1429
- "filePath": "src/components/bank-account-form/bank-account-form.tsx",
1620
+ "filePath": "src/components/business-forms/business-form-stepped/additional-questions/business-additional-questions-form-step.tsx",
1430
1621
  "encapsulation": "none",
1431
- "tag": "justifi-bank-account-form",
1432
- "readme": "# justifi-bank-account-form\n",
1622
+ "tag": "justifi-additional-questions-form-step",
1623
+ "readme": "# justifi-additional-questions\n\n\n",
1433
1624
  "docs": "",
1434
- "docsTags": [],
1625
+ "docsTags": [
1626
+ {
1627
+ "name": "exportedPart",
1628
+ "text": "label: Label for inputs"
1629
+ },
1630
+ {
1631
+ "name": "exportedPart",
1632
+ "text": "input: The input fields"
1633
+ },
1634
+ {
1635
+ "name": "exportedPart",
1636
+ "text": "input-invalid: Invalid state for inputfs"
1637
+ }
1638
+ ],
1435
1639
  "usage": {},
1436
1640
  "props": [
1437
1641
  {
1438
- "name": "iframeOrigin",
1642
+ "name": "authToken",
1439
1643
  "type": "string",
1440
1644
  "complexType": {
1441
1645
  "original": "string",
1442
1646
  "resolved": "string",
1443
1647
  "references": {}
1444
1648
  },
1445
- "mutable": true,
1446
- "attr": "iframe-origin",
1649
+ "mutable": false,
1650
+ "attr": "auth-token",
1447
1651
  "reflectToAttr": false,
1448
- "docs": "URL for the rendered iFrame. End-users need not use this.",
1652
+ "docs": "",
1449
1653
  "docsTags": [],
1450
- "default": "config.iframeOrigin",
1451
1654
  "values": [
1452
1655
  {
1453
1656
  "type": "string"
1454
1657
  }
1455
1658
  ],
1456
- "optional": true,
1659
+ "optional": false,
1457
1660
  "required": false
1458
1661
  },
1459
1662
  {
1460
- "name": "validationMode",
1461
- "type": "\"all\" | \"onBlur\" | \"onChange\" | \"onSubmit\" | \"onTouched\"",
1663
+ "name": "businessId",
1664
+ "type": "string",
1462
1665
  "complexType": {
1463
- "original": "'onChange' | 'onBlur' | 'onSubmit' | 'onTouched' | 'all'",
1464
- "resolved": "\"all\" | \"onBlur\" | \"onChange\" | \"onSubmit\" | \"onTouched\"",
1666
+ "original": "string",
1667
+ "resolved": "string",
1465
1668
  "references": {}
1466
1669
  },
1467
- "mutable": true,
1468
- "attr": "validation-mode",
1670
+ "mutable": false,
1671
+ "attr": "business-id",
1469
1672
  "reflectToAttr": false,
1470
- "docs": "When to trigger validation of the form.",
1673
+ "docs": "",
1471
1674
  "docsTags": [],
1472
1675
  "values": [
1473
1676
  {
1474
- "value": "all",
1475
- "type": "string"
1476
- },
1477
- {
1478
- "value": "onBlur",
1479
- "type": "string"
1480
- },
1481
- {
1482
- "value": "onChange",
1483
- "type": "string"
1484
- },
1485
- {
1486
- "value": "onSubmit",
1487
- "type": "string"
1488
- },
1489
- {
1490
- "value": "onTouched",
1491
1677
  "type": "string"
1492
1678
  }
1493
1679
  ],
@@ -1497,14 +1683,20 @@
1497
1683
  ],
1498
1684
  "methods": [
1499
1685
  {
1500
- "name": "resize",
1686
+ "name": "validateAndSubmit",
1501
1687
  "returns": {
1502
1688
  "type": "Promise<void>",
1503
1689
  "docs": ""
1504
1690
  },
1505
1691
  "complexType": {
1506
- "signature": "() => Promise<void>",
1507
- "parameters": [],
1692
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
1693
+ "parameters": [
1694
+ {
1695
+ "name": "__0",
1696
+ "type": "{ onSuccess: any; }",
1697
+ "docs": ""
1698
+ }
1699
+ ],
1508
1700
  "references": {
1509
1701
  "Promise": {
1510
1702
  "location": "global",
@@ -1513,32 +1705,207 @@
1513
1705
  },
1514
1706
  "return": "Promise<void>"
1515
1707
  },
1516
- "signature": "resize() => Promise<void>",
1517
- "parameters": [],
1518
- "docs": "Manually resizes the iframe to fit the contents of the iframe",
1519
- "docsTags": [
1708
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
1709
+ "parameters": [
1520
1710
  {
1521
- "name": "deprecated",
1522
- "text": "This method will be removed in future releases."
1711
+ "name": "__0",
1712
+ "type": "{ onSuccess: any; }",
1713
+ "docs": ""
1523
1714
  }
1524
1715
  ],
1525
- "deprecation": "This method will be removed in future releases."
1526
- },
1716
+ "docs": "",
1717
+ "docsTags": []
1718
+ }
1719
+ ],
1720
+ "events": [
1527
1721
  {
1528
- "name": "tokenize",
1529
- "returns": {
1530
- "type": "Promise<CreatePaymentMethodResponse>",
1531
- "docs": ""
1532
- },
1722
+ "event": "formLoading",
1723
+ "detail": "boolean",
1724
+ "bubbles": true,
1533
1725
  "complexType": {
1534
- "signature": "(clientId: string, paymentMethodMetadata: any, account?: string) => Promise<CreatePaymentMethodResponse>",
1535
- "parameters": [
1536
- {
1537
- "name": "args",
1538
- "type": "[clientId: string, paymentMethodMetadata: any, account?: string]",
1539
- "docs": ""
1540
- }
1541
- ],
1726
+ "original": "boolean",
1727
+ "resolved": "boolean",
1728
+ "references": {}
1729
+ },
1730
+ "cancelable": true,
1731
+ "composed": true,
1732
+ "docs": "",
1733
+ "docsTags": []
1734
+ },
1735
+ {
1736
+ "event": "serverError",
1737
+ "detail": "BusinessFormServerErrorEvent",
1738
+ "bubbles": true,
1739
+ "complexType": {
1740
+ "original": "BusinessFormServerErrorEvent",
1741
+ "resolved": "BusinessFormServerErrorEvent",
1742
+ "references": {
1743
+ "BusinessFormServerErrorEvent": {
1744
+ "location": "import",
1745
+ "path": "../../utils/business-form-types",
1746
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
1747
+ }
1748
+ }
1749
+ },
1750
+ "cancelable": true,
1751
+ "composed": true,
1752
+ "docs": "",
1753
+ "docsTags": []
1754
+ },
1755
+ {
1756
+ "event": "submitted",
1757
+ "detail": "BusinessFormSubmitEvent",
1758
+ "bubbles": true,
1759
+ "complexType": {
1760
+ "original": "BusinessFormSubmitEvent",
1761
+ "resolved": "BusinessFormSubmitEvent",
1762
+ "references": {
1763
+ "BusinessFormSubmitEvent": {
1764
+ "location": "import",
1765
+ "path": "../../utils/business-form-types",
1766
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
1767
+ }
1768
+ }
1769
+ },
1770
+ "cancelable": true,
1771
+ "composed": true,
1772
+ "docs": "",
1773
+ "docsTags": []
1774
+ }
1775
+ ],
1776
+ "listeners": [],
1777
+ "styles": [],
1778
+ "slots": [],
1779
+ "parts": [],
1780
+ "dependents": [
1781
+ "justifi-business-form-stepped"
1782
+ ],
1783
+ "dependencies": [
1784
+ "form-control-monetary"
1785
+ ],
1786
+ "dependencyGraph": {
1787
+ "justifi-additional-questions-form-step": [
1788
+ "form-control-monetary"
1789
+ ],
1790
+ "justifi-business-form-stepped": [
1791
+ "justifi-additional-questions-form-step"
1792
+ ]
1793
+ }
1794
+ },
1795
+ {
1796
+ "filePath": "src/components/bank-account-form/bank-account-form.tsx",
1797
+ "encapsulation": "none",
1798
+ "tag": "justifi-bank-account-form",
1799
+ "readme": "# justifi-bank-account-form\n",
1800
+ "docs": "",
1801
+ "docsTags": [],
1802
+ "usage": {},
1803
+ "props": [
1804
+ {
1805
+ "name": "iframeOrigin",
1806
+ "type": "string",
1807
+ "complexType": {
1808
+ "original": "string",
1809
+ "resolved": "string",
1810
+ "references": {}
1811
+ },
1812
+ "mutable": true,
1813
+ "attr": "iframe-origin",
1814
+ "reflectToAttr": false,
1815
+ "docs": "URL for the rendered iFrame. End-users need not use this.",
1816
+ "docsTags": [],
1817
+ "default": "config.iframeOrigin",
1818
+ "values": [
1819
+ {
1820
+ "type": "string"
1821
+ }
1822
+ ],
1823
+ "optional": true,
1824
+ "required": false
1825
+ },
1826
+ {
1827
+ "name": "validationMode",
1828
+ "type": "\"all\" | \"onBlur\" | \"onChange\" | \"onSubmit\" | \"onTouched\"",
1829
+ "complexType": {
1830
+ "original": "'onChange' | 'onBlur' | 'onSubmit' | 'onTouched' | 'all'",
1831
+ "resolved": "\"all\" | \"onBlur\" | \"onChange\" | \"onSubmit\" | \"onTouched\"",
1832
+ "references": {}
1833
+ },
1834
+ "mutable": true,
1835
+ "attr": "validation-mode",
1836
+ "reflectToAttr": false,
1837
+ "docs": "When to trigger validation of the form.",
1838
+ "docsTags": [],
1839
+ "values": [
1840
+ {
1841
+ "value": "all",
1842
+ "type": "string"
1843
+ },
1844
+ {
1845
+ "value": "onBlur",
1846
+ "type": "string"
1847
+ },
1848
+ {
1849
+ "value": "onChange",
1850
+ "type": "string"
1851
+ },
1852
+ {
1853
+ "value": "onSubmit",
1854
+ "type": "string"
1855
+ },
1856
+ {
1857
+ "value": "onTouched",
1858
+ "type": "string"
1859
+ }
1860
+ ],
1861
+ "optional": false,
1862
+ "required": false
1863
+ }
1864
+ ],
1865
+ "methods": [
1866
+ {
1867
+ "name": "resize",
1868
+ "returns": {
1869
+ "type": "Promise<void>",
1870
+ "docs": ""
1871
+ },
1872
+ "complexType": {
1873
+ "signature": "() => Promise<void>",
1874
+ "parameters": [],
1875
+ "references": {
1876
+ "Promise": {
1877
+ "location": "global",
1878
+ "id": "global::Promise"
1879
+ }
1880
+ },
1881
+ "return": "Promise<void>"
1882
+ },
1883
+ "signature": "resize() => Promise<void>",
1884
+ "parameters": [],
1885
+ "docs": "Manually resizes the iframe to fit the contents of the iframe",
1886
+ "docsTags": [
1887
+ {
1888
+ "name": "deprecated",
1889
+ "text": "This method will be removed in future releases."
1890
+ }
1891
+ ],
1892
+ "deprecation": "This method will be removed in future releases."
1893
+ },
1894
+ {
1895
+ "name": "tokenize",
1896
+ "returns": {
1897
+ "type": "Promise<CreatePaymentMethodResponse>",
1898
+ "docs": ""
1899
+ },
1900
+ "complexType": {
1901
+ "signature": "(clientId: string, paymentMethodMetadata: any, account?: string) => Promise<CreatePaymentMethodResponse>",
1902
+ "parameters": [
1903
+ {
1904
+ "name": "args",
1905
+ "type": "[clientId: string, paymentMethodMetadata: any, account?: string]",
1906
+ "docs": ""
1907
+ }
1908
+ ],
1542
1909
  "references": {
1543
1910
  "Promise": {
1544
1911
  "location": "global",
@@ -1863,6 +2230,7 @@
1863
2230
  "slots": [],
1864
2231
  "parts": [],
1865
2232
  "dependents": [
2233
+ "justifi-new-payment-method",
1866
2234
  "justifi-payment-form"
1867
2235
  ],
1868
2236
  "dependencies": [
@@ -1874,13 +2242,16 @@
1874
2242
  "text-input",
1875
2243
  "select-input"
1876
2244
  ],
2245
+ "justifi-new-payment-method": [
2246
+ "justifi-billing-form"
2247
+ ],
1877
2248
  "justifi-payment-form": [
1878
2249
  "justifi-billing-form"
1879
2250
  ]
1880
2251
  }
1881
2252
  },
1882
2253
  {
1883
- "filePath": "src/components/business-form/business-address/business-address-form.tsx",
2254
+ "filePath": "src/components/business-forms/business-form/business-address/business-address-form.tsx",
1884
2255
  "encapsulation": "shadow",
1885
2256
  "tag": "justifi-business-address-form",
1886
2257
  "readme": "# justifi-business-address\n\n\n",
@@ -1931,7 +2302,7 @@
1931
2302
  "required": false
1932
2303
  },
1933
2304
  {
1934
- "name": "onFormUpdate",
2305
+ "name": "handleFormUpdate",
1935
2306
  "type": "(values: any) => void",
1936
2307
  "complexType": {
1937
2308
  "original": "(values: any) => void",
@@ -1958,7 +2329,9 @@
1958
2329
  "slots": [],
1959
2330
  "parts": [],
1960
2331
  "dependents": [
1961
- "justifi-business-representative"
2332
+ "justifi-business-representative",
2333
+ "justifi-business-representative-form-step",
2334
+ "justifi-owner-form"
1962
2335
  ],
1963
2336
  "dependencies": [
1964
2337
  "form-control-text",
@@ -1973,76 +2346,81 @@
1973
2346
  ],
1974
2347
  "justifi-business-representative": [
1975
2348
  "justifi-business-address-form"
2349
+ ],
2350
+ "justifi-business-representative-form-step": [
2351
+ "justifi-business-address-form"
2352
+ ],
2353
+ "justifi-owner-form": [
2354
+ "justifi-business-address-form"
1976
2355
  ]
1977
2356
  }
1978
2357
  },
1979
2358
  {
1980
- "filePath": "src/components/business-details/business-details.tsx",
2359
+ "filePath": "src/components/business-forms/business-form-stepped/business-address/business-address-form-step.tsx",
1981
2360
  "encapsulation": "shadow",
1982
- "tag": "justifi-business-details",
1983
- "readme": "# justifi-business-details\n\n\n",
2361
+ "tag": "justifi-business-address-form-step",
2362
+ "readme": "# justifi-business-address\n\n\n",
1984
2363
  "docs": "",
1985
- "docsTags": [
1986
- {
1987
- "name": "exportedPart",
1988
- "text": "detail-section"
1989
- },
1990
- {
1991
- "name": "exportedPart",
1992
- "text": "detail-section-title"
1993
- },
1994
- {
1995
- "name": "exportedPart",
1996
- "text": "detail-section-item-title"
1997
- },
1998
- {
1999
- "name": "exportedPart",
2000
- "text": "detail-section-item-data"
2001
- },
2002
- {
2003
- "name": "exportedPart",
2004
- "text": "detail-empty-state"
2005
- }
2006
- ],
2364
+ "docsTags": [],
2007
2365
  "usage": {},
2008
2366
  "props": [
2009
2367
  {
2010
- "name": "authToken",
2011
- "type": "string",
2368
+ "name": "defaultValues",
2369
+ "type": "any",
2012
2370
  "complexType": {
2013
- "original": "string",
2014
- "resolved": "string",
2371
+ "original": "any",
2372
+ "resolved": "any",
2015
2373
  "references": {}
2016
2374
  },
2017
2375
  "mutable": false,
2018
- "attr": "auth-token",
2376
+ "attr": "default-values",
2019
2377
  "reflectToAttr": false,
2020
2378
  "docs": "",
2021
2379
  "docsTags": [],
2022
2380
  "values": [
2023
2381
  {
2024
- "type": "string"
2382
+ "type": "any"
2025
2383
  }
2026
2384
  ],
2027
2385
  "optional": false,
2028
2386
  "required": false
2029
2387
  },
2030
2388
  {
2031
- "name": "businessId",
2032
- "type": "string",
2389
+ "name": "errors",
2390
+ "type": "any",
2033
2391
  "complexType": {
2034
- "original": "string",
2035
- "resolved": "string",
2392
+ "original": "any",
2393
+ "resolved": "any",
2036
2394
  "references": {}
2037
2395
  },
2038
2396
  "mutable": false,
2039
- "attr": "business-id",
2397
+ "attr": "errors",
2040
2398
  "reflectToAttr": false,
2041
2399
  "docs": "",
2042
2400
  "docsTags": [],
2043
2401
  "values": [
2044
2402
  {
2045
- "type": "string"
2403
+ "type": "any"
2404
+ }
2405
+ ],
2406
+ "optional": false,
2407
+ "required": false
2408
+ },
2409
+ {
2410
+ "name": "handleFormUpdate",
2411
+ "type": "(values: any) => void",
2412
+ "complexType": {
2413
+ "original": "(values: any) => void",
2414
+ "resolved": "(values: any) => void",
2415
+ "references": {}
2416
+ },
2417
+ "mutable": false,
2418
+ "reflectToAttr": false,
2419
+ "docs": "",
2420
+ "docsTags": [],
2421
+ "values": [
2422
+ {
2423
+ "type": "(values: any) => void"
2046
2424
  }
2047
2425
  ],
2048
2426
  "optional": false,
@@ -2057,28 +2435,98 @@
2057
2435
  "parts": [],
2058
2436
  "dependents": [],
2059
2437
  "dependencies": [
2060
- "generic-info-details",
2061
- "legal-address-details",
2062
- "representative-details",
2063
- "owner-details",
2064
- "additional-questions-details"
2438
+ "form-control-text",
2439
+ "form-control-select",
2440
+ "form-control-number"
2065
2441
  ],
2066
2442
  "dependencyGraph": {
2067
- "justifi-business-details": [
2068
- "generic-info-details",
2069
- "legal-address-details",
2070
- "representative-details",
2071
- "owner-details",
2072
- "additional-questions-details"
2443
+ "justifi-business-address-form-step": [
2444
+ "form-control-text",
2445
+ "form-control-select",
2446
+ "form-control-number"
2073
2447
  ]
2074
2448
  }
2075
2449
  },
2076
2450
  {
2077
- "filePath": "src/components/business-form/business-form.tsx",
2451
+ "filePath": "src/components/business-forms/business-form/business-core-info/business-core-info.tsx",
2078
2452
  "encapsulation": "none",
2079
- "tag": "justifi-business-form",
2080
- "readme": "# justifi-business-info\n\n\n",
2081
- "docs": "",
2453
+ "tag": "justifi-business-core-info",
2454
+ "readme": "# justifi-business-generic-info-form\n\n\n",
2455
+ "docs": "\nThe difference between this component and business-core-info-details\nis that this component is meant to be a form and send data\nand the other one is meant to be just read only.",
2456
+ "docsTags": [
2457
+ {
2458
+ "name": "exportedPart",
2459
+ "text": "label: Label for inputs"
2460
+ },
2461
+ {
2462
+ "name": "exportedPart",
2463
+ "text": "input: The input fields"
2464
+ },
2465
+ {
2466
+ "name": "exportedPart",
2467
+ "text": "input-invalid: Invalid state for inputfs"
2468
+ }
2469
+ ],
2470
+ "usage": {},
2471
+ "props": [
2472
+ {
2473
+ "name": "formController",
2474
+ "type": "FormController",
2475
+ "complexType": {
2476
+ "original": "FormController",
2477
+ "resolved": "FormController",
2478
+ "references": {
2479
+ "FormController": {
2480
+ "location": "import",
2481
+ "path": "../../../form/form",
2482
+ "id": "src/components/form/form.ts::FormController"
2483
+ }
2484
+ }
2485
+ },
2486
+ "mutable": false,
2487
+ "reflectToAttr": false,
2488
+ "docs": "",
2489
+ "docsTags": [],
2490
+ "values": [
2491
+ {
2492
+ "type": "FormController"
2493
+ }
2494
+ ],
2495
+ "optional": false,
2496
+ "required": false
2497
+ }
2498
+ ],
2499
+ "methods": [],
2500
+ "events": [],
2501
+ "listeners": [],
2502
+ "styles": [],
2503
+ "slots": [],
2504
+ "parts": [],
2505
+ "dependents": [
2506
+ "justifi-business-form"
2507
+ ],
2508
+ "dependencies": [
2509
+ "form-control-text",
2510
+ "form-control-select",
2511
+ "form-control-number-masked"
2512
+ ],
2513
+ "dependencyGraph": {
2514
+ "justifi-business-core-info": [
2515
+ "form-control-text",
2516
+ "form-control-select",
2517
+ "form-control-number-masked"
2518
+ ],
2519
+ "justifi-business-form": [
2520
+ "justifi-business-core-info"
2521
+ ]
2522
+ }
2523
+ },
2524
+ {
2525
+ "filePath": "src/components/business-forms/business-form-stepped/business-core-info/business-core-info-form-step.tsx",
2526
+ "encapsulation": "none",
2527
+ "tag": "justifi-business-core-info-form-step",
2528
+ "readme": "# justifi-business-generic-info-form\n\n\n",
2529
+ "docs": "\nThe difference between this component and business-generic-info-details\nis that this component is meant to be a form and send data\nand the other one is meant to be just read only.",
2082
2530
  "docsTags": [
2083
2531
  {
2084
2532
  "name": "exportedPart",
@@ -2136,39 +2584,52 @@
2136
2584
  ],
2137
2585
  "optional": false,
2138
2586
  "required": false
2139
- },
2587
+ }
2588
+ ],
2589
+ "methods": [
2140
2590
  {
2141
- "name": "hideErrors",
2142
- "type": "boolean",
2591
+ "name": "validateAndSubmit",
2592
+ "returns": {
2593
+ "type": "Promise<void>",
2594
+ "docs": ""
2595
+ },
2143
2596
  "complexType": {
2144
- "original": "boolean",
2145
- "resolved": "boolean",
2146
- "references": {}
2597
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
2598
+ "parameters": [
2599
+ {
2600
+ "name": "__0",
2601
+ "type": "{ onSuccess: any; }",
2602
+ "docs": ""
2603
+ }
2604
+ ],
2605
+ "references": {
2606
+ "Promise": {
2607
+ "location": "global",
2608
+ "id": "global::Promise"
2609
+ }
2610
+ },
2611
+ "return": "Promise<void>"
2147
2612
  },
2148
- "mutable": false,
2149
- "attr": "hide-errors",
2150
- "reflectToAttr": false,
2151
- "docs": "",
2152
- "docsTags": [],
2153
- "default": "false",
2154
- "values": [
2613
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
2614
+ "parameters": [
2155
2615
  {
2156
- "type": "boolean"
2616
+ "name": "__0",
2617
+ "type": "{ onSuccess: any; }",
2618
+ "docs": ""
2157
2619
  }
2158
2620
  ],
2159
- "optional": true,
2160
- "required": false
2621
+ "docs": "",
2622
+ "docsTags": []
2161
2623
  }
2162
2624
  ],
2163
- "methods": [],
2164
2625
  "events": [
2165
2626
  {
2166
- "event": "clickEvent",
2167
- "detail": "{ data?: any; name: string; }",
2627
+ "event": "formLoading",
2628
+ "detail": "boolean",
2168
2629
  "bubbles": true,
2169
2630
  "complexType": {
2170
- "original": "{ data?: any, name: string }",
2171
- "resolved": "{ data?: any; name: string; }",
2631
+ "original": "boolean",
2632
+ "resolved": "boolean",
2172
2633
  "references": {}
2173
2634
  },
2174
2635
  "cancelable": true,
@@ -2176,14 +2637,40 @@
2176
2637
  "docs": "",
2177
2638
  "docsTags": []
2178
2639
  },
2640
+ {
2641
+ "event": "serverError",
2642
+ "detail": "BusinessFormServerErrorEvent",
2643
+ "bubbles": true,
2644
+ "complexType": {
2645
+ "original": "BusinessFormServerErrorEvent",
2646
+ "resolved": "BusinessFormServerErrorEvent",
2647
+ "references": {
2648
+ "BusinessFormServerErrorEvent": {
2649
+ "location": "import",
2650
+ "path": "../../utils/business-form-types",
2651
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
2652
+ }
2653
+ }
2654
+ },
2655
+ "cancelable": true,
2656
+ "composed": true,
2657
+ "docs": "",
2658
+ "docsTags": []
2659
+ },
2179
2660
  {
2180
2661
  "event": "submitted",
2181
- "detail": "{ data: any; }",
2662
+ "detail": "BusinessFormSubmitEvent",
2182
2663
  "bubbles": true,
2183
2664
  "complexType": {
2184
- "original": "{ data: any }",
2185
- "resolved": "{ data: any; }",
2186
- "references": {}
2665
+ "original": "BusinessFormSubmitEvent",
2666
+ "resolved": "BusinessFormSubmitEvent",
2667
+ "references": {
2668
+ "BusinessFormSubmitEvent": {
2669
+ "location": "import",
2670
+ "path": "../../utils/business-form-types",
2671
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
2672
+ }
2673
+ }
2187
2674
  },
2188
2675
  "cancelable": true,
2189
2676
  "composed": true,
@@ -2195,66 +2682,51 @@
2195
2682
  "styles": [],
2196
2683
  "slots": [],
2197
2684
  "parts": [],
2198
- "dependents": [],
2685
+ "dependents": [
2686
+ "justifi-business-form-stepped"
2687
+ ],
2199
2688
  "dependencies": [
2200
- "justifi-business-generic-info",
2201
- "justifi-legal-address-form",
2202
- "justifi-additional-questions",
2203
- "justifi-business-representative"
2689
+ "form-control-text",
2690
+ "form-control-select",
2691
+ "form-control-number-masked"
2204
2692
  ],
2205
2693
  "dependencyGraph": {
2206
- "justifi-business-form": [
2207
- "justifi-business-generic-info",
2208
- "justifi-legal-address-form",
2209
- "justifi-additional-questions",
2210
- "justifi-business-representative"
2211
- ],
2212
- "justifi-business-generic-info": [
2694
+ "justifi-business-core-info-form-step": [
2213
2695
  "form-control-text",
2214
2696
  "form-control-select",
2215
2697
  "form-control-number-masked"
2216
2698
  ],
2217
- "justifi-legal-address-form": [
2218
- "form-control-text",
2219
- "form-control-number",
2220
- "form-control-select"
2221
- ],
2222
- "justifi-additional-questions": [
2223
- "form-control-monetary"
2224
- ],
2225
- "justifi-business-representative": [
2226
- "form-control-text",
2227
- "form-control-select",
2228
- "form-control-number-masked",
2229
- "form-control-datepart",
2230
- "form-control-number",
2231
- "justifi-business-address-form"
2232
- ],
2233
- "justifi-business-address-form": [
2234
- "form-control-text",
2235
- "form-control-select",
2236
- "form-control-number"
2699
+ "justifi-business-form-stepped": [
2700
+ "justifi-business-core-info-form-step"
2237
2701
  ]
2238
2702
  }
2239
2703
  },
2240
2704
  {
2241
- "filePath": "src/components/business-form/business-form-stepped.tsx",
2242
- "encapsulation": "none",
2243
- "tag": "justifi-business-form-stepped",
2244
- "readme": "# justifi-business-info\n\n\n",
2705
+ "filePath": "src/components/business-details/business-details.tsx",
2706
+ "encapsulation": "shadow",
2707
+ "tag": "justifi-business-details",
2708
+ "readme": "# justifi-business-details\n\n\n",
2245
2709
  "docs": "",
2246
2710
  "docsTags": [
2247
2711
  {
2248
2712
  "name": "exportedPart",
2249
- "text": "label: Label for inputs"
2713
+ "text": "detail-section"
2250
2714
  },
2251
2715
  {
2252
2716
  "name": "exportedPart",
2253
- "text": "input: The input fields"
2717
+ "text": "detail-section-title"
2254
2718
  },
2255
2719
  {
2256
2720
  "name": "exportedPart",
2257
- "text": "input-invalid: Invalid state for inputfs"
2721
+ "text": "detail-section-item-title"
2722
+ },
2723
+ {
2724
+ "name": "exportedPart",
2725
+ "text": "detail-section-item-data"
2726
+ },
2727
+ {
2728
+ "name": "exportedPart",
2729
+ "text": "detail-empty-state"
2258
2730
  }
2259
2731
  ],
2260
2732
  "usage": {},
@@ -2300,31 +2772,97 @@
2300
2772
  ],
2301
2773
  "optional": false,
2302
2774
  "required": false
2775
+ }
2776
+ ],
2777
+ "methods": [],
2778
+ "events": [],
2779
+ "listeners": [],
2780
+ "styles": [],
2781
+ "slots": [],
2782
+ "parts": [],
2783
+ "dependents": [],
2784
+ "dependencies": [
2785
+ "business-details-core"
2786
+ ],
2787
+ "dependencyGraph": {
2788
+ "justifi-business-details": [
2789
+ "business-details-core"
2790
+ ],
2791
+ "business-details-core": [
2792
+ "generic-info-details",
2793
+ "legal-address-details",
2794
+ "representative-details",
2795
+ "owner-details",
2796
+ "additional-questions-details"
2797
+ ]
2798
+ }
2799
+ },
2800
+ {
2801
+ "filePath": "src/components/business-forms/business-form/business-form.tsx",
2802
+ "encapsulation": "none",
2803
+ "tag": "justifi-business-form",
2804
+ "readme": "# justifi-business-info\n\n\n",
2805
+ "docs": "",
2806
+ "docsTags": [
2807
+ {
2808
+ "name": "exportedPart",
2809
+ "text": "label: Label for inputs"
2303
2810
  },
2304
2811
  {
2305
- "name": "hideErrors",
2306
- "type": "boolean",
2812
+ "name": "exportedPart",
2813
+ "text": "input: The input fields"
2814
+ },
2815
+ {
2816
+ "name": "exportedPart",
2817
+ "text": "input-invalid: Invalid state for inputfs"
2818
+ }
2819
+ ],
2820
+ "usage": {},
2821
+ "props": [
2822
+ {
2823
+ "name": "authToken",
2824
+ "type": "string",
2307
2825
  "complexType": {
2308
- "original": "boolean",
2309
- "resolved": "boolean",
2826
+ "original": "string",
2827
+ "resolved": "string",
2310
2828
  "references": {}
2311
2829
  },
2312
2830
  "mutable": false,
2313
- "attr": "hide-errors",
2831
+ "attr": "auth-token",
2314
2832
  "reflectToAttr": false,
2315
2833
  "docs": "",
2316
2834
  "docsTags": [],
2317
- "default": "false",
2318
2835
  "values": [
2319
2836
  {
2320
- "type": "boolean"
2837
+ "type": "string"
2321
2838
  }
2322
2839
  ],
2323
- "optional": true,
2840
+ "optional": false,
2324
2841
  "required": false
2325
2842
  },
2326
2843
  {
2327
- "name": "testMode",
2844
+ "name": "businessId",
2845
+ "type": "string",
2846
+ "complexType": {
2847
+ "original": "string",
2848
+ "resolved": "string",
2849
+ "references": {}
2850
+ },
2851
+ "mutable": false,
2852
+ "attr": "business-id",
2853
+ "reflectToAttr": false,
2854
+ "docs": "",
2855
+ "docsTags": [],
2856
+ "values": [
2857
+ {
2858
+ "type": "string"
2859
+ }
2860
+ ],
2861
+ "optional": false,
2862
+ "required": false
2863
+ },
2864
+ {
2865
+ "name": "hideErrors",
2328
2866
  "type": "boolean",
2329
2867
  "complexType": {
2330
2868
  "original": "boolean",
@@ -2332,7 +2870,7 @@
2332
2870
  "references": {}
2333
2871
  },
2334
2872
  "mutable": false,
2335
- "attr": "test-mode",
2873
+ "attr": "hide-errors",
2336
2874
  "reflectToAttr": false,
2337
2875
  "docs": "",
2338
2876
  "docsTags": [],
@@ -2342,7 +2880,7 @@
2342
2880
  "type": "boolean"
2343
2881
  }
2344
2882
  ],
2345
- "optional": false,
2883
+ "optional": true,
2346
2884
  "required": false
2347
2885
  }
2348
2886
  ],
@@ -2350,12 +2888,18 @@
2350
2888
  "events": [
2351
2889
  {
2352
2890
  "event": "clickEvent",
2353
- "detail": "{ data?: any; name: string; }",
2891
+ "detail": "BusinessFormClickEvent",
2354
2892
  "bubbles": true,
2355
2893
  "complexType": {
2356
- "original": "{ data?: any, name: string }",
2357
- "resolved": "{ data?: any; name: string; }",
2358
- "references": {}
2894
+ "original": "BusinessFormClickEvent",
2895
+ "resolved": "BusinessFormClickEvent",
2896
+ "references": {
2897
+ "BusinessFormClickEvent": {
2898
+ "location": "import",
2899
+ "path": "../utils/business-form-types",
2900
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormClickEvent"
2901
+ }
2902
+ }
2359
2903
  },
2360
2904
  "cancelable": true,
2361
2905
  "composed": true,
@@ -2364,12 +2908,18 @@
2364
2908
  },
2365
2909
  {
2366
2910
  "event": "submitted",
2367
- "detail": "{ data: any; }",
2911
+ "detail": "BusinessFormSubmitEvent",
2368
2912
  "bubbles": true,
2369
2913
  "complexType": {
2370
- "original": "{ data: any }",
2371
- "resolved": "{ data: any; }",
2372
- "references": {}
2914
+ "original": "BusinessFormSubmitEvent",
2915
+ "resolved": "BusinessFormSubmitEvent",
2916
+ "references": {
2917
+ "BusinessFormSubmitEvent": {
2918
+ "location": "import",
2919
+ "path": "../utils/business-form-types",
2920
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
2921
+ }
2922
+ }
2373
2923
  },
2374
2924
  "cancelable": true,
2375
2925
  "composed": true,
@@ -2383,19 +2933,19 @@
2383
2933
  "parts": [],
2384
2934
  "dependents": [],
2385
2935
  "dependencies": [
2386
- "justifi-business-generic-info",
2936
+ "justifi-business-core-info",
2387
2937
  "justifi-legal-address-form",
2388
2938
  "justifi-additional-questions",
2389
2939
  "justifi-business-representative"
2390
2940
  ],
2391
2941
  "dependencyGraph": {
2392
- "justifi-business-form-stepped": [
2393
- "justifi-business-generic-info",
2942
+ "justifi-business-form": [
2943
+ "justifi-business-core-info",
2394
2944
  "justifi-legal-address-form",
2395
2945
  "justifi-additional-questions",
2396
2946
  "justifi-business-representative"
2397
2947
  ],
2398
- "justifi-business-generic-info": [
2948
+ "justifi-business-core-info": [
2399
2949
  "form-control-text",
2400
2950
  "form-control-select",
2401
2951
  "form-control-number-masked"
@@ -2424,11 +2974,11 @@
2424
2974
  }
2425
2975
  },
2426
2976
  {
2427
- "filePath": "src/components/business-form/business-generic-info/business-generic-info.tsx",
2977
+ "filePath": "src/components/business-forms/business-form-stepped/business-form-stepped.tsx",
2428
2978
  "encapsulation": "none",
2429
- "tag": "justifi-business-generic-info",
2430
- "readme": "# justifi-business-generic-info-form\n\n\n",
2431
- "docs": "\nThe difference between this component and business-generic-info-details\nis that this component is meant to be a form and send data\nand the other one is meant to be just read only.",
2979
+ "tag": "justifi-business-form-stepped",
2980
+ "readme": "# justifi-business-info\n\n\n",
2981
+ "docs": "",
2432
2982
  "docsTags": [
2433
2983
  {
2434
2984
  "name": "exportedPart",
@@ -2446,26 +2996,86 @@
2446
2996
  "usage": {},
2447
2997
  "props": [
2448
2998
  {
2449
- "name": "formController",
2450
- "type": "FormController",
2999
+ "name": "authToken",
3000
+ "type": "string",
2451
3001
  "complexType": {
2452
- "original": "FormController",
2453
- "resolved": "FormController",
2454
- "references": {
2455
- "FormController": {
2456
- "location": "import",
2457
- "path": "../../form/form",
2458
- "id": "src/components/form/form.ts::FormController"
2459
- }
3002
+ "original": "string",
3003
+ "resolved": "string",
3004
+ "references": {}
3005
+ },
3006
+ "mutable": false,
3007
+ "attr": "auth-token",
3008
+ "reflectToAttr": false,
3009
+ "docs": "",
3010
+ "docsTags": [],
3011
+ "values": [
3012
+ {
3013
+ "type": "string"
2460
3014
  }
3015
+ ],
3016
+ "optional": false,
3017
+ "required": false
3018
+ },
3019
+ {
3020
+ "name": "businessId",
3021
+ "type": "string",
3022
+ "complexType": {
3023
+ "original": "string",
3024
+ "resolved": "string",
3025
+ "references": {}
2461
3026
  },
2462
3027
  "mutable": false,
3028
+ "attr": "business-id",
2463
3029
  "reflectToAttr": false,
2464
3030
  "docs": "",
2465
3031
  "docsTags": [],
2466
3032
  "values": [
2467
3033
  {
2468
- "type": "FormController"
3034
+ "type": "string"
3035
+ }
3036
+ ],
3037
+ "optional": false,
3038
+ "required": false
3039
+ },
3040
+ {
3041
+ "name": "hideErrors",
3042
+ "type": "boolean",
3043
+ "complexType": {
3044
+ "original": "boolean",
3045
+ "resolved": "boolean",
3046
+ "references": {}
3047
+ },
3048
+ "mutable": false,
3049
+ "attr": "hide-errors",
3050
+ "reflectToAttr": false,
3051
+ "docs": "",
3052
+ "docsTags": [],
3053
+ "default": "false",
3054
+ "values": [
3055
+ {
3056
+ "type": "boolean"
3057
+ }
3058
+ ],
3059
+ "optional": true,
3060
+ "required": false
3061
+ },
3062
+ {
3063
+ "name": "testMode",
3064
+ "type": "boolean",
3065
+ "complexType": {
3066
+ "original": "boolean",
3067
+ "resolved": "boolean",
3068
+ "references": {}
3069
+ },
3070
+ "mutable": false,
3071
+ "attr": "test-mode",
3072
+ "reflectToAttr": false,
3073
+ "docs": "",
3074
+ "docsTags": [],
3075
+ "default": "false",
3076
+ "values": [
3077
+ {
3078
+ "type": "boolean"
2469
3079
  }
2470
3080
  ],
2471
3081
  "optional": false,
@@ -2473,31 +3083,84 @@
2473
3083
  }
2474
3084
  ],
2475
3085
  "methods": [],
2476
- "events": [],
3086
+ "events": [
3087
+ {
3088
+ "event": "clickEvent",
3089
+ "detail": "BusinessFormClickEvent",
3090
+ "bubbles": true,
3091
+ "complexType": {
3092
+ "original": "BusinessFormClickEvent",
3093
+ "resolved": "BusinessFormClickEvent",
3094
+ "references": {
3095
+ "BusinessFormClickEvent": {
3096
+ "location": "import",
3097
+ "path": "../utils/business-form-types",
3098
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormClickEvent"
3099
+ }
3100
+ }
3101
+ },
3102
+ "cancelable": true,
3103
+ "composed": true,
3104
+ "docs": "",
3105
+ "docsTags": []
3106
+ }
3107
+ ],
2477
3108
  "listeners": [],
2478
3109
  "styles": [],
2479
3110
  "slots": [],
2480
3111
  "parts": [],
2481
- "dependents": [
2482
- "justifi-business-form",
2483
- "justifi-business-form-stepped"
2484
- ],
3112
+ "dependents": [],
2485
3113
  "dependencies": [
2486
- "form-control-text",
2487
- "form-control-select",
2488
- "form-control-number-masked"
3114
+ "justifi-business-core-info-form-step",
3115
+ "justifi-legal-address-form-step",
3116
+ "justifi-additional-questions-form-step",
3117
+ "justifi-business-representative-form-step",
3118
+ "justifi-business-owners-form-step"
2489
3119
  ],
2490
3120
  "dependencyGraph": {
2491
- "justifi-business-generic-info": [
3121
+ "justifi-business-form-stepped": [
3122
+ "justifi-business-core-info-form-step",
3123
+ "justifi-legal-address-form-step",
3124
+ "justifi-additional-questions-form-step",
3125
+ "justifi-business-representative-form-step",
3126
+ "justifi-business-owners-form-step"
3127
+ ],
3128
+ "justifi-business-core-info-form-step": [
2492
3129
  "form-control-text",
2493
3130
  "form-control-select",
2494
3131
  "form-control-number-masked"
2495
3132
  ],
2496
- "justifi-business-form": [
2497
- "justifi-business-generic-info"
3133
+ "justifi-legal-address-form-step": [
3134
+ "form-control-text",
3135
+ "form-control-number",
3136
+ "form-control-select"
2498
3137
  ],
2499
- "justifi-business-form-stepped": [
2500
- "justifi-business-generic-info"
3138
+ "justifi-additional-questions-form-step": [
3139
+ "form-control-monetary"
3140
+ ],
3141
+ "justifi-business-representative-form-step": [
3142
+ "form-control-text",
3143
+ "form-control-select",
3144
+ "form-control-number-masked",
3145
+ "form-control-datepart",
3146
+ "form-control-number",
3147
+ "justifi-business-address-form"
3148
+ ],
3149
+ "justifi-business-address-form": [
3150
+ "form-control-text",
3151
+ "form-control-select",
3152
+ "form-control-number"
3153
+ ],
3154
+ "justifi-business-owners-form-step": [
3155
+ "justifi-owner-form"
3156
+ ],
3157
+ "justifi-owner-form": [
3158
+ "form-control-text",
3159
+ "form-control-select",
3160
+ "form-control-number-masked",
3161
+ "form-control-datepart",
3162
+ "form-control-number",
3163
+ "justifi-business-address-form"
2501
3164
  ]
2502
3165
  }
2503
3166
  },
@@ -2654,7 +3317,7 @@
2654
3317
  }
2655
3318
  },
2656
3319
  {
2657
- "filePath": "src/components/business-form/business-owners/business-owners.tsx",
3320
+ "filePath": "src/components/business-forms/business-form/business-owners/business-owners.tsx",
2658
3321
  "encapsulation": "none",
2659
3322
  "tag": "justifi-business-owners",
2660
3323
  "readme": "# justifi-business-owners\n\n\n",
@@ -2684,7 +3347,7 @@
2684
3347
  "references": {
2685
3348
  "FormController": {
2686
3349
  "location": "import",
2687
- "path": "../../form/form",
3350
+ "path": "../../../form/form",
2688
3351
  "id": "src/components/form/form.ts::FormController"
2689
3352
  }
2690
3353
  }
@@ -2725,66 +3388,177 @@
2725
3388
  }
2726
3389
  },
2727
3390
  {
2728
- "filePath": "src/components/business-form/business-representative/business-representative.tsx",
3391
+ "filePath": "src/components/business-forms/business-form-stepped/business-owners/business-owners-form-step.tsx",
2729
3392
  "encapsulation": "none",
2730
- "tag": "justifi-business-representative",
2731
- "readme": "# justifi-business-representative\n\n\n",
3393
+ "tag": "justifi-business-owners-form-step",
3394
+ "readme": "# justifi-business-owners\n\n\n",
2732
3395
  "docs": "",
2733
- "docsTags": [],
3396
+ "docsTags": [
3397
+ {
3398
+ "name": "exportedPart",
3399
+ "text": "label: Label for inputs"
3400
+ },
3401
+ {
3402
+ "name": "exportedPart",
3403
+ "text": "input: The input fields"
3404
+ },
3405
+ {
3406
+ "name": "exportedPart",
3407
+ "text": "input-invalid: Invalid state for inputfs"
3408
+ }
3409
+ ],
2734
3410
  "usage": {},
2735
3411
  "props": [
2736
3412
  {
2737
- "name": "formController",
2738
- "type": "FormController",
3413
+ "name": "authToken",
3414
+ "type": "string",
2739
3415
  "complexType": {
2740
- "original": "FormController",
2741
- "resolved": "FormController",
2742
- "references": {
2743
- "FormController": {
2744
- "location": "import",
2745
- "path": "../../form/form",
2746
- "id": "src/components/form/form.ts::FormController"
2747
- }
3416
+ "original": "string",
3417
+ "resolved": "string",
3418
+ "references": {}
3419
+ },
3420
+ "mutable": false,
3421
+ "attr": "auth-token",
3422
+ "reflectToAttr": false,
3423
+ "docs": "",
3424
+ "docsTags": [],
3425
+ "values": [
3426
+ {
3427
+ "type": "string"
2748
3428
  }
3429
+ ],
3430
+ "optional": false,
3431
+ "required": false
3432
+ },
3433
+ {
3434
+ "name": "businessId",
3435
+ "type": "string",
3436
+ "complexType": {
3437
+ "original": "string",
3438
+ "resolved": "string",
3439
+ "references": {}
2749
3440
  },
2750
3441
  "mutable": false,
3442
+ "attr": "business-id",
2751
3443
  "reflectToAttr": false,
2752
3444
  "docs": "",
2753
3445
  "docsTags": [],
2754
3446
  "values": [
2755
3447
  {
2756
- "type": "FormController"
3448
+ "type": "string"
2757
3449
  }
2758
3450
  ],
2759
3451
  "optional": false,
2760
3452
  "required": false
2761
3453
  }
2762
3454
  ],
2763
- "methods": [],
2764
- "events": [],
2765
- "listeners": [],
2766
- "styles": [],
2767
- "slots": [],
2768
- "parts": [
3455
+ "methods": [
2769
3456
  {
2770
- "name": "label",
2771
- "docs": ""
2772
- }
2773
- ],
2774
- "dependents": [
2775
- "justifi-business-form",
2776
- "justifi-business-form-stepped"
2777
- ],
2778
- "dependencies": [
2779
- "form-control-text",
2780
- "form-control-select",
2781
- "form-control-number-masked",
2782
- "form-control-datepart",
2783
- "form-control-number",
2784
- "justifi-business-address-form"
3457
+ "name": "validateAndSubmit",
3458
+ "returns": {
3459
+ "type": "Promise<void>",
3460
+ "docs": ""
3461
+ },
3462
+ "complexType": {
3463
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
3464
+ "parameters": [
3465
+ {
3466
+ "name": "__0",
3467
+ "type": "{ onSuccess: any; }",
3468
+ "docs": ""
3469
+ }
3470
+ ],
3471
+ "references": {
3472
+ "Promise": {
3473
+ "location": "global",
3474
+ "id": "global::Promise"
3475
+ }
3476
+ },
3477
+ "return": "Promise<void>"
3478
+ },
3479
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
3480
+ "parameters": [
3481
+ {
3482
+ "name": "__0",
3483
+ "type": "{ onSuccess: any; }",
3484
+ "docs": ""
3485
+ }
3486
+ ],
3487
+ "docs": "",
3488
+ "docsTags": []
3489
+ }
3490
+ ],
3491
+ "events": [
3492
+ {
3493
+ "event": "formLoading",
3494
+ "detail": "boolean",
3495
+ "bubbles": true,
3496
+ "complexType": {
3497
+ "original": "boolean",
3498
+ "resolved": "boolean",
3499
+ "references": {}
3500
+ },
3501
+ "cancelable": true,
3502
+ "composed": true,
3503
+ "docs": "",
3504
+ "docsTags": []
3505
+ },
3506
+ {
3507
+ "event": "serverError",
3508
+ "detail": "BusinessFormServerErrorEvent",
3509
+ "bubbles": true,
3510
+ "complexType": {
3511
+ "original": "BusinessFormServerErrorEvent",
3512
+ "resolved": "BusinessFormServerErrorEvent",
3513
+ "references": {
3514
+ "BusinessFormServerErrorEvent": {
3515
+ "location": "import",
3516
+ "path": "../../utils/business-form-types",
3517
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
3518
+ }
3519
+ }
3520
+ },
3521
+ "cancelable": true,
3522
+ "composed": true,
3523
+ "docs": "",
3524
+ "docsTags": []
3525
+ },
3526
+ {
3527
+ "event": "submitted",
3528
+ "detail": "BusinessFormSubmitEvent",
3529
+ "bubbles": true,
3530
+ "complexType": {
3531
+ "original": "BusinessFormSubmitEvent",
3532
+ "resolved": "BusinessFormSubmitEvent",
3533
+ "references": {
3534
+ "BusinessFormSubmitEvent": {
3535
+ "location": "import",
3536
+ "path": "../../utils/business-form-types",
3537
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
3538
+ }
3539
+ }
3540
+ },
3541
+ "cancelable": true,
3542
+ "composed": true,
3543
+ "docs": "",
3544
+ "docsTags": []
3545
+ }
3546
+ ],
3547
+ "listeners": [],
3548
+ "styles": [],
3549
+ "slots": [],
3550
+ "parts": [],
3551
+ "dependents": [
3552
+ "justifi-business-form-stepped"
3553
+ ],
3554
+ "dependencies": [
3555
+ "justifi-owner-form"
2785
3556
  ],
2786
3557
  "dependencyGraph": {
2787
- "justifi-business-representative": [
3558
+ "justifi-business-owners-form-step": [
3559
+ "justifi-owner-form"
3560
+ ],
3561
+ "justifi-owner-form": [
2788
3562
  "form-control-text",
2789
3563
  "form-control-select",
2790
3564
  "form-control-number-masked",
@@ -2797,99 +3571,133 @@
2797
3571
  "form-control-select",
2798
3572
  "form-control-number"
2799
3573
  ],
2800
- "justifi-business-form": [
2801
- "justifi-business-representative"
2802
- ],
2803
3574
  "justifi-business-form-stepped": [
2804
- "justifi-business-representative"
3575
+ "justifi-business-owners-form-step"
2805
3576
  ]
2806
3577
  }
2807
3578
  },
2808
3579
  {
2809
- "filePath": "src/components/card-form/card-form.tsx",
3580
+ "filePath": "src/components/business-forms/business-form/business-representative/business-representative.tsx",
2810
3581
  "encapsulation": "none",
2811
- "tag": "justifi-card-form",
2812
- "readme": "<h1>\n <code><justifi-card-form /></code>\n</h1>\n\n---\n\n## Example usage\n\n<details>\n <summary>Show Examples</summary>\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-card-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>Card Form</h1>\n <hr />\n <!--\n The 'style-overrides' prop takes a stringified instance of Theme. The type and all optional\n members for Theme can be found here:\n https://github.com/justifi-tech/web-component-library/tree/main/stencil-library/src/components/payment-method-form/theme.ts\n -->\n <justifi-card-form\n style-overrides='{\n \"layout\":{\n \"padding\":\"0\",\n \"formControlSpacingHorizontal\":\".5rem\",\n \"formControlSpacingVertical\":\"1rem\"\n },\n \"formLabel\":{\n \"fontWeight\":700,\n \"fontFamily\":\"sans-serif\",\n \"margin\":\"0 0 .5rem 0\"\n },\n \"formControl\":{\n \"backgroundColor\":\"#F4F4F6\",\n \"backgroundColorHover\":\"#EEEEF5\",\n \"borderColor\":\"rgba(0, 0, 0, 0.42)\",\n \"borderColorHover\":\"rgba(0, 0, 0, 0.62)\",\n \"borderColorFocus\":\"#fccc32\",\n \"borderColorError\":\"#C12727\",\n \"borderWidth\":\"0px\",\n \"borderBottomWidth\":\"1px\",\n \"borderRadius\":\"4px 4px 0 0\",\n \"borderStyle\":\"solid\",\n \"boxShadowErrorFocus\":\"none\",\n \"boxShadowFocus\":\"none\",\n \"color\":\"#212529\",\n \"fontSize\":\"1rem\",\n \"fontWeight\":\"400\",\n \"lineHeight\":\"2\",\n \"margin\":\"0\",\n \"padding\":\".5rem .875rem\"\n },\n \"errorMessage\":{\n \"color\":\"#C12727\",\n \"margin\":\".25rem 0 0 0\",\n \"fontSize\":\".875rem\"\n }\n }'\n ></justifi-card-form>\n <button type=\"submit\" id=\"card-submit-button\">Tokenize</button>\n <button type=\"submit\" id=\"card-validate-button\">Validate</button>\n </body>\n\n <script>\n (function () {\n var cardForm = document.querySelector('justifi-card-form');\n var cardSubmitButton = document.querySelector('#card-submit-button');\n var cardValidateButton = document.querySelector('#card-validate-button');\n cardForm.addEventListener('cardFormReady', function () {\n console.log('justifi-card-form ready');\n });\n cardSubmitButton.addEventListener('click', event => {\n console.log('card form tokenize button clicked');\n // All of this information would come from your form instead of being hard coded\n // Card number, expiration and cvv are collected on our iframe\n const paymentMethodData = {\n name: 'John Doe',\n address_line1: '123 Broadway', // optional\n address_line2: '', // optional\n address_city: 'Minneapolis', // optional\n address_state: 'MN', // optional\n address_postal_code: '55413',\n address_country: 'US', // optional\n metadata: { something: 'somevalue' }, // optional\n };\n // ACCOUNT_ID is optional, currently required for platforms\n // CLIENT_ID is the seller account for which you are tokenizing\n cardForm.tokenize('CLIENT_ID', paymentMethodData, 'ACCOUNT_ID').then(data => {\n // This is where you can submit the form and use the payment method token\n // on your backend\n console.log('justifi-card-form tokenized: ', data);\n });\n });\n cardValidateButton.addEventListener('click', event => {\n console.log('card validate button clicked');\n cardForm.validate().then(data => {\n console.log('justifi-card-form validated. Is valid? ', data.isValid);\n });\n });\n })();\n </script>\n</html>\n```\n\n</details>\n\n---\n\n## Styling\n\nThe `style-overrides` attribute below requires type `string`, but should be a stringified [`Theme`](https://github.com/justifi-tech/web-component-library/tree/main/stencil-library/src/components/payment-method-form/theme.ts)\n",
2813
- "docs": "<h1>\n <code><justifi-card-form /></code>\n</h1>\n\n---",
3582
+ "tag": "justifi-business-representative",
3583
+ "readme": "# justifi-business-representative\n\n\n",
3584
+ "docs": "",
2814
3585
  "docsTags": [],
2815
3586
  "usage": {},
2816
3587
  "props": [
2817
3588
  {
2818
- "name": "iframeOrigin",
2819
- "type": "string",
3589
+ "name": "formController",
3590
+ "type": "FormController",
2820
3591
  "complexType": {
2821
- "original": "string",
2822
- "resolved": "string",
2823
- "references": {}
3592
+ "original": "FormController",
3593
+ "resolved": "FormController",
3594
+ "references": {
3595
+ "FormController": {
3596
+ "location": "import",
3597
+ "path": "../../../form/form",
3598
+ "id": "src/components/form/form.ts::FormController"
3599
+ }
3600
+ }
2824
3601
  },
2825
- "mutable": true,
2826
- "attr": "iframe-origin",
3602
+ "mutable": false,
2827
3603
  "reflectToAttr": false,
2828
- "docs": "URL for the rendered iFrame. End-users need not use this.",
3604
+ "docs": "",
2829
3605
  "docsTags": [],
2830
- "default": "config.iframeOrigin",
2831
3606
  "values": [
2832
3607
  {
2833
- "type": "string"
3608
+ "type": "FormController"
2834
3609
  }
2835
3610
  ],
2836
- "optional": true,
3611
+ "optional": false,
2837
3612
  "required": false
2838
- },
3613
+ }
3614
+ ],
3615
+ "methods": [],
3616
+ "events": [],
3617
+ "listeners": [],
3618
+ "styles": [],
3619
+ "slots": [],
3620
+ "parts": [
2839
3621
  {
2840
- "name": "singleLine",
2841
- "type": "boolean",
3622
+ "name": "label",
3623
+ "docs": ""
3624
+ }
3625
+ ],
3626
+ "dependents": [
3627
+ "justifi-business-form"
3628
+ ],
3629
+ "dependencies": [
3630
+ "form-control-text",
3631
+ "form-control-select",
3632
+ "form-control-number-masked",
3633
+ "form-control-datepart",
3634
+ "form-control-number",
3635
+ "justifi-business-address-form"
3636
+ ],
3637
+ "dependencyGraph": {
3638
+ "justifi-business-representative": [
3639
+ "form-control-text",
3640
+ "form-control-select",
3641
+ "form-control-number-masked",
3642
+ "form-control-datepart",
3643
+ "form-control-number",
3644
+ "justifi-business-address-form"
3645
+ ],
3646
+ "justifi-business-address-form": [
3647
+ "form-control-text",
3648
+ "form-control-select",
3649
+ "form-control-number"
3650
+ ],
3651
+ "justifi-business-form": [
3652
+ "justifi-business-representative"
3653
+ ]
3654
+ }
3655
+ },
3656
+ {
3657
+ "filePath": "src/components/business-forms/business-form-stepped/business-representative/business-representative-form-step.tsx",
3658
+ "encapsulation": "none",
3659
+ "tag": "justifi-business-representative-form-step",
3660
+ "readme": "# justifi-business-representative-form-step\n\n\n",
3661
+ "docs": "",
3662
+ "docsTags": [],
3663
+ "usage": {},
3664
+ "props": [
3665
+ {
3666
+ "name": "authToken",
3667
+ "type": "string",
2842
3668
  "complexType": {
2843
- "original": "boolean",
2844
- "resolved": "boolean",
3669
+ "original": "string",
3670
+ "resolved": "string",
2845
3671
  "references": {}
2846
3672
  },
2847
3673
  "mutable": false,
2848
- "attr": "single-line",
3674
+ "attr": "auth-token",
2849
3675
  "reflectToAttr": false,
2850
- "docs": "Boolean indicating if the Card Form should render in a single line",
3676
+ "docs": "",
2851
3677
  "docsTags": [],
2852
- "default": "false",
2853
3678
  "values": [
2854
3679
  {
2855
- "type": "boolean"
3680
+ "type": "string"
2856
3681
  }
2857
3682
  ],
2858
3683
  "optional": false,
2859
3684
  "required": false
2860
3685
  },
2861
3686
  {
2862
- "name": "validationMode",
2863
- "type": "\"all\" | \"onBlur\" | \"onChange\" | \"onSubmit\" | \"onTouched\"",
3687
+ "name": "businessId",
3688
+ "type": "string",
2864
3689
  "complexType": {
2865
- "original": "'onChange' | 'onBlur' | 'onSubmit' | 'onTouched' | 'all'",
2866
- "resolved": "\"all\" | \"onBlur\" | \"onChange\" | \"onSubmit\" | \"onTouched\"",
3690
+ "original": "string",
3691
+ "resolved": "string",
2867
3692
  "references": {}
2868
3693
  },
2869
- "mutable": true,
2870
- "attr": "validation-mode",
3694
+ "mutable": false,
3695
+ "attr": "business-id",
2871
3696
  "reflectToAttr": false,
2872
- "docs": "When to trigger validation of the form.",
3697
+ "docs": "",
2873
3698
  "docsTags": [],
2874
3699
  "values": [
2875
3700
  {
2876
- "value": "all",
2877
- "type": "string"
2878
- },
2879
- {
2880
- "value": "onBlur",
2881
- "type": "string"
2882
- },
2883
- {
2884
- "value": "onChange",
2885
- "type": "string"
2886
- },
2887
- {
2888
- "value": "onSubmit",
2889
- "type": "string"
2890
- },
2891
- {
2892
- "value": "onTouched",
2893
3701
  "type": "string"
2894
3702
  }
2895
3703
  ],
@@ -2899,14 +3707,20 @@
2899
3707
  ],
2900
3708
  "methods": [
2901
3709
  {
2902
- "name": "resize",
3710
+ "name": "validateAndSubmit",
2903
3711
  "returns": {
2904
3712
  "type": "Promise<void>",
2905
3713
  "docs": ""
2906
3714
  },
2907
3715
  "complexType": {
2908
- "signature": "() => Promise<void>",
2909
- "parameters": [],
3716
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
3717
+ "parameters": [
3718
+ {
3719
+ "name": "__0",
3720
+ "type": "{ onSuccess: any; }",
3721
+ "docs": ""
3722
+ }
3723
+ ],
2910
3724
  "references": {
2911
3725
  "Promise": {
2912
3726
  "location": "global",
@@ -2915,31 +3729,248 @@
2915
3729
  },
2916
3730
  "return": "Promise<void>"
2917
3731
  },
2918
- "signature": "resize() => Promise<void>",
2919
- "parameters": [],
2920
- "docs": "Manually resizes the iframe to fit the contents of the iframe",
2921
- "docsTags": [
3732
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
3733
+ "parameters": [
2922
3734
  {
2923
- "name": "deprecated",
2924
- "text": "This method will be removed in future releases."
3735
+ "name": "__0",
3736
+ "type": "{ onSuccess: any; }",
3737
+ "docs": ""
2925
3738
  }
2926
3739
  ],
2927
- "deprecation": "This method will be removed in future releases."
2928
- },
3740
+ "docs": "",
3741
+ "docsTags": []
3742
+ }
3743
+ ],
3744
+ "events": [
2929
3745
  {
2930
- "name": "tokenize",
2931
- "returns": {
2932
- "type": "Promise<CreatePaymentMethodResponse>",
2933
- "docs": ""
3746
+ "event": "formLoading",
3747
+ "detail": "boolean",
3748
+ "bubbles": true,
3749
+ "complexType": {
3750
+ "original": "boolean",
3751
+ "resolved": "boolean",
3752
+ "references": {}
2934
3753
  },
3754
+ "cancelable": true,
3755
+ "composed": true,
3756
+ "docs": "",
3757
+ "docsTags": []
3758
+ },
3759
+ {
3760
+ "event": "serverError",
3761
+ "detail": "BusinessFormServerErrorEvent",
3762
+ "bubbles": true,
2935
3763
  "complexType": {
2936
- "signature": "(clientId: string, paymentMethodMetadata: any, account?: string) => Promise<CreatePaymentMethodResponse>",
2937
- "parameters": [
2938
- {
2939
- "name": "args",
2940
- "type": "[clientId: string, paymentMethodMetadata: any, account?: string]",
2941
- "docs": ""
2942
- }
3764
+ "original": "BusinessFormServerErrorEvent",
3765
+ "resolved": "BusinessFormServerErrorEvent",
3766
+ "references": {
3767
+ "BusinessFormServerErrorEvent": {
3768
+ "location": "import",
3769
+ "path": "../../utils/business-form-types",
3770
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
3771
+ }
3772
+ }
3773
+ },
3774
+ "cancelable": true,
3775
+ "composed": true,
3776
+ "docs": "",
3777
+ "docsTags": []
3778
+ },
3779
+ {
3780
+ "event": "submitted",
3781
+ "detail": "BusinessFormSubmitEvent",
3782
+ "bubbles": true,
3783
+ "complexType": {
3784
+ "original": "BusinessFormSubmitEvent",
3785
+ "resolved": "BusinessFormSubmitEvent",
3786
+ "references": {
3787
+ "BusinessFormSubmitEvent": {
3788
+ "location": "import",
3789
+ "path": "../../utils/business-form-types",
3790
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
3791
+ }
3792
+ }
3793
+ },
3794
+ "cancelable": true,
3795
+ "composed": true,
3796
+ "docs": "",
3797
+ "docsTags": []
3798
+ }
3799
+ ],
3800
+ "listeners": [],
3801
+ "styles": [],
3802
+ "slots": [],
3803
+ "parts": [
3804
+ {
3805
+ "name": "label",
3806
+ "docs": ""
3807
+ }
3808
+ ],
3809
+ "dependents": [
3810
+ "justifi-business-form-stepped"
3811
+ ],
3812
+ "dependencies": [
3813
+ "form-control-text",
3814
+ "form-control-select",
3815
+ "form-control-number-masked",
3816
+ "form-control-datepart",
3817
+ "form-control-number",
3818
+ "justifi-business-address-form"
3819
+ ],
3820
+ "dependencyGraph": {
3821
+ "justifi-business-representative-form-step": [
3822
+ "form-control-text",
3823
+ "form-control-select",
3824
+ "form-control-number-masked",
3825
+ "form-control-datepart",
3826
+ "form-control-number",
3827
+ "justifi-business-address-form"
3828
+ ],
3829
+ "justifi-business-address-form": [
3830
+ "form-control-text",
3831
+ "form-control-select",
3832
+ "form-control-number"
3833
+ ],
3834
+ "justifi-business-form-stepped": [
3835
+ "justifi-business-representative-form-step"
3836
+ ]
3837
+ }
3838
+ },
3839
+ {
3840
+ "filePath": "src/components/card-form/card-form.tsx",
3841
+ "encapsulation": "none",
3842
+ "tag": "justifi-card-form",
3843
+ "readme": "<h1>\n <code><justifi-card-form /></code>\n</h1>\n\n---\n\n## Example usage\n\n<details>\n <summary>Show Examples</summary>\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-card-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>Card Form</h1>\n <hr />\n <!--\n The 'style-overrides' prop takes a stringified instance of Theme. The type and all optional\n members for Theme can be found here:\n https://github.com/justifi-tech/web-component-library/tree/main/stencil-library/src/components/payment-method-form/theme.ts\n -->\n <justifi-card-form\n style-overrides='{\n \"layout\":{\n \"padding\":\"0\",\n \"formControlSpacingHorizontal\":\".5rem\",\n \"formControlSpacingVertical\":\"1rem\"\n },\n \"formLabel\":{\n \"fontWeight\":700,\n \"fontFamily\":\"sans-serif\",\n \"margin\":\"0 0 .5rem 0\"\n },\n \"formControl\":{\n \"backgroundColor\":\"#F4F4F6\",\n \"backgroundColorHover\":\"#EEEEF5\",\n \"borderColor\":\"rgba(0, 0, 0, 0.42)\",\n \"borderColorHover\":\"rgba(0, 0, 0, 0.62)\",\n \"borderColorFocus\":\"#fccc32\",\n \"borderColorError\":\"#C12727\",\n \"borderWidth\":\"0px\",\n \"borderBottomWidth\":\"1px\",\n \"borderRadius\":\"4px 4px 0 0\",\n \"borderStyle\":\"solid\",\n \"boxShadowErrorFocus\":\"none\",\n \"boxShadowFocus\":\"none\",\n \"color\":\"#212529\",\n \"fontSize\":\"1rem\",\n \"fontWeight\":\"400\",\n \"lineHeight\":\"2\",\n \"margin\":\"0\",\n \"padding\":\".5rem .875rem\"\n },\n \"errorMessage\":{\n \"color\":\"#C12727\",\n \"margin\":\".25rem 0 0 0\",\n \"fontSize\":\".875rem\"\n }\n }'\n ></justifi-card-form>\n <button type=\"submit\" id=\"card-submit-button\">Tokenize</button>\n <button type=\"submit\" id=\"card-validate-button\">Validate</button>\n </body>\n\n <script>\n (function () {\n var cardForm = document.querySelector('justifi-card-form');\n var cardSubmitButton = document.querySelector('#card-submit-button');\n var cardValidateButton = document.querySelector('#card-validate-button');\n cardForm.addEventListener('cardFormReady', function () {\n console.log('justifi-card-form ready');\n });\n cardSubmitButton.addEventListener('click', event => {\n console.log('card form tokenize button clicked');\n // All of this information would come from your form instead of being hard coded\n // Card number, expiration and cvv are collected on our iframe\n const paymentMethodData = {\n name: 'John Doe',\n address_line1: '123 Broadway', // optional\n address_line2: '', // optional\n address_city: 'Minneapolis', // optional\n address_state: 'MN', // optional\n address_postal_code: '55413',\n address_country: 'US', // optional\n metadata: { something: 'somevalue' }, // optional\n };\n // ACCOUNT_ID is optional, currently required for platforms\n // CLIENT_ID is the seller account for which you are tokenizing\n cardForm.tokenize('CLIENT_ID', paymentMethodData, 'ACCOUNT_ID').then(data => {\n // This is where you can submit the form and use the payment method token\n // on your backend\n console.log('justifi-card-form tokenized: ', data);\n });\n });\n cardValidateButton.addEventListener('click', event => {\n console.log('card validate button clicked');\n cardForm.validate().then(data => {\n console.log('justifi-card-form validated. Is valid? ', data.isValid);\n });\n });\n })();\n </script>\n</html>\n```\n\n</details>\n\n---\n\n## Styling\n\nThe `style-overrides` attribute below requires type `string`, but should be a stringified [`Theme`](https://github.com/justifi-tech/web-component-library/tree/main/stencil-library/src/components/payment-method-form/theme.ts)\n",
3844
+ "docs": "<h1>\n <code><justifi-card-form /></code>\n</h1>\n\n---",
3845
+ "docsTags": [],
3846
+ "usage": {},
3847
+ "props": [
3848
+ {
3849
+ "name": "iframeOrigin",
3850
+ "type": "string",
3851
+ "complexType": {
3852
+ "original": "string",
3853
+ "resolved": "string",
3854
+ "references": {}
3855
+ },
3856
+ "mutable": true,
3857
+ "attr": "iframe-origin",
3858
+ "reflectToAttr": false,
3859
+ "docs": "URL for the rendered iFrame. End-users need not use this.",
3860
+ "docsTags": [],
3861
+ "default": "config.iframeOrigin",
3862
+ "values": [
3863
+ {
3864
+ "type": "string"
3865
+ }
3866
+ ],
3867
+ "optional": true,
3868
+ "required": false
3869
+ },
3870
+ {
3871
+ "name": "singleLine",
3872
+ "type": "boolean",
3873
+ "complexType": {
3874
+ "original": "boolean",
3875
+ "resolved": "boolean",
3876
+ "references": {}
3877
+ },
3878
+ "mutable": false,
3879
+ "attr": "single-line",
3880
+ "reflectToAttr": false,
3881
+ "docs": "Boolean indicating if the Card Form should render in a single line",
3882
+ "docsTags": [],
3883
+ "default": "false",
3884
+ "values": [
3885
+ {
3886
+ "type": "boolean"
3887
+ }
3888
+ ],
3889
+ "optional": false,
3890
+ "required": false
3891
+ },
3892
+ {
3893
+ "name": "validationMode",
3894
+ "type": "\"all\" | \"onBlur\" | \"onChange\" | \"onSubmit\" | \"onTouched\"",
3895
+ "complexType": {
3896
+ "original": "'onChange' | 'onBlur' | 'onSubmit' | 'onTouched' | 'all'",
3897
+ "resolved": "\"all\" | \"onBlur\" | \"onChange\" | \"onSubmit\" | \"onTouched\"",
3898
+ "references": {}
3899
+ },
3900
+ "mutable": true,
3901
+ "attr": "validation-mode",
3902
+ "reflectToAttr": false,
3903
+ "docs": "When to trigger validation of the form.",
3904
+ "docsTags": [],
3905
+ "values": [
3906
+ {
3907
+ "value": "all",
3908
+ "type": "string"
3909
+ },
3910
+ {
3911
+ "value": "onBlur",
3912
+ "type": "string"
3913
+ },
3914
+ {
3915
+ "value": "onChange",
3916
+ "type": "string"
3917
+ },
3918
+ {
3919
+ "value": "onSubmit",
3920
+ "type": "string"
3921
+ },
3922
+ {
3923
+ "value": "onTouched",
3924
+ "type": "string"
3925
+ }
3926
+ ],
3927
+ "optional": false,
3928
+ "required": false
3929
+ }
3930
+ ],
3931
+ "methods": [
3932
+ {
3933
+ "name": "resize",
3934
+ "returns": {
3935
+ "type": "Promise<void>",
3936
+ "docs": ""
3937
+ },
3938
+ "complexType": {
3939
+ "signature": "() => Promise<void>",
3940
+ "parameters": [],
3941
+ "references": {
3942
+ "Promise": {
3943
+ "location": "global",
3944
+ "id": "global::Promise"
3945
+ }
3946
+ },
3947
+ "return": "Promise<void>"
3948
+ },
3949
+ "signature": "resize() => Promise<void>",
3950
+ "parameters": [],
3951
+ "docs": "Manually resizes the iframe to fit the contents of the iframe",
3952
+ "docsTags": [
3953
+ {
3954
+ "name": "deprecated",
3955
+ "text": "This method will be removed in future releases."
3956
+ }
3957
+ ],
3958
+ "deprecation": "This method will be removed in future releases."
3959
+ },
3960
+ {
3961
+ "name": "tokenize",
3962
+ "returns": {
3963
+ "type": "Promise<CreatePaymentMethodResponse>",
3964
+ "docs": ""
3965
+ },
3966
+ "complexType": {
3967
+ "signature": "(clientId: string, paymentMethodMetadata: any, account?: string) => Promise<CreatePaymentMethodResponse>",
3968
+ "parameters": [
3969
+ {
3970
+ "name": "args",
3971
+ "type": "[clientId: string, paymentMethodMetadata: any, account?: string]",
3972
+ "docs": ""
3973
+ }
2943
3974
  ],
2944
3975
  "references": {
2945
3976
  "Promise": {
@@ -3055,7 +4086,885 @@
3055
4086
  ]
3056
4087
  },
3057
4088
  {
3058
- "event": "ready",
4089
+ "event": "ready",
4090
+ "detail": "any",
4091
+ "bubbles": true,
4092
+ "complexType": {
4093
+ "original": "any",
4094
+ "resolved": "any",
4095
+ "references": {}
4096
+ },
4097
+ "cancelable": true,
4098
+ "composed": true,
4099
+ "docs": "Triggered when iframe has loaded",
4100
+ "docsTags": [
4101
+ {
4102
+ "name": "event",
4103
+ "text": "justifi-card-form#ready"
4104
+ }
4105
+ ]
4106
+ }
4107
+ ],
4108
+ "listeners": [
4109
+ {
4110
+ "event": "paymentMethodFormReady",
4111
+ "capture": false,
4112
+ "passive": false
4113
+ },
4114
+ {
4115
+ "event": "paymentMethodFormTokenized",
4116
+ "capture": false,
4117
+ "passive": false
4118
+ },
4119
+ {
4120
+ "event": "paymentMethodFormValidated",
4121
+ "capture": false,
4122
+ "passive": false
4123
+ }
4124
+ ],
4125
+ "styles": [],
4126
+ "slots": [],
4127
+ "parts": [],
4128
+ "dependents": [],
4129
+ "dependencies": [
4130
+ "justifi-payment-method-form"
4131
+ ],
4132
+ "dependencyGraph": {
4133
+ "justifi-card-form": [
4134
+ "justifi-payment-method-form"
4135
+ ]
4136
+ }
4137
+ },
4138
+ {
4139
+ "filePath": "src/components/checkout/checkout.tsx",
4140
+ "encapsulation": "shadow",
4141
+ "tag": "justifi-checkout",
4142
+ "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",
4143
+ "docs": "<h1>\n <code><justifi-payment-form /></code>\n</h1>",
4144
+ "docsTags": [],
4145
+ "usage": {},
4146
+ "props": [
4147
+ {
4148
+ "name": "authToken",
4149
+ "type": "string",
4150
+ "complexType": {
4151
+ "original": "string",
4152
+ "resolved": "string",
4153
+ "references": {}
4154
+ },
4155
+ "mutable": false,
4156
+ "attr": "auth-token",
4157
+ "reflectToAttr": false,
4158
+ "docs": "",
4159
+ "docsTags": [],
4160
+ "values": [
4161
+ {
4162
+ "type": "string"
4163
+ }
4164
+ ],
4165
+ "optional": false,
4166
+ "required": false
4167
+ },
4168
+ {
4169
+ "name": "checkoutId",
4170
+ "type": "string",
4171
+ "complexType": {
4172
+ "original": "string",
4173
+ "resolved": "string",
4174
+ "references": {}
4175
+ },
4176
+ "mutable": false,
4177
+ "attr": "checkout-id",
4178
+ "reflectToAttr": false,
4179
+ "docs": "",
4180
+ "docsTags": [],
4181
+ "values": [
4182
+ {
4183
+ "type": "string"
4184
+ }
4185
+ ],
4186
+ "optional": false,
4187
+ "required": false
4188
+ },
4189
+ {
4190
+ "name": "iframeOrigin",
4191
+ "type": "string",
4192
+ "complexType": {
4193
+ "original": "string",
4194
+ "resolved": "string",
4195
+ "references": {}
4196
+ },
4197
+ "mutable": false,
4198
+ "attr": "iframe-origin",
4199
+ "reflectToAttr": false,
4200
+ "docs": "",
4201
+ "docsTags": [],
4202
+ "values": [
4203
+ {
4204
+ "type": "string"
4205
+ }
4206
+ ],
4207
+ "optional": true,
4208
+ "required": false
4209
+ }
4210
+ ],
4211
+ "methods": [],
4212
+ "events": [],
4213
+ "listeners": [],
4214
+ "styles": [],
4215
+ "slots": [],
4216
+ "parts": [],
4217
+ "dependents": [],
4218
+ "dependencies": [
4219
+ "justifi-checkout-core"
4220
+ ],
4221
+ "dependencyGraph": {
4222
+ "justifi-checkout": [
4223
+ "justifi-checkout-core"
4224
+ ],
4225
+ "justifi-checkout-core": [
4226
+ "justifi-payment-method-options"
4227
+ ],
4228
+ "justifi-payment-method-options": [
4229
+ "justifi-new-payment-method",
4230
+ "justifi-saved-payment-method"
4231
+ ],
4232
+ "justifi-new-payment-method": [
4233
+ "justifi-payment-method-form",
4234
+ "justifi-billing-form"
4235
+ ],
4236
+ "justifi-billing-form": [
4237
+ "text-input",
4238
+ "select-input"
4239
+ ]
4240
+ }
4241
+ },
4242
+ {
4243
+ "filePath": "src/components/checkout/checkout-core.tsx",
4244
+ "encapsulation": "shadow",
4245
+ "tag": "justifi-checkout-core",
4246
+ "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",
4247
+ "docs": "<h1>\n <code><justifi-payment-form /></code>\n</h1>",
4248
+ "docsTags": [],
4249
+ "usage": {},
4250
+ "props": [
4251
+ {
4252
+ "name": "authToken",
4253
+ "type": "string",
4254
+ "complexType": {
4255
+ "original": "string",
4256
+ "resolved": "string",
4257
+ "references": {}
4258
+ },
4259
+ "mutable": false,
4260
+ "attr": "auth-token",
4261
+ "reflectToAttr": false,
4262
+ "docs": "",
4263
+ "docsTags": [],
4264
+ "values": [
4265
+ {
4266
+ "type": "string"
4267
+ }
4268
+ ],
4269
+ "optional": false,
4270
+ "required": false
4271
+ },
4272
+ {
4273
+ "name": "checkoutId",
4274
+ "type": "string",
4275
+ "complexType": {
4276
+ "original": "string",
4277
+ "resolved": "string",
4278
+ "references": {}
4279
+ },
4280
+ "mutable": false,
4281
+ "attr": "checkout-id",
4282
+ "reflectToAttr": false,
4283
+ "docs": "",
4284
+ "docsTags": [],
4285
+ "values": [
4286
+ {
4287
+ "type": "string"
4288
+ }
4289
+ ],
4290
+ "optional": false,
4291
+ "required": false
4292
+ },
4293
+ {
4294
+ "name": "getCheckout",
4295
+ "type": "Function",
4296
+ "complexType": {
4297
+ "original": "Function",
4298
+ "resolved": "Function",
4299
+ "references": {
4300
+ "Function": {
4301
+ "location": "global",
4302
+ "id": "global::Function"
4303
+ }
4304
+ }
4305
+ },
4306
+ "mutable": false,
4307
+ "reflectToAttr": false,
4308
+ "docs": "",
4309
+ "docsTags": [],
4310
+ "values": [
4311
+ {
4312
+ "type": "Function"
4313
+ }
4314
+ ],
4315
+ "optional": false,
4316
+ "required": false
4317
+ },
4318
+ {
4319
+ "name": "iframeOrigin",
4320
+ "type": "string",
4321
+ "complexType": {
4322
+ "original": "string",
4323
+ "resolved": "string",
4324
+ "references": {}
4325
+ },
4326
+ "mutable": true,
4327
+ "attr": "iframe-origin",
4328
+ "reflectToAttr": false,
4329
+ "docs": "URL for the rendered iFrame. End-users need not use this.",
4330
+ "docsTags": [],
4331
+ "default": "config.iframeOrigin",
4332
+ "values": [
4333
+ {
4334
+ "type": "string"
4335
+ }
4336
+ ],
4337
+ "optional": true,
4338
+ "required": false
4339
+ },
4340
+ {
4341
+ "name": "pay",
4342
+ "type": "Function",
4343
+ "complexType": {
4344
+ "original": "Function",
4345
+ "resolved": "Function",
4346
+ "references": {
4347
+ "Function": {
4348
+ "location": "global",
4349
+ "id": "global::Function"
4350
+ }
4351
+ }
4352
+ },
4353
+ "mutable": false,
4354
+ "reflectToAttr": false,
4355
+ "docs": "",
4356
+ "docsTags": [],
4357
+ "values": [
4358
+ {
4359
+ "type": "Function"
4360
+ }
4361
+ ],
4362
+ "optional": false,
4363
+ "required": false
4364
+ }
4365
+ ],
4366
+ "methods": [
4367
+ {
4368
+ "name": "loadFontsOnParent",
4369
+ "returns": {
4370
+ "type": "Promise<any>",
4371
+ "docs": ""
4372
+ },
4373
+ "complexType": {
4374
+ "signature": "() => Promise<any>",
4375
+ "parameters": [],
4376
+ "references": {
4377
+ "Promise": {
4378
+ "location": "global",
4379
+ "id": "global::Promise"
4380
+ }
4381
+ },
4382
+ "return": "Promise<any>"
4383
+ },
4384
+ "signature": "loadFontsOnParent() => Promise<any>",
4385
+ "parameters": [],
4386
+ "docs": "",
4387
+ "docsTags": []
4388
+ }
4389
+ ],
4390
+ "events": [
4391
+ {
4392
+ "event": "submitted",
4393
+ "detail": "BankAccountCreateResponse | CardCreateResponse",
4394
+ "bubbles": true,
4395
+ "complexType": {
4396
+ "original": "CreatePaymentMethodResponse",
4397
+ "resolved": "BankAccountCreateResponse | CardCreateResponse",
4398
+ "references": {
4399
+ "CreatePaymentMethodResponse": {
4400
+ "location": "import",
4401
+ "path": "../payment-method-form/payment-method-responses",
4402
+ "id": "src/components/payment-method-form/payment-method-responses.ts::CreatePaymentMethodResponse"
4403
+ }
4404
+ }
4405
+ },
4406
+ "cancelable": true,
4407
+ "composed": true,
4408
+ "docs": "",
4409
+ "docsTags": []
4410
+ }
4411
+ ],
4412
+ "listeners": [],
4413
+ "styles": [],
4414
+ "slots": [],
4415
+ "parts": [],
4416
+ "dependents": [
4417
+ "justifi-checkout"
4418
+ ],
4419
+ "dependencies": [
4420
+ "justifi-payment-method-options"
4421
+ ],
4422
+ "dependencyGraph": {
4423
+ "justifi-checkout-core": [
4424
+ "justifi-payment-method-options"
4425
+ ],
4426
+ "justifi-payment-method-options": [
4427
+ "justifi-new-payment-method",
4428
+ "justifi-saved-payment-method"
4429
+ ],
4430
+ "justifi-new-payment-method": [
4431
+ "justifi-payment-method-form",
4432
+ "justifi-billing-form"
4433
+ ],
4434
+ "justifi-billing-form": [
4435
+ "text-input",
4436
+ "select-input"
4437
+ ],
4438
+ "justifi-checkout": [
4439
+ "justifi-checkout-core"
4440
+ ]
4441
+ }
4442
+ },
4443
+ {
4444
+ "filePath": "src/components/details/details.tsx",
4445
+ "encapsulation": "shadow",
4446
+ "tag": "justifi-details",
4447
+ "readme": "# justifi-details\n\n\n",
4448
+ "docs": "",
4449
+ "docsTags": [],
4450
+ "usage": {},
4451
+ "props": [
4452
+ {
4453
+ "name": "errorMessage",
4454
+ "type": "string",
4455
+ "complexType": {
4456
+ "original": "string",
4457
+ "resolved": "string",
4458
+ "references": {}
4459
+ },
4460
+ "mutable": false,
4461
+ "attr": "error-message",
4462
+ "reflectToAttr": false,
4463
+ "docs": "",
4464
+ "docsTags": [],
4465
+ "values": [
4466
+ {
4467
+ "type": "string"
4468
+ }
4469
+ ],
4470
+ "optional": false,
4471
+ "required": false
4472
+ }
4473
+ ],
4474
+ "methods": [],
4475
+ "events": [],
4476
+ "listeners": [],
4477
+ "styles": [],
4478
+ "slots": [],
4479
+ "parts": [],
4480
+ "dependents": [
4481
+ "justifi-subaccount-details",
4482
+ "payment-details-core",
4483
+ "payout-details-core"
4484
+ ],
4485
+ "dependencies": [],
4486
+ "dependencyGraph": {
4487
+ "justifi-subaccount-details": [
4488
+ "justifi-details"
4489
+ ],
4490
+ "payment-details-core": [
4491
+ "justifi-details"
4492
+ ],
4493
+ "payout-details-core": [
4494
+ "justifi-details"
4495
+ ]
4496
+ }
4497
+ },
4498
+ {
4499
+ "filePath": "src/components/gross-payment-chart/gross-payment-chart.tsx",
4500
+ "encapsulation": "shadow",
4501
+ "tag": "justifi-gross-payment-chart",
4502
+ "readme": "# justifi-gross-payment-chart\n\n\n",
4503
+ "docs": "",
4504
+ "docsTags": [],
4505
+ "usage": {},
4506
+ "props": [
4507
+ {
4508
+ "name": "accountId",
4509
+ "type": "string",
4510
+ "complexType": {
4511
+ "original": "string",
4512
+ "resolved": "string",
4513
+ "references": {}
4514
+ },
4515
+ "mutable": false,
4516
+ "attr": "account-id",
4517
+ "reflectToAttr": false,
4518
+ "docs": "",
4519
+ "docsTags": [],
4520
+ "values": [
4521
+ {
4522
+ "type": "string"
4523
+ }
4524
+ ],
4525
+ "optional": false,
4526
+ "required": false
4527
+ },
4528
+ {
4529
+ "name": "authToken",
4530
+ "type": "string",
4531
+ "complexType": {
4532
+ "original": "string",
4533
+ "resolved": "string",
4534
+ "references": {}
4535
+ },
4536
+ "mutable": false,
4537
+ "attr": "auth-token",
4538
+ "reflectToAttr": false,
4539
+ "docs": "",
4540
+ "docsTags": [],
4541
+ "values": [
4542
+ {
4543
+ "type": "string"
4544
+ }
4545
+ ],
4546
+ "optional": false,
4547
+ "required": false
4548
+ }
4549
+ ],
4550
+ "methods": [],
4551
+ "events": [],
4552
+ "listeners": [],
4553
+ "styles": [],
4554
+ "slots": [],
4555
+ "parts": [],
4556
+ "dependents": [],
4557
+ "dependencies": [
4558
+ "gross-payment-chart-core"
4559
+ ],
4560
+ "dependencyGraph": {
4561
+ "justifi-gross-payment-chart": [
4562
+ "gross-payment-chart-core"
4563
+ ]
4564
+ }
4565
+ },
4566
+ {
4567
+ "filePath": "src/components/business-forms/business-form/legal-address-form/legal-address-form.tsx",
4568
+ "encapsulation": "none",
4569
+ "tag": "justifi-legal-address-form",
4570
+ "readme": "# legal-address-form\n\n\n",
4571
+ "docs": "",
4572
+ "docsTags": [
4573
+ {
4574
+ "name": "exportedPart",
4575
+ "text": "label: Label for inputs"
4576
+ },
4577
+ {
4578
+ "name": "exportedPart",
4579
+ "text": "input: The input fields"
4580
+ },
4581
+ {
4582
+ "name": "exportedPart",
4583
+ "text": "input-invalid: Invalid state for inputfs"
4584
+ }
4585
+ ],
4586
+ "usage": {},
4587
+ "props": [
4588
+ {
4589
+ "name": "formController",
4590
+ "type": "FormController",
4591
+ "complexType": {
4592
+ "original": "FormController",
4593
+ "resolved": "FormController",
4594
+ "references": {
4595
+ "FormController": {
4596
+ "location": "import",
4597
+ "path": "../../../form/form",
4598
+ "id": "src/components/form/form.ts::FormController"
4599
+ }
4600
+ }
4601
+ },
4602
+ "mutable": false,
4603
+ "reflectToAttr": false,
4604
+ "docs": "",
4605
+ "docsTags": [],
4606
+ "values": [
4607
+ {
4608
+ "type": "FormController"
4609
+ }
4610
+ ],
4611
+ "optional": false,
4612
+ "required": false
4613
+ }
4614
+ ],
4615
+ "methods": [],
4616
+ "events": [],
4617
+ "listeners": [],
4618
+ "styles": [],
4619
+ "slots": [],
4620
+ "parts": [],
4621
+ "dependents": [
4622
+ "justifi-business-form"
4623
+ ],
4624
+ "dependencies": [
4625
+ "form-control-text",
4626
+ "form-control-number",
4627
+ "form-control-select"
4628
+ ],
4629
+ "dependencyGraph": {
4630
+ "justifi-legal-address-form": [
4631
+ "form-control-text",
4632
+ "form-control-number",
4633
+ "form-control-select"
4634
+ ],
4635
+ "justifi-business-form": [
4636
+ "justifi-legal-address-form"
4637
+ ]
4638
+ }
4639
+ },
4640
+ {
4641
+ "filePath": "src/components/business-forms/business-form-stepped/legal-address-form/legal-address-form-step.tsx",
4642
+ "encapsulation": "none",
4643
+ "tag": "justifi-legal-address-form-step",
4644
+ "readme": "# legal-address-form\n\n\n",
4645
+ "docs": "",
4646
+ "docsTags": [
4647
+ {
4648
+ "name": "exportedPart",
4649
+ "text": "label: Label for inputs"
4650
+ },
4651
+ {
4652
+ "name": "exportedPart",
4653
+ "text": "input: The input fields"
4654
+ },
4655
+ {
4656
+ "name": "exportedPart",
4657
+ "text": "input-invalid: Invalid state for inputfs"
4658
+ }
4659
+ ],
4660
+ "usage": {},
4661
+ "props": [
4662
+ {
4663
+ "name": "authToken",
4664
+ "type": "string",
4665
+ "complexType": {
4666
+ "original": "string",
4667
+ "resolved": "string",
4668
+ "references": {}
4669
+ },
4670
+ "mutable": false,
4671
+ "attr": "auth-token",
4672
+ "reflectToAttr": false,
4673
+ "docs": "",
4674
+ "docsTags": [],
4675
+ "values": [
4676
+ {
4677
+ "type": "string"
4678
+ }
4679
+ ],
4680
+ "optional": false,
4681
+ "required": false
4682
+ },
4683
+ {
4684
+ "name": "businessId",
4685
+ "type": "string",
4686
+ "complexType": {
4687
+ "original": "string",
4688
+ "resolved": "string",
4689
+ "references": {}
4690
+ },
4691
+ "mutable": false,
4692
+ "attr": "business-id",
4693
+ "reflectToAttr": false,
4694
+ "docs": "",
4695
+ "docsTags": [],
4696
+ "values": [
4697
+ {
4698
+ "type": "string"
4699
+ }
4700
+ ],
4701
+ "optional": false,
4702
+ "required": false
4703
+ }
4704
+ ],
4705
+ "methods": [
4706
+ {
4707
+ "name": "validateAndSubmit",
4708
+ "returns": {
4709
+ "type": "Promise<void>",
4710
+ "docs": ""
4711
+ },
4712
+ "complexType": {
4713
+ "signature": "({ onSuccess }: { onSuccess: any; }) => Promise<void>",
4714
+ "parameters": [
4715
+ {
4716
+ "name": "__0",
4717
+ "type": "{ onSuccess: any; }",
4718
+ "docs": ""
4719
+ }
4720
+ ],
4721
+ "references": {
4722
+ "Promise": {
4723
+ "location": "global",
4724
+ "id": "global::Promise"
4725
+ }
4726
+ },
4727
+ "return": "Promise<void>"
4728
+ },
4729
+ "signature": "validateAndSubmit({ onSuccess }: { onSuccess: any; }) => Promise<void>",
4730
+ "parameters": [
4731
+ {
4732
+ "name": "__0",
4733
+ "type": "{ onSuccess: any; }",
4734
+ "docs": ""
4735
+ }
4736
+ ],
4737
+ "docs": "",
4738
+ "docsTags": []
4739
+ }
4740
+ ],
4741
+ "events": [
4742
+ {
4743
+ "event": "formLoading",
4744
+ "detail": "boolean",
4745
+ "bubbles": true,
4746
+ "complexType": {
4747
+ "original": "boolean",
4748
+ "resolved": "boolean",
4749
+ "references": {}
4750
+ },
4751
+ "cancelable": true,
4752
+ "composed": true,
4753
+ "docs": "",
4754
+ "docsTags": []
4755
+ },
4756
+ {
4757
+ "event": "serverError",
4758
+ "detail": "BusinessFormServerErrorEvent",
4759
+ "bubbles": true,
4760
+ "complexType": {
4761
+ "original": "BusinessFormServerErrorEvent",
4762
+ "resolved": "BusinessFormServerErrorEvent",
4763
+ "references": {
4764
+ "BusinessFormServerErrorEvent": {
4765
+ "location": "import",
4766
+ "path": "../../utils/business-form-types",
4767
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent"
4768
+ }
4769
+ }
4770
+ },
4771
+ "cancelable": true,
4772
+ "composed": true,
4773
+ "docs": "",
4774
+ "docsTags": []
4775
+ },
4776
+ {
4777
+ "event": "submitted",
4778
+ "detail": "BusinessFormSubmitEvent",
4779
+ "bubbles": true,
4780
+ "complexType": {
4781
+ "original": "BusinessFormSubmitEvent",
4782
+ "resolved": "BusinessFormSubmitEvent",
4783
+ "references": {
4784
+ "BusinessFormSubmitEvent": {
4785
+ "location": "import",
4786
+ "path": "../../utils/business-form-types",
4787
+ "id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent"
4788
+ }
4789
+ }
4790
+ },
4791
+ "cancelable": true,
4792
+ "composed": true,
4793
+ "docs": "",
4794
+ "docsTags": []
4795
+ }
4796
+ ],
4797
+ "listeners": [],
4798
+ "styles": [],
4799
+ "slots": [],
4800
+ "parts": [],
4801
+ "dependents": [
4802
+ "justifi-business-form-stepped"
4803
+ ],
4804
+ "dependencies": [
4805
+ "form-control-text",
4806
+ "form-control-number",
4807
+ "form-control-select"
4808
+ ],
4809
+ "dependencyGraph": {
4810
+ "justifi-legal-address-form-step": [
4811
+ "form-control-text",
4812
+ "form-control-number",
4813
+ "form-control-select"
4814
+ ],
4815
+ "justifi-business-form-stepped": [
4816
+ "justifi-legal-address-form-step"
4817
+ ]
4818
+ }
4819
+ },
4820
+ {
4821
+ "filePath": "src/components/checkout/new-payment-method.tsx",
4822
+ "encapsulation": "none",
4823
+ "tag": "justifi-new-payment-method",
4824
+ "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",
4825
+ "docs": "<h1>\n <code><justifi-payment-form /></code>\n</h1>",
4826
+ "docsTags": [],
4827
+ "usage": {},
4828
+ "props": [
4829
+ {
4830
+ "name": "accountId",
4831
+ "type": "string",
4832
+ "complexType": {
4833
+ "original": "string",
4834
+ "resolved": "string",
4835
+ "references": {}
4836
+ },
4837
+ "mutable": false,
4838
+ "attr": "account-id",
4839
+ "reflectToAttr": false,
4840
+ "docs": "",
4841
+ "docsTags": [],
4842
+ "values": [
4843
+ {
4844
+ "type": "string"
4845
+ }
4846
+ ],
4847
+ "optional": false,
4848
+ "required": false
4849
+ },
4850
+ {
4851
+ "name": "clientId",
4852
+ "type": "string",
4853
+ "complexType": {
4854
+ "original": "string",
4855
+ "resolved": "string",
4856
+ "references": {}
4857
+ },
4858
+ "mutable": false,
4859
+ "attr": "client-id",
4860
+ "reflectToAttr": false,
4861
+ "docs": "",
4862
+ "docsTags": [],
4863
+ "values": [
4864
+ {
4865
+ "type": "string"
4866
+ }
4867
+ ],
4868
+ "optional": false,
4869
+ "required": false
4870
+ },
4871
+ {
4872
+ "name": "iframeOrigin",
4873
+ "type": "string",
4874
+ "complexType": {
4875
+ "original": "string",
4876
+ "resolved": "string",
4877
+ "references": {}
4878
+ },
4879
+ "mutable": true,
4880
+ "attr": "iframe-origin",
4881
+ "reflectToAttr": false,
4882
+ "docs": "",
4883
+ "docsTags": [],
4884
+ "default": "config.iframeOrigin",
4885
+ "values": [
4886
+ {
4887
+ "type": "string"
4888
+ }
4889
+ ],
4890
+ "optional": true,
4891
+ "required": false
4892
+ },
4893
+ {
4894
+ "name": "isSelected",
4895
+ "type": "boolean",
4896
+ "complexType": {
4897
+ "original": "boolean",
4898
+ "resolved": "boolean",
4899
+ "references": {}
4900
+ },
4901
+ "mutable": false,
4902
+ "attr": "is-selected",
4903
+ "reflectToAttr": false,
4904
+ "docs": "",
4905
+ "docsTags": [],
4906
+ "values": [
4907
+ {
4908
+ "type": "boolean"
4909
+ }
4910
+ ],
4911
+ "optional": false,
4912
+ "required": false
4913
+ },
4914
+ {
4915
+ "name": "paymentMethodOption",
4916
+ "type": "PaymentMethodOption",
4917
+ "complexType": {
4918
+ "original": "PaymentMethodOption",
4919
+ "resolved": "PaymentMethodOption",
4920
+ "references": {
4921
+ "PaymentMethodOption": {
4922
+ "location": "import",
4923
+ "path": "./payment-method-option-utils",
4924
+ "id": "src/components/checkout/payment-method-option-utils.tsx::PaymentMethodOption"
4925
+ }
4926
+ }
4927
+ },
4928
+ "mutable": false,
4929
+ "reflectToAttr": false,
4930
+ "docs": "",
4931
+ "docsTags": [],
4932
+ "values": [
4933
+ {
4934
+ "type": "PaymentMethodOption"
4935
+ }
4936
+ ],
4937
+ "optional": false,
4938
+ "required": false
4939
+ }
4940
+ ],
4941
+ "methods": [
4942
+ {
4943
+ "name": "getPaymentMethodToken",
4944
+ "returns": {
4945
+ "type": "Promise<string>",
4946
+ "docs": ""
4947
+ },
4948
+ "complexType": {
4949
+ "signature": "() => Promise<string>",
4950
+ "parameters": [],
4951
+ "references": {
4952
+ "Promise": {
4953
+ "location": "global",
4954
+ "id": "global::Promise"
4955
+ }
4956
+ },
4957
+ "return": "Promise<string>"
4958
+ },
4959
+ "signature": "getPaymentMethodToken() => Promise<string>",
4960
+ "parameters": [],
4961
+ "docs": "",
4962
+ "docsTags": []
4963
+ }
4964
+ ],
4965
+ "events": [
4966
+ {
4967
+ "event": "paymentMethodOptionSelected",
3059
4968
  "detail": "any",
3060
4969
  "bubbles": true,
3061
4970
  "complexType": {
@@ -3065,56 +4974,46 @@
3065
4974
  },
3066
4975
  "cancelable": true,
3067
4976
  "composed": true,
3068
- "docs": "Triggered when iframe has loaded",
3069
- "docsTags": [
3070
- {
3071
- "name": "event",
3072
- "text": "justifi-card-form#ready"
3073
- }
3074
- ]
3075
- }
3076
- ],
3077
- "listeners": [
3078
- {
3079
- "event": "paymentMethodFormReady",
3080
- "capture": false,
3081
- "passive": false
3082
- },
3083
- {
3084
- "event": "paymentMethodFormTokenized",
3085
- "capture": false,
3086
- "passive": false
3087
- },
3088
- {
3089
- "event": "paymentMethodFormValidated",
3090
- "capture": false,
3091
- "passive": false
4977
+ "docs": "",
4978
+ "docsTags": []
3092
4979
  }
3093
4980
  ],
4981
+ "listeners": [],
3094
4982
  "styles": [],
3095
4983
  "slots": [],
3096
4984
  "parts": [],
3097
- "dependents": [],
4985
+ "dependents": [
4986
+ "justifi-payment-method-options"
4987
+ ],
3098
4988
  "dependencies": [
3099
- "justifi-payment-method-form"
4989
+ "justifi-payment-method-form",
4990
+ "justifi-billing-form"
3100
4991
  ],
3101
4992
  "dependencyGraph": {
3102
- "justifi-card-form": [
3103
- "justifi-payment-method-form"
4993
+ "justifi-new-payment-method": [
4994
+ "justifi-payment-method-form",
4995
+ "justifi-billing-form"
4996
+ ],
4997
+ "justifi-billing-form": [
4998
+ "text-input",
4999
+ "select-input"
5000
+ ],
5001
+ "justifi-payment-method-options": [
5002
+ "justifi-new-payment-method"
3104
5003
  ]
3105
5004
  }
3106
5005
  },
3107
5006
  {
3108
- "filePath": "src/components/details/details.tsx",
5007
+ "filePath": "src/components/business-forms/owner-form/owner-form.tsx",
3109
5008
  "encapsulation": "shadow",
3110
- "tag": "justifi-details",
3111
- "readme": "# justifi-details\n\n\n",
5009
+ "tag": "justifi-owner-form",
5010
+ "readme": "# justifi-owner-form\n\n\n",
3112
5011
  "docs": "",
3113
5012
  "docsTags": [],
3114
5013
  "usage": {},
3115
5014
  "props": [
3116
5015
  {
3117
- "name": "errorMessage",
5016
+ "name": "authToken",
3118
5017
  "type": "string",
3119
5018
  "complexType": {
3120
5019
  "original": "string",
@@ -3122,7 +5021,7 @@
3122
5021
  "references": {}
3123
5022
  },
3124
5023
  "mutable": false,
3125
- "attr": "error-message",
5024
+ "attr": "auth-token",
3126
5025
  "reflectToAttr": false,
3127
5026
  "docs": "",
3128
5027
  "docsTags": [],
@@ -3133,43 +5032,9 @@
3133
5032
  ],
3134
5033
  "optional": false,
3135
5034
  "required": false
3136
- }
3137
- ],
3138
- "methods": [],
3139
- "events": [],
3140
- "listeners": [],
3141
- "styles": [],
3142
- "slots": [],
3143
- "parts": [],
3144
- "dependents": [
3145
- "justifi-subaccount-details",
3146
- "payment-details-core",
3147
- "payout-details-core"
3148
- ],
3149
- "dependencies": [],
3150
- "dependencyGraph": {
3151
- "justifi-subaccount-details": [
3152
- "justifi-details"
3153
- ],
3154
- "payment-details-core": [
3155
- "justifi-details"
3156
- ],
3157
- "payout-details-core": [
3158
- "justifi-details"
3159
- ]
3160
- }
3161
- },
3162
- {
3163
- "filePath": "src/components/gross-payment-chart/gross-payment-chart.tsx",
3164
- "encapsulation": "shadow",
3165
- "tag": "justifi-gross-payment-chart",
3166
- "readme": "# justifi-gross-payment-chart\n\n\n",
3167
- "docs": "",
3168
- "docsTags": [],
3169
- "usage": {},
3170
- "props": [
5035
+ },
3171
5036
  {
3172
- "name": "accountId",
5037
+ "name": "businessId",
3173
5038
  "type": "string",
3174
5039
  "complexType": {
3175
5040
  "original": "string",
@@ -3177,7 +5042,7 @@
3177
5042
  "references": {}
3178
5043
  },
3179
5044
  "mutable": false,
3180
- "attr": "account-id",
5045
+ "attr": "business-id",
3181
5046
  "reflectToAttr": false,
3182
5047
  "docs": "",
3183
5048
  "docsTags": [],
@@ -3186,11 +5051,32 @@
3186
5051
  "type": "string"
3187
5052
  }
3188
5053
  ],
3189
- "optional": false,
5054
+ "optional": true,
3190
5055
  "required": false
3191
5056
  },
3192
5057
  {
3193
- "name": "authToken",
5058
+ "name": "newFormOpen",
5059
+ "type": "boolean",
5060
+ "complexType": {
5061
+ "original": "boolean",
5062
+ "resolved": "boolean",
5063
+ "references": {}
5064
+ },
5065
+ "mutable": false,
5066
+ "attr": "new-form-open",
5067
+ "reflectToAttr": false,
5068
+ "docs": "",
5069
+ "docsTags": [],
5070
+ "values": [
5071
+ {
5072
+ "type": "boolean"
5073
+ }
5074
+ ],
5075
+ "optional": true,
5076
+ "required": false
5077
+ },
5078
+ {
5079
+ "name": "ownerId",
3194
5080
  "type": "string",
3195
5081
  "complexType": {
3196
5082
  "original": "string",
@@ -3198,7 +5084,7 @@
3198
5084
  "references": {}
3199
5085
  },
3200
5086
  "mutable": false,
3201
- "attr": "auth-token",
5087
+ "attr": "owner-id",
3202
5088
  "reflectToAttr": false,
3203
5089
  "docs": "",
3204
5090
  "docsTags": [],
@@ -3207,95 +5093,189 @@
3207
5093
  "type": "string"
3208
5094
  }
3209
5095
  ],
5096
+ "optional": true,
5097
+ "required": false
5098
+ },
5099
+ {
5100
+ "name": "ownersLength",
5101
+ "type": "number",
5102
+ "complexType": {
5103
+ "original": "number",
5104
+ "resolved": "number",
5105
+ "references": {}
5106
+ },
5107
+ "mutable": false,
5108
+ "attr": "owners-length",
5109
+ "reflectToAttr": false,
5110
+ "docs": "",
5111
+ "docsTags": [],
5112
+ "values": [
5113
+ {
5114
+ "type": "number"
5115
+ }
5116
+ ],
5117
+ "optional": true,
5118
+ "required": false
5119
+ },
5120
+ {
5121
+ "name": "removeOwner",
5122
+ "type": "(id: string) => void",
5123
+ "complexType": {
5124
+ "original": "(id: string) => void",
5125
+ "resolved": "(id: string) => void",
5126
+ "references": {}
5127
+ },
5128
+ "mutable": false,
5129
+ "reflectToAttr": false,
5130
+ "docs": "",
5131
+ "docsTags": [],
5132
+ "values": [
5133
+ {
5134
+ "type": "(id: string) => void"
5135
+ }
5136
+ ],
3210
5137
  "optional": false,
3211
5138
  "required": false
3212
5139
  }
3213
5140
  ],
3214
- "methods": [],
3215
- "events": [],
3216
- "listeners": [],
3217
- "styles": [],
3218
- "slots": [],
3219
- "parts": [],
3220
- "dependents": [],
3221
- "dependencies": [],
3222
- "dependencyGraph": {}
3223
- },
3224
- {
3225
- "filePath": "src/components/business-form/legal-address-form/legal-address-form.tsx",
3226
- "encapsulation": "none",
3227
- "tag": "justifi-legal-address-form",
3228
- "readme": "# legal-address-form\n\n\n",
3229
- "docs": "",
3230
- "docsTags": [
3231
- {
3232
- "name": "exportedPart",
3233
- "text": "label: Label for inputs"
3234
- },
5141
+ "methods": [
3235
5142
  {
3236
- "name": "exportedPart",
3237
- "text": "input: The input fields"
5143
+ "name": "submit",
5144
+ "returns": {
5145
+ "type": "Promise<boolean>",
5146
+ "docs": ""
5147
+ },
5148
+ "complexType": {
5149
+ "signature": "() => Promise<boolean>",
5150
+ "parameters": [],
5151
+ "references": {
5152
+ "Promise": {
5153
+ "location": "global",
5154
+ "id": "global::Promise"
5155
+ }
5156
+ },
5157
+ "return": "Promise<boolean>"
5158
+ },
5159
+ "signature": "submit() => Promise<boolean>",
5160
+ "parameters": [],
5161
+ "docs": "",
5162
+ "docsTags": []
3238
5163
  },
3239
5164
  {
3240
- "name": "exportedPart",
3241
- "text": "input-invalid: Invalid state for inputfs"
5165
+ "name": "validate",
5166
+ "returns": {
5167
+ "type": "Promise<boolean>",
5168
+ "docs": ""
5169
+ },
5170
+ "complexType": {
5171
+ "signature": "() => Promise<boolean>",
5172
+ "parameters": [],
5173
+ "references": {
5174
+ "Promise": {
5175
+ "location": "global",
5176
+ "id": "global::Promise"
5177
+ }
5178
+ },
5179
+ "return": "Promise<boolean>"
5180
+ },
5181
+ "signature": "validate() => Promise<boolean>",
5182
+ "parameters": [],
5183
+ "docs": "",
5184
+ "docsTags": []
3242
5185
  }
3243
5186
  ],
3244
- "usage": {},
3245
- "props": [
5187
+ "events": [
3246
5188
  {
3247
- "name": "formController",
3248
- "type": "FormController",
5189
+ "event": "formLoading",
5190
+ "detail": "boolean",
5191
+ "bubbles": true,
3249
5192
  "complexType": {
3250
- "original": "FormController",
3251
- "resolved": "FormController",
5193
+ "original": "boolean",
5194
+ "resolved": "boolean",
5195
+ "references": {}
5196
+ },
5197
+ "cancelable": true,
5198
+ "composed": true,
5199
+ "docs": "",
5200
+ "docsTags": []
5201
+ },
5202
+ {
5203
+ "event": "serverError",
5204
+ "detail": "OwnerFormServerErrorEvent",
5205
+ "bubbles": true,
5206
+ "complexType": {
5207
+ "original": "OwnerFormServerErrorEvent",
5208
+ "resolved": "OwnerFormServerErrorEvent",
3252
5209
  "references": {
3253
- "FormController": {
5210
+ "OwnerFormServerErrorEvent": {
3254
5211
  "location": "import",
3255
- "path": "../../form/form",
3256
- "id": "src/components/form/form.ts::FormController"
5212
+ "path": "../utils/business-form-types",
5213
+ "id": "src/components/business-forms/utils/business-form-types.ts::OwnerFormServerErrorEvent"
3257
5214
  }
3258
5215
  }
3259
5216
  },
3260
- "mutable": false,
3261
- "reflectToAttr": false,
5217
+ "cancelable": true,
5218
+ "composed": true,
3262
5219
  "docs": "",
3263
- "docsTags": [],
3264
- "values": [
3265
- {
3266
- "type": "FormController"
5220
+ "docsTags": []
5221
+ },
5222
+ {
5223
+ "event": "submitted",
5224
+ "detail": "OwnerFormSubmitEvent",
5225
+ "bubbles": true,
5226
+ "complexType": {
5227
+ "original": "OwnerFormSubmitEvent",
5228
+ "resolved": "OwnerFormSubmitEvent",
5229
+ "references": {
5230
+ "OwnerFormSubmitEvent": {
5231
+ "location": "import",
5232
+ "path": "../utils/business-form-types",
5233
+ "id": "src/components/business-forms/utils/business-form-types.ts::OwnerFormSubmitEvent"
5234
+ }
3267
5235
  }
3268
- ],
3269
- "optional": false,
3270
- "required": false
5236
+ },
5237
+ "cancelable": true,
5238
+ "composed": true,
5239
+ "docs": "",
5240
+ "docsTags": []
3271
5241
  }
3272
5242
  ],
3273
- "methods": [],
3274
- "events": [],
3275
5243
  "listeners": [],
3276
5244
  "styles": [],
3277
5245
  "slots": [],
3278
- "parts": [],
5246
+ "parts": [
5247
+ {
5248
+ "name": "label",
5249
+ "docs": ""
5250
+ }
5251
+ ],
3279
5252
  "dependents": [
3280
- "justifi-business-form",
3281
- "justifi-business-form-stepped"
5253
+ "justifi-business-owners-form-step"
3282
5254
  ],
3283
5255
  "dependencies": [
3284
5256
  "form-control-text",
5257
+ "form-control-select",
5258
+ "form-control-number-masked",
5259
+ "form-control-datepart",
3285
5260
  "form-control-number",
3286
- "form-control-select"
5261
+ "justifi-business-address-form"
3287
5262
  ],
3288
5263
  "dependencyGraph": {
3289
- "justifi-legal-address-form": [
5264
+ "justifi-owner-form": [
3290
5265
  "form-control-text",
5266
+ "form-control-select",
5267
+ "form-control-number-masked",
5268
+ "form-control-datepart",
3291
5269
  "form-control-number",
3292
- "form-control-select"
5270
+ "justifi-business-address-form"
3293
5271
  ],
3294
- "justifi-business-form": [
3295
- "justifi-legal-address-form"
5272
+ "justifi-business-address-form": [
5273
+ "form-control-text",
5274
+ "form-control-select",
5275
+ "form-control-number"
3296
5276
  ],
3297
- "justifi-business-form-stepped": [
3298
- "justifi-legal-address-form"
5277
+ "justifi-business-owners-form-step": [
5278
+ "justifi-owner-form"
3299
5279
  ]
3300
5280
  }
3301
5281
  },
@@ -3454,10 +5434,6 @@
3454
5434
  "name": "exportedPart",
3455
5435
  "text": "detail-method-data"
3456
5436
  },
3457
- {
3458
- "name": "exportedPart",
3459
- "text": "detail-section"
3460
- },
3461
5437
  {
3462
5438
  "name": "exportedPart",
3463
5439
  "text": "detail-section-title"
@@ -3754,11 +5730,11 @@
3754
5730
  "events": [
3755
5731
  {
3756
5732
  "event": "submitted",
3757
- "detail": "BankAccountCreateResponse | CardCreateResponse | PaymentMethodErrorResponse",
5733
+ "detail": "BankAccountCreateResponse | CardCreateResponse",
3758
5734
  "bubbles": true,
3759
5735
  "complexType": {
3760
5736
  "original": "CreatePaymentMethodResponse",
3761
- "resolved": "BankAccountCreateResponse | CardCreateResponse | PaymentMethodErrorResponse",
5737
+ "resolved": "BankAccountCreateResponse | CardCreateResponse",
3762
5738
  "references": {
3763
5739
  "CreatePaymentMethodResponse": {
3764
5740
  "location": "import",
@@ -3989,22 +5965,280 @@
3989
5965
  "docs": ""
3990
5966
  },
3991
5967
  {
3992
- "name": "account",
3993
- "type": "string",
3994
- "docs": ""
5968
+ "name": "account",
5969
+ "type": "string",
5970
+ "docs": ""
5971
+ }
5972
+ ],
5973
+ "docs": "",
5974
+ "docsTags": []
5975
+ },
5976
+ {
5977
+ "name": "validate",
5978
+ "returns": {
5979
+ "type": "Promise<any>",
5980
+ "docs": ""
5981
+ },
5982
+ "complexType": {
5983
+ "signature": "() => Promise<any>",
5984
+ "parameters": [],
5985
+ "references": {
5986
+ "Promise": {
5987
+ "location": "global",
5988
+ "id": "global::Promise"
5989
+ }
5990
+ },
5991
+ "return": "Promise<any>"
5992
+ },
5993
+ "signature": "validate() => Promise<any>",
5994
+ "parameters": [],
5995
+ "docs": "",
5996
+ "docsTags": []
5997
+ }
5998
+ ],
5999
+ "events": [
6000
+ {
6001
+ "event": "paymentMethodFormReady",
6002
+ "detail": "void",
6003
+ "bubbles": true,
6004
+ "complexType": {
6005
+ "original": "void",
6006
+ "resolved": "void",
6007
+ "references": {}
6008
+ },
6009
+ "cancelable": true,
6010
+ "composed": true,
6011
+ "docs": "",
6012
+ "docsTags": []
6013
+ },
6014
+ {
6015
+ "event": "paymentMethodFormTokenized",
6016
+ "detail": "BankAccountCreateResponse | CardCreateResponse",
6017
+ "bubbles": true,
6018
+ "complexType": {
6019
+ "original": "CreatePaymentMethodResponse",
6020
+ "resolved": "BankAccountCreateResponse | CardCreateResponse",
6021
+ "references": {
6022
+ "CreatePaymentMethodResponse": {
6023
+ "location": "import",
6024
+ "path": "./payment-method-responses",
6025
+ "id": "src/components/payment-method-form/payment-method-responses.ts::CreatePaymentMethodResponse"
6026
+ }
6027
+ }
6028
+ },
6029
+ "cancelable": true,
6030
+ "composed": true,
6031
+ "docs": "",
6032
+ "docsTags": []
6033
+ },
6034
+ {
6035
+ "event": "paymentMethodFormValidated",
6036
+ "detail": "any",
6037
+ "bubbles": true,
6038
+ "complexType": {
6039
+ "original": "any",
6040
+ "resolved": "any",
6041
+ "references": {}
6042
+ },
6043
+ "cancelable": true,
6044
+ "composed": true,
6045
+ "docs": "",
6046
+ "docsTags": []
6047
+ }
6048
+ ],
6049
+ "listeners": [],
6050
+ "styles": [],
6051
+ "slots": [],
6052
+ "parts": [],
6053
+ "dependents": [
6054
+ "justifi-bank-account-form",
6055
+ "justifi-card-form",
6056
+ "justifi-new-payment-method",
6057
+ "justifi-payment-form"
6058
+ ],
6059
+ "dependencies": [],
6060
+ "dependencyGraph": {
6061
+ "justifi-bank-account-form": [
6062
+ "justifi-payment-method-form"
6063
+ ],
6064
+ "justifi-card-form": [
6065
+ "justifi-payment-method-form"
6066
+ ],
6067
+ "justifi-new-payment-method": [
6068
+ "justifi-payment-method-form"
6069
+ ],
6070
+ "justifi-payment-form": [
6071
+ "justifi-payment-method-form"
6072
+ ]
6073
+ }
6074
+ },
6075
+ {
6076
+ "filePath": "src/components/checkout/payment-method-options.tsx",
6077
+ "encapsulation": "none",
6078
+ "tag": "justifi-payment-method-options",
6079
+ "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",
6080
+ "docs": "<h1>\n <code><justifi-payment-form /></code>\n</h1>",
6081
+ "docsTags": [],
6082
+ "usage": {},
6083
+ "props": [
6084
+ {
6085
+ "name": "accountId",
6086
+ "type": "string",
6087
+ "complexType": {
6088
+ "original": "string",
6089
+ "resolved": "string",
6090
+ "references": {}
6091
+ },
6092
+ "mutable": false,
6093
+ "attr": "account-id",
6094
+ "reflectToAttr": false,
6095
+ "docs": "",
6096
+ "docsTags": [],
6097
+ "values": [
6098
+ {
6099
+ "type": "string"
6100
+ }
6101
+ ],
6102
+ "optional": false,
6103
+ "required": false
6104
+ },
6105
+ {
6106
+ "name": "clientId",
6107
+ "type": "string",
6108
+ "complexType": {
6109
+ "original": "string",
6110
+ "resolved": "string",
6111
+ "references": {}
6112
+ },
6113
+ "mutable": false,
6114
+ "attr": "client-id",
6115
+ "reflectToAttr": false,
6116
+ "docs": "",
6117
+ "docsTags": [],
6118
+ "values": [
6119
+ {
6120
+ "type": "string"
6121
+ }
6122
+ ],
6123
+ "optional": false,
6124
+ "required": false
6125
+ },
6126
+ {
6127
+ "name": "iframeOrigin",
6128
+ "type": "string",
6129
+ "complexType": {
6130
+ "original": "string",
6131
+ "resolved": "string",
6132
+ "references": {}
6133
+ },
6134
+ "mutable": true,
6135
+ "attr": "iframe-origin",
6136
+ "reflectToAttr": false,
6137
+ "docs": "",
6138
+ "docsTags": [],
6139
+ "default": "config.iframeOrigin",
6140
+ "values": [
6141
+ {
6142
+ "type": "string"
6143
+ }
6144
+ ],
6145
+ "optional": true,
6146
+ "required": false
6147
+ },
6148
+ {
6149
+ "name": "savedPaymentMethods",
6150
+ "type": "any[]",
6151
+ "complexType": {
6152
+ "original": "any[]",
6153
+ "resolved": "any[]",
6154
+ "references": {}
6155
+ },
6156
+ "mutable": false,
6157
+ "reflectToAttr": false,
6158
+ "docs": "",
6159
+ "docsTags": [],
6160
+ "default": "[]",
6161
+ "values": [
6162
+ {
6163
+ "type": "any[]"
6164
+ }
6165
+ ],
6166
+ "optional": false,
6167
+ "required": false
6168
+ },
6169
+ {
6170
+ "name": "selectedPaymentMethodId",
6171
+ "type": "string",
6172
+ "complexType": {
6173
+ "original": "string",
6174
+ "resolved": "string",
6175
+ "references": {}
6176
+ },
6177
+ "mutable": false,
6178
+ "attr": "selected-payment-method-id",
6179
+ "reflectToAttr": false,
6180
+ "docs": "",
6181
+ "docsTags": [],
6182
+ "values": [
6183
+ {
6184
+ "type": "string"
6185
+ }
6186
+ ],
6187
+ "optional": false,
6188
+ "required": false
6189
+ },
6190
+ {
6191
+ "name": "showAch",
6192
+ "type": "boolean",
6193
+ "complexType": {
6194
+ "original": "boolean",
6195
+ "resolved": "boolean",
6196
+ "references": {}
6197
+ },
6198
+ "mutable": false,
6199
+ "attr": "show-ach",
6200
+ "reflectToAttr": false,
6201
+ "docs": "",
6202
+ "docsTags": [],
6203
+ "values": [
6204
+ {
6205
+ "type": "boolean"
3995
6206
  }
3996
6207
  ],
3997
- "docs": "",
3998
- "docsTags": []
6208
+ "optional": false,
6209
+ "required": false
3999
6210
  },
4000
6211
  {
4001
- "name": "validate",
6212
+ "name": "showCard",
6213
+ "type": "boolean",
6214
+ "complexType": {
6215
+ "original": "boolean",
6216
+ "resolved": "boolean",
6217
+ "references": {}
6218
+ },
6219
+ "mutable": false,
6220
+ "attr": "show-card",
6221
+ "reflectToAttr": false,
6222
+ "docs": "",
6223
+ "docsTags": [],
6224
+ "values": [
6225
+ {
6226
+ "type": "boolean"
6227
+ }
6228
+ ],
6229
+ "optional": false,
6230
+ "required": false
6231
+ }
6232
+ ],
6233
+ "methods": [
6234
+ {
6235
+ "name": "getPaymentMethodToken",
4002
6236
  "returns": {
4003
- "type": "Promise<any>",
6237
+ "type": "Promise<string>",
4004
6238
  "docs": ""
4005
6239
  },
4006
6240
  "complexType": {
4007
- "signature": "() => Promise<any>",
6241
+ "signature": "() => Promise<string>",
4008
6242
  "parameters": [],
4009
6243
  "references": {
4010
6244
  "Promise": {
@@ -4012,9 +6246,9 @@
4012
6246
  "id": "global::Promise"
4013
6247
  }
4014
6248
  },
4015
- "return": "Promise<any>"
6249
+ "return": "Promise<string>"
4016
6250
  },
4017
- "signature": "validate() => Promise<any>",
6251
+ "signature": "getPaymentMethodToken() => Promise<string>",
4018
6252
  "parameters": [],
4019
6253
  "docs": "",
4020
6254
  "docsTags": []
@@ -4022,41 +6256,7 @@
4022
6256
  ],
4023
6257
  "events": [
4024
6258
  {
4025
- "event": "paymentMethodFormReady",
4026
- "detail": "void",
4027
- "bubbles": true,
4028
- "complexType": {
4029
- "original": "void",
4030
- "resolved": "void",
4031
- "references": {}
4032
- },
4033
- "cancelable": true,
4034
- "composed": true,
4035
- "docs": "",
4036
- "docsTags": []
4037
- },
4038
- {
4039
- "event": "paymentMethodFormTokenized",
4040
- "detail": "BankAccountCreateResponse | CardCreateResponse | PaymentMethodErrorResponse",
4041
- "bubbles": true,
4042
- "complexType": {
4043
- "original": "CreatePaymentMethodResponse",
4044
- "resolved": "BankAccountCreateResponse | CardCreateResponse | PaymentMethodErrorResponse",
4045
- "references": {
4046
- "CreatePaymentMethodResponse": {
4047
- "location": "import",
4048
- "path": "./payment-method-responses",
4049
- "id": "src/components/payment-method-form/payment-method-responses.ts::CreatePaymentMethodResponse"
4050
- }
4051
- }
4052
- },
4053
- "cancelable": true,
4054
- "composed": true,
4055
- "docs": "",
4056
- "docsTags": []
4057
- },
4058
- {
4059
- "event": "paymentMethodFormValidated",
6259
+ "event": "toggleCreatingNewPaymentMethod",
4060
6260
  "detail": "any",
4061
6261
  "bubbles": true,
4062
6262
  "complexType": {
@@ -4070,25 +6270,38 @@
4070
6270
  "docsTags": []
4071
6271
  }
4072
6272
  ],
4073
- "listeners": [],
6273
+ "listeners": [
6274
+ {
6275
+ "event": "paymentMethodOptionSelected",
6276
+ "capture": false,
6277
+ "passive": false
6278
+ }
6279
+ ],
4074
6280
  "styles": [],
4075
6281
  "slots": [],
4076
6282
  "parts": [],
4077
6283
  "dependents": [
4078
- "justifi-bank-account-form",
4079
- "justifi-card-form",
4080
- "justifi-payment-form"
6284
+ "justifi-checkout-core"
6285
+ ],
6286
+ "dependencies": [
6287
+ "justifi-new-payment-method",
6288
+ "justifi-saved-payment-method"
4081
6289
  ],
4082
- "dependencies": [],
4083
6290
  "dependencyGraph": {
4084
- "justifi-bank-account-form": [
4085
- "justifi-payment-method-form"
6291
+ "justifi-payment-method-options": [
6292
+ "justifi-new-payment-method",
6293
+ "justifi-saved-payment-method"
4086
6294
  ],
4087
- "justifi-card-form": [
4088
- "justifi-payment-method-form"
6295
+ "justifi-new-payment-method": [
6296
+ "justifi-payment-method-form",
6297
+ "justifi-billing-form"
4089
6298
  ],
4090
- "justifi-payment-form": [
4091
- "justifi-payment-method-form"
6299
+ "justifi-billing-form": [
6300
+ "text-input",
6301
+ "select-input"
6302
+ ],
6303
+ "justifi-checkout-core": [
6304
+ "justifi-payment-method-options"
4092
6305
  ]
4093
6306
  }
4094
6307
  },
@@ -4858,6 +7071,139 @@
4858
7071
  ]
4859
7072
  }
4860
7073
  },
7074
+ {
7075
+ "filePath": "src/components/checkout/saved-payment-method.tsx",
7076
+ "encapsulation": "none",
7077
+ "tag": "justifi-saved-payment-method",
7078
+ "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",
7079
+ "docs": "<h1>\n <code><justifi-payment-form /></code>\n</h1>",
7080
+ "docsTags": [],
7081
+ "usage": {},
7082
+ "props": [
7083
+ {
7084
+ "name": "iframeOrigin",
7085
+ "type": "string",
7086
+ "complexType": {
7087
+ "original": "string",
7088
+ "resolved": "string",
7089
+ "references": {}
7090
+ },
7091
+ "mutable": true,
7092
+ "attr": "iframe-origin",
7093
+ "reflectToAttr": false,
7094
+ "docs": "",
7095
+ "docsTags": [],
7096
+ "default": "config.iframeOrigin",
7097
+ "values": [
7098
+ {
7099
+ "type": "string"
7100
+ }
7101
+ ],
7102
+ "optional": true,
7103
+ "required": false
7104
+ },
7105
+ {
7106
+ "name": "isSelected",
7107
+ "type": "boolean",
7108
+ "complexType": {
7109
+ "original": "boolean",
7110
+ "resolved": "boolean",
7111
+ "references": {}
7112
+ },
7113
+ "mutable": false,
7114
+ "attr": "is-selected",
7115
+ "reflectToAttr": false,
7116
+ "docs": "",
7117
+ "docsTags": [],
7118
+ "values": [
7119
+ {
7120
+ "type": "boolean"
7121
+ }
7122
+ ],
7123
+ "optional": false,
7124
+ "required": false
7125
+ },
7126
+ {
7127
+ "name": "paymentMethodOption",
7128
+ "type": "PaymentMethodOption",
7129
+ "complexType": {
7130
+ "original": "PaymentMethodOption",
7131
+ "resolved": "PaymentMethodOption",
7132
+ "references": {
7133
+ "PaymentMethodOption": {
7134
+ "location": "import",
7135
+ "path": "./payment-method-option-utils",
7136
+ "id": "src/components/checkout/payment-method-option-utils.tsx::PaymentMethodOption"
7137
+ }
7138
+ }
7139
+ },
7140
+ "mutable": false,
7141
+ "reflectToAttr": false,
7142
+ "docs": "",
7143
+ "docsTags": [],
7144
+ "values": [
7145
+ {
7146
+ "type": "PaymentMethodOption"
7147
+ }
7148
+ ],
7149
+ "optional": false,
7150
+ "required": false
7151
+ }
7152
+ ],
7153
+ "methods": [
7154
+ {
7155
+ "name": "getPaymentMethodToken",
7156
+ "returns": {
7157
+ "type": "Promise<string>",
7158
+ "docs": ""
7159
+ },
7160
+ "complexType": {
7161
+ "signature": "() => Promise<string>",
7162
+ "parameters": [],
7163
+ "references": {
7164
+ "Promise": {
7165
+ "location": "global",
7166
+ "id": "global::Promise"
7167
+ }
7168
+ },
7169
+ "return": "Promise<string>"
7170
+ },
7171
+ "signature": "getPaymentMethodToken() => Promise<string>",
7172
+ "parameters": [],
7173
+ "docs": "",
7174
+ "docsTags": []
7175
+ }
7176
+ ],
7177
+ "events": [
7178
+ {
7179
+ "event": "paymentMethodOptionSelected",
7180
+ "detail": "any",
7181
+ "bubbles": true,
7182
+ "complexType": {
7183
+ "original": "any",
7184
+ "resolved": "any",
7185
+ "references": {}
7186
+ },
7187
+ "cancelable": true,
7188
+ "composed": true,
7189
+ "docs": "",
7190
+ "docsTags": []
7191
+ }
7192
+ ],
7193
+ "listeners": [],
7194
+ "styles": [],
7195
+ "slots": [],
7196
+ "parts": [],
7197
+ "dependents": [
7198
+ "justifi-payment-method-options"
7199
+ ],
7200
+ "dependencies": [],
7201
+ "dependencyGraph": {
7202
+ "justifi-payment-method-options": [
7203
+ "justifi-saved-payment-method"
7204
+ ]
7205
+ }
7206
+ },
4861
7207
  {
4862
7208
  "filePath": "src/components/subaccount-details/subaccount-details.tsx",
4863
7209
  "encapsulation": "shadow",
@@ -5373,11 +7719,11 @@
5373
7719
  "slots": [],
5374
7720
  "parts": [],
5375
7721
  "dependents": [
5376
- "justifi-business-details"
7722
+ "business-details-core"
5377
7723
  ],
5378
7724
  "dependencies": [],
5379
7725
  "dependencyGraph": {
5380
- "justifi-business-details": [
7726
+ "business-details-core": [
5381
7727
  "legal-address-details"
5382
7728
  ]
5383
7729
  }
@@ -5388,28 +7734,7 @@
5388
7734
  "tag": "owner-details",
5389
7735
  "readme": "# owner-details\n\n\n",
5390
7736
  "docs": "",
5391
- "docsTags": [
5392
- {
5393
- "name": "exportedPart",
5394
- "text": "detail-section"
5395
- },
5396
- {
5397
- "name": "exportedPart",
5398
- "text": "detail-section-title"
5399
- },
5400
- {
5401
- "name": "exportedPart",
5402
- "text": "detail-section-item-title"
5403
- },
5404
- {
5405
- "name": "exportedPart",
5406
- "text": "detail-section-item-data"
5407
- },
5408
- {
5409
- "name": "exportedPart",
5410
- "text": "detail-empty-state"
5411
- }
5412
- ],
7737
+ "docsTags": [],
5413
7738
  "usage": {},
5414
7739
  "props": [
5415
7740
  {
@@ -5421,8 +7746,8 @@
5421
7746
  "references": {
5422
7747
  "Identity": {
5423
7748
  "location": "import",
5424
- "path": "../../../api/Business",
5425
- "id": "src/api/Business.ts::Identity"
7749
+ "path": "../../../api/Identity",
7750
+ "id": "src/api/Identity.ts::Identity"
5426
7751
  }
5427
7752
  }
5428
7753
  },
@@ -5446,11 +7771,11 @@
5446
7771
  "slots": [],
5447
7772
  "parts": [],
5448
7773
  "dependents": [
5449
- "justifi-business-details"
7774
+ "business-details-core"
5450
7775
  ],
5451
7776
  "dependencies": [],
5452
7777
  "dependencyGraph": {
5453
- "justifi-business-details": [
7778
+ "business-details-core": [
5454
7779
  "owner-details"
5455
7780
  ]
5456
7781
  }
@@ -5855,8 +8180,8 @@
5855
8180
  "references": {
5856
8181
  "Identity": {
5857
8182
  "location": "import",
5858
- "path": "../../../api/Business",
5859
- "id": "src/api/Business.ts::Identity"
8183
+ "path": "../../../api/Identity",
8184
+ "id": "src/api/Identity.ts::Identity"
5860
8185
  }
5861
8186
  }
5862
8187
  },
@@ -5880,11 +8205,11 @@
5880
8205
  "slots": [],
5881
8206
  "parts": [],
5882
8207
  "dependents": [
5883
- "justifi-business-details"
8208
+ "business-details-core"
5884
8209
  ],
5885
8210
  "dependencies": [],
5886
8211
  "dependencyGraph": {
5887
- "justifi-business-details": [
8212
+ "business-details-core": [
5888
8213
  "representative-details"
5889
8214
  ]
5890
8215
  }
@@ -6509,7 +8834,7 @@
6509
8834
  "path": "src/components/pagination-menu/pagination-menu.tsx"
6510
8835
  },
6511
8836
  "src/components/payment-method-form/payment-method-responses.ts::CreatePaymentMethodResponse": {
6512
- "declaration": "export type CreatePaymentMethodResponse =\n | CardCreateResponse\n | BankAccountCreateResponse\n | PaymentMethodErrorResponse;",
8837
+ "declaration": "export type CreatePaymentMethodResponse =\n | CardCreateResponse\n | BankAccountCreateResponse;",
6513
8838
  "docstring": "",
6514
8839
  "path": "src/components/payment-method-form/payment-method-responses.ts"
6515
8840
  },
@@ -6543,16 +8868,46 @@
6543
8868
  "docstring": "",
6544
8869
  "path": "src/api/Business.ts"
6545
8870
  },
6546
- "src/api/Business.ts::Identity": {
6547
- "declaration": "export interface Identity {\n address?: IAddress;\n created_at?: string;\n dob_day?: string;\n dob_month?: string;\n dob_year?: string;\n documents?: Document[];\n email?: string;\n id?: string;\n is_owner?: boolean;\n metadata?: any;\n name?: string;\n phone?: string;\n platform_account_id?: string;\n ssn_last4?: string;\n title?: string;\n updated_at?: string;\n}",
8871
+ "src/api/Identity.ts::Identity": {
8872
+ "declaration": "export interface Identity {\n address?: IAddress;\n created_at?: string;\n dob_day?: string;\n dob_month?: string;\n dob_year?: string;\n documents?: Document[];\n email?: string;\n id?: string;\n business_id?: string;\n is_owner?: boolean;\n metadata?: any;\n name?: string;\n phone?: string;\n platform_account_id?: string;\n ssn_last4?: string;\n title?: string;\n updated_at?: string;\n}",
6548
8873
  "docstring": "",
6549
- "path": "src/api/Business.ts"
8874
+ "path": "src/api/Identity.ts"
8875
+ },
8876
+ "src/components/business-forms/utils/business-form-types.ts::BusinessFormClickEvent": {
8877
+ "declaration": "export interface BusinessFormClickEvent {\n data?: any;\n name: BusinessFormClickActions;\n}",
8878
+ "docstring": "",
8879
+ "path": "src/components/business-forms/utils/business-form-types.ts"
8880
+ },
8881
+ "src/components/business-forms/utils/business-form-types.ts::BusinessFormSubmitEvent": {
8882
+ "declaration": "export interface BusinessFormSubmitEvent {\n data: any;\n metadata?: BusinessFormEventMetaData;\n}",
8883
+ "docstring": "",
8884
+ "path": "src/components/business-forms/utils/business-form-types.ts"
6550
8885
  },
6551
8886
  "src/components/form/form.ts::FormController": {
6552
8887
  "declaration": "any",
6553
8888
  "docstring": "",
6554
8889
  "path": "src/components/form/form.ts"
6555
8890
  },
8891
+ "src/components/business-forms/utils/business-form-types.ts::BusinessFormServerErrorEvent": {
8892
+ "declaration": "export interface BusinessFormServerErrorEvent {\n data?: any;\n message: BusinessFormServerErrors;\n}",
8893
+ "docstring": "",
8894
+ "path": "src/components/business-forms/utils/business-form-types.ts"
8895
+ },
8896
+ "src/components/business-forms/utils/business-form-types.ts::OwnerFormSubmitEvent": {
8897
+ "declaration": "export interface OwnerFormSubmitEvent {\n data: any;\n metadata?: any;\n}",
8898
+ "docstring": "",
8899
+ "path": "src/components/business-forms/utils/business-form-types.ts"
8900
+ },
8901
+ "src/components/business-forms/utils/business-form-types.ts::OwnerFormServerErrorEvent": {
8902
+ "declaration": "export interface OwnerFormServerErrorEvent {\n data?: any;\n message: OwnerFormServerErrors;\n}",
8903
+ "docstring": "",
8904
+ "path": "src/components/business-forms/utils/business-form-types.ts"
8905
+ },
8906
+ "src/components/checkout/payment-method-option-utils.tsx::PaymentMethodOption": {
8907
+ "declaration": "any",
8908
+ "docstring": "",
8909
+ "path": "src/components/checkout/payment-method-option-utils.tsx"
8910
+ },
6556
8911
  "src/api/index.ts::Payment": {
6557
8912
  "declaration": "any",
6558
8913
  "docstring": "",