@justifi/webcomponents 4.22.2 → 4.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (372) hide show
  1. package/dist/cjs/{Analytics-99a3c7f8.js → Analytics-25d3d168.js} +1 -1
  2. package/dist/cjs/{Payment-04a842f4.js → Payment-87b47c43.js} +7 -1
  3. package/dist/cjs/{SubAccount-cc95a4a0.js → SubAccount-fda5ec5b.js} +3 -0
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
  5. package/dist/cjs/{business-additional-questions-schema-d82355b0.js → business-additional-questions-schema-0cddd038.js} +2 -2
  6. package/dist/cjs/{business-identity-schema-3d241053.js → business-identity-schema-f5a3b008.js} +1 -1
  7. package/dist/cjs/{check-pkg-version-9bd49ad6.js → check-pkg-version-f5b03b02.js} +1 -1
  8. package/dist/cjs/{checkout.service-160f3a9c.js → checkout.service-aae1996c.js} +2 -2
  9. package/dist/cjs/checkouts-list-core.cjs.entry.js +7 -8
  10. package/dist/cjs/{checkouts-table-24c065ff.js → checkouts-table-00b6482f.js} +7 -7
  11. package/dist/cjs/custom-popper_4.cjs.entry.js +3 -3
  12. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +5 -5
  13. package/dist/cjs/form-control-date.cjs.entry.js +6 -37
  14. package/dist/cjs/form-control-file.cjs.entry.js +1 -1
  15. package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
  16. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +1 -1
  17. package/dist/cjs/form-control-number.cjs.entry.js +1 -1
  18. package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
  19. package/dist/cjs/form-control-textarea.cjs.entry.js +1 -1
  20. package/dist/cjs/{get-payout-csv-12dc9540.js → get-payout-csv-1eed32ee.js} +17 -8
  21. package/dist/cjs/{get-subaccounts-8f7a930f.js → get-subaccounts-1d2fb201.js} +2 -2
  22. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  23. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +3 -3
  24. package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +6 -6
  25. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +2 -2
  26. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +4 -4
  27. package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
  28. package/dist/cjs/justifi-business-form.cjs.entry.js +8 -8
  29. package/dist/cjs/justifi-card-form.cjs.entry.js +2 -2
  30. package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
  31. package/dist/cjs/justifi-checkout.cjs.entry.js +6 -6
  32. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -10
  33. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  34. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
  35. package/dist/cjs/justifi-new-payment-method_5.cjs.entry.js +2 -2
  36. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
  37. package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -6
  38. package/dist/cjs/justifi-payment-form.cjs.entry.js +6 -6
  39. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +2 -2
  40. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
  41. package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -7
  42. package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -6
  43. package/dist/cjs/justifi-payouts-list.cjs.entry.js +42 -20
  44. package/dist/cjs/justifi-refund-form.cjs.entry.js +3 -3
  45. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +1 -1
  46. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
  47. package/dist/cjs/justifi-terminals-list.cjs.entry.js +9 -9
  48. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +4 -4
  49. package/dist/cjs/loader.cjs.js +1 -1
  50. package/dist/cjs/{package-e25f61a8.js → package-bc606eae.js} +2 -2
  51. package/dist/cjs/{pagination-menu.cjs.entry.js → pagination-menu_2.cjs.entry.js} +29 -0
  52. package/dist/cjs/payment-details-core.cjs.entry.js +2 -2
  53. package/dist/cjs/{payment.service-83da752a.js → payment.service-86871f43.js} +2 -2
  54. package/dist/cjs/payments-list-core.cjs.entry.js +18 -52
  55. package/dist/cjs/payments-list-filters.cjs.entry.js +6 -1
  56. package/dist/cjs/{payments-status-58e45b2e.js → payments-status-68ac449d.js} +2 -2
  57. package/dist/cjs/payments-table-7087e771.js +31 -0
  58. package/dist/cjs/payout-details-core.cjs.entry.js +2 -2
  59. package/dist/cjs/payouts-list-core.cjs.entry.js +66 -59
  60. package/dist/cjs/payouts-list-filters.cjs.entry.js +24 -0
  61. package/dist/cjs/payouts-table-4858eb84.js +37 -0
  62. package/dist/cjs/{schema-validations-7a9afa7c.js → schema-validations-e8a17401.js} +0 -12
  63. package/dist/cjs/{table-loading-state-8b406852.js → table-ec9ce9f7.js} +21 -0
  64. package/dist/cjs/terminals-list-core.cjs.entry.js +6 -7
  65. package/dist/cjs/terminals-list-filters.cjs.entry.js +1 -1
  66. package/dist/cjs/{terminals-table-99a7b87b.js → terminals-table-12410159.js} +4 -4
  67. package/dist/cjs/{utils-f8a6962c.js → utils-ba79e868.js} +12 -0
  68. package/dist/cjs/{utils-3d84442d.js → utils-e88fbc94.js} +49 -32
  69. package/dist/cjs/webcomponents.cjs.js +1 -1
  70. package/dist/collection/api/Payment.js +7 -1
  71. package/dist/collection/api/Payout.js +4 -0
  72. package/dist/collection/api/services/payout.service.js +15 -6
  73. package/dist/collection/api/services/terminal.service.js +1 -1
  74. package/dist/collection/collection-manifest.json +2 -1
  75. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
  76. package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -10
  77. package/dist/collection/components/checkouts-list/checkouts-list.js +2 -2
  78. package/dist/collection/components/checkouts-list/checkouts-table.js +6 -6
  79. package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +4 -4
  80. package/dist/collection/components/dispute-management/dispute-management-core.js +3 -3
  81. package/dist/collection/components/dispute-management/dispute-notification.js +4 -4
  82. package/dist/collection/components/payment-method-form/payment-method-form.js +2 -2
  83. package/dist/collection/components/payments-list/payments-list-core.js +32 -47
  84. package/dist/collection/components/payments-list/payments-list-filters.js +6 -1
  85. package/dist/collection/components/payments-list/payments-list.js +22 -3
  86. package/dist/collection/components/payments-list/payments-status.js +2 -2
  87. package/dist/collection/components/payments-list/payments-table.js +22 -0
  88. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  89. package/dist/collection/components/payouts-list/get-payouts.js +3 -4
  90. package/dist/collection/components/payouts-list/payouts-list-core.js +102 -51
  91. package/dist/collection/components/payouts-list/payouts-list-filters.js +72 -0
  92. package/dist/collection/components/payouts-list/payouts-list.js +71 -12
  93. package/dist/collection/components/payouts-list/payouts-table.js +26 -0
  94. package/dist/collection/components/refund-form/refund-form.js +1 -1
  95. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  96. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  97. package/dist/collection/components/terminals-list/terminals-list.js +2 -2
  98. package/dist/collection/components/terminals-list/terminals-table.js +4 -4
  99. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  100. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  101. package/dist/collection/ui-components/filters/utils.js +11 -0
  102. package/dist/collection/ui-components/form/form-control-checkbox.js +1 -1
  103. package/dist/collection/ui-components/form/form-control-date.js +6 -55
  104. package/dist/collection/ui-components/form/form-control-file.js +1 -1
  105. package/dist/collection/ui-components/form/form-control-monetary.js +1 -1
  106. package/dist/collection/ui-components/form/form-control-number-masked.js +1 -1
  107. package/dist/collection/ui-components/form/form-control-number.js +1 -1
  108. package/dist/collection/ui-components/form/form-control-radio.js +1 -1
  109. package/dist/collection/ui-components/form/form-control-text.js +1 -1
  110. package/dist/collection/ui-components/form/form-control-textarea.js +1 -1
  111. package/dist/collection/utils/table.js +2 -2
  112. package/dist/collection/utils/utils.js +49 -52
  113. package/dist/docs.json +276 -49
  114. package/dist/esm/{Analytics-f4e959b2.js → Analytics-810c3026.js} +1 -1
  115. package/dist/esm/{Payment-30790721.js → Payment-2a868d0c.js} +7 -1
  116. package/dist/esm/{SubAccount-7f7e4c56.js → SubAccount-99a00594.js} +3 -0
  117. package/dist/esm/additional-questions-details_5.entry.js +1 -1
  118. package/dist/esm/{business-additional-questions-schema-a5072d2b.js → business-additional-questions-schema-af4aa8ae.js} +2 -2
  119. package/dist/esm/{business-identity-schema-b31178a1.js → business-identity-schema-1a5cb306.js} +1 -1
  120. package/dist/esm/{check-pkg-version-5e658940.js → check-pkg-version-434f72bf.js} +1 -1
  121. package/dist/esm/{checkout.service-ef1549c6.js → checkout.service-c1e44e0c.js} +2 -2
  122. package/dist/esm/checkouts-list-core.entry.js +6 -7
  123. package/dist/esm/{checkouts-table-62c44909.js → checkouts-table-cd33b57c.js} +7 -7
  124. package/dist/esm/custom-popper_4.entry.js +3 -3
  125. package/dist/esm/form-control-checkbox_9.entry.js +5 -5
  126. package/dist/esm/form-control-date.entry.js +6 -37
  127. package/dist/esm/form-control-file.entry.js +1 -1
  128. package/dist/esm/form-control-monetary.entry.js +1 -1
  129. package/dist/esm/form-control-number-masked_2.entry.js +1 -1
  130. package/dist/esm/form-control-number.entry.js +1 -1
  131. package/dist/esm/form-control-radio.entry.js +1 -1
  132. package/dist/esm/form-control-textarea.entry.js +1 -1
  133. package/dist/esm/{get-payout-csv-70974763.js → get-payout-csv-3b83b088.js} +17 -8
  134. package/dist/esm/{get-subaccounts-16c8ce40.js → get-subaccounts-dd20cfa4.js} +2 -2
  135. package/dist/esm/gross-payment-chart-core.entry.js +1 -1
  136. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +3 -3
  137. package/dist/esm/justifi-additional-statement_11.entry.js +6 -6
  138. package/dist/esm/justifi-bank-account-form.entry.js +2 -2
  139. package/dist/esm/justifi-billing-form_2.entry.js +4 -4
  140. package/dist/esm/justifi-business-details.entry.js +3 -3
  141. package/dist/esm/justifi-business-form.entry.js +8 -8
  142. package/dist/esm/justifi-card-form.entry.js +2 -2
  143. package/dist/esm/justifi-checkout-core.entry.js +1 -1
  144. package/dist/esm/justifi-checkout.entry.js +6 -6
  145. package/dist/esm/justifi-checkouts-list.entry.js +10 -10
  146. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  147. package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
  148. package/dist/esm/justifi-new-payment-method_5.entry.js +2 -2
  149. package/dist/esm/justifi-owner-form_3.entry.js +2 -2
  150. package/dist/esm/justifi-payment-details.entry.js +6 -6
  151. package/dist/esm/justifi-payment-form.entry.js +6 -6
  152. package/dist/esm/justifi-payment-method-selector.entry.js +2 -2
  153. package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
  154. package/dist/esm/justifi-payments-list.entry.js +11 -7
  155. package/dist/esm/justifi-payout-details.entry.js +6 -6
  156. package/dist/esm/justifi-payouts-list.entry.js +42 -20
  157. package/dist/esm/justifi-refund-form.entry.js +3 -3
  158. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +1 -1
  159. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
  160. package/dist/esm/justifi-terminals-list.entry.js +9 -9
  161. package/dist/esm/justifi-tokenize-payment-method.entry.js +4 -4
  162. package/dist/esm/loader.js +1 -1
  163. package/dist/esm/{package-95aca142.js → package-16f4801d.js} +2 -2
  164. package/dist/esm/{pagination-menu.entry.js → pagination-menu_2.entry.js} +29 -1
  165. package/dist/esm/payment-details-core.entry.js +2 -2
  166. package/dist/esm/{payment.service-2f67410b.js → payment.service-ca6b5bc5.js} +2 -2
  167. package/dist/esm/payments-list-core.entry.js +18 -52
  168. package/dist/esm/payments-list-filters.entry.js +6 -1
  169. package/dist/esm/{payments-status-4937a170.js → payments-status-a7c18f2a.js} +2 -2
  170. package/dist/esm/payments-table-bba91324.js +27 -0
  171. package/dist/esm/payout-details-core.entry.js +2 -2
  172. package/dist/esm/payouts-list-core.entry.js +67 -60
  173. package/dist/esm/payouts-list-filters.entry.js +20 -0
  174. package/dist/esm/payouts-table-edff9bbe.js +33 -0
  175. package/dist/esm/{schema-validations-cd8c5f69.js → schema-validations-5dc879a9.js} +0 -12
  176. package/dist/esm/{table-loading-state-356c7215.js → table-44e3d1e7.js} +21 -1
  177. package/dist/esm/terminals-list-core.entry.js +6 -7
  178. package/dist/esm/terminals-list-filters.entry.js +1 -1
  179. package/dist/esm/{terminals-table-059c473e.js → terminals-table-dc787616.js} +4 -4
  180. package/dist/esm/{utils-3daada24.js → utils-1df1e55a.js} +48 -32
  181. package/dist/esm/{utils-3a4d8f3a.js → utils-4006c425.js} +12 -1
  182. package/dist/esm/webcomponents.js +1 -1
  183. package/dist/module/Payment.js +7 -1
  184. package/dist/module/SubAccount.js +3 -0
  185. package/dist/module/billing-form.js +1 -1
  186. package/dist/module/business-bank-account-form-step.js +1 -1
  187. package/dist/module/business-core-info-form-step-core.js +1 -1
  188. package/dist/module/business-core-info-schema.js +1 -1
  189. package/dist/module/business-document-upload-input-group.js +1 -1
  190. package/dist/module/business-documents-on-file.js +1 -1
  191. package/dist/module/checkouts-list-core2.js +9 -9
  192. package/dist/module/counter-dispute.js +3 -3
  193. package/dist/module/custom-popper2.js +2 -2
  194. package/dist/module/dispute-management-core.js +2 -2
  195. package/dist/module/dispute-notification.js +3 -3
  196. package/dist/module/form-control-checkbox2.js +1 -1
  197. package/dist/module/form-control-date2.js +6 -38
  198. package/dist/module/form-control-file2.js +1 -1
  199. package/dist/module/form-control-monetary2.js +1 -1
  200. package/dist/module/form-control-number-masked2.js +1 -1
  201. package/dist/module/form-control-number.js +1 -1
  202. package/dist/module/form-control-radio2.js +1 -1
  203. package/dist/module/form-control-text2.js +1 -1
  204. package/dist/module/form-control-textarea2.js +1 -1
  205. package/dist/module/get-payout-csv.js +16 -7
  206. package/dist/module/get-subaccounts.js +1 -1
  207. package/dist/module/identity-address-form.js +1 -1
  208. package/dist/module/justifi-business-details.js +1 -1
  209. package/dist/module/justifi-checkout.js +1 -1
  210. package/dist/module/justifi-checkouts-list.js +2 -2
  211. package/dist/module/justifi-gross-payment-chart.js +1 -1
  212. package/dist/module/justifi-payment-details.js +1 -1
  213. package/dist/module/justifi-payment-form.js +1 -1
  214. package/dist/module/justifi-payments-list.js +5 -3
  215. package/dist/module/justifi-payout-details.js +1 -1
  216. package/dist/module/justifi-payouts-list.js +63 -28
  217. package/dist/module/justifi-refund-form.js +1 -1
  218. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  219. package/dist/module/justifi-terminals-list.js +3 -3
  220. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  221. package/dist/module/legal-address-form-step-core.js +1 -1
  222. package/dist/module/legal-address-form.js +1 -1
  223. package/dist/module/package.js +2 -2
  224. package/dist/module/payment-method-form.js +2 -2
  225. package/dist/module/payment-provisioning-actions.js +1 -1
  226. package/dist/module/payments-list-core2.js +43 -52
  227. package/dist/module/payments-list-filters2.js +6 -1
  228. package/dist/module/payments-status.js +2 -2
  229. package/dist/module/payout-details-core2.js +1 -1
  230. package/dist/module/payouts-list-core2.js +118 -67
  231. package/dist/module/payouts-list-filters.d.ts +11 -0
  232. package/dist/module/payouts-list-filters.js +6 -0
  233. package/dist/module/payouts-list-filters2.js +69 -0
  234. package/dist/module/saved-payment-method.js +1 -1
  235. package/dist/module/schema-validations.js +0 -12
  236. package/dist/module/table-filters-menu2.js +2 -22
  237. package/dist/module/table.js +36 -3
  238. package/dist/module/terminals-list-core2.js +8 -8
  239. package/dist/module/terminals-list-filters2.js +1 -1
  240. package/dist/module/utils2.js +48 -32
  241. package/dist/module/utils3.js +30 -25
  242. package/dist/module/utils4.js +24 -23
  243. package/dist/module/utils5.js +27 -0
  244. package/dist/types/api/Payment.d.ts +3 -1
  245. package/dist/types/api/Payout.d.ts +8 -0
  246. package/dist/types/api/services/payout.service.d.ts +5 -5
  247. package/dist/types/components/checkouts-list/checkouts-list.d.ts +1 -1
  248. package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +1 -1
  249. package/dist/types/components/dispute-management/dispute-management-core.d.ts +1 -1
  250. package/dist/types/components/dispute-management/dispute-notification.d.ts +1 -1
  251. package/dist/types/components/payments-list/payments-list-core.d.ts +4 -6
  252. package/dist/types/components/payments-list/payments-list-filters.d.ts +1 -0
  253. package/dist/types/components/payments-list/payments-list.d.ts +1 -0
  254. package/dist/types/components/payments-list/payments-status.d.ts +1 -1
  255. package/dist/types/components/payments-list/payments-table.d.ts +19 -0
  256. package/dist/types/components/payouts-list/get-payouts.d.ts +2 -1
  257. package/dist/types/components/payouts-list/payouts-list-core.d.ts +15 -7
  258. package/dist/types/components/payouts-list/payouts-list-filters.d.ts +8 -0
  259. package/dist/types/components/payouts-list/payouts-list.d.ts +8 -3
  260. package/dist/types/components/payouts-list/payouts-table.d.ts +23 -0
  261. package/dist/types/components/terminals-list/terminals-list.d.ts +1 -1
  262. package/dist/types/components.d.ts +41 -12
  263. package/dist/types/ui-components/filters/utils.d.ts +1 -0
  264. package/dist/types/ui-components/form/form-control-date.d.ts +0 -3
  265. package/dist/types/utils/utils.d.ts +15 -16
  266. package/dist/webcomponents/p-0a963f7e.entry.js +1 -0
  267. package/dist/webcomponents/{p-8e228e5a.js → p-0d6ddff2.js} +1 -1
  268. package/dist/webcomponents/p-0fbab710.entry.js +1 -0
  269. package/dist/webcomponents/{p-91711083.entry.js → p-10277025.entry.js} +1 -1
  270. package/dist/webcomponents/{p-09fb7dd6.entry.js → p-157ddb71.entry.js} +1 -1
  271. package/dist/webcomponents/p-17984027.entry.js +1 -0
  272. package/dist/webcomponents/{p-7a8c13ba.entry.js → p-229f2096.entry.js} +1 -1
  273. package/dist/webcomponents/p-286b87ab.js +1 -0
  274. package/dist/webcomponents/p-28bd6dcd.js +1 -0
  275. package/dist/webcomponents/p-2f422aad.entry.js +1 -0
  276. package/dist/webcomponents/{p-869ae0c7.entry.js → p-3186d1fb.entry.js} +1 -1
  277. package/dist/webcomponents/p-3db8b3c7.js +1 -0
  278. package/dist/webcomponents/p-3ec27a31.entry.js +1 -0
  279. package/dist/webcomponents/{p-927a147c.entry.js → p-3ed7fc42.entry.js} +1 -1
  280. package/dist/webcomponents/{p-83b01812.entry.js → p-4046e45c.entry.js} +1 -1
  281. package/dist/webcomponents/p-420adedb.entry.js +1 -0
  282. package/dist/webcomponents/{p-b459d0b0.js → p-4408a32d.js} +1 -1
  283. package/dist/webcomponents/p-448826a7.entry.js +1 -0
  284. package/dist/webcomponents/{p-22e38d5b.js → p-44d3f5ed.js} +1 -1
  285. package/dist/webcomponents/{p-6caf6f09.entry.js → p-469804a9.entry.js} +1 -1
  286. package/dist/webcomponents/{p-0de9e97b.entry.js → p-486da67e.entry.js} +1 -1
  287. package/dist/webcomponents/{p-a3143d62.entry.js → p-4a5e5574.entry.js} +1 -1
  288. package/dist/webcomponents/p-54145a37.entry.js +1 -0
  289. package/dist/webcomponents/p-544a4e7a.js +1 -0
  290. package/dist/webcomponents/p-59959934.entry.js +1 -0
  291. package/dist/webcomponents/{p-286a4e72.entry.js → p-628693c1.entry.js} +1 -1
  292. package/dist/webcomponents/{p-02cf5e6f.js → p-673cf8c4.js} +1 -1
  293. package/dist/webcomponents/{p-c30c8f39.entry.js → p-69527219.entry.js} +1 -1
  294. package/dist/webcomponents/{p-9ef4d294.entry.js → p-74340f69.entry.js} +1 -1
  295. package/dist/webcomponents/p-7fc27a1a.js +1 -0
  296. package/dist/webcomponents/{p-c458fc48.entry.js → p-81635086.entry.js} +1 -1
  297. package/dist/webcomponents/p-89f6691e.js +1 -0
  298. package/dist/webcomponents/p-91de21cc.js +1 -0
  299. package/dist/webcomponents/p-95ec39f6.entry.js +1 -0
  300. package/dist/webcomponents/p-9690eca9.entry.js +1 -0
  301. package/dist/webcomponents/{p-efb56234.entry.js → p-a7830e98.entry.js} +1 -1
  302. package/dist/webcomponents/p-a856444a.entry.js +1 -0
  303. package/dist/webcomponents/{p-a91a2152.entry.js → p-a9775002.entry.js} +1 -1
  304. package/dist/webcomponents/p-ada9ac19.entry.js +1 -0
  305. package/dist/webcomponents/{p-eed325b7.entry.js → p-b607a07f.entry.js} +1 -1
  306. package/dist/webcomponents/p-bb71cef3.js +1 -0
  307. package/dist/webcomponents/{p-c5c6e61d.js → p-bc8205ec.js} +1 -1
  308. package/dist/webcomponents/{p-a8f22d4d.js → p-c13a7d10.js} +1 -1
  309. package/dist/webcomponents/p-c3fb5d3a.entry.js +1 -0
  310. package/dist/webcomponents/p-c420cb7d.entry.js +1 -0
  311. package/dist/webcomponents/{p-90b8acc6.js → p-c5175bd7.js} +1 -1
  312. package/dist/webcomponents/p-c8243721.js +1 -0
  313. package/dist/webcomponents/p-cd19c597.entry.js +1 -0
  314. package/dist/webcomponents/{p-9e7204b5.js → p-ce94232f.js} +1 -1
  315. package/dist/webcomponents/{p-92a766d8.entry.js → p-d09e9336.entry.js} +1 -1
  316. package/dist/webcomponents/{p-7fec2bcb.js → p-d1f75fa6.js} +1 -1
  317. package/dist/webcomponents/{p-55f78fcc.entry.js → p-daa7872f.entry.js} +1 -1
  318. package/dist/webcomponents/{p-2c8c214f.entry.js → p-dcb288a3.entry.js} +1 -1
  319. package/dist/webcomponents/p-dd43bf3d.entry.js +1 -0
  320. package/dist/webcomponents/p-df3ca87f.entry.js +1 -0
  321. package/dist/webcomponents/p-df5a1202.entry.js +1 -0
  322. package/dist/webcomponents/p-e2ce097c.js +1 -0
  323. package/dist/webcomponents/{p-eeb70281.entry.js → p-e5790011.entry.js} +1 -1
  324. package/dist/webcomponents/p-e9919d54.entry.js +1 -0
  325. package/dist/webcomponents/p-e99957ff.entry.js +1 -0
  326. package/dist/webcomponents/p-eab21e1f.entry.js +1 -0
  327. package/dist/webcomponents/{p-8e2e24d8.entry.js → p-ed05a597.entry.js} +1 -1
  328. package/dist/webcomponents/p-ed95feec.entry.js +1 -0
  329. package/dist/webcomponents/{p-8f212554.entry.js → p-f698d6d9.entry.js} +1 -1
  330. package/dist/webcomponents/p-fd5f2836.js +1 -0
  331. package/dist/webcomponents/{p-5fd72c29.entry.js → p-fea520c6.entry.js} +1 -1
  332. package/dist/webcomponents/{p-2dc7751f.entry.js → p-ff4bac14.entry.js} +1 -1
  333. package/dist/webcomponents/webcomponents.esm.js +1 -1
  334. package/package.json +2 -2
  335. package/dist/cjs/table-20e9a053.js +0 -23
  336. package/dist/cjs/table-filters-menu.cjs.entry.js +0 -35
  337. package/dist/esm/table-5da154e7.js +0 -21
  338. package/dist/esm/table-filters-menu.entry.js +0 -31
  339. package/dist/module/table-loading-state.js +0 -34
  340. package/dist/webcomponents/p-0c03a971.entry.js +0 -1
  341. package/dist/webcomponents/p-0ec27543.entry.js +0 -1
  342. package/dist/webcomponents/p-0f7b9555.entry.js +0 -1
  343. package/dist/webcomponents/p-1251a3f5.entry.js +0 -1
  344. package/dist/webcomponents/p-1ab798f4.entry.js +0 -1
  345. package/dist/webcomponents/p-269ba6fe.entry.js +0 -1
  346. package/dist/webcomponents/p-2a9f48f0.entry.js +0 -1
  347. package/dist/webcomponents/p-2c2b57b3.js +0 -1
  348. package/dist/webcomponents/p-2c51d29f.js +0 -1
  349. package/dist/webcomponents/p-3f82f724.entry.js +0 -1
  350. package/dist/webcomponents/p-44f7f729.entry.js +0 -1
  351. package/dist/webcomponents/p-47dbe17d.js +0 -1
  352. package/dist/webcomponents/p-4b14abbf.entry.js +0 -1
  353. package/dist/webcomponents/p-638c6285.entry.js +0 -1
  354. package/dist/webcomponents/p-7285c687.js +0 -1
  355. package/dist/webcomponents/p-8480e3ab.entry.js +0 -1
  356. package/dist/webcomponents/p-88efdd31.js +0 -1
  357. package/dist/webcomponents/p-8ec550d7.entry.js +0 -1
  358. package/dist/webcomponents/p-919e6e67.entry.js +0 -1
  359. package/dist/webcomponents/p-935188c8.entry.js +0 -1
  360. package/dist/webcomponents/p-9f56ad71.js +0 -1
  361. package/dist/webcomponents/p-ad443df5.entry.js +0 -1
  362. package/dist/webcomponents/p-b16269d7.js +0 -1
  363. package/dist/webcomponents/p-bba131f9.entry.js +0 -1
  364. package/dist/webcomponents/p-c717646f.entry.js +0 -1
  365. package/dist/webcomponents/p-cd4eaeb7.js +0 -1
  366. package/dist/webcomponents/p-cd7e866c.entry.js +0 -1
  367. package/dist/webcomponents/p-e333620e.js +0 -1
  368. package/dist/webcomponents/p-e412a713.entry.js +0 -1
  369. package/dist/webcomponents/p-e6be8845.entry.js +0 -1
  370. package/dist/webcomponents/p-e8797be0.entry.js +0 -1
  371. package/dist/webcomponents/p-f45197b9.entry.js +0 -1
  372. package/dist/webcomponents/p-fc4de0d2.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
