@justifi/webcomponents 4.7.6 → 4.8.1

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 (276) hide show
  1. package/dist/cjs/Business-3c0aa22c.js +82 -0
  2. package/dist/cjs/BusinessFormEventTypes-863f48e9.js +42 -0
  3. package/dist/cjs/{Payout-7821eb61.js → Payout-44b49b2d.js} +2 -1
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +4 -4
  5. package/dist/cjs/{business-form-schema-a2b87e77.js → business-form-schema-37e5381d.js} +17 -17
  6. package/dist/cjs/{form-control-datepart_2.cjs.entry.js → form-control-datepart_3.cjs.entry.js} +45 -2
  7. package/dist/cjs/{form-control-number_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +0 -43
  8. package/dist/cjs/form-input-masks-e3bf2614.js +9 -0
  9. package/dist/cjs/{index.esm-c08c2adc.js → index.esm-d25bd7bf.js} +0 -259
  10. package/dist/cjs/{justifi-additional-questions_6.cjs.entry.js → justifi-additional-questions_5.cjs.entry.js} +10 -280
  11. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +1 -1
  12. package/dist/cjs/justifi-business-details.cjs.entry.js +5 -5
  13. package/dist/cjs/justifi-business-form-stepped.cjs.entry.js +46 -52
  14. package/dist/cjs/justifi-business-form.cjs.entry.js +31 -35
  15. package/dist/cjs/justifi-business-list.cjs.entry.js +3 -50
  16. package/dist/cjs/justifi-business-owners.cjs.entry.js +78 -0
  17. package/dist/cjs/justifi-details.cjs.entry.js +1 -1
  18. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
  19. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +1 -1
  20. package/dist/cjs/justifi-payment-details.cjs.entry.js +43 -42
  21. package/dist/cjs/justifi-payment-form.cjs.entry.js +1 -1
  22. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +6 -4
  23. package/dist/cjs/justifi-payments-list.cjs.entry.js +46 -90
  24. package/dist/cjs/justifi-payout-details.cjs.entry.js +47 -45
  25. package/dist/cjs/justifi-payouts-list.cjs.entry.js +46 -112
  26. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +1 -1
  27. package/dist/cjs/justifi-refund-form.cjs.entry.js +2 -2
  28. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +2 -2
  29. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +1 -1
  30. package/dist/cjs/justifi-table_2.cjs.entry.js +2 -2
  31. package/dist/cjs/loader.cjs.js +1 -1
  32. package/dist/cjs/payment-details-core.cjs.entry.js +52 -0
  33. package/dist/cjs/payment.service-605896dc.js +20 -0
  34. package/dist/cjs/payments-list-core.cjs.entry.js +98 -0
  35. package/dist/cjs/payout-details-core.cjs.entry.js +52 -0
  36. package/dist/cjs/payout.service-b39f2739.js +21 -0
  37. package/dist/cjs/payouts-list-core.cjs.entry.js +121 -0
  38. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +1 -1
  39. package/dist/cjs/subaccount-bank-details.cjs.entry.js +1 -1
  40. package/dist/cjs/subaccount-terms-details.cjs.entry.js +1 -1
  41. package/dist/cjs/{utils-99c086ee.js → utils-d126d17c.js} +4 -4
  42. package/dist/cjs/utils-f5d82f21.js +10 -0
  43. package/dist/cjs/webcomponents.cjs.js +1 -1
  44. package/dist/collection/api/Business.js +32 -3
  45. package/dist/collection/api/Payment.js +2 -1
  46. package/dist/collection/api/mockData/MockPayments.js +25 -0
  47. package/dist/collection/api/services/payment.service.js +13 -0
  48. package/dist/collection/api/services/payout.service.js +14 -0
  49. package/dist/collection/api/services/utils.js +6 -0
  50. package/dist/collection/collection-manifest.json +4 -0
  51. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +8 -8
  52. package/dist/collection/components/business-details/business-details.js +3 -3
  53. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +4 -4
  54. package/dist/collection/components/business-form/BusinessFormEventTypes.js +6 -0
  55. package/dist/collection/components/business-form/business-address/business-address-form-schema.js +1 -1
  56. package/dist/collection/components/business-form/business-form-schema.js +16 -16
  57. package/dist/collection/components/business-form/business-form-stepped.js +77 -50
  58. package/dist/collection/components/business-form/business-form.js +62 -33
  59. package/dist/collection/components/business-form/business-generic-info/business-generic-info.js +7 -3
  60. package/dist/collection/components/business-form/business-owners/business-owners.js +6 -21
  61. package/dist/collection/components/business-form/business-representative/business-representative.js +1 -1
  62. package/dist/collection/components/business-form/helpers.js +21 -20
  63. package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js +1 -1
  64. package/dist/collection/components/business-form/legal-address-form/legal-address-form.js +3 -3
  65. package/dist/collection/components/business-form/test/business-form.spec.js +5 -14
  66. package/dist/collection/components/details/utils.js +2 -2
  67. package/dist/collection/components/pagination-menu/test/pagination-menu.spec.js +87 -0
  68. package/dist/collection/components/payment-details/get-payment-details.js +17 -0
  69. package/dist/collection/components/payment-details/payment-details-core.js +86 -0
  70. package/dist/collection/components/payment-details/payment-details.js +27 -52
  71. package/dist/collection/components/payment-details/test/get-payment-details.spec.js +64 -0
  72. package/dist/collection/components/payment-details/test/payment-details-core.spec.js +47 -0
  73. package/dist/collection/components/payment-details/test/payment-details.spec.js +31 -0
  74. package/dist/collection/components/payment-method-form/test/payment-method-form.e2e.js +1 -1
  75. package/dist/collection/components/payments-list/get-payments.js +20 -0
  76. package/dist/collection/components/payments-list/payments-list-core.js +158 -0
  77. package/dist/collection/components/payments-list/payments-list.js +27 -127
  78. package/dist/collection/components/payments-list/test/get-payments.spec.js +70 -0
  79. package/dist/collection/components/payments-list/test/payments-list-core.spec.js +100 -0
  80. package/dist/collection/components/payments-list/test/payments-list.spec.js +17 -21
  81. package/dist/collection/components/payout-details/get-payout-details.js +20 -0
  82. package/dist/collection/components/payout-details/payout-details-core.js +86 -0
  83. package/dist/collection/components/payout-details/payout-details.js +27 -78
  84. package/dist/collection/components/payout-details/test/get-payout-details.spec.js +55 -0
  85. package/dist/collection/components/payout-details/test/payout-details-core.spec.js +72 -0
  86. package/dist/collection/components/payout-details/test/payout-details.spec.js +13 -0
  87. package/dist/collection/components/payouts-list/get-payouts.js +20 -0
  88. package/dist/collection/components/payouts-list/payouts-list-core.js +181 -0
  89. package/dist/collection/components/payouts-list/payouts-list.js +26 -148
  90. package/dist/collection/components/payouts-list/test/get-payouts.spec.js +64 -0
  91. package/dist/collection/components/payouts-list/test/payouts-list-core.spec.js +105 -0
  92. package/dist/collection/components/payouts-list/test/payouts-list.spec.js +29 -0
  93. package/dist/collection/components/table/table.js +1 -1
  94. package/dist/collection/components/table/test/table.spec.js +18 -0
  95. package/dist/collection/components/table/utils.js +1 -1
  96. package/dist/collection/utils/{phone-masks.js → form-input-masks.js} +1 -0
  97. package/dist/docs.json +397 -233
  98. package/dist/esm/Business-954e1c1b.js +78 -0
  99. package/dist/esm/BusinessFormEventTypes-989960ba.js +39 -0
  100. package/dist/esm/{Payout-c42e3877.js → Payout-dc5f009c.js} +2 -1
  101. package/dist/esm/{SubAccount-b3ce8720.js → SubAccount-bd59f646.js} +1 -1
  102. package/dist/esm/additional-questions-details_5.entry.js +5 -5
  103. package/dist/esm/{business-form-schema-997c585c.js → business-form-schema-f8f554d1.js} +17 -17
  104. package/dist/esm/{form-control-datepart_2.entry.js → form-control-datepart_3.entry.js} +46 -4
  105. package/dist/esm/{form-control-number_3.entry.js → form-control-select_2.entry.js} +1 -43
  106. package/dist/esm/form-input-masks-a8187c77.js +6 -0
  107. package/dist/esm/{index.esm-8ae36d07.js → index.esm-22b47398.js} +1 -258
  108. package/dist/esm/{justifi-additional-questions_6.entry.js → justifi-additional-questions_5.entry.js} +10 -279
  109. package/dist/esm/justifi-billing-form_2.entry.js +1 -1
  110. package/dist/esm/justifi-business-details.entry.js +5 -5
  111. package/dist/esm/justifi-business-form-stepped.entry.js +47 -53
  112. package/dist/esm/justifi-business-form.entry.js +32 -36
  113. package/dist/esm/justifi-business-list.entry.js +3 -50
  114. package/dist/{module/business-owners.js → esm/justifi-business-owners.entry.js} +13 -55
  115. package/dist/esm/justifi-details.entry.js +1 -1
  116. package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
  117. package/dist/esm/justifi-payment-balance-transactions.entry.js +2 -2
  118. package/dist/esm/justifi-payment-details.entry.js +44 -43
  119. package/dist/esm/justifi-payment-form.entry.js +2 -2
  120. package/dist/esm/justifi-payment-method-form.entry.js +6 -4
  121. package/dist/esm/justifi-payments-list.entry.js +47 -91
  122. package/dist/esm/justifi-payout-details.entry.js +48 -46
  123. package/dist/esm/justifi-payouts-list.entry.js +47 -113
  124. package/dist/esm/justifi-proceeds-list.entry.js +2 -2
  125. package/dist/esm/justifi-refund-form.entry.js +2 -2
  126. package/dist/esm/justifi-subaccount-details.entry.js +4 -4
  127. package/dist/esm/justifi-subaccounts-list.entry.js +3 -3
  128. package/dist/esm/justifi-table_2.entry.js +2 -2
  129. package/dist/esm/loader.js +1 -1
  130. package/dist/esm/payment-details-core.entry.js +48 -0
  131. package/dist/esm/payment.service-bea02ccf.js +18 -0
  132. package/dist/esm/payments-list-core.entry.js +94 -0
  133. package/dist/{webcomponents/p-34c30022.entry.js → esm/payout-details-core.entry.js} +48 -1
  134. package/dist/esm/payout.service-92e56814.js +19 -0
  135. package/dist/esm/payouts-list-core.entry.js +117 -0
  136. package/dist/esm/subaccount-account-details_4.entry.js +2 -2
  137. package/dist/esm/subaccount-bank-details.entry.js +1 -1
  138. package/dist/esm/subaccount-terms-details.entry.js +1 -1
  139. package/dist/esm/utils-546ca6aa.js +8 -0
  140. package/dist/esm/{utils-f33f7e3c.js → utils-576874df.js} +4 -4
  141. package/dist/esm/{utils-26c7dd12.js → utils-dd428dba.js} +1 -1
  142. package/dist/esm/webcomponents.js +1 -1
  143. package/dist/module/Business.js +78 -0
  144. package/dist/module/BusinessFormEventTypes.js +39 -0
  145. package/dist/module/Payout.js +2 -1
  146. package/dist/module/additional-questions-details2.js +4 -4
  147. package/dist/module/business-generic-info.js +25 -27
  148. package/dist/module/business-representative.js +1 -1
  149. package/dist/module/form-input-masks.js +6 -0
  150. package/dist/module/index.esm.js +1 -258
  151. package/dist/module/justifi-business-details.js +3 -3
  152. package/dist/module/justifi-business-form-stepped.js +62 -74
  153. package/dist/module/justifi-business-form.js +47 -57
  154. package/dist/module/justifi-business-list.js +1 -48
  155. package/dist/module/justifi-business-owners.js +115 -1
  156. package/dist/module/justifi-payment-details.js +52 -48
  157. package/dist/module/justifi-payments-list.js +58 -102
  158. package/dist/module/justifi-payout-details.js +57 -52
  159. package/dist/module/justifi-payouts-list.js +59 -125
  160. package/dist/module/justifi-refund-form.js +1 -1
  161. package/dist/module/legal-address-form.js +3 -203
  162. package/dist/module/payment-details-core.d.ts +11 -0
  163. package/dist/module/payment-details-core.js +6 -0
  164. package/dist/module/payment-details-core2.js +76 -0
  165. package/dist/module/payment-method-form.js +6 -4
  166. package/dist/module/payment.service.js +18 -0
  167. package/dist/module/payments-list-core.d.ts +11 -0
  168. package/dist/module/payments-list-core.js +6 -0
  169. package/dist/module/payments-list-core2.js +131 -0
  170. package/dist/module/payout-details-core.d.ts +11 -0
  171. package/dist/module/payout-details-core.js +6 -0
  172. package/dist/module/payout-details-core2.js +76 -0
  173. package/dist/module/payout.service.js +19 -0
  174. package/dist/module/payouts-list-core.d.ts +11 -0
  175. package/dist/module/payouts-list-core.js +6 -0
  176. package/dist/module/payouts-list-core2.js +153 -0
  177. package/dist/module/table.js +2 -2
  178. package/dist/module/utils.js +4 -4
  179. package/dist/module/utils3.js +6 -29
  180. package/dist/types/api/Business.d.ts +64 -28
  181. package/dist/types/api/Payment.d.ts +33 -1
  182. package/dist/types/api/services/payment.service.d.ts +9 -0
  183. package/dist/types/api/services/payout.service.d.ts +9 -0
  184. package/dist/types/api/services/utils.d.ts +1 -0
  185. package/dist/types/components/business-details/additional-questions-details/additional-questions-details.d.ts +2 -2
  186. package/dist/types/components/business-details/business-details.d.ts +2 -2
  187. package/dist/types/components/business-details/legal-address-details/legal-address-details.d.ts +2 -2
  188. package/dist/types/components/business-form/BusinessFormEventTypes.d.ts +5 -0
  189. package/dist/types/components/business-form/business-form-schema.d.ts +1 -19
  190. package/dist/types/components/business-form/business-form-stepped.d.ts +19 -5
  191. package/dist/types/components/business-form/business-form.d.ts +11 -2
  192. package/dist/types/components/business-form/business-generic-info/business-generic-info.d.ts +2 -0
  193. package/dist/types/components/business-form/business-owners/business-owners.d.ts +1 -1
  194. package/dist/types/components/business-form/helpers.d.ts +1 -1
  195. package/dist/types/components/details/utils.d.ts +4 -3
  196. package/dist/types/components/payment-details/get-payment-details.d.ts +8 -0
  197. package/dist/types/components/payment-details/payment-details-core.d.ts +11 -0
  198. package/dist/types/components/payment-details/payment-details.d.ts +6 -6
  199. package/dist/types/components/payment-method-form/payment-method-responses.d.ts +10 -2
  200. package/dist/types/components/payments-list/get-payments.d.ts +9 -0
  201. package/dist/types/components/payments-list/payments-list-core.d.ts +17 -0
  202. package/dist/types/components/payments-list/payments-list.d.ts +4 -12
  203. package/dist/types/components/payout-details/get-payout-details.d.ts +8 -0
  204. package/dist/types/components/payout-details/payout-details-core.d.ts +11 -0
  205. package/dist/types/components/payout-details/payout-details.d.ts +5 -31
  206. package/dist/types/components/payouts-list/get-payouts.d.ts +9 -0
  207. package/dist/types/components/payouts-list/payouts-list-core.d.ts +18 -0
  208. package/dist/types/components/payouts-list/payouts-list.d.ts +4 -13
  209. package/dist/types/components.d.ts +136 -138
  210. package/dist/types/utils/form-input-masks.d.ts +6 -0
  211. package/dist/webcomponents/p-081cf5f6.entry.js +1 -0
  212. package/dist/webcomponents/p-0b9146cd.entry.js +1 -0
  213. package/dist/webcomponents/p-0e53f470.entry.js +1 -0
  214. package/dist/webcomponents/p-112acd3c.entry.js +1 -0
  215. package/dist/webcomponents/p-1555e6b1.js +1 -0
  216. package/dist/webcomponents/{p-ac8be2a8.entry.js → p-16f41fd0.entry.js} +1 -1
  217. package/dist/webcomponents/p-17715325.js +1 -0
  218. package/dist/webcomponents/p-19c5ddf1.entry.js +1 -0
  219. package/dist/webcomponents/{p-2b2f8162.entry.js → p-2e318b6a.entry.js} +1 -1
  220. package/dist/webcomponents/p-34de1c5d.entry.js +1 -0
  221. package/dist/webcomponents/p-3a4d4869.entry.js +1 -0
  222. package/dist/webcomponents/p-3cb0b96d.js +1 -0
  223. package/dist/webcomponents/p-4ba2c711.entry.js +1 -0
  224. package/dist/webcomponents/p-4c01df65.entry.js +1 -0
  225. package/dist/webcomponents/p-4fa27a28.entry.js +1 -0
  226. package/dist/webcomponents/{p-3bef762a.js → p-50730e69.js} +1 -1
  227. package/dist/webcomponents/p-5e142186.entry.js +1 -0
  228. package/dist/webcomponents/{p-85ddbe82.entry.js → p-5f8b9f64.entry.js} +1 -1
  229. package/dist/webcomponents/p-663bfe87.js +1 -0
  230. package/dist/webcomponents/p-6ab67031.entry.js +1 -0
  231. package/dist/webcomponents/p-6ed680e9.js +1 -0
  232. package/dist/webcomponents/{p-d8835e7a.entry.js → p-731cb109.entry.js} +1 -1
  233. package/dist/webcomponents/{p-525adabf.entry.js → p-7c0f91fa.entry.js} +1 -1
  234. package/dist/webcomponents/p-80140d5b.js +1 -0
  235. package/dist/webcomponents/p-810b72b5.js +1 -0
  236. package/dist/webcomponents/p-870c2e4d.entry.js +1 -0
  237. package/dist/webcomponents/{p-64a5126c.entry.js → p-896a9ddb.entry.js} +1 -1
  238. package/dist/webcomponents/{p-9ba0be02.entry.js → p-8a90b976.entry.js} +1 -1
  239. package/dist/webcomponents/p-9b99370e.js +1 -0
  240. package/dist/webcomponents/p-9cb3ff78.entry.js +1 -0
  241. package/dist/webcomponents/p-a5d662ac.entry.js +1 -0
  242. package/dist/webcomponents/p-ad9a6c20.entry.js +1 -0
  243. package/dist/webcomponents/p-ade12f56.js +1 -0
  244. package/dist/webcomponents/{p-45d2761d.entry.js → p-b5aba473.entry.js} +1 -1
  245. package/dist/webcomponents/p-b8a8b551.js +1 -0
  246. package/dist/webcomponents/{p-c950901c.entry.js → p-c0f882ce.entry.js} +1 -1
  247. package/dist/webcomponents/p-d66a6057.entry.js +1 -0
  248. package/dist/webcomponents/{p-9cec4a27.entry.js → p-d71ce1cd.entry.js} +1 -1
  249. package/dist/webcomponents/p-ea05d7c2.entry.js +1 -0
  250. package/dist/webcomponents/{p-c43e29ac.entry.js → p-ec4f27e7.entry.js} +1 -1
  251. package/dist/webcomponents/{p-40fb25c6.entry.js → p-eef5b15b.entry.js} +1 -1
  252. package/dist/webcomponents/{p-9a6e4749.js → p-f0c535ed.js} +1 -1
  253. package/dist/webcomponents/{p-c63a98f6.entry.js → p-f7a3fd12.entry.js} +1 -1
  254. package/dist/webcomponents/webcomponents.esm.js +1 -1
  255. package/package.json +6 -4
  256. package/dist/cjs/utils-931f4879.js +0 -34
  257. package/dist/esm/utils-8cc130a9.js +0 -31
  258. package/dist/module/phone-masks.js +0 -5
  259. package/dist/types/utils/phone-masks.d.ts +0 -3
  260. package/dist/webcomponents/p-0a1347cf.entry.js +0 -1
  261. package/dist/webcomponents/p-0f3e9483.js +0 -1
  262. package/dist/webcomponents/p-0fa49c38.entry.js +0 -1
  263. package/dist/webcomponents/p-1e2a98bf.js +0 -1
  264. package/dist/webcomponents/p-5a502ceb.entry.js +0 -1
  265. package/dist/webcomponents/p-5bf0ac1a.entry.js +0 -1
  266. package/dist/webcomponents/p-6e80f063.entry.js +0 -1
  267. package/dist/webcomponents/p-71679a41.js +0 -1
  268. package/dist/webcomponents/p-78baff54.js +0 -1
  269. package/dist/webcomponents/p-8bbb1b10.entry.js +0 -1
  270. package/dist/webcomponents/p-90926321.js +0 -1
  271. package/dist/webcomponents/p-9e0d2179.entry.js +0 -1
  272. package/dist/webcomponents/p-c4826a33.entry.js +0 -1
  273. package/dist/webcomponents/p-d4755024.entry.js +0 -1
  274. package/dist/webcomponents/p-e8e109bd.entry.js +0 -1
  275. package/dist/webcomponents/p-ead8cfc2.entry.js +0 -1
  276. package/dist/webcomponents/p-f74899b9.entry.js +0 -1
@@ -3,136 +3,70 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-55950669.js');
6
- const Api = require('./Api-a06b996e.js');
7
- const Pagination = require('./Pagination-0da8f095.js');
8
- const Payout = require('./Payout-7821eb61.js');
9
- const utils = require('./utils-36bf8b3e.js');
10
- const config = require('./config-ff2dda66.js');
11
6
  const exportedParts = require('./exported-parts-b18c68c2.js');
7
+ const payout_service = require('./payout.service-b39f2739.js');
8
+ require('./Pagination-0da8f095.js');
9
+ const Payout = require('./Payout-44b49b2d.js');
10
+ const utils = require('./utils-f5d82f21.js');
11
+ const utils$1 = require('./utils-d126d17c.js');
12
+ require('./Api-a06b996e.js');
13
+ require('./config-ff2dda66.js');
12
14
 
13
- const payoutsListCss = ":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}";
15
+ const makeGetPayouts = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
16
+ var _a;
17
+ try {
18
+ const response = await service.fetchPayouts(id, authToken, params);
19
+ if (!response.error) {
20
+ const pagingInfo = Object.assign({}, response.page_info);
21
+ const payouts = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new Payout.Payout(dataItem))) || [];
22
+ onSuccess({ payouts, pagingInfo });
23
+ }
24
+ else {
25
+ const responseError = utils.getErrorMessage(response.error);
26
+ return onError(responseError);
27
+ }
28
+ }
29
+ catch (error) {
30
+ return onError(error.message || error);
31
+ }
32
+ };
14
33
 
