@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
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-a63a6fb9.js";export{s as setNonce}from"./p-a63a6fb9.js";import{g as a}from"./p-e1255160.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await a(),t(JSON.parse('[["p-bfe69314",[[1,"justifi-payment-provisioning",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"allowOptionalFields":[4,"allow-optional-fields"],"formTitle":[1,"form-title"],"postProvisioning":[32],"getBusiness":[32]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}]]],["p-61e486ad",[[1,"justifi-business-form",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"hideErrors":[4,"hide-errors"],"formTitle":[1,"form-title"],"removeTitle":[4,"remove-title"],"isLoading":[32],"errorMessage":[32]}]]],["p-e7915927",[[4,"justifi-checkout",{"iframeOrigin":[1,"iframe-origin"],"authToken":[1,"auth-token"],"checkoutId":[1,"checkout-id"],"disableCreditCard":[4,"disable-credit-card"],"disableBankAccount":[4,"disable-bank-account"],"disableBnpl":[4,"disable-bnpl"],"disablePaymentMethodGroup":[4,"disable-payment-method-group"],"getCheckout":[32],"complete":[32],"errorMessage":[32],"fillBillingForm":[64]},null,{"authToken":["propChanged"],"checkoutId":["propChanged"]}]]],["p-efe744ce",[[1,"justifi-payment-form",{"bankAccount":[4,"bank-account"],"card":[4],"email":[1],"clientId":[1,"client-id"],"authToken":[1,"auth-token"],"accountId":[1,"account-id"],"submitButtonText":[1,"submit-button-text"],"submitButtonEnabled":[32],"isLoading":[32],"selectedPaymentMethodType":[32],"fillBillingForm":[64],"enableSubmitButton":[64],"disableSubmitButton":[64]}]]],["p-5309e887",[[1,"justifi-business-details",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"errorMessage":[32],"getBusiness":[32]}]]],["p-378bb067",[[1,"justifi-subaccount-details",{"accountId":[1,"account-id"],"subaccountId":[1,"subaccount-id"],"authToken":[1,"auth-token"],"onboardingData":[32],"subaccount":[32],"loading":[32],"errorMessage":[32]},null,{"subaccountId":["updateOnPropChange"],"authToken":["updateOnPropChange"]}]]],["p-7f77d91f",[[1,"justifi-refund-form",{"authToken":[1,"auth-token"],"paymentId":[1,"payment-id"],"amount":[2],"submitButtonText":[1,"submit-button-text"],"withButton":[4,"with-button"],"refundInfoText":[1,"refund-info-text"],"errors":[32],"isSubmitting":[32]}]]],["p-c2d6a5e2",[[1,"justifi-payments-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"getPayments":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-015ba24e",[[1,"justifi-payouts-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"getPayouts":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-9936c393",[[0,"form-control-number",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-8805d083",[[1,"justifi-business-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"businesses":[32],"loading":[32],"errorMessage":[32],"paging":[32],"params":[32]},null,{"accountId":["updateOnPropChange"],"authToken":["updateOnPropChange"],"params":["updateOnPropChange"]}]]],["p-739f1e09",[[1,"justifi-payment-balance-transactions",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"paymentId":[1,"payment-id"],"balanceTransactions":[32],"loading":[32],"errorMessage":[32],"paging":[32],"params":[32]},null,{"params":["updateOnPropChange"]}]]],["p-6006e085",[[1,"justifi-payment-details",{"paymentId":[1,"payment-id"],"authToken":[1,"auth-token"],"getPaymentDetails":[32],"errorMessage":[32]},null,{"paymentId":["propChanged"],"authToken":["propChanged"]}]]],["p-738049aa",[[1,"justifi-payout-details",{"payoutId":[1,"payout-id"],"authToken":[1,"auth-token"],"getPayout":[32],"errorMessage":[32]},null,{"payoutId":["propChanged"],"authToken":["propChanged"]}]]],["p-43326623",[[1,"justifi-proceeds-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"proceeds":[32],"loading":[32],"errorMessage":[32],"paging":[32],"params":[32]},null,{"accountId":["updateOnPropChange"],"authToken":["updateOnPropChange"],"params":["updateOnPropChange"]}]]],["p-c69713c2",[[1,"justifi-subaccounts-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"subaccounts":[32],"loading":[32],"errorMessage":[32],"paging":[32],"params":[32]},null,{"accountId":["updateOnPropChange"],"authToken":["updateOnPropChange"],"params":["updateOnPropChange"]}]]],["p-1c60004a",[[0,"justifi-bank-account-form",{"validationMode":[1025,"validation-mode"],"iframeOrigin":[1025,"iframe-origin"],"internalStyleOverrides":[32],"tokenize":[64],"validate":[64],"resize":[64]},[[0,"paymentMethodFormReady","readyHandler"],[0,"paymentMethodFormTokenized","tokenizeHandler"],[0,"paymentMethodFormValidated","validateHandler"]]]]],["p-a34c28af",[[0,"justifi-card-form",{"validationMode":[1025,"validation-mode"],"iframeOrigin":[1025,"iframe-origin"],"singleLine":[4,"single-line"],"internalStyleOverrides":[32],"tokenize":[64],"validate":[64],"resize":[64]},[[0,"paymentMethodFormReady","readyHandler"],[0,"paymentMethodFormTokenized","tokenizeHandler"],[0,"paymentMethodFormValidated","validateHandler"]]]]],["p-30a7bebc",[[0,"gross-payment-chart-core",{"getGrossPayment":[16],"grossVolumeReport":[32],"loading":[32],"errorMessage":[32]},null,{"getGrossPayment":["propChanged"],"grossVolumeReport":["grossVolumeReportChanged"]}]]],["p-fcf42299",[[1,"justifi-gross-payment-chart",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"getGrossPayment":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-00de4ae0",[[1,"justifi-season-interruption-insurance",{"authToken":[1,"auth-token"],"checkoutId":[1,"checkout-id"],"primaryIdentityFirstName":[1,"primary-identity-first-name"],"primaryIdentityLastName":[1,"primary-identity-last-name"],"primaryIdentityState":[1,"primary-identity-state"],"primaryIdentityPostalCode":[1,"primary-identity-postal-code"],"primaryIdentityCountry":[1,"primary-identity-country"],"primaryIdentityEmailAddress":[1,"primary-identity-email-address"],"policyAttributesInsurableAmount":[2,"policy-attributes-insurable-amount"],"policyAttributesStartDate":[1,"policy-attributes-start-date"],"policyAttributesEndDate":[1,"policy-attributes-end-date"],"coveredIdentityFirstName":[1,"covered-identity-first-name"],"coveredIdentityLastName":[1,"covered-identity-last-name"],"getQuote":[32],"toggleCoverage":[32],"quote":[32],"validate":[64]}]]],["p-95c8c313",[[1,"subaccount-bank-details",{"data":[16]}]]],["p-d779f2f2",[[1,"subaccount-terms-details",{"data":[16]}]]],["p-100cb35c",[[0,"form-control-select",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"options":[16],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}],[0,"form-control-text",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"maxLength":[2,"max-length"],"inputHandler":[16],"keyDownHandler":[16],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}],[0,"form-control-error-text",{"errorText":[1,"error-text"],"name":[1]}],[0,"form-control-help-text",{"helpText":[1,"help-text"],"name":[1]}]]],["p-023fe908",[[0,"justifi-payment-provisioning-core",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"allowOptionalFields":[4,"allow-optional-fields"],"formTitle":[1,"form-title"],"getBusiness":[16],"postProvisioning":[16],"formLoading":[32],"businessProvisioned":[32],"currentStep":[32],"errorMessage":[32]}]]],["p-f6858597",[[1,"justifi-checkout-core",{"iframeOrigin":[1025,"iframe-origin"],"authToken":[1,"auth-token"],"getCheckout":[16],"complete":[16],"checkoutId":[1,"checkout-id"],"disableCreditCard":[4,"disable-credit-card"],"disableBankAccount":[4,"disable-bank-account"],"disableBnpl":[4,"disable-bnpl"],"disablePaymentMethodGroup":[4,"disable-payment-method-group"],"hasLoadedFonts":[32],"checkout":[32],"serverError":[32],"renderState":[32],"creatingNewPaymentMethod":[32],"insuranceToggled":[32],"fillBillingForm":[64]}]]],["p-68f3a7b0",[[0,"business-details-core",{"getBusiness":[16],"business":[32],"renderState":[32],"errorMessage":[32]}]]],["p-be049573",[[0,"payments-list-core",{"getPayments":[16],"payments":[32],"loading":[32],"errorMessage":[32],"paging":[32],"params":[32]},null,{"params":["updateOnPropChange"],"getPayments":["updateOnPropChange"]}]]],["p-b1a24d24",[[0,"payouts-list-core",{"getPayouts":[16],"payouts":[32],"loading":[32],"errorMessage":[32],"paging":[32],"params":[32]},null,{"params":["updateOnPropChange"],"getPayouts":["updateOnPropChange"]}]]],["p-97220d5b",[[0,"payment-details-core",{"getPaymentDetails":[16],"payment":[32],"loading":[32],"errorMessage":[32]},null,{"getPaymentDetails":["updateOnPropChange"]}]]],["p-da313a7e",[[0,"payout-details-core",{"getPayout":[16],"payout":[32],"loading":[32],"errorMessage":[32]},null,{"getPayout":["getPayoutWatcher"]}]]],["p-a6477232",[[1,"justifi-payment-method-selector",{"selectedPaymentMethodType":[1,"selected-payment-method-type"]}]]],["p-0fc18c89",[[1,"justifi-season-interruption-insurance-core",{"checkoutId":[1,"checkout-id"],"getQuote":[16],"toggleCoverage":[16],"primaryIdentityFirstName":[1,"primary-identity-first-name"],"primaryIdentityLastName":[1,"primary-identity-last-name"],"primaryIdentityState":[1,"primary-identity-state"],"primaryIdentityPostalCode":[1,"primary-identity-postal-code"],"primaryIdentityCountry":[1,"primary-identity-country"],"primaryIdentityEmailAddress":[1,"primary-identity-email-address"],"policyAttributesInsurableAmount":[2,"policy-attributes-insurable-amount"],"policyAttributesStartDate":[1,"policy-attributes-start-date"],"policyAttributesEndDate":[1,"policy-attributes-end-date"],"coveredIdentityFirstName":[1,"covered-identity-first-name"],"coveredIdentityLastName":[1,"covered-identity-last-name"],"quote":[32],"isLoading":[32],"accepted":[32],"validate":[64]}]]],["p-189dee9f",[[1,"subaccount-account-details",{"subaccount":[16],"onboardingData":[16]}],[1,"subaccount-merchant-details",{"onboardingData":[16]}],[1,"subaccount-owners-details",{"data":[16]}],[1,"subaccount-representative-details",{"data":[16]}]]],["p-404d7c56",[[0,"justifi-identity-address-form",{"handleFormUpdate":[16],"errors":[8],"defaultValues":[8,"default-values"],"address":[32]},null,{"address":["handleAddressChange"]}],[0,"form-control-date",{"label":[1],"name":[1],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[8,"input-handler"],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}],[0,"form-control-number-masked",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"mask":[1],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-a90a6703",[[0,"justifi-business-representative",{"formController":[16],"errors":[32],"representative":[32]}],[0,"justifi-business-core-info",{"formController":[16],"errors":[32],"coreInfo":[32]}],[0,"justifi-additional-questions",{"formController":[16],"errors":[32],"additional_questions":[32]}],[0,"justifi-legal-address-form",{"formController":[16],"errors":[32],"legal_address":[32]}],[0,"form-alert",{"text":[1],"hideAlert":[4,"hide-alert"]}]]],["p-84b3cead",[[0,"form-control-file",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"multiple":[4],"documentType":[1,"document-type"],"inputHandler":[16],"disabled":[4],"files":[32],"fileString":[32]}]]],["p-e04f7070",[[1,"justifi-details",{"errorMessage":[1,"error-message"]}]]],["p-4c5f9260",[[1,"justifi-skeleton",{"component":[1],"height":[8],"width":[8],"variant":[1],"componentClassName":[1,"component-class-name"],"styles":[16]}]]],["p-9d03464e",[[0,"form-control-monetary",{"label":[1],"name":[1],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"maskOptions":[8,"mask-options"],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-95c18035",[[0,"justifi-payment-method-form",{"paymentMethodFormType":[1,"payment-method-form-type"],"paymentMethodFormValidationMode":[1025,"payment-method-form-validation-mode"],"iframeOrigin":[1,"iframe-origin"],"singleLine":[4,"single-line"],"resize":[64],"tokenize":[64],"validate":[64]}]]],["p-eb142b8a",[[0,"justifi-save-new-payment-method",{"isChecked":[32]}],[1,"justifi-billing-form",{"legend":[1025],"formController":[32],"billingInfo":[32],"errors":[32],"getValues":[64],"fill":[64],"validate":[64]}]]],["p-98985c7d",[[1,"additional-questions-details",{"additionalQuestions":[16]}],[1,"generic-info-details",{"business":[16]}],[1,"legal-address-details",{"legalAddress":[16]}],[1,"owner-details",{"owners":[16]}],[1,"representative-details",{"representative":[16]}]]],["p-f68cf935",[[0,"justifi-payment-method-options",{"showCard":[4,"show-card"],"showAch":[4,"show-ach"],"showBnpl":[4,"show-bnpl"],"showSavedPaymentMethods":[4,"show-saved-payment-methods"],"paymentMethodGroupId":[1,"payment-method-group-id"],"bnpl":[16],"insuranceToggled":[4,"insurance-toggled"],"authToken":[1,"auth-token"],"accountId":[1,"account-id"],"iframeOrigin":[1025,"iframe-origin"],"savedPaymentMethods":[16],"paymentAmount":[2,"payment-amount"],"selectedPaymentMethodId":[32],"paymentMethodOptions":[32],"fillBillingForm":[64],"resolvePaymentMethod":[64]},[[0,"paymentMethodOptionSelected","paymentMethodOptionSelected"]],{"savedPaymentMethods":["paymentMethodsChanged"]}],[0,"justifi-new-payment-method",{"iframeOrigin":[1025,"iframe-origin"],"authToken":[1,"auth-token"],"accountId":[1,"account-id"],"paymentMethodOption":[16],"paymentMethodGroupId":[1,"payment-method-group-id"],"isSelected":[4,"is-selected"],"saveNewPaymentMethodChecked":[32],"fillBillingForm":[64],"resolvePaymentMethod":[64]},[[0,"checkboxChanged","handleCheckboxChanged"]]],[0,"justifi-saved-payment-method",{"iframeOrigin":[1025,"iframe-origin"],"paymentMethodOption":[16],"isSelected":[4,"is-selected"],"resolvePaymentMethod":[64]}],[0,"justifi-sezzle-payment-method",{"iframeOrigin":[1025,"iframe-origin"],"bnpl":[8],"clientId":[1,"client-id"],"accountId":[1,"account-id"],"paymentMethodOption":[16],"isSelected":[4,"is-selected"],"paymentAmount":[2,"payment-amount"],"installmentPlan":[32],"sezzleCheckout":[32],"sezzlePromise":[32],"resolvePaymentMethod":[64]}]]],["p-64d1aeb8",[[1,"justifi-table",{"loading":[4],"errorMessage":[1,"error-message"],"rowData":[16],"columnData":[16],"paging":[16],"params":[8],"entityId":[16],"rowClickHandler":[16]}],[1,"pagination-menu",{"paging":[16],"params":[16]}]]],["p-b27d2ce1",[[0,"justifi-owner-form",{"authToken":[1,"auth-token"],"ownerId":[1,"owner-id"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"removeOwner":[16],"newFormOpen":[4,"new-form-open"],"ownersLength":[2,"owners-length"],"isLoading":[32],"formController":[32],"errors":[32],"owner":[32],"validate":[64],"submit":[64]},null,{"isLoading":["loadingWatcher"]}],[0,"justifi-business-document-upload-input-group",{"paymentVolume":[1,"payment-volume"],"inputHandler":[16],"storeFiles":[16],"errors":[8]}],[0,"form-control-checkbox",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[4,"default-value"],"inputHandler":[16],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}],[0,"justifi-business-documents-on-file",{"documents":[8]}],[0,"justifi-business-terms-conditions-text"]]],["p-0a09edbb",[[0,"justifi-payment-provisioning-form-steps",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"refs":[16],"currentStep":[2,"current-step"],"allowOptionalFields":[4,"allow-optional-fields"],"handleFormLoading":[16]}],[0,"justifi-payment-provisioning-form-buttons",{"currentStep":[2,"current-step"],"totalSteps":[2,"total-steps"],"formLoading":[4,"form-loading"],"formDisabled":[4,"form-disabled"],"previousStepButtonOnClick":[16],"nextStepButtonOnClick":[16]}],[0,"justifi-business-owners-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"owners":[32],"newFormOpen":[32],"refs":[32],"validateAndSubmit":[64]},null,{"owners":["onOwnersUpdated"]}],[0,"justifi-business-representative-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"representative":[32],"validateAndSubmit":[64]}],[0,"justifi-business-core-info-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"coreInfo":[32],"validateAndSubmit":[64]}],[0,"justifi-business-document-upload-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"existingDocuments":[32],"paymentVolume":[32],"business":[32],"documentData":[32],"renderState":[32],"validateAndSubmit":[64]}],[0,"justifi-additional-questions-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"additional_questions":[32],"validateAndSubmit":[64]}],[0,"justifi-business-bank-account-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"bankAccount":[32],"validateAndSubmit":[64]}],[0,"justifi-business-terms-conditions-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"acceptedTermsBefore":[32],"validateAndSubmit":[64]}],[0,"justifi-legal-address-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"legal_address":[32],"validateAndSubmit":[64]}]]]]'),e))));
1
+ import{p as e,b as t}from"./p-fad19d75.js";export{s as setNonce}from"./p-fad19d75.js";import{g as a}from"./p-e1255160.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await a(),t(JSON.parse('[["p-60dcd24c",[[0,"justifi-payment-provisioning",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"allowOptionalFields":[4,"allow-optional-fields"],"formTitle":[1,"form-title"],"postProvisioning":[32],"getBusiness":[32]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}]]],["p-337893fe",[[1,"justifi-business-form",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"hideErrors":[4,"hide-errors"],"formTitle":[1,"form-title"],"removeTitle":[4,"remove-title"],"isLoading":[32],"errorMessage":[32]}]]],["p-d535bc5d",[[4,"justifi-checkout",{"iframeOrigin":[1,"iframe-origin"],"authToken":[1,"auth-token"],"checkoutId":[1,"checkout-id"],"disableCreditCard":[4,"disable-credit-card"],"disableBankAccount":[4,"disable-bank-account"],"disableBnpl":[4,"disable-bnpl"],"disablePaymentMethodGroup":[4,"disable-payment-method-group"],"getCheckout":[32],"complete":[32],"errorMessage":[32],"fillBillingForm":[64]},null,{"authToken":["propChanged"],"checkoutId":["propChanged"]}]]],["p-b20364d8",[[1,"justifi-payment-form",{"bankAccount":[4,"bank-account"],"card":[4],"email":[1],"clientId":[1,"client-id"],"authToken":[1,"auth-token"],"accountId":[1,"account-id"],"submitButtonText":[1,"submit-button-text"],"submitButtonEnabled":[32],"isLoading":[32],"selectedPaymentMethodType":[32],"fillBillingForm":[64],"enableSubmitButton":[64],"disableSubmitButton":[64]}]]],["p-bb86a0da",[[1,"justifi-business-details",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"errorMessage":[32],"getBusiness":[32]}]]],["p-9f29820f",[[1,"justifi-payments-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"getPayments":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-59415873",[[1,"justifi-payouts-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"getPayouts":[32],"getPayoutCSV":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-023779ee",[[1,"justifi-refund-form",{"authToken":[1,"auth-token"],"paymentId":[1,"payment-id"],"amount":[2],"submitButtonText":[1,"submit-button-text"],"withButton":[4,"with-button"],"refundInfoText":[1,"refund-info-text"],"errors":[32],"isSubmitting":[32]}]]],["p-e31f0f3e",[[0,"form-control-number",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-b3a8ee6c",[[1,"justifi-payment-details",{"paymentId":[1,"payment-id"],"authToken":[1,"auth-token"],"getPaymentDetails":[32],"errorMessage":[32]},null,{"paymentId":["propChanged"],"authToken":["propChanged"]}]]],["p-f3f3d544",[[1,"justifi-payout-details",{"payoutId":[1,"payout-id"],"authToken":[1,"auth-token"],"getPayout":[32],"getPayoutCSV":[32],"errorMessage":[32]},null,{"payoutId":["propChanged"],"authToken":["propChanged"]}]]],["p-da2837f9",[[0,"justifi-bank-account-form",{"validationMode":[1025,"validation-mode"],"iframeOrigin":[1025,"iframe-origin"],"internalStyleOverrides":[32],"tokenize":[64],"validate":[64],"resize":[64]},[[0,"paymentMethodFormReady","readyHandler"],[0,"paymentMethodFormTokenized","tokenizeHandler"],[0,"paymentMethodFormValidated","validateHandler"]]]]],["p-eae46810",[[0,"justifi-card-form",{"validationMode":[1025,"validation-mode"],"iframeOrigin":[1025,"iframe-origin"],"singleLine":[4,"single-line"],"internalStyleOverrides":[32],"tokenize":[64],"validate":[64],"resize":[64]},[[0,"paymentMethodFormReady","readyHandler"],[0,"paymentMethodFormTokenized","tokenizeHandler"],[0,"paymentMethodFormValidated","validateHandler"]]]]],["p-1a43e355",[[0,"gross-payment-chart-core",{"getGrossPayment":[16],"grossVolumeReport":[32],"loading":[32],"errorMessage":[32]},null,{"getGrossPayment":["propChanged"],"grossVolumeReport":["grossVolumeReportChanged"]}]]],["p-88b6ed9b",[[1,"justifi-gross-payment-chart",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"getGrossPayment":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["p-335e58a6",[[1,"justifi-season-interruption-insurance",{"authToken":[1,"auth-token"],"checkoutId":[1,"checkout-id"],"primaryIdentityFirstName":[1,"primary-identity-first-name"],"primaryIdentityLastName":[1,"primary-identity-last-name"],"primaryIdentityState":[1,"primary-identity-state"],"primaryIdentityPostalCode":[1,"primary-identity-postal-code"],"primaryIdentityCountry":[1,"primary-identity-country"],"primaryIdentityEmailAddress":[1,"primary-identity-email-address"],"policyAttributesInsurableAmount":[2,"policy-attributes-insurable-amount"],"policyAttributesStartDate":[1,"policy-attributes-start-date"],"policyAttributesEndDate":[1,"policy-attributes-end-date"],"coveredIdentityFirstName":[1,"covered-identity-first-name"],"coveredIdentityLastName":[1,"covered-identity-last-name"],"getQuote":[32],"toggleCoverage":[32],"quote":[32],"validate":[64]}]]],["p-07109641",[[0,"form-control-select",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"options":[16],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}],[0,"form-control-text",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"maxLength":[2,"max-length"],"inputHandler":[16],"keyDownHandler":[16],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}],[0,"form-control-error-text",{"errorText":[1,"error-text"],"name":[1]}],[0,"form-control-help-text",{"helpText":[1,"help-text"],"name":[1]}]]],["p-bbed6107",[[0,"justifi-business-representative-form-inputs",{"representativeDefaultValue":[8,"representative-default-value"],"errors":[8],"formController":[16]}]]],["p-f0866375",[[0,"form-control-file",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"multiple":[4],"documentType":[1,"document-type"],"inputHandler":[16],"disabled":[4],"files":[32],"fileString":[32]}]]],["p-d8355f91",[[0,"form-control-monetary",{"label":[1],"name":[1],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"maskOptions":[8,"mask-options"],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-c9f8f7ec",[[0,"justifi-identity-address-form",{"handleFormUpdate":[16],"errors":[8],"defaultValues":[8,"default-values"],"address":[32]},null,{"address":["handleAddressChange"]}],[0,"form-control-number-masked",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[16],"mask":[1],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}],[0,"form-control-date",{"label":[1],"name":[1],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[1,"default-value"],"inputHandler":[8,"input-handler"],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["p-be39c802",[[1,"justifi-payment-provisioning-core",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"allowOptionalFields":[4,"allow-optional-fields"],"formTitle":[1,"form-title"],"getBusiness":[16],"postProvisioning":[16],"loading":[32],"businessProvisioned":[32],"currentStep":[32],"errorMessage":[32]},[[0,"formLoading","handleFormLoading"]]]]],["p-69faef3f",[[1,"justifi-checkout-core",{"iframeOrigin":[1025,"iframe-origin"],"authToken":[1,"auth-token"],"getCheckout":[16],"complete":[16],"checkoutId":[1,"checkout-id"],"disableCreditCard":[4,"disable-credit-card"],"disableBankAccount":[4,"disable-bank-account"],"disableBnpl":[4,"disable-bnpl"],"disablePaymentMethodGroup":[4,"disable-payment-method-group"],"hasLoadedFonts":[32],"checkout":[32],"serverError":[32],"renderState":[32],"creatingNewPaymentMethod":[32],"insuranceToggled":[32],"fillBillingForm":[64]}]]],["p-fb58feb5",[[0,"business-details-core",{"getBusiness":[16],"business":[32],"renderState":[32],"errorMessage":[32]}]]],["p-52021fa1",[[0,"payments-list-core",{"getPayments":[16],"payments":[32],"loading":[32],"errorMessage":[32],"paging":[32],"params":[32]},null,{"params":["updateOnPropChange"],"getPayments":["updateOnPropChange"]}]]],["p-fe33151d",[[0,"payouts-list-core",{"getPayouts":[16],"getPayoutCSV":[16],"payouts":[32],"loading":[32],"errorMessage":[32],"paging":[32],"params":[32]},null,{"params":["updateOnPropChange"],"getPayouts":["updateOnPropChange"]}]]],["p-462dc522",[[0,"payment-details-core",{"getPaymentDetails":[16],"payment":[32],"loading":[32],"errorMessage":[32]},null,{"getPaymentDetails":["updateOnPropChange"]}]]],["p-53e64f15",[[0,"payout-details-core",{"getPayout":[16],"getPayoutCSV":[16],"payout":[32],"loading":[32],"errorMessage":[32]},null,{"getPayout":["getPayoutWatcher"]}]]],["p-e2c88817",[[0,"justifi-payment-method-selector",{"selectedPaymentMethodType":[1,"selected-payment-method-type"]}]]],["p-62b32c4c",[[1,"justifi-season-interruption-insurance-core",{"checkoutId":[1,"checkout-id"],"getQuote":[16],"toggleCoverage":[16],"primaryIdentityFirstName":[1,"primary-identity-first-name"],"primaryIdentityLastName":[1,"primary-identity-last-name"],"primaryIdentityState":[1,"primary-identity-state"],"primaryIdentityPostalCode":[1,"primary-identity-postal-code"],"primaryIdentityCountry":[1,"primary-identity-country"],"primaryIdentityEmailAddress":[1,"primary-identity-email-address"],"policyAttributesInsurableAmount":[2,"policy-attributes-insurable-amount"],"policyAttributesStartDate":[1,"policy-attributes-start-date"],"policyAttributesEndDate":[1,"policy-attributes-end-date"],"coveredIdentityFirstName":[1,"covered-identity-first-name"],"coveredIdentityLastName":[1,"covered-identity-last-name"],"quote":[32],"isLoading":[32],"accepted":[32],"validate":[64]}]]],["p-487b72a8",[[1,"justifi-details",{"errorMessage":[1,"error-message"]}]]],["p-0f7b9555",[[0,"pagination-menu",{"paging":[16],"params":[16]}]]],["p-8e541a32",[[0,"justifi-business-representative",{"formController":[16],"errors":[32],"representative":[32]}],[0,"justifi-business-core-info",{"formController":[16],"errors":[32],"coreInfo":[32]}],[0,"justifi-additional-questions",{"formController":[16],"errors":[32],"additional_questions":[32]}],[0,"justifi-legal-address-form",{"formController":[16],"errors":[32],"legal_address":[32]}],[0,"form-alert",{"text":[1],"hideAlert":[4,"hide-alert"]}]]],["p-def4b4b2",[[0,"justifi-payment-method-form",{"paymentMethodFormType":[1,"payment-method-form-type"],"paymentMethodFormValidationMode":[1025,"payment-method-form-validation-mode"],"iframeOrigin":[1,"iframe-origin"],"singleLine":[4,"single-line"],"resize":[64],"tokenize":[64],"validate":[64]}]]],["p-17e4246f",[[0,"justifi-save-new-payment-method",{"isChecked":[32]}],[1,"justifi-billing-form",{"legend":[1025],"formController":[32],"billingInfo":[32],"errors":[32],"getValues":[64],"fill":[64],"validate":[64]}]]],["p-4abc17f0",[[0,"additional-questions-details",{"additionalQuestions":[16]}],[0,"generic-info-details",{"business":[16]}],[0,"legal-address-details",{"legalAddress":[16]}],[0,"owner-details",{"owners":[16]}],[0,"representative-details",{"representative":[16]}]]],["p-ef23c091",[[0,"justifi-payment-method-options",{"showCard":[4,"show-card"],"showAch":[4,"show-ach"],"showBnpl":[4,"show-bnpl"],"showSavedPaymentMethods":[4,"show-saved-payment-methods"],"paymentMethodGroupId":[1,"payment-method-group-id"],"bnpl":[16],"insuranceToggled":[4,"insurance-toggled"],"authToken":[1,"auth-token"],"accountId":[1,"account-id"],"iframeOrigin":[1025,"iframe-origin"],"savedPaymentMethods":[16],"paymentAmount":[2,"payment-amount"],"selectedPaymentMethodId":[32],"paymentMethodOptions":[32],"fillBillingForm":[64],"resolvePaymentMethod":[64]},[[0,"paymentMethodOptionSelected","paymentMethodOptionSelected"]],{"savedPaymentMethods":["paymentMethodsChanged"]}],[0,"justifi-new-payment-method",{"iframeOrigin":[1025,"iframe-origin"],"authToken":[1,"auth-token"],"accountId":[1,"account-id"],"paymentMethodOption":[16],"paymentMethodGroupId":[1,"payment-method-group-id"],"isSelected":[4,"is-selected"],"saveNewPaymentMethodChecked":[32],"fillBillingForm":[64],"resolvePaymentMethod":[64]},[[0,"checkboxChanged","handleCheckboxChanged"]]],[0,"justifi-saved-payment-method",{"iframeOrigin":[1025,"iframe-origin"],"paymentMethodOption":[16],"isSelected":[4,"is-selected"],"resolvePaymentMethod":[64]}],[0,"justifi-sezzle-payment-method",{"iframeOrigin":[1025,"iframe-origin"],"bnpl":[8],"clientId":[1,"client-id"],"accountId":[1,"account-id"],"paymentMethodOption":[16],"isSelected":[4,"is-selected"],"paymentAmount":[2,"payment-amount"],"installmentPlan":[32],"sezzleCheckout":[32],"sezzlePromise":[32],"resolvePaymentMethod":[64]}]]],["p-a8220709",[[0,"justifi-owner-form",{"authToken":[1,"auth-token"],"ownerId":[1,"owner-id"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"removeOwner":[16],"newFormOpen":[4,"new-form-open"],"ownersLength":[2,"owners-length"],"getOwner":[32],"patchOwner":[32],"postOwner":[32],"validate":[64],"submit":[64],"validateAndSubmit":[64]}],[0,"owner-form-core",{"ownerId":[1,"owner-id"],"businessId":[1,"business-id"],"getOwner":[16],"patchOwner":[16],"postOwner":[16],"allowOptionalFields":[4,"allow-optional-fields"],"removeOwner":[16],"newFormOpen":[4,"new-form-open"],"ownersLength":[2,"owners-length"],"isLoading":[32],"formController":[32],"errors":[32],"owner":[32],"returnOwnerData":[64],"validate":[64],"submit":[64],"validateAndSubmit":[64]},null,{"isLoading":["loadingWatcher"]}],[0,"owner-form-inputs",{"ownerDefaultValue":[8,"owner-default-value"],"errors":[8],"formController":[16]}]]],["p-30a493cd",[[0,"justifi-business-owners-form-step-core",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"getBusiness":[16],"patchBusiness":[16],"allowOptionalFields":[4,"allow-optional-fields"],"ownersPayload":[32],"refs":[32],"newFormOpen":[32],"validateAndSubmit":[64]},[[0,"ownerSubmitted","handleOwnerSubmit"]],{"ownersPayload":["ownersWatcher"]}],[0,"justifi-business-representative-form-step-core",{"getBusiness":[16],"patchBusiness":[16],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"representative":[32],"validateAndSubmit":[64]}],[0,"justifi-business-core-info-form-step-core",{"businessId":[1,"business-id"],"getBusiness":[16],"patchBusiness":[16],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"coreInfo":[32],"validateAndSubmit":[64]}],[0,"justifi-additional-questions-form-step-core",{"getBusiness":[16],"patchBusiness":[16],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"additional_questions":[32],"validateAndSubmit":[64]}],[0,"justifi-legal-address-form-step-core",{"getBusiness":[16],"patchBusiness":[16],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"legal_address":[32],"validateAndSubmit":[64]}],[0,"justifi-business-document-upload-input-group",{"paymentVolume":[1,"payment-volume"],"inputHandler":[16],"storeFiles":[16],"errors":[8]}],[0,"form-control-checkbox",{"label":[1],"name":[8],"helpText":[1,"help-text"],"errorText":[1,"error-text"],"defaultValue":[4,"default-value"],"inputHandler":[16],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}],[0,"justifi-business-documents-on-file",{"documents":[8]}],[0,"justifi-business-terms-conditions-text"]]],["p-f49b7170",[[0,"justifi-payment-provisioning-form-steps",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"refs":[16],"currentStep":[2,"current-step"],"allowOptionalFields":[4,"allow-optional-fields"],"handleFormLoading":[16]}],[0,"justifi-payment-provisioning-form-buttons",{"currentStep":[2,"current-step"],"totalSteps":[2,"total-steps"],"formLoading":[4,"form-loading"],"formDisabled":[4,"form-disabled"],"previousStepButtonOnClick":[16],"nextStepButtonOnClick":[16]}],[0,"justifi-business-owners-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"getBusiness":[32],"patchBusiness":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}],[0,"justifi-business-representative-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"getBusiness":[32],"patchBusiness":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}],[0,"justifi-business-core-info-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"getBusiness":[32],"patchBusiness":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}],[0,"justifi-additional-questions-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"getBusiness":[32],"patchBusiness":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}],[0,"justifi-business-document-upload-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"existingDocuments":[32],"paymentVolume":[32],"business":[32],"documentData":[32],"renderState":[32],"validateAndSubmit":[64]}],[0,"justifi-legal-address-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"getBusiness":[32],"patchBusiness":[32],"validateAndSubmit":[64]},null,{"authToken":["propChanged"],"businessId":["propChanged"]}],[0,"justifi-business-bank-account-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"bankAccount":[32],"validateAndSubmit":[64]}],[0,"justifi-business-terms-conditions-form-step",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"allowOptionalFields":[4,"allow-optional-fields"],"formController":[32],"errors":[32],"acceptedTermsBefore":[32],"validateAndSubmit":[64]}]]]]'),e))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justifi/webcomponents",
3
- "version": "4.17.0",
3
+ "version": "4.19.0-rc",
4
4
  "description": "JustiFi Web Components",
