@justifi/webcomponents 5.6.0 → 5.7.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 (661) hide show
  1. package/dist/cjs/ApiNew-C8nf_gS9.js +86 -0
  2. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  3. package/dist/cjs/{badge-DwSZ83Bm.js → badge-BxoJOyTJ.js} +2 -2
  4. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +5 -4
  5. package/dist/cjs/bank-account-form_9.cjs.entry.js +31 -21
  6. package/dist/cjs/{business-additional-questions-schema-mzZ2gYHQ.js → business-additional-questions-schema-gVepoR4V.js} +1 -1
  7. package/dist/cjs/business-details-core.cjs.entry.js +6 -5
  8. package/dist/cjs/{business.service-Crmkeulk.js → business.service-yVtplFhh.js} +15 -24
  9. package/dist/cjs/{button-Cp4u5YgP.js → button-BPFSRx4d.js} +2 -2
  10. package/dist/cjs/{check-pkg-version-C4d9pl8G.js → check-pkg-version-BYKcQDik.js} +4 -3
  11. package/dist/cjs/checkout.service-Dd2AbBn2.js +28 -0
  12. package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -10
  13. package/dist/cjs/{payouts-list-params-state-DX4jg37H.js → checkouts-list-params-state-BvG5Ysrg.js} +1 -1
  14. package/dist/cjs/{checkouts-table-nsXjlcI1.js → checkouts-table-_T5eblyc.js} +3 -3
  15. package/dist/cjs/config-state-D7p-XunE.js +42 -0
  16. package/dist/cjs/custom-popper_4.cjs.entry.js +4 -3
  17. package/dist/cjs/dispute.service-C0J-Wh-Y.js +28 -0
  18. package/dist/cjs/event-types-YOY5TKUN.js +8 -0
  19. package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
  20. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -4
  21. package/dist/cjs/form-control-date.cjs.entry.js +4 -3
  22. package/dist/cjs/{form-control-error-text-NbHDc1JL.js → form-control-error-text-D9XDyFoW.js} +2 -2
  23. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  24. package/dist/cjs/{form-control-help-text-bc3qGHAG.js → form-control-help-text-J_boqSMc.js} +2 -2
  25. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  26. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +5 -4
  27. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -4
  28. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -3
  29. package/dist/cjs/form-control-number.cjs.entry.js +5 -4
  30. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  31. package/dist/cjs/{get-business-BBzGEPBG.js → get-business-DHg5rpse.js} +2 -2
  32. package/dist/cjs/{get-payment-details-DQyJtwTw.js → get-payment-details-DqvDYbnK.js} +2 -2
  33. package/dist/cjs/{get-payout-csv-Jr_0DmmY.js → get-payout-csv-CXEQkjDm.js} +2 -2
  34. package/dist/cjs/{get-subaccounts-zwxhG-O3.js → get-subaccounts-CquZS5kP.js} +8 -8
  35. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  36. package/dist/cjs/{header-1-kwWMtg3s.js → header-1-auSUfIpO.js} +2 -2
  37. package/dist/cjs/{header-3-CNWIH9ZU.js → header-3-B-bXHCpC.js} +2 -2
  38. package/dist/cjs/{iframe-input-styles-state-jHHRvqzM.js → iframe-input-styles-state-D9vhHzZQ.js} +1 -1
  39. package/dist/cjs/iframe-input.cjs.entry.js +6 -6
  40. package/dist/cjs/{index-DzQdh5ij.js → index-B8ljHEN1.js} +1 -1
  41. package/dist/cjs/{index-BRQfozbS.js → index-BYd8IvAa.js} +1 -1
  42. package/dist/cjs/{insurance-state-DbXkNYds.js → insurance-state-CFxbKNWH.js} +3 -3
  43. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +7 -6
  44. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +8 -4
  45. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +2 -2
  46. package/dist/cjs/justifi-business-details.cjs.entry.js +10 -8
  47. package/dist/cjs/justifi-business-form.cjs.entry.js +72 -49
  48. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  49. package/dist/cjs/justifi-checkout-core.cjs.entry.js +11 -10
  50. package/dist/cjs/justifi-checkout.cjs.entry.js +9 -14
  51. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -5
  52. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +18 -18
  53. package/dist/cjs/justifi-config-provider.cjs.entry.js +26 -0
  54. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  55. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  56. package/dist/cjs/justifi-dispute-management.cjs.entry.js +11 -16
  57. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +12 -15
  58. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -5
  59. package/dist/cjs/justifi-order-terminals.cjs.entry.js +19 -20
  60. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -5
  61. package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -11
  62. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +5 -4
  63. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -10
  64. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +17 -16
  65. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -5
  66. package/dist/cjs/justifi-payments-list.cjs.entry.js +17 -16
  67. package/dist/cjs/justifi-payout-details.cjs.entry.js +11 -11
  68. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +18 -16
  69. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -5
  70. package/dist/cjs/justifi-payouts-list.cjs.entry.js +20 -26
  71. package/dist/cjs/justifi-refund-payment.cjs.entry.js +21 -20
  72. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +7 -6
  73. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -3
  74. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +6 -5
  75. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +19 -22
  76. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +6 -5
  77. package/dist/cjs/justifi-terminals-list.cjs.entry.js +18 -18
  78. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +11 -9
  79. package/dist/cjs/loader.cjs.js +2 -2
  80. package/dist/cjs/{package-S6wVKDKx.js → package-CX6Njc5t.js} +1 -1
  81. package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
  82. package/dist/cjs/{parts-D_uKOPFe.js → parts-9jMf1erK.js} +29 -4
  83. package/dist/cjs/payment-details-core.cjs.entry.js +12 -8
  84. package/dist/cjs/payment.service-BvTU2Orj.js +21 -0
  85. package/dist/cjs/payments-list-core.cjs.entry.js +12 -11
  86. package/dist/cjs/{terminal-orders-list-params-state-DX4jg37H.js → payments-list-params-state-BvG5Ysrg.js} +1 -1
  87. package/dist/cjs/{payments-status-CQq7KrHL.js → payments-status-BTykBx8i.js} +2 -2
  88. package/dist/cjs/{payments-table-ClOxMnZ8.js → payments-table-BkRhDePE.js} +3 -3
  89. package/dist/cjs/payout-details-core.cjs.entry.js +13 -9
  90. package/dist/cjs/payout.service-C99pgxvg.js +26 -0
  91. package/dist/cjs/payouts-list-core.cjs.entry.js +12 -11
  92. package/dist/cjs/{checkouts-list-params-state-DX4jg37H.js → payouts-list-params-state-BvG5Ysrg.js} +1 -1
  93. package/dist/cjs/{payouts-status-BdfV3jvX.js → payouts-status-YCqmbd4K.js} +2 -2
  94. package/dist/cjs/{payouts-table-Bo3pLf4Z.js → payouts-table-DJMz3bVh.js} +3 -3
  95. package/dist/cjs/{skeleton-BXVndBVC.js → skeleton-aMh0RMHq.js} +2 -2
  96. package/dist/cjs/{spinner-CSH2OUiV.js → spinner-BTyIjlMM.js} +2 -2
  97. package/dist/cjs/{styled-host-CzJ8Ux1t.js → styled-host-udkBJV5h.js} +1 -1
  98. package/dist/cjs/{event-types-CjInBN20.js → table-DKVauFHc.js} +40 -10
  99. package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
  100. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +11 -10
  101. package/dist/cjs/{payments-list-params-state-DX4jg37H.js → terminal-orders-list-params-state-BvG5Ysrg.js} +1 -1
  102. package/dist/cjs/{terminal-orders-table-CXmVc7uU.js → terminal-orders-table-BeeUTKtj.js} +3 -3
  103. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  104. package/dist/cjs/terminal.service-DEGcoaCb.js +29 -0
  105. package/dist/cjs/terminals-list-core.cjs.entry.js +11 -10
  106. package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +22 -0
  107. package/dist/cjs/{terminals-table-vYbTPOpy.js → terminals-table-D2XUsf_J.js} +3 -3
  108. package/dist/cjs/{utils-DxbncJhj.js → utils-5lco6NzU.js} +2 -2
  109. package/dist/cjs/webcomponents.cjs.js +3 -3
  110. package/dist/collection/actions/business/get-business.js +2 -2
  111. package/dist/collection/actions/checkout/get-checkouts.js +2 -2
  112. package/dist/collection/actions/dispute/dispute-actions.js +2 -2
  113. package/dist/collection/actions/payment/get-payment-details.js +2 -2
  114. package/dist/collection/actions/payment/get-payment-transactions.js +2 -2
  115. package/dist/collection/actions/payment/get-payments.js +2 -2
  116. package/dist/collection/actions/payout/get-payout-transactions.js +2 -2
  117. package/dist/collection/actions/payout/get-payouts.js +2 -2
  118. package/dist/collection/actions/refund/refund-actions.js +2 -2
  119. package/dist/collection/actions/sub-account/get-subaccounts.js +2 -2
  120. package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
  121. package/dist/collection/actions/terminal/get-terminal-orders.js +2 -2
  122. package/dist/collection/actions/terminal/get-terminals.js +2 -2
  123. package/dist/collection/api/ApiNew.js +82 -0
  124. package/dist/collection/api/services/analytics.service.js +3 -2
  125. package/dist/collection/api/services/business.service.js +15 -24
  126. package/dist/collection/api/services/checkout.service.js +9 -15
  127. package/dist/collection/api/services/dispute.service.js +9 -14
  128. package/dist/collection/api/services/payment.service.js +8 -8
  129. package/dist/collection/api/services/payout.service.js +11 -13
  130. package/dist/collection/api/services/provision.service.js +4 -6
  131. package/dist/collection/api/services/refund.service.js +5 -4
  132. package/dist/collection/api/services/subaccounts.service.js +5 -5
  133. package/dist/collection/api/services/terminal.service.js +14 -15
  134. package/dist/collection/api/services/terminal_orders.service.js +5 -9
  135. package/dist/collection/collection-manifest.json +3 -2
  136. package/dist/collection/components/business-forms/business-form/business-form.js +77 -38
  137. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +1 -1
  138. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
  139. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +16 -33
  140. package/dist/collection/components/checkout/card-form/card-form.js +9 -26
  141. package/dist/collection/components/checkout/checkout-core.js +2 -21
  142. package/dist/collection/components/checkout/checkout.js +2 -23
  143. package/dist/collection/components/checkout/new-payment-method.js +2 -21
  144. package/dist/collection/components/checkout/payment-method-options.js +2 -21
  145. package/dist/collection/components/checkouts-list/checkouts-list-core.js +2 -3
  146. package/dist/collection/components/checkouts-list/checkouts-list.js +3 -26
  147. package/dist/collection/components/config-provider/config-provider.js +83 -0
  148. package/dist/collection/components/config-provider/config-state.js +36 -0
  149. package/dist/collection/components/dispute-management/dispute-management.js +2 -24
  150. package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +2 -2
  151. package/dist/collection/{ui-components → components}/filters/table-filters-menu.js +3 -3
  152. package/dist/collection/components/order-terminals/order-terminals.js +4 -28
  153. package/dist/collection/components/payment-details/payment-details-core.js +4 -1
  154. package/dist/collection/components/payment-details/payment-details.js +1 -23
  155. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +3 -26
  156. package/dist/collection/components/payments-list/payments-list-core.js +2 -3
  157. package/dist/collection/components/payments-list/payments-list.js +2 -24
  158. package/dist/collection/components/payout-details/get-payout-csv.js +2 -2
  159. package/dist/collection/components/payout-details/payout-details-core.js +4 -1
  160. package/dist/collection/components/payout-details/payout-details.js +1 -23
  161. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +5 -26
  162. package/dist/collection/components/payouts-list/payouts-list-core.js +2 -3
  163. package/dist/collection/components/payouts-list/payouts-list.js +4 -27
  164. package/dist/collection/components/refund-payment/refund-payment.js +2 -25
  165. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +2 -3
  166. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +2 -24
  167. package/dist/collection/components/terminals-list/terminals-list-core.js +2 -3
  168. package/dist/collection/components/terminals-list/terminals-list.js +3 -26
  169. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -22
  170. package/dist/collection/styles/parts.js +17 -3
  171. package/dist/collection/ui-components/index.js +1 -4
  172. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +4 -4
  173. package/dist/collection/ui-components/table/index.js +5 -0
  174. package/dist/collection/ui-components/{table-empty-state.js → table/table-empty-state.js} +1 -1
  175. package/dist/collection/ui-components/{table-error-state.js → table/table-error-state.js} +1 -1
  176. package/dist/collection/ui-components/{table-loading-state.js → table/table-loading-state.js} +2 -2
  177. package/dist/collection/ui-components/table/table.js +29 -0
  178. package/dist/docs.json +119 -473
  179. package/dist/esm/ApiNew-KYhsw8Nv.js +84 -0
  180. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  181. package/dist/esm/{badge-D5PvLnZT.js → badge-Du9GTXoB.js} +2 -2
  182. package/dist/esm/bank-account-document-form-inputs_4.entry.js +5 -4
  183. package/dist/esm/bank-account-form_9.entry.js +31 -21
  184. package/dist/esm/{business-additional-questions-schema-W6okG5Xu.js → business-additional-questions-schema-DWnZs60Z.js} +1 -1
  185. package/dist/esm/business-details-core.entry.js +6 -5
  186. package/dist/esm/business.service-_645Z23O.js +46 -0
  187. package/dist/esm/{button-wgHJf7hN.js → button-CjH5C0pG.js} +2 -2
  188. package/dist/esm/{check-pkg-version-iIBw3nCc.js → check-pkg-version-Dh7UNmHL.js} +4 -3
  189. package/dist/esm/checkout.service-7FGjq0rO.js +26 -0
  190. package/dist/esm/checkouts-list-core.entry.js +10 -9
  191. package/dist/esm/{checkouts-list-params-state-qgJxi6iW.js → checkouts-list-params-state-Bn7pL-8x.js} +1 -1
  192. package/dist/esm/{checkouts-table-DQfjKgR-.js → checkouts-table-DKd0QLys.js} +3 -3
  193. package/dist/esm/config-state-CkKrqnpZ.js +38 -0
  194. package/dist/esm/custom-popper_4.entry.js +4 -3
  195. package/dist/esm/dispute.service-lJlAFuE6.js +26 -0
  196. package/dist/esm/event-types-CZfYo5-1.js +8 -0
  197. package/dist/esm/form-alert_5.entry.js +2 -2
  198. package/dist/esm/form-control-checkbox.entry.js +5 -4
  199. package/dist/esm/form-control-date.entry.js +4 -3
  200. package/dist/esm/{form-control-error-text-nyeinPVQ.js → form-control-error-text-tGFxd6kW.js} +2 -2
  201. package/dist/esm/form-control-file-v2_2.entry.js +3 -3
  202. package/dist/esm/{form-control-help-text-QhxeQeTV.js → form-control-help-text-2DawN8-N.js} +2 -2
  203. package/dist/esm/form-control-help-text.entry.js +1 -1
  204. package/dist/esm/form-control-monetary-provisioning.entry.js +5 -4
  205. package/dist/esm/form-control-monetary.entry.js +5 -4
  206. package/dist/esm/form-control-number-masked_2.entry.js +4 -3
  207. package/dist/esm/form-control-number.entry.js +5 -4
  208. package/dist/esm/form-control-radio.entry.js +2 -2
  209. package/dist/esm/{get-business-B3c5gg1D.js → get-business-CIKToQur.js} +2 -2
  210. package/dist/esm/{get-payment-details-Bzh5t6A8.js → get-payment-details-CXiGG9cO.js} +2 -2
  211. package/dist/esm/{get-payout-csv-bM3pZLKB.js → get-payout-csv-D7IYYqVL.js} +2 -2
  212. package/dist/esm/{get-subaccounts-BB3Sqb3H.js → get-subaccounts-DIJtLFsb.js} +8 -8
  213. package/dist/esm/gross-payment-chart-core.entry.js +4 -4
  214. package/dist/esm/{header-1-DNg4xuR6.js → header-1-D2gZb3iT.js} +2 -2
  215. package/dist/esm/{header-3-BD_mh7vB.js → header-3-DAg8Vh4B.js} +2 -2
  216. package/dist/esm/{iframe-input-styles-state-DeH54Fkx.js → iframe-input-styles-state-ibYqbF--.js} +1 -1
  217. package/dist/esm/iframe-input.entry.js +6 -6
  218. package/dist/esm/{index-4sfb1rKO.js → index-Cc3u0uDC.js} +1 -1
  219. package/dist/esm/{index-D4-FKsCU.js → index-D6FDxSyt.js} +1 -1
  220. package/dist/esm/{insurance-state-CXUWRQQk.js → insurance-state-CsZbKSgm.js} +3 -3
  221. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +7 -6
  222. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +9 -5
  223. package/dist/esm/justifi-additional-statement_8.entry.js +2 -2
  224. package/dist/esm/justifi-business-details.entry.js +10 -8
  225. package/dist/esm/justifi-business-form.entry.js +72 -49
  226. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  227. package/dist/esm/justifi-checkout-core.entry.js +11 -10
  228. package/dist/esm/justifi-checkout.entry.js +9 -14
  229. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -5
  230. package/dist/esm/justifi-checkouts-list.entry.js +18 -18
  231. package/dist/esm/justifi-config-provider.entry.js +24 -0
  232. package/dist/esm/justifi-details.entry.js +3 -3
  233. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  234. package/dist/esm/justifi-dispute-management.entry.js +11 -16
  235. package/dist/esm/justifi-dispute-notification_3.entry.js +12 -15
  236. package/dist/esm/justifi-gross-payment-chart.entry.js +8 -5
  237. package/dist/esm/justifi-order-terminals.entry.js +19 -20
  238. package/dist/esm/justifi-owner-form_3.entry.js +9 -6
  239. package/dist/esm/justifi-payment-details.entry.js +11 -11
  240. package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -4
  241. package/dist/esm/justifi-payment-provisioning.entry.js +11 -11
  242. package/dist/esm/justifi-payment-transactions-list.entry.js +16 -15
  243. package/dist/esm/justifi-payments-list-filters.entry.js +6 -5
  244. package/dist/esm/justifi-payments-list.entry.js +17 -16
  245. package/dist/esm/justifi-payout-details.entry.js +11 -11
  246. package/dist/esm/justifi-payout-transactions-list.entry.js +17 -15
  247. package/dist/esm/justifi-payouts-list-filters.entry.js +6 -5
  248. package/dist/esm/justifi-payouts-list.entry.js +20 -26
  249. package/dist/esm/justifi-refund-payment.entry.js +21 -20
  250. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -6
  251. package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -3
  252. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -5
  253. package/dist/esm/justifi-terminal-orders-list.entry.js +19 -22
  254. package/dist/esm/justifi-terminals-list-filters.entry.js +6 -5
  255. package/dist/esm/justifi-terminals-list.entry.js +18 -18
  256. package/dist/esm/justifi-tokenize-payment-method.entry.js +11 -9
  257. package/dist/esm/loader.js +3 -3
  258. package/dist/esm/{package-DGWLSvML.js → package-DLLK41AX.js} +1 -1
  259. package/dist/esm/pagination-menu.entry.js +5 -5
  260. package/dist/esm/{parts-6ctk_bhj.js → parts-BrLVc_85.js} +18 -4
  261. package/dist/esm/payment-details-core.entry.js +12 -8
  262. package/dist/esm/{payment-provisioning-actions-CZYFFdTf.js → payment-provisioning-actions-BIfyW239.js} +1 -1
  263. package/dist/esm/payment.service-DdCJ1Dc7.js +19 -0
  264. package/dist/esm/payments-list-core.entry.js +11 -10
  265. package/dist/esm/{payments-list-params-state-qgJxi6iW.js → payments-list-params-state-Bn7pL-8x.js} +1 -1
  266. package/dist/esm/{payments-status-nKLMqTrO.js → payments-status-CIUXcA0w.js} +2 -2
  267. package/dist/esm/{payments-table-BrvZHeak.js → payments-table-BBf5fV74.js} +3 -3
  268. package/dist/esm/payout-details-core.entry.js +13 -9
  269. package/dist/esm/payout.service-G1Isezyi.js +24 -0
  270. package/dist/esm/payouts-list-core.entry.js +11 -10
  271. package/dist/esm/{payouts-list-params-state-qgJxi6iW.js → payouts-list-params-state-Bn7pL-8x.js} +1 -1
  272. package/dist/esm/{payouts-status-tVJFGPCs.js → payouts-status-Clo03qUI.js} +2 -2
  273. package/dist/esm/{payouts-table-CgfTp9tE.js → payouts-table-DhZEXhGH.js} +3 -3
  274. package/dist/esm/{skeleton-D8dsThNX.js → skeleton-Dlpibtr0.js} +2 -2
  275. package/dist/esm/{spinner-BVJ-upD0.js → spinner-onCBxbdo.js} +2 -2
  276. package/dist/esm/{styled-host-D594Ui4d.js → styled-host-C7vaWLiB.js} +1 -1
  277. package/dist/esm/table-filters-menu.entry.js +4 -4
  278. package/dist/esm/table-p4dOlFPi.js +83 -0
  279. package/dist/esm/terminal-orders-list-core.entry.js +10 -9
  280. package/dist/esm/{terminal-orders-list-params-state-qgJxi6iW.js → terminal-orders-list-params-state-Bn7pL-8x.js} +1 -1
  281. package/dist/esm/{terminal-orders-table-CgioW1d8.js → terminal-orders-table-BlT9YrFD.js} +3 -3
  282. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  283. package/dist/esm/terminal.service-aFe-O3PC.js +27 -0
  284. package/dist/esm/terminals-list-core.entry.js +10 -9
  285. package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +16 -0
  286. package/dist/esm/{terminals-table-D7LKwR85.js → terminals-table-CkWr-6tD.js} +3 -3
  287. package/dist/esm/{utils-1z8cNzLu.js → utils-BpP_VJGf.js} +2 -2
  288. package/dist/esm/webcomponents.js +4 -4
  289. package/dist/module/ApiNew.js +84 -0
  290. package/dist/module/Dispute.js +57 -0
  291. package/dist/module/Payment.js +2 -57
  292. package/dist/module/additional-statement.js +1 -1
  293. package/dist/module/badge.js +1 -1
  294. package/dist/module/bank-account-form-inputs2.js +1 -1
  295. package/dist/module/bank-account-form2.js +15 -10
  296. package/dist/module/billing-form.js +2 -1
  297. package/dist/module/business-additional-questions-form-step-core.js +1 -1
  298. package/dist/module/business-bank-account-form-step-core.js +1 -1
  299. package/dist/module/business-core-info-form-step-core.js +2 -2
  300. package/dist/module/business-core-info-schema.js +1 -1
  301. package/dist/module/business-details-core2.js +1 -0
  302. package/dist/module/business-documents-on-file2.js +1 -0
  303. package/dist/module/business-owners-form-step-core.js +2 -1
  304. package/dist/module/business-representative-form-step-core.js +1 -1
  305. package/dist/module/business-terms-conditions-form-step.js +1 -1
  306. package/dist/module/business.service.js +15 -24
  307. package/dist/module/button.js +1 -1
  308. package/dist/module/cancellation-policy.js +1 -1
  309. package/dist/module/card-form2.js +8 -3
  310. package/dist/module/check-pkg-version.js +3 -2
  311. package/dist/module/checkout-core.js +4 -4
  312. package/dist/module/checkout.service.js +9 -21
  313. package/dist/module/checkouts-list-core2.js +4 -3
  314. package/dist/module/config-state.js +38 -0
  315. package/dist/module/customer-details.js +1 -1
  316. package/dist/module/dispute-management-core.js +2 -2
  317. package/dist/module/dispute-notification.js +3 -2
  318. package/dist/module/dispute-response-actions.js +9 -19
  319. package/dist/module/dispute-response-core.js +2 -2
  320. package/dist/module/dispute-response.js +1 -0
  321. package/dist/module/duplicate-charge.js +1 -1
  322. package/dist/module/electronic-evidence.js +1 -1
  323. package/dist/module/event-types.js +7 -22
  324. package/dist/module/event-types2.js +22 -21
  325. package/dist/module/event-types3.js +21 -61
  326. package/dist/module/form-alert2.js +1 -1
  327. package/dist/module/form-control-checkbox2.js +2 -1
  328. package/dist/module/form-control-date2.js +1 -0
  329. package/dist/module/form-control-file2.js +1 -0
  330. package/dist/module/form-control-monetary-provisioning2.js +2 -1
  331. package/dist/module/form-control-monetary2.js +2 -1
  332. package/dist/module/form-control-number-masked2.js +1 -0
  333. package/dist/module/form-control-number.js +2 -1
  334. package/dist/module/form-control-radio2.js +1 -1
  335. package/dist/module/form-control-select2.js +1 -0
  336. package/dist/module/form-control-text2.js +1 -0
  337. package/dist/module/form-control-textarea2.js +1 -1
  338. package/dist/module/get-business.js +2 -2
  339. package/dist/module/get-payment-details.js +3 -3
  340. package/dist/module/get-payout-csv.js +2 -2
  341. package/dist/module/get-subaccounts.js +8 -8
  342. package/dist/module/hidden-input2.js +1 -1
  343. package/dist/module/iframe-input2.js +1 -1
  344. package/dist/module/justifi-business-form.js +60 -40
  345. package/dist/module/justifi-checkout.js +2 -4
  346. package/dist/module/justifi-checkouts-list-filters.js +2 -1
  347. package/dist/module/justifi-checkouts-list.js +6 -9
  348. package/dist/module/justifi-config-provider.d.ts +11 -0
  349. package/dist/module/justifi-config-provider.js +45 -0
  350. package/dist/module/justifi-dispute-management.js +5 -8
  351. package/dist/module/justifi-order-terminals.js +8 -12
  352. package/dist/module/justifi-payment-details.js +1 -4
  353. package/dist/module/justifi-payment-provisioning.js +4 -6
  354. package/dist/module/justifi-payment-transactions-list.js +7 -9
  355. package/dist/module/justifi-payments-list-filters.js +2 -1
  356. package/dist/module/justifi-payments-list.js +6 -8
  357. package/dist/module/justifi-payout-details.js +1 -4
  358. package/dist/module/justifi-payout-transactions-list.js +9 -9
  359. package/dist/module/justifi-payouts-list-filters.js +2 -1
  360. package/dist/module/justifi-payouts-list.js +6 -15
  361. package/dist/module/justifi-refund-payment.js +10 -12
  362. package/dist/module/justifi-terminal-orders-list-filters.js +2 -1
  363. package/dist/module/justifi-terminal-orders-list.js +10 -16
  364. package/dist/module/justifi-terminals-list-filters.js +2 -1
  365. package/dist/module/justifi-terminals-list.js +6 -9
  366. package/dist/module/justifi-tokenize-payment-method.js +2 -3
  367. package/dist/module/legal-address-form-step-core.js +1 -1
  368. package/dist/module/new-payment-method.js +3 -4
  369. package/dist/module/owner-form-core2.js +3 -2
  370. package/dist/module/package.js +1 -1
  371. package/dist/module/pagination-menu2.js +4 -4
  372. package/dist/module/parts.js +18 -4
  373. package/dist/module/payment-details-core2.js +5 -1
  374. package/dist/module/payment-method-options.js +2 -3
  375. package/dist/module/payment-provisioning-core.js +2 -1
  376. package/dist/module/payment-provisioning-form-buttons.js +2 -1
  377. package/dist/module/payment-provisioning-loading.js +1 -0
  378. package/dist/module/payment.service.js +8 -14
  379. package/dist/module/payments-list-core2.js +4 -3
  380. package/dist/module/payout-details-core2.js +5 -1
  381. package/dist/module/payout.service.js +11 -19
  382. package/dist/module/payouts-list-core2.js +4 -3
  383. package/dist/module/product-or-service.js +1 -1
  384. package/dist/module/refund-policy.js +1 -1
  385. package/dist/module/saved-payment-method.js +1 -1
  386. package/dist/module/season-interruption-insurance-core.js +1 -0
  387. package/dist/module/sezzle-payment-method.js +1 -1
  388. package/dist/module/shipping-details.js +1 -1
  389. package/dist/module/spinner.js +1 -1
  390. package/dist/module/table-filters-menu2.js +2 -2
  391. package/dist/module/table.js +83 -0
  392. package/dist/module/terminal-orders-list-core2.js +4 -3
  393. package/dist/module/terminal-quantity-selector2.js +1 -1
  394. package/dist/module/terminal.service.js +14 -21
  395. package/dist/module/terminals-list-core2.js +4 -3
  396. package/dist/types/actions/business/get-business.d.ts +1 -2
  397. package/dist/types/actions/checkout/get-checkouts.d.ts +1 -2
  398. package/dist/types/actions/dispute/dispute-actions.d.ts +1 -2
  399. package/dist/types/actions/payment/get-payment-details.d.ts +1 -2
  400. package/dist/types/actions/payment/get-payment-transactions.d.ts +1 -2
  401. package/dist/types/actions/payment/get-payments.d.ts +1 -2
  402. package/dist/types/actions/payout/get-payout-transactions.d.ts +2 -2
  403. package/dist/types/actions/payout/get-payouts.d.ts +1 -2
  404. package/dist/types/actions/refund/refund-actions.d.ts +1 -2
  405. package/dist/types/actions/sub-account/get-subaccounts.d.ts +1 -2
  406. package/dist/types/actions/terminal/get-terminal-models.d.ts +1 -2
  407. package/dist/types/actions/terminal/get-terminal-orders.d.ts +1 -2
  408. package/dist/types/actions/terminal/get-terminals.d.ts +1 -2
  409. package/dist/types/api/ApiNew.d.ts +61 -0
  410. package/dist/types/api/services/business.service.d.ts +1 -1
  411. package/dist/types/api/services/checkout.service.d.ts +2 -2
  412. package/dist/types/api/services/payment.service.d.ts +7 -7
  413. package/dist/types/api/services/payout.service.d.ts +10 -9
  414. package/dist/types/api/services/refund.service.d.ts +2 -2
  415. package/dist/types/api/services/subaccounts.service.d.ts +4 -3
  416. package/dist/types/api/services/terminal.service.d.ts +8 -8
  417. package/dist/types/api/services/terminal_orders.service.d.ts +2 -2
  418. package/dist/types/components/business-forms/business-form/business-form.d.ts +8 -6
  419. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
  420. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
  421. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +3 -2
  422. package/dist/types/components/checkout/card-form/card-form.d.ts +2 -1
  423. package/dist/types/components/checkout/checkout-core.d.ts +0 -1
  424. package/dist/types/components/checkout/checkout.d.ts +0 -1
  425. package/dist/types/components/checkout/new-payment-method.d.ts +0 -1
  426. package/dist/types/components/checkout/payment-method-options.d.ts +0 -1
  427. package/dist/types/components/checkouts-list/checkouts-list.d.ts +0 -1
  428. package/dist/types/components/config-provider/config-provider.d.ts +7 -0
  429. package/dist/types/components/config-provider/config-state.d.ts +13 -0
  430. package/dist/types/components/dispute-management/dispute-management.d.ts +0 -1
  431. package/dist/types/components/dispute-management/dispute-response/dispute-response-actions.d.ts +1 -2
  432. package/dist/types/components/order-terminals/order-terminals.d.ts +0 -1
  433. package/dist/types/components/payment-details/payment-details.d.ts +0 -1
  434. package/dist/types/components/payment-transactions-list/payment-transactions-list.d.ts +0 -1
  435. package/dist/types/components/payments-list/payments-list.d.ts +0 -1
  436. package/dist/types/components/payout-details/get-payout-csv.d.ts +1 -2
  437. package/dist/types/components/payout-details/payout-details.d.ts +0 -1
  438. package/dist/types/components/payout-transactions-list/payout-transactions-list.d.ts +0 -1
  439. package/dist/types/components/payouts-list/payouts-list.d.ts +0 -1
  440. package/dist/types/components/refund-payment/refund-payment.d.ts +0 -1
  441. package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +0 -1
  442. package/dist/types/components/terminals-list/terminals-list.d.ts +0 -1
  443. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +0 -1
  444. package/dist/types/components.d.ts +21 -38
  445. package/dist/types/styles/parts.d.ts +17 -4
  446. package/dist/types/ui-components/index.d.ts +1 -4
  447. package/dist/types/ui-components/table/index.d.ts +5 -0
  448. package/dist/types/ui-components/table/table.d.ts +9 -0
  449. package/dist/webcomponents/p-05138b5d.entry.js +1 -0
  450. package/dist/webcomponents/p-0661622e.entry.js +1 -0
  451. package/dist/webcomponents/p-0a4abfba.entry.js +1 -0
  452. package/dist/webcomponents/p-0d73af88.entry.js +1 -0
  453. package/dist/webcomponents/p-107fdd99.entry.js +1 -0
  454. package/dist/webcomponents/{p-3b1f69fd.entry.js → p-12674a89.entry.js} +1 -1
  455. package/dist/webcomponents/p-12ea3a21.entry.js +1 -0
  456. package/dist/webcomponents/p-13a56c04.entry.js +1 -0
  457. package/dist/webcomponents/p-22e9ff07.entry.js +1 -0
  458. package/dist/webcomponents/p-2ce8e7ac.entry.js +1 -0
  459. package/dist/webcomponents/p-32345016.entry.js +1 -0
  460. package/dist/webcomponents/p-357e1077.entry.js +1 -0
  461. package/dist/webcomponents/p-3a691b9a.entry.js +1 -0
  462. package/dist/webcomponents/p-3adEM48l.js +1 -0
  463. package/dist/webcomponents/p-3bb94f41.entry.js +1 -0
  464. package/dist/webcomponents/p-3e94cf62.entry.js +1 -0
  465. package/dist/webcomponents/p-460eae73.entry.js +1 -0
  466. package/dist/webcomponents/p-48d84a6f.entry.js +1 -0
  467. package/dist/webcomponents/p-4a3ee65c.entry.js +1 -0
  468. package/dist/webcomponents/p-58f415f4.entry.js +1 -0
  469. package/dist/webcomponents/p-5e467788.entry.js +1 -0
  470. package/dist/webcomponents/p-5ff7f253.entry.js +1 -0
  471. package/dist/webcomponents/p-6334c2bc.entry.js +1 -0
  472. package/dist/webcomponents/p-639baa7d.entry.js +1 -0
  473. package/dist/webcomponents/p-6429afb4.entry.js +1 -0
  474. package/dist/webcomponents/p-6780e07e.entry.js +1 -0
  475. package/dist/webcomponents/p-6a3a8a7a.entry.js +1 -0
  476. package/dist/webcomponents/p-6n7viK-J.js +1 -0
  477. package/dist/webcomponents/p-76d1a604.entry.js +1 -0
  478. package/dist/webcomponents/{p-529bf046.entry.js → p-7733b67b.entry.js} +1 -1
  479. package/dist/webcomponents/{p-54aa7e86.entry.js → p-774eee26.entry.js} +1 -1
  480. package/dist/webcomponents/p-7c62b59d.entry.js +1 -0
  481. package/dist/webcomponents/p-8224e3c2.entry.js +1 -0
  482. package/dist/webcomponents/p-82515f70.entry.js +1 -0
  483. package/dist/webcomponents/{p-DgQyL5KO.js → p-82kiZkHt.js} +1 -1
  484. package/dist/webcomponents/p-833576ca.entry.js +1 -0
  485. package/dist/webcomponents/p-83d4ac72.entry.js +1 -0
  486. package/dist/webcomponents/{p-40614f67.entry.js → p-90c24cda.entry.js} +1 -1
  487. package/dist/webcomponents/p-9c1a79c5.entry.js +1 -0
  488. package/dist/webcomponents/p-9dae8152.entry.js +1 -0
  489. package/dist/webcomponents/p-B0cQ2RjH.js +1 -0
  490. package/dist/webcomponents/p-B190pN0v.js +1 -0
  491. package/dist/webcomponents/p-B1ubyLhU.js +1 -0
  492. package/dist/webcomponents/{p-bplwtwD3.js → p-BTS3E50C.js} +1 -1
  493. package/dist/webcomponents/p-BrLVc_85.js +1 -0
  494. package/dist/webcomponents/{p-BwgcVN7d.js → p-ByRPlUBS.js} +1 -1
  495. package/dist/webcomponents/p-C0IqfGFc.js +1 -0
  496. package/dist/webcomponents/{p-DBfKxfCX.js → p-C0WFYqwq.js} +1 -1
  497. package/dist/webcomponents/p-C0piBrye.js +1 -0
  498. package/dist/webcomponents/p-CQdeVKF8.js +1 -0
  499. package/dist/webcomponents/p-CZfYo5-1.js +1 -0
  500. package/dist/webcomponents/{p-CCN8wTYX.js → p-Cd06j2SL.js} +1 -1
  501. package/dist/webcomponents/p-CegkOiUz.js +1 -0
  502. package/dist/webcomponents/{p-CG9te8PM.js → p-CgxzrbM_.js} +1 -1
  503. package/dist/webcomponents/p-CkrVt-dj.js +1 -0
  504. package/dist/webcomponents/{p-CZLIteZz.js → p-D0ptm6-3.js} +1 -1
  505. package/dist/webcomponents/p-D4Mv5jCp.js +1 -0
  506. package/dist/webcomponents/p-D5Sh88BE.js +1 -0
  507. package/dist/webcomponents/{p-C3uv9u0l.js → p-D5XSsLKb.js} +1 -1
  508. package/dist/webcomponents/{p-CgS6VBEy.js → p-DDEz7_ad.js} +1 -1
  509. package/dist/webcomponents/p-DJzjeg3x.js +1 -0
  510. package/dist/webcomponents/p-DLLK41AX.js +1 -0
  511. package/dist/webcomponents/p-Da_GeglS.js +1 -0
  512. package/dist/webcomponents/p-DgfzEZny.js +1 -0
  513. package/dist/webcomponents/p-Dgxn_B6C.js +1 -0
  514. package/dist/webcomponents/p-DjGTAHJM.js +1 -0
  515. package/dist/webcomponents/p-DmIOVniD.js +1 -0
  516. package/dist/webcomponents/p-DniQ6yo6.js +1 -0
  517. package/dist/webcomponents/p-DqOTECuf.js +1 -0
  518. package/dist/webcomponents/{p-lvlr3zXn.js → p-DuYlA4lj.js} +1 -1
  519. package/dist/webcomponents/{p-BLdGqrQH.js → p-DvHZ2jYI.js} +1 -1
  520. package/dist/webcomponents/p-Dz-Ft5b1.js +1 -0
  521. package/dist/webcomponents/p-OSmuQKbK.js +1 -0
  522. package/dist/webcomponents/p-U30-0DaA.js +1 -0
  523. package/dist/webcomponents/p-a5af8397.entry.js +1 -0
  524. package/dist/webcomponents/p-a61f9b3c.entry.js +1 -0
  525. package/dist/webcomponents/p-a6fb7730.entry.js +1 -0
  526. package/dist/webcomponents/{p-DmBEzYCU.js → p-aTcDcUMZ.js} +1 -1
  527. package/dist/webcomponents/p-aa954ce9.entry.js +1 -0
  528. package/dist/webcomponents/p-ac4ac963.entry.js +1 -0
  529. package/dist/webcomponents/p-ae7c6b81.entry.js +1 -0
  530. package/dist/webcomponents/p-ae8c3dab.entry.js +1 -0
  531. package/dist/webcomponents/{p-0b1bbf91.entry.js → p-afa54e39.entry.js} +1 -1
  532. package/dist/webcomponents/p-b061c21c.entry.js +1 -0
  533. package/dist/webcomponents/{p-487514c2.entry.js → p-b2192f8b.entry.js} +1 -1
  534. package/dist/webcomponents/p-b40108c0.entry.js +1 -0
  535. package/dist/webcomponents/p-b4d857b2.entry.js +1 -0
  536. package/dist/webcomponents/p-bb45705e.entry.js +1 -0
  537. package/dist/webcomponents/p-bb50155f.entry.js +1 -0
  538. package/dist/webcomponents/p-bf3e8295.entry.js +1 -0
  539. package/dist/webcomponents/p-c2f3d7da.entry.js +1 -0
  540. package/dist/webcomponents/{p-d7ea4db7.entry.js → p-c7227fc1.entry.js} +1 -1
  541. package/dist/webcomponents/p-c8f70818.entry.js +1 -0
  542. package/dist/webcomponents/p-c9288f47.entry.js +1 -0
  543. package/dist/webcomponents/p-cNABKY0P.js +1 -0
  544. package/dist/webcomponents/{p-D6mhG0dV.js → p-d-_oUZor.js} +1 -1
  545. package/dist/webcomponents/p-d1a440e3.entry.js +1 -0
  546. package/dist/webcomponents/{p-4c4cc0ad.entry.js → p-d2dc6f22.entry.js} +3 -3
  547. package/dist/webcomponents/p-dd89c516.entry.js +1 -0
  548. package/dist/webcomponents/p-e39b5ffd.entry.js +1 -0
  549. package/dist/webcomponents/p-e5d35016.entry.js +1 -0
  550. package/dist/webcomponents/p-ebd7753d.entry.js +1 -0
  551. package/dist/webcomponents/p-ec47b7c8.entry.js +1 -0
  552. package/dist/webcomponents/{p-D5q9gEvl.js → p-l3o3Ndc0.js} +1 -1
  553. package/dist/webcomponents/p-n2YROtpe.js +1 -0
  554. package/dist/webcomponents/p-um3YdOwW.js +1 -0
  555. package/dist/webcomponents/p-wqUvt1PB.js +1 -0
  556. package/dist/webcomponents/webcomponents.esm.js +1 -1
  557. package/package.json +1 -1
  558. package/dist/cjs/checkout.service-DP9FnXBx.js +0 -40
  559. package/dist/cjs/dispute.service-F-M8EJxq.js +0 -39
  560. package/dist/cjs/payment.service-BstXaxH5.js +0 -27
  561. package/dist/cjs/payout.service-DWOtnFdn.js +0 -34
  562. package/dist/cjs/terminal.service-ghxwDinY.js +0 -36
  563. package/dist/cjs/terminals-list-params-state-DX4jg37H.js +0 -22
  564. package/dist/collection/ui-components/table/exported-parts.js +0 -5
  565. package/dist/esm/business.service-B136meVo.js +0 -55
  566. package/dist/esm/checkout.service-92ld4w-G.js +0 -38
  567. package/dist/esm/dispute.service-H2Oaq2af.js +0 -37
  568. package/dist/esm/event-types-Dv-I6YqZ.js +0 -62
  569. package/dist/esm/payment.service-CeGn-K_X.js +0 -25
  570. package/dist/esm/payout.service-dukCI9Kl.js +0 -32
  571. package/dist/esm/terminal.service-L0EoPXUE.js +0 -34
  572. package/dist/esm/terminals-list-params-state-qgJxi6iW.js +0 -16
  573. package/dist/types/ui-components/table/exported-parts.d.ts +0 -1
  574. package/dist/webcomponents/p-009c6766.entry.js +0 -1
  575. package/dist/webcomponents/p-048ed3f0.entry.js +0 -1
  576. package/dist/webcomponents/p-0764cfde.entry.js +0 -1
  577. package/dist/webcomponents/p-08dcbb41.entry.js +0 -1
  578. package/dist/webcomponents/p-0b0e44c4.entry.js +0 -1
  579. package/dist/webcomponents/p-0c9c8d6f.entry.js +0 -1
  580. package/dist/webcomponents/p-103692ef.entry.js +0 -1
  581. package/dist/webcomponents/p-103deee0.entry.js +0 -1
  582. package/dist/webcomponents/p-10ad134d.entry.js +0 -1
  583. package/dist/webcomponents/p-175a913f.entry.js +0 -1
  584. package/dist/webcomponents/p-1c2bedfe.entry.js +0 -1
  585. package/dist/webcomponents/p-36656ed1.entry.js +0 -1
  586. package/dist/webcomponents/p-3678f5fb.entry.js +0 -1
  587. package/dist/webcomponents/p-405f135e.entry.js +0 -1
  588. package/dist/webcomponents/p-41a0b83c.entry.js +0 -1
  589. package/dist/webcomponents/p-4361ae88.entry.js +0 -1
  590. package/dist/webcomponents/p-4994c980.entry.js +0 -1
  591. package/dist/webcomponents/p-4d5b8876.entry.js +0 -1
  592. package/dist/webcomponents/p-5321c7d5.entry.js +0 -1
  593. package/dist/webcomponents/p-5aeOUdhX.js +0 -1
  594. package/dist/webcomponents/p-601669bb.entry.js +0 -1
  595. package/dist/webcomponents/p-63c835b9.entry.js +0 -1
  596. package/dist/webcomponents/p-656ec7b6.entry.js +0 -1
  597. package/dist/webcomponents/p-6ctk_bhj.js +0 -1
  598. package/dist/webcomponents/p-6d36d6a7.entry.js +0 -1
  599. package/dist/webcomponents/p-76e7c283.entry.js +0 -1
  600. package/dist/webcomponents/p-81a1be23.entry.js +0 -1
  601. package/dist/webcomponents/p-81d682ba.entry.js +0 -1
  602. package/dist/webcomponents/p-85681d97.entry.js +0 -1
  603. package/dist/webcomponents/p-88539215.entry.js +0 -1
  604. package/dist/webcomponents/p-896e4fb2.entry.js +0 -1
  605. package/dist/webcomponents/p-8bc32c27.entry.js +0 -1
  606. package/dist/webcomponents/p-8d4d2ac3.entry.js +0 -1
  607. package/dist/webcomponents/p-9349d32e.entry.js +0 -1
  608. package/dist/webcomponents/p-938e0dbc.entry.js +0 -1
  609. package/dist/webcomponents/p-94d81903.entry.js +0 -1
  610. package/dist/webcomponents/p-9767500b.entry.js +0 -1
  611. package/dist/webcomponents/p-9cf5ed80.entry.js +0 -1
  612. package/dist/webcomponents/p-B2H14Naw.js +0 -1
  613. package/dist/webcomponents/p-B4iBNBBM.js +0 -1
  614. package/dist/webcomponents/p-BAXE_ZfF.js +0 -1
  615. package/dist/webcomponents/p-BODr6HXb.js +0 -1
  616. package/dist/webcomponents/p-BoPxMyJA.js +0 -1
  617. package/dist/webcomponents/p-BupmNfQ5.js +0 -1
  618. package/dist/webcomponents/p-BvWS8buZ.js +0 -1
  619. package/dist/webcomponents/p-BxGoUIgN.js +0 -1
  620. package/dist/webcomponents/p-CGz3XHQc.js +0 -1
  621. package/dist/webcomponents/p-CRgzzPY4.js +0 -1
  622. package/dist/webcomponents/p-C_9TcvwA.js +0 -1
  623. package/dist/webcomponents/p-CbZjB3qJ.js +0 -1
  624. package/dist/webcomponents/p-CfbB7agn.js +0 -1
  625. package/dist/webcomponents/p-D5wGYrfz.js +0 -1
  626. package/dist/webcomponents/p-DArbkdtn.js +0 -1
  627. package/dist/webcomponents/p-DEa8EbZW.js +0 -1
  628. package/dist/webcomponents/p-DGWLSvML.js +0 -1
  629. package/dist/webcomponents/p-DPC4A7AZ.js +0 -1
  630. package/dist/webcomponents/p-DavDfnxI.js +0 -1
  631. package/dist/webcomponents/p-EbYREopN.js +0 -1
  632. package/dist/webcomponents/p-NI7Keg2H.js +0 -1
  633. package/dist/webcomponents/p-XazJ9qLe.js +0 -1
  634. package/dist/webcomponents/p-Xql8Xhsx.js +0 -1
  635. package/dist/webcomponents/p-a4e7d24f.entry.js +0 -1
  636. package/dist/webcomponents/p-a78bf0f7.entry.js +0 -1
  637. package/dist/webcomponents/p-a83bf2c0.entry.js +0 -1
  638. package/dist/webcomponents/p-b15d6c77.entry.js +0 -1
  639. package/dist/webcomponents/p-b5dd55b1.entry.js +0 -1
  640. package/dist/webcomponents/p-b8096d2b.entry.js +0 -1
  641. package/dist/webcomponents/p-bbc56c17.entry.js +0 -1
  642. package/dist/webcomponents/p-bc3d56a7.entry.js +0 -1
  643. package/dist/webcomponents/p-bf83ba04.entry.js +0 -1
  644. package/dist/webcomponents/p-c5b66da3.entry.js +0 -1
  645. package/dist/webcomponents/p-c7dc7184.entry.js +0 -1
  646. package/dist/webcomponents/p-cb8b91ea.entry.js +0 -1
  647. package/dist/webcomponents/p-dadb97e1.entry.js +0 -1
  648. package/dist/webcomponents/p-dafac427.entry.js +0 -1
  649. package/dist/webcomponents/p-dca205de.entry.js +0 -1
  650. package/dist/webcomponents/p-df3fb523.entry.js +0 -1
  651. package/dist/webcomponents/p-f-9W4QBD.js +0 -1
  652. package/dist/webcomponents/p-f604d6ea.entry.js +0 -1
  653. package/dist/webcomponents/p-ffbf35a4.entry.js +0 -1
  654. package/dist/webcomponents/p-obi7kkCX.js +0 -1
  655. /package/dist/collection/{ui-components → components}/filters/utils.js +0 -0
  656. /package/dist/types/{ui-components → components}/filters/table-filters-menu.d.ts +0 -0
  657. /package/dist/types/{ui-components → components}/filters/utils.d.ts +0 -0
  658. /package/dist/types/ui-components/{table-empty-state.d.ts → table/table-empty-state.d.ts} +0 -0
  659. /package/dist/types/ui-components/{table-error-state.d.ts → table/table-error-state.d.ts} +0 -0
  660. /package/dist/types/ui-components/{table-loading-state.d.ts → table/table-loading-state.d.ts} +0 -0
  661. /package/dist/webcomponents/{p-D4-FKsCU.js → p-D6FDxSyt.js} +0 -0
