@justifi/webcomponents 5.6.1 → 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 (514) hide show
  1. package/dist/cjs/{ApiNew-DG13rvk6.js → ApiNew-C8nf_gS9.js} +1 -1
  2. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  3. package/dist/cjs/{badge-ByWVHNyJ.js → badge-BxoJOyTJ.js} +1 -1
  4. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +4 -3
  5. package/dist/cjs/bank-account-form_9.cjs.entry.js +28 -18
  6. package/dist/cjs/business-details-core.cjs.entry.js +4 -3
  7. package/dist/cjs/{business.service-Vcq4kPU8.js → business.service-yVtplFhh.js} +13 -24
  8. package/dist/cjs/{button-Bn9jOYbx.js → button-BPFSRx4d.js} +1 -1
  9. package/dist/cjs/{check-pkg-version-7gGchZzS.js → check-pkg-version-BYKcQDik.js} +4 -3
  10. package/dist/cjs/checkout.service-Dd2AbBn2.js +28 -0
  11. package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -7
  12. package/dist/cjs/{checkouts-table-C_cpZa-i.js → checkouts-table-_T5eblyc.js} +2 -2
  13. package/dist/cjs/{config-state-Bm8-EuFE.js → config-state-D7p-XunE.js} +1 -1
  14. package/dist/cjs/custom-popper_4.cjs.entry.js +3 -2
  15. package/dist/cjs/dispute.service-C0J-Wh-Y.js +28 -0
  16. package/dist/cjs/event-types-YOY5TKUN.js +8 -0
  17. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  18. package/dist/cjs/form-control-checkbox.cjs.entry.js +4 -3
  19. package/dist/cjs/form-control-date.cjs.entry.js +3 -2
  20. package/dist/cjs/{form-control-error-text-CBAVQoZ3.js → form-control-error-text-D9XDyFoW.js} +1 -1
  21. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +2 -2
  22. package/dist/cjs/{form-control-help-text-DQz5O3wX.js → form-control-help-text-J_boqSMc.js} +1 -1
  23. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +4 -3
  24. package/dist/cjs/form-control-monetary.cjs.entry.js +4 -3
  25. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +3 -2
  26. package/dist/cjs/form-control-number.cjs.entry.js +4 -3
  27. package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
  28. package/dist/cjs/{get-subaccounts-CasN5tDA.js → get-subaccounts-CquZS5kP.js} +1 -1
  29. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  30. package/dist/cjs/{header-1-Bl1S9jV8.js → header-1-auSUfIpO.js} +1 -1
  31. package/dist/cjs/{header-3-DYzIjFIZ.js → header-3-B-bXHCpC.js} +1 -1
  32. package/dist/cjs/iframe-input.cjs.entry.js +3 -3
  33. package/dist/cjs/{insurance-state-BbmHHQl0.js → insurance-state-CFxbKNWH.js} +1 -1
  34. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +4 -3
  35. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +6 -5
  36. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
  37. package/dist/cjs/justifi-business-details.cjs.entry.js +8 -9
  38. package/dist/cjs/justifi-business-form.cjs.entry.js +69 -46
  39. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  40. package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -7
  41. package/dist/cjs/justifi-checkout.cjs.entry.js +8 -13
  42. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -1
  43. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -16
  44. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  45. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  46. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -15
  47. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -13
  48. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -4
  49. package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -9
  50. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -7
  51. package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -8
  52. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -2
  53. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -11
  54. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +11 -11
  55. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -1
  56. package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
  57. package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -8
  58. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +11 -11
  59. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -1
  60. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -18
  61. package/dist/cjs/justifi-refund-payment.cjs.entry.js +9 -9
  62. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -3
  63. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -2
  64. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -1
  65. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +8 -8
  66. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -1
  67. package/dist/cjs/justifi-terminals-list.cjs.entry.js +10 -10
  68. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -7
  69. package/dist/cjs/loader.cjs.js +1 -1
  70. package/dist/cjs/{package-CseQI95t.js → package-CX6Njc5t.js} +1 -1
  71. package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
  72. package/dist/cjs/{parts-Du1T2dvF.js → parts-9jMf1erK.js} +24 -8
  73. package/dist/cjs/payment-details-core.cjs.entry.js +10 -6
  74. package/dist/cjs/{payment.service-CAJSEb2x.js → payment.service-BvTU2Orj.js} +1 -1
  75. package/dist/cjs/payments-list-core.cjs.entry.js +9 -8
  76. package/dist/cjs/{payments-status-hksfHuBH.js → payments-status-BTykBx8i.js} +1 -1
  77. package/dist/cjs/{payments-table-CmvP6owu.js → payments-table-BkRhDePE.js} +2 -2
  78. package/dist/cjs/payout-details-core.cjs.entry.js +11 -7
  79. package/dist/cjs/{payout.service-wOnSu52a.js → payout.service-C99pgxvg.js} +1 -1
  80. package/dist/cjs/payouts-list-core.cjs.entry.js +9 -8
  81. package/dist/cjs/{payouts-status-DfNhfSsm.js → payouts-status-YCqmbd4K.js} +1 -1
  82. package/dist/cjs/{payouts-table-CpgWxl8A.js → payouts-table-DJMz3bVh.js} +2 -2
  83. package/dist/cjs/{skeleton-BFtuPBwQ.js → skeleton-aMh0RMHq.js} +1 -1
  84. package/dist/cjs/{spinner-C9z2tkh2.js → spinner-BTyIjlMM.js} +1 -1
  85. package/dist/cjs/{event-types-cB_-SsYZ.js → table-DKVauFHc.js} +39 -9
  86. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  87. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +8 -7
  88. package/dist/cjs/{terminal-orders-table-CpVY3VsQ.js → terminal-orders-table-BeeUTKtj.js} +2 -2
  89. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  90. package/dist/cjs/{terminal.service-cGQB3xiL.js → terminal.service-DEGcoaCb.js} +1 -1
  91. package/dist/cjs/terminals-list-core.cjs.entry.js +8 -7
  92. package/dist/cjs/{terminals-table-DRQQjYAE.js → terminals-table-D2XUsf_J.js} +2 -2
  93. package/dist/cjs/{utils-B_Ol6YlL.js → utils-5lco6NzU.js} +1 -1
  94. package/dist/cjs/webcomponents.cjs.js +1 -1
  95. package/dist/collection/actions/checkout/get-checkouts.js +2 -2
  96. package/dist/collection/actions/dispute/dispute-actions.js +2 -2
  97. package/dist/collection/api/services/analytics.service.js +3 -2
  98. package/dist/collection/api/services/business.service.js +13 -24
  99. package/dist/collection/api/services/checkout.service.js +9 -15
  100. package/dist/collection/api/services/dispute.service.js +9 -14
  101. package/dist/collection/api/services/provision.service.js +4 -6
  102. package/dist/collection/collection-manifest.json +1 -1
  103. package/dist/collection/components/business-forms/business-form/business-form.js +77 -38
  104. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +16 -33
  105. package/dist/collection/components/checkout/card-form/card-form.js +9 -26
  106. package/dist/collection/components/checkout/checkout-core.js +2 -21
  107. package/dist/collection/components/checkout/checkout.js +2 -23
  108. package/dist/collection/components/checkout/new-payment-method.js +2 -21
  109. package/dist/collection/components/checkout/payment-method-options.js +2 -21
  110. package/dist/collection/components/checkouts-list/checkouts-list-core.js +2 -3
  111. package/dist/collection/components/checkouts-list/checkouts-list.js +2 -24
  112. package/dist/collection/components/config-provider/config-provider.js +4 -4
  113. package/dist/collection/components/config-provider/config-state.js +1 -1
  114. package/dist/collection/components/dispute-management/dispute-management.js +2 -24
  115. package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +2 -2
  116. package/dist/collection/{ui-components → components}/filters/table-filters-menu.js +3 -3
  117. package/dist/collection/components/payment-details/payment-details-core.js +4 -1
  118. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +2 -3
  119. package/dist/collection/components/payments-list/payments-list-core.js +2 -3
  120. package/dist/collection/components/payout-details/payout-details-core.js +4 -1
  121. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +2 -3
  122. package/dist/collection/components/payouts-list/payouts-list-core.js +2 -3
  123. package/dist/collection/components/payouts-list/payouts-list.js +2 -2
  124. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +2 -3
  125. package/dist/collection/components/terminals-list/terminals-list-core.js +2 -3
  126. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -22
  127. package/dist/collection/styles/parts.js +12 -5
  128. package/dist/collection/ui-components/index.js +1 -4
  129. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +4 -4
  130. package/dist/collection/ui-components/table/index.js +5 -0
  131. package/dist/collection/ui-components/{table-empty-state.js → table/table-empty-state.js} +1 -1
  132. package/dist/collection/ui-components/{table-error-state.js → table/table-error-state.js} +1 -1
  133. package/dist/collection/ui-components/{table-loading-state.js → table/table-loading-state.js} +2 -2
  134. package/dist/collection/ui-components/table/table.js +29 -0
  135. package/dist/docs.json +28 -234
  136. package/dist/esm/{ApiNew-UOnmIWcv.js → ApiNew-KYhsw8Nv.js} +1 -1
  137. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  138. package/dist/esm/{badge-B191hCAo.js → badge-Du9GTXoB.js} +1 -1
  139. package/dist/esm/bank-account-document-form-inputs_4.entry.js +4 -3
  140. package/dist/esm/bank-account-form_9.entry.js +28 -18
  141. package/dist/esm/business-details-core.entry.js +4 -3
  142. package/dist/esm/{business.service-B1VD22Tz.js → business.service-_645Z23O.js} +13 -24
  143. package/dist/esm/{button-BRFA5syj.js → button-CjH5C0pG.js} +1 -1
  144. package/dist/esm/{check-pkg-version-DpVT68Qo.js → check-pkg-version-Dh7UNmHL.js} +4 -3
  145. package/dist/esm/checkout.service-7FGjq0rO.js +26 -0
  146. package/dist/esm/checkouts-list-core.entry.js +7 -6
  147. package/dist/esm/{checkouts-table-BIO5rpvV.js → checkouts-table-DKd0QLys.js} +2 -2
  148. package/dist/esm/{config-state-Bl6vWekp.js → config-state-CkKrqnpZ.js} +1 -1
  149. package/dist/esm/custom-popper_4.entry.js +3 -2
  150. package/dist/esm/dispute.service-lJlAFuE6.js +26 -0
  151. package/dist/esm/event-types-CZfYo5-1.js +8 -0
  152. package/dist/esm/form-alert_5.entry.js +1 -1
  153. package/dist/esm/form-control-checkbox.entry.js +4 -3
  154. package/dist/esm/form-control-date.entry.js +3 -2
  155. package/dist/esm/{form-control-error-text-CVPFeRt0.js → form-control-error-text-tGFxd6kW.js} +1 -1
  156. package/dist/esm/form-control-file-v2_2.entry.js +2 -2
  157. package/dist/esm/{form-control-help-text-D-ReDn6e.js → form-control-help-text-2DawN8-N.js} +1 -1
  158. package/dist/esm/form-control-monetary-provisioning.entry.js +4 -3
  159. package/dist/esm/form-control-monetary.entry.js +4 -3
  160. package/dist/esm/form-control-number-masked_2.entry.js +3 -2
  161. package/dist/esm/form-control-number.entry.js +4 -3
  162. package/dist/esm/form-control-radio.entry.js +1 -1
  163. package/dist/esm/{get-subaccounts-COe5GtaY.js → get-subaccounts-DIJtLFsb.js} +1 -1
  164. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  165. package/dist/esm/{header-1-ClU-iUGF.js → header-1-D2gZb3iT.js} +1 -1
  166. package/dist/esm/{header-3-jLYjhsUb.js → header-3-DAg8Vh4B.js} +1 -1
  167. package/dist/esm/iframe-input.entry.js +3 -3
  168. package/dist/esm/{insurance-state-5MPrBdwI.js → insurance-state-CsZbKSgm.js} +1 -1
  169. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +4 -3
  170. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +7 -6
  171. package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
  172. package/dist/esm/justifi-business-details.entry.js +8 -9
  173. package/dist/esm/justifi-business-form.entry.js +69 -46
  174. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  175. package/dist/esm/justifi-checkout-core.entry.js +8 -7
  176. package/dist/esm/justifi-checkout.entry.js +8 -13
  177. package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -1
  178. package/dist/esm/justifi-checkouts-list.entry.js +14 -16
  179. package/dist/esm/justifi-config-provider.entry.js +3 -3
  180. package/dist/esm/justifi-details.entry.js +2 -2
  181. package/dist/esm/justifi-dispute-management.entry.js +10 -15
  182. package/dist/esm/justifi-dispute-notification_3.entry.js +10 -13
  183. package/dist/esm/justifi-gross-payment-chart.entry.js +7 -4
  184. package/dist/esm/justifi-order-terminals.entry.js +9 -9
  185. package/dist/esm/justifi-owner-form_3.entry.js +8 -8
  186. package/dist/esm/justifi-payment-details.entry.js +7 -8
  187. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -2
  188. package/dist/esm/justifi-payment-provisioning.entry.js +9 -12
  189. package/dist/esm/justifi-payment-transactions-list.entry.js +10 -10
  190. package/dist/esm/justifi-payments-list-filters.entry.js +2 -1
  191. package/dist/esm/justifi-payments-list.entry.js +10 -10
  192. package/dist/esm/justifi-payout-details.entry.js +7 -8
  193. package/dist/esm/justifi-payout-transactions-list.entry.js +10 -10
  194. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -1
  195. package/dist/esm/justifi-payouts-list.entry.js +12 -18
  196. package/dist/esm/justifi-refund-payment.entry.js +9 -9
  197. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -3
  198. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -2
  199. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +2 -1
  200. package/dist/esm/justifi-terminal-orders-list.entry.js +8 -8
  201. package/dist/esm/justifi-terminals-list-filters.entry.js +2 -1
  202. package/dist/esm/justifi-terminals-list.entry.js +10 -10
  203. package/dist/esm/justifi-tokenize-payment-method.entry.js +9 -7
  204. package/dist/esm/loader.js +1 -1
  205. package/dist/esm/{package-D2EbqwBe.js → package-DLLK41AX.js} +1 -1
  206. package/dist/esm/pagination-menu.entry.js +4 -4
  207. package/dist/esm/{parts-CjO1GttX.js → parts-BrLVc_85.js} +14 -5
  208. package/dist/esm/payment-details-core.entry.js +10 -6
  209. package/dist/esm/{payment-provisioning-actions-CZYFFdTf.js → payment-provisioning-actions-BIfyW239.js} +1 -1
  210. package/dist/esm/{payment.service-B9_zvpM_.js → payment.service-DdCJ1Dc7.js} +1 -1
  211. package/dist/esm/payments-list-core.entry.js +8 -7
  212. package/dist/esm/{payments-status-CQQH_5oM.js → payments-status-CIUXcA0w.js} +1 -1
  213. package/dist/esm/{payments-table-BdQtWUO-.js → payments-table-BBf5fV74.js} +2 -2
  214. package/dist/esm/payout-details-core.entry.js +11 -7
  215. package/dist/esm/{payout.service-BGSaI-j9.js → payout.service-G1Isezyi.js} +1 -1
  216. package/dist/esm/payouts-list-core.entry.js +8 -7
  217. package/dist/esm/{payouts-status-Cz9DL-Ph.js → payouts-status-Clo03qUI.js} +1 -1
  218. package/dist/esm/{payouts-table-bOrdlN_0.js → payouts-table-DhZEXhGH.js} +2 -2
  219. package/dist/esm/{skeleton-t69TLGP9.js → skeleton-Dlpibtr0.js} +1 -1
  220. package/dist/esm/{spinner-Bo1Ff3L8.js → spinner-onCBxbdo.js} +1 -1
  221. package/dist/esm/table-filters-menu.entry.js +3 -3
  222. package/dist/esm/table-p4dOlFPi.js +83 -0
  223. package/dist/esm/terminal-orders-list-core.entry.js +7 -6
  224. package/dist/esm/{terminal-orders-table-5gemV24y.js → terminal-orders-table-BlT9YrFD.js} +2 -2
  225. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  226. package/dist/esm/{terminal.service-B0Rc9vED.js → terminal.service-aFe-O3PC.js} +1 -1
  227. package/dist/esm/terminals-list-core.entry.js +7 -6
  228. package/dist/esm/{terminals-table-DFxuyQM-.js → terminals-table-CkWr-6tD.js} +2 -2
  229. package/dist/esm/{utils-CK8L6CE7.js → utils-BpP_VJGf.js} +1 -1
  230. package/dist/esm/webcomponents.js +1 -1
  231. package/dist/module/Dispute.js +57 -0
  232. package/dist/module/Payment.js +2 -57
  233. package/dist/module/additional-statement.js +1 -1
  234. package/dist/module/bank-account-form-inputs2.js +1 -1
  235. package/dist/module/bank-account-form2.js +15 -10
  236. package/dist/module/billing-form.js +2 -1
  237. package/dist/module/business-additional-questions-form-step-core.js +1 -1
  238. package/dist/module/business-bank-account-form-step-core.js +1 -1
  239. package/dist/module/business-core-info-form-step-core.js +1 -1
  240. package/dist/module/business-details-core2.js +1 -0
  241. package/dist/module/business-documents-on-file2.js +1 -0
  242. package/dist/module/business-owners-form-step-core.js +2 -1
  243. package/dist/module/business-representative-form-step-core.js +1 -1
  244. package/dist/module/business-terms-conditions-form-step.js +1 -1
  245. package/dist/module/business.service.js +12 -23
  246. package/dist/module/button.js +1 -1
  247. package/dist/module/cancellation-policy.js +1 -1
  248. package/dist/module/card-form2.js +8 -3
  249. package/dist/module/check-pkg-version.js +3 -2
  250. package/dist/module/checkout-core.js +4 -4
  251. package/dist/module/checkout.service.js +9 -21
  252. package/dist/module/checkouts-list-core2.js +4 -3
  253. package/dist/module/config-state.js +1 -1
  254. package/dist/module/customer-details.js +1 -1
  255. package/dist/module/dispute-management-core.js +2 -2
  256. package/dist/module/dispute-notification.js +2 -1
  257. package/dist/module/dispute-response-actions.js +9 -19
  258. package/dist/module/dispute-response-core.js +1 -1
  259. package/dist/module/dispute-response.js +1 -0
  260. package/dist/module/duplicate-charge.js +1 -1
  261. package/dist/module/electronic-evidence.js +1 -1
  262. package/dist/module/event-types.js +7 -22
  263. package/dist/module/event-types2.js +22 -21
  264. package/dist/module/event-types3.js +21 -61
  265. package/dist/module/form-control-checkbox2.js +1 -0
  266. package/dist/module/form-control-date2.js +1 -0
  267. package/dist/module/form-control-file2.js +1 -0
  268. package/dist/module/form-control-monetary-provisioning2.js +1 -0
  269. package/dist/module/form-control-monetary2.js +1 -0
  270. package/dist/module/form-control-number-masked2.js +1 -0
  271. package/dist/module/form-control-number.js +1 -0
  272. package/dist/module/form-control-select2.js +1 -0
  273. package/dist/module/form-control-text2.js +1 -0
  274. package/dist/module/get-payment-details.js +1 -1
  275. package/dist/module/justifi-business-form.js +60 -40
  276. package/dist/module/justifi-checkout.js +2 -4
  277. package/dist/module/justifi-checkouts-list-filters.js +2 -1
  278. package/dist/module/justifi-checkouts-list.js +5 -7
  279. package/dist/module/justifi-config-provider.js +3 -3
  280. package/dist/module/justifi-dispute-management.js +5 -8
  281. package/dist/module/justifi-order-terminals.js +2 -1
  282. package/dist/module/justifi-payment-provisioning.js +4 -6
  283. package/dist/module/justifi-payment-transactions-list.js +4 -3
  284. package/dist/module/justifi-payments-list-filters.js +2 -1
  285. package/dist/module/justifi-payments-list.js +2 -1
  286. package/dist/module/justifi-payout-transactions-list.js +4 -3
  287. package/dist/module/justifi-payouts-list-filters.js +2 -1
  288. package/dist/module/justifi-payouts-list.js +2 -7
  289. package/dist/module/justifi-refund-payment.js +1 -0
  290. package/dist/module/justifi-terminal-orders-list-filters.js +2 -1
  291. package/dist/module/justifi-terminal-orders-list.js +1 -0
  292. package/dist/module/justifi-terminals-list-filters.js +2 -1
  293. package/dist/module/justifi-terminals-list.js +1 -0
  294. package/dist/module/justifi-tokenize-payment-method.js +2 -3
  295. package/dist/module/legal-address-form-step-core.js +1 -1
  296. package/dist/module/new-payment-method.js +2 -3
  297. package/dist/module/owner-form-core2.js +2 -1
  298. package/dist/module/package.js +1 -1
  299. package/dist/module/pagination-menu2.js +4 -4
  300. package/dist/module/parts.js +14 -5
  301. package/dist/module/payment-details-core2.js +5 -1
  302. package/dist/module/payment-method-options.js +2 -3
  303. package/dist/module/payment-provisioning-core.js +2 -1
  304. package/dist/module/payment-provisioning-form-buttons.js +2 -1
  305. package/dist/module/payment-provisioning-loading.js +1 -0
  306. package/dist/module/payments-list-core2.js +4 -3
  307. package/dist/module/payout-details-core2.js +5 -1
  308. package/dist/module/payouts-list-core2.js +4 -3
  309. package/dist/module/product-or-service.js +1 -1
  310. package/dist/module/refund-policy.js +1 -1
  311. package/dist/module/season-interruption-insurance-core.js +1 -0
  312. package/dist/module/shipping-details.js +1 -1
  313. package/dist/module/table-filters-menu2.js +2 -2
  314. package/dist/module/table.js +83 -0
  315. package/dist/module/terminal-orders-list-core2.js +4 -3
  316. package/dist/module/terminal-quantity-selector2.js +1 -1
  317. package/dist/module/terminals-list-core2.js +4 -3
  318. package/dist/types/actions/checkout/get-checkouts.d.ts +1 -2
  319. package/dist/types/actions/dispute/dispute-actions.d.ts +1 -2
  320. package/dist/types/api/ApiNew.d.ts +1 -1
  321. package/dist/types/api/services/checkout.service.d.ts +2 -2
  322. package/dist/types/components/business-forms/business-form/business-form.d.ts +8 -6
  323. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +3 -2
  324. package/dist/types/components/checkout/card-form/card-form.d.ts +2 -1
  325. package/dist/types/components/checkout/checkout-core.d.ts +0 -1
  326. package/dist/types/components/checkout/checkout.d.ts +0 -1
  327. package/dist/types/components/checkout/new-payment-method.d.ts +0 -1
  328. package/dist/types/components/checkout/payment-method-options.d.ts +0 -1
  329. package/dist/types/components/checkouts-list/checkouts-list.d.ts +0 -1
  330. package/dist/types/components/config-provider/config-provider.d.ts +1 -1
  331. package/dist/types/components/config-provider/config-state.d.ts +1 -1
  332. package/dist/types/components/dispute-management/dispute-management.d.ts +0 -1
  333. package/dist/types/components/dispute-management/dispute-response/dispute-response-actions.d.ts +1 -2
  334. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +0 -1
  335. package/dist/types/components.d.ts +4 -20
  336. package/dist/types/styles/parts.d.ts +12 -5
  337. package/dist/types/ui-components/index.d.ts +1 -4
  338. package/dist/types/ui-components/table/index.d.ts +5 -0
  339. package/dist/types/ui-components/table/table.d.ts +9 -0
  340. package/dist/webcomponents/{p-9d354918.entry.js → p-05138b5d.entry.js} +1 -1
  341. package/dist/webcomponents/p-0661622e.entry.js +1 -0
  342. package/dist/webcomponents/p-0a4abfba.entry.js +1 -0
  343. package/dist/webcomponents/p-0d73af88.entry.js +1 -0
  344. package/dist/webcomponents/p-107fdd99.entry.js +1 -0
  345. package/dist/webcomponents/p-12ea3a21.entry.js +1 -0
  346. package/dist/webcomponents/p-13a56c04.entry.js +1 -0
  347. package/dist/webcomponents/p-22e9ff07.entry.js +1 -0
  348. package/dist/webcomponents/p-2ce8e7ac.entry.js +1 -0
  349. package/dist/webcomponents/p-32345016.entry.js +1 -0
  350. package/dist/webcomponents/p-357e1077.entry.js +1 -0
  351. package/dist/webcomponents/p-3a691b9a.entry.js +1 -0
  352. package/dist/webcomponents/p-3adEM48l.js +1 -0
  353. package/dist/webcomponents/p-3bb94f41.entry.js +1 -0
  354. package/dist/webcomponents/p-3e94cf62.entry.js +1 -0
  355. package/dist/webcomponents/p-460eae73.entry.js +1 -0
  356. package/dist/webcomponents/p-48d84a6f.entry.js +1 -0
  357. package/dist/webcomponents/p-4a3ee65c.entry.js +1 -0
  358. package/dist/webcomponents/p-58f415f4.entry.js +1 -0
  359. package/dist/webcomponents/p-5e467788.entry.js +1 -0
  360. package/dist/webcomponents/p-5ff7f253.entry.js +1 -0
  361. package/dist/webcomponents/p-6334c2bc.entry.js +1 -0
  362. package/dist/webcomponents/{p-c899df50.entry.js → p-639baa7d.entry.js} +1 -1
  363. package/dist/webcomponents/p-6429afb4.entry.js +1 -0
  364. package/dist/webcomponents/p-6780e07e.entry.js +1 -0
  365. package/dist/webcomponents/p-6a3a8a7a.entry.js +1 -0
  366. package/dist/webcomponents/p-76d1a604.entry.js +1 -0
  367. package/dist/webcomponents/{p-78511d66.entry.js → p-7733b67b.entry.js} +1 -1
  368. package/dist/webcomponents/{p-805269fd.entry.js → p-774eee26.entry.js} +1 -1
  369. package/dist/webcomponents/p-7c62b59d.entry.js +1 -0
  370. package/dist/webcomponents/p-8224e3c2.entry.js +1 -0
  371. package/dist/webcomponents/p-82515f70.entry.js +1 -0
  372. package/dist/webcomponents/{p-Cixn6QDS.js → p-82kiZkHt.js} +1 -1
  373. package/dist/webcomponents/p-833576ca.entry.js +1 -0
  374. package/dist/webcomponents/p-83d4ac72.entry.js +1 -0
  375. package/dist/webcomponents/{p-4f98895d.entry.js → p-90c24cda.entry.js} +1 -1
  376. package/dist/webcomponents/p-9c1a79c5.entry.js +1 -0
  377. package/dist/webcomponents/p-9dae8152.entry.js +1 -0
  378. package/dist/webcomponents/p-B0cQ2RjH.js +1 -0
  379. package/dist/webcomponents/p-B190pN0v.js +1 -0
  380. package/dist/webcomponents/p-B1ubyLhU.js +1 -0
  381. package/dist/webcomponents/{p-bplwtwD3.js → p-BTS3E50C.js} +1 -1
  382. package/dist/webcomponents/p-BrLVc_85.js +1 -0
  383. package/dist/webcomponents/{p-DyIEclkx.js → p-ByRPlUBS.js} +1 -1
  384. package/dist/webcomponents/p-C0IqfGFc.js +1 -0
  385. package/dist/webcomponents/{p-D9q8WsW5.js → p-C0WFYqwq.js} +1 -1
  386. package/dist/webcomponents/p-C0piBrye.js +1 -0
  387. package/dist/webcomponents/p-CQdeVKF8.js +1 -0
  388. package/dist/webcomponents/p-CZfYo5-1.js +1 -0
  389. package/dist/webcomponents/{p-BQEAUdoy.js → p-CgxzrbM_.js} +1 -1
  390. package/dist/webcomponents/{p-BS-e1gnL.js → p-CkrVt-dj.js} +1 -1
  391. package/dist/webcomponents/p-D0ptm6-3.js +1 -0
  392. package/dist/webcomponents/{p-CN_YheWL.js → p-D4Mv5jCp.js} +1 -1
  393. package/dist/webcomponents/{p-GTA6l_sT.js → p-D5XSsLKb.js} +1 -1
  394. package/dist/webcomponents/p-DLLK41AX.js +1 -0
  395. package/dist/webcomponents/{p-BMDJA9xX.js → p-Da_GeglS.js} +1 -1
  396. package/dist/webcomponents/p-DgfzEZny.js +1 -0
  397. package/dist/webcomponents/{p-ERVEQjR2.js → p-Dgxn_B6C.js} +1 -1
  398. package/dist/webcomponents/p-DqOTECuf.js +1 -0
  399. package/dist/webcomponents/p-DvHZ2jYI.js +1 -0
  400. package/dist/webcomponents/{p-oPo_KSwO.js → p-Dz-Ft5b1.js} +1 -1
  401. package/dist/webcomponents/{p-KLQjERL5.js → p-OSmuQKbK.js} +1 -1
  402. package/dist/webcomponents/p-U30-0DaA.js +1 -0
  403. package/dist/webcomponents/p-a5af8397.entry.js +1 -0
  404. package/dist/webcomponents/p-a61f9b3c.entry.js +1 -0
  405. package/dist/webcomponents/{p-43140695.entry.js → p-a6fb7730.entry.js} +1 -1
  406. package/dist/webcomponents/{p-BXey6mVj.js → p-aTcDcUMZ.js} +1 -1
  407. package/dist/webcomponents/p-aa954ce9.entry.js +1 -0
  408. package/dist/webcomponents/{p-4fc851c0.entry.js → p-ac4ac963.entry.js} +1 -1
  409. package/dist/webcomponents/p-ae7c6b81.entry.js +1 -0
  410. package/dist/webcomponents/p-ae8c3dab.entry.js +1 -0
  411. package/dist/webcomponents/{p-b182796a.entry.js → p-afa54e39.entry.js} +1 -1
  412. package/dist/webcomponents/p-b061c21c.entry.js +1 -0
  413. package/dist/webcomponents/{p-493c9bd9.entry.js → p-b2192f8b.entry.js} +1 -1
  414. package/dist/webcomponents/p-b4d857b2.entry.js +1 -0
  415. package/dist/webcomponents/p-bb45705e.entry.js +1 -0
  416. package/dist/webcomponents/p-bb50155f.entry.js +1 -0
  417. package/dist/webcomponents/p-bf3e8295.entry.js +1 -0
  418. package/dist/webcomponents/p-c2f3d7da.entry.js +1 -0
  419. package/dist/webcomponents/{p-5d8d1818.entry.js → p-c7227fc1.entry.js} +1 -1
  420. package/dist/webcomponents/p-c8f70818.entry.js +1 -0
  421. package/dist/webcomponents/p-c9288f47.entry.js +1 -0
  422. package/dist/webcomponents/p-cNABKY0P.js +1 -0
  423. package/dist/webcomponents/{p-BdNmdBIx.js → p-d-_oUZor.js} +1 -1
  424. package/dist/webcomponents/p-d1a440e3.entry.js +1 -0
  425. package/dist/webcomponents/{p-5a1238a1.entry.js → p-d2dc6f22.entry.js} +3 -3
  426. package/dist/webcomponents/p-dd89c516.entry.js +1 -0
  427. package/dist/webcomponents/p-e39b5ffd.entry.js +1 -0
  428. package/dist/webcomponents/p-e5d35016.entry.js +1 -0
  429. package/dist/webcomponents/p-ebd7753d.entry.js +1 -0
  430. package/dist/webcomponents/p-ec47b7c8.entry.js +1 -0
  431. package/dist/webcomponents/p-l3o3Ndc0.js +1 -0
  432. package/dist/webcomponents/p-n2YROtpe.js +1 -0
  433. package/dist/webcomponents/webcomponents.esm.js +1 -1
  434. package/package.json +1 -1
  435. package/dist/cjs/checkout.service-DP9FnXBx.js +0 -40
  436. package/dist/cjs/dispute.service-F-M8EJxq.js +0 -39
  437. package/dist/collection/ui-components/table/exported-parts.js +0 -5
  438. package/dist/esm/checkout.service-92ld4w-G.js +0 -38
  439. package/dist/esm/dispute.service-H2Oaq2af.js +0 -37
  440. package/dist/esm/event-types-BIryDMGV.js +0 -62
  441. package/dist/types/ui-components/table/exported-parts.d.ts +0 -1
  442. package/dist/webcomponents/p-00eb2bc9.entry.js +0 -1
  443. package/dist/webcomponents/p-0c2f2ea9.entry.js +0 -1
  444. package/dist/webcomponents/p-11344996.entry.js +0 -1
  445. package/dist/webcomponents/p-19581139.entry.js +0 -1
  446. package/dist/webcomponents/p-19d21f35.entry.js +0 -1
  447. package/dist/webcomponents/p-2294e63b.entry.js +0 -1
  448. package/dist/webcomponents/p-24e04f78.entry.js +0 -1
  449. package/dist/webcomponents/p-2P4kwjNi.js +0 -1
  450. package/dist/webcomponents/p-30466d27.entry.js +0 -1
  451. package/dist/webcomponents/p-32c156c6.entry.js +0 -1
  452. package/dist/webcomponents/p-32ff6641.entry.js +0 -1
  453. package/dist/webcomponents/p-38d6c034.entry.js +0 -1
  454. package/dist/webcomponents/p-3add8d1b.entry.js +0 -1
  455. package/dist/webcomponents/p-3c01edb0.entry.js +0 -1
  456. package/dist/webcomponents/p-3cd9d9d8.entry.js +0 -1
  457. package/dist/webcomponents/p-4028ccb0.entry.js +0 -1
  458. package/dist/webcomponents/p-4ac754e7.entry.js +0 -1
  459. package/dist/webcomponents/p-4afcb015.entry.js +0 -1
  460. package/dist/webcomponents/p-4c64b1e9.entry.js +0 -1
  461. package/dist/webcomponents/p-4e3aca7a.entry.js +0 -1
  462. package/dist/webcomponents/p-4e489cf9.entry.js +0 -1
  463. package/dist/webcomponents/p-4e61f480.entry.js +0 -1
  464. package/dist/webcomponents/p-526be31d.entry.js +0 -1
  465. package/dist/webcomponents/p-575fc637.entry.js +0 -1
  466. package/dist/webcomponents/p-581ca781.entry.js +0 -1
  467. package/dist/webcomponents/p-5b4cbfd4.entry.js +0 -1
  468. package/dist/webcomponents/p-5eb85754.entry.js +0 -1
  469. package/dist/webcomponents/p-5f02ec20.entry.js +0 -1
  470. package/dist/webcomponents/p-6567b171.entry.js +0 -1
  471. package/dist/webcomponents/p-6d701784.entry.js +0 -1
  472. package/dist/webcomponents/p-7b649051.entry.js +0 -1
  473. package/dist/webcomponents/p-B4Bi1JkP.js +0 -1
  474. package/dist/webcomponents/p-Bl3qFMoN.js +0 -1
  475. package/dist/webcomponents/p-Bl79NorO.js +0 -1
  476. package/dist/webcomponents/p-CPXN4Ths.js +0 -1
  477. package/dist/webcomponents/p-CSwEbNEl.js +0 -1
  478. package/dist/webcomponents/p-CWpAvtGa.js +0 -1
  479. package/dist/webcomponents/p-C_9TcvwA.js +0 -1
  480. package/dist/webcomponents/p-CiKdTI9h.js +0 -1
  481. package/dist/webcomponents/p-CjO1GttX.js +0 -1
  482. package/dist/webcomponents/p-D2EbqwBe.js +0 -1
  483. package/dist/webcomponents/p-DD14E0K0.js +0 -1
  484. package/dist/webcomponents/p-DavDfnxI.js +0 -1
  485. package/dist/webcomponents/p-Dss1xCBW.js +0 -1
  486. package/dist/webcomponents/p-Dumd8fMw.js +0 -1
  487. package/dist/webcomponents/p-OjYukdAC.js +0 -1
  488. package/dist/webcomponents/p-_bsEVFir.js +0 -1
  489. package/dist/webcomponents/p-a2f77373.entry.js +0 -1
  490. package/dist/webcomponents/p-a4c08055.entry.js +0 -1
  491. package/dist/webcomponents/p-a93cceca.entry.js +0 -1
  492. package/dist/webcomponents/p-ab5cde61.entry.js +0 -1
  493. package/dist/webcomponents/p-ac98a15e.entry.js +0 -1
  494. package/dist/webcomponents/p-b0430518.entry.js +0 -1
  495. package/dist/webcomponents/p-b05693c6.entry.js +0 -1
  496. package/dist/webcomponents/p-b25b8534.entry.js +0 -1
  497. package/dist/webcomponents/p-b2db4fae.entry.js +0 -1
  498. package/dist/webcomponents/p-bb5c9475.entry.js +0 -1
  499. package/dist/webcomponents/p-bb97192f.entry.js +0 -1
  500. package/dist/webcomponents/p-c77481fe.entry.js +0 -1
  501. package/dist/webcomponents/p-ca11ad58.entry.js +0 -1
  502. package/dist/webcomponents/p-d06f7faf.entry.js +0 -1
  503. package/dist/webcomponents/p-d2fbf7ea.entry.js +0 -1
  504. package/dist/webcomponents/p-d7a04fdd.entry.js +0 -1
  505. package/dist/webcomponents/p-d8f7a73b.entry.js +0 -1
  506. package/dist/webcomponents/p-d90b8cc2.entry.js +0 -1
  507. package/dist/webcomponents/p-e558eab8.entry.js +0 -1
  508. package/dist/webcomponents/p-f2dc1405.entry.js +0 -1
  509. /package/dist/collection/{ui-components → components}/filters/utils.js +0 -0
  510. /package/dist/types/{ui-components → components}/filters/table-filters-menu.d.ts +0 -0
  511. /package/dist/types/{ui-components → components}/filters/utils.d.ts +0 -0
  512. /package/dist/types/ui-components/{table-empty-state.d.ts → table/table-empty-state.d.ts} +0 -0
  513. /package/dist/types/ui-components/{table-error-state.d.ts → table/table-error-state.d.ts} +0 -0
  514. /package/dist/types/ui-components/{table-loading-state.d.ts → table/table-loading-state.d.ts} +0 -0