5
5
  "collection": "dist/collection/collection-manifest.json",
6
6
  "main": "dist/index.cjs.js",
@@ -1,107 +0,0 @@
1
- 'use strict';
2
-
3
- const utils = require('./utils-80191fbe.js');
4
-
5
- var TagTypes;
6
- (function (TagTypes) {
7
- TagTypes["neutral"] = "neutral";
8
- TagTypes["info"] = "info";
9
- TagTypes["success"] = "success";
10
- TagTypes["warning"] = "warning";
11
- TagTypes["error"] = "error";
12
- })(TagTypes || (TagTypes = {}));
13
- var SubAccountStatusType;
14
- (function (SubAccountStatusType) {
15
- SubAccountStatusType["created"] = "created";
16
- SubAccountStatusType["submitted"] = "submitted";
17
- SubAccountStatusType["information_needed"] = "information_needed";
18
- SubAccountStatusType["enabled"] = "enabled";
19
- SubAccountStatusType["disabled"] = "disabled";
20
- SubAccountStatusType["rejected"] = "rejected";
21
- SubAccountStatusType["archived"] = "archived";
22
- })(SubAccountStatusType || (SubAccountStatusType = {}));
23
- var AccountType;
24
- (function (AccountType) {
25
- AccountType["live"] = "live";
26
- AccountType["test"] = "test";
27
- })(AccountType || (AccountType = {}));
28
- var BusinessType;
29
- (function (BusinessType) {
30
- BusinessType["forProfit"] = "for_profit";
31
- BusinessType["nonProfit"] = "non_profit";
32
- BusinessType["government"] = "government_entity";
33
- BusinessType["individual"] = "individual";
34
- })(BusinessType || (BusinessType = {}));
35
- var ForProfitStructure;
36
- (function (ForProfitStructure) {
37
- ForProfitStructure["none"] = "";
38
- ForProfitStructure["soleProprietorship"] = "sole_proprietorship";
39
- ForProfitStructure["singleMember"] = "single_llc";
40
- ForProfitStructure["multiMember"] = "multi_llc";
41
- ForProfitStructure["privatePartnership"] = "private_partnership";
42
- ForProfitStructure["privateCorp"] = "private_corporation";
43
- ForProfitStructure["unincorporatedAssociation"] = "unincorporated_association";
44
- ForProfitStructure["publicPartnership"] = "public_partnership";
45
- ForProfitStructure["publicCorp"] = "public_corporation";
46
- })(ForProfitStructure || (ForProfitStructure = {}));
47
- var NonProfitStructure;
48
- (function (NonProfitStructure) {
49
- NonProfitStructure["incorporated"] = "incorporated";
50
- NonProfitStructure["unincorporated"] = "unincorporated";
51
- })(NonProfitStructure || (NonProfitStructure = {}));
52
- var GovernmentEntityStructure;
53
- (function (GovernmentEntityStructure) {
54
- GovernmentEntityStructure["unit"] = "government_unit";
55
- GovernmentEntityStructure["instrumentality"] = "government_instrumentality";
56
- GovernmentEntityStructure["taxExempt"] = "tax_exempt_government_instrumentality";
57
- })(GovernmentEntityStructure || (GovernmentEntityStructure = {}));
58
- class SubAccount {
59
- constructor(subAccount) {
60
- this.findActiveRate = (subAccount, type) => {
61
- return subAccount.application_fee_rates.find(rate => rate.rate_type === type);
62
- };
63
- this.getBasisPercentage = (rate) => {
64
- return utils.formatPercentage(rate === null || rate === void 0 ? void 0 : rate.basis_point_rate);
65
- };
66
- this.getTransactionFee = (rate) => {
67
- return utils.formatCurrency(rate === null || rate === void 0 ? void 0 : rate.transaction_fee);
68
- };
69
- this.getFormattedRate = (rate) => {
70
- return rate ?
71
- `${this.getBasisPercentage(rate)} + ${this.getTransactionFee(rate)}`
72
- : 'Not set';
73
- };
74
- this.account_type = subAccount.account_type;
75
- this.application_fee_rates = subAccount.application_fee_rates || [];
76
- this.created_at = subAccount.created_at;
77
- this.dateString = utils.formatDate(subAccount.created_at);
78
- this.timeString = utils.formatTime(subAccount.created_at);
79
- this.currency = subAccount.currency;
80
- this.id = subAccount.id;
81
- this.name = subAccount.name;
82
- this.payout_ready = subAccount.payout_ready;
83
- this.platform_account_id = subAccount.platform_account_id;
84
- this.processing_ready = subAccount.processing_ready;
85
- this.status = subAccount.status;
86
- this.updated_at = subAccount.updated_at;
87
- this.related_accounts = subAccount.related_accounts || {};
88
- const activeCardRate = this.findActiveRate(subAccount, 'cc');
89
- const activeAchRate = this.findActiveRate(subAccount, 'ach');
90
- this.cardRate = this.getFormattedRate(activeCardRate);
91
- this.achRate = this.getFormattedRate(activeAchRate);
92
- }
93
- get statusTagType() {
94
- const typeMap = {
95
- [SubAccountStatusType.enabled]: TagTypes.success,
96
- [SubAccountStatusType.disabled]: TagTypes.error,
97
- [SubAccountStatusType.rejected]: TagTypes.error,
98
- [SubAccountStatusType.information_needed]: TagTypes.warning,
99
- [SubAccountStatusType.submitted]: TagTypes.info,
100
- [SubAccountStatusType.created]: TagTypes.neutral,
101
- [SubAccountStatusType.archived]: TagTypes.neutral,
102
- };
103
- return typeMap[this.status];
104
- }
105
- }
106
-
107
- exports.SubAccount = SubAccount;
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- const config = require('./config-ff2dda66.js');
4
- const Api = require('./Api-3bc6e43f.js');
5
-
6
- class BusinessService {
7
- async fetchBusiness(businessId, authToken) {
8
- const endpoint = `entities/business/${businessId}`;
9
- return Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin }).get(endpoint);
10
- }
11
- }
12
-
13
- exports.BusinessService = BusinessService;
@@ -1,113 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-b4498996.js');
6
- const Api = require('./Api-3bc6e43f.js');
7
- const Pagination = require('./Pagination-0da8f095.js');
8
- require('./Payment-24f22eca.js');
9
- require('./Payout-a2dd7b01.js');
10
- const Business = require('./Business-aacbe893.js');
11
- const utils = require('./utils-80191fbe.js');
12
- const config = require('./config-ff2dda66.js');
13
- require('./helpers-602962eb.js');
14
- require('./state-options-4fbcb48a.js');
15
-
16
- const businessListCss = ":root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13, 110, 253;--bs-secondary-rgb:108, 117, 125;--bs-success-rgb:25, 135, 84;--bs-info-rgb:13, 202, 240;--bs-warning-rgb:255, 193, 7;--bs-danger-rgb:220, 53, 69;--bs-light-rgb:248, 249, 250;--bs-dark-rgb:33, 37, 41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-font-sans-serif:system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33, 37, 41;--bs-body-bg:#fff;--bs-body-bg-rgb:255, 255, 255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0, 0, 0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33, 37, 41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233, 236, 239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33, 37, 41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248, 249, 250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13, 110, 253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10, 88, 202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222, 226, 230;--bs-body-bg:#212529;--bs-body-bg-rgb:33, 37, 41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255, 255, 255;--bs-secondary-color:rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb:222, 226, 230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52, 58, 64;--bs-tertiary-color:rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb:222, 226, 230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43, 48, 53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110, 168, 254;--bs-link-hover-color-rgb:139, 185, 254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, 0.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg) }}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.clearfix::after{display:block;clear:both;content:\"\"}.text-bg-primary{color:#fff !important;background-color:RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-secondary{color:#fff !important;background-color:RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-success{color:#fff !important;background-color:RGBA(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-info{color:#000 !important;background-color:RGBA(var(--bs-info-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-warning{color:#000 !important;background-color:RGBA(var(--bs-warning-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-danger{color:#fff !important;background-color:RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-light{color:#000 !important;background-color:RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-dark{color:#fff !important;background-color:RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)) !important}.link-primary{color:RGBA(var(--bs-primary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-primary:hover,.link-primary:focus{color:RGBA(10, 88, 202, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(10, 88, 202, var(--bs-link-underline-opacity, 1)) !important}.link-secondary{color:RGBA(var(--bs-secondary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86, 94, 100, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(86, 94, 100, var(--bs-link-underline-opacity, 1)) !important}.link-success{color:RGBA(var(--bs-success-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-success:hover,.link-success:focus{color:RGBA(20, 108, 67, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(20, 108, 67, var(--bs-link-underline-opacity, 1)) !important}.link-info{color:RGBA(var(--bs-info-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-info:hover,.link-info:focus{color:RGBA(61, 213, 243, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(61, 213, 243, var(--bs-link-underline-opacity, 1)) !important}.link-warning{color:RGBA(var(--bs-warning-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-warning:hover,.link-warning:focus{color:RGBA(255, 205, 57, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(255, 205, 57, var(--bs-link-underline-opacity, 1)) !important}.link-danger{color:RGBA(var(--bs-danger-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-danger:hover,.link-danger:focus{color:RGBA(176, 42, 55, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(176, 42, 55, var(--bs-link-underline-opacity, 1)) !important}.link-light{color:RGBA(var(--bs-light-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-light:hover,.link-light:focus{color:RGBA(249, 250, 251, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important}.link-dark{color:RGBA(var(--bs-dark-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-dark:hover,.link-dark:focus{color:RGBA(26, 30, 33, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(26, 30, 33, var(--bs-link-underline-opacity, 1)) !important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 0.75)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:0.375rem;align-items:center;text-decoration-color:rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5));text-underline-offset:0.25em;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:0.2s ease-in-out transform}@media (prefers-reduced-motion: reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(0.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:\"\"}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute !important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:\"\"}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:0.25}:host{font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";font-size:1rem;font-weight:400;line-height:1.5;color:#212529}";
17
- const JustifiBusinessListStyle0 = businessListCss;
18
-
19
- const BusinessList = class {
20
- constructor(hostRef) {
21
- index.registerInstance(this, hostRef);
22
- this.mapProductStatusToBadge = (status) => {
23
- return (status && 'bg-success') || 'bg-secondary';
24
- };
25
- this.handleClickPrevious = (beforeCursor) => {
26
- const newParams = Object.assign({}, this.params);
27
- delete newParams.after_cursor;
28
- this.params = (Object.assign(Object.assign({}, newParams), { before_cursor: beforeCursor }));
29
- };
30
- this.handleClickNext = (afterCursor) => {
31
- const newParams = Object.assign({}, this.params);
32
- delete newParams.before_cursor;
33
- this.params = (Object.assign(Object.assign({}, newParams), { after_cursor: afterCursor }));
34
- };
35
- this.accountId = undefined;
36
- this.authToken = undefined;
37
- this.businesses = [];
38
- this.loading = true;
39
- this.errorMessage = undefined;
40
- this.paging = Pagination.pagingDefaults;
41
- this.params = undefined;
42
- }
43
- updateOnPropChange() {
44
- this.fetchData();
45
- }
46
- connectedCallback() {
47
- this.fetchData();
48
- }
49
- async fetchData() {
50
- var _a;
51
- if (!this.accountId || !this.authToken) {
52
- this.errorMessage =
53
- 'Can not fetch any data without an AccountID and an AuthToken';
54
- this.loading = false;
55
- return;
56
- }
57
- this.loading = true;
58
- const endpoint = `entities/business`;
59
- let accountIDParam = { account_id: this.accountId };
60
- const response = await Api.Api({ authToken: this.authToken, apiOrigin: config.config.proxyApiOrigin })
61
- .get(endpoint, Object.assign(Object.assign({}, accountIDParam), this.params));
62
- if (!response.error) {
63
- this.paging = Object.assign(Object.assign({}, this.paging), response.page_info);
64
- const data = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.map(dataItem => new Business.Business(dataItem));
65
- this.businesses = data;
66
- }
67
- else {
68
- this.errorMessage =
69
- typeof response.error === 'string'
70
- ? response.error
71
- : response.error.message;
72
- }
73
- this.loading = false;
74
- }
75
- render() {
76
- return (index.h(index.Host, { key: '5804c528d78363f4857f82f769677f808cc144b9' }, index.h("justifi-table", { key: '120a6396d239224410b24997652bde4e2c2625bf', columnData: [
77
- ['Legal Name', 'The name associated with this Business'],
78
- ['Business Classification', 'The business classification'],
79
- ['Tax ID', 'The tax ID associated with this business'],
80
- ['Industry', 'The industry this business participates in'],
81
- [
82
- 'Product Ready',
83
- 'List of our products that are used by this business',
84
- ],
85
- ['Created at', 'Date this business was created'],
86
- ], rowData: this.businesses.map((business) => [
87
- business.legal_name,
88
- utils.snakeCaseToHumanReadable(business.classification),
89
- business.tax_id,
90
- business.industry,
91
- {
92
- type: 'inner',
93
- value: `
94
- <div class="d-flex flex-nowrap gap-1">
95
- <span class="badge ${this.mapProductStatusToBadge(business.product_categories.credit)}">Credit</span>
96
- <span class="badge ${this.mapProductStatusToBadge(business.product_categories.insurance)}">Insurance</span>
97
- <span class="badge ${this.mapProductStatusToBadge(business.product_categories.lending)}">Lending</span>
98
- <span class="badge ${this.mapProductStatusToBadge(business.product_categories.payment)}">Payment</span>
99
- </div>
100
- `,
101
- },
102
- utils.formatDate(business.created_at),
103
- ]), loading: this.loading, "error-message": this.errorMessage, params: this.params, paging: Object.assign(Object.assign({}, this.paging), { handleClickNext: this.handleClickNext, handleClickPrevious: this.handleClickPrevious }) })));
104
- }
105
- static get watchers() { return {
106
- "accountId": ["updateOnPropChange"],
107
- "authToken": ["updateOnPropChange"],
108
- "params": ["updateOnPropChange"]
109
- }; }
110
- };
111
- BusinessList.style = JustifiBusinessListStyle0;
112
-
113
- exports.justifi_business_list = BusinessList;
@@ -1,89 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-b4498996.js');
6
- const Api = require('./Api-3bc6e43f.js');
7
- const Pagination = require('./Pagination-0da8f095.js');
8
- const Payment = require('./Payment-24f22eca.js');
9
- require('./Payout-a2dd7b01.js');
10
- const utils = require('./utils-80191fbe.js');
11
- const config = require('./config-ff2dda66.js');
12
-
13
- const paymentBalanceTransactionsCss = "";
14
- const JustifiPaymentBalanceTransactionsStyle0 = paymentBalanceTransactionsCss;
15
-
16
- const PaymentBalanceTransactions = class {
17
- constructor(hostRef) {
18
- index.registerInstance(this, hostRef);
19
- this.handleClickPrevious = (beforeCursor) => {
20
- const newParams = Object.assign({}, this.params);
21
- delete newParams.after_cursor;
22
- this.params = (Object.assign(Object.assign({}, newParams), { before_cursor: beforeCursor }));
23
- };
24
- this.handleClickNext = (afterCursor) => {
25
- const newParams = Object.assign({}, this.params);
26
- delete newParams.before_cursor;
27
- this.params = (Object.assign(Object.assign({}, newParams), { after_cursor: afterCursor }));
28
- };
29
- this.accountId = undefined;
30
- this.authToken = undefined;
31
- this.paymentId = undefined;
32
- this.balanceTransactions = [];
33
- this.loading = true;
34
- this.errorMessage = undefined;
35
- this.paging = Pagination.pagingDefaults;
36
- this.params = undefined;
37
- }
38
- updateOnPropChange() {
39
- this.fetchData();
40
- }
41
- connectedCallback() {
42
- this.fetchData();
43
- }
44
- async fetchData() {
45
- this.loading = true;
46
- if (!this.accountId || !this.paymentId) {
47
- this.errorMessage = 'Missing required props: accountId or paymentId';
48
- this.loading = false;
49
- return;
50
- }
51
- const endpoint = `account/${this.accountId}/payments/${this.paymentId}/payment_balance_transactions`;
52
- const response = await Api.Api({ authToken: this.authToken, apiOrigin: config.config.proxyApiOrigin }).get(endpoint, this.params);
53
- if (!response.error) {
54
- this.paging = Object.assign(Object.assign({}, this.paging), response.page_info);
55
- this.balanceTransactions = response.data.map(dataItem => new Payment.PaymentBalanceTransaction(dataItem));
56
- }
57
- else {
58
- this.errorMessage =
59
- typeof response.error === 'string'
60
- ? response.error
61
- : response.error.message;
62
- }
63
- this.loading = false;
64
- }
65
- render() {
66
- return (index.h(index.Host, { key: 'b1280a1b4c01852333d7f7786c441556b2be7704' }, index.h("justifi-table", { key: 'eecf276d17dcf70cb6b52a1756d5699e90b11ea8', columnData: [
67
- ['Processed On', 'The date each transaction occurred'],
68
- ['Type', 'The type of each transaction'],
69
- ['ID', 'The unique identifier of each transaction'],
70
- ['Amout', 'The dollar amount of each transaction'],
71
- [
72
- 'Balance',
73
- 'The running total amount of this payment that belongs to you',
74
- ],
75
- ], entityId: this.balanceTransactions.map(transaction => transaction.id), rowData: this.balanceTransactions.map(balanceTransaction => [
76
- index.h("div", null, index.h("div", null, utils.formatDate(balanceTransaction.created_at)), index.h("div", null, utils.formatTime(balanceTransaction.created_at))),
77
- utils.snakeCaseToHumanReadable(balanceTransaction.payment_balance_txn_type),
78
- balanceTransaction.payment_id,
79
- utils.formatCurrency(balanceTransaction.amount),
80
- utils.formatCurrency(balanceTransaction.balance),
81
- ]), loading: this.loading, "error-message": this.errorMessage, params: this.params, paging: Object.assign(Object.assign({}, this.paging), { handleClickNext: this.handleClickNext, handleClickPrevious: this.handleClickPrevious }) })));
82
- }
83
- static get watchers() { return {
84
- "params": ["updateOnPropChange"]
85
- }; }
86
- };
87
- PaymentBalanceTransactions.style = JustifiPaymentBalanceTransactionsStyle0;
88
-
89
- exports.justifi_payment_balance_transactions = PaymentBalanceTransactions;