@justifi/webcomponents 4.8.3 → 4.9.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 (327) hide show
  1. package/dist/cjs/{Business-42d0c522.js → Business-64dffab7.js} +6 -7
  2. package/dist/cjs/{BusinessFormEventTypes-863f48e9.js → BusinessFormEventTypes-62990815.js} +1 -1
  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-f8144025.js} +1 -1
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +24 -10
  7. package/dist/{webcomponents/p-4ee44c76.entry.js → cjs/business-details-core.cjs.entry.js} +55 -1
  8. package/dist/cjs/form-control-datepart_3.cjs.entry.js +1 -1
  9. package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
  10. package/dist/cjs/form-control-select_2.cjs.entry.js +1 -1
  11. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +11036 -0
  12. package/dist/cjs/{index-55950669.js → index-07ddbad2.js} +0 -3
  13. package/dist/cjs/justifi-additional-questions_5.cjs.entry.js +2 -2
  14. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +1 -1
  15. package/dist/cjs/{select-input_2.cjs.entry.js → justifi-billing-form_4.cjs.entry.js} +1818 -1
  16. package/dist/cjs/justifi-business-details.cjs.entry.js +43 -57
  17. package/dist/cjs/justifi-business-form-stepped.cjs.entry.js +5 -4
  18. package/dist/cjs/justifi-business-form.cjs.entry.js +5 -4
  19. package/dist/cjs/justifi-business-list.cjs.entry.js +5 -4
  20. package/dist/cjs/justifi-business-owners.cjs.entry.js +1 -1
  21. package/dist/cjs/justifi-card-form.cjs.entry.js +1 -1
  22. package/dist/cjs/justifi-checkout-core.cjs.entry.js +95 -0
  23. package/dist/cjs/justifi-checkout.cjs.entry.js +99 -0
  24. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  25. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +39 -11008
  26. package/dist/cjs/justifi-new-payment-method_3.cjs.entry.js +168 -0
  27. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +5 -4
  28. package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -5
  29. package/dist/cjs/justifi-payment-form.cjs.entry.js +5 -4
  30. package/dist/cjs/{justifi-billing-form_2.cjs.entry.js → justifi-payment-method-selector.cjs.entry.js} +4 -79
  31. package/dist/cjs/justifi-payments-list.cjs.entry.js +6 -5
  32. package/dist/cjs/justifi-payout-details.cjs.entry.js +5 -4
  33. package/dist/cjs/justifi-payouts-list.cjs.entry.js +5 -4
  34. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +4 -3
  35. package/dist/cjs/justifi-refund-form.cjs.entry.js +3 -2
  36. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +6 -5
  37. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +5 -4
  38. package/dist/cjs/justifi-table_2.cjs.entry.js +1 -1
  39. package/dist/cjs/loader.cjs.js +2 -2
  40. package/dist/cjs/payment-details-core.cjs.entry.js +10 -4
  41. package/dist/cjs/{payment.service-605896dc.js → payment.service-0b0086dc.js} +2 -1
  42. package/dist/cjs/payments-list-core.cjs.entry.js +4 -3
  43. package/dist/cjs/payout-details-core.cjs.entry.js +4 -4
  44. package/dist/cjs/{payout.service-b39f2739.js → payout.service-5cc3b4e9.js} +2 -1
  45. package/dist/cjs/payouts-list-core.cjs.entry.js +4 -3
  46. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +7 -7
  47. package/dist/cjs/subaccount-bank-details.cjs.entry.js +3 -3
  48. package/dist/cjs/subaccount-terms-details.cjs.entry.js +3 -3
  49. package/dist/cjs/{utils-d126d17c.js → utils-5c3e442d.js} +5 -5
  50. package/dist/cjs/{utils-29a8a91d.js → utils-84208d99.js} +11 -2
  51. package/dist/cjs/webcomponents.cjs.js +2 -2
  52. package/dist/collection/api/Business.js +6 -7
  53. package/dist/collection/api/Checkout.js +1 -0
  54. package/dist/collection/api/index.js +1 -0
  55. package/dist/collection/api/services/business.service.js +8 -0
  56. package/dist/collection/api/services/checkout.service.js +12 -0
  57. package/dist/collection/api/services/reports.service.js +9 -0
  58. package/dist/collection/collection-manifest.json +7 -0
  59. package/dist/collection/components/billing-form/billing-form.js +1 -2
  60. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +5 -2
  61. package/dist/collection/components/business-details/additional-questions-details/test/additional-questions.spec.js +16 -0
  62. package/dist/collection/components/business-details/business-details-core.js +86 -0
  63. package/dist/collection/components/business-details/business-details.js +20 -65
  64. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +4 -2
  65. package/dist/collection/components/business-details/generic-info-details/test/generic-info-details.spec.js +16 -0
  66. package/dist/collection/components/business-details/get-business.js +17 -0
  67. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +5 -2
  68. package/dist/collection/components/business-details/legal-address-details/test/legal-address-details.spec.js +16 -0
  69. package/dist/collection/components/business-details/owner-details/owner-details.js +10 -12
  70. package/dist/collection/components/business-details/owner-details/test/owner-details.spec.js +16 -0
  71. package/dist/collection/components/business-details/representative-details/representative-details.js +5 -3
  72. package/dist/collection/components/business-details/representative-details/test/representative-details.spec.js +16 -0
  73. package/dist/collection/components/business-details/test/busines-details-core.spec.js +53 -0
  74. package/dist/collection/components/business-details/test/business-details.spec.js +40 -0
  75. package/dist/collection/components/business-details/test/get-business.spec.js +60 -0
  76. package/dist/collection/components/checkout/checkout-actions.js +33 -0
  77. package/dist/collection/components/checkout/checkout-core.css +2604 -0
  78. package/dist/collection/components/checkout/checkout-core.js +248 -0
  79. package/dist/collection/components/checkout/checkout.js +112 -0
  80. package/dist/collection/components/checkout/new-payment-method.js +188 -0
  81. package/dist/collection/components/checkout/payment-method-option-utils.js +19 -0
  82. package/dist/collection/components/checkout/payment-method-options.css +7073 -0
  83. package/dist/collection/components/checkout/payment-method-options.js +248 -0
  84. package/dist/collection/components/checkout/saved-payment-method.js +123 -0
  85. package/dist/collection/components/checkout/test/checkout.js +22 -0
  86. package/dist/collection/components/checkout/test/checkout.spec.js +166 -0
  87. package/dist/collection/components/checkout/test/mockCheckout.js +19 -0
  88. package/dist/collection/components/details/utils.js +4 -1
  89. package/dist/collection/components/gross-payment-chart/get-gross-payment-chart-data.js +14 -0
  90. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +119 -0
  91. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +25 -73
  92. package/dist/collection/components/gross-payment-chart/test/get-gross-payment-chart-data.spec.js +69 -0
  93. package/dist/collection/components/gross-payment-chart/test/gross-payment-chart-core.spec.js +64 -0
  94. package/dist/collection/components/gross-payment-chart/test/gross-payment-chart.spec.js +23 -8
  95. package/dist/collection/components/payment-details/payment-details-core.js +8 -2
  96. package/dist/collection/components/payment-details/payment-details.js +0 -1
  97. package/dist/collection/components/payment-form/payment-form.js +1 -1
  98. package/dist/collection/components/payment-method-form/payment-method-form.js +1 -1
  99. package/dist/collection/components/payout-details/payout-details-core.js +2 -2
  100. package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +2 -2
  101. package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +2 -2
  102. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +2 -2
  103. package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +2 -2
  104. package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +2 -2
  105. package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +2 -2
  106. package/dist/collection/utils/utils.js +9 -3
  107. package/dist/docs.json +1152 -187
  108. package/dist/esm/{Business-e9340f6b.js → Business-9921d35f.js} +6 -7
  109. package/dist/esm/{BusinessFormEventTypes-989960ba.js → BusinessFormEventTypes-182e20be.js} +1 -1
  110. package/dist/esm/{Payout-dc5f009c.js → Payment-55886c86.js} +1 -43
  111. package/dist/esm/Payout-dfe15b00.js +43 -0
  112. package/dist/esm/{SubAccount-46b4c2b1.js → SubAccount-76f6d565.js} +1 -1
  113. package/dist/esm/additional-questions-details_5.entry.js +24 -10
  114. package/dist/esm/business-details-core.entry.js +51 -0
  115. package/dist/esm/form-control-datepart_3.entry.js +1 -1
  116. package/dist/esm/form-control-monetary.entry.js +1 -1
  117. package/dist/esm/form-control-select_2.entry.js +1 -1
  118. package/dist/esm/gross-payment-chart-core.entry.js +11032 -0
  119. package/dist/esm/{index-62b8aa8a.js → index-fb5ca346.js} +0 -3
  120. package/dist/esm/justifi-additional-questions_5.entry.js +2 -2
  121. package/dist/esm/justifi-bank-account-form.entry.js +1 -1
  122. package/dist/esm/{select-input_2.entry.js → justifi-billing-form_4.entry.js} +1817 -2
  123. package/dist/esm/justifi-business-details.entry.js +42 -56
  124. package/dist/esm/justifi-business-form-stepped.entry.js +5 -4
  125. package/dist/esm/justifi-business-form.entry.js +5 -4
  126. package/dist/esm/justifi-business-list.entry.js +5 -4
  127. package/dist/esm/justifi-business-owners.entry.js +1 -1
  128. package/dist/esm/justifi-card-form.entry.js +1 -1
  129. package/dist/esm/justifi-checkout-core.entry.js +91 -0
  130. package/dist/esm/justifi-checkout.entry.js +95 -0
  131. package/dist/esm/justifi-details.entry.js +2 -2
  132. package/dist/esm/justifi-gross-payment-chart.entry.js +39 -11008
  133. package/dist/esm/justifi-new-payment-method_3.entry.js +162 -0
  134. package/dist/esm/justifi-payment-balance-transactions.entry.js +4 -3
  135. package/dist/esm/justifi-payment-details.entry.js +5 -4
  136. package/dist/esm/justifi-payment-form.entry.js +4 -3
  137. package/dist/esm/{justifi-billing-form_2.entry.js → justifi-payment-method-selector.entry.js} +4 -78
  138. package/dist/esm/justifi-payments-list.entry.js +5 -4
  139. package/dist/esm/justifi-payout-details.entry.js +5 -4
  140. package/dist/esm/justifi-payouts-list.entry.js +5 -4
  141. package/dist/esm/justifi-proceeds-list.entry.js +4 -3
  142. package/dist/esm/justifi-refund-form.entry.js +3 -2
  143. package/dist/esm/justifi-subaccount-details.entry.js +6 -5
  144. package/dist/esm/justifi-subaccounts-list.entry.js +5 -4
  145. package/dist/esm/justifi-table_2.entry.js +1 -1
  146. package/dist/esm/loader.js +3 -3
  147. package/dist/esm/payment-details-core.entry.js +10 -4
  148. package/dist/esm/{payment.service-bea02ccf.js → payment.service-f274ef98.js} +2 -1
  149. package/dist/esm/payments-list-core.entry.js +4 -3
  150. package/dist/esm/payout-details-core.entry.js +4 -4
  151. package/dist/esm/{payout.service-92e56814.js → payout.service-af293f61.js} +2 -1
  152. package/dist/esm/payouts-list-core.entry.js +4 -3
  153. package/dist/esm/subaccount-account-details_4.entry.js +7 -7
  154. package/dist/esm/subaccount-bank-details.entry.js +3 -3
  155. package/dist/esm/subaccount-terms-details.entry.js +3 -3
  156. package/dist/esm/{utils-76a93600.js → utils-5193fcd7.js} +10 -3
  157. package/dist/esm/{utils-576874df.js → utils-a3e96d9f.js} +5 -5
  158. package/dist/esm/webcomponents.js +3 -3
  159. package/dist/module/Business.js +6 -7
  160. package/dist/module/Payment.js +138 -0
  161. package/dist/module/Payout.js +1 -138
  162. package/dist/module/SubAccount.js +1 -1
  163. package/dist/module/additional-questions-details2.js +5 -2
  164. package/dist/module/billing-form.js +1 -2
  165. package/dist/module/business-details-core.d.ts +11 -0
  166. package/dist/module/business-details-core.js +6 -0
  167. package/dist/module/business-details-core2.js +101 -0
  168. package/dist/module/checkout-core.js +163 -0
  169. package/dist/module/generic-info-details2.js +4 -2
  170. package/dist/module/gross-payment-chart-core.d.ts +11 -0
  171. package/dist/module/gross-payment-chart-core.js +6 -0
  172. package/dist/module/gross-payment-chart-core2.js +11055 -0
  173. package/dist/module/justifi-business-details.js +51 -60
  174. package/dist/module/justifi-business-form-stepped.js +1 -0
  175. package/dist/module/justifi-business-form.js +1 -0
  176. package/dist/module/justifi-business-list.js +2 -1
  177. package/dist/module/justifi-checkout-core.d.ts +11 -0
  178. package/dist/module/justifi-checkout-core.js +6 -0
  179. package/dist/module/justifi-checkout.d.ts +11 -0
  180. package/dist/module/justifi-checkout.js +172 -0
  181. package/dist/module/justifi-gross-payment-chart.js +49 -11016
  182. package/dist/module/justifi-new-payment-method.d.ts +11 -0
  183. package/dist/module/justifi-new-payment-method.js +6 -0
  184. package/dist/module/justifi-payment-balance-transactions.js +3 -2
  185. package/dist/module/justifi-payment-details.js +2 -1
  186. package/dist/module/justifi-payment-form.js +2 -1
  187. package/dist/module/justifi-payment-method-options.d.ts +11 -0
  188. package/dist/module/justifi-payment-method-options.js +6 -0
  189. package/dist/module/justifi-payments-list.js +2 -1
  190. package/dist/module/justifi-payout-details.js +2 -1
  191. package/dist/module/justifi-payouts-list.js +2 -1
  192. package/dist/module/justifi-proceeds-list.js +2 -1
  193. package/dist/module/justifi-refund-form.js +1 -0
  194. package/dist/module/justifi-saved-payment-method.d.ts +11 -0
  195. package/dist/module/justifi-saved-payment-method.js +6 -0
  196. package/dist/module/justifi-subaccount-details.js +2 -1
  197. package/dist/module/justifi-subaccounts-list.js +2 -1
  198. package/dist/module/legal-address-details2.js +5 -2
  199. package/dist/module/new-payment-method.js +105 -0
  200. package/dist/module/owner-details2.js +10 -4
  201. package/dist/module/payment-details-core2.js +9 -3
  202. package/dist/module/payment-method-form.js +3 -2
  203. package/dist/module/payment-method-options.js +128 -0
  204. package/dist/module/payment-method-selector.js +2 -1
  205. package/dist/module/payment.service.js +1 -0
  206. package/dist/module/payments-list-core2.js +2 -1
  207. package/dist/module/payout-details-core2.js +3 -3
  208. package/dist/module/payout.service.js +1 -0
  209. package/dist/module/payouts-list-core2.js +3 -2
  210. package/dist/module/representative-details2.js +5 -3
  211. package/dist/module/saved-payment-method.js +66 -0
  212. package/dist/module/subaccount-account-details2.js +2 -2
  213. package/dist/module/subaccount-bank-details.js +2 -2
  214. package/dist/module/subaccount-merchant-details2.js +3 -3
  215. package/dist/module/subaccount-owners-details2.js +2 -2
  216. package/dist/module/subaccount-representative-details2.js +2 -2
  217. package/dist/module/subaccount-terms-details.js +2 -2
  218. package/dist/module/utils.js +4 -4
  219. package/dist/module/utils2.js +10 -3
  220. package/dist/types/api/Api.d.ts +1 -1
  221. package/dist/types/api/Checkout.d.ts +14 -0
  222. package/dist/types/api/index.d.ts +1 -0
  223. package/dist/types/api/services/business.service.d.ts +8 -0
  224. package/dist/types/api/services/checkout.service.d.ts +9 -0
  225. package/dist/types/api/services/reports.service.d.ts +5 -0
  226. package/dist/types/components/billing-form/billing-form.d.ts +0 -1
  227. package/dist/types/components/business-details/business-details-core.d.ts +16 -0
  228. package/dist/types/components/business-details/business-details.d.ts +3 -13
  229. package/dist/types/components/business-details/get-business.d.ts +8 -0
  230. package/dist/types/components/business-details/owner-details/owner-details.d.ts +0 -8
  231. package/dist/types/components/checkout/checkout-actions.d.ts +17 -0
  232. package/dist/types/components/checkout/checkout-core.d.ts +28 -0
  233. package/dist/types/components/checkout/checkout.d.ts +12 -0
  234. package/dist/types/components/checkout/new-payment-method.d.ts +17 -0
  235. package/dist/types/components/checkout/payment-method-option-utils.d.ts +16 -0
  236. package/dist/types/components/checkout/payment-method-options.d.ts +18 -0
  237. package/dist/types/components/checkout/saved-payment-method.d.ts +11 -0
  238. package/dist/types/components/checkout/test/checkout.d.ts +1 -0
  239. package/dist/types/components/checkout/test/mockCheckout.d.ts +19 -0
  240. package/dist/types/components/details/utils.d.ts +1 -1
  241. package/dist/types/components/gross-payment-chart/get-gross-payment-chart-data.d.ts +11 -0
  242. package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +18 -0
  243. package/dist/types/components/gross-payment-chart/gross-payment-chart.d.ts +4 -14
  244. package/dist/types/components/payment-details/payment-details.d.ts +0 -1
  245. package/dist/types/components/payment-method-form/payment-method-responses.d.ts +3 -9
  246. package/dist/types/components.d.ts +217 -32
  247. package/dist/types/utils/utils.d.ts +1 -0
  248. package/dist/webcomponents/p-018b71f5.entry.js +1 -0
  249. package/dist/webcomponents/p-0923e39c.js +1 -0
  250. package/dist/webcomponents/{p-7a1a06c0.entry.js → p-09b94d22.entry.js} +1 -1
  251. package/dist/webcomponents/p-1b04d091.entry.js +1 -0
  252. package/dist/webcomponents/{p-0a0cf2e6.entry.js → p-1bac1674.entry.js} +1 -1
  253. package/dist/webcomponents/p-1cbdca15.entry.js +1 -0
  254. package/dist/webcomponents/p-3134ab82.entry.js +1 -0
  255. package/dist/webcomponents/{p-22c1acd6.js → p-34f9fe6b.js} +1 -1
  256. package/dist/webcomponents/p-3bae0ed3.entry.js +1 -0
  257. package/dist/webcomponents/p-41031759.entry.js +1 -0
  258. package/dist/webcomponents/p-41490d96.entry.js +1 -0
  259. package/dist/webcomponents/p-44b88365.entry.js +1 -0
  260. package/dist/webcomponents/{p-081cf5f6.entry.js → p-4ed3a9f5.entry.js} +1 -1
  261. package/dist/webcomponents/{p-6478f3ca.js → p-4edd9721.js} +1 -1
  262. package/dist/webcomponents/p-51b0bf2a.entry.js +1 -0
  263. package/dist/webcomponents/p-531844f6.entry.js +1 -0
  264. package/dist/webcomponents/{p-4fa27a28.entry.js → p-591e29bf.entry.js} +1 -1
  265. package/dist/webcomponents/p-5d5d7550.entry.js +1 -0
  266. package/dist/webcomponents/{p-810b72b5.js → p-5ea274b8.js} +1 -1
  267. package/dist/webcomponents/{p-4ba2c711.entry.js → p-5f785ede.entry.js} +1 -1
  268. package/dist/webcomponents/p-63296409.js +1 -0
  269. package/dist/webcomponents/{p-4f14df36.js → p-6d05174c.js} +1 -1
  270. package/dist/webcomponents/p-72d1ad98.entry.js +1 -0
  271. package/dist/webcomponents/{p-40349ffc.entry.js → p-796cf44f.entry.js} +1 -1
  272. package/dist/webcomponents/p-79f99d62.entry.js +1 -0
  273. package/dist/webcomponents/p-7b2cddc7.js +1 -0
  274. package/dist/webcomponents/{p-7c0f91fa.entry.js → p-7cd06ada.entry.js} +1 -1
  275. package/dist/webcomponents/p-8f895ec3.entry.js +1 -0
  276. package/dist/webcomponents/p-92a55427.entry.js +1 -0
  277. package/dist/webcomponents/p-97c42345.entry.js +1 -0
  278. package/dist/webcomponents/p-99a8b7d0.entry.js +1 -0
  279. package/dist/webcomponents/p-9a63eec9.entry.js +1 -0
  280. package/dist/webcomponents/p-9c310f5c.entry.js +1 -0
  281. package/dist/webcomponents/p-9e3771b7.entry.js +19 -0
  282. package/dist/webcomponents/{p-6d0725ef.entry.js → p-a81229a5.entry.js} +1 -1
  283. package/dist/webcomponents/{p-234bc840.entry.js → p-adc96df1.entry.js} +1 -1
  284. package/dist/webcomponents/p-baafa7f5.js +1 -0
  285. package/dist/webcomponents/p-babd292f.entry.js +1 -0
  286. package/dist/webcomponents/{p-5c0310ee.js → p-bb037696.js} +1 -1
  287. package/dist/webcomponents/p-bb7f6095.entry.js +1 -0
  288. package/dist/webcomponents/p-c032b216.entry.js +1 -0
  289. package/dist/webcomponents/{p-08833966.entry.js → p-c2c3d5d1.entry.js} +1 -1
  290. package/dist/webcomponents/p-c8d51336.entry.js +1 -0
  291. package/dist/webcomponents/{p-4c01df65.entry.js → p-dc05b5c5.entry.js} +1 -1
  292. package/dist/webcomponents/p-e3fab0e2.js +1 -0
  293. package/dist/webcomponents/p-e536a4c1.entry.js +1 -0
  294. package/dist/webcomponents/p-ec358d69.entry.js +1 -0
  295. package/dist/webcomponents/p-f55ac955.entry.js +1 -0
  296. package/dist/webcomponents/p-f64a85cf.entry.js +1 -0
  297. package/dist/webcomponents/webcomponents.esm.js +1 -1
  298. package/package.json +3 -2
  299. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +0 -1747
  300. package/dist/esm/justifi-payment-method-form.entry.js +0 -1743
  301. package/dist/webcomponents/p-0bc8b02e.entry.js +0 -1
  302. package/dist/webcomponents/p-112acd3c.entry.js +0 -1
  303. package/dist/webcomponents/p-1555e6b1.js +0 -1
  304. package/dist/webcomponents/p-16f41fd0.entry.js +0 -1
  305. package/dist/webcomponents/p-17715325.js +0 -1
  306. package/dist/webcomponents/p-3a4d4869.entry.js +0 -1
  307. package/dist/webcomponents/p-3cb0b96d.js +0 -1
  308. package/dist/webcomponents/p-5422a24b.entry.js +0 -1
  309. package/dist/webcomponents/p-578e0a05.entry.js +0 -1
  310. package/dist/webcomponents/p-640d90dc.entry.js +0 -1
  311. package/dist/webcomponents/p-663bfe87.js +0 -1
  312. package/dist/webcomponents/p-696396c7.entry.js +0 -1
  313. package/dist/webcomponents/p-6ab67031.entry.js +0 -1
  314. package/dist/webcomponents/p-8516d602.entry.js +0 -1
  315. package/dist/webcomponents/p-894a7475.entry.js +0 -19
  316. package/dist/webcomponents/p-94ebfafb.entry.js +0 -1
  317. package/dist/webcomponents/p-9cb3ff78.entry.js +0 -1
  318. package/dist/webcomponents/p-9e81808f.entry.js +0 -1
  319. package/dist/webcomponents/p-a432110c.entry.js +0 -1
  320. package/dist/webcomponents/p-b1881723.entry.js +0 -1
  321. package/dist/webcomponents/p-b5aba473.entry.js +0 -1
  322. package/dist/webcomponents/p-bd099662.entry.js +0 -1
  323. package/dist/webcomponents/p-bfd917b8.entry.js +0 -1
  324. package/dist/webcomponents/p-c90fa055.entry.js +0 -1
  325. package/dist/webcomponents/p-ebb91944.entry.js +0 -1
  326. package/dist/webcomponents/p-ec4f27e7.entry.js +0 -1
  327. package/dist/webcomponents/p-fa495a43.entry.js +0 -1
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-03-12T20:24:00",
2
+ "timestamp": "2024-04-08T20:31:23",
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
  },