@@ -1,22 +1,23 @@
1
- var DisputeManagementClickActions;
2
- (function (DisputeManagementClickActions) {
3
- DisputeManagementClickActions["nextStep"] = "nextStep";
4
- DisputeManagementClickActions["previousStep"] = "previousStep";
5
- DisputeManagementClickActions["cancelDispute"] = "cancelDispute";
6
- DisputeManagementClickActions["respondToDispute"] = "respondToDispute";
7
- DisputeManagementClickActions["submit"] = "submit";
8
- })(DisputeManagementClickActions || (DisputeManagementClickActions = {}));
9
- var DisputeResponseFormStep;
10
- (function (DisputeResponseFormStep) {
11
- DisputeResponseFormStep["disputeReason"] = "dispute_reason";
12
- DisputeResponseFormStep["productOrService"] = "product_or_service";
13
- DisputeResponseFormStep["customerDetails"] = "customer_details";
14
- DisputeResponseFormStep["cancellationPolicy"] = "cancellation_policy";
15
- DisputeResponseFormStep["refundPolicy"] = "refund_policy";
16
- DisputeResponseFormStep["duplicateCharge"] = "duplicate_charge";
17
- DisputeResponseFormStep["electronicEvidence"] = "electronic_evidence";
18
- DisputeResponseFormStep["shippingDetails"] = "shipping_details";
19
- DisputeResponseFormStep["additionalStatement"] = "additional_statement";
20
- })(DisputeResponseFormStep || (DisputeResponseFormStep = {}));
1
+ var BusinessFormClickActions;
2
+ (function (BusinessFormClickActions) {
3
+ BusinessFormClickActions["nextStep"] = "nextStep";
4
+ BusinessFormClickActions["previousStep"] = "previousStep";
5
+ BusinessFormClickActions["submit"] = "submit";
6
+ BusinessFormClickActions["removeOwner"] = "removeOwner";
7
+ BusinessFormClickActions["addOwner"] = "addOwner";
8
+ BusinessFormClickActions["addOwnerForm"] = "addOwnerForm";
9
+ BusinessFormClickActions["updateOwner"] = "updateOwner";
10
+ })(BusinessFormClickActions || (BusinessFormClickActions = {}));
11
+ var BusinessFormStep;
12
+ (function (BusinessFormStep) {
13
+ BusinessFormStep["businessInfo"] = "business_info";
14
+ BusinessFormStep["legalAddress"] = "legal_address";
15
+ BusinessFormStep["additionalQuestions"] = "additional_questions";
16
+ BusinessFormStep["representative"] = "representative";
17
+ BusinessFormStep["owners"] = "owners";
18
+ BusinessFormStep["bankAccount"] = "bank_account";
19
+ BusinessFormStep["documentUpload"] = "document_upload";
20
+ BusinessFormStep["termsAndConditions"] = "terms_and_conditions";
21
+ })(BusinessFormStep || (BusinessFormStep = {}));
21
22
 
