@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
@@ -49,7 +49,6 @@ const PayoutDetails = /*@__PURE__*/ proxyCustomElement(class PayoutDetails exten
49
49
  this.__registerHost();
50
50
  this.__attachShadow();
51
51
  this.errorEvent = createEvent(this, "error-event", 7);
52
- this.apiOrigin = "https://wc-proxy.justifi.ai";
53
52
  this.errorMessage = null;
54
53
  this.handleErrorEvent = (event) => {
55
54
  this.errorMessage = event.detail.message;
@@ -76,8 +75,7 @@ const PayoutDetails = /*@__PURE__*/ proxyCustomElement(class PayoutDetails exten
76
75
  });
77
76
  this.getPayoutCSV = makeGetPayoutCSV({
78
77
  authToken: this.authToken,
79
- service: new PayoutService(),
80
- apiOrigin: this.apiOrigin
78
+ service: new PayoutService()
81
79
  });
82
80
  }
83
81
  else {
@@ -102,7 +100,6 @@ const PayoutDetails = /*@__PURE__*/ proxyCustomElement(class PayoutDetails exten
102
100
  }, [1, "justifi-payout-details", {
103
101
  "payoutId": [1, "payout-id"],
104
102
  "authToken": [1, "auth-token"],
105
- "apiOrigin": [1, "api-origin"],
106
103
  "getPayout": [32],
107
104
  "getPayoutCSV": [32],
108
105
  "errorMessage": [32]
@@ -9,16 +9,18 @@ import './Document.js';
9
9
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
10
10
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
11
11
  import { P as PayoutService } from './payout.service.js';
12
- import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types3.js';
13
- import { n as tableHeadCell, a2 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
12
+ 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';
14
13
  import { S as StyledHost } from './styled-host.js';
15
14
  import './details.js';
15
+ import { T as TableClickActions } from './event-types.js';
16
+ import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
17
+ import { c as configState } from './config-state.js';
16
18
  import { d as defineCustomElement$2 } from './pagination-menu2.js';
17
19
 
18
- const makeGetPayoutTransactions = ({ authToken, service, apiOrigin }) => async ({ params, onSuccess, onError, final }) => {
20
+ const makeGetPayoutTransactions = ({ accountId, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
19
21
  var _a;
20
22
  try {
21
- const response = await service.fetchPayoutTransactions(authToken, params, apiOrigin);
23
+ const response = await service.fetchPayoutTransactions(accountId, authToken, params);
22
24
  if (!response.error) {
23
25
  const balanceTransactions = response.data.map((dataItem) => new PayoutBalanceTransaction(dataItem));
24
26
  const pagingInfo = Object.assign({}, response.page_info);
@@ -110,7 +112,6 @@ const PayoutTransactionsList = /*@__PURE__*/ proxyCustomElement(class PayoutTran
110
112
  this.errorMessage = null;
111
113
  this.paging = pagingDefaults;
112
114
  this.pagingParams = {};
113
- this.apiOrigin = "https://wc-proxy.justifi.ai";
114
115
  this.columns = defaultColumnsKeys;
115
116
  this.handleClickPrevious = (beforeCursor) => {
116
117
  this.pagingParams = { before_cursor: beforeCursor };
@@ -147,9 +148,9 @@ const PayoutTransactionsList = /*@__PURE__*/ proxyCustomElement(class PayoutTran
147
148
  initializeApi() {
148
149
  if (this.payoutId && this.authToken) {
149
150
  const getPayoutTransactions = makeGetPayoutTransactions({
151
+ accountId: configState.accountId,
150
152
  authToken: this.authToken,
151
- service: new PayoutService(),
152
- apiOrigin: this.apiOrigin
153
+ service: new PayoutService()
153
154
  });
154
155
  getPayoutTransactions({
155
156
  params: this.requestParams,
@@ -188,7 +189,7 @@ const PayoutTransactionsList = /*@__PURE__*/ proxyCustomElement(class PayoutTran
188
189
  return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
189
190
  }
190
191
  render() {
191
- return (h(StyledHost, { key: '90a9bdb7acbaabba3e2d99936ab8ff4af752b89f' }, h("div", { key: '546c52c26422482ebc03c363e1b7251b00628612', class: "table-wrapper" }, h("table", { key: '8cafebb253b276b747be56ffdde3430eebd8165b', class: "table table-hover", part: table }, h("thead", { key: '1b701619c17d926a95ddfb7fbb84fe3a6fd7c9b9', class: "table-head sticky-top" }, h("tr", { key: '94b5d386d8eed15eb54761c450603e3edba05e28', class: "table-light text-nowrap" }, this.transactionsTable.columnData.map((column) => column))), h("tbody", { key: 'cf4057bac5a7b9b49448bc0cc6fe60b031e71428', class: "table-body" }, h(TableLoadingState, { key: '0336b83d2842ba8cc450e6169161c5a32b65d5ca', columnSpan: this.transactionsTable.columnData.length, isLoading: this.isLoading }), h(TableEmptyState, { key: 'ecb336f7cf73ae652eafa2068e916055c908b351', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnData.length }), h(TableErrorState, { key: 'fa99aae26090ced86423af1c1458b51880299260', columnSpan: this.transactionsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.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: 'e1232dddefdbfaad0616841797235afd61422ec6', class: "sticky-bottom" }, h("tr", { key: 'f399c65e0d5c25206d2194841ba98e88d3fd7ebd', class: "table-light align-middle" }, h("td", { key: 'cb2e12c7d397c5c9be12ff2f3ad53bfba072f814', part: tableCell, colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: 'b485f5ba2817f9781f53d67b22ea3836caca448a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
192
+ return (h(StyledHost, { key: 'c15333a496ff4f29710524031b91f979fc1040a8' }, h(TableWrapper, { key: '5dda158bb634fedd8be112998c38c5ec1b72b66b' }, h(TableComponent, { key: 'f544eb0dedb71c839acf940495eae56b011beef8' }, h(TableHead, { key: '8f2a6b42184729bbc28267fc4972b4fc30707ecf' }, h(TableHeadRow, { key: '856542645f4a044e50f0ac7b5dafb16d34c17402' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'ea02584be772897876cfbf5118d41a9a05ed334f' }, h(TableLoadingState, { key: 'c1decf54fc792f923bf7eee49dd64d8af9dd6ee8', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '55472bc004d891746153ce7ed8b3e900a9d9da94', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '6a3d87df445734a7c13fd96e8dc067e2df1ae0b0', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.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: 'e5654630577e32efeb5243543fd53232827ab824' }, h(TableFootRow, { key: '331ad45703f29590dd1b03370ff431bde665e76d' }, h(TableFootCell, { key: '3c16d50d90c6c491d028a2ccbeaedab439338e77', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '8334f555005446837984ff51dc2b89ea5d7a0cd3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
192
193
  }
193
194
  static get watchers() { return {
194
195
  "pagingParams": ["propChanged"],
@@ -198,7 +199,6 @@ const PayoutTransactionsList = /*@__PURE__*/ proxyCustomElement(class PayoutTran
198
199
  }, [1, "justifi-payout-transactions-list", {
199
200
  "payoutId": [1, "payout-id"],
200
201
  "authToken": [1, "auth-token"],
201
- "apiOrigin": [1, "api-origin"],
202
202
  "columns": [1],
203
203
  "balanceTransactions": [32],
204
204
  "transactionsTable": [32],
@@ -1,8 +1,9 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { f as filterParams, p as propsParams, c as clearParams } from './payouts-list-params-state.js';
3
- import { a9 as payoutsListFilterMenu, aa as createdAfterPayoutsListFilterParam, ab as createdBeforePayoutsListFilterParam } from './parts.js';
3
+ import { ae as payoutsListFilterMenu, af as createdAfterPayoutsListFilterParam, ag as createdBeforePayoutsListFilterParam } from './parts.js';
4
4
  import { S as StyledHost } from './styled-host.js';
5
5
  import './details.js';
6
+ import './event-types.js';
6
7
  import { j as convertToUTC, h as convertToLocal } from './utils2.js';
7
8
  import { d as defineCustomElement$5 } from './custom-popper2.js';
8
9
  import { d as defineCustomElement$4 } from './form-control-date2.js';
@@ -13,19 +13,14 @@ import { m as makeGetPayoutCSV } from './get-payout-csv.js';
13
13
  import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
14
14
  import { S as StyledHost } from './styled-host.js';
15
15
  import './details.js';
16
+ import './event-types.js';
16
17
  import { d as defineCustomElement$2, a as defaultColumnsKeys } from './payouts-list-core2.js';
17
18
  import { d as defineCustomElement$3 } from './pagination-menu2.js';
18
19
 
19
- const tableExportedParts = `
20
- table-head,table-head-row,table-head-cell,table-body,table-row,table-row-even,
21
- table-row-odd,table-cell,loading-state-cell,loading-state-spinner,error-state,
22
- empty-state,pagination-bar,page-arrow,page-button,page-button-disabled,page-button-text
23
- `;
24
-
25
- const makeGetPayouts = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
20
+ const makeGetPayouts = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
26
21
  var _a, _b;
27
22
  try {
28
- const response = await service.fetchPayouts(id, authToken, params, apiOrigin);
23
+ const response = await service.fetchPayouts(id, authToken, params);
29
24
  if (!response.error) {
30
25
  const pagingInfo = Object.assign({}, response.page_info);
31
26
  const payouts = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new Payout(dataItem))) || [];
@@ -58,7 +53,6 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
58
53
  this.__attachShadow();
59
54
  this.errorEvent = createEvent(this, "error-event", 7);
60
55
  this.errorMessage = null;
61
- this.apiOrigin = "https://wc-proxy.justifi.ai";
62
56
  this.columns = defaultColumnsKeys;
63
57
  this.handleOnError = (event) => {
64
58
  this.errorMessage = event.detail.message;
@@ -85,8 +79,7 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
85
79
  const serviceParams = {
86
80
  id: this.accountId,
87
81
  authToken: this.authToken,
88
- service: new PayoutService(),
89
- apiOrigin: this.apiOrigin
82
+ service: new PayoutService()
90
83
  };
91
84
  this.getPayouts = makeGetPayouts(serviceParams);
92
85
  this.getPayoutCSV = makeGetPayoutCSV(serviceParams);
@@ -105,13 +98,12 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
105
98
  this.getSubAccounts = makeGetSubAccounts({
106
99
  accountId: this.accountId,
107
100
  authToken: this.authToken,
108
- service: new SubAccountService(),
109
- apiOrigin: this.apiOrigin
101
+ service: new SubAccountService()
110
102
  });
111
103
  }
112
104
  }
113
105
  render() {
114
- return (h(StyledHost, { key: '8a0fe80740cef6d17900927487aab83287c4ed3f', exportedparts: tableExportedParts }, h("payouts-list-core", { key: '72d7494e2d0f44d4bfec9b2a7bad700c80aae948', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
106
+ return (h(StyledHost, { key: '7ce900caa8b472726cd7e100560359f2990798d9' }, h("payouts-list-core", { key: '4e5c40e2cfda6fcc5e2a5963eb432f500f76a8f9', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
115
107
  }
116
108
  static get watchers() { return {
117
109
  "accountId": ["propChanged"],
@@ -120,7 +112,6 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
120
112
  }, [1, "justifi-payouts-list", {
121
113
  "accountId": [1, "account-id"],
122
114
  "authToken": [1, "auth-token"],
123
- "apiOrigin": [1, "api-origin"],
124
115
  "columns": [1],
125
116
  "getPayouts": [32],
126
117
  "getPayoutCSV": [32],
@@ -10,11 +10,12 @@ import './Document.js';
10
10
  import { B as Button } from './button.js';
11
11
  import { S as StyledHost } from './styled-host.js';
12
12
  import './details.js';
13
+ import './event-types.js';
13
14
  import { P as PaymentService } from './payment.service.js';
14
15
  import { m as makeGetPaymentDetails } from './get-payment-details.js';
15
16
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
16
17
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
17
- import { A as Api } from './Api.js';
18
+ import { A as Api } from './ApiNew.js';
18
19
  import { S as Skeleton } from './skeleton.js';
19
20
  import { d as defineCustomElement$7 } from './custom-popper2.js';
20
21
  import { d as defineCustomElement$6 } from './form-control-help-text2.js';
@@ -70,10 +71,10 @@ const refundReasonOptions = [
70
71
  }
71
72
  ];
72
73
 
73
- const makePostRefund = ({ authToken, accountId, paymentId, service, apiOrigin }) => async ({ refundBody, onSuccess, onError, final }) => {
74
+ const makePostRefund = ({ authToken, accountId, paymentId, service }) => async ({ refundBody, onSuccess, onError, final }) => {
74
75
  var _a;
75
76
  try {
76
- const response = await service.postRefund(paymentId, accountId, authToken, refundBody, apiOrigin);
77
+ const response = await service.postRefund(paymentId, accountId, authToken, refundBody);
77
78
  if (!response.error) {
78
79
  onSuccess(response);
79
80
  }
@@ -100,12 +101,13 @@ const makePostRefund = ({ authToken, accountId, paymentId, service, apiOrigin })
100
101
  }
101
102
  };
102
103
 
104
+ const api = Api();
103
105
  class RefundService {
104
- async postRefund(paymentId, accountId, authToken, refundBody, apiOrigin = "https://wc-proxy.justifi.ai") {
105
- const api = Api({ authToken, apiOrigin });
106
+ async postRefund(paymentId, accountId, authToken, refundBody) {
106
107
  const endpoint = `payments/${paymentId}/refunds`;
107
108
  const headers = { 'Sub-Account': accountId };
108
- return api.post({ endpoint, headers, body: refundBody });
109
+ const body = refundBody;
110
+ return api.post({ endpoint, headers, body, authToken });
109
111
  }
110
112
  }
111
113
 
@@ -133,7 +135,6 @@ const RefundPayment = /*@__PURE__*/ proxyCustomElement(class RefundPayment exten
133
135
  this.paymentLoading = true;
134
136
  this.refundLoading = false;
135
137
  this.hideSubmitButton = false;
136
- this.apiOrigin = "https://wc-proxy.justifi.ai";
137
138
  this.inputHandler = (name, value) => {
138
139
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
139
140
  };
@@ -174,8 +175,7 @@ const RefundPayment = /*@__PURE__*/ proxyCustomElement(class RefundPayment exten
174
175
  const getPayment = makeGetPaymentDetails({
175
176
  id: this.paymentId,
176
177
  authToken: this.authToken,
177
- service: new PaymentService(),
178
- apiOrigin: this.apiOrigin
178
+ service: new PaymentService()
179
179
  });
180
180
  getPayment({
181
181
  onSuccess: ({ payment }) => {
@@ -206,8 +206,7 @@ const RefundPayment = /*@__PURE__*/ proxyCustomElement(class RefundPayment exten
206
206
  authToken: this.authToken,
207
207
  accountId: this.accountId,
208
208
  paymentId: this.paymentId,
209
- service: new RefundService(),
210
- apiOrigin: this.apiOrigin
209
+ service: new RefundService()
211
210
  });
212
211
  const values = this.formController.values.getValue();
213
212
  this.refundLoading = true;
@@ -242,7 +241,6 @@ const RefundPayment = /*@__PURE__*/ proxyCustomElement(class RefundPayment exten
242
241
  "accountId": [1, "account-id"],
243
242
  "paymentId": [1, "payment-id"],
244
243
  "hideSubmitButton": [4, "hide-submit-button"],
245
- "apiOrigin": [1, "api-origin"],
246
244
  "formController": [32],
247
245
  "refundPayload": [32],
248
246
  "displayAmount": [32],
@@ -1,8 +1,9 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { f as filterParams, p as propsParams, c as clearParams } from './terminal-orders-list-params-state.js';
3
- import { ac as terminalOrdersListFilterMenu, ad as orderStatusTerminalOrdersListFilterParam, ae as orderTypeTerminalOrdersListFilterParam, af as createdAfterTerminalOrdersListFilterParam, ag as createdBeforeTerminalOrdersListFilterParam } from './parts.js';
3
+ import { ah as terminalOrdersListFilterMenu, ai as orderStatusTerminalOrdersListFilterParam, aj as orderTypeTerminalOrdersListFilterParam, ak as createdAfterTerminalOrdersListFilterParam, al as createdBeforeTerminalOrdersListFilterParam } from './parts.js';
4
4
  import { S as StyledHost } from './styled-host.js';
5
5
  import './details.js';
6
+ import './event-types.js';
6
7
  import { j as convertToUTC, h as convertToLocal } from './utils2.js';
7
8
  import './ComponentError.js';
8
9
  import './Checkout.js';
@@ -1,6 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { S as StyledHost } from './styled-host.js';
3
3
  import './details.js';
4
+ import './event-types.js';
4
5
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
5
6
  import { d as defineCustomElement$2, a as defaultColumnsKeys } from './terminal-orders-list-core2.js';
6
7
  import './utils2.js';
@@ -11,13 +12,13 @@ import './Payment.js';
11
12
  import { e as TerminalOrder } from './Refund.js';
12
13
  import './Document.js';
13
14
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
14
- import { A as Api } from './Api.js';
15
+ import { A as Api } from './ApiNew.js';
15
16
  import { d as defineCustomElement$3 } from './pagination-menu2.js';
16
17
 
17
- const makeGetTerminalOrders = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError, final }) => {
18
+ const makeGetTerminalOrders = ({ id, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
18
19
  var _a, _b;
19
20
  try {
20
- const response = await service.fetchTerminalOrders(id, authToken, params, apiOrigin);
21
+ const response = await service.fetchTerminalOrders(id, authToken, params);
21
22
  if (!response.error) {
22
23
  const pagingInfo = Object.assign({}, response.page_info);
23
24
  const terminalOrders = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new TerminalOrder(dataItem))) || [];
@@ -46,16 +47,12 @@ const makeGetTerminalOrders = ({ id, authToken, service, apiOrigin }) => async (
46
47
  }
47
48
  };
48
49
 
50
+ const api = Api();
49
51
  class TerminalOrderService {
50
- async fetchTerminalOrders(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
51
- const headers = { account: accountId };
52
- const api = Api({ authToken, apiOrigin });
52
+ async fetchTerminalOrders(accountId, authToken, params) {
53
53
  const endpoint = 'terminals/orders';
54
- return api.get({
55
- endpoint,
56
- params,
57
- headers,
58
- });
54
+ const headers = { account: accountId };
55
+ return api.get({ endpoint, params, headers, authToken });
59
56
  }
60
57
  }
61
58
 
@@ -66,7 +63,6 @@ const TerminalOrdersList = /*@__PURE__*/ proxyCustomElement(class TerminalOrders
66
63
  this.__attachShadow();
67
64
  this.errorEvent = createEvent(this, "error-event", 7);
68
65
  this.errorMessage = null;
69
- this.apiOrigin = "https://wc-proxy.justifi.ai";
70
66
  this.columns = defaultColumnsKeys;
71
67
  this.handleErrorEvent = (event) => {
72
68
  this.errorMessage = event.detail.message;
@@ -83,8 +79,7 @@ const TerminalOrdersList = /*@__PURE__*/ proxyCustomElement(class TerminalOrders
83
79
  this.getTerminalOrders = makeGetTerminalOrders({
84
80
  id: this.accountId,
85
81
  authToken: this.authToken,
86
- service: new TerminalOrderService(),
87
- apiOrigin: this.apiOrigin
82
+ service: new TerminalOrderService()
88
83
  });
89
84
  }
90
85
  else {
@@ -97,12 +92,11 @@ const TerminalOrdersList = /*@__PURE__*/ proxyCustomElement(class TerminalOrders
97
92
  }
98
93
  }
99
94
  render() {
100
- return (h(StyledHost, { key: '46b01f30e476ae5e3892b96d804305c8e099b4c2' }, h("terminal-orders-list-core", { key: '4a0d1079a9afbf328c3dd382ca5e2180b5679da0', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
95
+ return (h(StyledHost, { key: '4ebe88697536863b62a8bd63fac96eb5f93668d0' }, h("terminal-orders-list-core", { key: '6735068496d16cdd4df169708c93534bea78433a', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
101
96
  }
102
97
  }, [1, "justifi-terminal-orders-list", {
103
98
  "accountId": [1, "account-id"],
104
99
  "authToken": [1, "auth-token"],
105
- "apiOrigin": [1, "api-origin"],
106
100
  "columns": [1],
107
101
  "getTerminalOrders": [32],
108
102
  "errorMessage": [32]
@@ -1,9 +1,10 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { l as lodashExports } from './lodash.js';
3
3
  import { f as filterParams, p as propsParams, c as clearParams } from './terminals-list-params-state.js';
4
- import { ah as terminalsListFilterMenu, ai as terminalIdTerminalsListFilterParam, aj as terminalOrderIdTerminalsListFilterParam, ak as terminalStatusTerminalsListFilterParam } from './parts.js';
4
+ import { am as terminalsListFilterMenu, an as terminalIdTerminalsListFilterParam, ao as terminalOrderIdTerminalsListFilterParam, ap as terminalStatusTerminalsListFilterParam } 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 './utils2.js';
8
9
  import './ComponentError.js';
9
10
  import './Checkout.js';
@@ -12,13 +12,14 @@ import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
12
12
  import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
13
13
  import { S as StyledHost } from './styled-host.js';
14
14
  import './details.js';
15
+ import './event-types.js';
15
16
  import { d as defineCustomElement$2, a as defaultColumnsKeys } from './terminals-list-core2.js';
16
17
  import { d as defineCustomElement$3 } from './pagination-menu2.js';
17
18
 
18
- const makeGetTerminals = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
19
+ const makeGetTerminals = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
19
20
  var _a, _b;
20
21
  try {
21
- const response = await service.fetchTerminals(id, authToken, params, apiOrigin);
22
+ const response = await service.fetchTerminals(id, authToken, params);
22
23
  if (!response.error) {
23
24
  const pagingInfo = Object.assign({}, response.page_info);
24
25
  const terminals = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new Terminal(dataItem))) || [];
@@ -51,7 +52,6 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
51
52
  this.__attachShadow();
52
53
  this.errorEvent = createEvent(this, "error-event", 7);
53
54
  this.errorMessage = null;
54
- this.apiOrigin = "https://wc-proxy.justifi.ai";
55
55
  this.columns = defaultColumnsKeys;
56
56
  this.handleErrorEvent = (event) => {
57
57
  this.errorMessage = event.detail.message;
@@ -78,8 +78,7 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
78
78
  this.getTerminals = makeGetTerminals({
79
79
  id: this.accountId,
80
80
  authToken: this.authToken,
81
- service: new TerminalService(),
82
- apiOrigin: this.apiOrigin
81
+ service: new TerminalService()
83
82
  });
84
83
  }
85
84
  else {
@@ -96,13 +95,12 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
96
95
  this.getSubAccounts = makeGetSubAccounts({
97
96
  accountId: this.accountId,
98
97
  authToken: this.authToken,
99
- service: new SubAccountService(),
100
- apiOrigin: this.apiOrigin
98
+ service: new SubAccountService()
101
99
  });
102
100
  }
103
101
  }
104
102
  render() {
105
- return (h(StyledHost, { key: '34f129e35a2bdff9c28c811711d78f04408098ee' }, h("terminals-list-core", { key: '3d0fd5b47e5f4170403dc489168db3dad48dfe2e', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
103
+ return (h(StyledHost, { key: 'f80199e30923fb9a50f66570087d41c5390e20a1' }, h("terminals-list-core", { key: 'ab3ed9809c1c629b3dd8ac5039294fd23b8c16a8', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
106
104
  }
107
105
  static get watchers() { return {
108
106
  "accountId": ["propChanged"],
@@ -111,7 +109,6 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
111
109
  }, [1, "justifi-terminals-list", {
112
110
  "accountId": [1, "account-id"],
113
111
  "authToken": [1, "auth-token"],
114
- "apiOrigin": [1, "api-origin"],
115
112
  "columns": [1],
116
113
  "getTerminals": [32],
117
114
  "getSubAccounts": [32],
@@ -2,6 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
2
2
  import { B as Button } from './button.js';
3
3
  import { S as StyledHost } from './styled-host.js';
4
4
  import './details.js';
5
+ import './event-types.js';
5
6
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
6
7
  import './utils2.js';
7
8
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
@@ -36,7 +37,6 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
36
37
  this.errorEvent = createEvent(this, "error-event", 7);
37
38
  this.submitEvent = createEvent(this, "submit-event", 7);
38
39
  this.submitButtonText = 'Submit';
39
- this.iframeOrigin = "https://components.justifi.ai";
40
40
  this.isLoading = false;
41
41
  }
42
42
  componentWillLoad() {
@@ -79,7 +79,7 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
79
79
  return { isValid };
80
80
  }
81
81
  render() {
82
- return (h(StyledHost, { key: 'f44aae1794754d47dab2ab0d51eee101e98e49a7' }, h("form", { key: '4bc04f95b0ea7746641ff758b1e9d33615cc483e' }, h("fieldset", { key: 'ec59af9ca4b4941aa0910157e483e4810b147862' }, h("div", { key: '8aca0e9d3839440d3935baa7daae786948449153', class: "row gy-3" }, h("div", { key: 'b0a6b46e4669778bea417f70772780837b2fdcb6', class: "col-12" }, h("justifi-payment-method-options", { key: '4c5d3ad184904f872e8b147ff8b8be9c61877657', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, authToken: this.authToken, "account-id": this.accountId, iframeOrigin: this.iframeOrigin })), h("div", { key: 'bd06291750591b0d8604aa9e42b89f74d942de39', class: "col-12" }, h(Button, { key: '19b60fc4248f8ae5942afffdb0a06258d7647330', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText)))))));
82
+ return (h(StyledHost, { key: '793d33a01aea2b2fc0fb450f4cafdb7e9415a368' }, h("form", { key: '39eadbabf4dcdd4c833ddad8660b05be0c104e72' }, h("fieldset", { key: '513803de33328198b00331be2030f51461831fa4' }, h("div", { key: '8546fcdd07ec1e9838bf280e31eaa213c14fcea6', class: "row gy-3" }, h("div", { key: '073430ef8c08858e692728b4afc0bbc9a4a20957', class: "col-12" }, h("justifi-payment-method-options", { key: '096d12f54fcaab8242d1bcff21f2027f3bff6bb8', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: 'dd257cd855231e9cd9ded138373d254cef484d6b', class: "col-12" }, h(Button, { key: '667161dfcb944ca6b62182cf0386be7e8a5fad1f', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText)))))));
83
83
  }
84
84
  }, [1, "justifi-tokenize-payment-method", {
85
85
  "authToken": [1, "auth-token"],
@@ -91,7 +91,6 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
91
91
  "hideSubmitButton": [4, "hide-submit-button"],
92
92
  "hideCardBillingForm": [4, "hide-card-billing-form"],
93
93
  "hideBankAccountBillingForm": [4, "hide-bank-account-billing-form"],
94
- "iframeOrigin": [1, "iframe-origin"],
95
94
  "isLoading": [32],
96
95
  "tokenizePaymentMethod": [64],
97
96
  "fillBillingForm": [64],
@@ -6,7 +6,7 @@ import { S as StateOptions } from './state-options.js';
6
6
  import { n as numberOnlyHandler } from './utils3.js';
7
7
  import { h as heading2 } from './parts.js';
8
8
  import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
9
- import { B as BusinessFormStep } from './event-types.js';
9
+ import { B as BusinessFormStep } from './event-types2.js';
10
10
  import { d as defineCustomElement$4 } from './custom-popper2.js';
11
11
  import { d as defineCustomElement$3 } from './form-control-select2.js';
12
12
  import { d as defineCustomElement$2 } from './form-control-text2.js';
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { T as radioListItem } from './parts.js';
2
+ import { W as radioListItem } from './parts.js';
3
3
  import { d as defineCustomElement$d } from './bank-account-form2.js';
4
4
  import { d as defineCustomElement$c } from './card-form2.js';
5
5
  import { d as defineCustomElement$b } from './custom-popper2.js';
@@ -86,14 +86,14 @@ const NewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class NewPaymentMethod
86
86
  showNewPaymentMethodForm() {
87
87
  var _a;
88
88
  const paymentMethodType = (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id;
89
- return (h("div", { class: "mt-4 pb-4" }, h("hidden-input", null), paymentMethodType === 'card' ? (h("card-form", { ref: (el) => this.paymentMethodFormRef = el, iframeOrigin: this.iframeOrigin })) : (h("bank-account-form", { ref: (el) => this.paymentMethodFormRef = el, iframeOrigin: this.iframeOrigin })), h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodType }), h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupId })));
89
+ return (h("div", { class: "mt-4 pb-4" }, h("hidden-input", null), paymentMethodType === 'card' ? (h("card-form", { ref: (el) => this.paymentMethodFormRef = el })) : (h("bank-account-form", { ref: (el) => this.paymentMethodFormRef = el })), h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodType }), h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupId })));
90
90
  }
91
91
  get hiddenRadioInput() {
92
92
  return !this.showAch || !this.showCard;
93
93
  }
94
94
  render() {
95
95
  var _a, _b;
96
- return (h(Host, { key: 'a3da4a7aa5c5f68bec412be9eb210e8d45d81e80', class: "payment-method" }, h("div", { key: 'b15cf071a206e09333d55d5c7af26b71a79c46cf', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick, hidden: this.hiddenRadioInput }, h("form-control-radio", { key: 'd6ff109905c264b201ff3d6f09001a17e4cc351b', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
96
+ return (h(Host, { key: 'b80791923e2276322ebe0ce3b25b2073beac188d', class: "payment-method" }, h("div", { key: '47dc555bc135d4562958cf371ca3c8b80ee7236d', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick, hidden: this.hiddenRadioInput }, h("form-control-radio", { key: 'e485347f39fa4b7d46d64e231931d6bdf541687c', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
97
97
  }
98
98
  }, [0, "justifi-new-payment-method", {
99
99
  "authToken": [1, "auth-token"],
@@ -105,7 +105,6 @@ const NewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class NewPaymentMethod
105
105
  "showAch": [4, "show-ach"],
106
106
  "hideCardBillingForm": [4, "hide-card-billing-form"],
107
107
  "hideBankAccountBillingForm": [4, "hide-bank-account-billing-form"],
108
- "iframeOrigin": [1, "iframe-origin"],
109
108
  "saveNewPaymentMethodChecked": [32],
110
109
  "fillBillingForm": [64],
111
110
  "resolvePaymentMethod": [64],
@@ -3,9 +3,10 @@ import { F as FormController } from './form.js';
3
3
  import { O as Owner } from './Business.js';
4
4
  import { i as identitySchema } from './business-identity-schema.js';
5
5
  import { B as Button } from './button.js';
6
- import { R as heading3 } from './parts.js';
6
+ import { U as heading3 } from './parts.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$8 } from './custom-popper2.js';
10
11
  import { d as defineCustomElement$7 } from './form-control-date2.js';
11
12
  import { d as defineCustomElement$6 } from './form-control-number-masked2.js';
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "5.6.0";
2
+ const version = "5.7.0";
3
3
  var packageJson = {
4
4
  name: name,
5
5
  version: version};
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { E as ExtendedPagingDefaults } from './Pagination.js';
3
- import { p as buttonLink, q as buttonDisabled } from './parts.js';
3
+ import { p as paginationButton, q as paginationButtonDisabled, r as paginationButtonIconPrevious, u as paginationButtonText, v as paginationButtonIconNext } from './parts.js';
4
4
 
5
5
  const PaginationMenu = /*@__PURE__*/ proxyCustomElement(class PaginationMenu extends HTMLElement {
6
6
  constructor() {
@@ -10,13 +10,13 @@ const PaginationMenu = /*@__PURE__*/ proxyCustomElement(class PaginationMenu ext
10
10
  this.params = {};
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '7a4cfcfa7d9329e8d4026cd6bdc15c3251f004d6' }, h("nav", { key: '203b5ffeb3f4a167aa9448ac6075fd7a1ac15ef7', "aria-label": "Table pagination", class: "d-flex justify-content-end gap-3" }, h("ul", { key: 'e302f939560131ade67b0f9d4135fa04ff485d09', class: "pagination m-0" }, h("li", { key: 'b3e2ba7b66e5de597a3233ee036d4d1ef2930689', class: `page-item ${this.paging.has_previous ? '' : ' disabled'}` }, h("a", { key: '1f358b34fbaa7f140c1ee15ef6ee8d6f9b87407f', href: "#", class: "page-link", onClick: (e) => {
13
+ return (h(Host, { key: '7b821154b627026ef8624af6e4759e2176004676' }, h("nav", { key: '7990aee285d0cc3e6f83cb59bb216439e5364df5', "aria-label": "Table pagination", class: "d-flex justify-content-end gap-3" }, h("ul", { key: '02c68163934ce1aabf4abd607cc28e549e20ebe1', class: "pagination m-0" }, h("li", { key: 'aab661ae85fc61eecd230d058f135483796769c0', class: `page-item ${this.paging.has_previous ? '' : ' disabled'}` }, h("button", { key: 'ef42a41831a9890186c333418b161877761674e1', class: "page-link", onClick: (e) => {
14
14
  e.preventDefault();
15
15
  this.paging.handleClickPrevious(this.paging.start_cursor);
16
- }, part: this.paging.has_previous ? buttonLink : buttonDisabled }, h("span", { key: 'daffe0c0ffb7265cd769bbf27fef42c37e86300d', class: "me-1" }, "\u00AB"), h("span", { key: '2c42b74352aa7a79ac6bc231cdd828b7a62f5083' }, "Previous"))), h("li", { key: '2707ab481b124351479dbc5e4b270a60f8e0cb9e', class: `page-item ${this.paging.has_next ? '' : ' disabled'}` }, h("a", { key: 'f97ea7a812ba9b0066cd5e75ab45bff152708b63', href: "#", class: "page-link", onClick: (e) => {
16
+ }, part: this.paging.has_previous ? paginationButton : paginationButtonDisabled }, h("span", { key: 'a898a92687e4a5fec37d9dab4208430260a9f274', class: "me-1", part: paginationButtonIconPrevious }, "\u00AB"), h("span", { key: 'ecc2eeedc064d405ad178b9a98ed088e12f1b2fb', part: paginationButtonText }, "Previous"))), h("li", { key: '56569cd9f9803ead8b1180e2f982a98d7009be1f', class: `page-item ${this.paging.has_next ? '' : ' disabled'}` }, h("button", { key: 'c39d389ab89609e8ce11b3dd81eb5c4a50d3521f', class: "page-link", onClick: (e) => {
17
17
  e.preventDefault();
18
18
  this.paging.handleClickNext(this.paging.end_cursor);
19
- }, part: this.paging.has_next ? buttonLink : buttonDisabled }, h("span", { key: 'a850314028161b5a04618ffc5515603ea7203a0a' }, "Next"), h("span", { key: '643097228302500411ca0c4a932d8067074a15d2', class: "ms-1" }, "\u00BB")))))));
19
+ }, part: this.paging.has_next ? paginationButton : paginationButtonDisabled }, h("span", { key: '6a01458a048a524931b03df6a964fa4a0ac403ac', part: paginationButtonText }, "Next"), h("span", { key: 'f4cb3d084647c00dff30b99f751180564463443f', class: "ms-1", part: paginationButtonIconNext }, "\u00BB")))))));
20
20
  }
21
21
  }, [0, "pagination-menu", {
22
22
  "paging": [16],
@@ -48,13 +48,26 @@ const tooltipInner = `tooltip-inner ${text}`;
48
48
  const card = `card ${text} ${backgroundColor}`;
49
49
  // Table
50
50
  const table = `table ${text} ${backgroundColor}`;
51
+ const tableRow = `table-row ${text} ${backgroundColor}`;
51
52
  const tableCell = `table-cell ${text} ${backgroundColor}`;
52
- const tableHeadCell = `table-head-cell ${tableCell} ${text} ${backgroundColor}`;
53
- const tableCellEven = `table-cell-even ${tableCell} ${text} ${backgroundColor}`;
54
- const tableCellOdd = `table-cell-odd ${tableCell} ${text} ${backgroundColor}`;
53
+ const tableHead = `table-head`;
54
+ const tableHeadRow = `table-head-row ${text} ${backgroundColor}`;
55
+ const tableHeadCell = `table-head-cell ${tableCell}`;
56
+ const tableFoot = `table-foot`;
57
+ const tableFootRow = `table-foot-row ${text} ${backgroundColor}`;
58
+ const tableFootCell = `table-foot-cell ${tableCell}`;
59
+ const tableCellEven = `table-cell-even ${tableCell}`;
60
+ const tableCellOdd = `table-cell-odd ${tableCell}`;
55
61
  const getAlternateTableCellPart = (index) => index % 2 ? tableCellEven : tableCellOdd;
56
62
  const tableEmpty = `table-empty ${text} ${backgroundColor}`;
57
63
  const tableError = `table-error ${text} ${backgroundColor}`;
64
+ // Pagination
65
+ const paginationButton = `pagination-button ${button}`;
66
+ const paginationButtonDisabled = `pagination-button-disabled ${buttonDisabled}`;
67
+ const paginationButtonText = `pagination-button-text ${text}`;
68
+ const paginationButtonIcon = `pagination-button-icon ${text}`;
69
+ const paginationButtonIconNext = `pagination-button-icon-next ${paginationButtonIcon}`;
70
+ const paginationButtonIconPrevious = `pagination-button-icon-previous ${paginationButtonIcon}`;
58
71
  // Loading spinner
59
72
  const loadingSpinner = `loading-spinner`;
60
73
  // Badge
@@ -69,6 +82,7 @@ const badgeLight = `${badge} badge-light`;
69
82
  const badgeDark = `${badge} badge-dark`;
70
83
  // Dropdown-menu
71
84
  const dropdownMenu = `dropdown-menu ${text}`;
85
+ const dropdownMenuButton = `dropdown-menu-button ${buttonPrimary}`;
72
86
  // Radio List Item
73
87
  const radioListItem = `radio-list-item ${text}`;
74
88
  // Skeleton
@@ -114,4 +128,4 @@ const orderTypeTerminalOrdersListFilterParam = `${terminalOrdersListFilterParam}
114
128
  const createdAfterTerminalOrdersListFilterParam = `${terminalOrdersListFilterParam} created-after-terminal-orders-list-filter-param`;
115
129
  const createdBeforeTerminalOrdersListFilterParam = `${terminalOrdersListFilterParam} created-before-terminal-orders-list-filter-param`;
116
130
 
117
- export { statusCheckoutsListFilterParam as $, badgeSecondary as A, badgePrimary as B, badge as C, alertDanger as D, inputCheckboxInvalid as E, inputCheckboxCheckedFocused as F, inputCheckboxFocused as G, inputCheckboxChecked as H, inputCheckbox as I, inputAdornment as J, inputGroup as K, inputRadioInvalid as L, inputRadioCheckedFocused as M, inputRadioChecked as N, inputRadioFocused as O, inputRadio as P, inputInvalidAndFocused as Q, heading3 as R, checkoutSummary as S, radioListItem as T, heading4 as U, image as V, heading5 as W, buttonSecondary as X, buttonPrimary as Y, buttonLoading as Z, checkoutsListFilterMenu as _, heading1 as a, paymentModeCheckoutsListFilterParam as a0, dropdownMenu as a1, getAlternateTableCellPart as a2, paymentsListFilterMenu as a3, paymentIdPaymentsListFilterParam as a4, terminalIdPaymentsListFilterParam as a5, paymentStatusPaymentsListFilterParam as a6, createdAfterPaymentsListFilterParam as a7, createdBeforePaymentsListFilterParam as a8, payoutsListFilterMenu as a9, createdAfterPayoutsListFilterParam as aa, createdBeforePayoutsListFilterParam as ab, terminalOrdersListFilterMenu as ac, orderStatusTerminalOrdersListFilterParam as ad, orderTypeTerminalOrdersListFilterParam as ae, createdAfterTerminalOrdersListFilterParam as af, createdBeforeTerminalOrdersListFilterParam as ag, terminalsListFilterMenu as ah, terminalIdTerminalsListFilterParam as ai, terminalOrderIdTerminalsListFilterParam as aj, terminalStatusTerminalsListFilterParam as ak, billingForm as al, tableEmpty as am, tableError as an, inputInvalid as b, inputDisabled as c, inputFocused as d, tooltipIcon as e, tooltip as f, tooltipInner as g, heading2 as h, input as i, textDanger as j, card as k, label as l, table as m, tableHeadCell as n, tableCell as o, buttonLink as p, buttonDisabled as q, loadingSpinner as r, skeleton as s, text as t, badgeDark as u, badgeLight as v, badgeInfo as w, badgeWarning as x, badgeDanger as y, badgeSuccess as z };
131
+ export { buttonSecondary as $, badgeWarning as A, badgeDanger as B, badgeSuccess as C, badgeSecondary as D, badgePrimary as E, badge as F, alertDanger as G, inputCheckboxInvalid as H, inputCheckboxCheckedFocused as I, inputCheckboxFocused as J, inputCheckboxChecked as K, inputCheckbox as L, inputAdornment as M, inputGroup as N, inputRadioInvalid as O, inputRadioCheckedFocused as P, inputRadioChecked as Q, inputRadioFocused as R, inputRadio as S, inputInvalidAndFocused as T, heading3 as U, checkoutSummary as V, radioListItem as W, heading4 as X, image as Y, buttonLink as Z, heading5 as _, heading1 as a, buttonPrimary as a0, buttonLoading as a1, checkoutsListFilterMenu as a2, statusCheckoutsListFilterParam as a3, paymentModeCheckoutsListFilterParam as a4, dropdownMenuButton as a5, dropdownMenu as a6, getAlternateTableCellPart as a7, paymentsListFilterMenu as a8, paymentIdPaymentsListFilterParam as a9, terminalIdPaymentsListFilterParam as aa, paymentStatusPaymentsListFilterParam as ab, createdAfterPaymentsListFilterParam as ac, createdBeforePaymentsListFilterParam as ad, payoutsListFilterMenu as ae, createdAfterPayoutsListFilterParam as af, createdBeforePayoutsListFilterParam as ag, terminalOrdersListFilterMenu as ah, orderStatusTerminalOrdersListFilterParam as ai, orderTypeTerminalOrdersListFilterParam as aj, createdAfterTerminalOrdersListFilterParam as ak, createdBeforeTerminalOrdersListFilterParam as al, terminalsListFilterMenu as am, terminalIdTerminalsListFilterParam as an, terminalOrderIdTerminalsListFilterParam as ao, terminalStatusTerminalsListFilterParam as ap, billingForm as aq, tableHead as ar, tableHeadRow as as, tableRow as at, tableFoot as au, tableFootRow as av, tableFootCell as aw, tableEmpty as ax, tableError as ay, inputInvalid as b, inputDisabled as c, inputFocused as d, tooltipIcon as e, tooltip as f, tooltipInner as g, heading2 as h, input as i, textDanger as j, card as k, label as l, table as m, tableHeadCell as n, tableCell as o, paginationButton as p, paginationButtonDisabled as q, paginationButtonIconPrevious as r, skeleton as s, text as t, paginationButtonText as u, paginationButtonIconNext as v, loadingSpinner as w, badgeDark as x, badgeLight as y, badgeInfo as z };
@@ -4,6 +4,7 @@ import { M as MapPaymentStatusToBadge } from './payments-status.js';
4
4
  import { E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSectionTitle, a as DetailItem, C as CodeBlock } from './utils.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 { S as Skeleton } from './skeleton.js';
8
9
 
9
10
  const PaymentDetailsLoading = () => (h("div", { class: "row gap-3" },
@@ -63,7 +64,10 @@ const PaymentDetailsCore = /*@__PURE__*/ proxyCustomElement(class PaymentDetails
63
64
  ], this.payment.payment_method.bank_account && [
64
65
  h(DetailSectionTitle, { key: '84dae904db3c22ff5ed03abaeb57d3b0736d1fbb', sectionTitle: "Payment Method" }),
65
66
  h("div", { key: '400801019a53feec0478273866fffa5683b408aa', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'ca7bb52e4275659b18daacfa6367de2f32617e70', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '4885d2b5f05b6a713d61074271c7a95b23604dca', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '604ec4efe78a12a1c36d8416c9fdec70351a6dad', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '1ef77a81232e19d1063af9e863f5c9ada183715f', title: "Account Owner", value: this.payment.payment_method.payersName }))
66
- ], h(DetailSectionTitle, { key: '1d0a45dd7b7f44b2bad75db9ddb7886b9fc36c9c', sectionTitle: 'Metadata' }), h("div", { key: '364dfb72b9585b672a510b11ecf794c8293ac88d', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '1b9254f2f5f81959ea4e190a3a84129d8c54eccd', metadata: this.payment.metadata })))))));
67
+ ], this.payment.metadata && [
68
+ h(DetailSectionTitle, { key: '703ee104edf87c55034c38bb9fe0de6907980a0e', sectionTitle: 'Metadata' }),
69
+ h("div", { key: 'c10b66a975c6a221f86226893e13cbf57bf0d8dd', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'e73dfd81f110ec7c275fd37d1ecc71bbc22580b5', metadata: this.payment.metadata }))
70
+ ])))));
67
71
  }
68
72
  static get watchers() { return {
69
73
  "getPaymentDetails": ["updateOnPropChange"]