15
34
  const PayoutsList = class {
16
35
  constructor(hostRef) {
17
36
  index.registerInstance(this, hostRef);
18
- this.rowClicked = index.createEvent(this, "payout-row-clicked", 7);
19
- this.mapStatusToBadge = (status) => {
20
- switch (status) {
21
- case Payout.PayoutStatuses.scheduled:
22
- return `<span class="badge bg-primary" title='Batched and scheduled to be transferred'>${Payout.PayoutStatusesSafeNames[status]}</span>`;
23
- case Payout.PayoutStatuses.in_transit:
24
- return `<span class="badge bg-primary" title='Transfer to your bank account has been initiated'>${Payout.PayoutStatusesSafeNames[status]}</span>`;
25
- case Payout.PayoutStatuses.failed:
26
- return `<span class="badge bg-danger" title='Transfer to your bank account failed'>${Payout.PayoutStatusesSafeNames[status]}</span>`;
27
- case Payout.PayoutStatuses.canceled:
28
- return `<span class="badge bg-danger" title='Transfer to your bank account failed'>${Payout.PayoutStatusesSafeNames[status]}</span>`;
29
- case Payout.PayoutStatuses.forwarded:
30
- return `<span class="badge bg-secondary" title='This payout initially failed; the funds have been forwarded to your next successful payout'>${Payout.PayoutStatusesSafeNames[status]}</span>`;
31
- case Payout.PayoutStatuses.paid:
32
- return `<span class="badge bg-success" title='Successfully deposited into your bank account'>${Payout.PayoutStatusesSafeNames[status]}</span>`;
33
- }
34
- };
35
- this.handleClickPrevious = (beforeCursor) => {
36
- const newParams = Object.assign({}, this.params);
37
- delete newParams.after_cursor;
38
- this.params = (Object.assign(Object.assign({}, newParams), { before_cursor: beforeCursor }));
39
- };
40
- this.handleClickNext = (afterCursor) => {
41
- const newParams = Object.assign({}, this.params);
42
- delete newParams.before_cursor;
43
- this.params = (Object.assign(Object.assign({}, newParams), { after_cursor: afterCursor }));
44
- };
45
37
  this.accountId = undefined;
46
38
  this.authToken = undefined;
47
- this.payouts = [];
48
- this.loading = true;
49
- this.errorMessage = undefined;
50
- this.paging = Pagination.pagingDefaults;
51
- this.params = undefined;
39
+ this.getPayouts = undefined;
40
+ this.errorMessage = null;
52
41
  }
53
- updateOnPropChange() {
54
- this.fetchData();
42
+ componentWillLoad() {
43
+ this.initializeGetPayouts();
55
44
  }
56
- connectedCallback() {
57
- this.fetchData();
45
+ propChanged() {
46
+ this.initializeGetPayouts();
58
47
  }
59
- async fetchData() {
60
- var _a;
61
- if (!this.accountId || !this.authToken) {
62
- this.errorMessage = "Can not fetch any data without an AccountID and an AuthToken";
63
- this.loading = false;
64
- return;
65
- }
66
- this.loading = true;
67
- try {
68
- const api = Api.Api(this.authToken, config.config.proxyApiOrigin);
69
- const endpoint = `account/${this.accountId}/payouts`;
70
- const response = await api.get(endpoint, this.params);
71
- if (!response.error) {
72
- this.paging = Object.assign(Object.assign({}, this.paging), response.page_info);
73
- const data = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.map(dataItem => new Payout.Payout(dataItem));
74
- this.payouts = data;
75
- }
76
- else {
77
- const responseError = typeof response.error === 'string' ? response.error : response.error.message;
78
- console.error(`Error fetching payouts: ${responseError}`);
79
- this.errorMessage = 'No results';
80
- }
48
+ initializeGetPayouts() {
49
+ if (this.accountId && this.authToken) {
50
+ this.getPayouts = makeGetPayouts({
51
+ id: this.accountId,
52
+ authToken: this.authToken,
53
+ service: new payout_service.PayoutService(),
54
+ });
81
55
  }
82
- catch (error) {
83
- console.error(`Error fetching payouts: ${error}`);
84
- this.errorMessage = 'No results';
85
- }
86
- finally {
87
- this.loading = false;
56
+ else {
57
+ this.errorMessage = 'Account ID and Auth Token are required';
88
58
  }
89
59
  }
90
60
  render() {
91
- return (index.h(index.Host, { exportedparts: exportedParts.tableExportedParts }, index.h("justifi-table", { rowClickHandler: (e) => {
92
- const clickedPayoutID = e.target.closest('tr').dataset.rowEntityId;
93
- if (!clickedPayoutID) {
94
- return;
95
- }
96
- this.rowClicked.emit(this.payouts.find((payout) => payout.id === clickedPayoutID));
97
- }, columnData: [
98
- ['Paid Out On', 'The date each transaction occurred'],
99
- ['Type', 'The type of each transaction'],
100
- ['Account', 'The ID of the account associated with each payout'],
101
- ['Paid Out To', 'The bank account to which each payout was transferred'],
102
- ['Payments', 'Sum of payments in each payout'],
103
- ['Refunds', 'Sum of refunds in each payout'],
104
- ['Fees', 'Sum of fees in each payout'],
105
- ['Other', 'Sum of less common transactions in each payout (disputes, ACH returns, fee refunds, and forwarded balances due to failed payouts)'],
106
- ['Payout Amount', 'The net sum of all transactions in each payout. This is the amount you\'ll see reflected on your bank statement'],
107
- ['Status', 'The real-time status of each payout']
108
- ], entityId: this.payouts.map((payout) => payout.id), rowData: this.payouts.map((payout) => ([
109
- {
110
- type: 'head',
111
- value: `
112
- <div class='fw-bold'>${utils.formatDate(payout.created_at)}</div>
113
- <div class='fw-bold'>${utils.formatTime(payout.created_at)}</div>
114
- `,
115
- },
116
- payout.payout_type,
117
- payout.account_id,
118
- `${payout.bank_account.full_name} ${payout.bank_account.account_number_last4}`,
119
- utils.formatCurrency(payout.payments_total),
120
- utils.formatCurrency(payout.refunds_total),
121
- utils.formatCurrency(payout.fees_total),
122
- utils.formatCurrency(payout.other_total),
123
- utils.formatCurrency(payout.amount),
124
- {
125
- type: 'inner',
126
- value: this.mapStatusToBadge(payout.status)
127
- }
128
- ])), loading: this.loading, "error-message": this.errorMessage, params: this.params, paging: Object.assign(Object.assign({}, this.paging), { handleClickNext: this.handleClickNext, handleClickPrevious: this.handleClickPrevious }) })));
61
+ if (this.errorMessage) {
62
+ return utils$1.ErrorState(this.errorMessage);
63
+ }
64
+ return (index.h(index.Host, { exportedparts: exportedParts.tableExportedParts }, index.h("payouts-list-core", { getPayouts: this.getPayouts })));
129
65
  }
130
66
  static get watchers() { return {
131
- "accountId": ["updateOnPropChange"],
132
- "authToken": ["updateOnPropChange"],
133
- "params": ["updateOnPropChange"]
67
+ "accountId": ["propChanged"],
68
+ "authToken": ["propChanged"]
134
69
  }; }
135
70
  };
136
- PayoutsList.style = payoutsListCss;
137
71
 
138
72
  exports.justifi_payouts_list = PayoutsList;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-55950669.js');
6
6
  const Api = require('./Api-a06b996e.js');
7
7
  const Pagination = require('./Pagination-0da8f095.js');
8
- require('./Payout-7821eb61.js');
8
+ require('./Payout-44b49b2d.js');
9
9
  const utils = require('./utils-36bf8b3e.js');
10
10
  const config = require('./config-ff2dda66.js');
11
11
 
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-55950669.js');
6
- const index_esm = require('./index.esm-c08c2adc.js');
6
+ const index_esm = require('./index.esm-d25bd7bf.js');
7
7
  const Api = require('./Api-a06b996e.js');
8
8
  require('./Pagination-0da8f095.js');
9
- require('./Payout-7821eb61.js');
9
+ require('./Payout-44b49b2d.js');
10
10
  const form = require('./form-2ad3d374.js');
11
11
  const config = require('./config-ff2dda66.js');
12
12
 
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-55950669.js');
6
6
  const Api = require('./Api-a06b996e.js');
7
7
  require('./Pagination-0da8f095.js');
8
- require('./Payout-7821eb61.js');
8
+ require('./Payout-44b49b2d.js');
9
9
  const SubAccount = require('./SubAccount-b9487cbb.js');
10
- const utils = require('./utils-99c086ee.js');
10
+ const utils = require('./utils-d126d17c.js');
11
11
  const utils$1 = require('./utils-36bf8b3e.js');
12
12
  const config = require('./config-ff2dda66.js');
13
13
 
@@ -7,7 +7,7 @@ const SubAccount = require('./SubAccount-b9487cbb.js');
7
7
  const utils = require('./utils-36bf8b3e.js');
8
8
  const Api = require('./Api-a06b996e.js');
9
9
  const Pagination = require('./Pagination-0da8f095.js');
10
- require('./Payout-7821eb61.js');
10
+ require('./Payout-44b49b2d.js');
11
11
  const config = require('./config-ff2dda66.js');
12
12
 
13
13
  const subaccountsListCss = ":host{display:block}";
@@ -13,7 +13,7 @@ const LoadingState = (columnSpan) => (index.h("tr", null,
13
13
  const EmptyState = (columnSpan) => (index.h("tr", null,
14
14
  index.h("td", { class: "empty-state", part: "empty-state", colSpan: columnSpan, style: { textAlign: 'center' } }, "No results")));
15
15
  const ErrorState = (columnSpan, errorMessage) => (index.h("tr", null,
16
- index.h("td", { class: "error-state", part: "error-state", colSpan: columnSpan, style: { textAlign: 'center' } },
16
+ index.h("td", { class: "error-state", part: "error-state", colSpan: columnSpan, "data-test-id": "table-error-state", style: { textAlign: 'center' } },
17
17
  "An unexpected error occurred: ",
18
18
  errorMessage)));
19
19
 
@@ -43,7 +43,7 @@ const Table = class {
43
43
  render() {
44
44
  var _a, _b;
45
45
  return (index.h(index.Host, { exportparts: exportedParts.tableExportedParts }, index.h("div", { class: "table-wrapper" }, index.h("table", { class: "table table-hover" }, index.h("thead", { class: "table-head sticky-top", part: "table-head" }, index.h("tr", { class: "table-light text-nowrap", part: 'table-head-row' }, (_a = this.columnData) === null || _a === void 0 ? void 0 : _a.map((column) => index.h("th", { part: "table-head-cell", scope: "col", title: Array.isArray(column) ? column[1] : '' }, !Array.isArray(column) ? column : column[0])))), index.h("tbody", { class: "table-body", part: 'table-body' }, this.loading && LoadingState(this.columnData.length), this.showEmptyState && EmptyState(this.columnData.length), this.showErrorState && ErrorState(this.columnData.length, this.errorMessage), this.showRowData && (this.rowData.map((data, index$1) => {
46
- return (index.h("tr", { "data-row-entity-id": this.entityId[index$1], onClick: e => this.rowClickHandler ? this.rowClickHandler(e) : null, part: `table-row ${index$1 % 2 ? 'table-row-even' : 'table-row-odd'}` }, data.map((dataEntry) => {
46
+ return (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: e => this.rowClickHandler ? this.rowClickHandler(e) : null, part: `table-row ${index$1 % 2 ? 'table-row-even' : 'table-row-odd'}` }, data.map((dataEntry) => {
47
47
  let nestedHtml = dataEntry === null || dataEntry === void 0 ? void 0 : dataEntry.type;
48
48
  if (nestedHtml) {
49
49
  return (index.h("td", { part: "table-cell", innerHTML: dataEntry.value }));
@@ -6,7 +6,7 @@ const index = require('./index-55950669.js');
6
6
 
7
7
  const defineCustomElements = (win, options) => {
8
8
  if (typeof window === 'undefined') return undefined;
9
- return index.bootstrapLazy([["justifi-business-form.cjs",[[0,"justifi-business-form",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"hideErrors":[4,"hide-errors"],"isLoading":[32],"serverError":[32],"errorMessage":[32]}]]],["justifi-business-form-stepped.cjs",[[0,"justifi-business-form-stepped",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"testMode":[4,"test-mode"],"hideErrors":[4,"hide-errors"],"isLoading":[32],"currentStep":[32],"totalSteps":[32],"serverError":[32],"errorMessage":[32]}]]],["justifi-business-details.cjs",[[1,"justifi-business-details",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"business":[32],"renderState":[32],"errorMessage":[32]}]]],["justifi-payment-form.cjs",[[1,"justifi-payment-form",{"bankAccount":[4,"bank-account"],"card":[4],"email":[1],"iframeOrigin":[1,"iframe-origin"],"clientId":[1,"client-id"],"accountId":[1,"account-id"],"submitButtonText":[1,"submit-button-text"],"submitButtonEnabled":[32],"hasLoadedFonts":[32],"isLoading":[32],"selectedPaymentMethodType":[32],"allowedPaymentMethodTypes":[32],"fillBillingForm":[64],"enableSubmitButton":[64],"loadFontsOnParent":[64]},[[0,"paymentMethodSelected","paymentMethodSelectedHandler"]]]]],["justifi-subaccount-details.cjs",[[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"]}]]],["justifi-business-list.cjs",[[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"]}]]],["justifi-payment-balance-transactions.cjs",[[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"]}]]],["justifi-payments-list.cjs",[[1,"justifi-payments-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"payments":[32],"loading":[32],"errorMessage":[32],"paging":[32],"params":[32]},null,{"accountId":["updateOnPropChange"],"authToken":["updateOnPropChange"],"params":["updateOnPropChange"]}]]],["justifi-payouts-list.cjs",[[1,"justifi-payouts-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"payouts":[32],"loading":[32],"errorMessage":[32],"paging":[32],"params":[32]},null,{"accountId":["updateOnPropChange"],"authToken":["updateOnPropChange"],"params":["updateOnPropChange"]}]]],["justifi-proceeds-list.cjs",[[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"]}]]],["justifi-refund-form.cjs",[[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]}]]],["justifi-subaccounts-list.cjs",[[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"]}]]],["justifi-payment-method-form.cjs",[[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]}]]],["justifi-bank-account-form.cjs",[[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"]]]]],["justifi-card-form.cjs",[[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"]]]]],["justifi-payment-details.cjs",[[1,"justifi-payment-details",{"paymentId":[1,"payment-id"],"authToken":[1,"auth-token"],"payment":[32],"loading":[32],"errorMessage":[32]},null,{"paymentId":["updateOnPropChange"],"authToken":["updateOnPropChange"]}]]],["justifi-payout-details.cjs",[[1,"justifi-payout-details",{"payoutId":[1,"payout-id"],"authToken":[1,"auth-token"],"payout":[32],"loading":[32],"errorMessage":[32]},null,{"payoutId":["updateOnPropChange"],"authToken":["updateOnPropChange"]}]]],["justifi-gross-payment-chart.cjs",[[1,"justifi-gross-payment-chart",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"data":[32],"total":[32],"dates":[32],"endDate":[32],"loading":[32],"errorMessage":[32]},null,{"accountId":["updateOnPropChange"],"authToken":["updateOnPropChange"]}]]],["subaccount-bank-details.cjs",[[1,"subaccount-bank-details",{"data":[16]}]]],["subaccount-terms-details.cjs",[[1,"subaccount-terms-details",{"data":[16]}]]],["justifi-billing-form_2.cjs",[[1,"justifi-billing-form",{"legend":[1025],"billingFields":[32],"billingFieldsErrors":[32],"fill":[64],"validate":[64],"getValues":[64]},[[0,"fieldReceivedInput","setFormValue"]]],[1,"justifi-payment-method-selector",{"paymentMethodTypes":[16],"selectedPaymentMethodType":[1,"selected-payment-method-type"]}]]],["justifi-details.cjs",[[1,"justifi-details",{"errorMessage":[1,"error-message"]}]]],["subaccount-account-details_4.cjs",[[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]}]]],["select-input_2.cjs",[[1,"select-input",{"name":[1],"label":[1],"defaultValue":[1,"default-value"],"error":[1],"options":[16],"internalValue":[32]}],[1,"text-input",{"name":[1],"label":[1],"defaultValue":[1,"default-value"],"error":[1],"internalValue":[32]}]]],["form-control-monetary.cjs",[[1,"form-control-monetary",{"label":[1],"name":[8],"error":[1],"defaultValue":[1,"default-value"],"inputHandler":[16]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["additional-questions-details_5.cjs",[[1,"additional-questions-details",{"business":[16]}],[1,"generic-info-details",{"business":[16]}],[1,"legal-address-details",{"legalAddress":[16]}],[1,"owner-details",{"owners":[16]}],[1,"representative-details",{"representative":[16]}]]],["form-control-datepart_2.cjs",[[1,"form-control-datepart",{"label":[1],"name":[1],"error":[1],"defaultValue":[1,"default-value"],"type":[1],"inputHandler":[16],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}],[1,"form-control-number-masked",{"label":[1],"name":[8],"error":[1],"defaultValue":[1,"default-value"],"inputHandler":[16],"mask":[1],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["form-control-number_3.cjs",[[1,"form-control-select",{"label":[1],"name":[8],"error":[1],"defaultValue":[1,"default-value"],"inputHandler":[16],"options":[16],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}],[1,"form-control-number",{"label":[1],"name":[8],"error":[1],"defaultValue":[1,"default-value"],"inputHandler":[16],"disabled":[4],"input":[32]},null,{"defaultValue":["handleDefaultValueChange"]}],[1,"form-control-text",{"label":[1],"name":[8],"error":[1],"defaultValue":[1,"default-value"],"disabled":[4],"inputHandler":[16],"input":[32]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["justifi-additional-questions_6.cjs",[[0,"justifi-business-representative",{"formController":[16],"errors":[32],"representative":[32]}],[0,"justifi-business-generic-info",{"formController":[16],"errors":[32]}],[0,"justifi-business-owners",{"formController":[16],"isEditing":[4,"is-editing"],"errors":[32],"owners":[32]}],[0,"justifi-legal-address-form",{"formController":[16],"errors":[32],"legal_address":[32]}],[0,"justifi-additional-questions",{"formController":[16],"errors":[32],"additional_questions":[32]}],[1,"justifi-business-address-form",{"onFormUpdate":[16],"errors":[8],"defaultValues":[8,"default-values"],"address":[32]},null,{"address":["handleAddressChange"]}]]],["justifi-table_2.cjs",[[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]}]]]], options);
9
+ return index.bootstrapLazy([["justifi-business-form.cjs",[[0,"justifi-business-form",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"hideErrors":[4,"hide-errors"],"isLoading":[32],"serverError":[32],"errorMessage":[32]}]]],["justifi-business-form-stepped.cjs",[[0,"justifi-business-form-stepped",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"],"testMode":[4,"test-mode"],"hideErrors":[4,"hide-errors"],"isLoading":[32],"currentStep":[32],"totalSteps":[32],"serverError":[32],"errorMessage":[32]}]]],["justifi-business-details.cjs",[[1,"justifi-business-details",{"businessId":[1,"business-id"],"authToken":[1,"auth-token"],"business":[32],"renderState":[32],"errorMessage":[32]}]]],["justifi-payment-form.cjs",[[1,"justifi-payment-form",{"bankAccount":[4,"bank-account"],"card":[4],"email":[1],"iframeOrigin":[1,"iframe-origin"],"clientId":[1,"client-id"],"accountId":[1,"account-id"],"submitButtonText":[1,"submit-button-text"],"submitButtonEnabled":[32],"hasLoadedFonts":[32],"isLoading":[32],"selectedPaymentMethodType":[32],"allowedPaymentMethodTypes":[32],"fillBillingForm":[64],"enableSubmitButton":[64],"loadFontsOnParent":[64]},[[0,"paymentMethodSelected","paymentMethodSelectedHandler"]]]]],["justifi-subaccount-details.cjs",[[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"]}]]],["justifi-business-owners.cjs",[[0,"justifi-business-owners",{"formController":[16],"errors":[32],"owners":[32]}]]],["justifi-payments-list.cjs",[[1,"justifi-payments-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"getPayments":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["justifi-payouts-list.cjs",[[1,"justifi-payouts-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"getPayouts":[32],"errorMessage":[32]},null,{"accountId":["propChanged"],"authToken":["propChanged"]}]]],["justifi-business-list.cjs",[[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"]}]]],["justifi-payment-balance-transactions.cjs",[[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"]}]]],["justifi-payment-details.cjs",[[1,"justifi-payment-details",{"paymentId":[1,"payment-id"],"authToken":[1,"auth-token"],"getPaymentDetails":[32],"errorMessage":[32]},null,{"paymentId":["propChanged"],"authToken":["propChanged"]}]]],["justifi-payout-details.cjs",[[1,"justifi-payout-details",{"payoutId":[1,"payout-id"],"authToken":[1,"auth-token"],"getPayout":[32],"errorMessage":[32]},null,{"payoutId":["propChanged"],"authToken":["propChanged"]}]]],["justifi-proceeds-list.cjs",[[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"]}]]],["justifi-refund-form.cjs",[[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]}]]],["justifi-subaccounts-list.cjs",[[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"]}]]],["justifi-bank-account-form.cjs",[[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"]]]]],["justifi-card-form.cjs",[[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"]]]]],["justifi-gross-payment-chart.cjs",[[1,"justifi-gross-payment-chart",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"data":[32],"total":[32],"dates":[32],"endDate":[32],"loading":[32],"errorMessage":[32]},null,{"accountId":["updateOnPropChange"],"authToken":["updateOnPropChange"]}]]],["subaccount-bank-details.cjs",[[1,"subaccount-bank-details",{"data":[16]}]]],["subaccount-terms-details.cjs",[[1,"subaccount-terms-details",{"data":[16]}]]],["payments-list-core.cjs",[[0,"payments-list-core",{"getPayments":[16],"payments":[32],"loading":[32],"errorMessage":[32],"paging":[32],"params":[32]},null,{"params":["updateOnPropChange"],"getPayments":["updateOnPropChange"]}]]],["payouts-list-core.cjs",[[0,"payouts-list-core",{"getPayouts":[16],"payouts":[32],"loading":[32],"errorMessage":[32],"paging":[32],"params":[32]},null,{"params":["updateOnPropChange"],"getPayouts":["updateOnPropChange"]}]]],["payment-details-core.cjs",[[0,"payment-details-core",{"getPaymentDetails":[16],"payment":[32],"loading":[32],"errorMessage":[32]},null,{"getPaymentDetails":["updateOnPropChange"]}]]],["payout-details-core.cjs",[[0,"payout-details-core",{"getPayout":[16],"payout":[32],"loading":[32],"errorMessage":[32]},null,{"getPayout":["getPayoutWatcher"]}]]],["justifi-billing-form_2.cjs",[[1,"justifi-billing-form",{"legend":[1025],"billingFields":[32],"billingFieldsErrors":[32],"fill":[64],"validate":[64],"getValues":[64]},[[0,"fieldReceivedInput","setFormValue"]]],[1,"justifi-payment-method-selector",{"paymentMethodTypes":[16],"selectedPaymentMethodType":[1,"selected-payment-method-type"]}]]],["justifi-payment-method-form.cjs",[[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]}]]],["subaccount-account-details_4.cjs",[[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]}]]],["select-input_2.cjs",[[1,"select-input",{"name":[1],"label":[1],"defaultValue":[1,"default-value"],"error":[1],"options":[16],"internalValue":[32]}],[1,"text-input",{"name":[1],"label":[1],"defaultValue":[1,"default-value"],"error":[1],"internalValue":[32]}]]],["form-control-monetary.cjs",[[1,"form-control-monetary",{"label":[1],"name":[8],"error":[1],"defaultValue":[1,"default-value"],"inputHandler":[16]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["additional-questions-details_5.cjs",[[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]}]]],["justifi-details.cjs",[[1,"justifi-details",{"errorMessage":[1,"error-message"]}]]],["form-control-select_2.cjs",[[1,"form-control-select",{"label":[1],"name":[8],"error":[1],"defaultValue":[1,"default-value"],"inputHandler":[16],"options":[16],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}],[1,"form-control-text",{"label":[1],"name":[8],"error":[1],"defaultValue":[1,"default-value"],"disabled":[4],"inputHandler":[16],"input":[32]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["form-control-datepart_3.cjs",[[1,"form-control-datepart",{"label":[1],"name":[1],"error":[1],"defaultValue":[1,"default-value"],"type":[1],"inputHandler":[16],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}],[1,"form-control-number-masked",{"label":[1],"name":[8],"error":[1],"defaultValue":[1,"default-value"],"inputHandler":[16],"mask":[1],"disabled":[4]},null,{"defaultValue":["handleDefaultValueChange"]}],[1,"form-control-number",{"label":[1],"name":[8],"error":[1],"defaultValue":[1,"default-value"],"inputHandler":[16],"disabled":[4],"input":[32]},null,{"defaultValue":["handleDefaultValueChange"]}]]],["justifi-additional-questions_5.cjs",[[0,"justifi-business-representative",{"formController":[16],"errors":[32],"representative":[32]}],[0,"justifi-business-generic-info",{"formController":[16],"errors":[32],"genericInfo":[32]}],[0,"justifi-legal-address-form",{"formController":[16],"errors":[32],"legal_address":[32]}],[0,"justifi-additional-questions",{"formController":[16],"errors":[32],"additional_questions":[32]}],[1,"justifi-business-address-form",{"onFormUpdate":[16],"errors":[8],"defaultValues":[8,"default-values"],"address":[32]},null,{"address":["handleAddressChange"]}]]],["justifi-table_2.cjs",[[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]}]]]], options);
10
10
  };
11
11
 
12
12
  exports.setNonce = index.setNonce;