22
- export { DisputeManagementClickActions as D };
23
+ export { BusinessFormStep as B, BusinessFormClickActions as a };
@@ -1,62 +1,22 @@
1
- import { h } from '@stencil/core/internal/client';
2
- import { aq as tableEmpty, ar as tableError, o as tableCell } from './parts.js';
3
- import { S as Spinner } from './spinner.js';
1
+ var DisputeManagementClickActions;
2
+ (function (DisputeManagementClickActions) {
3
+ DisputeManagementClickActions["nextStep"] = "nextStep";
4
+ DisputeManagementClickActions["previousStep"] = "previousStep";
5
+ DisputeManagementClickActions["cancelDispute"] = "cancelDispute";
6
+ DisputeManagementClickActions["respondToDispute"] = "respondToDispute";
7
+ DisputeManagementClickActions["submit"] = "submit";
8
+ })(DisputeManagementClickActions || (DisputeManagementClickActions = {}));
9
+ var DisputeResponseFormStep;
10
+ (function (DisputeResponseFormStep) {
11
+ DisputeResponseFormStep["disputeReason"] = "dispute_reason";
12
+ DisputeResponseFormStep["productOrService"] = "product_or_service";
13
+ DisputeResponseFormStep["customerDetails"] = "customer_details";
14
+ DisputeResponseFormStep["cancellationPolicy"] = "cancellation_policy";
15
+ DisputeResponseFormStep["refundPolicy"] = "refund_policy";
16
+ DisputeResponseFormStep["duplicateCharge"] = "duplicate_charge";
17
+ DisputeResponseFormStep["electronicEvidence"] = "electronic_evidence";
18
+ DisputeResponseFormStep["shippingDetails"] = "shipping_details";
19
+ DisputeResponseFormStep["additionalStatement"] = "additional_statement";
20
+ })(DisputeResponseFormStep || (DisputeResponseFormStep = {}));
4
21
 
