@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
@@ -1,52 +1,44 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { FormController } from "../../../ui-components/form/form";
3
3
  import { businessFormSchema } from "../schemas/business-form-schema";
4
- import { Api } from "../../../api";
4
+ import { ComponentErrorCodes, ComponentErrorSeverity } from "../../../api";
5
5
  import { Business, BusinessFormServerErrors } from "../../../api/Business";
6
6
  import JustifiAnalytics from "../../../api/Analytics";
7
7
  import { Button, Header1, StyledHost } from "../../../ui-components";
8
8
  import { checkPkgVersion } from "../../../utils/check-pkg-version";
9
9
  import { BusinessFormLoading } from "./business-form-loading";
10
10
  import { BusinessFormClickActions } from "../utils";
11
+ import { makeGetBusiness, makePatchBusiness } from "../payment-provisioning/payment-provisioning-actions";
12
+ import { BusinessService } from "../../../api/services/business.service";
11
13
  export class BusinessForm {
12
14
  constructor() {
15
+ this.isLoading = false;
16
+ this.isSaving = false;
13
17
  this.hideErrors = false;
14
18
  this.formTitle = 'Business Information';
15
19
  this.removeTitle = false;
16
- this.isLoading = false;
17
- this.isSaving = false;
18
20
  this.instantiateBusiness = (data) => {
19
21
  const business = new Business(data);
20
22
  this.formController.setInitialValues(Object.assign({}, business));
21
23
  };
22
24
  this.sendData = async () => {
23
25
  this.isSaving = true;
24
- try {
25
- const values = this.formController.values.getValue();
26
- const initialValues = this.formController.getInitialValues();
27
- const payload = new Business(Object.assign(Object.assign({}, initialValues), values)).payload;
28
- const response = await this.api.patch(this.businessEndpoint, payload);
29
- this.handleReponse(response);
30
- }
31
- catch (error) {
32
- this.errorMessage = BusinessFormServerErrors.patchData;
33
- }
34
- finally {
35
- this.isSaving = false;
36
- }
37
- };
38
- this.fetchData = async () => {
39
- this.isLoading = true;
40
- try {
41
- const response = await this.api.get(this.businessEndpoint);
42
- this.instantiateBusiness(response.data);
43
- }
44
- catch (error) {
45
- this.errorMessage = BusinessFormServerErrors.fetchData;
46
- }
47
- finally {
48
- this.isLoading = false;
49
- }
26
+ const values = this.formController.values.getValue();
27
+ const initialValues = this.formController.getInitialValues();
28
+ const payload = new Business(Object.assign(Object.assign({}, initialValues), values)).payload;
29
+ this.patchBusiness({
30
+ payload,
31
+ onSuccess: (response) => {
32
+ this.handleReponse(response);
33
+ },
34
+ onError: ({ error, code, severity }) => {
35
+ this.errorMessage = error.message;
36
+ this.errorEvent.emit({ errorCode: code, message: error.message, severity });
37
+ },
38
+ final: () => {
39
+ this.isSaving = false;
40
+ }
41
+ });
50
42
  };
51
43
  this.validateAndSubmit = (event) => {
52
44
  event.preventDefault();
@@ -56,15 +48,8 @@ export class BusinessForm {
56
48
  componentWillLoad() {
57
49
  checkPkgVersion();
58
50
  this.analytics = new JustifiAnalytics(this);
59
- const missingAuthTokenMessage = 'Warning: Missing auth-token. The form will not be functional without it.';
60
- const missingBusinessIdMessage = 'Warning: Missing business-id. The form requires an existing business-id to function.';
61
- if (!this.authToken)
62
- console.error(missingAuthTokenMessage);
63
- if (!this.businessId)
64
- console.error(missingBusinessIdMessage);
65
51
  this.formController = new FormController(businessFormSchema);
66
- this.api = Api({ authToken: this.authToken, apiOrigin: PROXY_API_ORIGIN });
67
- this.fetchData();
52
+ this.initializeApi();
68
53
  }
69
54
  disconnectedCallback() {
70
55
  this.analytics.cleanup();
@@ -78,11 +63,44 @@ export class BusinessForm {
78
63
  get businessEndpoint() {
79
64
  return `entities/business/${this.businessId}`;
80
65
  }
66
+ initializeApi() {
67
+ if (this.authToken && this.businessId) {
68
+ this.getBusiness = makeGetBusiness({
69
+ authToken: this.authToken,
70
+ businessId: this.businessId,
71
+ service: new BusinessService()
72
+ });
73
+ this.patchBusiness = makePatchBusiness({
74
+ authToken: this.authToken,
75
+ businessId: this.businessId,
76
+ service: new BusinessService()
77
+ });
78
+ this.getBusiness({
79
+ onSuccess: (response) => {
80
+ this.instantiateBusiness(response.data);
81
+ },
82
+ onError: ({ error, code, severity }) => {
83
+ this.errorMessage = error.message;
84
+ this.errorEvent.emit({ errorCode: code, message: error.message, severity });
85
+ },
86
+ final: () => {
87
+ this.isLoading = false;
88
+ }
89
+ });
90
+ }
91
+ else {
92
+ this.errorEvent.emit({
93
+ message: 'auth-token and business-id are required',
94
+ errorCode: ComponentErrorCodes.MISSING_PROPS,
95
+ severity: ComponentErrorSeverity.ERROR,
96
+ });
97
+ }
98
+ }
81
99
  handleReponse(response) {
82
100
  if (response.error) {
83
101
  this.errorMessage = BusinessFormServerErrors.patchData;
84
102
  }
85
- this.submitEvent.emit({ response: response });
103
+ this.submitEvent.emit({ response });
86
104
  this.instantiateBusiness(response.data);
87
105
  }
88
106
  render() {
@@ -245,6 +263,27 @@ export class BusinessForm {
245
263
  }
246
264
  }
247
265
  }
266
+ }, {
267
+ "method": "errorEvent",
268
+ "name": "error-event",
269
+ "bubbles": true,
270
+ "cancelable": true,
271
+ "composed": true,
272
+ "docs": {
273
+ "tags": [],
274
+ "text": ""
275
+ },
276
+ "complexType": {
277
+ "original": "ComponentErrorEvent",
278
+ "resolved": "ComponentErrorEvent",
279
+ "references": {
280
+ "ComponentErrorEvent": {
281
+ "location": "import",
282
+ "path": "../../../api/ComponentEvents",
283
+ "id": "src/api/ComponentEvents.ts::ComponentErrorEvent"
284
+ }
285
+ }
286
+ }
248
287
  }];
249
288
  }
250
289
  }
@@ -82,7 +82,7 @@ export class BusinessCoreInfoFormStepCore {
82
82
  if (this.isLoading) {
83
83
  return h(PaymentProvisioningLoading, null);
84
84
  }
85
- return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Business Information")), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: "legal_name", label: "Business Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)." })), h("div", { class: "col-12" }, h("form-control-text", { name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)" })), h("div", { class: "col-12 col-md-8" }, h("form-control-select", { name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-4" }, h("form-control-date", { name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler, helpText: "Describe what you sell" })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "tax_id", label: "Tax ID (EIN or SSN)", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, maxLength: 9, helpText: "Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns." })), h("div", { class: "col-12" }, h("form-control-text", { name: "website_url", label: "Business Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler, helpText: "Don't have a live website? You can use your social media business page, app store link, or staging site URL." })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "email", label: "Business Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-number-masked", { name: "phone", label: "Business Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
85
+ return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Business Information")), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: "legal_name", label: "Business Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)." })), h("div", { class: "col-12" }, h("form-control-text", { name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)" })), h("div", { class: "col-12 col-md-8" }, h("form-control-select", { name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-4" }, h("form-control-date", { name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler, helpText: "Describe what you sell" })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "tax_id", label: "Tax ID (EIN or SSN)", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, maxLength: 9, helpText: "Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns. Enter value without dashes." })), h("div", { class: "col-12" }, h("form-control-text", { name: "website_url", label: "Business Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler, helpText: "Don't have a live website? You can use your social media business page, app store link, or staging site URL." })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "email", label: "Business Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-number-masked", { name: "phone", label: "Business Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
86
86
  }
87
87
  static get is() { return "justifi-business-core-info-form-step-core"; }
88
88
  static get properties() {
@@ -9,7 +9,7 @@ export const businessCoreInfoSchema = (allowOptionalFields) => {
9
9
  doing_business_as: doingBusinessAsValidation.nullable(),
10
10
  classification: businessClassificationValidation.required('Select business classification'),
11
11
  industry: industryValidation.required('Enter a business industry'),
12
- tax_id: taxIdValidation.required('Enter tax id, SSN, or EIN'),
12
+ tax_id: taxIdValidation.required('Enter valid tax ID (SSN or EIN) without dashes'),
13
13
  date_of_incorporation: dateOfIncorporationValidation.required('Enter date of incorporation'),
14
14
  });
15
15
  const easySchema = object({
@@ -1,16 +1,13 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  import BankAccountFormSkeleton from "./bank-account-form-skeleton";
3
+ import { configState, waitForConfig } from "../../config-provider/config-state";
3
4
  export class BankAccountForm {
4
5
  constructor() {
5
6
  this.isReady = false;
6
7
  }
7
- async validate() {
8
- const accountNumberIsValid = await this.accountNumberIframeElement.validate();
9
- const routingNumberIsValid = await this.routingNumberIframeElement.validate();
10
- return accountNumberIsValid && routingNumberIsValid;
11
- }
12
- async tokenize(clientId, paymentMethodMetadata, account) {
13
- return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
8
+ async componentWillLoad() {
9
+ await waitForConfig();
10
+ this.iframeOrigin = configState.iframeOrigin;
14
11
  }
15
12
  componentDidRender() {
16
13
  const elements = [
@@ -25,39 +22,25 @@ export class BankAccountForm {
25
22
  this.isReady = true;
26
23
  });
27
24
  }
25
+ async validate() {
26
+ const accountNumberIsValid = await this.accountNumberIframeElement.validate();
27
+ const routingNumberIsValid = await this.routingNumberIframeElement.validate();
28
+ return accountNumberIsValid && routingNumberIsValid;
29
+ }
30
+ async tokenize(clientId, paymentMethodMetadata, account) {
31
+ return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
32
+ }
28
33
  render() {
29
- return (h(Host, { key: '3d21d5269871beaffeffaef8b9c5104da59c1783' }, h(BankAccountFormSkeleton, { key: 'eb14285f2f0994085423901139f717c3b644273b', isReady: this.isReady }), h("div", { key: '906895204049f1113d596bade78de29bd5def6c2', class: "container-fluid p-0", style: {
34
+ return (h(Host, { key: 'b6cdf5a9320d92a5390daaa0a5218274f2dfc178' }, h(BankAccountFormSkeleton, { key: '286fcc38a26820d166ced0bc886143ed3d880da4', isReady: this.isReady }), h("div", { key: '041fcacff70d7cdfc0c8f41258bd9db18703e4c1', class: "container-fluid p-0", style: {
30
35
  opacity: this.isReady ? '1' : '0',
31
36
  height: this.isReady ? 'auto' : '0',
32
- } }, h("div", { key: 'c56aa2cdec0c8be615dee4388346e890b2610b82', class: "row mb-3" }, h("iframe-input", { key: '5dd97225f360e267abf0c772b28ba890edf284db', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '20504c4b3c984c907765b99051a9e44ad6b5a37a', class: "row" }, h("iframe-input", { key: 'a85f47d87b01e099ac54969ce482abcc1fcb5366', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
37
+ } }, h("div", { key: '94dc0eb0d79b40ade96e1961611e3e7a8eef20ea', class: "row mb-3" }, h("iframe-input", { key: '41c82b772e7873a45409e35ed56dfea16c20c2ee', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '1c95618a50e2d36a3a9a3a7b691ae0dfa6a09936', class: "row" }, h("iframe-input", { key: '28a4dde70c8f55b4f6bf6ce2d3beee6acbebbc0b', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
33
38
  }
34
39
  static get is() { return "bank-account-form"; }
35
- static get properties() {
36
- return {
37
- "iframeOrigin": {
38
- "type": "string",
39
- "attribute": "iframe-origin",
40
- "mutable": false,
41
- "complexType": {
42
- "original": "string",
43
- "resolved": "string",
44
- "references": {}
45
- },
46
- "required": false,
47
- "optional": false,
48
- "docs": {
49
- "tags": [],
50
- "text": ""
51
- },
52
- "getter": false,
53
- "setter": false,
54
- "reflect": false
55
- }
56
- };
57
- }
58
40
  static get states() {
59
41
  return {
60
- "isReady": {}
42
+ "isReady": {},
43
+ "iframeOrigin": {}
61
44
  };
62
45
  }
63
46
  static get methods() {
@@ -1,9 +1,14 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  import CardFormSkeleton from "./card-form-skeleton";
3
+ import { configState, waitForConfig } from "../../config-provider/config-state";
3
4
  export class CardForm {
4
5
  constructor() {
5
6
  this.isReady = false;
6
7
  }
8
+ async componentWillLoad() {
9
+ await waitForConfig();
10
+ this.iframeOrigin = configState.iframeOrigin;
11
+ }
7
12
  componentDidRender() {
8
13
  const elements = [
9
14
  this.cardNumberIframeElement,
@@ -30,38 +35,16 @@ export class CardForm {
30
35
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
31
36
  }
32
37
  render() {
33
- return (h(Host, { key: '035f015833d7c16a99ffb3cc4c1b88f44928839f' }, h(CardFormSkeleton, { key: '4f6a98efb4bb1ec08bc7660fe8fb11cf1f91aac4', isReady: this.isReady }), h("div", { key: 'efe85d9a9f3cd1ecabd6014b4e6ef6a22dce94f1', class: "container-fluid p-0", style: {
38
+ return (h(Host, { key: '3d28e96f020196a359a359507237b50dd9fed020' }, h(CardFormSkeleton, { key: 'ee07eb10acf142fcaab1398278e335df49f1abe9', isReady: this.isReady }), h("div", { key: 'bfce475f392cbb2bad3fd1c76f16c6e6a6718c1f', class: "container-fluid p-0", style: {
34
39
  opacity: this.isReady ? '1' : '0',
35
40
  height: this.isReady ? 'auto' : '0',
36
- } }, h("div", { key: 'd72b1e2e6034d556eccbc6bd68b1469ce51ae257', class: "mb-3" }, h("iframe-input", { key: 'd5d4ae255037b01aced2c90c59bb74d65053b88a', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '1ff59862ecaf86c067638bc86a7a21425ee27ec0', class: "row" }, h("div", { key: '3f6803d69bc30890eb39f005c32c06d0cfb6cf0d', class: "col-4 align-content-end" }, h("iframe-input", { key: 'a328d46fbfea56f3fd483194a74e6d8520cbc2ae', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '46594d660b45a68f5b578823ed54db1a570a0291', class: "col-4 align-content-end" }, h("iframe-input", { key: 'e107c2515d16a339d52a3b08f91537eca3c92a23', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '3df8a556f5e0bade368137a673e814774ad507b9', class: "col-4 align-content-end" }, h("iframe-input", { key: '3432154c7645eda22beb1fe180936357b5b4b2c2', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
41
+ } }, h("div", { key: 'e8517852800a9a165e61308f8d1cf875a87c021e', class: "mb-3" }, h("iframe-input", { key: '6efe224b7f4a2f63eec601d3e48c454d78c30300', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'cb6df3c5d9788a22c26255d1fe94331544730d24', class: "row" }, h("div", { key: '895943798b131da4215b24da822f7109e045e05b', class: "col-4 align-content-end" }, h("iframe-input", { key: 'ebea71cabe9f783734f924cfd0b03797cd203ce7', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'a65042ba66ca4a2a6f520147d316eb20f82369ea', class: "col-4 align-content-end" }, h("iframe-input", { key: '8ef921245a3075ba36c310955bea671b71aca658', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'e37d637b078a36736ba698d0d96465e138fcf5ab', class: "col-4 align-content-end" }, h("iframe-input", { key: 'df20adb17524ea29f55e1c223267a9f0294b6062', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
37
42
  }
38
43
  static get is() { return "card-form"; }
39
- static get properties() {
40
- return {
41
- "iframeOrigin": {
42
- "type": "string",
43
- "attribute": "iframe-origin",
44
- "mutable": false,
45
- "complexType": {
46
- "original": "string",
47
- "resolved": "string",
48
- "references": {}
49
- },
50
- "required": false,
51
- "optional": false,
52
- "docs": {
53
- "tags": [],
54
- "text": ""
55
- },
56
- "getter": false,
57
- "setter": false,
58
- "reflect": false
59
- }
60
- };
61
- }
62
44
  static get states() {
63
45
  return {
64
- "isReady": {}
46
+ "isReady": {},
47
+ "iframeOrigin": {}
65
48
  };
66
49
  }
67
50
  static get methods() {
@@ -115,14 +115,14 @@ export class CheckoutCore {
115
115
  }
116
116
  get paymentType() {
117
117
  var _a, _b, _c, _d, _e;
118
- return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled, iframeOrigin: this.iframeOrigin }))));
118
+ return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled }))));
119
119
  }
120
120
  get summary() {
121
121
  var _a, _b;
122
122
  return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { part: text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", null, h("span", { part: text }, "Total"), "\u00A0", h("span", { part: text }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
123
123
  }
124
124
  render() {
125
- return (h(StyledHost, { key: 'f02d0164b3e051bef6898d28efc52c3eb957b0ea' }, h("div", { key: '457c53bd60d22b1c31693f657ba68e37c92e6004', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '80a64216626921e9ea1162aaadcbcd39e646b8f6', class: "col-12", part: checkoutSummary }, h(Header2, { key: '6c26edfa8e55efa4e6dce35bc6a033049d3274a9', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: '871352bbea880434c1f1206a185116beeb583225', class: "col-12" }, h("slot", { key: '7c1f22eee6502bb3921d6b887408df94a62eda4b', name: "insurance" })), h("div", { key: 'c47495deecf30222832850b904db0187cfe914cd', class: "col-12 mt-4" }, h(Header2, { key: 'f4b8b52bce3f002948918edc9fe319f2e6688673', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '3013b9ac43206948e1fd1e2a3c58c8b99e8c71d2', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: 'f7820a1754a6885572e44bd58c3cf819a6d5c3cf', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: '54368dbcbf70067aca7f275db6dccf890b46408a', class: "col-12" }, h("div", { key: 'd7fda8916e810961613921eb1d7c5d04c1051fb5', class: "d-flex justify-content-end" }, h(Button, { key: '347e5a5abde014dc3222a7603603d35547c09671', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
125
+ return (h(StyledHost, { key: '2fb8b2c2b543712023c74cf9b41dc57675c89237' }, h("div", { key: 'caba36e076e4162d9c92844f7c0632b5bf678de6', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '6a27d64005d785815d5567894d6e2a6e1e515cf8', class: "col-12", part: checkoutSummary }, h(Header2, { key: '645fe4250331805e86811700b453458f065188bd', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: 'c49c73eb3462ad17e0344e74be508abe958a9358', class: "col-12" }, h("slot", { key: 'be626bff57c95b92f9853e2e9b63dd9279834142', name: "insurance" })), h("div", { key: '025b0400164935f10d6c79d445bfdcf157290fd6', class: "col-12 mt-4" }, h(Header2, { key: '483b5d53b5cea3ae6fccfbb3aa9d3efe0dc8fcab', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '21abbd4d669e351c8ad0a87b7b408a4998948b46', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: '9441e97e1bd64b796ebcf1404d4ca04964990982', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: '9db2e4fccff5b868e7d329d9b0be864942adcc3d', class: "col-12" }, h("div", { key: '2eaef4ed6062b27de2516de7b71a056c829f8cab', class: "d-flex justify-content-end" }, h(Button, { key: '505869afa61094d628b58a32749c44f678e4fda3', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
126
126
  }
127
127
  static get is() { return "justifi-checkout-core"; }
128
128
  static get encapsulation() { return "shadow"; }
@@ -212,25 +212,6 @@ export class CheckoutCore {
212
212
  "setter": false,
213
213
  "reflect": false
214
214
  },
215
- "iframeOrigin": {
216
- "type": "string",
217
- "attribute": "iframe-origin",
218
- "mutable": false,
219
- "complexType": {
220
- "original": "string",
221
- "resolved": "string",
222
- "references": {}
223
- },
224
- "required": false,
225
- "optional": false,
226
- "docs": {
227
- "tags": [],
228
- "text": ""
229
- },
230
- "getter": false,
231
- "setter": false,
232
- "reflect": false
233
- },
234
215
  "disableCreditCard": {
235
216
  "type": "boolean",
236
217
  "attribute": "disable-credit-card",
@@ -6,7 +6,6 @@ import JustifiAnalytics from "../../api/Analytics";
6
6
  import { checkPkgVersion } from "../../utils/check-pkg-version";
7
7
  export class Checkout {
8
8
  constructor() {
9
- this.iframeOrigin = IFRAME_ORIGIN;
10
9
  this.errorMessage = '';
11
10
  }
12
11
  componentWillLoad() {
@@ -49,11 +48,11 @@ export class Checkout {
49
48
  return { isValid };
50
49
  }
51
50
  render() {
52
- return (h("justifi-checkout-core", { key: '5d7045778d53e02d85627ea6f945d45599e6d090', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, iframeOrigin: this.iframeOrigin, ref: el => {
51
+ return (h("justifi-checkout-core", { key: '2a0e3529580beae8de71d6305e3ca9af2c705ee5', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: el => {
53
52
  if (el) {
54
53
  this.checkoutCoreRef = el;
55
54
  }
56
- } }, h("div", { key: '4a5badd7e9f77de58dafb09405cd563014f0e6e2', slot: "insurance" }, h("slot", { key: 'b0067d049fe5ed9bb7b35c8614a28e967872599b', name: "insurance" }))));
55
+ } }, h("div", { key: '132ad877917930b63fdd9d4ff5432d2f6a82a76d', slot: "insurance" }, h("slot", { key: '9854d96105ebac1adc176ea195f0e0b2b792b125', name: "insurance" }))));
57
56
  }
58
57
  static get is() { return "justifi-checkout"; }
59
58
  static get properties() {
@@ -209,26 +208,6 @@ export class Checkout {
209
208
  "getter": false,
210
209
  "setter": false,
211
210
  "reflect": false
212
- },
213
- "iframeOrigin": {
214
- "type": "string",
215
- "attribute": "iframe-origin",
216
- "mutable": false,
217
- "complexType": {
218
- "original": "string",
219
- "resolved": "string",
220
- "references": {}
221
- },
222
- "required": false,
223
- "optional": true,
224
- "docs": {
225
- "tags": [],
226
- "text": ""
227
- },
228
- "getter": false,
229
- "setter": false,
230
- "reflect": false,
231
- "defaultValue": "IFRAME_ORIGIN"
232
211
  }
233
212
  };
234
213
  }
@@ -69,14 +69,14 @@ export class NewPaymentMethod {
69
69
  showNewPaymentMethodForm() {
70
70
  var _a;
71
71
  const paymentMethodType = (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id;
72
- 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 })));
72
+ 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 })));
73
73
  }
74
74
  get hiddenRadioInput() {
75
75
  return !this.showAch || !this.showCard;
76
76
  }
77
77
  render() {
78
78
  var _a, _b;
79
- 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));
79
+ 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));
80
80
  }
81
81
  static get is() { return "justifi-new-payment-method"; }
82
82
  static get properties() {
@@ -256,25 +256,6 @@ export class NewPaymentMethod {
256
256
  "getter": false,
257
257
  "setter": false,
258
258
  "reflect": false
259
- },
260
- "iframeOrigin": {
261
- "type": "string",
262
- "attribute": "iframe-origin",
263
- "mutable": false,
264
- "complexType": {
265
- "original": "string",
266
- "resolved": "string",
267
- "references": {}
268
- },
269
- "required": false,
270
- "optional": false,
271
- "docs": {
272
- "tags": [],
273
- "text": ""
274
- },
275
- "getter": false,
276
- "setter": false,
277
- "reflect": false
278
259
  }
279
260
  };
280
261
  }
@@ -51,13 +51,13 @@ export class PaymentMethodOptions {
51
51
  }
52
52
  render() {
53
53
  var _a;
54
- return (h(Host, { key: '2cf31e17412eb30afabe6749b86b7d1a6f308114' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
54
+ return (h(Host, { key: '506450161ed363330132c2bfa99a6a7729e94778' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
55
55
  const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
56
56
  const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
57
57
  const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
58
58
  const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
59
59
  if (newCard || newBankAccount) {
60
- return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, iframeOrigin: this.iframeOrigin, ref: (el) => {
60
+ return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: (el) => {
61
61
  if (isSelected) {
62
62
  this.selectedPaymentMethodOptionRef = el;
63
63
  }
@@ -333,25 +333,6 @@ export class PaymentMethodOptions {
333
333
  "getter": false,
334
334
  "setter": false,
335
335
  "reflect": false
336
- },
337
- "iframeOrigin": {
338
- "type": "string",
339
- "attribute": "iframe-origin",
340
- "mutable": false,
341
- "complexType": {
342
- "original": "string",
343
- "resolved": "string",
344
- "references": {}
345
- },
346
- "required": false,
347
- "optional": false,
348
- "docs": {
349
- "tags": [],
350
- "text": ""
351
- },
352
- "getter": false,
353
- "setter": false,
354
- "reflect": false
355
336
  }
356
337
  };
357
338
  }
@@ -4,8 +4,7 @@ import { TableEmptyState, TableErrorState, TableLoadingState } from "../../ui-co
4
4
  import { checkoutTableColumns, checkoutTableCells } from "./checkouts-table";
5
5
  import { Table } from "../../utils/table";
6
6
  import { getRequestParams, onQueryParamsChange } from "./checkouts-list-params-state";
7
- import { table, tableCell } from "../../styles/parts";
8
- import { TableClickActions } from "../../ui-components/table/event-types";
7
+ import { TableWrapper, TableComponent, TableHead, TableHeadRow, TableBody, TableRow, TableFoot, TableFootRow, TableFootCell, TableClickActions } from "../../ui-components";
9
8
  export class CheckoutsListCore {
10
9
  constructor() {
11
10
  this.checkouts = [];
@@ -119,7 +118,7 @@ export class CheckoutsListCore {
119
118
  return !this.showEmptyState && !this.showErrorState && !this.loading;
120
119
  }
121
120
  render() {
122
- return (h("div", { key: '0dd82ae052b98ada5c277a6472c43992d43485a5', class: "table-wrapper" }, h("table", { key: 'd8bc8f4a0fe8cb778397529704d86815876e831c', class: "table table-hover", part: table }, h("thead", { key: 'b38366e22402d695e20bb713a0c4e38d06e5043f', class: "table-head sticky-top" }, h("tr", { key: '8a82e88f24aaa6bec09de27ec439083572cf617c', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: 'fc09f4d4263d588fc1002657f6f535097069c16b', class: "table-body" }, h(TableLoadingState, { key: 'beb188a8b7e19eb8516c84727b365e38fb9f07b2', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '5b8945e459c72cb21da62a1ad24f5a409b442137', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '39b99e63e8759221589be8053a88b74d37d78013', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.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: '8effcd26c82977391f8487b80fabe954694338f8', class: "sticky-bottom" }, h("tr", { key: 'cc95a3c59060b0cbc44a39a66c8061912f4c995f', class: "table-light align-middle" }, h("td", { key: '54850b1384a006b4a0a70d465bfac1c94698be9a', part: tableCell, colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'b3f5da967dbd19bf1018fea9a926885ed0f40865', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
121
+ return (h(TableWrapper, { key: '79f36b8dd358285868187892962f5e2138942fe8' }, h(TableComponent, { key: 'e48c644e425ac45ab27b92548bc49af35b599245' }, h(TableHead, { key: '6d47b68c0a74f0eff3146dfc4720b0cc0f6fc24d' }, h(TableHeadRow, { key: 'a3660ae82b53ba7dead2e577fd8d573426935dc6' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '08fbd465bae0afa3de8d472c84e0410150509673' }, h(TableLoadingState, { key: 'ba7d778f9fc029166d6228fe9b1a8f1598a68c5a', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '312b176371526658852b74ae228524695f5c1947', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a24680fb1d681397a3cb266ec34ab5c9310dfa64', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.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: '503ffd707d958a353a18a6f06d1280a0cb01c741' }, h(TableFootRow, { key: '250fcfc3961881ab460221e5e0160d5b6d35e5c3' }, h(TableFootCell, { key: '2631d54b49bbee1502e5412cd9303d7d67746525', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'd7bb27501b62a1089090b06c82b2a2c328a2e0b6', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
123
122
  }
124
123
  static get is() { return "checkouts-list-core"; }
125
124
  static get properties() {
@@ -11,7 +11,6 @@ import { defaultColumnsKeys } from "./checkouts-table";
11
11
  export class CheckoutsList {
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 CheckoutsList {
38
37
  this.getCheckouts = makeGetCheckouts({
39
38
  accountId: this.accountId,
40
39
  authToken: this.authToken,
41
- service: new CheckoutService(),
42
- apiOrigin: this.apiOrigin,
40
+ service: new CheckoutService()
43
41
  });
44
42
  }
45
43
  else {
@@ -56,13 +54,12 @@ export class CheckoutsList {
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: 'ae2a18885c69808bd589848ae1b33f4a4a3085e9' }, h("checkouts-list-core", { key: '86201976540a348eb800ee07e9c50f68a1f1a1cf', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
62
+ return (h(StyledHost, { key: '086d85512b11a65ac2d8960f515e373093d4bd96' }, h("checkouts-list-core", { key: 'abe06be934ac5f13ec98425f29c6b6b7c0ff4456', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
66
63
  }
67
64
  static get is() { return "justifi-checkouts-list"; }
68
65
  static get encapsulation() { return "shadow"; }
@@ -106,26 +103,6 @@ export class CheckoutsList {
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",