@justifi/webcomponents 5.6.0 → 5.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/dist/cjs/ApiNew-DG13rvk6.js +86 -0
  2. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  3. package/dist/cjs/{badge-DwSZ83Bm.js → badge-ByWVHNyJ.js} +2 -2
  4. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +4 -4
  5. package/dist/cjs/bank-account-form_9.cjs.entry.js +6 -6
  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 +5 -5
  8. package/dist/cjs/{business.service-Crmkeulk.js → business.service-Vcq4kPU8.js} +4 -2
  9. package/dist/cjs/{button-Cp4u5YgP.js → button-Bn9jOYbx.js} +2 -2
  10. package/dist/cjs/{check-pkg-version-C4d9pl8G.js → check-pkg-version-7gGchZzS.js} +1 -1
  11. package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -8
  12. package/dist/cjs/{payouts-list-params-state-DX4jg37H.js → checkouts-list-params-state-BvG5Ysrg.js} +1 -1
  13. package/dist/cjs/{checkouts-table-nsXjlcI1.js → checkouts-table-C_cpZa-i.js} +3 -3
  14. package/dist/cjs/config-state-Bm8-EuFE.js +42 -0
  15. package/dist/cjs/custom-popper_4.cjs.entry.js +3 -3
  16. package/dist/cjs/{event-types-CjInBN20.js → event-types-cB_-SsYZ.js} +3 -3
  17. package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
  18. package/dist/cjs/form-control-checkbox.cjs.entry.js +4 -4
  19. package/dist/cjs/form-control-date.cjs.entry.js +3 -3
  20. package/dist/cjs/{form-control-error-text-NbHDc1JL.js → form-control-error-text-CBAVQoZ3.js} +2 -2
  21. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  22. package/dist/cjs/{form-control-help-text-bc3qGHAG.js → form-control-help-text-DQz5O3wX.js} +2 -2
  23. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  24. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +4 -4
  25. package/dist/cjs/form-control-monetary.cjs.entry.js +4 -4
  26. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +3 -3
  27. package/dist/cjs/form-control-number.cjs.entry.js +4 -4
  28. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  29. package/dist/cjs/{get-business-BBzGEPBG.js → get-business-DHg5rpse.js} +2 -2
  30. package/dist/cjs/{get-payment-details-DQyJtwTw.js → get-payment-details-DqvDYbnK.js} +2 -2
  31. package/dist/cjs/{get-payout-csv-Jr_0DmmY.js → get-payout-csv-CXEQkjDm.js} +2 -2
  32. package/dist/cjs/{get-subaccounts-zwxhG-O3.js → get-subaccounts-CasN5tDA.js} +8 -8
  33. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  34. package/dist/cjs/{header-1-kwWMtg3s.js → header-1-Bl1S9jV8.js} +2 -2
  35. package/dist/cjs/{header-3-CNWIH9ZU.js → header-3-DYzIjFIZ.js} +2 -2
  36. package/dist/cjs/{iframe-input-styles-state-jHHRvqzM.js → iframe-input-styles-state-D9vhHzZQ.js} +1 -1
  37. package/dist/cjs/iframe-input.cjs.entry.js +6 -6
  38. package/dist/cjs/{index-DzQdh5ij.js → index-B8ljHEN1.js} +1 -1
  39. package/dist/cjs/{index-BRQfozbS.js → index-BYd8IvAa.js} +1 -1
  40. package/dist/cjs/{insurance-state-DbXkNYds.js → insurance-state-BbmHHQl0.js} +3 -3
  41. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +6 -6
  42. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +7 -4
  43. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +2 -2
  44. package/dist/cjs/justifi-business-details.cjs.entry.js +10 -7
  45. package/dist/cjs/justifi-business-form.cjs.entry.js +9 -9
  46. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  47. package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
  48. package/dist/cjs/justifi-checkout.cjs.entry.js +3 -3
  49. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +5 -5
  50. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -11
  51. package/dist/cjs/justifi-config-provider.cjs.entry.js +26 -0
  52. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  53. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  54. package/dist/cjs/justifi-dispute-management.cjs.entry.js +3 -3
  55. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -7
  56. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  57. package/dist/cjs/justifi-order-terminals.cjs.entry.js +18 -19
  58. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -4
  59. package/dist/cjs/justifi-payment-details.cjs.entry.js +12 -11
  60. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  61. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -4
  62. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +15 -14
  63. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +5 -5
  64. package/dist/cjs/justifi-payments-list.cjs.entry.js +17 -16
  65. package/dist/cjs/justifi-payout-details.cjs.entry.js +12 -11
  66. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +16 -14
  67. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +5 -5
  68. package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -19
  69. package/dist/cjs/justifi-refund-payment.cjs.entry.js +21 -20
  70. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +6 -6
  71. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
  72. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
  73. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +19 -22
  74. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -5
  75. package/dist/cjs/justifi-terminals-list.cjs.entry.js +17 -17
  76. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +6 -6
  77. package/dist/cjs/loader.cjs.js +2 -2
  78. package/dist/cjs/{package-S6wVKDKx.js → package-CseQI95t.js} +1 -1
  79. package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
  80. package/dist/cjs/{parts-D_uKOPFe.js → parts-Du1T2dvF.js} +12 -3
  81. package/dist/cjs/payment-details-core.cjs.entry.js +7 -7
  82. package/dist/cjs/payment.service-CAJSEb2x.js +21 -0
  83. package/dist/cjs/payments-list-core.cjs.entry.js +10 -10
  84. package/dist/cjs/{checkouts-list-params-state-DX4jg37H.js → payments-list-params-state-BvG5Ysrg.js} +1 -1
  85. package/dist/cjs/{payments-status-CQq7KrHL.js → payments-status-hksfHuBH.js} +2 -2
  86. package/dist/cjs/{payments-table-ClOxMnZ8.js → payments-table-CmvP6owu.js} +3 -3
  87. package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
  88. package/dist/cjs/payout.service-wOnSu52a.js +26 -0
  89. package/dist/cjs/payouts-list-core.cjs.entry.js +9 -9
  90. package/dist/cjs/{terminal-orders-list-params-state-DX4jg37H.js → payouts-list-params-state-BvG5Ysrg.js} +1 -1
  91. package/dist/cjs/{payouts-status-BdfV3jvX.js → payouts-status-DfNhfSsm.js} +2 -2
  92. package/dist/cjs/{payouts-table-Bo3pLf4Z.js → payouts-table-CpgWxl8A.js} +3 -3
  93. package/dist/cjs/{skeleton-BXVndBVC.js → skeleton-BFtuPBwQ.js} +2 -2
  94. package/dist/cjs/{spinner-CSH2OUiV.js → spinner-C9z2tkh2.js} +2 -2
  95. package/dist/cjs/{styled-host-CzJ8Ux1t.js → styled-host-udkBJV5h.js} +1 -1
  96. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  97. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +8 -8
  98. package/dist/cjs/{payments-list-params-state-DX4jg37H.js → terminal-orders-list-params-state-BvG5Ysrg.js} +1 -1
  99. package/dist/cjs/{terminal-orders-table-CXmVc7uU.js → terminal-orders-table-CpVY3VsQ.js} +3 -3
  100. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  101. package/dist/cjs/terminal.service-cGQB3xiL.js +29 -0
  102. package/dist/cjs/terminals-list-core.cjs.entry.js +8 -8
  103. package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +22 -0
  104. package/dist/cjs/{terminals-table-vYbTPOpy.js → terminals-table-DRQQjYAE.js} +3 -3
  105. package/dist/cjs/{utils-DxbncJhj.js → utils-B_Ol6YlL.js} +2 -2
  106. package/dist/cjs/webcomponents.cjs.js +3 -3
  107. package/dist/collection/actions/business/get-business.js +2 -2
  108. package/dist/collection/actions/payment/get-payment-details.js +2 -2
  109. package/dist/collection/actions/payment/get-payment-transactions.js +2 -2
  110. package/dist/collection/actions/payment/get-payments.js +2 -2
  111. package/dist/collection/actions/payout/get-payout-transactions.js +2 -2
  112. package/dist/collection/actions/payout/get-payouts.js +2 -2
  113. package/dist/collection/actions/refund/refund-actions.js +2 -2
  114. package/dist/collection/actions/sub-account/get-subaccounts.js +2 -2
  115. package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
  116. package/dist/collection/actions/terminal/get-terminal-orders.js +2 -2
  117. package/dist/collection/actions/terminal/get-terminals.js +2 -2
  118. package/dist/collection/api/ApiNew.js +82 -0
  119. package/dist/collection/api/services/business.service.js +4 -2
  120. package/dist/collection/api/services/payment.service.js +8 -8
  121. package/dist/collection/api/services/payout.service.js +11 -13
  122. package/dist/collection/api/services/refund.service.js +5 -4
  123. package/dist/collection/api/services/subaccounts.service.js +5 -5
  124. package/dist/collection/api/services/terminal.service.js +14 -15
  125. package/dist/collection/api/services/terminal_orders.service.js +5 -9
  126. package/dist/collection/collection-manifest.json +2 -1
  127. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +1 -1
  128. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
  129. package/dist/collection/components/checkouts-list/checkouts-list.js +2 -3
  130. package/dist/collection/components/config-provider/config-provider.js +83 -0
  131. package/dist/collection/components/config-provider/config-state.js +36 -0
  132. package/dist/collection/components/order-terminals/order-terminals.js +4 -28
  133. package/dist/collection/components/payment-details/payment-details.js +1 -23
  134. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +2 -24
  135. package/dist/collection/components/payments-list/payments-list-core.js +2 -2
  136. package/dist/collection/components/payments-list/payments-list.js +2 -24
  137. package/dist/collection/components/payout-details/get-payout-csv.js +2 -2
  138. package/dist/collection/components/payout-details/payout-details.js +1 -23
  139. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +4 -24
  140. package/dist/collection/components/payouts-list/payouts-list.js +3 -26
  141. package/dist/collection/components/refund-payment/refund-payment.js +2 -25
  142. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +2 -24
  143. package/dist/collection/components/terminals-list/terminals-list.js +3 -26
  144. package/dist/collection/styles/parts.js +10 -3
  145. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +4 -4
  146. package/dist/docs.json +94 -242
  147. package/dist/esm/ApiNew-UOnmIWcv.js +84 -0
  148. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  149. package/dist/esm/{badge-D5PvLnZT.js → badge-B191hCAo.js} +2 -2
  150. package/dist/esm/bank-account-document-form-inputs_4.entry.js +4 -4
  151. package/dist/esm/bank-account-form_9.entry.js +6 -6
  152. package/dist/esm/{business-additional-questions-schema-W6okG5Xu.js → business-additional-questions-schema-DWnZs60Z.js} +1 -1
  153. package/dist/esm/business-details-core.entry.js +5 -5
  154. package/dist/esm/{business.service-B136meVo.js → business.service-B1VD22Tz.js} +11 -9
  155. package/dist/esm/{button-wgHJf7hN.js → button-BRFA5syj.js} +2 -2
  156. package/dist/esm/{check-pkg-version-iIBw3nCc.js → check-pkg-version-DpVT68Qo.js} +1 -1
  157. package/dist/esm/checkouts-list-core.entry.js +8 -8
  158. package/dist/esm/{checkouts-list-params-state-qgJxi6iW.js → checkouts-list-params-state-Bn7pL-8x.js} +1 -1
  159. package/dist/esm/{checkouts-table-DQfjKgR-.js → checkouts-table-BIO5rpvV.js} +3 -3
  160. package/dist/esm/config-state-Bl6vWekp.js +38 -0
  161. package/dist/esm/custom-popper_4.entry.js +3 -3
  162. package/dist/esm/{event-types-Dv-I6YqZ.js → event-types-BIryDMGV.js} +3 -3
  163. package/dist/esm/form-alert_5.entry.js +2 -2
  164. package/dist/esm/form-control-checkbox.entry.js +4 -4
  165. package/dist/esm/form-control-date.entry.js +3 -3
  166. package/dist/esm/{form-control-error-text-nyeinPVQ.js → form-control-error-text-CVPFeRt0.js} +2 -2
  167. package/dist/esm/form-control-file-v2_2.entry.js +3 -3
  168. package/dist/esm/{form-control-help-text-QhxeQeTV.js → form-control-help-text-D-ReDn6e.js} +2 -2
  169. package/dist/esm/form-control-help-text.entry.js +1 -1
  170. package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
  171. package/dist/esm/form-control-monetary.entry.js +4 -4
  172. package/dist/esm/form-control-number-masked_2.entry.js +3 -3
  173. package/dist/esm/form-control-number.entry.js +4 -4
  174. package/dist/esm/form-control-radio.entry.js +2 -2
  175. package/dist/esm/{get-business-B3c5gg1D.js → get-business-CIKToQur.js} +2 -2
  176. package/dist/esm/{get-payment-details-Bzh5t6A8.js → get-payment-details-CXiGG9cO.js} +2 -2
  177. package/dist/esm/{get-payout-csv-bM3pZLKB.js → get-payout-csv-D7IYYqVL.js} +2 -2
  178. package/dist/esm/{get-subaccounts-BB3Sqb3H.js → get-subaccounts-COe5GtaY.js} +8 -8
  179. package/dist/esm/gross-payment-chart-core.entry.js +4 -4
  180. package/dist/esm/{header-1-DNg4xuR6.js → header-1-ClU-iUGF.js} +2 -2
  181. package/dist/esm/{header-3-BD_mh7vB.js → header-3-jLYjhsUb.js} +2 -2
  182. package/dist/esm/{iframe-input-styles-state-DeH54Fkx.js → iframe-input-styles-state-ibYqbF--.js} +1 -1
  183. package/dist/esm/iframe-input.entry.js +6 -6
  184. package/dist/esm/{index-4sfb1rKO.js → index-Cc3u0uDC.js} +1 -1
  185. package/dist/esm/{index-D4-FKsCU.js → index-D6FDxSyt.js} +1 -1
  186. package/dist/esm/{insurance-state-CXUWRQQk.js → insurance-state-5MPrBdwI.js} +3 -3
  187. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +6 -6
  188. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +7 -4
  189. package/dist/esm/justifi-additional-statement_8.entry.js +2 -2
  190. package/dist/esm/justifi-business-details.entry.js +10 -7
  191. package/dist/esm/justifi-business-form.entry.js +9 -9
  192. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  193. package/dist/esm/justifi-checkout-core.entry.js +8 -8
  194. package/dist/esm/justifi-checkout.entry.js +3 -3
  195. package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -5
  196. package/dist/esm/justifi-checkouts-list.entry.js +13 -11
  197. package/dist/esm/justifi-config-provider.entry.js +24 -0
  198. package/dist/esm/justifi-details.entry.js +3 -3
  199. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  200. package/dist/esm/justifi-dispute-management.entry.js +3 -3
  201. package/dist/esm/justifi-dispute-notification_3.entry.js +7 -7
  202. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  203. package/dist/esm/justifi-order-terminals.entry.js +18 -19
  204. package/dist/esm/justifi-owner-form_3.entry.js +7 -4
  205. package/dist/esm/justifi-payment-details.entry.js +12 -11
  206. package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
  207. package/dist/esm/justifi-payment-provisioning.entry.js +7 -4
  208. package/dist/esm/justifi-payment-transactions-list.entry.js +15 -14
  209. package/dist/esm/justifi-payments-list-filters.entry.js +5 -5
  210. package/dist/esm/justifi-payments-list.entry.js +17 -16
  211. package/dist/esm/justifi-payout-details.entry.js +12 -11
  212. package/dist/esm/justifi-payout-transactions-list.entry.js +16 -14
  213. package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
  214. package/dist/esm/justifi-payouts-list.entry.js +19 -19
  215. package/dist/esm/justifi-refund-payment.entry.js +21 -20
  216. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +6 -6
  217. package/dist/esm/justifi-season-interruption-insurance.entry.js +3 -3
  218. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -5
  219. package/dist/esm/justifi-terminal-orders-list.entry.js +19 -22
  220. package/dist/esm/justifi-terminals-list-filters.entry.js +5 -5
  221. package/dist/esm/justifi-terminals-list.entry.js +17 -17
  222. package/dist/esm/justifi-tokenize-payment-method.entry.js +6 -6
  223. package/dist/esm/loader.js +3 -3
  224. package/dist/esm/{package-DGWLSvML.js → package-D2EbqwBe.js} +1 -1
  225. package/dist/esm/pagination-menu.entry.js +5 -5
  226. package/dist/esm/{parts-6ctk_bhj.js → parts-CjO1GttX.js} +9 -4
  227. package/dist/esm/payment-details-core.entry.js +7 -7
  228. package/dist/esm/payment.service-B9_zvpM_.js +19 -0
  229. package/dist/esm/payments-list-core.entry.js +10 -10
  230. package/dist/esm/{payments-list-params-state-qgJxi6iW.js → payments-list-params-state-Bn7pL-8x.js} +1 -1
  231. package/dist/esm/{payments-status-nKLMqTrO.js → payments-status-CQQH_5oM.js} +2 -2
  232. package/dist/esm/{payments-table-BrvZHeak.js → payments-table-BdQtWUO-.js} +3 -3
  233. package/dist/esm/payout-details-core.entry.js +8 -8
  234. package/dist/esm/payout.service-BGSaI-j9.js +24 -0
  235. package/dist/esm/payouts-list-core.entry.js +9 -9
  236. package/dist/esm/{payouts-list-params-state-qgJxi6iW.js → payouts-list-params-state-Bn7pL-8x.js} +1 -1
  237. package/dist/esm/{payouts-status-tVJFGPCs.js → payouts-status-Cz9DL-Ph.js} +2 -2
  238. package/dist/esm/{payouts-table-CgfTp9tE.js → payouts-table-bOrdlN_0.js} +3 -3
  239. package/dist/esm/{skeleton-D8dsThNX.js → skeleton-t69TLGP9.js} +2 -2
  240. package/dist/esm/{spinner-BVJ-upD0.js → spinner-Bo1Ff3L8.js} +2 -2
  241. package/dist/esm/{styled-host-D594Ui4d.js → styled-host-C7vaWLiB.js} +1 -1
  242. package/dist/esm/table-filters-menu.entry.js +3 -3
  243. package/dist/esm/terminal-orders-list-core.entry.js +8 -8
  244. package/dist/esm/{terminal-orders-list-params-state-qgJxi6iW.js → terminal-orders-list-params-state-Bn7pL-8x.js} +1 -1
  245. package/dist/esm/{terminal-orders-table-CgioW1d8.js → terminal-orders-table-5gemV24y.js} +3 -3
  246. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  247. package/dist/esm/terminal.service-B0Rc9vED.js +27 -0
  248. package/dist/esm/terminals-list-core.entry.js +8 -8
  249. package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +16 -0
  250. package/dist/esm/{terminals-table-D7LKwR85.js → terminals-table-DFxuyQM-.js} +3 -3
  251. package/dist/esm/{utils-1z8cNzLu.js → utils-CK8L6CE7.js} +2 -2
  252. package/dist/esm/webcomponents.js +4 -4
  253. package/dist/module/ApiNew.js +84 -0
  254. package/dist/module/additional-statement.js +1 -1
  255. package/dist/module/badge.js +1 -1
  256. package/dist/module/billing-form.js +1 -1
  257. package/dist/module/business-core-info-form-step-core.js +1 -1
  258. package/dist/module/business-core-info-schema.js +1 -1
  259. package/dist/module/business.service.js +11 -9
  260. package/dist/module/button.js +1 -1
  261. package/dist/module/cancellation-policy.js +1 -1
  262. package/dist/module/checkout-core.js +1 -1
  263. package/dist/module/checkouts-list-core2.js +1 -1
  264. package/dist/module/config-state.js +38 -0
  265. package/dist/module/customer-details.js +1 -1
  266. package/dist/module/dispute-notification.js +1 -1
  267. package/dist/module/dispute-response-core.js +1 -1
  268. package/dist/module/duplicate-charge.js +1 -1
  269. package/dist/module/electronic-evidence.js +1 -1
  270. package/dist/module/event-types3.js +1 -1
  271. package/dist/module/form-alert2.js +1 -1
  272. package/dist/module/form-control-checkbox2.js +1 -1
  273. package/dist/module/form-control-monetary-provisioning2.js +1 -1
  274. package/dist/module/form-control-monetary2.js +1 -1
  275. package/dist/module/form-control-number.js +1 -1
  276. package/dist/module/form-control-radio2.js +1 -1
  277. package/dist/module/form-control-textarea2.js +1 -1
  278. package/dist/module/get-business.js +2 -2
  279. package/dist/module/get-payment-details.js +2 -2
  280. package/dist/module/get-payout-csv.js +2 -2
  281. package/dist/module/get-subaccounts.js +8 -8
  282. package/dist/module/hidden-input2.js +1 -1
  283. package/dist/module/iframe-input2.js +1 -1
  284. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  285. package/dist/module/justifi-checkouts-list.js +2 -3
  286. package/dist/module/justifi-config-provider.d.ts +11 -0
  287. package/dist/module/justifi-config-provider.js +45 -0
  288. package/dist/module/justifi-order-terminals.js +7 -12
  289. package/dist/module/justifi-payment-details.js +1 -4
  290. package/dist/module/justifi-payment-transactions-list.js +5 -8
  291. package/dist/module/justifi-payments-list-filters.js +1 -1
  292. package/dist/module/justifi-payments-list.js +4 -7
  293. package/dist/module/justifi-payout-details.js +1 -4
  294. package/dist/module/justifi-payout-transactions-list.js +7 -8
  295. package/dist/module/justifi-payouts-list-filters.js +1 -1
  296. package/dist/module/justifi-payouts-list.js +5 -9
  297. package/dist/module/justifi-refund-payment.js +9 -12
  298. package/dist/module/justifi-terminal-orders-list-filters.js +1 -1
  299. package/dist/module/justifi-terminal-orders-list.js +9 -16
  300. package/dist/module/justifi-terminals-list-filters.js +1 -1
  301. package/dist/module/justifi-terminals-list.js +5 -9
  302. package/dist/module/new-payment-method.js +1 -1
  303. package/dist/module/owner-form-core2.js +1 -1
  304. package/dist/module/package.js +1 -1
  305. package/dist/module/pagination-menu2.js +4 -4
  306. package/dist/module/parts.js +9 -4
  307. package/dist/module/payment.service.js +8 -14
  308. package/dist/module/payments-list-core2.js +2 -2
  309. package/dist/module/payout.service.js +11 -19
  310. package/dist/module/payouts-list-core2.js +1 -1
  311. package/dist/module/product-or-service.js +1 -1
  312. package/dist/module/refund-policy.js +1 -1
  313. package/dist/module/saved-payment-method.js +1 -1
  314. package/dist/module/sezzle-payment-method.js +1 -1
  315. package/dist/module/shipping-details.js +1 -1
  316. package/dist/module/spinner.js +1 -1
  317. package/dist/module/table-filters-menu2.js +1 -1
  318. package/dist/module/terminal-orders-list-core2.js +1 -1
  319. package/dist/module/terminal-quantity-selector2.js +1 -1
  320. package/dist/module/terminal.service.js +14 -21
  321. package/dist/module/terminals-list-core2.js +1 -1
  322. package/dist/types/actions/business/get-business.d.ts +1 -2
  323. package/dist/types/actions/payment/get-payment-details.d.ts +1 -2
  324. package/dist/types/actions/payment/get-payment-transactions.d.ts +1 -2
  325. package/dist/types/actions/payment/get-payments.d.ts +1 -2
  326. package/dist/types/actions/payout/get-payout-transactions.d.ts +2 -2
  327. package/dist/types/actions/payout/get-payouts.d.ts +1 -2
  328. package/dist/types/actions/refund/refund-actions.d.ts +1 -2
  329. package/dist/types/actions/sub-account/get-subaccounts.d.ts +1 -2
  330. package/dist/types/actions/terminal/get-terminal-models.d.ts +1 -2
  331. package/dist/types/actions/terminal/get-terminal-orders.d.ts +1 -2
  332. package/dist/types/actions/terminal/get-terminals.d.ts +1 -2
  333. package/dist/types/api/ApiNew.d.ts +61 -0
  334. package/dist/types/api/services/business.service.d.ts +1 -1
  335. package/dist/types/api/services/payment.service.d.ts +7 -7
  336. package/dist/types/api/services/payout.service.d.ts +10 -9
  337. package/dist/types/api/services/refund.service.d.ts +2 -2
  338. package/dist/types/api/services/subaccounts.service.d.ts +4 -3
  339. package/dist/types/api/services/terminal.service.d.ts +8 -8
  340. package/dist/types/api/services/terminal_orders.service.d.ts +2 -2
  341. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
  342. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
  343. package/dist/types/components/config-provider/config-provider.d.ts +7 -0
  344. package/dist/types/components/config-provider/config-state.d.ts +13 -0
  345. package/dist/types/components/order-terminals/order-terminals.d.ts +0 -1
  346. package/dist/types/components/payment-details/payment-details.d.ts +0 -1
  347. package/dist/types/components/payment-transactions-list/payment-transactions-list.d.ts +0 -1
  348. package/dist/types/components/payments-list/payments-list.d.ts +0 -1
  349. package/dist/types/components/payout-details/get-payout-csv.d.ts +1 -2
  350. package/dist/types/components/payout-details/payout-details.d.ts +0 -1
  351. package/dist/types/components/payout-transactions-list/payout-transactions-list.d.ts +0 -1
  352. package/dist/types/components/payouts-list/payouts-list.d.ts +0 -1
  353. package/dist/types/components/refund-payment/refund-payment.d.ts +0 -1
  354. package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +0 -1
  355. package/dist/types/components/terminals-list/terminals-list.d.ts +0 -1
  356. package/dist/types/components.d.ts +19 -20
  357. package/dist/types/styles/parts.d.ts +10 -4
  358. package/dist/webcomponents/{p-103692ef.entry.js → p-00eb2bc9.entry.js} +1 -1
  359. package/dist/webcomponents/p-0c2f2ea9.entry.js +1 -0
  360. package/dist/webcomponents/{p-bbc56c17.entry.js → p-11344996.entry.js} +1 -1
  361. package/dist/webcomponents/{p-3b1f69fd.entry.js → p-12674a89.entry.js} +1 -1
  362. package/dist/webcomponents/p-19581139.entry.js +1 -0
  363. package/dist/webcomponents/p-19d21f35.entry.js +1 -0
  364. package/dist/webcomponents/{p-76e7c283.entry.js → p-2294e63b.entry.js} +1 -1
  365. package/dist/webcomponents/{p-1c2bedfe.entry.js → p-24e04f78.entry.js} +1 -1
  366. package/dist/webcomponents/p-2P4kwjNi.js +1 -0
  367. package/dist/webcomponents/{p-a4e7d24f.entry.js → p-30466d27.entry.js} +1 -1
  368. package/dist/webcomponents/{p-c5b66da3.entry.js → p-32c156c6.entry.js} +1 -1
  369. package/dist/webcomponents/p-32ff6641.entry.js +1 -0
  370. package/dist/webcomponents/{p-10ad134d.entry.js → p-38d6c034.entry.js} +1 -1
  371. package/dist/webcomponents/{p-0c9c8d6f.entry.js → p-3add8d1b.entry.js} +1 -1
  372. package/dist/webcomponents/{p-175a913f.entry.js → p-3c01edb0.entry.js} +1 -1
  373. package/dist/webcomponents/{p-b5dd55b1.entry.js → p-3cd9d9d8.entry.js} +1 -1
  374. package/dist/webcomponents/{p-405f135e.entry.js → p-4028ccb0.entry.js} +1 -1
  375. package/dist/webcomponents/p-43140695.entry.js +1 -0
  376. package/dist/webcomponents/{p-487514c2.entry.js → p-493c9bd9.entry.js} +1 -1
  377. package/dist/webcomponents/{p-103deee0.entry.js → p-4ac754e7.entry.js} +1 -1
  378. package/dist/webcomponents/p-4afcb015.entry.js +1 -0
  379. package/dist/webcomponents/p-4c64b1e9.entry.js +1 -0
  380. package/dist/webcomponents/{p-8d4d2ac3.entry.js → p-4e3aca7a.entry.js} +1 -1
  381. package/dist/webcomponents/{p-938e0dbc.entry.js → p-4e489cf9.entry.js} +1 -1
  382. package/dist/webcomponents/{p-656ec7b6.entry.js → p-4e61f480.entry.js} +1 -1
  383. package/dist/webcomponents/{p-40614f67.entry.js → p-4f98895d.entry.js} +1 -1
  384. package/dist/webcomponents/p-4fc851c0.entry.js +1 -0
  385. package/dist/webcomponents/p-526be31d.entry.js +1 -0
  386. package/dist/webcomponents/p-575fc637.entry.js +1 -0
  387. package/dist/webcomponents/p-581ca781.entry.js +1 -0
  388. package/dist/webcomponents/{p-4c4cc0ad.entry.js → p-5a1238a1.entry.js} +1 -1
  389. package/dist/webcomponents/p-5b4cbfd4.entry.js +1 -0
  390. package/dist/webcomponents/{p-d7ea4db7.entry.js → p-5d8d1818.entry.js} +1 -1
  391. package/dist/webcomponents/{p-a78bf0f7.entry.js → p-5eb85754.entry.js} +1 -1
  392. package/dist/webcomponents/{p-dadb97e1.entry.js → p-5f02ec20.entry.js} +1 -1
  393. package/dist/webcomponents/p-6567b171.entry.js +1 -0
  394. package/dist/webcomponents/p-6d701784.entry.js +1 -0
  395. package/dist/webcomponents/p-6n7viK-J.js +1 -0
  396. package/dist/webcomponents/{p-529bf046.entry.js → p-78511d66.entry.js} +1 -1
  397. package/dist/webcomponents/{p-94d81903.entry.js → p-7b649051.entry.js} +1 -1
  398. package/dist/webcomponents/{p-54aa7e86.entry.js → p-805269fd.entry.js} +1 -1
  399. package/dist/webcomponents/p-9d354918.entry.js +1 -0
  400. package/dist/webcomponents/p-B4Bi1JkP.js +1 -0
  401. package/dist/webcomponents/p-BMDJA9xX.js +1 -0
  402. package/dist/webcomponents/{p-CG9te8PM.js → p-BQEAUdoy.js} +1 -1
  403. package/dist/webcomponents/p-BS-e1gnL.js +1 -0
  404. package/dist/webcomponents/{p-DmBEzYCU.js → p-BXey6mVj.js} +1 -1
  405. package/dist/webcomponents/{p-D6mhG0dV.js → p-BdNmdBIx.js} +1 -1
  406. package/dist/webcomponents/p-Bl3qFMoN.js +1 -0
  407. package/dist/webcomponents/p-Bl79NorO.js +1 -0
  408. package/dist/webcomponents/p-CN_YheWL.js +1 -0
  409. package/dist/webcomponents/p-CPXN4Ths.js +1 -0
  410. package/dist/webcomponents/p-CSwEbNEl.js +1 -0
  411. package/dist/webcomponents/p-CWpAvtGa.js +1 -0
  412. package/dist/webcomponents/{p-CCN8wTYX.js → p-Cd06j2SL.js} +1 -1
  413. package/dist/webcomponents/p-CegkOiUz.js +1 -0
  414. package/dist/webcomponents/p-CiKdTI9h.js +1 -0
  415. package/dist/webcomponents/{p-DgQyL5KO.js → p-Cixn6QDS.js} +1 -1
  416. package/dist/webcomponents/p-CjO1GttX.js +1 -0
  417. package/dist/webcomponents/p-D2EbqwBe.js +1 -0
  418. package/dist/webcomponents/p-D5Sh88BE.js +1 -0
  419. package/dist/webcomponents/{p-DBfKxfCX.js → p-D9q8WsW5.js} +1 -1
  420. package/dist/webcomponents/p-DD14E0K0.js +1 -0
  421. package/dist/webcomponents/{p-CgS6VBEy.js → p-DDEz7_ad.js} +1 -1
  422. package/dist/webcomponents/p-DJzjeg3x.js +1 -0
  423. package/dist/webcomponents/p-DjGTAHJM.js +1 -0
  424. package/dist/webcomponents/p-DmIOVniD.js +1 -0
  425. package/dist/webcomponents/p-DniQ6yo6.js +1 -0
  426. package/dist/webcomponents/{p-BxGoUIgN.js → p-Dss1xCBW.js} +1 -1
  427. package/dist/webcomponents/{p-lvlr3zXn.js → p-DuYlA4lj.js} +1 -1
  428. package/dist/webcomponents/p-Dumd8fMw.js +1 -0
  429. package/dist/webcomponents/{p-BwgcVN7d.js → p-DyIEclkx.js} +1 -1
  430. package/dist/webcomponents/p-ERVEQjR2.js +1 -0
  431. package/dist/webcomponents/{p-C3uv9u0l.js → p-GTA6l_sT.js} +1 -1
  432. package/dist/webcomponents/p-KLQjERL5.js +1 -0
  433. package/dist/webcomponents/{p-D5wGYrfz.js → p-OjYukdAC.js} +1 -1
  434. package/dist/webcomponents/p-_bsEVFir.js +1 -0
  435. package/dist/webcomponents/{p-9cf5ed80.entry.js → p-a2f77373.entry.js} +1 -1
  436. package/dist/webcomponents/{p-5321c7d5.entry.js → p-a4c08055.entry.js} +1 -1
  437. package/dist/webcomponents/{p-b15d6c77.entry.js → p-a93cceca.entry.js} +1 -1
  438. package/dist/webcomponents/p-ab5cde61.entry.js +1 -0
  439. package/dist/webcomponents/p-ac98a15e.entry.js +1 -0
  440. package/dist/webcomponents/p-b0430518.entry.js +1 -0
  441. package/dist/webcomponents/{p-0b0e44c4.entry.js → p-b05693c6.entry.js} +1 -1
  442. package/dist/webcomponents/{p-0b1bbf91.entry.js → p-b182796a.entry.js} +1 -1
  443. package/dist/webcomponents/{p-048ed3f0.entry.js → p-b25b8534.entry.js} +1 -1
  444. package/dist/webcomponents/{p-bc3d56a7.entry.js → p-b2db4fae.entry.js} +1 -1
  445. package/dist/webcomponents/p-b40108c0.entry.js +1 -0
  446. package/dist/webcomponents/{p-6d36d6a7.entry.js → p-bb5c9475.entry.js} +1 -1
  447. package/dist/webcomponents/p-bb97192f.entry.js +1 -0
  448. package/dist/webcomponents/{p-9767500b.entry.js → p-c77481fe.entry.js} +1 -1
  449. package/dist/webcomponents/p-c899df50.entry.js +1 -0
  450. package/dist/webcomponents/{p-ffbf35a4.entry.js → p-ca11ad58.entry.js} +1 -1
  451. package/dist/webcomponents/p-d06f7faf.entry.js +1 -0
  452. package/dist/webcomponents/{p-4d5b8876.entry.js → p-d2fbf7ea.entry.js} +1 -1
  453. package/dist/webcomponents/p-d7a04fdd.entry.js +1 -0
  454. package/dist/webcomponents/p-d8f7a73b.entry.js +1 -0
  455. package/dist/webcomponents/{p-009c6766.entry.js → p-d90b8cc2.entry.js} +1 -1
  456. package/dist/webcomponents/p-e558eab8.entry.js +1 -0
  457. package/dist/webcomponents/{p-896e4fb2.entry.js → p-f2dc1405.entry.js} +1 -1
  458. package/dist/webcomponents/p-oPo_KSwO.js +1 -0
  459. package/dist/webcomponents/p-um3YdOwW.js +1 -0
  460. package/dist/webcomponents/p-wqUvt1PB.js +1 -0
  461. package/dist/webcomponents/webcomponents.esm.js +1 -1
  462. package/package.json +1 -1
  463. package/dist/cjs/payment.service-BstXaxH5.js +0 -27
  464. package/dist/cjs/payout.service-DWOtnFdn.js +0 -34
  465. package/dist/cjs/terminal.service-ghxwDinY.js +0 -36
  466. package/dist/cjs/terminals-list-params-state-DX4jg37H.js +0 -22
  467. package/dist/esm/payment.service-CeGn-K_X.js +0 -25
  468. package/dist/esm/payout.service-dukCI9Kl.js +0 -32
  469. package/dist/esm/terminal.service-L0EoPXUE.js +0 -34
  470. package/dist/esm/terminals-list-params-state-qgJxi6iW.js +0 -16
  471. package/dist/webcomponents/p-0764cfde.entry.js +0 -1
  472. package/dist/webcomponents/p-08dcbb41.entry.js +0 -1
  473. package/dist/webcomponents/p-36656ed1.entry.js +0 -1
  474. package/dist/webcomponents/p-3678f5fb.entry.js +0 -1
  475. package/dist/webcomponents/p-41a0b83c.entry.js +0 -1
  476. package/dist/webcomponents/p-4361ae88.entry.js +0 -1
  477. package/dist/webcomponents/p-4994c980.entry.js +0 -1
  478. package/dist/webcomponents/p-5aeOUdhX.js +0 -1
  479. package/dist/webcomponents/p-601669bb.entry.js +0 -1
  480. package/dist/webcomponents/p-63c835b9.entry.js +0 -1
  481. package/dist/webcomponents/p-6ctk_bhj.js +0 -1
  482. package/dist/webcomponents/p-81a1be23.entry.js +0 -1
  483. package/dist/webcomponents/p-81d682ba.entry.js +0 -1
  484. package/dist/webcomponents/p-85681d97.entry.js +0 -1
  485. package/dist/webcomponents/p-88539215.entry.js +0 -1
  486. package/dist/webcomponents/p-8bc32c27.entry.js +0 -1
  487. package/dist/webcomponents/p-9349d32e.entry.js +0 -1
  488. package/dist/webcomponents/p-B2H14Naw.js +0 -1
  489. package/dist/webcomponents/p-B4iBNBBM.js +0 -1
  490. package/dist/webcomponents/p-BAXE_ZfF.js +0 -1
  491. package/dist/webcomponents/p-BLdGqrQH.js +0 -1
  492. package/dist/webcomponents/p-BODr6HXb.js +0 -1
  493. package/dist/webcomponents/p-BoPxMyJA.js +0 -1
  494. package/dist/webcomponents/p-BupmNfQ5.js +0 -1
  495. package/dist/webcomponents/p-BvWS8buZ.js +0 -1
  496. package/dist/webcomponents/p-CGz3XHQc.js +0 -1
  497. package/dist/webcomponents/p-CRgzzPY4.js +0 -1
  498. package/dist/webcomponents/p-CZLIteZz.js +0 -1
  499. package/dist/webcomponents/p-CbZjB3qJ.js +0 -1
  500. package/dist/webcomponents/p-CfbB7agn.js +0 -1
  501. package/dist/webcomponents/p-D5q9gEvl.js +0 -1
  502. package/dist/webcomponents/p-DArbkdtn.js +0 -1
  503. package/dist/webcomponents/p-DEa8EbZW.js +0 -1
  504. package/dist/webcomponents/p-DGWLSvML.js +0 -1
  505. package/dist/webcomponents/p-DPC4A7AZ.js +0 -1
  506. package/dist/webcomponents/p-EbYREopN.js +0 -1
  507. package/dist/webcomponents/p-NI7Keg2H.js +0 -1
  508. package/dist/webcomponents/p-XazJ9qLe.js +0 -1
  509. package/dist/webcomponents/p-Xql8Xhsx.js +0 -1
  510. package/dist/webcomponents/p-a83bf2c0.entry.js +0 -1
  511. package/dist/webcomponents/p-b8096d2b.entry.js +0 -1
  512. package/dist/webcomponents/p-bf83ba04.entry.js +0 -1
  513. package/dist/webcomponents/p-c7dc7184.entry.js +0 -1
  514. package/dist/webcomponents/p-cb8b91ea.entry.js +0 -1
  515. package/dist/webcomponents/p-dafac427.entry.js +0 -1
  516. package/dist/webcomponents/p-dca205de.entry.js +0 -1
  517. package/dist/webcomponents/p-df3fb523.entry.js +0 -1
  518. package/dist/webcomponents/p-f-9W4QBD.js +0 -1
  519. package/dist/webcomponents/p-f604d6ea.entry.js +0 -1
  520. package/dist/webcomponents/p-obi7kkCX.js +0 -1
  521. /package/dist/webcomponents/{p-D4-FKsCU.js → p-D6FDxSyt.js} +0 -0