5
- const TableEmptyState = (props) => {
6
- const { columnSpan, isEmpty } = props;
7
- if (!columnSpan || !isEmpty) {
8
- return null;
9
- }
10
- return (h("tr", null,
11
- h("td", { class: "empty-state", part: tableEmpty, colSpan: columnSpan, style: { textAlign: 'center' } }, "No results")));
12
- };
13
-
14
- const TableErrorState = (props) => {
15
- const { columnSpan, errorMessage } = props;
16
- if (!columnSpan || !errorMessage) {
17
- return null;
18
- }
19
- return (h("tr", null,
20
- h("td", { class: "error-state", part: tableError, colSpan: columnSpan, "data-test-id": "table-error-state", style: { textAlign: 'center' } },
21
- "An unexpected error occurred: ",
22
- errorMessage)));
23
- };
24
-
25
- const TableLoadingState = (props) => {
26
- const { columnSpan, isLoading } = props;
27
- if (!columnSpan || !isLoading) {
28
- return null;
29
- }
30
- return (h("tr", null,
31
- h("td", { class: "loading-state", part: tableCell, colSpan: columnSpan, style: { textAlign: 'center' } },
32
- h(Spinner, null))));
33
- };
34
-
35
- class Table {
36
- get columnData() {
37
- return this.columnKeys.map((key) => this.tableColumns[key]());
38
- }
39
- get rowData() {
40
- return this.collection.map((dataEntry, index) => {
41
- return this.columnKeys.map((key) => this.tableCells[key](dataEntry, index));
42
- });
43
- }
44
- set collectionData(collection) {
45
- this.collection = collection;
46
- }
47
- constructor(collection, columns, tableColumns, tableCells) {
48
- this.columnKeys = columns.split(',');
49
- this.collection = collection;
50
- this.tableColumns = tableColumns;
51
- this.tableCells = tableCells;
52
- }
53
- }
54
-
55
- var TableClickActions;
56
- (function (TableClickActions) {
57
- TableClickActions["row"] = "tableRow";
58
- TableClickActions["next"] = "nextPage";
59
- TableClickActions["previous"] = "previousPage";
60
- })(TableClickActions || (TableClickActions = {}));
61
-
62
- export { TableClickActions as T, Table as a, TableLoadingState as b, TableEmptyState as c, TableErrorState as d };
22
+ export { DisputeManagementClickActions as D };
@@ -3,6 +3,7 @@ import { H as inputCheckboxInvalid, I as inputCheckboxCheckedFocused, J as input
3
3
  import { F as FormControlHelpText } from './form-control-help-text3.js';
4
4
  import { F as FormControlErrorText } from './form-control-error-text.js';
5
5
  import './details.js';
6
+ import './event-types.js';
6
7
 
7
8
  const CheckboxInput = /*@__PURE__*/ proxyCustomElement(class CheckboxInput extends HTMLElement {
8
9
  constructor() {
@@ -2,6 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
2
2
  import { i as input, l as label, b as inputInvalid, c as inputDisabled, d as inputFocused } from './parts.js';
3
3
  import { F as FormControlErrorText } from './form-control-error-text.js';
4
4
  import './details.js';
5
+ import './event-types.js';
5
6
  import { d as defineCustomElement$2 } from './custom-popper2.js';
6
7
  import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
7
8
 
@@ -2,6 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
2
2
  import { i as input, l as label, b as inputInvalid, c as inputDisabled, d as inputFocused } from './parts.js';
3
3
  import { F as FormControlErrorText } from './form-control-error-text.js';
4
4
  import './details.js';
5
+ import './event-types.js';
5
6
  import { d as defineCustomElement$2 } from './custom-popper2.js';
6
7
  import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
7
8
 
@@ -5,6 +5,7 @@ import { N as inputGroup, l as label, M as inputAdornment, b as inputInvalid, c
5
5
  import { F as FormControlHelpText } from './form-control-help-text3.js';
6
6
  import { F as FormControlErrorText } from './form-control-error-text.js';
7
7
  import './details.js';
8
+ import './event-types.js';
8
9
 
9
10
  const MonetaryInputProvisioning = /*@__PURE__*/ proxyCustomElement(class MonetaryInputProvisioning extends HTMLElement {
10
11
  constructor() {
@@ -3,6 +3,7 @@ import { b as inputInvalid, c as inputDisabled, d as inputFocused, i as input, l
3
3
  import { F as FormControlHelpText } from './form-control-help-text3.js';
4
4
  import { F as FormControlErrorText } from './form-control-error-text.js';
5
5
  import './details.js';
6
+ import './event-types.js';
6
7
  import { f as formatCurrency } from './utils2.js';
7
8
 
8
9
  const MonetaryInput = /*@__PURE__*/ proxyCustomElement(class MonetaryInput extends HTMLElement {
@@ -3,6 +3,7 @@ import { I as IMask } from './index3.js';
3
3
  import { b as inputInvalid, c as inputDisabled, d as inputFocused, i as input, l as label } from './parts.js';
4
4
  import { F as FormControlErrorText } from './form-control-error-text.js';
5
5
  import './details.js';
6
+ import './event-types.js';
6
7
  import { d as defineCustomElement$2 } from './custom-popper2.js';
7
8
  import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
8
9
 
@@ -3,6 +3,7 @@ import { T as inputInvalidAndFocused, d as inputFocused, b as inputInvalid, i as
3
3
  import { F as FormControlHelpText } from './form-control-help-text3.js';
4
4
  import { F as FormControlErrorText } from './form-control-error-text.js';
5
5
  import './details.js';
6
+ import './event-types.js';
6
7
 
7
8
  const NumberInput = /*@__PURE__*/ proxyCustomElement(class NumberInput extends HTMLElement {
8
9
  constructor() {
@@ -2,6 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
2
2
  import { i as input, l as label, b as inputInvalid, c as inputDisabled, d as inputFocused } from './parts.js';
3
3
  import { F as FormControlErrorText } from './form-control-error-text.js';
4
4
  import './details.js';
5
+ import './event-types.js';
5
6
  import { d as defineCustomElement$2 } from './custom-popper2.js';
6
7
  import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
7
8
 
@@ -2,6 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
2
2
  import { b as inputInvalid, c as inputDisabled, d as inputFocused, i as input, l as label } from './parts.js';
3
3
  import { F as FormControlErrorText } from './form-control-error-text.js';
4
4
  import './details.js';
5
+ import './event-types.js';
5
6
  import { d as defineCustomElement$2 } from './custom-popper2.js';
6
7
  import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
7
8
 
@@ -2,7 +2,7 @@ import './utils2.js';
2
2
  import { C as ComponentErrorSeverity } from './ComponentError.js';
3
3
  import './Checkout.js';
4
4
  import './Pagination.js';
5
- import { b as Payment } from './Payment.js';
5
+ import { a as Payment } from './Payment.js';
6
6
  import './Refund.js';
7
7
  import './Document.js';
8
8
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
@@ -4,8 +4,8 @@ import { b as businessCoreInfoSchema } from './business-core-info-schema.js';
4
4
  import { a as additionalQuestionsSchema } from './business-additional-questions-schema.js';
5
5
  import { i as identitySchema } from './business-identity-schema.js';
6
6
  import { a as addressSchema } from './business-address-schema.js';
7
- import { A as Api } from './Api.js';
8
- import './ComponentError.js';
7
+ import './utils2.js';
8
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
9
9
  import './Checkout.js';
10
10
  import './Pagination.js';
11
11
  import './Payment.js';
@@ -17,8 +17,11 @@ import { B as Button } from './button.js';
17
17
  import { S as StyledHost } from './styled-host.js';
18
18
  import { H as Header1 } from './header-1.js';
19
19
  import './details.js';
20
+ import './event-types.js';
20
21
  import { S as Skeleton } from './skeleton.js';
21
- import { a as BusinessFormClickActions } from './event-types.js';
22
+ import { a as BusinessFormClickActions } from './event-types2.js';
23
+ import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
24
+ import { B as BusinessService } from './business.service.js';
22
25
  import { d as defineCustomElement$e } from './custom-popper2.js';
23
26
  import { d as defineCustomElement$d } from './form-alert2.js';
24
27
  import { d as defineCustomElement$c } from './form-control-date2.js';
@@ -62,43 +65,34 @@ const BusinessForm = /*@__PURE__*/ proxyCustomElement(class BusinessForm extends
62
65
  this.__attachShadow();
63
66
  this.submitEvent = createEvent(this, "submit-event", 7);
64
67
  this.clickEvent = createEvent(this, "click-event", 7);
68
+ this.errorEvent = createEvent(this, "error-event", 7);
69
+ this.isLoading = false;
70
+ this.isSaving = false;
65
71
  this.hideErrors = false;
66
72
  this.formTitle = 'Business Information';
67
73
  this.removeTitle = false;
68
- this.isLoading = false;
69
- this.isSaving = false;
70
74
  this.instantiateBusiness = (data) => {
71
75
  const business = new Business(data);
72
76
  this.formController.setInitialValues(Object.assign({}, business));
73
77
  };
74
78
  this.sendData = async () => {
75
79
  this.isSaving = true;
76
- try {
77
- const values = this.formController.values.getValue();
78
- const initialValues = this.formController.getInitialValues();
79
- const payload = new Business(Object.assign(Object.assign({}, initialValues), values)).payload;
80
- const response = await this.api.patch(this.businessEndpoint, payload);
81
- this.handleReponse(response);
82
- }
83
- catch (error) {
84
- this.errorMessage = BusinessFormServerErrors.patchData;
85
- }
86
- finally {
87
- this.isSaving = false;
88
- }
89
- };
90
- this.fetchData = async () => {
91
- this.isLoading = true;
92
- try {
93
- const response = await this.api.get(this.businessEndpoint);
94
- this.instantiateBusiness(response.data);
95
- }
96
- catch (error) {
97
- this.errorMessage = BusinessFormServerErrors.fetchData;
98
- }
99
- finally {
100
- this.isLoading = false;
101
- }
80
+ const values = this.formController.values.getValue();
81
+ const initialValues = this.formController.getInitialValues();
82
+ const payload = new Business(Object.assign(Object.assign({}, initialValues), values)).payload;
83
+ this.patchBusiness({
84
+ payload,
85
+ onSuccess: (response) => {
86
+ this.handleReponse(response);
87
+ },
88
+ onError: ({ error, code, severity }) => {
89
+ this.errorMessage = error.message;
90
+ this.errorEvent.emit({ errorCode: code, message: error.message, severity });
91
+ },
92
+ final: () => {
93
+ this.isSaving = false;
94
+ }
95
+ });
102
96
  };
103
97
  this.validateAndSubmit = (event) => {
104
98
  event.preventDefault();
@@ -108,15 +102,8 @@ const BusinessForm = /*@__PURE__*/ proxyCustomElement(class BusinessForm extends
108
102
  componentWillLoad() {
109
103
  checkPkgVersion();
110
104
  this.analytics = new JustifiAnalytics(this);
111
- const missingAuthTokenMessage = 'Warning: Missing auth-token. The form will not be functional without it.';
112
- const missingBusinessIdMessage = 'Warning: Missing business-id. The form requires an existing business-id to function.';
113
- if (!this.authToken)
114
- console.error(missingAuthTokenMessage);
115
- if (!this.businessId)
116
- console.error(missingBusinessIdMessage);
117
105
  this.formController = new FormController(businessFormSchema);
118
- this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
119
- this.fetchData();
106
+ this.initializeApi();
120
107
  }
121
108
  disconnectedCallback() {
122
109
  this.analytics.cleanup();
@@ -130,11 +117,44 @@ const BusinessForm = /*@__PURE__*/ proxyCustomElement(class BusinessForm extends
130
117
  get businessEndpoint() {
131
118
  return `entities/business/${this.businessId}`;
132
119
  }
120
+ initializeApi() {
121
+ if (this.authToken && this.businessId) {
122
+ this.getBusiness = makeGetBusiness({
123
+ authToken: this.authToken,
124
+ businessId: this.businessId,
125
+ service: new BusinessService()
126
+ });
127
+ this.patchBusiness = makePatchBusiness({
128
+ authToken: this.authToken,
129
+ businessId: this.businessId,
130
+ service: new BusinessService()
131
+ });
132
+ this.getBusiness({
133
+ onSuccess: (response) => {
134
+ this.instantiateBusiness(response.data);
135
+ },
136
+ onError: ({ error, code, severity }) => {
137
+ this.errorMessage = error.message;
138
+ this.errorEvent.emit({ errorCode: code, message: error.message, severity });
139
+ },
140
+ final: () => {
141
+ this.isLoading = false;
142
+ }
143
+ });
144
+ }
145
+ else {
146
+ this.errorEvent.emit({
147
+ message: 'auth-token and business-id are required',
148
+ errorCode: ComponentErrorCodes.MISSING_PROPS,
149
+ severity: ComponentErrorSeverity.ERROR,
150
+ });
151
+ }
152
+ }
133
153
  handleReponse(response) {
134
154
  if (response.error) {
135
155
  this.errorMessage = BusinessFormServerErrors.patchData;
136
156
  }
137
- this.submitEvent.emit({ response: response });
157
+ this.submitEvent.emit({ response });
138
158
  this.instantiateBusiness(response.data);
139
159
  }
140
160
  render() {
@@ -82,7 +82,6 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
82
82
  this.__registerHost();
83
83
  this.errorEvent = createEvent(this, "error-event", 7);
84
84
  this.loadedEvent = createEvent(this, "loaded", 7);
85
- this.iframeOrigin = "https://components.justifi.ai";
86
85
  this.errorMessage = '';
87
86
  }
88
87
  componentWillLoad() {
@@ -125,11 +124,11 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
125
124
  return { isValid };
126
125
  }
127
126
  render() {
128
- 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 => {
127
+ 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 => {
129
128
  if (el) {
130
129
  this.checkoutCoreRef = el;
131
130
  }
132
- } }, h("div", { key: '4a5badd7e9f77de58dafb09405cd563014f0e6e2', slot: "insurance" }, h("slot", { key: 'b0067d049fe5ed9bb7b35c8614a28e967872599b', name: "insurance" }))));
131
+ } }, h("div", { key: '132ad877917930b63fdd9d4ff5432d2f6a82a76d', slot: "insurance" }, h("slot", { key: '9854d96105ebac1adc176ea195f0e0b2b792b125', name: "insurance" }))));
133
132
  }
134
133
  static get watchers() { return {
135
134
  "authToken": ["propChanged"],
@@ -144,7 +143,6 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
144
143
  "disablePaymentMethodGroup": [4, "disable-payment-method-group"],
145
144
  "hideCardBillingForm": [4, "hide-card-billing-form"],
146
145
  "hideBankAccountBillingForm": [4, "hide-bank-account-billing-form"],
147
- "iframeOrigin": [1, "iframe-origin"],
148
146
  "getCheckout": [32],
149
147
  "complete": [32],
150
148
  "errorMessage": [32],
@@ -7,9 +7,10 @@ import './Payment.js';
7
7
  import './Refund.js';
8
8
  import './Document.js';
9
9
  import { f as filterParams, p as propsParams, c as clearParams } from './checkouts-list-params-state.js';
10
- import { a1 as checkoutsListFilterMenu, a2 as statusCheckoutsListFilterParam, a3 as paymentModeCheckoutsListFilterParam } from './parts.js';
10
+ import { a2 as checkoutsListFilterMenu, a3 as statusCheckoutsListFilterParam, a4 as paymentModeCheckoutsListFilterParam } from './parts.js';
11
11
  import { S as StyledHost } from './styled-host.js';
12
12
  import './details.js';
13
+ import './event-types.js';
13
14
  import { d as defineCustomElement$5 } from './custom-popper2.js';
14
15
  import { d as defineCustomElement$4 } from './form-control-select2.js';
15
16
  import { d as defineCustomElement$3 } from './form-control-tooltip2.js';
@@ -12,13 +12,14 @@ import { C as CheckoutService } from './checkout.service.js';
12
12
  import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
13
13
  import { S as StyledHost } from './styled-host.js';
14
14
  import './details.js';
15
+ import './event-types.js';
15
16
  import { d as defineCustomElement$3, a as defaultColumnsKeys } from './checkouts-list-core2.js';
16
17
  import { d as defineCustomElement$2 } from './pagination-menu2.js';
17
18
 
18
- const makeGetCheckouts = ({ accountId, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
19
+ const makeGetCheckouts = ({ accountId, authToken, service }) => async ({ params, onSuccess, onError }) => {
19
20
  var _a, _b;
20
21
  try {
21
- const response = await service.fetchCheckouts(accountId, authToken, params, apiOrigin);
22
+ const response = await service.fetchCheckouts(accountId, authToken, params);
22
23
  if (!response.error) {
23
24
  const pagingInfo = Object.assign({}, response.page_info);
24
25
  const checkouts = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new Checkout(dataItem))) || [];
@@ -51,7 +52,6 @@ const CheckoutsList = /*@__PURE__*/ proxyCustomElement(class CheckoutsList exten
51
52
  this.__attachShadow();
52
53
  this.errorEvent = createEvent(this, "error-event", 7);
53
54
  this.errorMessage = null;
54
- this.apiOrigin = "https://wc-proxy.justifi.ai";
55
55
  this.columns = defaultColumnsKeys;
56
56
  this.handleErrorEvent = (event) => {
57
57
  this.errorMessage = event.detail.message;
@@ -78,8 +78,7 @@ const CheckoutsList = /*@__PURE__*/ proxyCustomElement(class CheckoutsList exten
78
78
  this.getCheckouts = makeGetCheckouts({
79
79
  accountId: this.accountId,
80
80
  authToken: this.authToken,
81
- service: new CheckoutService(),
82
- apiOrigin: this.apiOrigin,
81
+ service: new CheckoutService()
83
82
  });
84
83
  }
85
84
  else {
@@ -101,7 +100,7 @@ const CheckoutsList = /*@__PURE__*/ proxyCustomElement(class CheckoutsList exten
101
100
  }
102
101
  }
103
102
  render() {
104
- return (h(StyledHost, { key: '4cf97b877324bc48ec5bcdae0f342d2b1fb0daca' }, h("checkouts-list-core", { key: '395f0b1ad4a6bdcaaaa8dc095fae6cad164bbdad', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
103
+ return (h(StyledHost, { key: '086d85512b11a65ac2d8960f515e373093d4bd96' }, h("checkouts-list-core", { key: 'abe06be934ac5f13ec98425f29c6b6b7c0ff4456', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
105
104
  }
106
105
  static get watchers() { return {
107
106
  "accountId": ["propChanged"],
@@ -110,7 +109,6 @@ const CheckoutsList = /*@__PURE__*/ proxyCustomElement(class CheckoutsList exten
110
109
  }, [1, "justifi-checkouts-list", {
111
110
  "accountId": [1, "account-id"],
112
111
  "authToken": [1, "auth-token"],
113
- "apiOrigin": [1, "api-origin"],
114
112
  "columns": [1],
115
113
  "getCheckouts": [32],
116
114
  "getSubAccounts": [32],
@@ -6,13 +6,13 @@ const ConfigProvider = /*@__PURE__*/ proxyCustomElement(class ConfigProvider ext
6
6
  super();
7
7
  this.__registerHost();
8
8
  this.apiOrigin = "https://wc-proxy.justifi.ai";
9
- this.iFrameOrigin = "https://components.justifi.ai";
9
+ this.iframeOrigin = "https://components.justifi.ai";
10
10
  this.accountId = '';
11
11
  }
12
12
  componentWillLoad() {
13
13
  setConfigState({
14
14
  apiOrigin: this.apiOrigin,
15
- iFrameOrigin: this.iFrameOrigin,
15
+ iframeOrigin: this.iframeOrigin,
16
16
  accountId: this.accountId
17
17
  });
18
18
  }
@@ -21,7 +21,7 @@ const ConfigProvider = /*@__PURE__*/ proxyCustomElement(class ConfigProvider ext
21
21
  }
22
22
  }, [0, "justifi-config-provider", {
23
23
  "apiOrigin": [1, "api-origin"],
24
- "iFrameOrigin": [1, "i-frame-origin"],
24
+ "iframeOrigin": [1, "iframe-origin"],
25
25
  "accountId": [1, "account-id"]
26
26
  }]);
27
27
  function defineCustomElement$1() {
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
3
3
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
4
- import { D as Dispute } from './Payment.js';
4
+ import { a as Dispute } from './Dispute.js';
5
5
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
6
6
  import { D as DisputeService } from './dispute-response-actions.js';
7
7
  import { d as defineCustomElement$k } from './custom-popper2.js';
@@ -24,10 +24,10 @@ import { d as defineCustomElement$4 } from './product-or-service.js';
24
24
  import { d as defineCustomElement$3 } from './refund-policy.js';
25
25
  import { d as defineCustomElement$2 } from './shipping-details.js';
26
26
 
27
- const makeGetDispute = ({ id, authToken, service, apiOrigin }) => async ({ onSuccess, onError }) => {
27
+ const makeGetDispute = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
28
28
  var _a;
29
29
  try {
30
- const response = await service.fetchDispute(id, authToken, apiOrigin);
30
+ const response = await service.fetchDispute(id, authToken);
31
31
  if (!response.error) {
32
32
  const pagingInfo = Object.assign({}, response.page_info);
33
33
  const dispute = new Dispute(response.data);
@@ -58,7 +58,6 @@ const DisputeManagement = /*@__PURE__*/ proxyCustomElement(class DisputeManageme
58
58
  super();
59
59
  this.__registerHost();
60
60
  this.errorEvent = createEvent(this, "error-event", 7);
61
- this.apiOrigin = "https://wc-proxy.justifi.ai";
62
61
  this.errorMessage = null;
63
62
  this.handleErrorEvent = event => {
64
63
  this.errorMessage = event.detail.message;
@@ -82,8 +81,7 @@ const DisputeManagement = /*@__PURE__*/ proxyCustomElement(class DisputeManageme
82
81
  this.getDispute = makeGetDispute({
83
82
  id: this.disputeId,
84
83
  authToken: this.authToken,
85
- service: new DisputeService(),
86
- apiOrigin: this.apiOrigin,
84
+ service: new DisputeService()
87
85
  });
88
86
  }
89
87
  else {
@@ -96,7 +94,7 @@ const DisputeManagement = /*@__PURE__*/ proxyCustomElement(class DisputeManageme
96
94
  }
97
95
  }
98
96
  render() {
99
- return (h("justifi-dispute-management-core", { key: 'ae0e4a208d6250c4da7033e1d8bf8c33ec041c36', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
97
+ return (h("justifi-dispute-management-core", { key: '12e281244496ede936b191dbc5b4069404d931e9', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
100
98
  }
101
99
  static get watchers() { return {
102
100
  "disputeId": ["propChanged"],
@@ -105,7 +103,6 @@ const DisputeManagement = /*@__PURE__*/ proxyCustomElement(class DisputeManageme
105
103
  }, [0, "justifi-dispute-management", {
106
104
  "disputeId": [1, "dispute-id"],
107
105
  "authToken": [1, "auth-token"],
108
- "apiOrigin": [1, "api-origin"],
109
106
  "getDispute": [32],
110
107
  "errorMessage": [32]
111
108
  }, undefined, {
@@ -1,7 +1,8 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
- import { X as heading4, Z as heading5, $ as buttonPrimary, t as text } from './parts.js';
2
+ import { X as heading4, _ as heading5, a0 as buttonPrimary, t as text } from './parts.js';
3
3
  import { S as StyledHost } from './styled-host.js';
4
4
  import './details.js';
5
+ import './event-types.js';
5
6
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
6
7
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
7
8
  import { B as BusinessService } from './business.service.js';
@@ -3,7 +3,7 @@ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version
3
3
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
4
4
  import { m as makeGetBusiness, g as makePostProvisioning } from './payment-provisioning-actions.js';
5
5
  import { B as BusinessService } from './business.service.js';
6
- import { A as Api } from './Api.js';
6
+ import { A as Api } from './ApiNew.js';
7
7
  import { d as defineCustomElement$y } from './bank-account-document-inputs.js';
8
8
  import { d as defineCustomElement$x } from './bank-account-form-inputs2.js';
9
9
  import { d as defineCustomElement$w } from './business-documents-on-file2.js';
@@ -38,17 +38,15 @@ import { d as defineCustomElement$4 } from './payment-provisioning-form-steps.js
38
38
  import { d as defineCustomElement$3 } from './owner-form-core2.js';
39
39
  import { d as defineCustomElement$2 } from './owner-form-inputs2.js';
40
40
 
41
+ const api = Api();
41
42
  class ProvisionService {
42
43
  async postProvisioning(authToken, businessId, product) {
43
44
  const endpoint = `entities/provisioning`;
44
- const payload = {
45
+ const body = {
45
46
  business_id: businessId,
46
47
  product_category: product,
47
48
  };
48
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post({
49
- endpoint,
50
- body: payload,
51
- });
49
+ return api.post({ endpoint, body, authToken });
52
50
  }
53
51
  }
54
52
 
@@ -9,10 +9,11 @@ import './Document.js';
9
9
  import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
10
10
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
11
11
  import { P as PaymentService } from './payment.service.js';
12
- import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types3.js';
13
- import { n as tableHeadCell, a5 as getAlternateTableCellPart, m as table, o as tableCell } from './parts.js';
12
+ import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
14
13
  import { S as StyledHost } from './styled-host.js';
15
14
  import './details.js';
15
+ import { T as TableClickActions } from './event-types.js';
16
+ import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
16
17
  import { d as defineCustomElement$2 } from './pagination-menu2.js';
17
18
 
18
19
  const makeGetPaymentTransactions = ({ id, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
@@ -178,7 +179,7 @@ const PaymentTransactionsList = /*@__PURE__*/ proxyCustomElement(class PaymentTr
178
179
  return !this.showEmptyState && !this.showErrorState && !this.isLoading;
179
180
  }
180
181
  render() {
181
- return (h(StyledHost, { key: 'c35e2e5941204aa9ccdfe2be612f98c5a230852a' }, h("div", { key: 'bcf166a44ba15828edcc888ee96b1633853286a2', class: "table-wrapper" }, h("table", { key: '8ae29b54461e6f2eeefc1da4f659e86db774b913', class: "table table-hover", part: table }, h("thead", { key: '4a7983d92e9bc30e63c18c223996d8251e99438c', class: "table-head sticky-top" }, h("tr", { key: '797a5512b07112c04fe37b8898610091b3fbcb74', class: "table-light text-nowrap" }, this.transactionsTable.columnData.map((column) => column))), h("tbody", { key: '09d90ccec9a0dbf5a2b5caffa7715a96fd98097d', class: "table-body" }, h(TableLoadingState, { key: '2d350db554deb86c9122cded434c8947f4028042', columnSpan: this.transactionsTable.columnData.length, isLoading: this.isLoading }), h(TableEmptyState, { key: 'd2f8bd08c44fe66712b167b430b6e08b2dc989c7', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnData.length }), h(TableErrorState, { key: '2cb1f0c85805c77d445bd7da333761dc11a982c4', 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: '76b887121f8e8c48b59f4657a9353d32b3f60511', class: "sticky-bottom" }, h("tr", { key: '99670a6602b8145d2208a29333c358ae2da91153', class: "table-light align-middle" }, h("td", { key: 'c2cfed937f3e34bd4fed9a258b1158827b7d04b7', part: tableCell, colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '65659d1f4c5893cc427fb05e4b9255d3c54fb41d', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
182
+ return (h(StyledHost, { key: '95b1793a1b1dd1f30857a2da18884569bb37673a' }, h(TableWrapper, { key: '213c53810f28609c5166c4b7865a4b923db64148' }, h(TableComponent, { key: 'c4c9ad468955900dd3dadf55bf74961b347db725' }, h(TableHead, { key: '0aaa96e09c54865f5bbe74abf236db20a69c0df9' }, h(TableHeadRow, { key: '69258a4be5ddba8c3db1f2e801c7101a51efadd2' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '961a12de0888c9ab76ae708f1694955cadc05ffb' }, h(TableLoadingState, { key: 'd5d5b788698eb28ff2dcccf902694fb166f7e805', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '311f9238c5ed98e1801cd482967814e2d1b98547', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '86c6728fb2a4ff6a1de0032cda9a5e6fdfb2a19c', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '4fe703ff7a69a534424fde0154203a0f1f0a2240' }, h(TableFootRow, { key: 'b6dafac49888c3745461a18723b74f46d1353478' }, h(TableFootCell, { key: '1906f0ab8f62c94cb976a37eb12ffb479ccb8333', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '114ec152e59ddd485f465774a7f8f656d618083a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
182
183
  }
183
184
  static get watchers() { return {
184
185
  "pagingParams": ["propChanged"],