2
  export declare class DisputeManagementCore {
3
- submit: EventEmitter;
3
+ submitted: EventEmitter;
4
4
  showCounterDispute: boolean;
5
5
  counterDisputeHandler(event: CustomEvent): void;
6
6
  render(): any;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
2
  export declare class DisputeNotification {
3
- submit: EventEmitter;
3
+ submitted: EventEmitter;
4
4
  clickEvent: EventEmitter;
5
5
  acceptDispute(): void;
6
6
  initiateCounterDispute(): void;
@@ -1,13 +1,16 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { PagingInfo, Payment, PaymentsParams } from '../../api';
3
3
  import { ComponentError } from '../../api/ComponentError';
4
+ import { Table } from '../../utils/table';
4
5
  export declare class PaymentsListCore {
6
+ getPayments: Function;
7
+ columns: string;
5
8
  payments: Payment[];
9
+ paymentsTable: Table;
6
10
  loading: boolean;
7
11
  errorMessage: string;
8
12
  paging: PagingInfo;
9
13
  params: PaymentsParams;
10
- getPayments: Function;
11
14
  updateOnPropChange(): void;
12
15
  rowClicked: EventEmitter<Payment>;
13
16
  errorEvent: EventEmitter<ComponentError>;
@@ -19,11 +22,6 @@ export declare class PaymentsListCore {
19
22
  setParamsOnChange: (name: string, value: string) => void;
20
23
  clearParams: () => void;
21
24
  get entityId(): string[];
22
- get columnData(): string[][];
23
- get rowData(): (string | {
24
- type: string;
25
- value: string;
26
- })[][];
27
25
  get showEmptyState(): boolean;
28
26
  get showErrorState(): boolean;
29
27
  get showRowData(): boolean;
@@ -5,6 +5,7 @@ export declare class PaymentsListFilters {
5
5
  clearParams: () => void;
6
6
  private debouncedSetParamsOnChange;
7
7
  componentWillLoad(): void;
8
+ handleDateInput: (name: string, value: string) => void;
8
9
  get paymentStatusOptions(): {
9
10
  label: string;
10
11
  value: string;
@@ -29,6 +29,7 @@ export declare class PaymentsList {
29
29
  accountId: string;
30
30
  authToken: string;
31
31
  apiOrigin?: string;
32
+ columns?: string;
32
33
  errorEvent: EventEmitter<ComponentError>;
33
34
  analytics: JustifiAnalytics;
34
35
  componentWillLoad(): void;
@@ -1 +1 @@
1
- export declare const MapPaymentStatusToBadge: (status: string) => "<span class='badge bg-success' title='This payment was successfully captured'>Succeeded</span>" | "<span class='badge bg-primary' title='This card payment was authorized, but not captured. It could still succeed or fail.'>Authorized</span>" | "<span class='badge bg-primary' title='This ACH payment was processed, but the funds haven't settled. It could still succeed or fail.'>Pending</span>" | "<span class='badge bg-danger' title='The funds couldn't be collected for this ACH payment (in addition to the original payment, an ACH return and fee will appear in a payout)'>Failed</span>" | "<span class='badge bg-danger' title='This card payment didn't go through (it won't appear in a payout)'>Failed</span>" | "<span class='badge bg-danger' title='This payment was canceled'>Canceled</span>" | "<span class='badge bg-secondary' title='The account holder disputed this payment. The amount has been returned and a fee assessed.'>Disputed</span>" | "<span class='badge bg-secondary' title='The full amount of this payment has been refunded'>Fully Refunded</span>" | "<span class='badge bg-secondary' title='A portion of this payment has been refunded'>Partially Refunded</span>";
1
+ export declare const MapPaymentStatusToBadge: (status: string) => "<span class='badge bg-success' title='This payment was successfully captured'>Succeeded</span>" | "<span class='badge bg-primary' title='This card payment was authorized, but not captured. It could still succeed or fail.'>Authorized</span>" | "<span class='badge bg-primary' title='This ACH payment was processed, but the funds have not settled. It could still succeed or fail.'>Pending</span>" | "<span class='badge bg-danger' title='The funds couldn't be collected for this ACH payment (in addition to the original payment, an ACH return and fee will appear in a payout)'>Failed</span>" | "<span class='badge bg-danger' title='This card payment did not go through (it will not appear in a payout)'>Failed</span>" | "<span class='badge bg-danger' title='This payment was canceled'>Canceled</span>" | "<span class='badge bg-secondary' title='The account holder disputed this payment. The amount has been returned and a fee assessed.'>Disputed</span>" | "<span class='badge bg-secondary' title='The full amount of this payment has been refunded'>Fully Refunded</span>" | "<span class='badge bg-secondary' title='A portion of this payment has been refunded'>Partially Refunded</span>";
@@ -0,0 +1,19 @@
1
+ export declare const defaultColumnsKeys = "created_at,amount,status,payment_type,description,payers_name,last_four_digits";
2
+ export declare const paymentTableColumns: {
3
+ created_at: () => any;
4
+ amount: () => any;
5
+ status: () => any;
6
+ payment_type: () => any;
7
+ description: () => any;
8
+ payers_name: () => any;
9
+ last_four_digits: () => any;
10
+ };
11
+ export declare const paymentTableCells: {
12
+ created_at: (value: any) => any;
13
+ amount: (value: any) => any;
14
+ status: (value: any) => any;
15
+ payment_type: (value: any) => any;
16
+ description: (value: any) => any;
17
+ payers_name: (value: any) => any;
18
+ last_four_digits: (value: any) => any;
19
+ };
@@ -1,7 +1,8 @@
1
- export declare const makeGetPayouts: ({ id, authToken, service }: {
1
+ export declare const makeGetPayouts: ({ id, authToken, service, apiOrigin }: {
2
2
  id: any;
3
3
  authToken: any;
4
4
  service: any;
5
+ apiOrigin: any;
5
6
  }) => ({ params, onSuccess, onError }: {
6
7
  params: any;
7
8
  onSuccess: any;
@@ -1,27 +1,35 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import { PagingInfo, Payout } from '../../api';
2
+ import { PagingInfo, Payout, PayoutsTableFilterParams, SubAccount } from '../../api';
3
3
  import { ComponentError } from '../../api/ComponentError';
4
+ import { Table } from '../../utils/table';
4
5
  export declare class PayoutsListCore {
5
6
  getPayouts: Function;
7
+ getSubAccounts: Function;
6
8
  getPayoutCSV: Function;
9
+ columns: string;
7
10
  payouts: Payout[];
11
+ payoutsTable: Table;
12
+ subAccounts: SubAccount[];
8
13
  loading: boolean;
9
14
  errorMessage: string;
10
15
  paging: PagingInfo;
11
- params: any;
16
+ params: PayoutsTableFilterParams;
17
+ updateOnPropChange(): void;
12
18
  rowClicked: EventEmitter<Payout>;
13
19
  errorEvent: EventEmitter<ComponentError>;
14
- updateOnPropChange(): void;
15
20
  componentWillLoad(): void;
16
- fetchData(): void;
21
+ fetchPayouts(): void;
22
+ fetchSubAccounts(): Promise<void>;
17
23
  downloadCSV: (payoutId: string) => void;
18
- handleDateChange: (name: string, value: string) => void;
19
24
  handleClickPrevious: (beforeCursor: string) => void;
20
25
  handleClickNext: (afterCursor: string) => void;
21
26
  rowClickHandler: (e: any) => void;
27
+ setParamsOnChange: (name: string, value: string) => void;
28
+ clearParams: () => void;
29
+ get subAccountParams(): {
30
+ sub_account_id: string;
31
+ };
22
32
  get entityId(): string[];
23
- get columnData(): string[][];
24
- get rowData(): any[][];
25
33
  get showEmptyState(): boolean;
26
34
  get showErrorState(): boolean;
27
35
  get showRowData(): boolean;
@@ -0,0 +1,8 @@
1
+ import { PayoutsTableFilterParams } from '../../api';
2
+ export declare class PayoutsListFilters {
3
+ params: PayoutsTableFilterParams;
4
+ setParamsOnChange: (name: string, value: string) => void;
5
+ clearParams: () => void;
6
+ handleDateInput: (name: string, value: string) => void;
7
+ render(): any;
8
+ }
@@ -24,17 +24,22 @@ import JustifiAnalytics from '../../api/Analytics';
24
24
  * @exportedPart next-button-text: Text for Next button
25
25
  */
26
26
  export declare class PayoutsList {
27
- accountId: string;
28
- authToken: string;
29
27
  getPayouts: Function;
30
28
  getPayoutCSV: Function;
29
+ getSubAccounts: Function;
31
30
  errorMessage: string;
31
+ accountId: string;
32
+ authToken: string;
33
+ apiOrigin?: string;
34
+ columns?: string;
32
35
  errorEvent: EventEmitter<ComponentError>;
33
36
  analytics: JustifiAnalytics;
34
37
  componentWillLoad(): void;
35
38
  disconnectedCallback(): void;
36
39
  propChanged(): void;
37
- private initializeServices;
40
+ private initializeGetData;
41
+ private initializePayoutsServices;
42
+ private initializeGetSubAccounts;
38
43
  handleOnError: (event: any) => void;
39
44
  render(): any;
40
45
  }
@@ -0,0 +1,23 @@
1
+ export declare const defaultColumnsKeys = "created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv";
2
+ export declare const payoutTableColumns: {
3
+ created_at: () => any;
4
+ sub_account_name: () => any;
5
+ payments_total: () => any;
6
+ refunds_total: () => any;
7
+ fees_total: () => any;
8
+ other_total: () => any;
9
+ amount: () => any;
10
+ status: () => any;
11
+ csv: () => any;
12
+ };
13
+ export declare const payoutTableCells: (downloadCSV: any) => {
14
+ created_at: (value: any) => any;
15
+ sub_account_name: (value: any) => any;
16
+ payments_total: (value: any) => any;
17
+ refunds_total: (value: any) => any;
18
+ fees_total: (value: any) => any;
19
+ other_total: (value: any) => any;
20
+ amount: (value: any) => any;
21
+ status: (value: any) => any;
22
+ csv: (value: any) => any;
23
+ };
@@ -30,7 +30,7 @@ export declare class TerminalsList {
30
30
  accountId: string;
31
31
  authToken: string;
32
32
  apiOrigin?: string;
33
- columns: string;
33
+ columns?: string;
34
34
  errorEvent: EventEmitter<ComponentError>;
35
35
  analytics: JustifiAnalytics;
36
36
  componentWillLoad(): void;
@@ -7,7 +7,7 @@
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
9
9
  import { ComponentError, ComponentErrorCodes } from "./api/ComponentError";
10
- import { Checkout, IBnpl, ICheckoutsParams, ILoadedEventResponse, Payment, PaymentMethodTypes, PaymentsParams, Payout, Terminal, TerminalsTableFilterParams } from "./api";
10
+ import { Checkout, IBnpl, ICheckoutsParams, ILoadedEventResponse, Payment, PaymentMethodTypes, PaymentsParams, Payout, PayoutsTableFilterParams, Terminal, TerminalsTableFilterParams } from "./api";
11
11
  import { Placement, PositioningStrategy } from "@popperjs/core";
12
12
  import { EntityDocumentType, FileSelectEvent } from "./api/Document";
13
13
  import { BillingFormFields as BillingFormFields1, ComponentError as ComponentError1, FormController } from "./components";
@@ -23,7 +23,7 @@ import { Identity } from "./api/Identity";
23
23
  import { PaginationProps } from "./components/pagination-menu/pagination-menu";
24
24
  export { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
25
25
  export { ComponentError, ComponentErrorCodes } from "./api/ComponentError";
26
- export { Checkout, IBnpl, ICheckoutsParams, ILoadedEventResponse, Payment, PaymentMethodTypes, PaymentsParams, Payout, Terminal, TerminalsTableFilterParams } from "./api";
26
+ export { Checkout, IBnpl, ICheckoutsParams, ILoadedEventResponse, Payment, PaymentMethodTypes, PaymentsParams, Payout, PayoutsTableFilterParams, Terminal, TerminalsTableFilterParams } from "./api";
27
27
  export { Placement, PositioningStrategy } from "@popperjs/core";
28
28
  export { EntityDocumentType, FileSelectEvent } from "./api/Document";
29
29
  export { BillingFormFields as BillingFormFields1, ComponentError as ComponentError1, FormController } from "./components";
@@ -85,7 +85,6 @@ export namespace Components {
85
85
  "defaultValue"?: string;
86
86
  "disabled"?: boolean;
87
87
  "errorText"?: string;
88
- "filterTimeZone"?: boolean;
89
88
  "helpText"?: string;
90
89
  "inputHandler": (name: string, value: string) => void;
91
90
  "label": string;
@@ -463,7 +462,7 @@ export namespace Components {
463
462
  "accountId": string;
464
463
  "apiOrigin"?: string;
465
464
  "authToken": string;
466
- "columns": string;
465
+ "columns"?: string;
467
466
  }
468
467
  interface JustifiCounterDispute {
469
468
  }
@@ -672,6 +671,7 @@ export namespace Components {
672
671
  "accountId": string;
673
672
  "apiOrigin"?: string;
674
673
  "authToken": string;
674
+ "columns"?: string;
675
675
  }
676
676
  interface JustifiPayoutDetails {
677
677
  "authToken": string;
@@ -701,7 +701,9 @@ export namespace Components {
701
701
  */
702
702
  interface JustifiPayoutsList {
703
703
  "accountId": string;
704
+ "apiOrigin"?: string;
704
705
  "authToken": string;
706
+ "columns"?: string;
705
707
  }
706
708
  interface JustifiProductOrService {
707
709
  }
@@ -812,7 +814,7 @@ export namespace Components {
812
814
  "accountId": string;
813
815
  "apiOrigin"?: string;
814
816
  "authToken": string;
815
- "columns": string;
817
+ "columns"?: string;
816
818
  }
817
819
  interface JustifiTokenizePaymentMethod {
818
820
  "accountId": string;
@@ -859,6 +861,7 @@ export namespace Components {
859
861
  "getPaymentDetails": Function;
860
862
  }
861
863
  interface PaymentsListCore {
864
+ "columns": string;
862
865
  "getPayments": Function;
863
866
  }
864
867
  interface PaymentsListFilters {
@@ -871,8 +874,15 @@ export namespace Components {
871
874
  "getPayoutCSV": Function;
872
875
  }
873
876
  interface PayoutsListCore {
877
+ "columns": string;
874
878
  "getPayoutCSV": Function;
875
879
  "getPayouts": Function;
880
+ "getSubAccounts": Function;
881
+ }
882
+ interface PayoutsListFilters {
883
+ "clearParams": () => void;
884
+ "params": PayoutsTableFilterParams;
885
+ "setParamsOnChange": (name: string, value: string) => void;
876
886
  }
877
887
  /**
878
888
  * @exportedPart detail-section
@@ -1935,7 +1945,7 @@ declare global {
1935
1945
  new (): HTMLJustifiCheckoutsListElement;
1936
1946
  };
1937
1947
  interface HTMLJustifiCounterDisputeElementEventMap {
1938
- "submit": any;
1948
+ "submitted": any;
1939
1949
  "clickEvent": any;
1940
1950
  }
1941
1951
  interface HTMLJustifiCounterDisputeElement extends Components.JustifiCounterDispute, HTMLStencilElement {
@@ -1971,7 +1981,7 @@ declare global {
1971
1981
  new (): HTMLJustifiDisputeManagementElement;
1972
1982
  };
1973
1983
  interface HTMLJustifiDisputeManagementCoreElementEventMap {
1974
- "submit": any;
1984
+ "submitted": any;
1975
1985
  }
1976
1986
  interface HTMLJustifiDisputeManagementCoreElement extends Components.JustifiDisputeManagementCore, HTMLStencilElement {
1977
1987
  addEventListener<K extends keyof HTMLJustifiDisputeManagementCoreElementEventMap>(type: K, listener: (this: HTMLJustifiDisputeManagementCoreElement, ev: JustifiDisputeManagementCoreCustomEvent<HTMLJustifiDisputeManagementCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -1988,7 +1998,7 @@ declare global {
1988
1998
  new (): HTMLJustifiDisputeManagementCoreElement;
1989
1999
  };
1990
2000
  interface HTMLJustifiDisputeNotificationElementEventMap {
1991
- "submit": any;
2001
+ "submitted": any;
1992
2002
  "clickEvent": any;
1993
2003
  }
1994
2004
  interface HTMLJustifiDisputeNotificationElement extends Components.JustifiDisputeNotification, HTMLStencilElement {
@@ -2702,6 +2712,12 @@ declare global {
2702
2712
  prototype: HTMLPayoutsListCoreElement;
2703
2713
  new (): HTMLPayoutsListCoreElement;
2704
2714
  };
2715
+ interface HTMLPayoutsListFiltersElement extends Components.PayoutsListFilters, HTMLStencilElement {
2716
+ }
2717
+ var HTMLPayoutsListFiltersElement: {
2718
+ prototype: HTMLPayoutsListFiltersElement;
2719
+ new (): HTMLPayoutsListFiltersElement;
2720
+ };
2705
2721
  /**
2706
2722
  * @exportedPart detail-section
2707
2723
  * @exportedPart detail-section-title
@@ -2844,6 +2860,7 @@ declare global {
2844
2860
  "payments-list-filters": HTMLPaymentsListFiltersElement;
2845
2861
  "payout-details-core": HTMLPayoutDetailsCoreElement;
2846
2862
  "payouts-list-core": HTMLPayoutsListCoreElement;
2863
+ "payouts-list-filters": HTMLPayoutsListFiltersElement;
2847
2864
  "representative-details": HTMLRepresentativeDetailsElement;
2848
2865
  "table-filters-menu": HTMLTableFiltersMenuElement;
2849
2866
  "terminals-list-core": HTMLTerminalsListCoreElement;
@@ -2905,7 +2922,6 @@ declare namespace LocalJSX {
2905
2922
  "defaultValue"?: string;
2906
2923
  "disabled"?: boolean;
2907
2924
  "errorText"?: string;
2908
- "filterTimeZone"?: boolean;
2909
2925
  "helpText"?: string;
2910
2926
  "inputHandler"?: (name: string, value: string) => void;
2911
2927
  "label"?: string;
@@ -3348,7 +3364,7 @@ declare namespace LocalJSX {
3348
3364
  }
3349
3365
  interface JustifiCounterDispute {
3350
3366
  "onClickEvent"?: (event: JustifiCounterDisputeCustomEvent<any>) => void;
3351
- "onSubmit"?: (event: JustifiCounterDisputeCustomEvent<any>) => void;
3367
+ "onSubmitted"?: (event: JustifiCounterDisputeCustomEvent<any>) => void;
3352
3368
  }
3353
3369
  interface JustifiCustomerDetails {
3354
3370
  }
@@ -3358,11 +3374,11 @@ declare namespace LocalJSX {
3358
3374
  interface JustifiDisputeManagement {
3359
3375
  }
3360
3376
  interface JustifiDisputeManagementCore {
3361
- "onSubmit"?: (event: JustifiDisputeManagementCoreCustomEvent<any>) => void;
3377
+ "onSubmitted"?: (event: JustifiDisputeManagementCoreCustomEvent<any>) => void;
3362
3378
  }
3363
3379
  interface JustifiDisputeNotification {
3364
3380
  "onClickEvent"?: (event: JustifiDisputeNotificationCustomEvent<any>) => void;
3365
- "onSubmit"?: (event: JustifiDisputeNotificationCustomEvent<any>) => void;
3381
+ "onSubmitted"?: (event: JustifiDisputeNotificationCustomEvent<any>) => void;
3366
3382
  }
3367
3383
  interface JustifiDisputeReason {
3368
3384
  }
@@ -3564,6 +3580,7 @@ declare namespace LocalJSX {
3564
3580
  "accountId"?: string;
3565
3581
  "apiOrigin"?: string;
3566
3582
  "authToken"?: string;
3583
+ "columns"?: string;
3567
3584
  "onError-event"?: (event: JustifiPaymentsListCustomEvent<ComponentError>) => void;
3568
3585
  }
3569
3586
  interface JustifiPayoutDetails {
@@ -3595,7 +3612,9 @@ declare namespace LocalJSX {
3595
3612
  */
3596
3613
  interface JustifiPayoutsList {
3597
3614
  "accountId"?: string;
3615
+ "apiOrigin"?: string;
3598
3616
  "authToken"?: string;
3617
+ "columns"?: string;
3599
3618
  "onError-event"?: (event: JustifiPayoutsListCustomEvent<ComponentError>) => void;
3600
3619
  }
3601
3620
  interface JustifiProductOrService {
@@ -3763,6 +3782,7 @@ declare namespace LocalJSX {
3763
3782
  "onError-event"?: (event: PaymentDetailsCoreCustomEvent<ComponentError>) => void;
3764
3783
  }
3765
3784
  interface PaymentsListCore {
3785
+ "columns"?: string;
3766
3786
  "getPayments"?: Function;
3767
3787
  "onError-event"?: (event: PaymentsListCoreCustomEvent<ComponentError>) => void;
3768
3788
  "onPayment-row-clicked"?: (event: PaymentsListCoreCustomEvent<Payment>) => void;
@@ -3778,11 +3798,18 @@ declare namespace LocalJSX {
3778
3798
  "onError-event"?: (event: PayoutDetailsCoreCustomEvent<ComponentError>) => void;
3779
3799
  }
3780
3800
  interface PayoutsListCore {
3801
+ "columns"?: string;
3781
3802
  "getPayoutCSV"?: Function;
3782
3803
  "getPayouts"?: Function;
3804
+ "getSubAccounts"?: Function;
3783
3805
  "onError-event"?: (event: PayoutsListCoreCustomEvent<ComponentError>) => void;
3784
3806
  "onPayout-row-clicked"?: (event: PayoutsListCoreCustomEvent<Payout>) => void;
3785
3807
  }
3808
+ interface PayoutsListFilters {
3809
+ "clearParams"?: () => void;
3810
+ "params"?: PayoutsTableFilterParams;
3811
+ "setParamsOnChange"?: (name: string, value: string) => void;
3812
+ }
3786
3813
  /**
3787
3814
  * @exportedPart detail-section
3788
3815
  * @exportedPart detail-section-title
@@ -3908,6 +3935,7 @@ declare namespace LocalJSX {
3908
3935
  "payments-list-filters": PaymentsListFilters;
3909
3936
  "payout-details-core": PayoutDetailsCore;
3910
3937
  "payouts-list-core": PayoutsListCore;
3938
+ "payouts-list-filters": PayoutsListFilters;
3911
3939
  "representative-details": RepresentativeDetails;
3912
3940
  "table-filters-menu": TableFiltersMenu;
3913
3941
  "terminals-list-core": TerminalsListCore;
@@ -4202,6 +4230,7 @@ declare module "@stencil/core" {
4202
4230
  "payments-list-filters": LocalJSX.PaymentsListFilters & JSXBase.HTMLAttributes<HTMLPaymentsListFiltersElement>;
4203
4231
  "payout-details-core": LocalJSX.PayoutDetailsCore & JSXBase.HTMLAttributes<HTMLPayoutDetailsCoreElement>;
4204
4232
  "payouts-list-core": LocalJSX.PayoutsListCore & JSXBase.HTMLAttributes<HTMLPayoutsListCoreElement>;
4233
+ "payouts-list-filters": LocalJSX.PayoutsListFilters & JSXBase.HTMLAttributes<HTMLPayoutsListFiltersElement>;
4205
4234
  /**
4206
4235
  * @exportedPart detail-section
4207
4236
  * @exportedPart detail-section-title
@@ -1,2 +1,3 @@
1
+ export declare function composeQueryParams(values: string[]): string;
1
2
  export declare const onFilterChange: (newFilters: any, params: any) => any;
2
3
  export declare const hasFilters: (params: any) => boolean;
@@ -8,7 +8,6 @@ export declare class DateInput {
8
8
  helpText?: string;
9
9
  errorText?: string;
10
10
  disabled?: boolean;
11
- filterTimeZone?: boolean;
12
11
  showTime?: boolean;
13
12
  maxDate?: string;
14
13
  handleDefaultValueChange(newValue: string): void;
@@ -18,7 +17,5 @@ export declare class DateInput {
18
17
  componentDidLoad(): void;
19
18
  handleFormControlInput: (event: any) => void;
20
19
  updateInput(value: any): void;
21
- convertToUTC(value: string): string;
22
- convertToLocal(value: string): string;
23
20
  render(): any;
24
21
  }
@@ -1,5 +1,4 @@
1
1
  import { Address } from '../api/Business';
2
- export declare const RegExZip: RegExp;
3
2
  export declare function formatCurrency(amount: number, withSymbol?: boolean, withCurrencyName?: boolean): string;
4
3
  export declare function formatPercentage(amount: number): string;
5
4
  export declare function formatDate(dateString: string | Date): string;
@@ -7,23 +6,23 @@ export declare function formatMediumDate(input: string | Date): string;
7
6
  export declare function formatDisplayDate(value: any, endDate: string): string;
8
7
  export declare function formatTime(dateString: string): string;
9
8
  export declare function formatTimeSeconds(dateString: string): string;
9
+ interface UTCConversionOptions {
10
+ setEndOfDay?: boolean;
11
+ setExactTime?: boolean;
12
+ }
13
+ export declare const convertToUTC: (dateString: string, options: UTCConversionOptions) => string;
14
+ interface localConversionOptions {
15
+ showDisplayDate?: boolean;
16
+ showInputDate?: boolean;
17
+ showTime?: boolean;
18
+ showInputDateTime?: boolean;
19
+ }
20
+ export declare const convertToLocal: (dateString: string, options: localConversionOptions) => string;
10
21
  export declare function formatAddress(address: Address): string;
11
- export declare function extractComputedFontsToLoad(): string;
12
- /**
13
- * Converts a snake_case string to a human-readable format by replacing underscores with spaces and capitalizing the first letter of each word.
14
- *
15
- * @param snakeCaseStr - The string in snake_case format.
16
- * @returns The string transformed into a human-readable format.
17
- *
18
- * @example
19
- * const readable = toReadableString('sole_proprietorship');
20
- * console.log(readable); // Outputs: "Sole Proprietorship"
21
- */
22
22
  export declare function snakeCaseToHumanReadable(snakeCaseStr: string): string;
23
- export declare function camelToKebab(str: string): string;
24
23
  export declare function snakeToCamel(str: string): string;
25
- export declare function flattenNestedObject(obj: any): {};
26
- export declare function composeQueryParams(values: string[]): string;
27
- export declare function loadFontsOnParent(): Promise<any>;
28
24
  export declare function isEmptyObject(obj: any): boolean;
29
25
  export declare const isInRange: (num: any, min: any, max: any) => boolean;
26
+ export declare function loadFontsOnParent(): Promise<any>;
27
+ export declare function extractComputedFontsToLoad(): string;
28
+ export {};
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e}from"./p-fad19d75.js";import"./p-16d2932d.js";import{p as a}from"./p-56f6ce4c.js";import"./p-d1f75fa6.js";import"./p-3db8b3c7.js";import{o as i}from"./p-e2ce097c.js";import{T as c,a as h,b as r,c as o}from"./p-91de21cc.js";import{c as d,a as b}from"./p-673cf8c4.js";import"./p-c13a7d10.js";const n=class{constructor(e){t(this,e),this.rowClicked=s(this,"checkout-row-clicked",7),this.errorEvent=s(this,"error-event",7),this.handleClickPrevious=t=>{const s=Object.assign({},this.params);delete s.after_cursor,this.params=Object.assign(Object.assign({},s),{before_cursor:t})},this.handleClickNext=t=>{const s=Object.assign({},this.params);delete s.before_cursor,this.params=Object.assign(Object.assign({},s),{after_cursor:t})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;s&&this.rowClicked.emit(this.checkouts.find((t=>t.id===s)))},this.setParamsOnChange=(t,s)=>{this.params=i({[t]:s},this.params)},this.clearParams=()=>{this.errorMessage="",this.params={}},this.getCheckouts=void 0,this.getSubAccounts=void 0,this.columns=void 0,this.checkouts=[],this.checkoutsTable=void 0,this.subAccounts=[],this.loading=!0,this.errorMessage=void 0,this.paging=a,this.params={}}updateOnPropChange(){this.fetchCheckouts()}componentWillLoad(){this.checkoutsTable=new c(this.checkouts,this.columns,d,b),this.getCheckouts&&this.getSubAccounts&&this.fetchCheckouts()}fetchCheckouts(){this.loading=!0,this.getCheckouts({params:this.params,onSuccess:async({checkouts:t,pagingInfo:s})=>{this.checkouts=t,this.paging=s,this.checkoutsTable.collectionData=this.checkouts,this.checkoutsTable.columnKeys.includes("sub_account_name")?await this.fetchSubAccounts():this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}async fetchSubAccounts(){this.getSubAccounts({params:this.subAccountParams,onSuccess:({subAccounts:t})=>{this.subAccounts=t,this.checkouts=this.checkouts.map((t=>{var s;return t.sub_account_name=null===(s=this.subAccounts.find((s=>s.id===t.account_id)))||void 0===s?void 0:s.name,t})),this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}get subAccountParams(){let t=this.checkouts.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.checkouts.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.checkoutsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e("div",{key:"8d2c1fd960b2b3a66f3a1bf648b75576ad2e8857"},e("checkouts-list-filters",{key:"18ba9bf560499112f71a690da751c8e3c4d345a7",params:this.params,setParamsOnChange:this.setParamsOnChange,clearParams:this.clearParams}),e("div",{key:"12cf6ee2912ac6a9518634ebd470dac5f7623aff",class:"table-wrapper"},e("table",{key:"1ea2c118d7efb620dc1f39db55a510a8a473cb31",class:"table table-hover"},e("thead",{key:"5e334a090be56c82b11ae7584bdf4014cc8743c7",class:"table-head sticky-top",part:"table-head"},e("tr",{key:"233137a8b4e30bac28ded78010199bfecd0ac4e7",class:"table-light text-nowrap",part:"table-head-row"},this.checkoutsTable.columnData.map((t=>t)))),e("tbody",{key:"d4ed9d4bf3ac17d4dc7294b875734e02996c7444",class:"table-body",part:"table-body"},e(h,{key:"a7afbb627c768139af4244da5c12fae493dceafb",columnSpan:this.checkoutsTable.columnKeys.length,isLoading:this.loading}),e(r,{key:"802c43c8da770bca9a249a88d115901e9b14e102",isEmpty:this.showEmptyState,columnSpan:this.checkoutsTable.columnKeys.length}),e(o,{key:"f1cd197cf7d1d5d81868a5abfafa40df762ca3c8",columnSpan:this.checkoutsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.checkoutsTable.rowData.map(((t,s)=>e("tr",{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler,part:"table-row "+(s%2?"table-row-even":"table-row-odd")},t)))),this.paging&&e("tfoot",{key:"f0c367854322c341515bc481159101e9659117c7",class:"sticky-bottom"},e("tr",{key:"88bc665c23665eddc4c88d27acc8c8f1cb39e277",class:"table-light align-middle"},e("td",{key:"8be265c9b43033cfd3e2c4b3f12ac6d6c104e53d",part:"pagination-bar",colSpan:this.checkoutsTable.columnData.length},e("pagination-menu",{key:"6abdb6091b78e58ec71ac6bf66f278ed9b6542fb",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext}),params:this.params})))))))}static get watchers(){return{params:["updateOnPropChange"],getCheckouts:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{n as checkouts_list_core}
@@ -1 +1 @@
1
- import{h as e}from"./p-fad19d75.js";const t=e=>{switch(e){case"connected":return"<span class='badge bg-success' title='This terminal is connected.'>Connected</span>";case"disconnected":return"<span class='badge bg-danger' title='This terminal is disconnected.'>Disconnected</span>";case"unknown":return"<span class='badge bg-secondary' title='The status of this terminal is unknown'>Unknown</span>"}},a="nickname,provider_id,status",n={nickname:()=>e("th",{part:"table-head-cell",scope:"col",title:"The nickname associated with the terminal"},"Nickname"),provider_id:()=>e("th",{part:"table-head-cell",scope:"col",title:"The provider ID of the terminal"},"Provider ID"),sub_account_name:()=>e("th",{part:"table-head-cell",scope:"col",title:"The sub account associated with the terminal"},"Sub Account"),status:()=>e("th",{part:"table-head-cell",scope:"col",title:"The current status of each terminal"},"Status")},s={nickname:t=>e("td",null,t),provider_id:t=>e("td",null,t),sub_account_name:t=>e("td",null,t),status:a=>e("td",{innerHTML:t(a)})};export{s as a,a as d,n as t}
1
+ import{h as e}from"./p-fad19d75.js";const t=e=>{switch(e){case"connected":return"<span class='badge bg-success' title='This terminal is connected.'>Connected</span>";case"disconnected":return"<span class='badge bg-danger' title='This terminal is disconnected.'>Disconnected</span>";case"unknown":return"<span class='badge bg-secondary' title='The status of this terminal is unknown'>Unknown</span>"}},a="nickname,provider_id,status",n={nickname:()=>e("th",{part:"table-head-cell",scope:"col",title:"The nickname associated with the terminal"},"Nickname"),provider_id:()=>e("th",{part:"table-head-cell",scope:"col",title:"The provider ID of the terminal"},"Provider ID"),sub_account_name:()=>e("th",{part:"table-head-cell",scope:"col",title:"The sub account associated with the terminal"},"Sub Account"),status:()=>e("th",{part:"table-head-cell",scope:"col",title:"The current status of each terminal"},"Status")},s={nickname:t=>e("td",{part:"table-cell"},t),provider_id:t=>e("td",{part:"table-cell"},t),sub_account_name:t=>e("td",{part:"table-cell"},t),status:a=>e("td",{part:"table-cell",innerHTML:t(a)})};export{s as a,a as d,n as t}
@@ -0,0 +1 @@
1
+ import{r as e,h as a}from"./p-fad19d75.js";import{l as t}from"./p-c6be72b0.js";const l=class{constructor(a){e(this,a),this.params={},this.setParamsOnChange=void 0,this.clearParams=void 0}componentWillLoad(){this.debouncedSetParamsOnChange=t.exports.debounce(this.setParamsOnChange,300)}get terminalStatusOptions(){return[{label:"All",value:""},{label:"Connected",value:"connected"},{label:"Disconnected",value:"disconnected"},{label:"Unknown",value:"unknown"}]}render(){return a("table-filters-menu",{key:"486847f69064b497b72521312d27097690eb19b2",params:this.params,clearParams:this.clearParams},a("div",{key:"622e3572ff1cf85a60ffa30c4fa5d39780375abb",class:"grid-cols-2 gap-3 p-1"},a("div",{key:"2cef9085c3d09e96907cdaa8330e8b8b80d8ceec",class:"p-2"},a("form-control-text",{key:"a3922b71cbdc93bbdddd519e44bad25379c6b5f4",name:"terminal_id",label:"Terminal ID",inputHandler:this.debouncedSetParamsOnChange,defaultValue:this.params.terminal_id})),a("div",{key:"1027edf52dc1ceacc4779b29bda4b7d08c8a3c8c",class:"p-2"},a("form-control-select",{key:"e1f122b2868282a64dccc99b3e9d19fe7cc768fb",name:"status",label:"Status",options:this.terminalStatusOptions,inputHandler:this.setParamsOnChange,defaultValue:this.params.status||""}))))}};export{l as terminals_list_filters}