@justifi/webcomponents 4.17.0 → 4.19.0-rc

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 (618) hide show
  1. package/dist/cjs/{Analytics-80336968.js → Analytics-e1fdfdb7.js} +2 -2
  2. package/dist/cjs/{Payment-24f22eca.js → Payment-1a8a8ca6.js} +0 -21
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +13 -13
  4. package/dist/cjs/business-details-core.cjs.entry.js +6 -9
  5. package/dist/cjs/{business-form-types-11130bab.js → business-form-types-6e1fcda3.js} +4 -7
  6. package/dist/cjs/business.service-c384784d.js +32 -0
  7. package/dist/cjs/button-3f400a66.js +26 -0
  8. package/dist/cjs/{config-ff2dda66.js → config-037e67d0.js} +2 -2
  9. package/dist/cjs/form-alert_5.cjs.entry.js +6 -6
  10. package/dist/cjs/{form-control-checkbox_5.cjs.entry.js → form-control-checkbox_9.cjs.entry.js} +437 -172
  11. package/dist/cjs/form-control-date_3.cjs.entry.js +15 -9
  12. package/dist/cjs/form-control-error-text_4.cjs.entry.js +3 -3
  13. package/dist/cjs/form-control-file.cjs.entry.js +2 -2
  14. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  15. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  16. package/dist/cjs/get-payout-csv-51a02be7.js +48 -0
  17. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  18. package/dist/cjs/{index-b4498996.js → index-fb499e95.js} +15 -3
  19. package/dist/cjs/input-handlers-cff032bb.js +20 -0
  20. package/dist/cjs/{insurance-state-3f044af7.js → insurance-state-80e24caf.js} +1 -1
  21. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +198 -483
  22. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -5
  23. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +6 -5
  24. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  25. package/dist/cjs/justifi-business-form.cjs.entry.js +10 -9
  26. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +30 -0
  27. package/dist/cjs/justifi-card-form.cjs.entry.js +5 -5
  28. package/dist/cjs/justifi-checkout-core.cjs.entry.js +15 -10
  29. package/dist/cjs/justifi-checkout.cjs.entry.js +7 -7
  30. package/dist/cjs/justifi-details.cjs.entry.js +4 -7
  31. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  32. package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +13 -10
  33. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +268 -0
  34. package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -7
  35. package/dist/cjs/justifi-payment-form.cjs.entry.js +12 -12
  36. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +5 -5
  37. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +4 -4
  38. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +9 -8
  39. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -66
  40. package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -7
  41. package/dist/cjs/justifi-payout-details.cjs.entry.js +17 -12
  42. package/dist/cjs/justifi-payouts-list.cjs.entry.js +17 -14
  43. package/dist/cjs/justifi-refund-form.cjs.entry.js +6 -5
  44. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +14 -9
  45. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -5
  46. package/dist/cjs/loader.cjs.js +2 -2
  47. package/dist/cjs/{package-7b63c02b.js → package-95cc171f.js} +1 -1
  48. package/dist/cjs/pagination-menu.cjs.entry.js +25 -0
  49. package/dist/cjs/{payload-parsers-78445405.js → payload-parsers-1cbc3b57.js} +2 -0
  50. package/dist/cjs/payment-details-core.cjs.entry.js +11 -14
  51. package/dist/cjs/payment-provisioning-actions-06466dda.js +185 -0
  52. package/dist/cjs/{payment.service-35298e95.js → payment.service-2dbfb83d.js} +2 -2
  53. package/dist/cjs/payments-list-core.cjs.entry.js +73 -44
  54. package/dist/cjs/payout-details-core.cjs.entry.js +19 -8
  55. package/dist/cjs/payouts-list-core.cjs.entry.js +96 -59
  56. package/dist/cjs/skeleton-748c5dde.js +43 -0
  57. package/dist/cjs/styled-host-cc053016.js +14 -0
  58. package/dist/cjs/table-loading-state-8b406852.js +38 -0
  59. package/dist/cjs/{utils-80191fbe.js → utils-89d86e29.js} +0 -33
  60. package/dist/cjs/{utils-0c3168ef.js → utils-c1d2e426.js} +1 -1
  61. package/dist/cjs/{utils-742da2e3.js → utils-ddacfc44.js} +0 -5
  62. package/dist/cjs/webcomponents.cjs.js +2 -2
  63. package/dist/collection/api/Payment.js +0 -20
  64. package/dist/collection/api/services/business.service.js +18 -0
  65. package/dist/collection/api/services/payout.service.js +5 -0
  66. package/dist/collection/assets/download-icon.js +2 -0
  67. package/dist/collection/collection-manifest.json +9 -14
  68. package/dist/collection/components/bank-account-form/bank-account-form.js +1 -1
  69. package/dist/collection/components/billing-form/billing-form.css +2 -8162
  70. package/dist/collection/components/billing-form/billing-form.js +4 -3
  71. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +2 -3
  72. package/dist/collection/components/business-details/business-details-core.js +5 -14
  73. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +2 -3
  74. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +2 -3
  75. package/dist/collection/components/business-details/owner-details/owner-details.js +2 -3
  76. package/dist/collection/components/business-details/representative-details/representative-details.js +2 -3
  77. package/dist/collection/components/business-details/shared-business-details.css +3 -0
  78. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  79. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  80. package/dist/collection/components/business-forms/business-form/business-form.css +5 -8768
  81. package/dist/collection/components/business-forms/business-form/business-form.js +4 -3
  82. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
  83. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  84. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  85. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +520 -0
  86. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +80 -0
  87. package/dist/collection/components/business-forms/owner-form/owner-form.js +55 -225
  88. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +235 -0
  89. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +41 -121
  90. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +2 -2
  91. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +255 -0
  92. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +42 -131
  93. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +342 -0
  94. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +34 -189
  95. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +81 -0
  96. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +229 -0
  97. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +42 -133
  98. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +23 -18
  99. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +2 -2
  100. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +1 -1
  101. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +238 -0
  102. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +41 -124
  103. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +122 -1
  104. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +19 -8
  105. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +2 -2
  106. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +6 -6
  107. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -12
  108. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
  109. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.css +5 -763
  110. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +2 -2
  111. package/dist/collection/components/business-forms/utils/business-form-types.js +4 -7
  112. package/dist/collection/components/business-forms/utils/input-handlers.js +13 -0
  113. package/dist/collection/components/business-forms/utils/payload-parsers.js +2 -0
  114. package/dist/collection/components/card-form/card-form.js +1 -1
  115. package/dist/collection/components/checkout/checkout-core.css +3 -8147
  116. package/dist/collection/components/checkout/checkout-core.js +7 -7
  117. package/dist/collection/components/checkout/checkout.js +2 -2
  118. package/dist/collection/components/checkout/form-check-input.css +20 -0
  119. package/dist/collection/components/checkout/header.css +4 -0
  120. package/dist/collection/components/checkout/new-payment-method.js +2 -2
  121. package/dist/collection/components/checkout/payment-method-options.css +1 -7088
  122. package/dist/collection/components/checkout/payment-method-options.js +4 -4
  123. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  124. package/dist/collection/components/checkout/saved-payment-method.js +2 -2
  125. package/dist/collection/components/checkout/sezzle-payment-method.js +2 -2
  126. package/dist/collection/components/details/details.js +3 -12
  127. package/dist/collection/components/form/form-control-checkbox.js +1 -1
  128. package/dist/collection/components/form/form-control-date.js +1 -1
  129. package/dist/collection/components/form/form-control-file.js +1 -1
  130. package/dist/collection/components/form/form-control-monetary.js +1 -1
  131. package/dist/collection/components/form/form-control-number-masked.js +11 -5
  132. package/dist/collection/components/form/form-control-number.js +1 -1
  133. package/dist/collection/components/form/form-control-select.js +1 -1
  134. package/dist/collection/components/form/form-control-text.js +1 -1
  135. package/dist/collection/components/form/utils.js +0 -2
  136. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
  137. package/dist/collection/components/gross-payment-chart/gross-payment-chart.css +1 -573
  138. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.css +6 -8183
  139. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +6 -7
  140. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +6 -2
  141. package/dist/collection/components/pagination-menu/pagination-menu.js +3 -14
  142. package/dist/collection/components/payment-details/payment-details-core.js +9 -18
  143. package/dist/collection/components/payment-form/payment-form.css +3 -2513
  144. package/dist/collection/components/payment-form/payment-form.js +6 -7
  145. package/dist/collection/components/payment-form/payment-method-selector.css +5 -1881
  146. package/dist/collection/components/payment-form/payment-method-selector.js +2 -3
  147. package/dist/collection/components/payment-method-form/payment-method-form.js +2 -2
  148. package/dist/collection/components/payments-list/payments-list-core.js +70 -48
  149. package/dist/collection/components/payments-list/payments-list.js +3 -0
  150. package/dist/collection/components/payout-details/get-payout-csv.js +19 -0
  151. package/dist/collection/components/payout-details/payout-details-core.js +37 -12
  152. package/dist/collection/components/payout-details/payout-details.js +11 -4
  153. package/dist/collection/components/payouts-list/payouts-list-core.js +111 -65
  154. package/dist/collection/components/payouts-list/payouts-list.js +14 -6
  155. package/dist/collection/components/refund-form/refund-form.css +1 -7737
  156. package/dist/collection/components/refund-form/refund-form.js +4 -3
  157. package/dist/collection/ui-components/button-spinner.js +2 -0
  158. package/dist/collection/ui-components/button.js +19 -0
  159. package/dist/collection/ui-components/index.js +7 -0
  160. package/dist/collection/ui-components/skeleton.js +39 -0
  161. package/dist/collection/ui-components/styled-host/styled-host.js +5 -0
  162. package/dist/collection/ui-components/table-empty-state.js +8 -0
  163. package/dist/collection/ui-components/table-error-state.js +8 -0
  164. package/dist/collection/ui-components/table-loading-state.js +8 -0
  165. package/dist/collection/utils/utils.js +0 -21
  166. package/dist/config.js +2 -2
  167. package/dist/docs.json +2153 -1711
  168. package/dist/esm/{Analytics-c52faca6.js → Analytics-8638c01f.js} +2 -2
  169. package/dist/esm/{Payment-3e94da9c.js → Payment-6bf26fe2.js} +1 -21
  170. package/dist/esm/additional-questions-details_5.entry.js +13 -13
  171. package/dist/esm/business-details-core.entry.js +6 -9
  172. package/dist/esm/{business-form-types-60f50b98.js → business-form-types-1bc5fe08.js} +5 -8
  173. package/dist/esm/business.service-eee46ab1.js +29 -0
  174. package/dist/esm/button-34e75e0f.js +24 -0
  175. package/dist/esm/{config-476c7241.js → config-58e393e2.js} +2 -2
  176. package/dist/esm/form-alert_5.entry.js +6 -6
  177. package/dist/esm/{form-control-checkbox_5.entry.js → form-control-checkbox_9.entry.js} +434 -173
  178. package/dist/esm/form-control-date_3.entry.js +15 -9
  179. package/dist/esm/form-control-error-text_4.entry.js +3 -3
  180. package/dist/esm/form-control-file.entry.js +2 -2
  181. package/dist/esm/form-control-monetary.entry.js +2 -2
  182. package/dist/esm/form-control-number.entry.js +2 -2
  183. package/dist/esm/get-payout-csv-4d6b29d8.js +45 -0
  184. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  185. package/dist/esm/{index-4bd1eae9.js → index-57431c24.js} +15 -3
  186. package/dist/esm/input-handlers-270ac806.js +16 -0
  187. package/dist/esm/{insurance-state-09754ab9.js → insurance-state-8ce01e59.js} +1 -1
  188. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +199 -484
  189. package/dist/esm/justifi-bank-account-form.entry.js +5 -5
  190. package/dist/esm/justifi-billing-form_2.entry.js +6 -5
  191. package/dist/esm/justifi-business-details.entry.js +6 -6
  192. package/dist/esm/justifi-business-form.entry.js +10 -9
  193. package/dist/esm/justifi-business-representative-form-inputs.entry.js +26 -0
  194. package/dist/esm/justifi-card-form.entry.js +5 -5
  195. package/dist/esm/justifi-checkout-core.entry.js +15 -10
  196. package/dist/esm/justifi-checkout.entry.js +7 -7
  197. package/dist/esm/justifi-details.entry.js +4 -7
  198. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  199. package/dist/esm/justifi-new-payment-method_4.entry.js +13 -10
  200. package/dist/esm/justifi-owner-form_3.entry.js +262 -0
  201. package/dist/esm/justifi-payment-details.entry.js +7 -7
  202. package/dist/esm/justifi-payment-form.entry.js +12 -12
  203. package/dist/esm/justifi-payment-method-form.entry.js +5 -5
  204. package/dist/esm/justifi-payment-method-selector.entry.js +4 -4
  205. package/dist/esm/justifi-payment-provisioning-core.entry.js +9 -8
  206. package/dist/esm/justifi-payment-provisioning.entry.js +9 -65
  207. package/dist/esm/justifi-payments-list.entry.js +7 -7
  208. package/dist/esm/justifi-payout-details.entry.js +16 -11
  209. package/dist/esm/justifi-payouts-list.entry.js +16 -13
  210. package/dist/esm/justifi-refund-form.entry.js +6 -5
  211. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +14 -9
  212. package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -5
  213. package/dist/esm/loader.js +3 -3
  214. package/dist/esm/{package-8ab448a3.js → package-5a05ecb7.js} +1 -1
  215. package/dist/esm/pagination-menu.entry.js +21 -0
  216. package/dist/esm/{payload-parsers-57289fc4.js → payload-parsers-acb719d1.js} +2 -0
  217. package/dist/esm/payment-details-core.entry.js +11 -14
  218. package/dist/esm/payment-provisioning-actions-0635eff7.js +178 -0
  219. package/dist/esm/{payment.service-c62d82d3.js → payment.service-9005a501.js} +2 -2
  220. package/dist/esm/payments-list-core.entry.js +73 -44
  221. package/dist/esm/payout-details-core.entry.js +19 -8
  222. package/dist/esm/payouts-list-core.entry.js +96 -59
  223. package/dist/esm/skeleton-145a80d4.js +41 -0
  224. package/dist/esm/styled-host-ab9da520.js +12 -0
  225. package/dist/esm/table-loading-state-356c7215.js +34 -0
  226. package/dist/esm/{utils-1e583166.js → utils-01413a95.js} +2 -2
  227. package/dist/esm/{utils-c7b3f21a.js → utils-3bb6347a.js} +1 -5
  228. package/dist/esm/{utils-5f4c4faa.js → utils-3c1dd2fa.js} +1 -31
  229. package/dist/esm/webcomponents.js +3 -3
  230. package/dist/module/Payment.js +1 -21
  231. package/dist/module/additional-questions-details2.js +3 -4
  232. package/dist/module/additional-questions.js +1 -1
  233. package/dist/module/billing-form.js +6 -5
  234. package/dist/module/business-additional-questions-form-step-core.js +141 -0
  235. package/dist/module/business-additional-questions-form-step.js +55 -100
  236. package/dist/module/business-additional-questions-schema.js +1 -1
  237. package/dist/module/business-address-schema.js +1 -1
  238. package/dist/module/business-bank-account-form-step.js +4 -4
  239. package/dist/module/business-core-info-form-step-core.js +151 -0
  240. package/dist/module/business-core-info-form-step.js +57 -106
  241. package/dist/module/business-core-info-schema.js +1 -1
  242. package/dist/module/business-core-info.js +1 -1
  243. package/dist/module/business-details-core2.js +5 -8
  244. package/dist/module/business-document-upload-form-step.js +34 -35
  245. package/dist/module/business-document-upload-input-group.js +2 -2
  246. package/dist/module/business-documents-on-file.js +1 -1
  247. package/dist/module/business-form-types.js +5 -8
  248. package/dist/module/business-identity-schema.js +1 -1
  249. package/dist/module/business-owners-form-step-core.js +216 -0
  250. package/dist/module/business-owners-form-step.js +67 -154
  251. package/dist/module/business-representative-form-inputs.js +85 -0
  252. package/dist/module/business-representative-form-step-core.js +152 -0
  253. package/dist/module/business-representative-form-step.js +63 -111
  254. package/dist/module/business-representative.js +1 -1
  255. package/dist/module/business-terms-conditions-form-step.js +3 -3
  256. package/dist/module/business-terms-conditions-text.js +2 -2
  257. package/dist/module/business.service.js +19 -1
  258. package/dist/module/button.js +24 -0
  259. package/dist/module/checkout-core.js +34 -35
  260. package/dist/module/config.js +2 -2
  261. package/dist/module/details.js +3 -6
  262. package/dist/module/exported-parts.js +40 -0
  263. package/dist/module/form-control-checkbox2.js +1 -1
  264. package/dist/module/form-control-date2.js +1 -1
  265. package/dist/module/form-control-file2.js +1 -1
  266. package/dist/module/form-control-monetary2.js +1 -1
  267. package/dist/module/form-control-number-masked2.js +11 -5
  268. package/dist/module/form-control-number.js +1 -1
  269. package/dist/module/form-control-select2.js +1 -1
  270. package/dist/module/form-control-text2.js +1 -1
  271. package/dist/module/generic-info-details2.js +3 -4
  272. package/dist/module/get-payout-csv.js +45 -0
  273. package/dist/module/gross-payment-chart-core2.js +2 -2
  274. package/dist/module/identity-address-form.js +2 -2
  275. package/dist/module/input-handlers.js +16 -0
  276. package/dist/module/justifi-additional-questions-form-step-core.d.ts +11 -0
  277. package/dist/module/justifi-additional-questions-form-step-core.js +6 -0
  278. package/dist/module/justifi-bank-account-form.js +1 -1
  279. package/dist/module/justifi-business-core-info-form-step-core.d.ts +11 -0
  280. package/dist/module/justifi-business-core-info-form-step-core.js +6 -0
  281. package/dist/module/justifi-business-details.js +1 -1
  282. package/dist/module/justifi-business-form.js +5 -4
  283. package/dist/module/justifi-business-owners-form-step-core.d.ts +11 -0
  284. package/dist/module/justifi-business-owners-form-step-core.js +6 -0
  285. package/dist/module/justifi-business-representative-form-inputs.d.ts +11 -0
  286. package/dist/module/justifi-business-representative-form-inputs.js +6 -0
  287. package/dist/module/justifi-business-representative-form-step-core.d.ts +11 -0
  288. package/dist/module/justifi-business-representative-form-step-core.js +6 -0
  289. package/dist/module/justifi-card-form.js +1 -1
  290. package/dist/module/justifi-checkout.js +27 -33
  291. package/dist/module/justifi-gross-payment-chart.js +1 -1
  292. package/dist/module/justifi-legal-address-form-step-core.d.ts +11 -0
  293. package/dist/module/justifi-legal-address-form-step-core.js +6 -0
  294. package/dist/module/justifi-payment-details.js +2 -2
  295. package/dist/module/justifi-payment-form.js +8 -8
  296. package/dist/module/justifi-payment-provisioning.js +98 -114
  297. package/dist/module/justifi-payments-list.js +17 -5
  298. package/dist/module/justifi-payout-details.js +12 -6
  299. package/dist/module/justifi-payouts-list.js +28 -11
  300. package/dist/module/justifi-refund-form.js +5 -4
  301. package/dist/module/justifi-season-interruption-insurance.js +7 -3
  302. package/dist/module/legal-address-details2.js +3 -4
  303. package/dist/module/legal-address-form-step-core.js +138 -0
  304. package/dist/module/legal-address-form-step.js +53 -98
  305. package/dist/module/legal-address-form.js +2 -2
  306. package/dist/module/new-payment-method.js +1 -1
  307. package/dist/module/owner-details2.js +3 -4
  308. package/dist/module/{justifi-table.d.ts → owner-form-core.d.ts} +4 -4
  309. package/dist/module/owner-form-core.js +6 -0
  310. package/dist/module/owner-form-core2.js +264 -0
  311. package/dist/module/{justifi-skeleton.d.ts → owner-form-inputs.d.ts} +4 -4
  312. package/dist/module/owner-form-inputs.js +6 -0
  313. package/dist/module/owner-form-inputs2.js +85 -0
  314. package/dist/module/owner-form.js +62 -188
  315. package/dist/module/package.js +1 -1
  316. package/dist/module/pagination-menu2.js +4 -9
  317. package/dist/module/payload-parsers.js +2 -0
  318. package/dist/module/payment-details-core2.js +9 -12
  319. package/dist/module/payment-method-form.js +2 -2
  320. package/dist/module/payment-method-options.js +7 -4
  321. package/dist/module/payment-method-selector.js +3 -4
  322. package/dist/module/payment-provisioning-actions.js +178 -0
  323. package/dist/module/payment-provisioning-core.js +104 -60
  324. package/dist/module/payment-provisioning-form-buttons.js +2 -2
  325. package/dist/module/payment-provisioning-form-steps.js +94 -52
  326. package/dist/module/payments-list-core2.js +85 -45
  327. package/dist/module/payout-details-core2.js +18 -6
  328. package/dist/module/payouts-list-core2.js +110 -60
  329. package/dist/module/representative-details2.js +3 -4
  330. package/dist/module/save-new-payment-method.js +1 -1
  331. package/dist/module/saved-payment-method.js +1 -1
  332. package/dist/module/schema-validations.js +1 -1
  333. package/dist/module/season-interruption-insurance-core.js +12 -7
  334. package/dist/module/sezzle-payment-method.js +1 -1
  335. package/dist/module/skeleton.js +18 -50
  336. package/dist/module/styled-host.js +12 -0
  337. package/dist/module/utils2.js +1 -31
  338. package/dist/module/utils3.js +23 -26
  339. package/dist/module/utils4.js +23 -24
  340. package/dist/types/api/Payment.d.ts +0 -28
  341. package/dist/types/api/services/business.service.d.ts +10 -0
  342. package/dist/types/api/services/payout.service.d.ts +2 -0
  343. package/dist/types/assets/download-icon.d.ts +1 -0
  344. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +43 -0
  345. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +9 -0
  346. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +9 -28
  347. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +26 -0
  348. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +5 -15
  349. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +27 -0
  350. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +6 -21
  351. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +35 -0
  352. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +5 -21
  353. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +9 -0
  354. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +25 -0
  355. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +5 -17
  356. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +26 -0
  357. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +5 -15
  358. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-actions.d.ts +40 -1
  359. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +2 -2
  360. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +1 -1
  361. package/dist/types/components/business-forms/utils/business-form-types.d.ts +6 -11
  362. package/dist/types/components/business-forms/utils/input-handlers.d.ts +4 -0
  363. package/dist/types/components/checkout/checkout-core.d.ts +0 -1
  364. package/dist/types/components/form/utils.d.ts +0 -1
  365. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +3 -0
  366. package/dist/types/components/payments-list/payments-list-core.d.ts +13 -2
  367. package/dist/types/components/payments-list/payments-list.d.ts +3 -0
  368. package/dist/types/components/payout-details/get-payout-csv.d.ts +7 -0
  369. package/dist/types/components/payout-details/payout-details-core.d.ts +2 -0
  370. package/dist/types/components/payout-details/payout-details.d.ts +2 -1
  371. package/dist/types/components/payouts-list/payouts-list-core.d.ts +13 -3
  372. package/dist/types/components/payouts-list/payouts-list.d.ts +5 -1
  373. package/dist/types/components.d.ts +337 -482
  374. package/dist/types/ui-components/button-spinner.d.ts +1 -0
  375. package/dist/types/ui-components/button.d.ts +10 -0
  376. package/dist/types/ui-components/index.d.ts +7 -0
  377. package/dist/types/ui-components/skeleton.d.ts +13 -0
  378. package/dist/types/ui-components/styled-host/styled-host.d.ts +2 -0
  379. package/dist/types/ui-components/table-empty-state.d.ts +6 -0
  380. package/dist/types/ui-components/table-error-state.d.ts +6 -0
  381. package/dist/types/ui-components/table-loading-state.d.ts +6 -0
  382. package/dist/types/utils/utils.d.ts +0 -3
  383. package/dist/webcomponents/p-023779ee.entry.js +1 -0
  384. package/dist/webcomponents/p-07109641.entry.js +1 -0
  385. package/dist/webcomponents/p-08b0fb31.js +1 -0
  386. package/dist/webcomponents/p-0f7b9555.entry.js +1 -0
  387. package/dist/webcomponents/p-17e4246f.entry.js +1 -0
  388. package/dist/webcomponents/p-1a43e355.entry.js +19 -0
  389. package/dist/webcomponents/{p-f7b6dcc4.js → p-2338affa.js} +1 -1
  390. package/dist/webcomponents/p-30a493cd.entry.js +1 -0
  391. package/dist/webcomponents/p-335e58a6.entry.js +1 -0
  392. package/dist/webcomponents/p-337893fe.entry.js +1 -0
  393. package/dist/webcomponents/p-3f5e7e86.js +1 -0
  394. package/dist/webcomponents/p-462dc522.entry.js +1 -0
  395. package/dist/webcomponents/p-487b72a8.entry.js +1 -0
  396. package/dist/webcomponents/p-4abc17f0.entry.js +1 -0
  397. package/dist/webcomponents/p-52021fa1.entry.js +1 -0
  398. package/dist/webcomponents/p-53e64f15.entry.js +1 -0
  399. package/dist/webcomponents/p-57e1f2fd.js +1 -0
  400. package/dist/webcomponents/p-59415873.entry.js +1 -0
  401. package/dist/webcomponents/p-5968ff8a.js +1 -0
  402. package/dist/webcomponents/p-60dcd24c.entry.js +1 -0
  403. package/dist/webcomponents/p-62b32c4c.entry.js +1 -0
  404. package/dist/webcomponents/p-69faef3f.entry.js +1 -0
  405. package/dist/webcomponents/p-7d85af5c.js +1 -0
  406. package/dist/webcomponents/{p-e8c651b8.js → p-83125497.js} +1 -1
  407. package/dist/webcomponents/p-85fc69e5.js +1 -0
  408. package/dist/webcomponents/{p-fcf42299.entry.js → p-88b6ed9b.entry.js} +1 -1
  409. package/dist/webcomponents/p-8df7bde8.js +1 -0
  410. package/dist/webcomponents/{p-a90a6703.entry.js → p-8e541a32.entry.js} +1 -1
  411. package/dist/webcomponents/p-9c057196.js +1 -0
  412. package/dist/webcomponents/p-9c9c7dac.js +1 -0
  413. package/dist/webcomponents/{p-c2d6a5e2.entry.js → p-9f29820f.entry.js} +1 -1
  414. package/dist/webcomponents/p-a8220709.entry.js +1 -0
  415. package/dist/webcomponents/p-b20364d8.entry.js +1 -0
  416. package/dist/webcomponents/{p-6006e085.entry.js → p-b3a8ee6c.entry.js} +1 -1
  417. package/dist/webcomponents/p-b87b27ba.js +1 -0
  418. package/dist/webcomponents/p-ba4bae6f.js +1 -0
  419. package/dist/webcomponents/{p-5309e887.entry.js → p-bb86a0da.entry.js} +1 -1
  420. package/dist/webcomponents/p-bbed6107.entry.js +1 -0
  421. package/dist/webcomponents/p-be39c802.entry.js +1 -0
  422. package/dist/webcomponents/p-c28db166.js +1 -0
  423. package/dist/webcomponents/p-c9f8f7ec.entry.js +1 -0
  424. package/dist/webcomponents/{p-e7915927.entry.js → p-d535bc5d.entry.js} +1 -1
  425. package/dist/webcomponents/{p-edb605b3.js → p-d6619366.js} +1 -1
  426. package/dist/webcomponents/p-d8355f91.entry.js +1 -0
  427. package/dist/webcomponents/p-d89bad72.js +1 -0
  428. package/dist/webcomponents/{p-1c60004a.entry.js → p-da2837f9.entry.js} +1 -1
  429. package/dist/webcomponents/{p-cb68e8fa.js → p-dce846bf.js} +1 -1
  430. package/dist/webcomponents/{p-95c18035.entry.js → p-def4b4b2.entry.js} +1 -1
  431. package/dist/webcomponents/{p-e8706cc4.js → p-df21aaad.js} +1 -1
  432. package/dist/webcomponents/p-e2c88817.entry.js +1 -0
  433. package/dist/webcomponents/{p-9936c393.entry.js → p-e31f0f3e.entry.js} +1 -1
  434. package/dist/webcomponents/p-e333620e.js +1 -0
  435. package/dist/webcomponents/{p-a34c28af.entry.js → p-eae46810.entry.js} +1 -1
  436. package/dist/webcomponents/p-ef23c091.entry.js +1 -0
  437. package/dist/webcomponents/{p-84b3cead.entry.js → p-f0866375.entry.js} +1 -1
  438. package/dist/webcomponents/p-f3f3d544.entry.js +1 -0
  439. package/dist/webcomponents/p-f49b7170.entry.js +1 -0
  440. package/dist/webcomponents/p-fad19d75.js +2 -0
  441. package/dist/webcomponents/p-fb58feb5.entry.js +1 -0
  442. package/dist/webcomponents/p-fe33151d.entry.js +1 -0
  443. package/dist/webcomponents/webcomponents.css +6 -1
  444. package/dist/webcomponents/webcomponents.esm.js +1 -1
  445. package/package.json +1 -1
  446. package/dist/cjs/SubAccount-135ff8c8.js +0 -107
  447. package/dist/cjs/business.service-9214509a.js +0 -13
  448. package/dist/cjs/justifi-business-list.cjs.entry.js +0 -113
  449. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +0 -89
  450. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +0 -162
  451. package/dist/cjs/justifi-skeleton.cjs.entry.js +0 -54
  452. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +0 -80
  453. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +0 -105
  454. package/dist/cjs/justifi-table_2.cjs.entry.js +0 -84
  455. package/dist/cjs/payout.service-eec372aa.js +0 -22
  456. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +0 -74
  457. package/dist/cjs/subaccount-bank-details.cjs.entry.js +0 -23
  458. package/dist/cjs/subaccount-terms-details.cjs.entry.js +0 -23
  459. package/dist/collection/api/Proceed.js +0 -41
  460. package/dist/collection/api/SubAccount.js +0 -103
  461. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.css +0 -7348
  462. package/dist/collection/components/business-details/business-details.css +0 -6446
  463. package/dist/collection/components/business-details/generic-info-details/generic-info-details.css +0 -7348
  464. package/dist/collection/components/business-details/legal-address-details/legal-address-details.css +0 -7348
  465. package/dist/collection/components/business-details/owner-details/owner-details.css +0 -7348
  466. package/dist/collection/components/business-details/representative-details/representative-details.css +0 -7348
  467. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.css +0 -9211
  468. package/dist/collection/components/business-list/business-list.css +0 -579
  469. package/dist/collection/components/business-list/business-list.js +0 -194
  470. package/dist/collection/components/business-list/business-list.stories.js +0 -68
  471. package/dist/collection/components/business-list/example.js +0 -12
  472. package/dist/collection/components/details/details.css +0 -7993
  473. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.css +0 -0
  474. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js +0 -153
  475. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.stories.js +0 -32
  476. package/dist/collection/components/payment-details/payment-details.css +0 -7993
  477. package/dist/collection/components/payments-list/payments-list.css +0 -579
  478. package/dist/collection/components/payout-details/payout-details.css +0 -7993
  479. package/dist/collection/components/payouts-list/payouts-list.css +0 -579
  480. package/dist/collection/components/proceeds-list/example.js +0 -12
  481. package/dist/collection/components/proceeds-list/proceeds-list.css +0 -579
  482. package/dist/collection/components/proceeds-list/proceeds-list.js +0 -214
  483. package/dist/collection/components/proceeds-list/proceeds-list.stories.js +0 -69
  484. package/dist/collection/components/skeleton/skeleton.css +0 -583
  485. package/dist/collection/components/skeleton/skeleton.js +0 -160
  486. package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.css +0 -7352
  487. package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +0 -70
  488. package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.css +0 -7352
  489. package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +0 -48
  490. package/dist/collection/components/subaccount-details/subaccount-details.css +0 -7993
  491. package/dist/collection/components/subaccount-details/subaccount-details.js +0 -145
  492. package/dist/collection/components/subaccount-details/subaccount-details.stories.js +0 -25
  493. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.css +0 -7352
  494. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +0 -49
  495. package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.css +0 -7352
  496. package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +0 -49
  497. package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.css +0 -7352
  498. package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +0 -49
  499. package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.css +0 -7352
  500. package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +0 -48
  501. package/dist/collection/components/subaccounts-list/subaccounts-list.css +0 -3
  502. package/dist/collection/components/subaccounts-list/subaccounts-list.js +0 -179
  503. package/dist/collection/components/subaccounts-list/subaccounts-list.stories.js +0 -69
  504. package/dist/collection/components/table/table.css +0 -8092
  505. package/dist/collection/components/table/table.js +0 -223
  506. package/dist/collection/components/table/utils.js +0 -4
  507. package/dist/esm/SubAccount-7fcb1450.js +0 -105
  508. package/dist/esm/business.service-19a0c8d3.js +0 -11
  509. package/dist/esm/justifi-business-list.entry.js +0 -109
  510. package/dist/esm/justifi-payment-balance-transactions.entry.js +0 -85
  511. package/dist/esm/justifi-proceeds-list.entry.js +0 -158
  512. package/dist/esm/justifi-skeleton.entry.js +0 -50
  513. package/dist/esm/justifi-subaccount-details.entry.js +0 -76
  514. package/dist/esm/justifi-subaccounts-list.entry.js +0 -101
  515. package/dist/esm/justifi-table_2.entry.js +0 -79
  516. package/dist/esm/payout.service-28b9594f.js +0 -20
  517. package/dist/esm/subaccount-account-details_4.entry.js +0 -67
  518. package/dist/esm/subaccount-bank-details.entry.js +0 -19
  519. package/dist/esm/subaccount-terms-details.entry.js +0 -19
  520. package/dist/module/SubAccount.js +0 -105
  521. package/dist/module/justifi-business-list.d.ts +0 -11
  522. package/dist/module/justifi-business-list.js +0 -150
  523. package/dist/module/justifi-payment-balance-transactions.d.ts +0 -11
  524. package/dist/module/justifi-payment-balance-transactions.js +0 -127
  525. package/dist/module/justifi-proceeds-list.d.ts +0 -11
  526. package/dist/module/justifi-proceeds-list.js +0 -201
  527. package/dist/module/justifi-skeleton.js +0 -6
  528. package/dist/module/justifi-subaccount-details.d.ts +0 -11
  529. package/dist/module/justifi-subaccount-details.js +0 -136
  530. package/dist/module/justifi-subaccounts-list.d.ts +0 -11
  531. package/dist/module/justifi-subaccounts-list.js +0 -144
  532. package/dist/module/justifi-table.js +0 -6
  533. package/dist/module/payout.service.js +0 -20
  534. package/dist/module/subaccount-account-details.d.ts +0 -11
  535. package/dist/module/subaccount-account-details.js +0 -6
  536. package/dist/module/subaccount-account-details2.js +0 -39
  537. package/dist/module/subaccount-bank-details.d.ts +0 -11
  538. package/dist/module/subaccount-bank-details.js +0 -40
  539. package/dist/module/subaccount-merchant-details.d.ts +0 -11
  540. package/dist/module/subaccount-merchant-details.js +0 -6
  541. package/dist/module/subaccount-merchant-details2.js +0 -38
  542. package/dist/module/subaccount-owners-details.d.ts +0 -11
  543. package/dist/module/subaccount-owners-details.js +0 -6
  544. package/dist/module/subaccount-owners-details2.js +0 -38
  545. package/dist/module/subaccount-representative-details.d.ts +0 -11
  546. package/dist/module/subaccount-representative-details.js +0 -6
  547. package/dist/module/subaccount-representative-details2.js +0 -38
  548. package/dist/module/subaccount-terms-details.d.ts +0 -11
  549. package/dist/module/subaccount-terms-details.js +0 -40
  550. package/dist/module/table.js +0 -94
  551. package/dist/types/api/Proceed.d.ts +0 -60
  552. package/dist/types/api/SubAccount.d.ts +0 -163
  553. package/dist/types/components/business-list/business-list.d.ts +0 -48
  554. package/dist/types/components/business-list/business-list.stories.d.ts +0 -9
  555. package/dist/types/components/payment-balance-transactions/payment-balance-transactions.d.ts +0 -17
  556. package/dist/types/components/payment-balance-transactions/payment-balance-transactions.stories.d.ts +0 -8
  557. package/dist/types/components/proceeds-list/proceeds-list.d.ts +0 -39
  558. package/dist/types/components/proceeds-list/proceeds-list.stories.d.ts +0 -9
  559. package/dist/types/components/skeleton/skeleton.d.ts +0 -12
  560. package/dist/types/components/subaccount-details/subaccount-account-details/subaccount-account-details.d.ts +0 -6
  561. package/dist/types/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.d.ts +0 -5
  562. package/dist/types/components/subaccount-details/subaccount-details.d.ts +0 -16
  563. package/dist/types/components/subaccount-details/subaccount-details.stories.d.ts +0 -7
  564. package/dist/types/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.d.ts +0 -5
  565. package/dist/types/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.d.ts +0 -5
  566. package/dist/types/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.d.ts +0 -5
  567. package/dist/types/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.d.ts +0 -5
  568. package/dist/types/components/subaccounts-list/subaccounts-list.d.ts +0 -19
  569. package/dist/types/components/subaccounts-list/subaccounts-list.stories.d.ts +0 -9
  570. package/dist/types/components/table/table.d.ts +0 -23
  571. package/dist/types/components/table/utils.d.ts +0 -3
  572. package/dist/webcomponents/p-00de4ae0.entry.js +0 -1
  573. package/dist/webcomponents/p-015ba24e.entry.js +0 -1
  574. package/dist/webcomponents/p-023fe908.entry.js +0 -1
  575. package/dist/webcomponents/p-0575daac.js +0 -1
  576. package/dist/webcomponents/p-0a09edbb.entry.js +0 -1
  577. package/dist/webcomponents/p-0fc18c89.entry.js +0 -1
  578. package/dist/webcomponents/p-100cb35c.entry.js +0 -1
  579. package/dist/webcomponents/p-189dee9f.entry.js +0 -1
  580. package/dist/webcomponents/p-30a7bebc.entry.js +0 -19
  581. package/dist/webcomponents/p-378bb067.entry.js +0 -1
  582. package/dist/webcomponents/p-404d7c56.entry.js +0 -1
  583. package/dist/webcomponents/p-43326623.entry.js +0 -1
  584. package/dist/webcomponents/p-4c5f9260.entry.js +0 -1
  585. package/dist/webcomponents/p-61e486ad.entry.js +0 -1
  586. package/dist/webcomponents/p-64d1aeb8.entry.js +0 -1
  587. package/dist/webcomponents/p-6700ac49.js +0 -1
  588. package/dist/webcomponents/p-68f3a7b0.entry.js +0 -1
  589. package/dist/webcomponents/p-738049aa.entry.js +0 -1
  590. package/dist/webcomponents/p-739f1e09.entry.js +0 -1
  591. package/dist/webcomponents/p-7f77d91f.entry.js +0 -1
  592. package/dist/webcomponents/p-8805d083.entry.js +0 -1
  593. package/dist/webcomponents/p-95c8c313.entry.js +0 -1
  594. package/dist/webcomponents/p-97220d5b.entry.js +0 -1
  595. package/dist/webcomponents/p-98985c7d.entry.js +0 -1
  596. package/dist/webcomponents/p-9d03464e.entry.js +0 -1
  597. package/dist/webcomponents/p-a63a6fb9.js +0 -2
  598. package/dist/webcomponents/p-a6477232.entry.js +0 -1
  599. package/dist/webcomponents/p-ae263544.js +0 -1
  600. package/dist/webcomponents/p-b1a24d24.entry.js +0 -1
  601. package/dist/webcomponents/p-b27d2ce1.entry.js +0 -1
  602. package/dist/webcomponents/p-b53d7b7f.js +0 -1
  603. package/dist/webcomponents/p-b7d9d9fa.js +0 -1
  604. package/dist/webcomponents/p-be049573.entry.js +0 -1
  605. package/dist/webcomponents/p-bfe69314.entry.js +0 -1
  606. package/dist/webcomponents/p-c4264aaf.js +0 -1
  607. package/dist/webcomponents/p-c69713c2.entry.js +0 -1
  608. package/dist/webcomponents/p-c8c08fe3.js +0 -1
  609. package/dist/webcomponents/p-ca39c89f.js +0 -1
  610. package/dist/webcomponents/p-d779f2f2.entry.js +0 -1
  611. package/dist/webcomponents/p-da313a7e.entry.js +0 -1
  612. package/dist/webcomponents/p-e04f7070.entry.js +0 -1
  613. package/dist/webcomponents/p-eb142b8a.entry.js +0 -1
  614. package/dist/webcomponents/p-ed844504.js +0 -1
  615. package/dist/webcomponents/p-efe744ce.entry.js +0 -1
  616. package/dist/webcomponents/p-f6858597.entry.js +0 -1
  617. package/dist/webcomponents/p-f68cf935.entry.js +0 -1
  618. package/dist/module/{index.esm.js → form.js} +2733 -2733