@@ -1342,15 +1406,66 @@
1342
1406
  "slots": [],
1343
1407
  "parts": [],
1344
1408
  "dependents": [
1345
- "justifi-business-details"
1409
+ "business-details-core"
1346
1410
  ],
1347
1411
  "dependencies": [],
1348
1412
  "dependencyGraph": {
1349
- "justifi-business-details": [
1413
+ "business-details-core": [
1350
1414
  "generic-info-details"
1351
1415
  ]
1352
1416
  }
1353
1417
  },
1418
+ {
1419
+ "filePath": "src/components/gross-payment-chart/gross-payment-chart-core.tsx",
1420
+ "encapsulation": "none",
1421
+ "tag": "gross-payment-chart-core",
1422
+ "readme": "# justifi-gross-payment-chart\n\n\n",
1423
+ "docs": "",
1424
+ "docsTags": [],
1425
+ "usage": {},
1426
+ "props": [
1427
+ {
1428
+ "name": "getGrossPayment",
1429
+ "type": "Function",
1430
+ "complexType": {
1431
+ "original": "Function",
1432
+ "resolved": "Function",
1433
+ "references": {
1434
+ "Function": {
1435
+ "location": "global",
1436
+ "id": "global::Function"
1437
+ }
1438
+ }
1439
+ },
1440
+ "mutable": false,
1441
+ "reflectToAttr": false,
1442
+ "docs": "",
1443
+ "docsTags": [],
1444
+ "values": [
1445
+ {
1446
+ "type": "Function"
1447
+ }
1448
+ ],
1449
+ "optional": false,
1450
+ "required": false
1451
+ }
1452
+ ],
1453
+ "methods": [],
1454
+ "events": [],
1455
+ "listeners": [],
1456
+ "styles": [],
1457
+ "slots": [],
1458
+ "parts": [],
1459
+ "dependents": [
1460
+ "justifi-gross-payment-chart"
1461
+ ],
1462
+ "dependencies": [],
1463
+ "dependencyGraph": {
1464
+ "justifi-gross-payment-chart": [
1465
+ "gross-payment-chart-core"
1466
+ ]
1467
+ }
1468
+ },
1354
1469
  {
1355
1470
  "filePath": "src/components/business-form/additional-questions/additional-questions.tsx",
1356
1471
  "encapsulation": "none",
@@ -1863,6 +1978,7 @@
1863
1978
  "slots": [],
1864
1979
  "parts": [],
1865
1980
  "dependents": [
1981
+ "justifi-new-payment-method",
1866
1982
  "justifi-payment-form"
1867
1983
  ],
1868
1984
  "dependencies": [
@@ -1874,6 +1990,9 @@
1874
1990
  "text-input",
1875
1991
  "select-input"
1876
1992
  ],
1993
+ "justifi-new-payment-method": [
1994
+ "justifi-billing-form"
1995
+ ],
1877
1996
  "justifi-payment-form": [
1878
1997
  "justifi-billing-form"
1879
1998
  ]
@@ -2057,14 +2176,13 @@
2057
2176
  "parts": [],
2058
2177
  "dependents": [],
2059
2178
  "dependencies": [
2060
- "generic-info-details",
2061
- "legal-address-details",
2062
- "representative-details",
2063
- "owner-details",
2064
- "additional-questions-details"
2179
+ "business-details-core"
2065
2180
  ],
2066
2181
  "dependencyGraph": {
2067
2182
  "justifi-business-details": [
2183
+ "business-details-core"
2184
+ ],
2185
+ "business-details-core": [
2068
2186
  "generic-info-details",
2069
2187
  "legal-address-details",
2070
2188
  "representative-details",
@@ -3105,16 +3223,16 @@
3105
3223
  }
3106
3224
  },
3107
3225
  {
3108
- "filePath": "src/components/details/details.tsx",
3226
+ "filePath": "src/components/checkout/checkout.tsx",
3109
3227
  "encapsulation": "shadow",
3110
- "tag": "justifi-details",
3111
- "readme": "# justifi-details\n\n\n",
3112
- "docs": "",
3228
+ "tag": "justifi-checkout",
3229
+ "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",
3230
+ "docs": "<h1>\n <code><justifi-payment-form /></code>\n</h1>",
3113
3231
  "docsTags": [],
3114
3232
  "usage": {},
3115
3233
  "props": [
3116
3234
  {
3117
- "name": "errorMessage",
3235
+ "name": "authToken",
3118
3236
  "type": "string",
3119
3237
  "complexType": {
3120
3238
  "original": "string",
@@ -3122,7 +3240,28 @@
3122
3240
  "references": {}
3123
3241
  },
3124
3242
  "mutable": false,
3125
- "attr": "error-message",
3243
+ "attr": "auth-token",
3244
+ "reflectToAttr": false,
3245
+ "docs": "",
3246
+ "docsTags": [],
3247
+ "values": [
3248
+ {
3249
+ "type": "string"
3250
+ }
3251
+ ],
3252
+ "optional": false,
3253
+ "required": false
3254
+ },
3255
+ {
3256
+ "name": "checkoutId",
3257
+ "type": "string",
3258
+ "complexType": {
3259
+ "original": "string",
3260
+ "resolved": "string",
3261
+ "references": {}
3262
+ },
3263
+ "mutable": false,
3264
+ "attr": "checkout-id",
3126
3265
  "reflectToAttr": false,
3127
3266
  "docs": "",
3128
3267
  "docsTags": [],
@@ -3133,6 +3272,27 @@
3133
3272
  ],
3134
3273
  "optional": false,
3135
3274
  "required": false
3275
+ },
3276
+ {
3277
+ "name": "iframeOrigin",
3278
+ "type": "string",
3279
+ "complexType": {
3280
+ "original": "string",
3281
+ "resolved": "string",
3282
+ "references": {}
3283
+ },
3284
+ "mutable": false,
3285
+ "attr": "iframe-origin",
3286
+ "reflectToAttr": false,
3287
+ "docs": "",
3288
+ "docsTags": [],
3289
+ "values": [
3290
+ {
3291
+ "type": "string"
3292
+ }
3293
+ ],
3294
+ "optional": true,
3295
+ "required": false
3136
3296
  }
3137
3297
  ],
3138
3298
  "methods": [],
@@ -3141,35 +3301,42 @@
3141
3301
  "styles": [],
3142
3302
  "slots": [],
3143
3303
  "parts": [],
3144
- "dependents": [
3145
- "justifi-subaccount-details",
3146
- "payment-details-core",
3147
- "payout-details-core"
3304
+ "dependents": [],
3305
+ "dependencies": [
3306
+ "justifi-checkout-core"
3148
3307
  ],
3149
- "dependencies": [],
3150
3308
  "dependencyGraph": {
3151
- "justifi-subaccount-details": [
3152
- "justifi-details"
3309
+ "justifi-checkout": [
3310
+ "justifi-checkout-core"
3153
3311
  ],
3154
- "payment-details-core": [
3155
- "justifi-details"
3312
+ "justifi-checkout-core": [
3313
+ "justifi-payment-method-options"
3156
3314
  ],
3157
- "payout-details-core": [
3158
- "justifi-details"
3315
+ "justifi-payment-method-options": [
3316
+ "justifi-new-payment-method",
3317
+ "justifi-saved-payment-method"
3318
+ ],
3319
+ "justifi-new-payment-method": [
3320
+ "justifi-payment-method-form",
3321
+ "justifi-billing-form"
3322
+ ],
3323
+ "justifi-billing-form": [
3324
+ "text-input",
3325
+ "select-input"
3159
3326
  ]
3160
3327
  }
3161
3328
  },
3162
3329
  {
3163
- "filePath": "src/components/gross-payment-chart/gross-payment-chart.tsx",
3330
+ "filePath": "src/components/checkout/checkout-core.tsx",
3164
3331
  "encapsulation": "shadow",
3165
- "tag": "justifi-gross-payment-chart",
3166
- "readme": "# justifi-gross-payment-chart\n\n\n",
3167
- "docs": "",
3332
+ "tag": "justifi-checkout-core",
3333
+ "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",
3334
+ "docs": "<h1>\n <code><justifi-payment-form /></code>\n</h1>",
3168
3335
  "docsTags": [],
3169
3336
  "usage": {},
3170
3337
  "props": [
3171
3338
  {
3172
- "name": "accountId",
3339
+ "name": "authToken",
3173
3340
  "type": "string",
3174
3341
  "complexType": {
3175
3342
  "original": "string",
@@ -3177,7 +3344,7 @@
3177
3344
  "references": {}
3178
3345
  },
3179
3346
  "mutable": false,
3180
- "attr": "account-id",
3347
+ "attr": "auth-token",
3181
3348
  "reflectToAttr": false,
3182
3349
  "docs": "",
3183
3350
  "docsTags": [],
@@ -3190,7 +3357,7 @@
3190
3357
  "required": false
3191
3358
  },
3192
3359
  {
3193
- "name": "authToken",
3360
+ "name": "checkoutId",
3194
3361
  "type": "string",
3195
3362
  "complexType": {
3196
3363
  "original": "string",
@@ -3198,7 +3365,7 @@
3198
3365
  "references": {}
3199
3366
  },
3200
3367
  "mutable": false,
3201
- "attr": "auth-token",
3368
+ "attr": "checkout-id",
3202
3369
  "reflectToAttr": false,
3203
3370
  "docs": "",
3204
3371
  "docsTags": [],
@@ -3209,51 +3376,17 @@
3209
3376
  ],
3210
3377
  "optional": false,
3211
3378
  "required": false
3212
- }
3213
- ],
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
- },
3235
- {
3236
- "name": "exportedPart",
3237
- "text": "input: The input fields"
3238
3379
  },
3239
3380
  {
3240
- "name": "exportedPart",
3241
- "text": "input-invalid: Invalid state for inputfs"
3242
- }
3243
- ],
3244
- "usage": {},
3245
- "props": [
3246
- {
3247
- "name": "formController",
3248
- "type": "FormController",
3381
+ "name": "getCheckout",
3382
+ "type": "Function",
3249
3383
  "complexType": {
3250
- "original": "FormController",
3251
- "resolved": "FormController",
3384
+ "original": "Function",
3385
+ "resolved": "Function",
3252
3386
  "references": {
3253
- "FormController": {
3254
- "location": "import",
3255
- "path": "../../form/form",
3256
- "id": "src/components/form/form.ts::FormController"
3387
+ "Function": {
3388
+ "location": "global",
3389
+ "id": "global::Function"
3257
3390
  }
3258
3391
  }
3259
3392
  },
@@ -3263,39 +3396,521 @@
3263
3396
  "docsTags": [],
3264
3397
  "values": [
3265
3398
  {
3266
- "type": "FormController"
3399
+ "type": "Function"
3267
3400
  }
3268
3401
  ],
3269
3402
  "optional": false,
3270
3403
  "required": false
3271
- }
3272
- ],
3273
- "methods": [],
3274
- "events": [],
3275
- "listeners": [],
3276
- "styles": [],
3277
- "slots": [],
3278
- "parts": [],
3279
- "dependents": [
3404
+ },
3405
+ {
3406
+ "name": "iframeOrigin",
3407
+ "type": "string",
3408
+ "complexType": {
3409
+ "original": "string",
3410
+ "resolved": "string",
3411
+ "references": {}
3412
+ },
3413
+ "mutable": true,
3414
+ "attr": "iframe-origin",
3415
+ "reflectToAttr": false,
3416
+ "docs": "URL for the rendered iFrame. End-users need not use this.",
3417
+ "docsTags": [],
3418
+ "default": "config.iframeOrigin",
3419
+ "values": [
3420
+ {
3421
+ "type": "string"
3422
+ }
3423
+ ],
3424
+ "optional": true,
3425
+ "required": false
3426
+ },
3427
+ {
3428
+ "name": "pay",
3429
+ "type": "Function",
3430
+ "complexType": {
3431
+ "original": "Function",
3432
+ "resolved": "Function",
3433
+ "references": {
3434
+ "Function": {
3435
+ "location": "global",
3436
+ "id": "global::Function"
3437
+ }
3438
+ }
3439
+ },
3440
+ "mutable": false,
3441
+ "reflectToAttr": false,
3442
+ "docs": "",
3443
+ "docsTags": [],
3444
+ "values": [
3445
+ {
3446
+ "type": "Function"
3447
+ }
3448
+ ],
3449
+ "optional": false,
3450
+ "required": false
3451
+ }
3452
+ ],
3453
+ "methods": [
3454
+ {
3455
+ "name": "loadFontsOnParent",
3456
+ "returns": {
3457
+ "type": "Promise<any>",
3458
+ "docs": ""
3459
+ },
3460
+ "complexType": {
3461
+ "signature": "() => Promise<any>",
3462
+ "parameters": [],
3463
+ "references": {
3464
+ "Promise": {
3465
+ "location": "global",
3466
+ "id": "global::Promise"
3467
+ }
3468
+ },
3469
+ "return": "Promise<any>"
3470
+ },
3471
+ "signature": "loadFontsOnParent() => Promise<any>",
3472
+ "parameters": [],
3473
+ "docs": "",
3474
+ "docsTags": []
3475
+ }
3476
+ ],
3477
+ "events": [
3478
+ {
3479
+ "event": "submitted",
3480
+ "detail": "BankAccountCreateResponse | CardCreateResponse",
3481
+ "bubbles": true,
3482
+ "complexType": {
3483
+ "original": "CreatePaymentMethodResponse",
3484
+ "resolved": "BankAccountCreateResponse | CardCreateResponse",
3485
+ "references": {
3486
+ "CreatePaymentMethodResponse": {
3487
+ "location": "import",
3488
+ "path": "../payment-method-form/payment-method-responses",
3489
+ "id": "src/components/payment-method-form/payment-method-responses.ts::CreatePaymentMethodResponse"
3490
+ }
3491
+ }
3492
+ },
3493
+ "cancelable": true,
3494
+ "composed": true,
3495
+ "docs": "",
3496
+ "docsTags": []
3497
+ }
3498
+ ],
3499
+ "listeners": [],
3500
+ "styles": [],
3501
+ "slots": [],
3502
+ "parts": [],
3503
+ "dependents": [
3504
+ "justifi-checkout"
3505
+ ],
3506
+ "dependencies": [
3507
+ "justifi-payment-method-options"
3508
+ ],
3509
+ "dependencyGraph": {
3510
+ "justifi-checkout-core": [
3511
+ "justifi-payment-method-options"
3512
+ ],
3513
+ "justifi-payment-method-options": [
3514
+ "justifi-new-payment-method",
3515
+ "justifi-saved-payment-method"
3516
+ ],
3517
+ "justifi-new-payment-method": [
3518
+ "justifi-payment-method-form",
3519
+ "justifi-billing-form"
3520
+ ],
3521
+ "justifi-billing-form": [
3522
+ "text-input",
3523
+ "select-input"
3524
+ ],
3525
+ "justifi-checkout": [
3526
+ "justifi-checkout-core"
3527
+ ]
3528
+ }
3529
+ },
3530
+ {
3531
+ "filePath": "src/components/details/details.tsx",
3532
+ "encapsulation": "shadow",
3533
+ "tag": "justifi-details",
3534
+ "readme": "# justifi-details\n\n\n",
3535
+ "docs": "",
3536
+ "docsTags": [],
3537
+ "usage": {},
3538
+ "props": [
3539
+ {
3540
+ "name": "errorMessage",
3541
+ "type": "string",
3542
+ "complexType": {
3543
+ "original": "string",
3544
+ "resolved": "string",
3545
+ "references": {}
3546
+ },
3547
+ "mutable": false,
3548
+ "attr": "error-message",
3549
+ "reflectToAttr": false,
3550
+ "docs": "",
3551
+ "docsTags": [],
3552
+ "values": [
3553
+ {
3554
+ "type": "string"
3555
+ }
3556
+ ],
3557
+ "optional": false,
3558
+ "required": false
3559
+ }
3560
+ ],
3561
+ "methods": [],
3562
+ "events": [],
3563
+ "listeners": [],
3564
+ "styles": [],
3565
+ "slots": [],
3566
+ "parts": [],
3567
+ "dependents": [
3568
+ "justifi-subaccount-details",
3569
+ "payment-details-core",
3570
+ "payout-details-core"
3571
+ ],
3572
+ "dependencies": [],
3573
+ "dependencyGraph": {
3574
+ "justifi-subaccount-details": [
3575
+ "justifi-details"
3576
+ ],
3577
+ "payment-details-core": [
3578
+ "justifi-details"
3579
+ ],
3580
+ "payout-details-core": [
3581
+ "justifi-details"
3582
+ ]
3583
+ }
3584
+ },
3585
+ {
3586
+ "filePath": "src/components/gross-payment-chart/gross-payment-chart.tsx",
3587
+ "encapsulation": "shadow",
3588
+ "tag": "justifi-gross-payment-chart",
3589
+ "readme": "# justifi-gross-payment-chart\n\n\n",
3590
+ "docs": "",
3591
+ "docsTags": [],
3592
+ "usage": {},
3593
+ "props": [
3594
+ {
3595
+ "name": "accountId",
3596
+ "type": "string",
3597
+ "complexType": {
3598
+ "original": "string",
3599
+ "resolved": "string",
3600
+ "references": {}
3601
+ },
3602
+ "mutable": false,
3603
+ "attr": "account-id",
3604
+ "reflectToAttr": false,
3605
+ "docs": "",
3606
+ "docsTags": [],
3607
+ "values": [
3608
+ {
3609
+ "type": "string"
3610
+ }
3611
+ ],
3612
+ "optional": false,
3613
+ "required": false
3614
+ },
3615
+ {
3616
+ "name": "authToken",
3617
+ "type": "string",
3618
+ "complexType": {
3619
+ "original": "string",
3620
+ "resolved": "string",
3621
+ "references": {}
3622
+ },
3623
+ "mutable": false,
3624
+ "attr": "auth-token",
3625
+ "reflectToAttr": false,
3626
+ "docs": "",
3627
+ "docsTags": [],
3628
+ "values": [
3629
+ {
3630
+ "type": "string"
3631
+ }
3632
+ ],
3633
+ "optional": false,
3634
+ "required": false
3635
+ }
3636
+ ],
3637
+ "methods": [],
3638
+ "events": [],
3639
+ "listeners": [],
3640
+ "styles": [],
3641
+ "slots": [],
3642
+ "parts": [],
3643
+ "dependents": [],
3644
+ "dependencies": [
3645
+ "gross-payment-chart-core"
3646
+ ],
3647
+ "dependencyGraph": {
3648
+ "justifi-gross-payment-chart": [
3649
+ "gross-payment-chart-core"
3650
+ ]
3651
+ }
3652
+ },
3653
+ {
3654
+ "filePath": "src/components/business-form/legal-address-form/legal-address-form.tsx",
3655
+ "encapsulation": "none",
3656
+ "tag": "justifi-legal-address-form",
3657
+ "readme": "# legal-address-form\n\n\n",
3658
+ "docs": "",
3659
+ "docsTags": [
3660
+ {
3661
+ "name": "exportedPart",
3662
+ "text": "label: Label for inputs"
3663
+ },
3664
+ {
3665
+ "name": "exportedPart",
3666
+ "text": "input: The input fields"
3667
+ },
3668
+ {
3669
+ "name": "exportedPart",
3670
+ "text": "input-invalid: Invalid state for inputfs"
3671
+ }
3672
+ ],
3673
+ "usage": {},
3674
+ "props": [
3675
+ {
3676
+ "name": "formController",
3677
+ "type": "FormController",
3678
+ "complexType": {
3679
+ "original": "FormController",
3680
+ "resolved": "FormController",
3681
+ "references": {
3682
+ "FormController": {
3683
+ "location": "import",
3684
+ "path": "../../form/form",
3685
+ "id": "src/components/form/form.ts::FormController"
3686
+ }
3687
+ }
3688
+ },
3689
+ "mutable": false,
3690
+ "reflectToAttr": false,
3691
+ "docs": "",
3692
+ "docsTags": [],
3693
+ "values": [
3694
+ {
3695
+ "type": "FormController"
3696
+ }
3697
+ ],
3698
+ "optional": false,
3699
+ "required": false
3700
+ }
3701
+ ],
3702
+ "methods": [],
3703
+ "events": [],
3704
+ "listeners": [],
3705
+ "styles": [],
3706
+ "slots": [],
3707
+ "parts": [],
3708
+ "dependents": [
3280
3709
  "justifi-business-form",
3281
3710
  "justifi-business-form-stepped"
3282
3711
  ],
3283
3712
  "dependencies": [
3284
- "form-control-text",
3285
- "form-control-number",
3286
- "form-control-select"
3713
+ "form-control-text",
3714
+ "form-control-number",
3715
+ "form-control-select"
3716
+ ],
3717
+ "dependencyGraph": {
3718
+ "justifi-legal-address-form": [
3719
+ "form-control-text",
3720
+ "form-control-number",
3721
+ "form-control-select"
3722
+ ],
3723
+ "justifi-business-form": [
3724
+ "justifi-legal-address-form"
3725
+ ],
3726
+ "justifi-business-form-stepped": [
3727
+ "justifi-legal-address-form"
3728
+ ]
3729
+ }
3730
+ },
3731
+ {
3732
+ "filePath": "src/components/checkout/new-payment-method.tsx",
3733
+ "encapsulation": "none",
3734
+ "tag": "justifi-new-payment-method",
3735
+ "readme": "<h1>\n <code><justifi-payment-form /></code>\n</h1>\n\n## Examples\n\n```html\n<!DOCTYPE html>\n<html dir=\"ltr\" lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0\" />\n <title>justifi-payment-form: Simple example</title>\n\n <!--\n If you are including the components via CDN the src should be the following:\n https://cdn.jsdelivr.net/npm/@justifi/webcomponents@2.1.0/dist/webcomponents/webcomponents.esm.js\n -->\n <script type=\"module\" src=\"/build/webcomponents.esm.js\"></script>\n <script nomodule src=\"/build/webcomponents.js\"></script>\n </head>\n\n <body>\n <h1>PaymentForm</h1>\n <hr />\n <justifi-payment-form></justifi-payment-form>\n </body>\n\n <script>\n (function () {})();\n </script>\n</html>\n```\n",
3736
+ "docs": "<h1>\n <code><justifi-payment-form /></code>\n</h1>",
3737
+ "docsTags": [],
3738
+ "usage": {},
3739
+ "props": [
3740
+ {
3741
+ "name": "accountId",
3742
+ "type": "string",
3743
+ "complexType": {
3744
+ "original": "string",
3745
+ "resolved": "string",
3746
+ "references": {}
3747
+ },
3748
+ "mutable": false,
3749
+ "attr": "account-id",
3750
+ "reflectToAttr": false,
3751
+ "docs": "",
3752
+ "docsTags": [],
3753
+ "values": [
3754
+ {
3755
+ "type": "string"
3756
+ }
3757
+ ],
3758
+ "optional": false,
3759
+ "required": false
3760
+ },
3761
+ {
3762
+ "name": "clientId",
3763
+ "type": "string",
3764
+ "complexType": {
3765
+ "original": "string",
3766
+ "resolved": "string",
3767
+ "references": {}
3768
+ },
3769
+ "mutable": false,
3770
+ "attr": "client-id",
3771
+ "reflectToAttr": false,
3772
+ "docs": "",
3773
+ "docsTags": [],
3774
+ "values": [
3775
+ {
3776
+ "type": "string"
3777
+ }
3778
+ ],
3779
+ "optional": false,
3780
+ "required": false
3781
+ },
3782
+ {
3783
+ "name": "iframeOrigin",
3784
+ "type": "string",
3785
+ "complexType": {
3786
+ "original": "string",
3787
+ "resolved": "string",
3788
+ "references": {}
3789
+ },
3790
+ "mutable": true,
3791
+ "attr": "iframe-origin",
3792
+ "reflectToAttr": false,
3793
+ "docs": "",
3794
+ "docsTags": [],
3795
+ "default": "config.iframeOrigin",
3796
+ "values": [
3797
+ {
3798
+ "type": "string"
3799
+ }
3800
+ ],
3801
+ "optional": true,
3802
+ "required": false
3803
+ },
3804
+ {
3805
+ "name": "isSelected",
3806
+ "type": "boolean",
3807
+ "complexType": {
3808
+ "original": "boolean",
3809
+ "resolved": "boolean",
3810
+ "references": {}
3811
+ },
3812
+ "mutable": false,
3813
+ "attr": "is-selected",
3814
+ "reflectToAttr": false,
3815
+ "docs": "",
3816
+ "docsTags": [],
3817
+ "values": [
3818
+ {
3819
+ "type": "boolean"
3820
+ }
3821
+ ],
3822
+ "optional": false,
3823
+ "required": false
3824
+ },
3825
+ {
3826
+ "name": "paymentMethodOption",
3827
+ "type": "PaymentMethodOption",
3828
+ "complexType": {
3829
+ "original": "PaymentMethodOption",
3830
+ "resolved": "PaymentMethodOption",
3831
+ "references": {
3832
+ "PaymentMethodOption": {
3833
+ "location": "import",
3834
+ "path": "./payment-method-option-utils",
3835
+ "id": "src/components/checkout/payment-method-option-utils.tsx::PaymentMethodOption"
3836
+ }
3837
+ }
3838
+ },
3839
+ "mutable": false,
3840
+ "reflectToAttr": false,
3841
+ "docs": "",
3842
+ "docsTags": [],
3843
+ "values": [
3844
+ {
3845
+ "type": "PaymentMethodOption"
3846
+ }
3847
+ ],
3848
+ "optional": false,
3849
+ "required": false
3850
+ }
3851
+ ],
3852
+ "methods": [
3853
+ {
3854
+ "name": "getPaymentMethodToken",
3855
+ "returns": {
3856
+ "type": "Promise<string>",
3857
+ "docs": ""
3858
+ },
3859
+ "complexType": {
3860
+ "signature": "() => Promise<string>",
3861
+ "parameters": [],
3862
+ "references": {
3863
+ "Promise": {
3864
+ "location": "global",
3865
+ "id": "global::Promise"
3866
+ }
3867
+ },
3868
+ "return": "Promise<string>"
3869
+ },
3870
+ "signature": "getPaymentMethodToken() => Promise<string>",
3871
+ "parameters": [],
3872
+ "docs": "",
3873
+ "docsTags": []
3874
+ }
3875
+ ],
3876
+ "events": [
3877
+ {
3878
+ "event": "paymentMethodOptionSelected",
3879
+ "detail": "any",
3880
+ "bubbles": true,
3881
+ "complexType": {
3882
+ "original": "any",
3883
+ "resolved": "any",
3884
+ "references": {}
3885
+ },
3886
+ "cancelable": true,
3887
+ "composed": true,
3888
+ "docs": "",
3889
+ "docsTags": []
3890
+ }
3891
+ ],
3892
+ "listeners": [],
3893
+ "styles": [],
3894
+ "slots": [],
3895
+ "parts": [],
3896
+ "dependents": [
3897
+ "justifi-payment-method-options"
3898
+ ],
3899
+ "dependencies": [
3900
+ "justifi-payment-method-form",
3901
+ "justifi-billing-form"
3287
3902
  ],
3288
3903
  "dependencyGraph": {
3289
- "justifi-legal-address-form": [
3290
- "form-control-text",
3291
- "form-control-number",
3292
- "form-control-select"
3904
+ "justifi-new-payment-method": [
3905
+ "justifi-payment-method-form",
3906
+ "justifi-billing-form"
3293
3907
  ],
3294
- "justifi-business-form": [
3295
- "justifi-legal-address-form"
3908
+ "justifi-billing-form": [
3909
+ "text-input",
3910
+ "select-input"
3296
3911
  ],
3297
- "justifi-business-form-stepped": [
3298
- "justifi-legal-address-form"
3912
+ "justifi-payment-method-options": [
3913
+ "justifi-new-payment-method"
3299
3914
  ]
3300
3915
  }
3301
3916
  },
@@ -3454,10 +4069,6 @@
3454
4069
  "name": "exportedPart",
3455
4070
  "text": "detail-method-data"
3456
4071
  },
3457
- {
3458
- "name": "exportedPart",
3459
- "text": "detail-section"
3460
- },
3461
4072
  {
3462
4073
  "name": "exportedPart",
3463
4074
  "text": "detail-section-title"
@@ -3754,11 +4365,11 @@
3754
4365
  "events": [
3755
4366
  {
3756
4367
  "event": "submitted",
3757
- "detail": "BankAccountCreateResponse | CardCreateResponse | PaymentMethodErrorResponse",
4368
+ "detail": "BankAccountCreateResponse | CardCreateResponse",
3758
4369
  "bubbles": true,
3759
4370
  "complexType": {
3760
4371
  "original": "CreatePaymentMethodResponse",
3761
- "resolved": "BankAccountCreateResponse | CardCreateResponse | PaymentMethodErrorResponse",
4372
+ "resolved": "BankAccountCreateResponse | CardCreateResponse",
3762
4373
  "references": {
3763
4374
  "CreatePaymentMethodResponse": {
3764
4375
  "location": "import",
@@ -3989,22 +4600,280 @@
3989
4600
  "docs": ""
3990
4601
  },
3991
4602
  {
3992
- "name": "account",
3993
- "type": "string",
3994
- "docs": ""
4603
+ "name": "account",
4604
+ "type": "string",
4605
+ "docs": ""
4606
+ }
4607
+ ],
4608
+ "docs": "",
4609
+ "docsTags": []
4610
+ },
4611
+ {
4612
+ "name": "validate",
4613
+ "returns": {
4614
+ "type": "Promise<any>",
4615
+ "docs": ""
4616
+ },
4617
+ "complexType": {
4618
+ "signature": "() => Promise<any>",
4619
+ "parameters": [],
4620
+ "references": {
4621
+ "Promise": {
4622
+ "location": "global",
4623
+ "id": "global::Promise"
4624
+ }
4625
+ },
4626
+ "return": "Promise<any>"
4627
+ },
4628
+ "signature": "validate() => Promise<any>",
4629
+ "parameters": [],
4630
+ "docs": "",
4631
+ "docsTags": []
4632
+ }
4633
+ ],
4634
+ "events": [
4635
+ {
4636
+ "event": "paymentMethodFormReady",
4637
+ "detail": "void",
4638
+ "bubbles": true,
4639
+ "complexType": {
4640
+ "original": "void",
4641
+ "resolved": "void",
4642
+ "references": {}
4643
+ },
4644
+ "cancelable": true,
4645
+ "composed": true,
4646
+ "docs": "",
4647
+ "docsTags": []
4648
+ },
4649
+ {
4650
+ "event": "paymentMethodFormTokenized",
4651
+ "detail": "BankAccountCreateResponse | CardCreateResponse",
4652
+ "bubbles": true,
4653
+ "complexType": {
4654
+ "original": "CreatePaymentMethodResponse",
4655
+ "resolved": "BankAccountCreateResponse | CardCreateResponse",
4656
+ "references": {
4657
+ "CreatePaymentMethodResponse": {
4658
+ "location": "import",
4659
+ "path": "./payment-method-responses",
4660
+ "id": "src/components/payment-method-form/payment-method-responses.ts::CreatePaymentMethodResponse"
4661
+ }
4662
+ }
4663
+ },
4664
+ "cancelable": true,
4665
+ "composed": true,
4666
+ "docs": "",
4667
+ "docsTags": []
4668
+ },
4669
+ {
4670
+ "event": "paymentMethodFormValidated",
4671
+ "detail": "any",
4672
+ "bubbles": true,
4673
+ "complexType": {
4674
+ "original": "any",
4675
+ "resolved": "any",
4676
+ "references": {}
4677
+ },
4678
+ "cancelable": true,
4679
+ "composed": true,
4680
+ "docs": "",
4681
+ "docsTags": []
4682
+ }
4683
+ ],
4684
+ "listeners": [],
4685
+ "styles": [],
4686
+ "slots": [],
4687
+ "parts": [],
4688
+ "dependents": [
4689
+ "justifi-bank-account-form",
4690
+ "justifi-card-form",
4691
+ "justifi-new-payment-method",
4692
+ "justifi-payment-form"
4693
+ ],
4694
+ "dependencies": [],
4695
+ "dependencyGraph": {
4696
+ "justifi-bank-account-form": [
4697
+ "justifi-payment-method-form"
4698
+ ],
4699
+ "justifi-card-form": [
4700
+ "justifi-payment-method-form"
4701
+ ],
4702
+ "justifi-new-payment-method": [
4703
+ "justifi-payment-method-form"
4704
+ ],
4705
+ "justifi-payment-form": [
4706
+ "justifi-payment-method-form"
4707
+ ]
4708
+ }
4709
+ },
4710
+ {
4711
+ "filePath": "src/components/checkout/payment-method-options.tsx",
4712
+ "encapsulation": "none",
4713
+ "tag": "justifi-payment-method-options",
4714
+ "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",
4715
+ "docs": "<h1>\n <code><justifi-payment-form /></code>\n</h1>",
4716
+ "docsTags": [],
4717
+ "usage": {},
4718
+ "props": [
4719
+ {
4720
+ "name": "accountId",
4721
+ "type": "string",
4722
+ "complexType": {
4723
+ "original": "string",
4724
+ "resolved": "string",
4725
+ "references": {}
4726
+ },
4727
+ "mutable": false,
4728
+ "attr": "account-id",
4729
+ "reflectToAttr": false,
4730
+ "docs": "",
4731
+ "docsTags": [],
4732
+ "values": [
4733
+ {
4734
+ "type": "string"
4735
+ }
4736
+ ],
4737
+ "optional": false,
4738
+ "required": false
4739
+ },
4740
+ {
4741
+ "name": "clientId",
4742
+ "type": "string",
4743
+ "complexType": {
4744
+ "original": "string",
4745
+ "resolved": "string",
4746
+ "references": {}
4747
+ },
4748
+ "mutable": false,
4749
+ "attr": "client-id",
4750
+ "reflectToAttr": false,
4751
+ "docs": "",
4752
+ "docsTags": [],
4753
+ "values": [
4754
+ {
4755
+ "type": "string"
4756
+ }
4757
+ ],
4758
+ "optional": false,
4759
+ "required": false
4760
+ },
4761
+ {
4762
+ "name": "iframeOrigin",
4763
+ "type": "string",
4764
+ "complexType": {
4765
+ "original": "string",
4766
+ "resolved": "string",
4767
+ "references": {}
4768
+ },
4769
+ "mutable": true,
4770
+ "attr": "iframe-origin",
4771
+ "reflectToAttr": false,
4772
+ "docs": "",
4773
+ "docsTags": [],
4774
+ "default": "config.iframeOrigin",
4775
+ "values": [
4776
+ {
4777
+ "type": "string"
4778
+ }
4779
+ ],
4780
+ "optional": true,
4781
+ "required": false
4782
+ },
4783
+ {
4784
+ "name": "savedPaymentMethods",
4785
+ "type": "any[]",
4786
+ "complexType": {
4787
+ "original": "any[]",
4788
+ "resolved": "any[]",
4789
+ "references": {}
4790
+ },
4791
+ "mutable": false,
4792
+ "reflectToAttr": false,
4793
+ "docs": "",
4794
+ "docsTags": [],
4795
+ "default": "[]",
4796
+ "values": [
4797
+ {
4798
+ "type": "any[]"
4799
+ }
4800
+ ],
4801
+ "optional": false,
4802
+ "required": false
4803
+ },
4804
+ {
4805
+ "name": "selectedPaymentMethodId",
4806
+ "type": "string",
4807
+ "complexType": {
4808
+ "original": "string",
4809
+ "resolved": "string",
4810
+ "references": {}
4811
+ },
4812
+ "mutable": false,
4813
+ "attr": "selected-payment-method-id",
4814
+ "reflectToAttr": false,
4815
+ "docs": "",
4816
+ "docsTags": [],
4817
+ "values": [
4818
+ {
4819
+ "type": "string"
3995
4820
  }
3996
4821
  ],
4822
+ "optional": false,
4823
+ "required": false
4824
+ },
4825
+ {
4826
+ "name": "showAch",
4827
+ "type": "boolean",
4828
+ "complexType": {
4829
+ "original": "boolean",
4830
+ "resolved": "boolean",
4831
+ "references": {}
4832
+ },
4833
+ "mutable": false,
4834
+ "attr": "show-ach",
4835
+ "reflectToAttr": false,
3997
4836
  "docs": "",
3998
- "docsTags": []
4837
+ "docsTags": [],
4838
+ "values": [
4839
+ {
4840
+ "type": "boolean"
4841
+ }
4842
+ ],
4843
+ "optional": false,
4844
+ "required": false
3999
4845
  },
4000
4846
  {
4001
- "name": "validate",
4847
+ "name": "showCard",
4848
+ "type": "boolean",
4849
+ "complexType": {
4850
+ "original": "boolean",
4851
+ "resolved": "boolean",
4852
+ "references": {}
4853
+ },
4854
+ "mutable": false,
4855
+ "attr": "show-card",
4856
+ "reflectToAttr": false,
4857
+ "docs": "",
4858
+ "docsTags": [],
4859
+ "values": [
4860
+ {
4861
+ "type": "boolean"
4862
+ }
4863
+ ],
4864
+ "optional": false,
4865
+ "required": false
4866
+ }
4867
+ ],
4868
+ "methods": [
4869
+ {
4870
+ "name": "getPaymentMethodToken",
4002
4871
  "returns": {
4003
- "type": "Promise<any>",
4872
+ "type": "Promise<string>",
4004
4873
  "docs": ""
4005
4874
  },
4006
4875
  "complexType": {
4007
- "signature": "() => Promise<any>",
4876
+ "signature": "() => Promise<string>",
4008
4877
  "parameters": [],
4009
4878
  "references": {
4010
4879
  "Promise": {
@@ -4012,9 +4881,9 @@
4012
4881
  "id": "global::Promise"
4013
4882
  }
4014
4883
  },
4015
- "return": "Promise<any>"
4884
+ "return": "Promise<string>"
4016
4885
  },
4017
- "signature": "validate() => Promise<any>",
4886
+ "signature": "getPaymentMethodToken() => Promise<string>",
4018
4887
  "parameters": [],
4019
4888
  "docs": "",
4020
4889
  "docsTags": []
@@ -4022,41 +4891,7 @@
4022
4891
  ],
4023
4892
  "events": [
4024
4893
  {
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",
4894
+ "event": "toggleCreatingNewPaymentMethod",
4060
4895
  "detail": "any",
4061
4896
  "bubbles": true,
4062
4897
  "complexType": {
@@ -4070,25 +4905,38 @@
4070
4905
  "docsTags": []
4071
4906
  }
4072
4907
  ],
4073
- "listeners": [],
4908
+ "listeners": [
4909
+ {
4910
+ "event": "paymentMethodOptionSelected",
4911
+ "capture": false,
4912
+ "passive": false
4913
+ }
4914
+ ],
4074
4915
  "styles": [],
4075
4916
  "slots": [],
4076
4917
  "parts": [],
4077
4918
  "dependents": [
4078
- "justifi-bank-account-form",
4079
- "justifi-card-form",
4080
- "justifi-payment-form"
4919
+ "justifi-checkout-core"
4920
+ ],
4921
+ "dependencies": [
4922
+ "justifi-new-payment-method",
4923
+ "justifi-saved-payment-method"
4081
4924
  ],
4082
- "dependencies": [],
4083
4925
  "dependencyGraph": {
4084
- "justifi-bank-account-form": [
4085
- "justifi-payment-method-form"
4926
+ "justifi-payment-method-options": [
4927
+ "justifi-new-payment-method",
4928
+ "justifi-saved-payment-method"
4086
4929
  ],
4087
- "justifi-card-form": [
4088
- "justifi-payment-method-form"
4930
+ "justifi-new-payment-method": [
4931
+ "justifi-payment-method-form",
4932
+ "justifi-billing-form"
4089
4933
  ],
4090
- "justifi-payment-form": [
4091
- "justifi-payment-method-form"
4934
+ "justifi-billing-form": [
4935
+ "text-input",
4936
+ "select-input"
4937
+ ],
4938
+ "justifi-checkout-core": [
4939
+ "justifi-payment-method-options"
4092
4940
  ]
4093
4941
  }
4094
4942
  },
@@ -4858,6 +5706,139 @@
4858
5706
  ]
4859
5707
  }
4860
5708
  },
5709
+ {
5710
+ "filePath": "src/components/checkout/saved-payment-method.tsx",
5711
+ "encapsulation": "none",
5712
+ "tag": "justifi-saved-payment-method",
5713
+ "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",
5714
+ "docs": "<h1>\n <code><justifi-payment-form /></code>\n</h1>",
5715
+ "docsTags": [],
5716
+ "usage": {},
5717
+ "props": [
5718
+ {
5719
+ "name": "iframeOrigin",
5720
+ "type": "string",
5721
+ "complexType": {
5722
+ "original": "string",
5723
+ "resolved": "string",
5724
+ "references": {}
5725
+ },
5726
+ "mutable": true,
5727
+ "attr": "iframe-origin",
5728
+ "reflectToAttr": false,
5729
+ "docs": "",
5730
+ "docsTags": [],
5731
+ "default": "config.iframeOrigin",
5732
+ "values": [
5733
+ {
5734
+ "type": "string"
5735
+ }
5736
+ ],
5737
+ "optional": true,
5738
+ "required": false
5739
+ },
5740
+ {
5741
+ "name": "isSelected",
5742
+ "type": "boolean",
5743
+ "complexType": {
5744
+ "original": "boolean",
5745
+ "resolved": "boolean",
5746
+ "references": {}
5747
+ },
5748
+ "mutable": false,
5749
+ "attr": "is-selected",
5750
+ "reflectToAttr": false,
5751
+ "docs": "",
5752
+ "docsTags": [],
5753
+ "values": [
5754
+ {
5755
+ "type": "boolean"
5756
+ }
5757
+ ],
5758
+ "optional": false,
5759
+ "required": false
5760
+ },
5761
+ {
5762
+ "name": "paymentMethodOption",
5763
+ "type": "PaymentMethodOption",
5764
+ "complexType": {
5765
+ "original": "PaymentMethodOption",
5766
+ "resolved": "PaymentMethodOption",
5767
+ "references": {
5768
+ "PaymentMethodOption": {
5769
+ "location": "import",
5770
+ "path": "./payment-method-option-utils",
5771
+ "id": "src/components/checkout/payment-method-option-utils.tsx::PaymentMethodOption"
5772
+ }
5773
+ }
5774
+ },
5775
+ "mutable": false,
5776
+ "reflectToAttr": false,
5777
+ "docs": "",
5778
+ "docsTags": [],
5779
+ "values": [
5780
+ {
5781
+ "type": "PaymentMethodOption"
5782
+ }
5783
+ ],
5784
+ "optional": false,
5785
+ "required": false
5786
+ }
5787
+ ],
5788
+ "methods": [
5789
+ {
5790
+ "name": "getPaymentMethodToken",
5791
+ "returns": {
5792
+ "type": "Promise<string>",
5793
+ "docs": ""
5794
+ },
5795
+ "complexType": {
5796
+ "signature": "() => Promise<string>",
5797
+ "parameters": [],
5798
+ "references": {
5799
+ "Promise": {
5800
+ "location": "global",
5801
+ "id": "global::Promise"
5802
+ }
5803
+ },
5804
+ "return": "Promise<string>"
5805
+ },
5806
+ "signature": "getPaymentMethodToken() => Promise<string>",
5807
+ "parameters": [],
5808
+ "docs": "",
5809
+ "docsTags": []
5810
+ }
5811
+ ],
5812
+ "events": [
5813
+ {
5814
+ "event": "paymentMethodOptionSelected",
5815
+ "detail": "any",
5816
+ "bubbles": true,
5817
+ "complexType": {
5818
+ "original": "any",
5819
+ "resolved": "any",
5820
+ "references": {}
5821
+ },
5822
+ "cancelable": true,
5823
+ "composed": true,
5824
+ "docs": "",
5825
+ "docsTags": []
5826
+ }
5827
+ ],
5828
+ "listeners": [],
5829
+ "styles": [],
5830
+ "slots": [],
5831
+ "parts": [],
5832
+ "dependents": [
5833
+ "justifi-payment-method-options"
5834
+ ],
5835
+ "dependencies": [],
5836
+ "dependencyGraph": {
5837
+ "justifi-payment-method-options": [
5838
+ "justifi-saved-payment-method"
5839
+ ]
5840
+ }
5841
+ },
4861
5842
  {
4862
5843
  "filePath": "src/components/subaccount-details/subaccount-details.tsx",
4863
5844
  "encapsulation": "shadow",
@@ -5373,11 +6354,11 @@
5373
6354
  "slots": [],
5374
6355
  "parts": [],
5375
6356
  "dependents": [
5376
- "justifi-business-details"
6357
+ "business-details-core"
5377
6358
  ],
5378
6359
  "dependencies": [],
5379
6360
  "dependencyGraph": {
5380
- "justifi-business-details": [
6361
+ "business-details-core": [
5381
6362
  "legal-address-details"
5382
6363
  ]
5383
6364
  }
@@ -5388,28 +6369,7 @@
5388
6369
  "tag": "owner-details",
5389
6370
  "readme": "# owner-details\n\n\n",
5390
6371
  "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
- ],
6372
+ "docsTags": [],
5413
6373
  "usage": {},
5414
6374
  "props": [
5415
6375
  {
@@ -5446,11 +6406,11 @@
5446
6406
  "slots": [],
5447
6407
  "parts": [],
5448
6408
  "dependents": [
5449
- "justifi-business-details"
6409
+ "business-details-core"
5450
6410
  ],
5451
6411
  "dependencies": [],
5452
6412
  "dependencyGraph": {
5453
- "justifi-business-details": [
6413
+ "business-details-core": [
5454
6414
  "owner-details"
5455
6415
  ]
5456
6416
  }
@@ -5880,11 +6840,11 @@
5880
6840
  "slots": [],
5881
6841
  "parts": [],
5882
6842
  "dependents": [
5883
- "justifi-business-details"
6843
+ "business-details-core"
5884
6844
  ],
5885
6845
  "dependencies": [],
5886
6846
  "dependencyGraph": {
5887
- "justifi-business-details": [
6847
+ "business-details-core": [
5888
6848
  "representative-details"
5889
6849
  ]
5890
6850
  }
@@ -6509,7 +7469,7 @@
6509
7469
  "path": "src/components/pagination-menu/pagination-menu.tsx"
6510
7470
  },
6511
7471
  "src/components/payment-method-form/payment-method-responses.ts::CreatePaymentMethodResponse": {
6512
- "declaration": "export type CreatePaymentMethodResponse =\n | CardCreateResponse\n | BankAccountCreateResponse\n | PaymentMethodErrorResponse;",
7472
+ "declaration": "export type CreatePaymentMethodResponse =\n | CardCreateResponse\n | BankAccountCreateResponse;",
6513
7473
  "docstring": "",
6514
7474
  "path": "src/components/payment-method-form/payment-method-responses.ts"
6515
7475
  },
@@ -6553,6 +7513,11 @@
6553
7513
  "docstring": "",
6554
7514
  "path": "src/components/form/form.ts"
6555
7515
  },
7516
+ "src/components/checkout/payment-method-option-utils.tsx::PaymentMethodOption": {
7517
+ "declaration": "any",
7518
+ "docstring": "",
7519
+ "path": "src/components/checkout/payment-method-option-utils.tsx"
7520
+ },
6556
7521
  "src/api/index.ts::Payment": {
6557
7522
  "declaration": "any",
6558
7523
  "docstring": "",