@@ -9,7 +9,6 @@ import { defaultColumnsKeys } from "./payments-table";
9
9
  export class PaymentsList {
10
10
  constructor() {
11
11
  this.errorMessage = null;
12
- this.apiOrigin = PROXY_API_ORIGIN;
13
12
  this.columns = defaultColumnsKeys;
14
13
  this.handleErrorEvent = (event) => {
15
14
  this.errorMessage = event.detail.message;
@@ -32,8 +31,7 @@ export class PaymentsList {
32
31
  this.getPayments = makeGetPayments({
33
32
  id: this.accountId,
34
33
  authToken: this.authToken,
35
- service: new PaymentService(),
36
- apiOrigin: this.apiOrigin,
34
+ service: new PaymentService()
37
35
  });
38
36
  }
39
37
  else {
@@ -46,7 +44,7 @@ export class PaymentsList {
46
44
  }
47
45
  }
48
46
  render() {
49
- return (h(StyledHost, { key: '97f98385d5b9f4664776f920183901136b1e3d1a' }, h("payments-list-core", { key: 'be6558d801908c60c8c0c0f66741d2ee7049d5e3', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
47
+ return (h(StyledHost, { key: '1527d43387894949810bae0fa5ebeb172f71bbaf' }, h("payments-list-core", { key: '198cbb929b4793c37a0963554d841ac7999e3c29', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
50
48
  }
51
49
  static get is() { return "justifi-payments-list"; }
52
50
  static get encapsulation() { return "shadow"; }
@@ -90,26 +88,6 @@ export class PaymentsList {
90
88
  "setter": false,
91
89
  "reflect": false
92
90
  },
93
- "apiOrigin": {
94
- "type": "string",
95
- "attribute": "api-origin",
96
- "mutable": false,
97
- "complexType": {
98
- "original": "string",
99
- "resolved": "string",
100
- "references": {}
101
- },
102
- "required": false,
103
- "optional": true,
104
- "docs": {
105
- "tags": [],
106
- "text": ""
107
- },
108
- "getter": false,
109
- "setter": false,
110
- "reflect": false,
111
- "defaultValue": "PROXY_API_ORIGIN"
112
- },
113
91
  "columns": {
114
92
  "type": "string",
115
93
  "attribute": "columns",
@@ -1,8 +1,8 @@
1
1
  import { ComponentErrorSeverity } from "../../api/ComponentError";
2
2
  import { getErrorCode, getErrorMessage } from "../../api/services/utils";
3
- export const makeGetPayoutCSV = ({ authToken, service, apiOrigin }) => async ({ payoutId, onError }) => {
3
+ export const makeGetPayoutCSV = ({ authToken, service }) => async ({ payoutId, onError }) => {
4
4
  try {
5
- const { data } = await service.fetchCSV(payoutId, authToken, apiOrigin);
5
+ const { data } = await service.fetchCSV(payoutId, authToken);
6
6
  const a = document.createElement('a');
7
7
  a.href = data.csv_url;
8
8
  a.click();
@@ -8,7 +8,6 @@ import { makeGetPayoutCSV } from "./get-payout-csv";
8
8
  import { checkPkgVersion } from "../../utils/check-pkg-version";
9
9
  export class PayoutDetails {
10
10
  constructor() {
11
- this.apiOrigin = PROXY_API_ORIGIN;
12
11
  this.errorMessage = null;
13
12
  this.handleErrorEvent = (event) => {
14
13
  this.errorMessage = event.detail.message;
@@ -35,8 +34,7 @@ export class PayoutDetails {
35
34
  });
36
35
  this.getPayoutCSV = makeGetPayoutCSV({
37
36
  authToken: this.authToken,
38
- service: new PayoutService(),
39
- apiOrigin: this.apiOrigin
37
+ service: new PayoutService()
40
38
  });
41
39
  }
42
40
  else {
@@ -95,26 +93,6 @@ export class PayoutDetails {
95
93
  "getter": false,
96
94
  "setter": false,
97
95
  "reflect": false
98
- },
99
- "apiOrigin": {
100
- "type": "string",
101
- "attribute": "api-origin",
102
- "mutable": false,
103
- "complexType": {
104
- "original": "string",
105
- "resolved": "string",
106
- "references": {}
107
- },
108
- "required": false,
109
- "optional": true,
110
- "docs": {
111
- "tags": [],
112
- "text": ""
113
- },
114
- "getter": false,
115
- "setter": false,
116
- "reflect": false,
117
- "defaultValue": "PROXY_API_ORIGIN"
118
96
  }
119
97
  };
120
98
  }
@@ -9,6 +9,7 @@ import { TableClickActions } from "../../ui-components/table/event-types";
9
9
  import { table, tableCell } from "../../styles/parts";
10
10
  import { StyledHost, TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-components";
11
11
  import { defaultColumnsKeys, payoutTransactionTableCells, payoutTransactionTableColumns } from "./payout-transactions-table";
12
+ import { configState } from "../config-provider/config-state";
12
13
  export class PayoutTransactionsList {
13
14
  constructor() {
14
15
  this.balanceTransactions = [];
@@ -16,7 +17,6 @@ export class PayoutTransactionsList {
16
17
  this.errorMessage = null;
17
18
  this.paging = pagingDefaults;
18
19
  this.pagingParams = {};
19
- this.apiOrigin = PROXY_API_ORIGIN;
20
20
  this.columns = defaultColumnsKeys;
21
21
  this.handleClickPrevious = (beforeCursor) => {
22
22
  this.pagingParams = { before_cursor: beforeCursor };
@@ -53,9 +53,9 @@ export class PayoutTransactionsList {
53
53
  initializeApi() {
54
54
  if (this.payoutId && this.authToken) {
55
55
  const getPayoutTransactions = makeGetPayoutTransactions({
56
+ accountId: configState.accountId,
56
57
  authToken: this.authToken,
57
- service: new PayoutService(),
58
- apiOrigin: this.apiOrigin
58
+ service: new PayoutService()
59
59
  });
60
60
  getPayoutTransactions({
61
61
  params: this.requestParams,
@@ -94,7 +94,7 @@ export class PayoutTransactionsList {
94
94
  return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
95
95
  }
96
96
  render() {
97
- 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 }) })))))))));
97
+ return (h(StyledHost, { key: '11760c372ccd854fd247a931ac9a31f80e779908' }, h("div", { key: 'cb45e596e6ac53d5567b7afb8c3c34c11d838fbe', class: "table-wrapper" }, h("table", { key: '449b9e901af31d8ae76e4543e7011f7a9596d8ab', class: "table table-hover", part: table }, h("thead", { key: 'c04b7c762ecbb0b25a8375661f3a51d37ff96f24', class: "table-head sticky-top" }, h("tr", { key: 'b81f0b41584f6322f8faec27c61a749d0a60fbf7', class: "table-light text-nowrap" }, this.transactionsTable.columnData.map((column) => column))), h("tbody", { key: '83947c4b2c28ebd29477cb776dfe193ea090e35d', class: "table-body" }, h(TableLoadingState, { key: '94519e994722bcf30b20ba503858ed3c1ecc33dc', columnSpan: this.transactionsTable.columnData.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '2331c2748f53ba9906ed9228d89097bfd024b600', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnData.length }), h(TableErrorState, { key: '9e0a5bfbbccb0ad02a9ed70edc3bb6d6108b9ad7', 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: '0591033f666cddb7cadec2d8da2d61d8ad66fad6', class: "sticky-bottom" }, h("tr", { key: '26c47ed9b3d37553ba43c0e8fc37c4666a8baef9', class: "table-light align-middle" }, h("td", { key: '25ee92e4f38dc8853a5a3cfcfe4d2829ea51788a', part: tableCell, colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '4a26779c713b7bb7833822c98596482c1c06b767', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
98
98
  }
99
99
  static get is() { return "justifi-payout-transactions-list"; }
100
100
  static get encapsulation() { return "shadow"; }
@@ -138,26 +138,6 @@ export class PayoutTransactionsList {
138
138
  "setter": false,
139
139
  "reflect": false
140
140
  },
141
- "apiOrigin": {
142
- "type": "string",
143
- "attribute": "api-origin",
144
- "mutable": false,
145
- "complexType": {
146
- "original": "string",
147
- "resolved": "string",
148
- "references": {}
149
- },
150
- "required": false,
151
- "optional": true,
152
- "docs": {
153
- "tags": [],
154
- "text": ""
155
- },
156
- "getter": false,
157
- "setter": false,
158
- "reflect": false,
159
- "defaultValue": "PROXY_API_ORIGIN"
160
- },
161
141
  "columns": {
162
142
  "type": "string",
163
143
  "attribute": "columns",
@@ -12,7 +12,6 @@ import { makeGetSubAccounts } from "../../actions/sub-account/get-subaccounts";
12
12
  export class PayoutsList {
13
13
  constructor() {
14
14
  this.errorMessage = null;
15
- this.apiOrigin = PROXY_API_ORIGIN;
16
15
  this.columns = defaultColumnsKeys;
17
16
  this.handleOnError = (event) => {
18
17
  this.errorMessage = event.detail.message;
@@ -39,8 +38,7 @@ export class PayoutsList {
39
38
  const serviceParams = {
40
39
  id: this.accountId,
41
40
  authToken: this.authToken,
42
- service: new PayoutService(),
43
- apiOrigin: this.apiOrigin
41
+ service: new PayoutService()
44
42
  };
45
43
  this.getPayouts = makeGetPayouts(serviceParams);
46
44
  this.getPayoutCSV = makeGetPayoutCSV(serviceParams);
@@ -59,13 +57,12 @@ export class PayoutsList {
59
57
  this.getSubAccounts = makeGetSubAccounts({
60
58
  accountId: this.accountId,
61
59
  authToken: this.authToken,
62
- service: new SubAccountService(),
63
- apiOrigin: this.apiOrigin
60
+ service: new SubAccountService()
64
61
  });
65
62
  }
66
63
  }
67
64
  render() {
68
- 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 })));
65
+ return (h(StyledHost, { key: 'f20034e64b3c1f39cdedd38762ac30a70d92bde1', exportedparts: tableExportedParts }, h("payouts-list-core", { key: '3bee62765d06af00577ca338c4f8dd33eb6cfb1c', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
69
66
  }
70
67
  static get is() { return "justifi-payouts-list"; }
71
68
  static get encapsulation() { return "shadow"; }
@@ -109,26 +106,6 @@ export class PayoutsList {
109
106
  "setter": false,
110
107
  "reflect": false
111
108
  },
112
- "apiOrigin": {
113
- "type": "string",
114
- "attribute": "api-origin",
115
- "mutable": false,
116
- "complexType": {
117
- "original": "string",
118
- "resolved": "string",
119
- "references": {}
120
- },
121
- "required": false,
122
- "optional": true,
123
- "docs": {
124
- "tags": [],
125
- "text": ""
126
- },
127
- "getter": false,
128
- "setter": false,
129
- "reflect": false,
130
- "defaultValue": "PROXY_API_ORIGIN"
131
- },
132
109
  "columns": {
133
110
  "type": "string",
134
111
  "attribute": "columns",
@@ -20,7 +20,6 @@ export class RefundPayment {
20
20
  this.paymentLoading = true;
21
21
  this.refundLoading = false;
22
22
  this.hideSubmitButton = false;
23
- this.apiOrigin = PROXY_API_ORIGIN;
24
23
  this.inputHandler = (name, value) => {
25
24
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
26
25
  };
@@ -61,8 +60,7 @@ export class RefundPayment {
61
60
  const getPayment = makeGetPaymentDetails({
62
61
  id: this.paymentId,
63
62
  authToken: this.authToken,
64
- service: new PaymentService(),
65
- apiOrigin: this.apiOrigin
63
+ service: new PaymentService()
66
64
  });
67
65
  getPayment({
68
66
  onSuccess: ({ payment }) => {
@@ -93,8 +91,7 @@ export class RefundPayment {
93
91
  authToken: this.authToken,
94
92
  accountId: this.accountId,
95
93
  paymentId: this.paymentId,
96
- service: new RefundService(),
97
- apiOrigin: this.apiOrigin
94
+ service: new RefundService()
98
95
  });
99
96
  const values = this.formController.values.getValue();
100
97
  this.refundLoading = true;
@@ -204,26 +201,6 @@ export class RefundPayment {
204
201
  "setter": false,
205
202
  "reflect": false,
206
203
  "defaultValue": "false"
207
- },
208
- "apiOrigin": {
209
- "type": "string",
210
- "attribute": "api-origin",
211
- "mutable": false,
212
- "complexType": {
213
- "original": "string",
214
- "resolved": "string",
215
- "references": {}
216
- },
217
- "required": false,
218
- "optional": true,
219
- "docs": {
220
- "tags": [],
221
- "text": ""
222
- },
223
- "getter": false,
224
- "setter": false,
225
- "reflect": false,
226
- "defaultValue": "PROXY_API_ORIGIN"
227
204
  }
228
205
  };
229
206
  }
@@ -9,7 +9,6 @@ import JustifiAnalytics from "../../api/Analytics";
9
9
  export class TerminalOrdersList {
10
10
  constructor() {
11
11
  this.errorMessage = null;
12
- this.apiOrigin = PROXY_API_ORIGIN;
13
12
  this.columns = defaultColumnsKeys;
14
13
  this.handleErrorEvent = (event) => {
15
14
  this.errorMessage = event.detail.message;
@@ -26,8 +25,7 @@ export class TerminalOrdersList {
26
25
  this.getTerminalOrders = makeGetTerminalOrders({
27
26
  id: this.accountId,
28
27
  authToken: this.authToken,
29
- service: new TerminalOrderService(),
30
- apiOrigin: this.apiOrigin
28
+ service: new TerminalOrderService()
31
29
  });
32
30
  }
33
31
  else {
@@ -40,7 +38,7 @@ export class TerminalOrdersList {
40
38
  }
41
39
  }
42
40
  render() {
43
- return (h(StyledHost, { key: '46b01f30e476ae5e3892b96d804305c8e099b4c2' }, h("terminal-orders-list-core", { key: '4a0d1079a9afbf328c3dd382ca5e2180b5679da0', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
41
+ return (h(StyledHost, { key: '4ebe88697536863b62a8bd63fac96eb5f93668d0' }, h("terminal-orders-list-core", { key: '6735068496d16cdd4df169708c93534bea78433a', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
44
42
  }
45
43
  static get is() { return "justifi-terminal-orders-list"; }
46
44
  static get encapsulation() { return "shadow"; }
@@ -84,26 +82,6 @@ export class TerminalOrdersList {
84
82
  "setter": false,
85
83
  "reflect": false
86
84
  },
87
- "apiOrigin": {
88
- "type": "string",
89
- "attribute": "api-origin",
90
- "mutable": false,
91
- "complexType": {
92
- "original": "string",
93
- "resolved": "string",
94
- "references": {}
95
- },
96
- "required": false,
97
- "optional": true,
98
- "docs": {
99
- "tags": [],
100
- "text": ""
101
- },
102
- "getter": false,
103
- "setter": false,
104
- "reflect": false,
105
- "defaultValue": "PROXY_API_ORIGIN"
106
- },
107
85
  "columns": {
108
86
  "type": "string",
109
87
  "attribute": "columns",
@@ -11,7 +11,6 @@ import { makeGetSubAccounts } from "../../actions/sub-account/get-subaccounts";
11
11
  export class TerminalsList {
12
12
  constructor() {
13
13
  this.errorMessage = null;
14
- this.apiOrigin = PROXY_API_ORIGIN;
15
14
  this.columns = defaultColumnsKeys;
16
15
  this.handleErrorEvent = (event) => {
17
16
  this.errorMessage = event.detail.message;
@@ -38,8 +37,7 @@ export class TerminalsList {
38
37
  this.getTerminals = makeGetTerminals({
39
38
  id: this.accountId,
40
39
  authToken: this.authToken,
41
- service: new TerminalService(),
42
- apiOrigin: this.apiOrigin
40
+ service: new TerminalService()
43
41
  });
44
42
  }
45
43
  else {
@@ -56,13 +54,12 @@ export class TerminalsList {
56
54
  this.getSubAccounts = makeGetSubAccounts({
57
55
  accountId: this.accountId,
58
56
  authToken: this.authToken,
59
- service: new SubAccountService(),
60
- apiOrigin: this.apiOrigin
57
+ service: new SubAccountService()
61
58
  });
62
59
  }
63
60
  }
64
61
  render() {
65
- return (h(StyledHost, { key: '34f129e35a2bdff9c28c811711d78f04408098ee' }, h("terminals-list-core", { key: '3d0fd5b47e5f4170403dc489168db3dad48dfe2e', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
62
+ return (h(StyledHost, { key: 'f80199e30923fb9a50f66570087d41c5390e20a1' }, h("terminals-list-core", { key: 'ab3ed9809c1c629b3dd8ac5039294fd23b8c16a8', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
66
63
  }
67
64
  static get is() { return "justifi-terminals-list"; }
68
65
  static get encapsulation() { return "shadow"; }
@@ -106,26 +103,6 @@ export class TerminalsList {
106
103
  "setter": false,
107
104
  "reflect": false
108
105
  },
109
- "apiOrigin": {
110
- "type": "string",
111
- "attribute": "api-origin",
112
- "mutable": false,
113
- "complexType": {
114
- "original": "string",
115
- "resolved": "string",
116
- "references": {}
117
- },
118
- "required": false,
119
- "optional": true,
120
- "docs": {
121
- "tags": [],
122
- "text": ""
123
- },
124
- "getter": false,
125
- "setter": false,
126
- "reflect": false,
127
- "defaultValue": "PROXY_API_ORIGIN"
128
- },
129
106
  "columns": {
130
107
  "type": "string",
131
108
  "attribute": "columns",
@@ -53,13 +53,20 @@ export const tooltipInner = `tooltip-inner ${text}`;
53
53
  export const card = `card ${text} ${backgroundColor}`;
54
54
  // Table
55
55
  export const table = `table ${text} ${backgroundColor}`;
56
+ export const tableRow = `table-row ${text} ${backgroundColor}`;
56
57
  export const tableCell = `table-cell ${text} ${backgroundColor}`;
57
- export const tableHeadCell = `table-head-cell ${tableCell} ${text} ${backgroundColor}`;
58
- export const tableCellEven = `table-cell-even ${tableCell} ${text} ${backgroundColor}`;
59
- export const tableCellOdd = `table-cell-odd ${tableCell} ${text} ${backgroundColor}`;
58
+ export const tableHeadCell = `table-head-cell ${tableCell}`;
59
+ export const tableCellEven = `table-cell-even ${tableCell}`;
60
+ export const tableCellOdd = `table-cell-odd ${tableCell}`;
60
61
  export const getAlternateTableCellPart = (index) => index % 2 ? tableCellEven : tableCellOdd;
61
62
  export const tableEmpty = `table-empty ${text} ${backgroundColor}`;
62
63
  export const tableError = `table-error ${text} ${backgroundColor}`;
64
+ // Pagination
65
+ export const paginationItem = `pagination-item ${text} ${backgroundColor}`;
66
+ export const paginationItemText = `pagination-item-text ${text}`;
67
+ export const paginationItemIcon = `pagination-item-icon ${text}`;
68
+ export const paginationItemIconNext = `pagination-item-icon-next ${paginationItemIcon}`;
69
+ export const paginationItemIconPrevious = `pagination-item-icon-previous ${paginationItemIcon}`;
63
70
  // Loading spinner
64
71
  export const loadingSpinner = `loading-spinner`;
65
72
  // Badge
@@ -1,19 +1,19 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  import { ExtendedPagingDefaults } from "../../api/Pagination";
3
- import { buttonDisabled, buttonLink, } from "../../styles/parts";
3
+ import { buttonDisabled, buttonLink, paginationItemIconNext, paginationItemIconPrevious, paginationItemText } from "../../styles/parts";
4
4
  export class PaginationMenu {
5
5
  constructor() {
6
6
  this.paging = ExtendedPagingDefaults;
7
7
  this.params = {};
8
8
  }
9
9
  render() {
10
- 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) => {
10
+ return (h(Host, { key: 'f34109c682d25608ec0443c87677f1be2fe282a0' }, h("nav", { key: '4193a8d85e3e247df506918ebc1860816ae56739', "aria-label": "Table pagination", class: "d-flex justify-content-end gap-3" }, h("ul", { key: 'd69181b137ea096d505dffd8592f5983abd651c5', class: "pagination m-0" }, h("li", { key: '26948939a517b7d5674d4100b82cb8bfd23197d1', class: `page-item ${this.paging.has_previous ? '' : ' disabled'}` }, h("button", { key: '05946ad1aa69a13c63088d85bb594e7bbe4859b2', class: "page-link", onClick: (e) => {
11
11
  e.preventDefault();
12
12
  this.paging.handleClickPrevious(this.paging.start_cursor);
13
- }, 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) => {
13
+ }, part: this.paging.has_previous ? buttonLink : buttonDisabled }, h("span", { key: '7b1c5029503b9fbbfaad817ea1b3d28056e1f187', class: "me-1", part: paginationItemIconPrevious }, "\u00AB"), h("span", { key: '88fe14b4d757d126beffaa9a9b1fe679160029a8', part: paginationItemText }, "Previous"))), h("li", { key: 'd1c2d678b47e82c7ede6a90a3f230c243aaad8e4', class: `page-item ${this.paging.has_next ? '' : ' disabled'}` }, h("button", { key: 'aff77d59aee0b21d5e4e68120effbb234453942b', class: "page-link", onClick: (e) => {
14
14
  e.preventDefault();
15
15
  this.paging.handleClickNext(this.paging.end_cursor);
16
- }, part: this.paging.has_next ? buttonLink : buttonDisabled }, h("span", { key: 'a850314028161b5a04618ffc5515603ea7203a0a' }, "Next"), h("span", { key: '643097228302500411ca0c4a932d8067074a15d2', class: "ms-1" }, "\u00BB")))))));
16
+ }, part: this.paging.has_next ? buttonLink : buttonDisabled }, h("span", { key: '260c9af01293dbd83add85af7703d8b27b089351', part: paginationItemText }, "Next"), h("span", { key: '9122c2d8dbf78ddcc771359d9b36ba3036dc9be0', class: "ms-1", part: paginationItemIconNext }, "\u00BB")))))));
17
17
  }
18
18
  static get is() { return "pagination-menu"; }
19
19
  static get properties() {