@@ -3857,15 +3857,6 @@ function formatCurrency(amount, withSymbol = true) {
3857
3857
  }
3858
3858
  return amount < 0 ? `(${format(-amount)})` : format(amount);
3859
3859
  }
3860
- function formatPercentage(amount) {
3861
- if (!amount)
3862
- amount = 0;
3863
- function format(amount) {
3864
- const number = amount / 100;
3865
- return number.toFixed(2).toString() + '%';
3866
- }
3867
- return format(amount);
3868
- }
3869
3860
  function formatDate(dateString) {
3870
3861
  if (!dateString)
3871
3862
  return '';
@@ -3912,9 +3903,6 @@ function formatTimeSeconds(dateString) {
3912
3903
  const date = new Date(dateString);
3913
3904
  return format(date, 'h:mm:ssaaa');
3914
3905
  }
3915
- function formatLegalAddress(address) {
3916
- return `${address.address_line1}, ${address.address_city}, ${address.address_state}, ${address.address_postal_code}`;
3917
- }
3918
3906
  function extractComputedFontsToLoad() {
3919
3907
  var _a;
3920
3908
  const computedStyles = getComputedStyle(document.body);
@@ -3960,24 +3948,6 @@ const MapPayoutStatusToBadge = (status) => {
3960
3948
  return "<span class='badge bg-success' title='Negative payout balance successfully withdrawn from your bank account'>Withdrawn</span>";
3961
3949
  }
3962
3950
  };
3963
- const MapSubAccountStatusToBadge = (status) => {
3964
- switch (status) {
3965
- case 'created':
3966
- return "<span class='badge bg-primary' title='This sub account has been created, but we haven't received their onboarding yet'>Canceled</span>";
3967
- case 'submitted':
3968
- return "<span class='badge bg-info' title='We've received this sub account's onboarding and we're reviewing their information'>Submitted</span>";
3969
- case 'information_needed':
3970
- return "<span class='badge bg-warning' title='We've reviewed this sub account's onboarding information and found an issue'>Information Needed</span>";
3971
- case 'enabled':
3972
- return "<span class='badge bg-success' title='This sub account is approved to process payments'>Enabled</span>";
3973
- case 'disabled':
3974
- return "<span class='badge bg-danger' title='This sub account was previously approved, but has since become ineligible to process payments'>Disabled</span>";
3975
- case 'rejected':
3976
- return "<span class='badge bg-danger' title='This sub account didn't pass approval, so they won't be able to process payments'>Rejected</span>";
3977
- case 'archived':
3978
- return "<span class='badge bg-primary' title='This sub account has been archived. They won't be able to process payments unless they are restored'>Archived</span>";
3979
- }
3980
- };
3981
3951
  /**
3982
3952
  * Converts a snake_case string to a human-readable format by replacing underscores with spaces and capitalizing the first letter of each word.
3983
3953
  *
@@ -4054,4 +4024,4 @@ const isInRange = (num, min, max) => {
4054
4024
  return num >= min && num <= max;
4055
4025
  };
4056
4026
 
4057
- export { MapPaymentStatusToBadge as M, formatCurrency as a, formatDisplayDate as b, composeQueryParams as c, flattenNestedObject as d, isInRange as e, formatMediumDate as f, formatDate as g, formatTimeSeconds as h, isEmptyObject as i, snakeToCamel as j, formatTime as k, loadFontsOnParent as l, MapPayoutStatusToBadge as m, MapSubAccountStatusToBadge as n, formatPercentage as o, formatLegalAddress as p, snakeCaseToHumanReadable as s };
4027
+ export { MapPaymentStatusToBadge as M, formatCurrency as a, formatDisplayDate as b, composeQueryParams as c, flattenNestedObject as d, isInRange as e, formatMediumDate as f, formatDate as g, formatTimeSeconds as h, isEmptyObject as i, snakeToCamel as j, formatTime as k, loadFontsOnParent as l, MapPayoutStatusToBadge as m, snakeCaseToHumanReadable as s };
@@ -1,31 +1,28 @@
1
- import { h } from '@stencil/core/internal/client';
1
+ import { C as ComponentErrorCodes } from './ComponentError.js';
2
2
 
3
- const LoadingSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status" },
4
- h("span", { class: "visually-hidden" }, "Loading...")));
5
- const numberOnlyHandler = (e) => {
6
- var _a;
7
- const specialKeys = ['Backspace', 'Tab', 'Enter', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Delete'];
8
- // Check if the key is a special key
9
- if (e instanceof KeyboardEvent && specialKeys.includes(e.key)) {
10
- return;
11
- }
12
- // Allow Ctrl+V / Command+V for pasting
13
- const isPaste = e instanceof KeyboardEvent && (e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'v';
14
- if (isPaste) {
15
- return;
16
- }
17
- // Handle paste event
18
- if (e instanceof ClipboardEvent) {
19
- const clipboardData = (_a = e.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('text');
20
- if (clipboardData && !/^\d+$/.test(clipboardData)) {
21
- e.preventDefault();
22
- }
23
- return;
3
+ // Errors on [capital]/config/locales/en.yml
4
+ // Add more errors as needed
5
+ const API_ERRORS = {
6
+ NOT_AUTHENTICATED: 'not_authenticated',
7
+ INVALID_PARAMETER: 'invalid_parameter',
8
+ };
9
+
10
+ const getErrorMessage = (error) => {
11
+ if (typeof error === 'string') {
12
+ return error;
24
13
  }
25
- // Prevent default action if the key is not a digit
26
- if (e instanceof KeyboardEvent && !/^\d$/.test(e.key)) {
27
- e.preventDefault();
14
+ return error.message;
15
+ };
16
+ const getErrorCode = (code) => {
17
+ switch (code) {
18
+ case API_ERRORS.NOT_AUTHENTICATED:
19
+ return ComponentErrorCodes.NOT_AUTHENTICATED;
20
+ case API_ERRORS.INVALID_PARAMETER:
21
+ return ComponentErrorCodes.INVALID_PARAMETER;
22
+ // add more cases as needed
23
+ default:
24
+ return ComponentErrorCodes.FETCH_ERROR;
28
25
  }
29
26
  };
30
27
 
31
- export { LoadingSpinner as L, numberOnlyHandler as n };
28
+ export { getErrorCode as a, getErrorMessage as g };
@@ -1,28 +1,27 @@
1
- import { C as ComponentErrorCodes } from './ComponentError.js';
2
-
3
- // Errors on [capital]/config/locales/en.yml
4
- // Add more errors as needed
5
- const API_ERRORS = {
6
- NOT_AUTHENTICATED: 'not_authenticated',
7
- INVALID_PARAMETER: 'invalid_parameter',
8
- };
9
-
10
- const getErrorMessage = (error) => {
11
- if (typeof error === 'string') {
12
- return error;
1
+ const numberOnlyHandler = (e) => {
2
+ var _a;
3
+ const specialKeys = ['Backspace', 'Tab', 'Enter', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Delete'];
4
+ // Check if the key is a special key
5
+ if (e instanceof KeyboardEvent && specialKeys.includes(e.key)) {
6
+ return;
13
7
  }
14
- return error.message;
15
- };
16
- const getErrorCode = (code) => {
17
- switch (code) {
18
- case API_ERRORS.NOT_AUTHENTICATED:
19
- return ComponentErrorCodes.NOT_AUTHENTICATED;
20
- case API_ERRORS.INVALID_PARAMETER:
21
- return ComponentErrorCodes.INVALID_PARAMETER;
22
- // add more cases as needed
23
- default:
24
- return ComponentErrorCodes.FETCH_ERROR;
8
+ // Allow Ctrl+V / Command+V for pasting
9
+ const isPaste = e instanceof KeyboardEvent && (e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'v';
10
+ if (isPaste) {
11
+ return;
12
+ }
13
+ // Handle paste event
14
+ if (e instanceof ClipboardEvent) {
15
+ const clipboardData = (_a = e.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('text');
16
+ if (clipboardData && !/^\d+$/.test(clipboardData)) {
17
+ e.preventDefault();
18
+ }
19
+ return;
20
+ }
21
+ // Prevent default action if the key is not a digit
22
+ if (e instanceof KeyboardEvent && !/^\d$/.test(e.key)) {
23
+ e.preventDefault();
25
24
  }
26
25
  };
27
26
 
28
- export { getErrorCode as a, getErrorMessage as g };
27
+ export { numberOnlyHandler as n };
@@ -151,34 +151,6 @@ export declare class Payment implements IPayment {
151
151
  constructor(payment: IPayment);
152
152
  get disputedStatus(): PaymentDisputedStatuses | null;
153
153
  }
154
- export interface IPaymentBalanceTransaction {
155
- id: string;
156
- amount: number;
157
- balance: number;
158
- currency: 'usd';
159
- financial_transaction_id: string;
160
- payment_id: string;
161
- payment_balance_txn_type: string;
162
- source_id: string;
163
- source_type: string;
164
- created_at: string;
165
- updated_at: string;
166
- }
167
- export declare class PaymentBalanceTransaction implements IPaymentBalanceTransaction {
168
- id: string;
169
- amount: number;
170
- balance: number;
171
- currency: 'usd';
172
- financial_transaction_id: string;
173
- payment_id: string;
174
- payment_balance_txn_type: string;
175
- source_id: string;
176
- source_type: string;
177
- created_at: string;
178
- updated_at: string;
179
- constructor(balanceTransaction: IPaymentBalanceTransaction);
180
- get displayTransactionId(): string;
181
- }
182
154
  export interface IRefund {
183
155
  id: string;
184
156
  payment_id: string;
@@ -1,8 +1,18 @@
1
1
  import { IApiResponse } from '../Api';
2
2
  import { IBusiness } from '../Business';
3
+ import { Identity } from '../Identity';
3
4
  export interface IBusinessService {
4
5
  fetchBusiness(businessId: string, authToken: string): Promise<IApiResponse<IBusiness>>;
6
+ patchBusiness(authToken: string, businessId: string, payload: Partial<IBusiness>): Promise<IApiResponse<IBusiness>>;
5
7
  }
6
8
  export declare class BusinessService implements IBusinessService {
7
9
  fetchBusiness(businessId: string, authToken: string): Promise<IApiResponse<IBusiness>>;
10
+ patchBusiness(authToken: string, businessId: string, payload: Partial<IBusiness>): Promise<IApiResponse<IBusiness>>;
11
+ }
12
+ export interface IdentityService {
13
+ fetchIdentity(identityId: string, authToken: string): Promise<IApiResponse<Identity>>;
14
+ patchIdentity(authToken: string, identityId: string, payload: Partial<Identity>): Promise<IApiResponse<Identity>>;
15
+ postIdentity(authToken: string, payload: Partial<Identity>): Promise<IApiResponse<Identity>>;
16
+ }
17
+ export declare class IdentityService implements IdentityService {
8
18
  }
@@ -2,8 +2,10 @@ import { IApiResponse, IApiResponseCollection, IPayout } from '..';
2
2
  export interface IPayoutService {
3
3
  fetchPayouts(accountId: string, authToken: string, params: any): Promise<IApiResponseCollection<IPayout[]>>;
4
4
  fetchPayout(payoutId: string, authToken: string): Promise<IApiResponse<IPayout>>;
5
+ fetchCSV(payoutId: string, authToken: string): Promise<IApiResponse<any>>;
5
6
  }
6
7
  export declare class PayoutService implements IPayoutService {
7
8
  fetchPayouts(accountId: string, authToken: string, params: any): Promise<IApiResponseCollection<IPayout[]>>;
8
9
  fetchPayout(payoutId: string, authToken: string): Promise<IApiResponse<IPayout>>;
10
+ fetchCSV(payoutId: string, authToken: string): Promise<IApiResponse<any>>;
9
11
  }
@@ -0,0 +1 @@
1
+ export declare const DownloadIcon: (props: any) => any;
@@ -0,0 +1,43 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ import { FormController } from '../../form/form';
3
+ import { Identity, Owner } from '../../../api/Identity';
4
+ import { BusinessFormClickEvent, BusinessFormSubmitEvent } from '../utils/business-form-types';
5
+ import { ComponentError } from '../../../api/ComponentError';
6
+ export declare class BusinessOwnerFormCore {
7
+ isLoading: boolean;
8
+ formController: FormController;
9
+ errors: any;
10
+ owner: Owner;
11
+ ownerId?: string;
12
+ businessId?: string;
13
+ getOwner: Function;
14
+ patchOwner: Function;
15
+ postOwner: Function;
16
+ allowOptionalFields?: boolean;
17
+ removeOwner: (id: string) => void;
18
+ newFormOpen?: boolean;
19
+ ownersLength?: number;
20
+ loadingWatcher(): void;
21
+ submitted: EventEmitter<BusinessFormSubmitEvent>;
22
+ ownerSubmitted: EventEmitter<any>;
23
+ clickEvent: EventEmitter<BusinessFormClickEvent>;
24
+ formLoading: EventEmitter<boolean>;
25
+ errorEvent: EventEmitter<ComponentError>;
26
+ constructor();
27
+ returnOwnerData(): Promise<string>;
28
+ validate(): Promise<boolean>;
29
+ submit(): Promise<boolean>;
30
+ validateAndSubmit(event: any): Promise<void>;
31
+ get payload(): string;
32
+ get formTitle(): "Edit Business Owner" | "Add Business Owner";
33
+ get submitButtonText(): "Update" | "Add";
34
+ get showRemoveButton(): boolean;
35
+ componentWillLoad(): void;
36
+ componentDidLoad(): void;
37
+ private getData;
38
+ private sendData;
39
+ instantiateOwner: (data: Identity) => Promise<void>;
40
+ handleAddOwner: () => void;
41
+ handleRemoveOwner: () => void;
42
+ render(): any;
43
+ }
@@ -0,0 +1,9 @@
1
+ import { FormController } from '../../form/form';
2
+ export declare class BusinessOwnerFormInputs {
3
+ ownerDefaultValue: any;
4
+ errors: any;
5
+ formController: FormController;
6
+ inputHandler: (name: string, value: string) => void;
7
+ onAddressFormUpdate: (values: any) => void;
8
+ render(): any;
9
+ }
@@ -1,13 +1,10 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
- import { FormController } from '../../form/form';
3
- import { Identity, Owner } from '../../../api/Identity';
4
- import { OwnerFormSubmitEvent, OwnerFormClickEvent } from '../utils/business-form-types';
5
2
  import { ComponentError } from '../../../api/ComponentError';
6
3
  export declare class BusinessOwnerForm {
7
- isLoading: boolean;
8
- formController: FormController;
9
- errors: any;
10
- owner: Owner;
4
+ coreComponent: HTMLOwnerFormCoreElement;
5
+ getOwner: Function;
6
+ patchOwner: Function;
7
+ postOwner: Function;
11
8
  authToken: string;
12
9
  ownerId?: string;
13
10
  businessId?: string;
@@ -15,29 +12,13 @@ export declare class BusinessOwnerForm {
15
12
  removeOwner: (id: string) => void;
16
13
  newFormOpen?: boolean;
17
14
  ownersLength?: number;
18
- submitted: EventEmitter<OwnerFormSubmitEvent>;
19
- clickEvent: EventEmitter<OwnerFormClickEvent>;
20
- formLoading: EventEmitter<boolean>;
21
15
  errorEvent: EventEmitter<ComponentError>;
22
- private api;
23
- get identityEndpoint(): string;
24
- get formTitle(): "Edit Business Owner" | "Add Business Owner";
25
- get submitButtonText(): "Update" | "Add";
26
- get showRemoveButton(): boolean;
27
- loadingWatcher(): void;
28
- instantiateOwner: (data: Identity) => void;
29
- private fetchData;
30
- private sendData;
31
- handleResponse(response: any): boolean;
32
- componentWillLoad(): void;
33
- componentDidLoad(): void;
34
- inputHandler: (name: string, value: string) => void;
35
- onAddressFormUpdate: (values: any) => void;
36
- onDateOfBirthUpdate: (event: any) => void;
37
- handleAddOwner: () => void;
38
- handleRemoveOwner: () => void;
39
16
  validate(): Promise<boolean>;
40
17
  submit(): Promise<boolean>;
41
- validateAndSubmit: (event: any) => Promise<void>;
18
+ validateAndSubmit({ onSuccess }: {
19
+ onSuccess: any;
20
+ }): Promise<void>;
21
+ componentWillLoad(): void;
22
+ private initializeApi;
42
23
  render(): any;
43
24
  }
@@ -0,0 +1,26 @@
1
+ import { EventEmitter } from '../../../../stencil-public-runtime';
2
+ import { FormController } from '../../../form/form';
3
+ import { IAdditionalQuestions } from '../../../../api/Business';
4
+ import { BusinessFormSubmitEvent } from '../../utils/business-form-types';
5
+ import { ComponentError } from '../../../../components';
6
+ export declare class AdditionalQuestionsFormStepCore {
7
+ formController: FormController;
8
+ errors: any;
9
+ additional_questions: IAdditionalQuestions;
10
+ getBusiness: Function;
11
+ patchBusiness: Function;
12
+ allowOptionalFields?: boolean;
13
+ submitted: EventEmitter<BusinessFormSubmitEvent>;
14
+ formLoading: EventEmitter<boolean>;
15
+ errorEvent: EventEmitter<ComponentError>;
16
+ validateAndSubmit({ onSuccess }: {
17
+ onSuccess: any;
18
+ }): Promise<void>;
19
+ get patchPayload(): string;
20
+ componentWillLoad(): void;
21
+ componentDidLoad(): void;
22
+ private getData;
23
+ private sendData;
24
+ inputHandler: (name: string, value: string) => void;
25
+ render(): any;
26
+ }
@@ -1,7 +1,4 @@
1
1
  import { EventEmitter } from '../../../../stencil-public-runtime';
2
- import { FormController } from '../../../form/form';
3
- import { IAdditionalQuestions } from '../../../../api/Business';
4
- import { BusinessFormSubmitEvent } from '../../utils/business-form-types';
5
2
  import { ComponentError } from '../../../../api/ComponentError';
6
3
  /**
7
4
  * @exportedPart label: Label for inputs
@@ -9,25 +6,18 @@ import { ComponentError } from '../../../../api/ComponentError';
9
6
  * @exportedPart input-invalid: Invalid state for inputfs
10
7
  */
11
8
  export declare class AdditionalQuestionsFormStep {
12
- formController: FormController;
13
- errors: any;
14
- additional_questions: IAdditionalQuestions;
9
+ coreComponent: HTMLJustifiAdditionalQuestionsFormStepCoreElement;
10
+ getBusiness: Function;
11
+ patchBusiness: Function;
15
12
  authToken: string;
16
13
  businessId: string;
17
14
  allowOptionalFields?: boolean;
18
- submitted: EventEmitter<BusinessFormSubmitEvent>;
19
- formLoading: EventEmitter<boolean>;
15
+ propChanged(): void;
20
16
  errorEvent: EventEmitter<ComponentError>;
21
- private api;
22
- get businessEndpoint(): string;
23
- private fetchData;
24
- private sendData;
25
- handleResponse(response: any, onSuccess: any): void;
26
17
  validateAndSubmit({ onSuccess }: {
27
18
  onSuccess: any;
28
19
  }): Promise<void>;
29
20
  componentWillLoad(): void;
30
- componentDidLoad(): void;
31
- inputHandler: (name: string, value: string) => void;
21
+ private initializeApi;
32
22
  render(): any;
33
23
  }
@@ -0,0 +1,27 @@
1
+ import { EventEmitter } from '../../../../stencil-public-runtime';
2
+ import { FormController } from '../../../form/form';
3
+ import { ICoreBusinessInfo } from '../../../../api/Business';
4
+ import { BusinessFormSubmitEvent } from '../../utils/business-form-types';
5
+ import { ComponentError } from '../../../../api/ComponentError';
6
+ export declare class BusinessCoreInfoFormStepCore {
7
+ formController: FormController;
8
+ errors: any;
9
+ coreInfo: ICoreBusinessInfo;
10
+ businessId: string;
11
+ getBusiness: Function;
12
+ patchBusiness: Function;
13
+ allowOptionalFields?: boolean;
14
+ submitted: EventEmitter<BusinessFormSubmitEvent>;
15
+ formLoading: EventEmitter<boolean>;
16
+ errorEvent: EventEmitter<ComponentError>;
17
+ validateAndSubmit({ onSuccess }: {
18
+ onSuccess: any;
19
+ }): Promise<void>;
20
+ get patchPayload(): string;
21
+ componentWillLoad(): void;
22
+ componentDidLoad(): void;
23
+ private getData;
24
+ private sendData;
25
+ inputHandler: (name: string, value: string) => void;
26
+ render(): any;
27
+ }
@@ -1,38 +1,23 @@
1
1
  import { EventEmitter } from '../../../../stencil-public-runtime';
2
- import { FormController } from '../../../form/form';
3
- import { ICoreBusinessInfo } from '../../../../api/Business';
4
- import { BusinessFormSubmitEvent } from '../../utils/business-form-types';
5
2
  import { ComponentError } from '../../../../api/ComponentError';
6
3
  /**
7
- *
8
- * The difference between this component and business-generic-info-details
9
- * is that this component is meant to be a form and send data
10
- * and the other one is meant to be just read only.
11
- *
12
4
  * @exportedPart label: Label for inputs
13
5
  * @exportedPart input: The input fields
14
- * @exportedPart input-invalid: Invalid state for inputfs
6
+ * @exportedPart input-invalid: Invalid state for inputs
15
7
  */
16
8
  export declare class BusinessCoreInfoFormStep {
17
- formController: FormController;
18
- errors: any;
19
- coreInfo: ICoreBusinessInfo;
9
+ coreComponent: HTMLJustifiBusinessCoreInfoFormStepCoreElement;
10
+ getBusiness: Function;
11
+ patchBusiness: Function;
20
12
  authToken: string;
21
13
  businessId: string;
22
14
  allowOptionalFields?: boolean;
23
- submitted: EventEmitter<BusinessFormSubmitEvent>;
24
- formLoading: EventEmitter<boolean>;
15
+ propChanged(): void;
25
16
  errorEvent: EventEmitter<ComponentError>;
26
- private api;
27
- get businessEndpoint(): string;
28
- private fetchData;
29
- private sendData;
30
- handleResponse(response: any, onSuccess: any): void;
31
17
  validateAndSubmit({ onSuccess }: {
32
18
  onSuccess: any;
33
19
  }): Promise<void>;
34
20
  componentWillLoad(): void;
35
- componentDidLoad(): void;
36
- inputHandler: (name: string, value: string) => void;
21
+ private initializeApi;
37
22
  render(): any;
38
23
  }
@@ -0,0 +1,35 @@
1
+ import { EventEmitter } from '../../../../stencil-public-runtime';
2
+ import { ComponentError } from '../../../../api/ComponentError';
3
+ import { BusinessFormClickEvent, BusinessFormSubmitEvent } from '../../utils/business-form-types';
4
+ interface ownerPayloadItem {
5
+ id: string;
6
+ }
7
+ export declare class BusinessOwnersFormStepCore {
8
+ ownersPayload: ownerPayloadItem[];
9
+ refs: any;
10
+ newFormOpen: boolean;
11
+ authToken: string;
12
+ businessId: string;
13
+ getBusiness: Function;
14
+ patchBusiness: Function;
15
+ allowOptionalFields?: boolean;
16
+ submitted: EventEmitter<BusinessFormSubmitEvent>;
17
+ clickEvent: EventEmitter<BusinessFormClickEvent>;
18
+ formLoading: EventEmitter<boolean>;
19
+ errorEvent: EventEmitter<ComponentError>;
20
+ get showAddOwnerButton(): boolean;
21
+ private manageRefs;
22
+ private matchRef;
23
+ private getData;
24
+ private sendData;
25
+ validateAndSubmit({ onSuccess }: {
26
+ onSuccess: any;
27
+ }): Promise<void>;
28
+ componentWillLoad(): void;
29
+ private addOwnerForm;
30
+ private removeOwnerForm;
31
+ ownersWatcher(): void;
32
+ handleOwnerSubmit(event: any): void;
33
+ render(): any;
34
+ }
35
+ export {};
@@ -1,39 +1,23 @@
1
1
  import { EventEmitter } from '../../../../stencil-public-runtime';
2
- import { Owner } from '../../../../api/Identity';
3
2
  import { ComponentError } from '../../../../api/ComponentError';
4
- import { BusinessFormSubmitEvent, OwnerFormClickEvent } from '../../utils/business-form-types';
5
3
  /**
6
4
  * @exportedPart label: Label for inputs
7
5
  * @exportedPart input: The input fields
8
6
  * @exportedPart input-invalid: Invalid state for inputfs
9
7
  */
10
8
  export declare class BusinessOwnersFormStep {
11
- owners: Owner[];
12
- newFormOpen: boolean;
13
- refs: any[];
9
+ coreComponent: HTMLJustifiBusinessOwnersFormStepCoreElement;
10
+ getBusiness: Function;
11
+ patchBusiness: Function;
14
12
  authToken: string;
15
13
  businessId: string;
16
14
  allowOptionalFields?: boolean;
17
- submitted: EventEmitter<BusinessFormSubmitEvent>;
18
- clickEvent: EventEmitter<OwnerFormClickEvent>;
19
- formLoading: EventEmitter<boolean>;
15
+ propChanged(): void;
20
16
  errorEvent: EventEmitter<ComponentError>;
21
- private api;
22
- get businessEndpoint(): string;
23
- get showAddOwnerButton(): boolean;
24
- private manageRefs;
25
- private managePayload;
26
- private matchRef;
27
- private fetchData;
28
- private sendData;
29
- handleResponse(response: any, onSuccess: any): void;
30
17
  validateAndSubmit({ onSuccess }: {
31
18
  onSuccess: any;
32
19
  }): Promise<void>;
33
20
  componentWillLoad(): void;
34
- private addOwnerForm;
35
- private removeOwnerForm;
36
- onOwnersUpdated(): void;
37
- private handleOwnerSubmit;
21
+ private initializeApi;
38
22
  render(): any;
39
23
  }
@@ -0,0 +1,9 @@
1
+ import { FormController } from '../../../form/form';
2
+ export declare class RepresentativeFormInputs {
3
+ representativeDefaultValue: any;
4
+ errors: any;
5
+ formController: FormController;
6
+ inputHandler: (name: string, value: string) => void;
7
+ onAddressFormUpdate: (values: any) => void;
8
+ render(): any;
9
+ }
@@ -0,0 +1,25 @@
1
+ import { EventEmitter } from '../../../../stencil-public-runtime';
2
+ import { Identity } from '../../../../api/Identity';
3
+ import { FormController } from '../../../form/form';
4
+ import { BusinessFormSubmitEvent } from '../../utils/business-form-types';
5
+ import { ComponentError } from '../../../../api/ComponentError';
6
+ export declare class BusinessRepresentativeFormStepCore {
7
+ formController: FormController;
8
+ errors: any;
9
+ representative: Identity;
10
+ getBusiness: Function;
11
+ patchBusiness: Function;
12
+ allowOptionalFields?: boolean;
13
+ submitted: EventEmitter<BusinessFormSubmitEvent>;
14
+ formLoading: EventEmitter<boolean>;
15
+ errorEvent: EventEmitter<ComponentError>;
16
+ validateAndSubmit({ onSuccess }: {
17
+ onSuccess: any;
18
+ }): Promise<void>;
19
+ get patchPayload(): string;
20
+ componentWillLoad(): void;
21
+ componentDidLoad(): void;
22
+ private getData;
23
+ private sendData;
24
+ render(): any;
25
+ }
@@ -1,30 +1,18 @@
1
1
  import { EventEmitter } from '../../../../stencil-public-runtime';
2
- import { FormController } from '../../../form/form';
3
- import { BusinessFormSubmitEvent } from '../../utils/business-form-types';
4
- import { Representative } from '../../../../api/Identity';
5
2
  import { ComponentError } from '../../../../api/ComponentError';
6
3
  export declare class BusinessRepresentativeFormStep {
7
- formController: FormController;
8
- errors: any;
9
- representative: Representative;
4
+ coreComponent: HTMLJustifiBusinessRepresentativeFormStepCoreElement;
5
+ getBusiness: Function;
6
+ patchBusiness: Function;
10
7
  authToken: string;
11
8
  businessId: string;
12
9
  allowOptionalFields?: boolean;
13
- submitted: EventEmitter<BusinessFormSubmitEvent>;
14
- formLoading: EventEmitter<boolean>;
10
+ propChanged(): void;
15
11
  errorEvent: EventEmitter<ComponentError>;
16
- private api;
17
- get businessEndpoint(): string;
18
- private fetchData;
19
- private sendData;
20
- handleResponse(response: any, onSuccess: any): void;
21
12
  validateAndSubmit({ onSuccess }: {
22
13
  onSuccess: any;
23
14
  }): Promise<void>;
24
15
  componentWillLoad(): void;
25
- componentDidLoad(): void;
26
- inputHandler: (name: string, value: string) => void;
27
- onAddressFormUpdate: (values: any) => void;
28
- onDateOfBirthUpdate: (event: any) => void;
16
+ private initializeApi;
29
17
  render(): any;
30
18
  }