@@ -69,13 +69,13 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
69
69
  }
70
70
  render() {
71
71
  var _a;
72
- return (h(Host, { key: '2cf31e17412eb30afabe6749b86b7d1a6f308114' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
72
+ return (h(Host, { key: '506450161ed363330132c2bfa99a6a7729e94778' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
73
73
  const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
74
74
  const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
75
75
  const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
76
76
  const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
77
77
  if (newCard || newBankAccount) {
78
- return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, iframeOrigin: this.iframeOrigin, ref: (el) => {
78
+ return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: (el) => {
79
79
  if (isSelected) {
80
80
  this.selectedPaymentMethodOptionRef = el;
81
81
  }
@@ -114,7 +114,6 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
114
114
  "paymentAmount": [2, "payment-amount"],
115
115
  "hideCardBillingForm": [4, "hide-card-billing-form"],
116
116
  "hideBankAccountBillingForm": [4, "hide-bank-account-billing-form"],
117
- "iframeOrigin": [1, "iframe-origin"],
118
117
  "selectedPaymentMethodId": [32],
119
118
  "paymentMethodOptions": [32],
120
119
  "fillBillingForm": [64],
@@ -5,7 +5,8 @@ import { t as text } from './parts.js';
5
5
  import { S as StyledHost } from './styled-host.js';
6
6
  import { H as Header1 } from './header-1.js';
7
7
  import './details.js';
8
- import { a as BusinessFormClickActions } from './event-types.js';
8
+ import './event-types.js';
9
+ import { a as BusinessFormClickActions } from './event-types2.js';
9
10
  import { d as defineCustomElement$w } from './bank-account-document-inputs.js';
10
11
  import { d as defineCustomElement$v } from './bank-account-form-inputs2.js';
11
12
  import { d as defineCustomElement$u } from './business-documents-on-file2.js';
@@ -1,8 +1,9 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import './Business.js';
3
- import { a as BusinessFormClickActions } from './event-types.js';
3
+ import { a as BusinessFormClickActions } from './event-types2.js';
4
4
  import { B as Button } from './button.js';
5
5
  import './details.js';
6
+ import './event-types.js';
6
7
 
7
8
  const PaymentProvisioningFormButtons = /*@__PURE__*/ proxyCustomElement(class PaymentProvisioningFormButtons extends HTMLElement {
8
9
  constructor() {
@@ -1,6 +1,7 @@
1
1
  import { h } from '@stencil/core/internal/client';
2
2
  import { S as Skeleton } from './skeleton.js';
3
3
  import './details.js';
4
+ import './event-types.js';
4
5
 
5
6
  const FormBlock = () => (h("div", { class: "row gap-3" },
6
7
  h("div", { class: "col-12" },
@@ -1,24 +1,18 @@
1
- import { A as Api } from './Api.js';
2
- import './ComponentError.js';
3
- import './Checkout.js';
4
- import './Pagination.js';
5
- import './Payment.js';
6
- import './Refund.js';
7
- import './Document.js';
1
+ import { A as Api } from './ApiNew.js';
8
2
 
3
+ const api = Api();
9
4
  class PaymentService {
10
- async fetchPayments(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
11
- const api = Api({ authToken, apiOrigin: apiOrigin });
5
+ async fetchPayments(accountId, authToken, params) {
12
6
  const endpoint = `account/${accountId}/payments`;
13
- return api.get({ endpoint, params });
7
+ return api.get({ endpoint, params, authToken });
14
8
  }
15
- async fetchPayment(paymentId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
9
+ async fetchPayment(paymentId, authToken) {
16
10
  const endpoint = `payments/${paymentId}`;
17
- return Api({ authToken, apiOrigin }).get({ endpoint });
11
+ return api.get({ endpoint, authToken });
18
12
  }
19
- async fetchPaymentTransactions(paymentId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
13
+ async fetchPaymentTransactions(paymentId, authToken, params) {
20
14
  const endpoint = `payments/${paymentId}/payment_balance_transactions`;
21
- return Api({ authToken, apiOrigin }).get({ endpoint, params });
15
+ return api.get({ endpoint, params, authToken });
22
16
  }
23
17
  }
24
18
 
@@ -6,10 +6,11 @@ import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
8
  import './Document.js';
9
- import { n as tableHeadCell, a2 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
10
- import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types3.js';
11
9
  import './details.js';
10
+ import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
11
+ import { T as TableClickActions } from './event-types.js';
12
12
  import { M as MapPaymentStatusToBadge } from './payments-status.js';
13
+ import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
13
14
  import { o as onQueryParamsChange, g as getRequestParams } from './payments-list-params-state.js';
14
15
  import { d as defineCustomElement$1 } from './pagination-menu2.js';
15
16
 
@@ -117,7 +118,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
117
118
  return !this.showEmptyState && !this.showErrorState && !this.loading;
118
119
  }
119
120
  render() {
120
- return (h("div", { key: '83f0460f5b465e1414e4a88dc113fc7155d4decb', class: "table-wrapper" }, h("table", { key: '2a42ee9579d589a667172ea9f97e510029b87bdf', class: "table table-hover", part: table }, h("thead", { key: 'bd4bfb3c9d022f8187925d040316020426efdc18', class: "table-head sticky-top" }, h("tr", { key: '7bc4c05aa456cef8fdf9cec435937a6ee447cf2e', class: "table-light text-nowrap" }, this.paymentsTable.columnData.map((column) => column))), h("tbody", { key: 'c09c5a55310da7506b183914d16dd76d5336c275', class: "table-body" }, h(TableLoadingState, { key: '410e7e5b13049436d24a3d4c830c174264b4d802', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '4461a05a8812955cc9673699b9f26decbfbe3197', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: 'c49e3e5fadc0b889908e7420a0c3547879cc5af8', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: 'f6266d84bc0ff50ed9ce7bf0af7016f48e1d57dc', class: "sticky-bottom" }, h("tr", { key: '496fe22cdbaa38becf40402425e9f507625d52b3', class: "table-light align-middle" }, h("td", { key: 'bdd620cd38377ffdcace7b7b810e0379cd089d0b', part: tableCell, colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '5dab0663b6cf408b88c43177822b01969fd0b2d5', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
121
+ return (h(TableWrapper, { key: '1317635730164f2193e9556589c1c8584b70cfbb' }, h(TableComponent, { key: '98f458d904f17105aa7f6fde313487fa1af08034' }, h(TableHead, { key: 'a70f53dc6484a001d51f2c937e9696ad4ea68d2c' }, h(TableHeadRow, { key: '93a807d6627175ff4030fc4de8e067809486b274' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '4051081286f20f72d3e34f2484ada5413327b608' }, h(TableLoadingState, { key: 'e94bc4c5d2d4f2a24ee8ec906aa936ad0d497b84', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: 'be3fe38c674d7a587f77d91c4133d39359954135', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '55bb4161c9677940b78badbbc2a621e29404e213', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '23e336810c59ab014b4a11fa5f9f087db2de9fa1' }, h(TableFootRow, { key: '848eb4d2cfd643472de22f6cd86d9a7121acdca6' }, h(TableFootCell, { key: 'b0c325d98775e1784173d45375018d94f8fc71cc', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'b61510a421ed0fcf54ff3b3318bc8b80db18c6b1', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
121
122
  }
122
123
  static get watchers() { return {
123
124
  "pagingParams": ["updateOnPropChange"],
@@ -4,6 +4,7 @@ import { E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as Det
4
4
  import { B as Button } from './button.js';
5
5
  import { S as StyledHost } from './styled-host.js';
6
6
  import { d as defineCustomElement$1 } from './details.js';
7
+ import './event-types.js';
7
8
  import { M as MapPayoutStatusToBadge } from './payouts-status.js';
8
9
  import { S as Skeleton } from './skeleton.js';
9
10
 
@@ -71,7 +72,10 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
71
72
  }
72
73
  render() {
73
74
  var _a;
74
- return (h(StyledHost, { key: '62711161d74a4d4e76ea5dba50cdf658722ba3a5' }, this.loading && h(PayoutDetailsLoading, { key: '170bf58456fb93c687a9e5b71e364ed6d54ec965' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'eafc4215df8ecba2f3e767e91df54a67c48e0e69', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '849a324f0d5f545e502c1632a5af30da3f6caf74', slot: "head-info", badge: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'ae0b4f158d3baf397880061f6fe25916ca870ac6', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '2e2f16f8c1e2f5b34fe986a311be4ae084d385ab', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '724abe3799d1a1c8f9a54130af715a2057218510', title: "ID", value: this.payout.id }), h("div", { key: '7ac70b4b6eee073384e223b01304d0ad0aaf0a64', class: "m-4" }, h(Button, { key: 'fc78f5a3b14e58aa3861592e81bc60c155d520e3', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '9ebede365566df145b3412b24d255e1b90740541', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '71cfc2676e1ac51b44de391547589fafb5189266', sectionTitle: "Details" }), h("div", { key: 'cba9946a2406c577d3b190cfbfe4b1eeaa27001e', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1af9837addfc6fd3829fac3df8376958b7dbfbc7', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'f54690ff4578b7383feadd6420b14df1c79d398b', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '5013c67ee0ac8bd9495209fb5854a36665317d84', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '41cd7f0989ff44be01d78475e03486b2fb158911', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '6f047db81aae911ed4553fecda7baacdc5ff9209', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'b342e899b13489045a82051e563ff56c027107e8', sectionTitle: "Account" }), h("div", { key: '709be895334d0a4963ceeb762ac6e66a5a603d07', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1e14ae8f0b329038ee2aea938be0ab4c1d2c35c9', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '54ef8f31b5dd0698d50efe617db9fbdb8a2088eb', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '3cbe4043e92bc3d2a07d2970473b06bd92e56f33', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '482efcf4498b79cf724a50dd0d3ba0f38d02576d', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '7b3b961659e263e83268e178991627d04a2fcd46', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), h(DetailSectionTitle, { key: '49b355b672f7fabe75798931e7e36bb1ccfe7370', sectionTitle: 'Metadata' }), h("div", { key: '66669969009dda1eacc194a4ad035836e5fd83c7', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '5700a8404cb548fd4c2a62fde70e56bd78ea8ac6', metadata: this.payout.metadata })))))));
75
+ return (h(StyledHost, { key: '62711161d74a4d4e76ea5dba50cdf658722ba3a5' }, this.loading && h(PayoutDetailsLoading, { key: '170bf58456fb93c687a9e5b71e364ed6d54ec965' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'eafc4215df8ecba2f3e767e91df54a67c48e0e69', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '849a324f0d5f545e502c1632a5af30da3f6caf74', slot: "head-info", badge: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'ae0b4f158d3baf397880061f6fe25916ca870ac6', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '2e2f16f8c1e2f5b34fe986a311be4ae084d385ab', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '724abe3799d1a1c8f9a54130af715a2057218510', title: "ID", value: this.payout.id }), h("div", { key: '7ac70b4b6eee073384e223b01304d0ad0aaf0a64', class: "m-4" }, h(Button, { key: 'fc78f5a3b14e58aa3861592e81bc60c155d520e3', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '9ebede365566df145b3412b24d255e1b90740541', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '71cfc2676e1ac51b44de391547589fafb5189266', sectionTitle: "Details" }), h("div", { key: 'cba9946a2406c577d3b190cfbfe4b1eeaa27001e', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1af9837addfc6fd3829fac3df8376958b7dbfbc7', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'f54690ff4578b7383feadd6420b14df1c79d398b', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '5013c67ee0ac8bd9495209fb5854a36665317d84', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '41cd7f0989ff44be01d78475e03486b2fb158911', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '6f047db81aae911ed4553fecda7baacdc5ff9209', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'b342e899b13489045a82051e563ff56c027107e8', sectionTitle: "Account" }), h("div", { key: '709be895334d0a4963ceeb762ac6e66a5a603d07', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1e14ae8f0b329038ee2aea938be0ab4c1d2c35c9', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '54ef8f31b5dd0698d50efe617db9fbdb8a2088eb', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '3cbe4043e92bc3d2a07d2970473b06bd92e56f33', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '482efcf4498b79cf724a50dd0d3ba0f38d02576d', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '7b3b961659e263e83268e178991627d04a2fcd46', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
76
+ h(DetailSectionTitle, { key: 'ea5e5e83e0889ee8b542fba2ddaedc7c0adcf15a', sectionTitle: 'Metadata' }),
77
+ h("div", { key: '52ed0e8f84b2a22e9846040877850b336db53a2a', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '50e37d3e2a27191b6e4899fcef64f9bd39241c9e', metadata: this.payout.metadata }))
78
+ ])))));
75
79
  }
76
80
  static get watchers() { return {
77
81
  "getPayout": ["getPayoutWatcher"]
@@ -1,31 +1,23 @@
1
- import { A as Api } from './Api.js';
2
- import './ComponentError.js';
3
- import './Checkout.js';
4
- import './Pagination.js';
5
- import './Payment.js';
6
- import './Refund.js';
7
- import './Document.js';
1
+ import { A as Api } from './ApiNew.js';
8
2
 
3
+ const api = Api();
9
4
  class PayoutService {
10
- async fetchPayouts(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
11
- const api = Api({ authToken, apiOrigin });
5
+ async fetchPayouts(accountId, authToken, params) {
12
6
  const endpoint = `account/${accountId}/payouts`;
13
- return api.get({ endpoint, params });
7
+ return api.get({ authToken, endpoint, params });
14
8
  }
15
- async fetchPayout(payoutId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
16
- const api = Api({ authToken, apiOrigin });
9
+ async fetchPayout(payoutId, authToken) {
17
10
  const endpoint = `payouts/${payoutId}`;
18
- return api.get({ endpoint });
11
+ return api.get({ authToken, endpoint });
19
12
  }
20
- async fetchCSV(payoutId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
21
- const api = Api({ authToken, apiOrigin });
13
+ async fetchCSV(payoutId, authToken) {
22
14
  const endpoint = `reports/payouts/${payoutId}`;
23
- return api.get({ endpoint });
15
+ return api.get({ authToken, endpoint });
24
16
  }
25
- async fetchPayoutTransactions(authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
26
- const api = Api({ authToken, apiOrigin });
17
+ async fetchPayoutTransactions(accountId, authToken, params) {
27
18
  const endpoint = `balance_transactions`;
28
- return api.get({ endpoint, params });
19
+ const headers = { 'sub-account': accountId };
20
+ return api.get({ authToken, endpoint, params, headers });
29
21
  }
30
22
  }
31
23
 
@@ -6,10 +6,11 @@ import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
8
  import './Document.js';
9
- import { n as tableHeadCell, a2 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
10
- import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types3.js';
11
9
  import './details.js';
10
+ import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
11
+ import { T as TableClickActions } from './event-types.js';
12
12
  import { M as MapPayoutStatusToBadge } from './payouts-status.js';
13
+ import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
13
14
  import { o as onQueryParamsChange, g as getRequestParams } from './payouts-list-params-state.js';
14
15
  import { d as defineCustomElement$1 } from './pagination-menu2.js';
15
16
 
@@ -172,7 +173,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
172
173
  return !this.showEmptyState && !this.showErrorState && !this.loading;
173
174
  }
174
175
  render() {
175
- return (h("div", { key: '7269ad62dd229e55dac396c718469b5e2b923458', class: "table-wrapper", part: "table-wrapper" }, h("table", { key: '52ab8f9384d328d8d1094573545c7e1e112f58c0', class: "table table-hover", part: table }, h("thead", { key: '4fde6f2d3c152d04c35967c1e63ed5520e6c5b64', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '4665781ce140f86394a20a454de94a4ecf19871f', class: "table-light text-nowrap", part: "table-head-row" }, this.payoutsTable.columnData.map((column) => column))), h("tbody", { key: '4e673dda87af1a204abba225de77864dd8e60cf6', class: "table-body" }, h(TableLoadingState, { key: 'b54e1e43c91b51d0364bf88198d6070569557ebb', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '45a64238e45671ff3d1a0c636d3ff7afe29dc93d', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '37d9fa23b47e7b77dbd90bbe6759b0c8763cc490', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '04875b5b8414a20e53035c4356d5c6d6e2da1389', class: "sticky-bottom" }, h("tr", { key: '6fd4b360e4449f441b33028e06a1595395cc15e4', class: "table-light align-middle" }, h("td", { key: '3830e46c5e838830c163023f4d904db74421f0e0', part: tableCell, colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'a3f9cdf107672f067a23c8c3d15b14422606d221', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
176
+ return (h(TableWrapper, { key: '6a72c56b790f6d3bd656cadc3afa67b5ff9146a8' }, h(TableComponent, { key: '73a4df2c71493966d9dff59b1cb04ed2bc28de45' }, h(TableHead, { key: '238aad9fdc7dbbe23106527238a60bc66c071c89' }, h(TableHeadRow, { key: '57766da075cc1ca3ad2ef1ddd108c9868903a379' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '287780d557ef70e52077fc4f29391010e16e801e' }, h(TableLoadingState, { key: 'e9a8e8170b426cc17792d2775098e43421a377dd', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'fa12703948e45d8fe9011d449a7e23933ceee245', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '1287c1be18f6cf84f93747799e0a9c9e46de0fb8', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '7f0c3b90cabe0db5859c80cbfc8e2fe0ea39346d' }, h(TableFootRow, { key: '9b702aadc9f9380f14ebe749ff67f8ea3ef62b1d' }, h(TableFootCell, { key: 'a8436f6401847c87b0a009005bb0abeff1498aad', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '1121deb974ad2cd9b11152fbd7b539e91730f0ef', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
176
177
  }
177
178
  static get watchers() { return {
178
179
  "pagingParams": ["updateOnPropChange"],
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
4
- import { W as heading5 } from './parts.js';
4
+ import { _ as heading5 } from './parts.js';
5
5
  import { d as defineCustomElement$5 } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$4 } from './form-control-date2.js';
7
7
  import { d as defineCustomElement$3 } from './form-control-file-v22.js';
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
4
- import { W as heading5 } from './parts.js';
4
+ import { _ as heading5 } from './parts.js';
5
5
  import { d as defineCustomElement$5 } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$4 } from './form-control-file-v22.js';
7
7
  import { d as defineCustomElement$3 } from './form-control-help-text2.js';
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { d as snakeToCamel } from './utils2.js';
3
- import { T as radioListItem } from './parts.js';
3
+ import { W as radioListItem } from './parts.js';
4
4
  import { d as defineCustomElement$2 } from './form-control-help-text2.js';
5
5
  import { d as defineCustomElement$1 } from './form-control-radio2.js';
6
6
 
@@ -4,6 +4,7 @@ import { v as validateInsuranceValues, a as insuranceValues, b as insuranceError
4
4
  import { t as text, j as textDanger } from './parts.js';
5
5
  import { S as StyledHost } from './styled-host.js';
6
6
  import './details.js';
7
+ import './event-types.js';
7
8
  import { S as Skeleton } from './skeleton.js';
8
9
  import { d as defineCustomElement$2 } from './form-control-help-text2.js';
9
10
  import { d as defineCustomElement$1 } from './form-control-radio2.js';
@@ -1,6 +1,6 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client';
2
2
  import { f as formatCurrency } from './utils2.js';
3
- import { T as radioListItem } from './parts.js';
3
+ import { W as radioListItem } from './parts.js';
4
4
  import { d as defineCustomElement$2 } from './form-control-help-text2.js';
5
5
  import { d as defineCustomElement$1 } from './form-control-radio2.js';
6
6
 
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
3
  import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
4
- import { W as heading5 } from './parts.js';
4
+ import { _ as heading5 } from './parts.js';
5
5
  import { d as defineCustomElement$7 } from './custom-popper2.js';
6
6
  import { d as defineCustomElement$6 } from './form-control-date2.js';
7
7
  import { d as defineCustomElement$5 } from './form-control-file-v22.js';
@@ -1,5 +1,5 @@
1
1
  import { h } from '@stencil/core/internal/client';
2
- import { r as loadingSpinner } from './parts.js';
2
+ import { w as loadingSpinner } from './parts.js';
3
3
 
4
4
  const Spinner = () => {
5
5
  return (h("div", { class: "d-flex justify-content-center" },
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { B as Button } from './button.js';
3
- import { a1 as dropdownMenu } from './parts.js';
3
+ import { a5 as dropdownMenuButton, a6 as dropdownMenu } from './parts.js';
4
4
  import { d as defineCustomElement$1 } from './custom-popper2.js';
5
5
 
6
6
  const hasFilters = (params) => {
@@ -29,7 +29,7 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
29
29
  this.showClearButton = hasFilters(this.params);
30
30
  }
31
31
  render() {
32
- return (h("div", { key: 'b55be2aa2f9d4677989da12bb114f620a9ec2e45', class: "d-flex gap-2" }, h("div", { key: 'dffb2be68ead3abb60a8740869e48bb48bbf558c', class: "dropdown pb-3" }, h(Button, { key: '2e7b2d3afc80963abfe9c8c2690a61b911a1b747', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '9e2b1b988bc5440f18d26c5b8402f5e30e73cdad', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '573161a7515d1b16665138ba739133379b9b6850', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '9597e79f125e1e41c343fa3d2d583b5cf7ab9c31' })))), h("div", { key: '67ed29ac8e10f3ae1380514ae1a1e1e8aed7d9b6' }, h(Button, { key: '9b3dc6176c11226e82ecb1f9f88705ad40bf6e32', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
32
+ return (h("div", { key: '73b213c0381a163e3ccd4b4df158daf8dc128d83', class: "d-flex gap-2" }, h("div", { key: '817823777638fc8501bb7230d0b061c110e4f82b', class: "dropdown pb-3" }, h("button", { key: '6ad7b2c32bfc44b836071db2706e86d649c5ccb3', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '124ac66fe0be636f74009bdd07e392fa82fd943e', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'b1421bdd7f7318012dcbd280eab4d8aeabbfee8c', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '7a251b4a2b2840f435d07605a6333b86180ab88e' })))), h("div", { key: '2badf2863bb80ef70508347049becdd0aec5196e' }, h(Button, { key: 'ee90184cb3aa0e7c4ff8d69cf299aef4fda114bd', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
33
33
  }
34
34
  static get watchers() { return {
35
35
  "params": ["watchParamsHandler"]
@@ -0,0 +1,83 @@
1
+ import { h } from '@stencil/core/internal/client';
2
+ import { m as table, ar as tableHead, as as tableHeadRow, at as tableRow, au as tableFoot, av as tableFootRow, aw as tableFootCell, ax as tableEmpty, ay as tableError, o as tableCell } from './parts.js';
3
+ import { S as Spinner } from './spinner.js';
4
+
5
+ const TableWrapper = (props, children) => {
6
+ return (h("div", Object.assign({ class: "table-wrapper", part: "table-wrapper" }, props), children));
7
+ };
8
+ const TableComponent = (props, children) => {
9
+ return (h("table", Object.assign({ class: "table table-hover", part: table }, props), children));
10
+ };
11
+ const TableBody = (props, children) => {
12
+ return (h("tbody", Object.assign({ class: "table-body" }, props), children));
13
+ };
14
+ const TableRow = (props, children) => {
15
+ return (h("tr", Object.assign({ part: tableRow }, props), children));
16
+ };
17
+ const TableHead = (props, children) => {
18
+ return (h("thead", Object.assign({ class: "table-head sticky-top", part: tableHead }, props), children));
19
+ };
20
+ const TableHeadRow = (props, children) => {
21
+ return (h("tr", Object.assign({ class: "table-light text-nowrap", part: tableHeadRow }, props), children));
22
+ };
23
+ const TableFoot = (props, children) => {
24
+ return (h("tfoot", Object.assign({ class: "sticky-bottom", part: tableFoot }, props), children));
25
+ };
26
+ const TableFootRow = (props, children) => {
27
+ return (h("tr", Object.assign({ class: "table-light align-middle", part: tableFootRow }, props), children));
28
+ };
29
+ const TableFootCell = (props, children) => {
30
+ return (h("td", Object.assign({ part: tableFootCell }, props), children));
31
+ };
32
+
33
+ const TableEmptyState = (props) => {
34
+ const { columnSpan, isEmpty } = props;
35
+ if (!columnSpan || !isEmpty) {
36
+ return null;
37
+ }
38
+ return (h("tr", null,
39
+ h("td", { class: "empty-state", part: tableEmpty, colSpan: columnSpan, style: { textAlign: 'center' } }, "No results")));
40
+ };
41
+
42
+ const TableErrorState = (props) => {
43
+ const { columnSpan, errorMessage } = props;
44
+ if (!columnSpan || !errorMessage) {
45
+ return null;
46
+ }
47
+ return (h("tr", null,
48
+ h("td", { class: "error-state", part: tableError, colSpan: columnSpan, "data-test-id": "table-error-state", style: { textAlign: 'center' } },
49
+ "An unexpected error occurred: ",
50
+ errorMessage)));
51
+ };
52
+
53
+ const TableLoadingState = (props) => {
54
+ const { columnSpan, isLoading } = props;
55
+ if (!columnSpan || !isLoading) {
56
+ return null;
57
+ }
58
+ return (h("tr", null,
59
+ h("td", { class: "loading-state", part: tableCell, colSpan: columnSpan, style: { textAlign: 'center' } },
60
+ h(Spinner, null))));
61
+ };
62
+
63
+ class Table {
64
+ get columnData() {
65
+ return this.columnKeys.map((key) => this.tableColumns[key]());
66
+ }
67
+ get rowData() {
68
+ return this.collection.map((dataEntry, index) => {
69
+ return this.columnKeys.map((key) => this.tableCells[key](dataEntry, index));
70
+ });
71
+ }
72
+ set collectionData(collection) {
73
+ this.collection = collection;
74
+ }
75
+ constructor(collection, columns, tableColumns, tableCells) {
76
+ this.columnKeys = columns.split(',');
77
+ this.collection = collection;
78
+ this.tableColumns = tableColumns;
79
+ this.tableCells = tableCells;
80
+ }
81
+ }
82
+
83
+ export { Table as T, TableWrapper as a, TableComponent as b, TableHead as c, TableHeadRow as d, TableBody as e, TableLoadingState as f, TableEmptyState as g, TableErrorState as h, TableRow as i, TableFoot as j, TableFootRow as k, TableFootCell as l };
@@ -1,7 +1,7 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
- import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types3.js';
3
- import { n as tableHeadCell, a2 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
2
+ import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
4
3
  import './details.js';
4
+ import { T as TableClickActions } from './event-types.js';
5
5
  import { h as convertToLocal } from './utils2.js';
6
6
  import './ComponentError.js';
7
7
  import './Checkout.js';
@@ -9,6 +9,7 @@ import { p as pagingDefaults } from './Pagination.js';
9
9
  import './Payment.js';
10
10
  import { a as TerminalOrderType } from './Refund.js';
11
11
  import './Document.js';
12
+ import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
12
13
  import { B as Badge, a as BadgeVariant } from './badge.js';
13
14
  import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state.js';
14
15
  import { d as defineCustomElement$1 } from './pagination-menu2.js';
@@ -165,7 +166,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
165
166
  return !this.showEmptyState && !this.showErrorState && !this.loading;
166
167
  }
167
168
  render() {
168
- return (h("div", { key: '0ae3bd80e00bf8df8f966503bb9e66ebe906a014', class: "table-wrapper" }, h("table", { key: '3f258156e4fa1e7c20ecd594e4965cf1db12db29', class: "table table-hover", part: table }, h("thead", { key: '4a79db4aa98fb270de205ca1b42b648b8f2326eb', class: "table-head sticky-top" }, h("tr", { key: '530320d6061afb4c342a52203257a0f1bc567223', class: "table-light text-nowrap" }, this.terminalOrdersTable.columnData.map((column) => column))), h("tbody", { key: '855f54afcb88a51b25fa6ffb55f8ac12df59ede3', class: "table-body" }, h(TableLoadingState, { key: '4d9eef8945c60c4bf0b2f839244e2077cabce5f4', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '3aa523d3e14151dc076e35a7a7818ae39e9f194f', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'f00598602f310205f050b96e3d7419327e7d3ca4', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '523b5e2a99aa51e509295aa7dd743951bfd88bf0', class: "sticky-bottom" }, h("tr", { key: 'b568e6dff207cce3f0960f86cd8086ff20a9cc6c', class: "table-light align-middle" }, h("td", { key: 'deff80464cc797e10343fe3a4746131e341294c1', part: tableCell, colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: 'd730b13b813bb6880b81a5ba39f6573e16e76bfb', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
169
+ return (h(TableWrapper, { key: '762e52792b40b09a4c57d19d26b5320e704f713a' }, h(TableComponent, { key: '1562301b758030aba8fe9581c62adf9b74275bcd' }, h(TableHead, { key: '1dd7c7609faf3fb39946f05d1751611f63538b8d' }, h(TableHeadRow, { key: 'd37d994e00a6bbe8b93b562a93f123c67a3341c9' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'bd8ec9049642251c7f51c0525a07ef88a9a51335' }, h(TableLoadingState, { key: 'a2ff1894e1300d39ee84f190d531339e6086b68c', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '7e7df0ac99415c5d550479c274bd8bb88d8f5b58', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '954a6ee4143461c71624c39d09b41575e39f92da', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'd8d06e88358f2c07edd2abcb568c99705a3b384d' }, h(TableFootRow, { key: 'c02b4ab02901238f7e1e71178baa4f3f0ff0ee7e' }, h(TableFootCell, { key: 'f29db1ea1799cac1e459495e9029b9c12bfd559f', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '5a196810a73ffad57a2ee6556c6e2ad66f1079b0', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
169
170
  }
170
171
  static get watchers() { return {
171
172
  "pagingParams": ["updateOnPropChange"],
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { k as card, V as image, p as buttonLink } from './parts.js';
2
+ import { k as card, Y as image, Z as buttonLink } from './parts.js';
3
3
  import { d as defineCustomElement$2 } from './custom-popper2.js';
4
4
  import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
5
5
 
@@ -1,33 +1,26 @@
1
- import { A as Api } from './Api.js';
2
- import './ComponentError.js';
3
- import './Checkout.js';
4
- import './Pagination.js';
5
- import './Payment.js';
6
- import './Refund.js';
7
- import './Document.js';
1
+ import { A as Api } from './ApiNew.js';
8
2
 
3
+ const api = Api();
9
4
  class TerminalService {
10
- async fetchTerminals(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
11
- const headers = { Account: accountId };
12
- const api = Api({ authToken, apiOrigin });
5
+ async fetchTerminals(accountId, authToken, params) {
13
6
  const endpoint = 'terminals';
14
- return api.get({ endpoint, params, headers });
7
+ const headers = { Account: accountId };
8
+ return api.get({ endpoint, params, headers, authToken });
15
9
  }
16
- async fetchTerminal(terminalId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
10
+ async fetchTerminal(terminalId, authToken) {
17
11
  const endpoint = `terminals/${terminalId}`;
18
- return Api({ authToken, apiOrigin: apiOrigin }).get({ endpoint });
12
+ return api.get({ endpoint, authToken });
19
13
  }
20
- async fetchTerminalModels(accountId, authToken, apiOrigin = "") {
21
- const headers = { 'sub-account': accountId };
22
- const api = Api({ authToken, apiOrigin });
14
+ async fetchTerminalModels(accountId, authToken) {
23
15
  const endpoint = 'terminals/order_models';
24
- return api.get({ endpoint, headers });
16
+ const headers = { 'sub-account': accountId };
17
+ return api.get({ endpoint, headers, authToken });
25
18
  }
26
- async orderTerminals(authToken, terminalOrder, apiOrigin = "") {
27
- const headers = { 'sub-account': terminalOrder.sub_account_id };
28
- const api = Api({ authToken, apiOrigin });
19
+ async orderTerminals(authToken, terminalOrder) {
29
20
  const endpoint = 'terminals/orders';
30
- return api.post({ endpoint, body: terminalOrder, headers });
21
+ const body = terminalOrder;
22
+ const headers = { 'sub-account': terminalOrder.sub_account_id };
23
+ return api.post({ endpoint, body, headers, authToken });
31
24
  }
32
25
  }
33
26
 
@@ -6,10 +6,11 @@ import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
8
  import './Document.js';
9
- import { n as tableHeadCell, a2 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
10
- import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types3.js';
11
9
  import './details.js';
10
+ import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
11
+ import { T as TableClickActions } from './event-types.js';
12
12
  import { B as Badge, a as BadgeVariant } from './badge.js';
13
+ import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
13
14
  import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state.js';
14
15
  import { d as defineCustomElement$1 } from './pagination-menu2.js';
15
16
 
@@ -179,7 +180,7 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
179
180
  return !this.showEmptyState && !this.showErrorState && !this.loading;
180
181
  }
181
182
  render() {
182
- return (h("div", { key: '0bcf251e9a5000e43e78f34311f6be77cf68e352', class: "table-wrapper" }, h("table", { key: '08e48373265fbfe456950b58feda77a941a37acd', class: "table table-hover", part: table }, h("thead", { key: '28f35a8208b90658051434268eeff8a16c30b2f9', class: "table-head sticky-top" }, h("tr", { key: '586c256ee022c9d48e620bb16bad356ea77e73f7', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: 'c2e0488fa871b882e1d05e330048cbdc1d416d12', class: "table-body" }, h(TableLoadingState, { key: '9cd99869854f038b973893335a9d04b0e57cb3c4', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'be37cded55782881d44b426db5a9616c00a06ac8', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '2b9cc41992f95b5af083b9bed92ddbab15de8198', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: 'e72060a2ccf7a0e49b1e64bb7eb0b1ea35b67b38', class: "sticky-bottom" }, h("tr", { key: '9a87f6051212ae8b1e40d4c89be69e9babebe25d', class: "table-light align-middle" }, h("td", { key: 'e485c478dbff6d9ba48febec69f337582fdd7910', part: tableCell, colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '2ef9119930e7111384533258d9d132f6879e3099', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
183
+ return (h(TableWrapper, { key: 'e61c1a1c4c657391af256fa488187571914d270c' }, h(TableComponent, { key: '2878c1bd7a728f970d4818daf1543834672f6e48' }, h(TableHead, { key: 'b300dd224e6295e7d7ad38d2ff36ff2254ea652c' }, h(TableHeadRow, { key: '489ec5bc765f02611b8ccaa5d627c339963b07af' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '0df4d9e27af46c419999fa7a2865ff19c8458dfb' }, h(TableLoadingState, { key: '0b78007d46a6191e47c3805c6c3a69ad17a20a7c', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '8f5763d3fb5dfdd774be0836833eb0bba9891d98', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: 'c9ecd51037ba42b721fe7f9daf6c290c6a14ccc0', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '061d7606ab562de30d46f1e207eda3efae3a2f6c' }, h(TableFootRow, { key: 'e4c4751c3233b8f714fc3f809f108b0a6c6d8637' }, h(TableFootCell, { key: '16faad50eb6148f2bafac404961925b419e9d6f8', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '574f2e32ba7e10adac4e8e19c295b7ad5fd0da11', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
183
184
  }
184
185
  static get watchers() { return {
185
186
  "pagingParams": ["updateOnPropChange"],
@@ -1,8 +1,7 @@
1
- export declare const makeGetBusiness: ({ id, authToken, service, apiOrigin }: {
1
+ export declare const makeGetBusiness: ({ id, authToken, service }: {
2
2
  id: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin?: string;
6
5
  }) => ({ onSuccess, onError }: {
7
6
  onSuccess: any;
8
7
  onError: any;
@@ -1,8 +1,7 @@
1
- export declare const makeGetCheckouts: ({ accountId, authToken, service, apiOrigin }: {
1
+ export declare const makeGetCheckouts: ({ accountId, authToken, service }: {
2
2
  accountId: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin: any;
6
5
  }) => ({ params, onSuccess, onError }: {
7
6
  params: any;
8
7
  onSuccess: any;
@@ -1,8 +1,7 @@
1
- export declare const makeGetDispute: ({ id, authToken, service, apiOrigin }: {
1
+ export declare const makeGetDispute: ({ id, authToken, service }: {
2
2
  id: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin: any;
6
5
  }) => ({ onSuccess, onError }: {
7
6
  onSuccess: any;
8
7
  onError: any;
@@ -1,8 +1,7 @@
1
- export declare const makeGetPaymentDetails: ({ id, authToken, service, apiOrigin }: {
1
+ export declare const makeGetPaymentDetails: ({ id, authToken, service }: {
2
2
  id: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin: any;
6
5
  }) => ({ onSuccess, onError, final }: {
7
6
  onSuccess: any;
8
7
  onError: any;
@@ -1,8 +1,7 @@
1
- export declare const makeGetPaymentTransactions: ({ id, authToken, service, apiOrigin }: {
1
+ export declare const makeGetPaymentTransactions: ({ id, authToken, service }: {
2
2
  id: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin: any;
6
5
  }) => ({ params, onSuccess, onError, final }: {
7
6
  params: any;
8
7
  onSuccess: any;
@@ -1,8 +1,7 @@
1
- export declare const makeGetPayments: ({ id, authToken, service, apiOrigin }: {
1
+ export declare const makeGetPayments: ({ id, authToken, service }: {
2
2
  id: any;
3
3
  authToken: any;
4
4
  service: any;
5
- apiOrigin: any;
6
5
  }) => ({ params, onSuccess, onError, final }: {
7
6
  params: any;
8
7
  onSuccess: any;
@@ -1,7 +1,7 @@
1
- export declare const makeGetPayoutTransactions: ({ authToken, service, apiOrigin }: {
1
+ export declare const makeGetPayoutTransactions: ({ accountId, authToken, service }: {
2
+ accountId: any;
2
3
  authToken: any;
3
4
  service: any;
4
- apiOrigin: any;
5
5
  }) => ({ params, onSuccess, onError, final }: {
6
6
  params: any;
7
7
  onSuccess: any;