@justifi/webcomponents 5.6.1 → 5.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (646) hide show
  1. package/dist/cjs/{ApiNew-DG13rvk6.js → Api-C8nf_gS9.js} +1 -1
  2. package/dist/cjs/{Payment-CQCmj3Ck.js → Document-CL5Zc72Q.js} +57 -0
  3. package/dist/cjs/{Refund-CpurRc4w.js → Refund-CYxocU06.js} +1 -0
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  5. package/dist/cjs/{badge-ByWVHNyJ.js → badge-BxoJOyTJ.js} +1 -1
  6. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +12 -10
  7. package/dist/cjs/bank-account-form_9.cjs.entry.js +39 -30
  8. package/dist/cjs/{business-additional-questions-schema-gVepoR4V.js → business-additional-questions-schema-DR8vt11M.js} +1 -1
  9. package/dist/cjs/business-details-core.cjs.entry.js +4 -3
  10. package/dist/cjs/{business-identity-schema-dt0zCW0R.js → business-identity-schema-BYaCsboD.js} +1 -1
  11. package/dist/cjs/{business.service-Vcq4kPU8.js → business.service-C2rg_zSw.js} +20 -24
  12. package/dist/cjs/{button-Bn9jOYbx.js → button-BPFSRx4d.js} +1 -1
  13. package/dist/cjs/{check-pkg-version-7gGchZzS.js → check-pkg-version-BqC8BOhm.js} +14 -3
  14. package/dist/cjs/checkout.service-CyvIIMeq.js +35 -0
  15. package/dist/cjs/checkouts-list-core.cjs.entry.js +16 -12
  16. package/dist/cjs/{checkouts-table-C_cpZa-i.js → checkouts-table-_T5eblyc.js} +2 -2
  17. package/dist/cjs/{config-state-Bm8-EuFE.js → config-state-D7p-XunE.js} +1 -1
  18. package/dist/cjs/custom-popper_4.cjs.entry.js +7 -6
  19. package/dist/cjs/{dispute.service-F-M8EJxq.js → dispute.service-CKPR1vFS.js} +13 -17
  20. package/dist/cjs/event-types-YOY5TKUN.js +8 -0
  21. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  22. package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -5
  23. package/dist/cjs/form-control-date.cjs.entry.js +5 -4
  24. package/dist/cjs/{form-control-error-text-CBAVQoZ3.js → form-control-error-text-D9XDyFoW.js} +1 -1
  25. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  26. package/dist/cjs/{form-control-help-text-DQz5O3wX.js → form-control-help-text-J_boqSMc.js} +1 -1
  27. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +4 -3
  28. package/dist/cjs/form-control-monetary.cjs.entry.js +6 -5
  29. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -4
  30. package/dist/cjs/form-control-number.cjs.entry.js +6 -5
  31. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  32. package/dist/cjs/{get-payment-details-DqvDYbnK.js → get-payment-details-C9HqIv-M.js} +6 -4
  33. package/dist/cjs/{get-subaccounts-CasN5tDA.js → get-subaccounts-BNpIanJ9.js} +8 -6
  34. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  35. package/dist/cjs/{header-1-Bl1S9jV8.js → header-1-auSUfIpO.js} +1 -1
  36. package/dist/cjs/{header-3-DYzIjFIZ.js → header-3-B-bXHCpC.js} +1 -1
  37. package/dist/cjs/iframe-input.cjs.entry.js +6 -6
  38. package/dist/cjs/{insurance-state-BbmHHQl0.js → insurance-state-CFxbKNWH.js} +1 -1
  39. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -10
  40. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +13 -14
  41. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
  42. package/dist/cjs/justifi-business-details.cjs.entry.js +16 -10
  43. package/dist/cjs/justifi-business-form.cjs.entry.js +78 -54
  44. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  45. package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -7
  46. package/dist/cjs/justifi-checkout.cjs.entry.js +16 -11
  47. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -6
  48. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +24 -22
  49. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  50. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  51. package/dist/cjs/justifi-dispute-management.cjs.entry.js +17 -14
  52. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -12
  53. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +20 -8
  54. package/dist/cjs/justifi-order-terminals.cjs.entry.js +19 -15
  55. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +14 -10
  56. package/dist/cjs/justifi-payment-details.cjs.entry.js +15 -13
  57. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -2
  58. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +20 -13
  59. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +21 -17
  60. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -3
  61. package/dist/cjs/justifi-payments-list.cjs.entry.js +21 -17
  62. package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -13
  63. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +21 -17
  64. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -3
  65. package/dist/cjs/justifi-payouts-list.cjs.entry.js +21 -23
  66. package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -15
  67. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +7 -4
  68. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +19 -19
  69. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -7
  70. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +22 -15
  71. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -6
  72. package/dist/cjs/justifi-terminals-list.cjs.entry.js +20 -16
  73. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +20 -11
  74. package/dist/cjs/loader.cjs.js +1 -1
  75. package/dist/cjs/{package-CseQI95t.js → package-Biee4Hdo.js} +1 -1
  76. package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
  77. package/dist/cjs/{parts-Du1T2dvF.js → parts-9jMf1erK.js} +24 -8
  78. package/dist/cjs/payment-details-core.cjs.entry.js +16 -12
  79. package/dist/cjs/{payment.service-CAJSEb2x.js → payment.service-C996aLGw.js} +9 -2
  80. package/dist/cjs/payments-list-core.cjs.entry.js +17 -13
  81. package/dist/cjs/{payments-status-hksfHuBH.js → payments-status-BTykBx8i.js} +1 -1
  82. package/dist/cjs/{payments-table-CmvP6owu.js → payments-table-BkRhDePE.js} +2 -2
  83. package/dist/cjs/payout-details-core.cjs.entry.js +11 -7
  84. package/dist/cjs/{payout.service-wOnSu52a.js → payout.service-BwKgEbDo.js} +9 -2
  85. package/dist/cjs/payouts-list-core.cjs.entry.js +17 -13
  86. package/dist/cjs/{payouts-status-DfNhfSsm.js → payouts-status-YCqmbd4K.js} +1 -1
  87. package/dist/cjs/{payouts-table-CpgWxl8A.js → payouts-table-DJMz3bVh.js} +2 -2
  88. package/dist/cjs/{schema-validations-p4OCdblz.js → schema-validations-Bhz09M42.js} +1 -1
  89. package/dist/cjs/{skeleton-BFtuPBwQ.js → skeleton-aMh0RMHq.js} +1 -1
  90. package/dist/cjs/{spinner-C9z2tkh2.js → spinner-BTyIjlMM.js} +1 -1
  91. package/dist/cjs/{event-types-cB_-SsYZ.js → table-DKVauFHc.js} +39 -9
  92. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  93. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +16 -12
  94. package/dist/cjs/{terminal-orders-table-CpVY3VsQ.js → terminal-orders-table-CxY1ykZ7.js} +7 -5
  95. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  96. package/dist/cjs/{terminal.service-cGQB3xiL.js → terminal.service-D7dxg9ZQ.js} +9 -2
  97. package/dist/cjs/terminals-list-core.cjs.entry.js +16 -12
  98. package/dist/cjs/{terminals-table-DRQQjYAE.js → terminals-table-D2XUsf_J.js} +2 -2
  99. package/dist/cjs/{utils-B_Ol6YlL.js → utils-5lco6NzU.js} +1 -1
  100. package/dist/cjs/webcomponents.cjs.js +1 -1
  101. package/dist/collection/actions/checkout/get-checkouts.js +2 -2
  102. package/dist/collection/actions/dispute/dispute-actions.js +2 -2
  103. package/dist/collection/api/Analytics.js +3 -0
  104. package/dist/collection/api/Api.js +23 -12
  105. package/dist/collection/api/Payment.js +1 -0
  106. package/dist/collection/api/Payout.js +1 -0
  107. package/dist/collection/api/index.js +5 -1
  108. package/dist/collection/api/services/analytics.service.js +3 -2
  109. package/dist/collection/api/services/business.service.js +13 -24
  110. package/dist/collection/api/services/checkout.service.js +8 -14
  111. package/dist/collection/api/services/dispute.service.js +8 -13
  112. package/dist/collection/api/services/insurance.service.js +5 -8
  113. package/dist/collection/api/services/payment.service.js +1 -1
  114. package/dist/collection/api/services/payout.service.js +1 -1
  115. package/dist/collection/api/services/provision.service.js +4 -6
  116. package/dist/collection/api/services/refund.service.js +1 -1
  117. package/dist/collection/api/services/reports.service.js +3 -3
  118. package/dist/collection/api/services/subaccounts.service.js +1 -1
  119. package/dist/collection/api/services/terminal.service.js +1 -1
  120. package/dist/collection/api/services/terminal_orders.service.js +1 -1
  121. package/dist/collection/collection-manifest.json +1 -1
  122. package/dist/collection/components/business-details/business-details.js +3 -1
  123. package/dist/collection/components/business-forms/business-form/business-form.js +80 -39
  124. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +4 -2
  125. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +3 -3
  126. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +16 -33
  127. package/dist/collection/components/checkout/card-form/card-form.js +9 -26
  128. package/dist/collection/components/checkout/checkout-core.js +2 -21
  129. package/dist/collection/components/checkout/checkout.js +5 -24
  130. package/dist/collection/components/checkout/new-payment-method.js +2 -21
  131. package/dist/collection/components/checkout/payment-method-options.js +2 -21
  132. package/dist/collection/components/checkouts-list/checkouts-list-core.js +2 -3
  133. package/dist/collection/components/checkouts-list/checkouts-list.js +5 -25
  134. package/dist/collection/components/config-provider/config-provider.js +4 -4
  135. package/dist/collection/components/config-provider/config-state.js +1 -1
  136. package/dist/collection/components/dispute-management/dispute-management.js +4 -25
  137. package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +2 -2
  138. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -2
  139. package/dist/collection/{ui-components → components}/filters/table-filters-menu.js +3 -3
  140. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +3 -1
  141. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
  142. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -4
  143. package/dist/collection/components/order-terminals/order-terminals.js +6 -1
  144. package/dist/collection/components/payment-details/payment-details-core.js +11 -7
  145. package/dist/collection/components/payment-details/payment-details.js +2 -1
  146. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +5 -4
  147. package/dist/collection/components/payments-list/payments-list-core.js +2 -3
  148. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  149. package/dist/collection/components/payments-list/payments-list.js +4 -2
  150. package/dist/collection/components/payout-details/payout-details-core.js +5 -1
  151. package/dist/collection/components/payout-details/payout-details.js +3 -1
  152. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +5 -4
  153. package/dist/collection/components/payouts-list/payouts-list-core.js +2 -3
  154. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  155. package/dist/collection/components/payouts-list/payouts-list.js +5 -3
  156. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +2 -3
  157. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  158. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +6 -1
  159. package/dist/collection/components/terminals-list/terminals-list-core.js +2 -3
  160. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  161. package/dist/collection/components/terminals-list/terminals-list.js +4 -2
  162. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +6 -22
  163. package/dist/collection/styles/parts.js +12 -5
  164. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  165. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  166. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  167. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  168. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  169. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  170. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  171. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  172. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  173. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  174. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  175. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  176. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  177. package/dist/collection/ui-components/index.js +1 -4
  178. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +4 -4
  179. package/dist/collection/ui-components/table/index.js +5 -0
  180. package/dist/collection/ui-components/{table-empty-state.js → table/table-empty-state.js} +1 -1
  181. package/dist/collection/ui-components/{table-error-state.js → table/table-error-state.js} +1 -1
  182. package/dist/collection/ui-components/{table-loading-state.js → table/table-loading-state.js} +2 -2
  183. package/dist/collection/ui-components/table/table.js +29 -0
  184. package/dist/docs.json +29 -235
  185. package/dist/esm/{ApiNew-UOnmIWcv.js → Api-KYhsw8Nv.js} +1 -1
  186. package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
  187. package/dist/esm/{Payment-BADkZFaz.js → Document-cNXrKmGy.js} +57 -2
  188. package/dist/esm/{Refund-DOvd7RJp.js → Refund-2YJqP9qX.js} +1 -0
  189. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  190. package/dist/esm/{badge-B191hCAo.js → badge-Du9GTXoB.js} +1 -1
  191. package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -10
  192. package/dist/esm/bank-account-form_9.entry.js +32 -23
  193. package/dist/esm/{business-additional-questions-schema-DWnZs60Z.js → business-additional-questions-schema-GpN_koGK.js} +1 -1
  194. package/dist/esm/business-details-core.entry.js +4 -3
  195. package/dist/esm/{business-identity-schema-lqdJS3MT.js → business-identity-schema-BjuQ6ajL.js} +1 -1
  196. package/dist/esm/{business.service-B1VD22Tz.js → business.service-ClD_YDeT.js} +20 -24
  197. package/dist/esm/{button-BRFA5syj.js → button-CjH5C0pG.js} +1 -1
  198. package/dist/esm/{check-pkg-version-DpVT68Qo.js → check-pkg-version-DxnKX9GQ.js} +14 -3
  199. package/dist/esm/checkout.service-DfzkmIe4.js +33 -0
  200. package/dist/esm/checkouts-list-core.entry.js +15 -11
  201. package/dist/esm/{checkouts-table-BIO5rpvV.js → checkouts-table-DKd0QLys.js} +2 -2
  202. package/dist/esm/{config-state-Bl6vWekp.js → config-state-CkKrqnpZ.js} +1 -1
  203. package/dist/esm/custom-popper_4.entry.js +7 -6
  204. package/dist/esm/dispute.service-BTOWqnmk.js +33 -0
  205. package/dist/esm/event-types-CZfYo5-1.js +8 -0
  206. package/dist/esm/form-alert_5.entry.js +1 -1
  207. package/dist/esm/form-control-checkbox.entry.js +6 -5
  208. package/dist/esm/form-control-date.entry.js +5 -4
  209. package/dist/esm/{form-control-error-text-CVPFeRt0.js → form-control-error-text-tGFxd6kW.js} +1 -1
  210. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  211. package/dist/esm/{form-control-help-text-D-ReDn6e.js → form-control-help-text-2DawN8-N.js} +1 -1
  212. package/dist/esm/form-control-monetary-provisioning.entry.js +4 -3
  213. package/dist/esm/form-control-monetary.entry.js +6 -5
  214. package/dist/esm/form-control-number-masked_2.entry.js +5 -4
  215. package/dist/esm/form-control-number.entry.js +6 -5
  216. package/dist/esm/form-control-radio.entry.js +3 -3
  217. package/dist/esm/{get-payment-details-CXiGG9cO.js → get-payment-details-D-prcfRc.js} +5 -3
  218. package/dist/esm/{get-subaccounts-COe5GtaY.js → get-subaccounts-B0uEyOp_.js} +7 -5
  219. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  220. package/dist/esm/{header-1-ClU-iUGF.js → header-1-D2gZb3iT.js} +1 -1
  221. package/dist/esm/{header-3-jLYjhsUb.js → header-3-DAg8Vh4B.js} +1 -1
  222. package/dist/esm/iframe-input.entry.js +6 -6
  223. package/dist/esm/{insurance-state-5MPrBdwI.js → insurance-state-CsZbKSgm.js} +1 -1
  224. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -10
  225. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +14 -15
  226. package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
  227. package/dist/esm/justifi-business-details.entry.js +16 -10
  228. package/dist/esm/justifi-business-form.entry.js +78 -54
  229. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  230. package/dist/esm/justifi-checkout-core.entry.js +8 -7
  231. package/dist/esm/justifi-checkout.entry.js +17 -12
  232. package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -6
  233. package/dist/esm/justifi-checkouts-list.entry.js +24 -22
  234. package/dist/esm/justifi-config-provider.entry.js +3 -3
  235. package/dist/esm/justifi-details.entry.js +2 -2
  236. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  237. package/dist/esm/justifi-dispute-management.entry.js +18 -15
  238. package/dist/esm/justifi-dispute-notification_3.entry.js +20 -13
  239. package/dist/esm/justifi-gross-payment-chart.entry.js +20 -8
  240. package/dist/esm/justifi-order-terminals.entry.js +19 -15
  241. package/dist/esm/justifi-owner-form_3.entry.js +15 -11
  242. package/dist/esm/justifi-payment-details.entry.js +16 -14
  243. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -2
  244. package/dist/esm/justifi-payment-provisioning.entry.js +21 -14
  245. package/dist/esm/justifi-payment-transactions-list.entry.js +20 -16
  246. package/dist/esm/justifi-payments-list-filters.entry.js +4 -3
  247. package/dist/esm/justifi-payments-list.entry.js +20 -16
  248. package/dist/esm/justifi-payout-details.entry.js +16 -13
  249. package/dist/esm/justifi-payout-transactions-list.entry.js +20 -16
  250. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -3
  251. package/dist/esm/justifi-payouts-list.entry.js +21 -23
  252. package/dist/esm/justifi-refund-payment.entry.js +16 -14
  253. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -4
  254. package/dist/esm/justifi-season-interruption-insurance.entry.js +19 -19
  255. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -7
  256. package/dist/esm/justifi-terminal-orders-list.entry.js +21 -14
  257. package/dist/esm/justifi-terminals-list-filters.entry.js +10 -6
  258. package/dist/esm/justifi-terminals-list.entry.js +20 -16
  259. package/dist/esm/justifi-tokenize-payment-method.entry.js +20 -11
  260. package/dist/esm/loader.js +1 -1
  261. package/dist/esm/{package-D2EbqwBe.js → package-DPiTQ9dr.js} +1 -1
  262. package/dist/esm/pagination-menu.entry.js +4 -4
  263. package/dist/esm/{parts-CjO1GttX.js → parts-BrLVc_85.js} +14 -5
  264. package/dist/esm/payment-details-core.entry.js +16 -12
  265. package/dist/esm/{payment-provisioning-actions-CZYFFdTf.js → payment-provisioning-actions-BIfyW239.js} +1 -1
  266. package/dist/esm/{payment.service-B9_zvpM_.js → payment.service-CgwLo1_s.js} +8 -1
  267. package/dist/esm/payments-list-core.entry.js +16 -12
  268. package/dist/esm/{payments-status-CQQH_5oM.js → payments-status-CIUXcA0w.js} +1 -1
  269. package/dist/esm/{payments-table-BdQtWUO-.js → payments-table-BBf5fV74.js} +2 -2
  270. package/dist/esm/payout-details-core.entry.js +11 -7
  271. package/dist/esm/{payout.service-BGSaI-j9.js → payout.service-DYFCNfLa.js} +8 -1
  272. package/dist/esm/payouts-list-core.entry.js +16 -12
  273. package/dist/esm/{payouts-status-Cz9DL-Ph.js → payouts-status-Clo03qUI.js} +1 -1
  274. package/dist/esm/{payouts-table-bOrdlN_0.js → payouts-table-DhZEXhGH.js} +2 -2
  275. package/dist/esm/{schema-validations-BsbYeDDR.js → schema-validations-D9YNVLiI.js} +1 -1
  276. package/dist/esm/{skeleton-t69TLGP9.js → skeleton-Dlpibtr0.js} +1 -1
  277. package/dist/esm/{spinner-Bo1Ff3L8.js → spinner-onCBxbdo.js} +1 -1
  278. package/dist/esm/table-filters-menu.entry.js +3 -3
  279. package/dist/esm/table-p4dOlFPi.js +83 -0
  280. package/dist/esm/terminal-orders-list-core.entry.js +15 -11
  281. package/dist/esm/{terminal-orders-table-5gemV24y.js → terminal-orders-table-BopP465z.js} +7 -5
  282. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  283. package/dist/esm/{terminal.service-B0Rc9vED.js → terminal.service-f-whs_d4.js} +8 -1
  284. package/dist/esm/terminals-list-core.entry.js +15 -11
  285. package/dist/esm/{terminals-table-DFxuyQM-.js → terminals-table-CkWr-6tD.js} +2 -2
  286. package/dist/esm/{utils-CK8L6CE7.js → utils-BpP_VJGf.js} +1 -1
  287. package/dist/esm/webcomponents.js +1 -1
  288. package/dist/module/Api.js +23 -11
  289. package/dist/module/Checkout.js +22 -2
  290. package/dist/module/Payment.js +2 -1
  291. package/dist/module/Refund.js +2 -1
  292. package/dist/module/additional-statement.js +1 -1
  293. package/dist/module/bank-account-document-inputs.js +2 -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-additional-questions-form-step.js +1 -1
  299. package/dist/module/business-bank-account-form-step-core.js +3 -3
  300. package/dist/module/business-bank-account-form-step.js +3 -2
  301. package/dist/module/business-core-info-form-step-core.js +1 -1
  302. package/dist/module/business-core-info-form-step.js +1 -1
  303. package/dist/module/business-details-core2.js +1 -0
  304. package/dist/module/business-documents-on-file2.js +2 -1
  305. package/dist/module/business-owners-form-step-core.js +2 -1
  306. package/dist/module/business-owners-form-step.js +1 -1
  307. package/dist/module/business-representative-form-step-core.js +1 -1
  308. package/dist/module/business-representative-form-step.js +1 -1
  309. package/dist/module/business-terms-conditions-form-step.js +6 -7
  310. package/dist/module/business.service.js +19 -24
  311. package/dist/module/button.js +1 -1
  312. package/dist/module/cancellation-policy.js +1 -1
  313. package/dist/module/card-form2.js +8 -3
  314. package/dist/module/check-pkg-version.js +11 -1
  315. package/dist/module/checkout-core.js +6 -7
  316. package/dist/module/checkout.service.js +9 -15
  317. package/dist/module/checkouts-list-core2.js +7 -5
  318. package/dist/module/config-state.js +1 -1
  319. package/dist/module/custom-popper2.js +2 -2
  320. package/dist/module/customer-details.js +1 -1
  321. package/dist/module/dispute-management-core.js +1 -1
  322. package/dist/module/dispute-notification.js +3 -2
  323. package/dist/module/dispute-response-actions.js +10 -15
  324. package/dist/module/dispute-response-core.js +1 -1
  325. package/dist/module/dispute-response.js +6 -3
  326. package/dist/module/duplicate-charge.js +1 -1
  327. package/dist/module/electronic-evidence.js +1 -1
  328. package/dist/module/event-types.js +7 -22
  329. package/dist/module/event-types2.js +22 -21
  330. package/dist/module/event-types3.js +21 -61
  331. package/dist/module/form-control-checkbox2.js +3 -2
  332. package/dist/module/form-control-date2.js +3 -2
  333. package/dist/module/form-control-file-v22.js +1 -1
  334. package/dist/module/form-control-file2.js +3 -2
  335. package/dist/module/form-control-monetary-provisioning2.js +1 -0
  336. package/dist/module/form-control-monetary2.js +4 -3
  337. package/dist/module/form-control-number-masked2.js +3 -2
  338. package/dist/module/form-control-number.js +3 -2
  339. package/dist/module/form-control-radio2.js +2 -2
  340. package/dist/module/form-control-select2.js +1 -0
  341. package/dist/module/form-control-text2.js +3 -2
  342. package/dist/module/form-control-textarea2.js +2 -2
  343. package/dist/module/get-business.js +1 -1
  344. package/dist/module/get-payment-details.js +3 -2
  345. package/dist/module/get-payout-csv.js +1 -1
  346. package/dist/module/get-subaccounts.js +5 -4
  347. package/dist/module/gross-payment-chart-core2.js +1 -1
  348. package/dist/module/hidden-input2.js +1 -1
  349. package/dist/module/iframe-input2.js +3 -3
  350. package/dist/module/justifi-business-details.js +4 -2
  351. package/dist/module/justifi-business-form.js +64 -42
  352. package/dist/module/justifi-checkout.js +6 -6
  353. package/dist/module/justifi-checkouts-list-filters.js +5 -3
  354. package/dist/module/justifi-checkouts-list.js +11 -10
  355. package/dist/module/justifi-config-provider.js +3 -3
  356. package/dist/module/justifi-dispute-management.js +7 -9
  357. package/dist/module/justifi-gross-payment-chart.js +11 -4
  358. package/dist/module/justifi-order-terminals.js +10 -4
  359. package/dist/module/justifi-payment-details.js +3 -2
  360. package/dist/module/justifi-payment-provisioning.js +13 -8
  361. package/dist/module/justifi-payment-transactions-list.js +10 -6
  362. package/dist/module/justifi-payments-list-filters.js +4 -3
  363. package/dist/module/justifi-payments-list.js +8 -4
  364. package/dist/module/justifi-payout-details.js +6 -3
  365. package/dist/module/justifi-payout-transactions-list.js +10 -7
  366. package/dist/module/justifi-payouts-list-filters.js +4 -3
  367. package/dist/module/justifi-payouts-list.js +8 -10
  368. package/dist/module/justifi-refund-payment.js +6 -4
  369. package/dist/module/justifi-season-interruption-insurance.js +10 -14
  370. package/dist/module/justifi-terminal-orders-list-filters.js +6 -4
  371. package/dist/module/justifi-terminal-orders-list.js +11 -4
  372. package/dist/module/justifi-terminals-list-filters.js +5 -3
  373. package/dist/module/justifi-terminals-list.js +8 -4
  374. package/dist/module/justifi-tokenize-payment-method.js +10 -5
  375. package/dist/module/legal-address-form-step-core.js +1 -1
  376. package/dist/module/legal-address-form-step.js +1 -1
  377. package/dist/module/new-payment-method.js +2 -3
  378. package/dist/module/owner-details2.js +1 -1
  379. package/dist/module/owner-form-core2.js +2 -1
  380. package/dist/module/package.js +1 -1
  381. package/dist/module/pagination-menu2.js +4 -4
  382. package/dist/module/parts.js +14 -5
  383. package/dist/module/payment-details-core2.js +13 -8
  384. package/dist/module/payment-method-options.js +2 -3
  385. package/dist/module/payment-provisioning-actions.js +1 -1
  386. package/dist/module/payment-provisioning-core.js +3 -2
  387. package/dist/module/payment-provisioning-form-buttons.js +2 -1
  388. package/dist/module/payment-provisioning-loading.js +1 -0
  389. package/dist/module/payment.service.js +7 -1
  390. package/dist/module/payments-list-core2.js +6 -4
  391. package/dist/module/payout-details-core2.js +7 -2
  392. package/dist/module/payout.service.js +7 -1
  393. package/dist/module/payouts-list-core2.js +7 -5
  394. package/dist/module/product-or-service.js +1 -1
  395. package/dist/module/refund-policy.js +1 -1
  396. package/dist/module/representative-details2.js +1 -1
  397. package/dist/module/season-interruption-insurance-core.js +7 -3
  398. package/dist/module/sezzle-payment-method.js +1 -1
  399. package/dist/module/shipping-details.js +1 -1
  400. package/dist/module/table-filters-menu2.js +2 -2
  401. package/dist/module/table.js +83 -0
  402. package/dist/module/terminal-orders-list-core2.js +6 -4
  403. package/dist/module/terminal-quantity-selector2.js +1 -1
  404. package/dist/module/terminal.service.js +7 -1
  405. package/dist/module/terminals-list-core2.js +6 -4
  406. package/dist/module/utils2.js +1 -1
  407. package/dist/module/utils4.js +1 -1
  408. package/dist/types/actions/checkout/get-checkouts.d.ts +1 -2
  409. package/dist/types/actions/dispute/dispute-actions.d.ts +1 -2
  410. package/dist/types/api/Api.d.ts +41 -35
  411. package/dist/types/api/Payment.d.ts +2 -0
  412. package/dist/types/api/Payout.d.ts +2 -0
  413. package/dist/types/api/index.d.ts +5 -1
  414. package/dist/types/api/services/business.service.d.ts +1 -5
  415. package/dist/types/api/services/checkout.service.d.ts +2 -2
  416. package/dist/types/api/services/dispute.service.d.ts +1 -2
  417. package/dist/types/api/services/payout.service.d.ts +1 -2
  418. package/dist/types/api/services/provision.service.d.ts +1 -1
  419. package/dist/types/api/services/reports.service.d.ts +1 -2
  420. package/dist/types/api/services/subaccounts.service.d.ts +1 -2
  421. package/dist/types/components/business-forms/business-form/business-form.d.ts +8 -6
  422. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +3 -2
  423. package/dist/types/components/checkout/card-form/card-form.d.ts +2 -1
  424. package/dist/types/components/checkout/checkout-core.d.ts +0 -1
  425. package/dist/types/components/checkout/checkout.d.ts +0 -1
  426. package/dist/types/components/checkout/new-payment-method.d.ts +0 -1
  427. package/dist/types/components/checkout/payment-method-options.d.ts +0 -1
  428. package/dist/types/components/checkouts-list/checkouts-list.d.ts +0 -1
  429. package/dist/types/components/config-provider/config-provider.d.ts +1 -1
  430. package/dist/types/components/config-provider/config-state.d.ts +1 -1
  431. package/dist/types/components/dispute-management/dispute-management.d.ts +0 -1
  432. package/dist/types/components/dispute-management/dispute-response/dispute-response-actions.d.ts +1 -2
  433. package/dist/types/components/order-terminals/order-terminals.d.ts +1 -0
  434. package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +1 -0
  435. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
  436. package/dist/types/components.d.ts +4 -20
  437. package/dist/types/styles/parts.d.ts +12 -5
  438. package/dist/types/ui-components/index.d.ts +1 -4
  439. package/dist/types/ui-components/table/index.d.ts +5 -0
  440. package/dist/types/ui-components/table/table.d.ts +9 -0
  441. package/dist/webcomponents/p-0ab2f675.entry.js +1 -0
  442. package/dist/webcomponents/p-0b57ecc3.entry.js +1 -0
  443. package/dist/webcomponents/p-0deb6a38.entry.js +1 -0
  444. package/dist/webcomponents/p-16adfe77.entry.js +1 -0
  445. package/dist/webcomponents/p-19b9c96a.entry.js +1 -0
  446. package/dist/webcomponents/p-1a85f26f.entry.js +1 -0
  447. package/dist/webcomponents/p-1b22572d.entry.js +1 -0
  448. package/dist/webcomponents/p-22a0b397.entry.js +1 -0
  449. package/dist/webcomponents/p-22e9ff07.entry.js +1 -0
  450. package/dist/webcomponents/p-24792e8e.entry.js +1 -0
  451. package/dist/webcomponents/p-25ea4450.entry.js +1 -0
  452. package/dist/webcomponents/p-2adda453.entry.js +1 -0
  453. package/dist/webcomponents/p-2b8ac00a.entry.js +1 -0
  454. package/dist/webcomponents/p-2dbc4b19.entry.js +1 -0
  455. package/dist/webcomponents/p-3368d3d5.entry.js +1 -0
  456. package/dist/webcomponents/{p-12674a89.entry.js → p-3a979295.entry.js} +1 -1
  457. package/dist/webcomponents/p-3abc8eab.entry.js +1 -0
  458. package/dist/webcomponents/{p-805269fd.entry.js → p-3babed12.entry.js} +1 -1
  459. package/dist/webcomponents/p-3e94cf62.entry.js +1 -0
  460. package/dist/webcomponents/p-40541e0c.entry.js +1 -0
  461. package/dist/webcomponents/p-4194214c.entry.js +1 -0
  462. package/dist/webcomponents/p-43d6bbed.entry.js +1 -0
  463. package/dist/webcomponents/p-44d8c2b1.entry.js +1 -0
  464. package/dist/webcomponents/p-4749e0d0.entry.js +1 -0
  465. package/dist/webcomponents/p-4ee0cd96.entry.js +1 -0
  466. package/dist/webcomponents/p-54281359.entry.js +1 -0
  467. package/dist/webcomponents/p-59abf1de.entry.js +1 -0
  468. package/dist/webcomponents/p-5e467788.entry.js +1 -0
  469. package/dist/webcomponents/{p-c899df50.entry.js → p-639baa7d.entry.js} +1 -1
  470. package/dist/webcomponents/p-6429afb4.entry.js +1 -0
  471. package/dist/webcomponents/{p-78511d66.entry.js → p-7733b67b.entry.js} +1 -1
  472. package/dist/webcomponents/p-799000c1.entry.js +1 -0
  473. package/dist/webcomponents/p-7c62b59d.entry.js +1 -0
  474. package/dist/webcomponents/p-82515f70.entry.js +1 -0
  475. package/dist/webcomponents/{p-Cixn6QDS.js → p-82kiZkHt.js} +1 -1
  476. package/dist/webcomponents/p-83154291.entry.js +1 -0
  477. package/dist/webcomponents/p-84d27581.entry.js +1 -0
  478. package/dist/webcomponents/{p-4f98895d.entry.js → p-90c24cda.entry.js} +1 -1
  479. package/dist/webcomponents/p-9105f700.entry.js +1 -0
  480. package/dist/webcomponents/p-916ea4fc.entry.js +1 -0
  481. package/dist/webcomponents/p-935bbc62.entry.js +1 -0
  482. package/dist/webcomponents/p-935fa555.entry.js +1 -0
  483. package/dist/webcomponents/p-947239a6.entry.js +1 -0
  484. package/dist/webcomponents/p-99b080d9.entry.js +1 -0
  485. package/dist/webcomponents/p-B0cQ2RjH.js +1 -0
  486. package/dist/webcomponents/p-B190pN0v.js +1 -0
  487. package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
  488. package/dist/webcomponents/p-BM5lviat.js +1 -0
  489. package/dist/webcomponents/{p-bplwtwD3.js → p-BTS3E50C.js} +1 -1
  490. package/dist/webcomponents/p-BWJ7zamv.js +1 -0
  491. package/dist/webcomponents/p-BiPRf6d2.js +1 -0
  492. package/dist/webcomponents/p-BmWpHZ-Z.js +1 -0
  493. package/dist/webcomponents/p-BrLVc_85.js +1 -0
  494. package/dist/webcomponents/{p-DyIEclkx.js → p-ByRPlUBS.js} +1 -1
  495. package/dist/webcomponents/p-BzPi8Ea_.js +1 -0
  496. package/dist/webcomponents/p-C0IqfGFc.js +1 -0
  497. package/dist/webcomponents/p-C0UUR9CN.js +1 -0
  498. package/dist/webcomponents/{p-D9q8WsW5.js → p-C0WFYqwq.js} +1 -1
  499. package/dist/webcomponents/{p-CegkOiUz.js → p-CCGhF18e.js} +1 -1
  500. package/dist/webcomponents/p-CQdeVKF8.js +1 -0
  501. package/dist/webcomponents/p-CZfYo5-1.js +1 -0
  502. package/dist/webcomponents/p-CffckWWF.js +1 -0
  503. package/dist/webcomponents/{p-BQEAUdoy.js → p-CgxzrbM_.js} +1 -1
  504. package/dist/webcomponents/p-D0ptm6-3.js +1 -0
  505. package/dist/webcomponents/{p-CN_YheWL.js → p-D4Mv5jCp.js} +1 -1
  506. package/dist/webcomponents/{p-GTA6l_sT.js → p-D5XSsLKb.js} +1 -1
  507. package/dist/webcomponents/p-DNt_pMGt.js +1 -0
  508. package/dist/webcomponents/p-DPiTQ9dr.js +1 -0
  509. package/dist/webcomponents/p-DZfxGQ1I.js +1 -0
  510. package/dist/webcomponents/p-DgfzEZny.js +1 -0
  511. package/dist/webcomponents/p-DuBhW0xA.js +1 -0
  512. package/dist/webcomponents/p-DvHZ2jYI.js +1 -0
  513. package/dist/webcomponents/p-M61ygz6l.js +1 -0
  514. package/dist/webcomponents/{p-KLQjERL5.js → p-OSmuQKbK.js} +1 -1
  515. package/dist/webcomponents/p-U30-0DaA.js +1 -0
  516. package/dist/webcomponents/p-ZE1NEnP3.js +1 -0
  517. package/dist/webcomponents/p-a46730eb.entry.js +1 -0
  518. package/dist/webcomponents/p-a4dd3835.entry.js +1 -0
  519. package/dist/webcomponents/p-ad85bd0d.entry.js +1 -0
  520. package/dist/webcomponents/p-af2c38f7.entry.js +1 -0
  521. package/dist/webcomponents/{p-b182796a.entry.js → p-afa54e39.entry.js} +1 -1
  522. package/dist/webcomponents/{p-493c9bd9.entry.js → p-b2192f8b.entry.js} +1 -1
  523. package/dist/webcomponents/p-bb50155f.entry.js +1 -0
  524. package/dist/webcomponents/p-bf3e8295.entry.js +1 -0
  525. package/dist/webcomponents/p-cNABKY0P.js +1 -0
  526. package/dist/webcomponents/p-cab175e9.entry.js +1 -0
  527. package/dist/webcomponents/p-ceefc483.entry.js +1 -0
  528. package/dist/webcomponents/{p-BdNmdBIx.js → p-d-_oUZor.js} +1 -1
  529. package/dist/webcomponents/p-d1331dbb.entry.js +1 -0
  530. package/dist/webcomponents/{p-5a1238a1.entry.js → p-d2dc6f22.entry.js} +3 -3
  531. package/dist/webcomponents/p-d9c70010.entry.js +1 -0
  532. package/dist/webcomponents/p-dd05cce1.entry.js +1 -0
  533. package/dist/webcomponents/p-e00aeb33.entry.js +1 -0
  534. package/dist/webcomponents/p-e1c5ee0a.entry.js +1 -0
  535. package/dist/webcomponents/p-ea8dd3e7.entry.js +1 -0
  536. package/dist/webcomponents/p-f389c2aa.entry.js +1 -0
  537. package/dist/webcomponents/p-f8b205f7.entry.js +1 -0
  538. package/dist/webcomponents/p-l3o3Ndc0.js +1 -0
  539. package/dist/webcomponents/p-n2YROtpe.js +1 -0
  540. package/dist/webcomponents/p-o_73WSki.js +1 -0
  541. package/dist/webcomponents/p-vb3fTJEZ.js +1 -0
  542. package/dist/webcomponents/webcomponents.esm.js +1 -1
  543. package/package.json +1 -1
  544. package/dist/cjs/Api-KMweahmp.js +0 -74
  545. package/dist/cjs/Document-rXGBUaOh.js +0 -58
  546. package/dist/cjs/checkout.service-DP9FnXBx.js +0 -40
  547. package/dist/collection/api/ApiNew.js +0 -82
  548. package/dist/collection/ui-components/table/exported-parts.js +0 -5
  549. package/dist/esm/Api-C9CDE-UM.js +0 -72
  550. package/dist/esm/Document-Ct-uNz2r.js +0 -55
  551. package/dist/esm/checkout.service-92ld4w-G.js +0 -38
  552. package/dist/esm/dispute.service-H2Oaq2af.js +0 -37
  553. package/dist/esm/event-types-BIryDMGV.js +0 -62
  554. package/dist/module/ApiNew.js +0 -84
  555. package/dist/module/ComponentError.js +0 -21
  556. package/dist/types/api/ApiNew.d.ts +0 -61
  557. package/dist/types/ui-components/table/exported-parts.d.ts +0 -1
  558. package/dist/webcomponents/p-00eb2bc9.entry.js +0 -1
  559. package/dist/webcomponents/p-0c2f2ea9.entry.js +0 -1
  560. package/dist/webcomponents/p-11344996.entry.js +0 -1
  561. package/dist/webcomponents/p-19581139.entry.js +0 -1
  562. package/dist/webcomponents/p-19d21f35.entry.js +0 -1
  563. package/dist/webcomponents/p-2294e63b.entry.js +0 -1
  564. package/dist/webcomponents/p-24e04f78.entry.js +0 -1
  565. package/dist/webcomponents/p-2P4kwjNi.js +0 -1
  566. package/dist/webcomponents/p-30466d27.entry.js +0 -1
  567. package/dist/webcomponents/p-32c156c6.entry.js +0 -1
  568. package/dist/webcomponents/p-32ff6641.entry.js +0 -1
  569. package/dist/webcomponents/p-38d6c034.entry.js +0 -1
  570. package/dist/webcomponents/p-3add8d1b.entry.js +0 -1
  571. package/dist/webcomponents/p-3c01edb0.entry.js +0 -1
  572. package/dist/webcomponents/p-3cd9d9d8.entry.js +0 -1
  573. package/dist/webcomponents/p-4028ccb0.entry.js +0 -1
  574. package/dist/webcomponents/p-43140695.entry.js +0 -1
  575. package/dist/webcomponents/p-4ac754e7.entry.js +0 -1
  576. package/dist/webcomponents/p-4afcb015.entry.js +0 -1
  577. package/dist/webcomponents/p-4c64b1e9.entry.js +0 -1
  578. package/dist/webcomponents/p-4e3aca7a.entry.js +0 -1
  579. package/dist/webcomponents/p-4e489cf9.entry.js +0 -1
  580. package/dist/webcomponents/p-4e61f480.entry.js +0 -1
  581. package/dist/webcomponents/p-4fc851c0.entry.js +0 -1
  582. package/dist/webcomponents/p-526be31d.entry.js +0 -1
  583. package/dist/webcomponents/p-575fc637.entry.js +0 -1
  584. package/dist/webcomponents/p-581ca781.entry.js +0 -1
  585. package/dist/webcomponents/p-5b4cbfd4.entry.js +0 -1
  586. package/dist/webcomponents/p-5d8d1818.entry.js +0 -1
  587. package/dist/webcomponents/p-5eb85754.entry.js +0 -1
  588. package/dist/webcomponents/p-5f02ec20.entry.js +0 -1
  589. package/dist/webcomponents/p-6567b171.entry.js +0 -1
  590. package/dist/webcomponents/p-6d701784.entry.js +0 -1
  591. package/dist/webcomponents/p-7b649051.entry.js +0 -1
  592. package/dist/webcomponents/p-9d354918.entry.js +0 -1
  593. package/dist/webcomponents/p-AVaenhw9.js +0 -1
  594. package/dist/webcomponents/p-B4Bi1JkP.js +0 -1
  595. package/dist/webcomponents/p-BBsCnePk.js +0 -1
  596. package/dist/webcomponents/p-BHbsXXRt.js +0 -1
  597. package/dist/webcomponents/p-BMDJA9xX.js +0 -1
  598. package/dist/webcomponents/p-BS-e1gnL.js +0 -1
  599. package/dist/webcomponents/p-BXey6mVj.js +0 -1
  600. package/dist/webcomponents/p-Bl3qFMoN.js +0 -1
  601. package/dist/webcomponents/p-Bl79NorO.js +0 -1
  602. package/dist/webcomponents/p-Bxs6fi7a.js +0 -1
  603. package/dist/webcomponents/p-CPXN4Ths.js +0 -1
  604. package/dist/webcomponents/p-CSwEbNEl.js +0 -1
  605. package/dist/webcomponents/p-CWpAvtGa.js +0 -1
  606. package/dist/webcomponents/p-C_9TcvwA.js +0 -1
  607. package/dist/webcomponents/p-CiKdTI9h.js +0 -1
  608. package/dist/webcomponents/p-CjO1GttX.js +0 -1
  609. package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
  610. package/dist/webcomponents/p-Cy4aIACq.js +0 -1
  611. package/dist/webcomponents/p-D2EbqwBe.js +0 -1
  612. package/dist/webcomponents/p-DD14E0K0.js +0 -1
  613. package/dist/webcomponents/p-DavDfnxI.js +0 -1
  614. package/dist/webcomponents/p-DmIOVniD.js +0 -1
  615. package/dist/webcomponents/p-Dss1xCBW.js +0 -1
  616. package/dist/webcomponents/p-Dumd8fMw.js +0 -1
  617. package/dist/webcomponents/p-ERVEQjR2.js +0 -1
  618. package/dist/webcomponents/p-OjYukdAC.js +0 -1
  619. package/dist/webcomponents/p-_bsEVFir.js +0 -1
  620. package/dist/webcomponents/p-a2f77373.entry.js +0 -1
  621. package/dist/webcomponents/p-a4c08055.entry.js +0 -1
  622. package/dist/webcomponents/p-a93cceca.entry.js +0 -1
  623. package/dist/webcomponents/p-ab5cde61.entry.js +0 -1
  624. package/dist/webcomponents/p-ac98a15e.entry.js +0 -1
  625. package/dist/webcomponents/p-b0430518.entry.js +0 -1
  626. package/dist/webcomponents/p-b05693c6.entry.js +0 -1
  627. package/dist/webcomponents/p-b25b8534.entry.js +0 -1
  628. package/dist/webcomponents/p-b2db4fae.entry.js +0 -1
  629. package/dist/webcomponents/p-bb5c9475.entry.js +0 -1
  630. package/dist/webcomponents/p-bb97192f.entry.js +0 -1
  631. package/dist/webcomponents/p-c77481fe.entry.js +0 -1
  632. package/dist/webcomponents/p-ca11ad58.entry.js +0 -1
  633. package/dist/webcomponents/p-d06f7faf.entry.js +0 -1
  634. package/dist/webcomponents/p-d2fbf7ea.entry.js +0 -1
  635. package/dist/webcomponents/p-d7a04fdd.entry.js +0 -1
  636. package/dist/webcomponents/p-d8f7a73b.entry.js +0 -1
  637. package/dist/webcomponents/p-d90b8cc2.entry.js +0 -1
  638. package/dist/webcomponents/p-e558eab8.entry.js +0 -1
  639. package/dist/webcomponents/p-f2dc1405.entry.js +0 -1
  640. package/dist/webcomponents/p-oPo_KSwO.js +0 -1
  641. /package/dist/collection/{ui-components → components}/filters/utils.js +0 -0
  642. /package/dist/types/{ui-components → components}/filters/table-filters-menu.d.ts +0 -0
  643. /package/dist/types/{ui-components → components}/filters/utils.d.ts +0 -0
  644. /package/dist/types/ui-components/{table-empty-state.d.ts → table/table-empty-state.d.ts} +0 -0
  645. /package/dist/types/ui-components/{table-error-state.d.ts → table/table-error-state.d.ts} +0 -0
  646. /package/dist/types/ui-components/{table-loading-state.d.ts → table/table-loading-state.d.ts} +0 -0
@@ -1,5 +0,0 @@
1
- export const tableExportedParts = `
2
- table-head,table-head-row,table-head-cell,table-body,table-row,table-row-even,
3
- table-row-odd,table-cell,loading-state-cell,loading-state-spinner,error-state,
4
- empty-state,pagination-bar,page-arrow,page-button,page-button-disabled,page-button-text
5
- `;
@@ -1,72 +0,0 @@
1
- import { g as generateId } from './utils-BWcTxbSg.js';
2
-
3
- const Api = ({ authToken, apiOrigin }) => {
4
- async function getAuthorizationHeader() {
5
- if (!authToken) {
6
- return {
7
- 'Content-Type': 'application/json',
8
- };
9
- }
10
- return {
11
- Authorization: `Bearer ${authToken}`,
12
- 'Idempotency-Key': generateId(),
13
- 'Content-Type': 'application/json',
14
- };
15
- }
16
- async function makeRequest({ endpoint, method, params, body, signal, headers, }) {
17
- const url = `${apiOrigin}/v1/${endpoint}`;
18
- const requestUrl = params ? `${url}?${new URLSearchParams(params)}` : url;
19
- const defaultHeaders = await getAuthorizationHeader();
20
- const mergedHeaders = Object.assign(Object.assign({}, defaultHeaders), headers);
21
- const response = await fetch(requestUrl, {
22
- method: method,
23
- headers: mergedHeaders,
24
- body: body,
25
- signal: signal,
26
- });
27
- if (response) {
28
- return response.status === 204 ? {} : response.json();
29
- }
30
- handleError(requestUrl);
31
- }
32
- async function get({ endpoint, params, signal, headers, }) {
33
- return makeRequest({ endpoint, method: 'GET', params, signal, headers });
34
- }
35
- async function post({ endpoint, body, params, signal, headers, }) {
36
- return makeRequest({
37
- endpoint,
38
- method: 'POST',
39
- params,
40
- body: JSON.stringify(body),
41
- signal,
42
- headers,
43
- });
44
- }
45
- async function put({ endpoint, body, params, signal, }) {
46
- return makeRequest({
47
- endpoint,
48
- method: 'PUT',
49
- params,
50
- body: JSON.stringify(body),
51
- signal,
52
- });
53
- }
54
- async function patch({ endpoint, body, params, signal, }) {
55
- return makeRequest({
56
- endpoint,
57
- method: 'PATCH',
58
- params,
59
- body: JSON.stringify(body),
60
- signal,
61
- });
62
- }
63
- async function destroy({ endpoint, params, signal, }) {
64
- return makeRequest({ endpoint, method: 'DELETE', params, signal });
65
- }
66
- return { get, post, put, patch, destroy };
67
- };
68
- function handleError(requestUrl) {
69
- console.error(`Error fetching from ${requestUrl}`);
70
- }
71
-
72
- export { Api as A };
@@ -1,55 +0,0 @@
1
- var EntityDocumentType;
2
- (function (EntityDocumentType) {
3
- EntityDocumentType["voidedCheck"] = "voided_check";
4
- EntityDocumentType["balanceSheet"] = "balance_sheet";
5
- EntityDocumentType["bankStatement"] = "bank_statement";
6
- EntityDocumentType["governmentId"] = "government_id";
7
- EntityDocumentType["profitAndLossStatement"] = "profit_and_loss_statement";
8
- EntityDocumentType["taxReturn"] = "tax_return";
9
- EntityDocumentType["other"] = "other";
10
- })(EntityDocumentType || (EntityDocumentType = {}));
11
- var EntityDocumentStatus;
12
- (function (EntityDocumentStatus) {
13
- EntityDocumentStatus["pending"] = "pending";
14
- EntityDocumentStatus["uploaded"] = "uploaded";
15
- EntityDocumentStatus["canceled"] = "canceled";
16
- EntityDocumentStatus["needed"] = "needed";
17
- })(EntityDocumentStatus || (EntityDocumentStatus = {}));
18
- class EntityDocumentStorage {
19
- constructor() {
20
- this.voided_check = [];
21
- this.balance_sheet = [];
22
- this.bank_statement = [];
23
- this.government_id = [];
24
- this.profit_and_loss_statement = [];
25
- this.tax_return = [];
26
- this.other = [];
27
- }
28
- }
29
- class EntityDocument {
30
- constructor(fileData, business_id) {
31
- this.file = fileData.file;
32
- this.fileString = this.getFileString();
33
- this.document_type = fileData.document_type;
34
- this.presigned_url = null;
35
- this.record_data = {
36
- business_id: business_id,
37
- document_type: this.document_type,
38
- file_name: this.file.name,
39
- file_type: this.file.type,
40
- };
41
- }
42
- getFileString() {
43
- let reader = new FileReader();
44
- reader.onload = (e) => {
45
- this.fileString = e.target.result;
46
- };
47
- reader.readAsDataURL(this.file);
48
- return this.fileString;
49
- }
50
- setPresignedUrl(url) {
51
- this.presigned_url = url;
52
- }
53
- }
54
-
55
- export { EntityDocumentType as E, EntityDocumentStorage as a, EntityDocument as b };
@@ -1,38 +0,0 @@
1
- import { A as Api } from './Api-C9CDE-UM.js';
2
- import './ComponentError-SdntD1xf.js';
3
- import './Checkout-Dfpql997.js';
4
- import './Pagination-CLHwhyvu.js';
5
- import './Payment-BADkZFaz.js';
6
- import './Refund-DOvd7RJp.js';
7
- import './Document-Ct-uNz2r.js';
8
-
9
- class CheckoutService {
10
- async fetchCheckout(authToken, checkoutId) {
11
- const endpoint = `checkouts/${checkoutId}`;
12
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get({ endpoint });
13
- }
14
- async fetchCheckouts(accountId, authToken, params, apiOrigin) {
15
- if (!apiOrigin) {
16
- apiOrigin = "https://wc-proxy.justifi.ai";
17
- }
18
- const headers = { Account: accountId };
19
- const api = Api({ authToken, apiOrigin: apiOrigin });
20
- const endpoint = 'checkouts';
21
- return api.get({ endpoint, params, headers });
22
- }
23
- async complete(authToken, checkoutId, payment) {
24
- const endpoint = `checkouts/${checkoutId}/complete`;
25
- const payload = {
26
- payment_mode: payment.payment_mode,
27
- };
28
- if (payment.payment_token) {
29
- payload.payment_token = payment.payment_token;
30
- }
31
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post({
32
- endpoint,
33
- body: payload,
34
- });
35
- }
36
- }
37
-
38
- export { CheckoutService as C };
@@ -1,37 +0,0 @@
1
- import { A as Api } from './Api-C9CDE-UM.js';
2
- import './ComponentError-SdntD1xf.js';
3
- import './Checkout-Dfpql997.js';
4
- import './Pagination-CLHwhyvu.js';
5
- import './Payment-BADkZFaz.js';
6
- import './Refund-DOvd7RJp.js';
7
- import './Document-Ct-uNz2r.js';
8
-
9
- class DisputeService {
10
- async fetchDispute(disputeId, authToken) {
11
- const endpoint = `disputes/${disputeId}`;
12
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get({ endpoint });
13
- }
14
- async updateDisputeResponse(disputeId, authToken, payload) {
15
- const endpoint = `disputes/${disputeId}/response`;
16
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).patch({
17
- endpoint,
18
- body: payload,
19
- });
20
- }
21
- async submitDisputeResponse(disputeId, authToken, payload) {
22
- const endpoint = `disputes/${disputeId}/response`;
23
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post({
24
- endpoint,
25
- body: payload,
26
- });
27
- }
28
- async createDisputeEvidence(disputeId, authToken, payload) {
29
- const endpoint = `disputes/${disputeId}/evidence`;
30
- return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).put({
31
- endpoint,
32
- body: payload,
33
- });
34
- }
35
- }
36
-
37
- export { DisputeService as D };
@@ -1,62 +0,0 @@
1
- import { h } from './index-D6FDxSyt.js';
2
- import { al as tableEmpty, am as tableError, B as tableCell } from './parts-CjO1GttX.js';
3
- import { S as Spinner } from './spinner-Bo1Ff3L8.js';
4
-
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 };
@@ -1,84 +0,0 @@
1
- import { w as waitForConfig, c as configState } from './config-state.js';
2
- import { g as generateId } from './utils2.js';
3
-
4
- const Api = () => {
5
- async function getAuthorizationHeader(authToken) {
6
- if (!authToken) {
7
- return {
8
- 'Content-Type': 'application/json',
9
- };
10
- }
11
- return {
12
- Authorization: `Bearer ${authToken}`,
13
- 'Idempotency-Key': generateId(),
14
- 'Content-Type': 'application/json',
15
- };
16
- }
17
- async function makeRequest(props) {
18
- const { authToken, endpoint, method, params, body, signal, headers } = props;
19
- await waitForConfig();
20
- const apiOrigin = configState.apiOrigin;
21
- const url = `${apiOrigin}/v1/${endpoint}`;
22
- const requestUrl = params ? `${url}?${new URLSearchParams(params)}` : url;
23
- const defaultHeaders = await getAuthorizationHeader(authToken);
24
- const mergedHeaders = Object.assign(Object.assign({}, defaultHeaders), headers);
25
- const response = await fetch(requestUrl, {
26
- method: method,
27
- headers: mergedHeaders,
28
- body: body,
29
- signal: signal,
30
- });
31
- if (response) {
32
- return response.status === 204 ? {} : response.json();
33
- }
34
- handleError(requestUrl);
35
- }
36
- async function get(props) {
37
- const { authToken, endpoint, params, signal, headers } = props;
38
- return makeRequest({ authToken, endpoint, method: 'GET', params, signal, headers });
39
- }
40
- async function post(props) {
41
- const { authToken, endpoint, body, params, signal, headers } = props;
42
- return makeRequest({
43
- authToken,
44
- endpoint,
45
- method: 'POST',
46
- params,
47
- body: JSON.stringify(body),
48
- signal,
49
- headers,
50
- });
51
- }
52
- async function put(props) {
53
- const { authToken, endpoint, body, params, signal } = props;
54
- return makeRequest({
55
- authToken,
56
- endpoint,
57
- method: 'PUT',
58
- params,
59
- body: JSON.stringify(body),
60
- signal,
61
- });
62
- }
63
- async function patch(props) {
64
- const { authToken, endpoint, body, params, signal } = props;
65
- return makeRequest({
66
- authToken,
67
- endpoint,
68
- method: 'PATCH',
69
- params,
70
- body: JSON.stringify(body),
71
- signal,
72
- });
73
- }
74
- async function destroy(props) {
75
- const { authToken, endpoint, params, signal } = props;
76
- return makeRequest({ authToken, endpoint, method: 'DELETE', params, signal });
77
- }
78
- return { get, post, put, patch, destroy };
79
- };
80
- function handleError(requestUrl) {
81
- console.error(`Error fetching from ${requestUrl}`);
82
- }
83
-
84
- export { Api as A };
@@ -1,21 +0,0 @@
1
- var ComponentErrorCodes;
2
- (function (ComponentErrorCodes) {
3
- ComponentErrorCodes["MISSING_PROPS"] = "missing-props";
4
- ComponentErrorCodes["FETCH_ERROR"] = "fetch-error";
5
- ComponentErrorCodes["PATCH_ERROR"] = "patch-error";
6
- ComponentErrorCodes["POST_ERROR"] = "post-error";
7
- ComponentErrorCodes["UNKNOWN_ERROR"] = "unknown-error";
8
- ComponentErrorCodes["TOKENIZE_ERROR"] = "tokenize-error";
9
- ComponentErrorCodes["NOT_AUTHENTICATED"] = "not-authenticated";
10
- ComponentErrorCodes["INVALID_PARAMETER"] = "invalid-parameter";
11
- ComponentErrorCodes["PROVISIONING_REQUESTED"] = "provisioning-already-requested";
12
- ComponentErrorCodes["INVALID_REFUND_AMOUNT"] = "invalid-refund-amount";
13
- })(ComponentErrorCodes || (ComponentErrorCodes = {}));
14
- var ComponentErrorSeverity;
15
- (function (ComponentErrorSeverity) {
16
- ComponentErrorSeverity["INFO"] = "info";
17
- ComponentErrorSeverity["WARNING"] = "warning";
18
- ComponentErrorSeverity["ERROR"] = "error";
19
- })(ComponentErrorSeverity || (ComponentErrorSeverity = {}));
20
-
21
- export { ComponentErrorSeverity as C, ComponentErrorCodes as a };
@@ -1,61 +0,0 @@
1
- import { PagingInfo } from './Pagination';
2
- export interface IApiResponse<T> {
3
- data: T;
4
- error?: IErrorObject | IServerError;
5
- page_info?: PagingInfo;
6
- errors?: string[];
7
- id: number | string;
8
- type: string;
9
- }
10
- export type IServerError = string;
11
- export interface IErrorObject {
12
- message: string;
13
- code: string;
14
- param?: string;
15
- }
16
- export interface IApiResponseCollection<T> extends IApiResponse<T> {
17
- page_info: PagingInfo;
18
- }
19
- interface GetProps {
20
- authToken: string;
21
- endpoint: string;
22
- params?: any;
23
- signal?: AbortSignal;
24
- headers?: HeadersInit;
25
- }
26
- interface PostProps {
27
- authToken: string;
28
- endpoint: string;
29
- body?: any;
30
- params?: any;
31
- signal?: AbortSignal;
32
- headers?: HeadersInit;
33
- }
34
- interface PutProps {
35
- authToken: string;
36
- endpoint: string;
37
- body?: any;
38
- params?: any;
39
- signal?: AbortSignal;
40
- }
41
- interface PatchProps {
42
- authToken: string;
43
- endpoint: string;
44
- body?: any;
45
- params?: any;
46
- signal?: AbortSignal;
47
- }
48
- interface DestroyProps {
49
- authToken: string;
50
- endpoint: string;
51
- params?: any;
52
- signal?: AbortSignal;
53
- }
54
- declare const Api: () => {
55
- get: (props: GetProps) => Promise<any>;
56
- post: (props: PostProps) => Promise<any>;
57
- put: (props: PutProps) => Promise<any>;
58
- patch: (props: PatchProps) => Promise<any>;
59
- destroy: (props: DestroyProps) => Promise<any>;
60
- };
61
- export default Api;
@@ -1 +0,0 @@
1
- export declare const tableExportedParts = "\ntable-head,table-head-row,table-head-cell,table-body,table-row,table-row-even,\ntable-row-odd,table-cell,loading-state-cell,loading-state-spinner,error-state,\nempty-state,pagination-bar,page-arrow,page-button,page-button-disabled,page-button-text\n";
@@ -1 +0,0 @@
1
- import{h as e,r as t,c as a}from"./p-D6FDxSyt.js";import{d as s,b as i}from"./p-CpTwq2jw.js";import{a as d,b as c,D as b,c as f,C as o,E as r}from"./p-_bsEVFir.js";import{B as l}from"./p-CWpAvtGa.js";import{S as h}from"./p-DuYlA4lj.js";import{M as y}from"./p-BQEAUdoy.js";import{S as n}from"./p-B4Bi1JkP.js";import"./p-BFTU3MAI.js";import"./p-CjO1GttX.js";import"./p-GTA6l_sT.js";const u=()=>e("div",{class:"row gap-3"},e("div",{class:"col-12"},e(n,{width:"35%",height:"30px"})),e("div",{class:"col-12"},e(n,{width:"70%"})),e("div",{class:"col-12"},e(n,{width:"40%"})),e("div",{class:"col-12"},e(n,{width:"40%"})),e("div",{class:"col-12"},e(n,{width:"100%"})),e("div",{class:"col-12"},e(n,{width:"80%"}))),p=class{constructor(e){t(this,e),this.errorEvent=a(this,"error-event"),this.loading=!0,this.errorMessage=null,this.downloadCSV=()=>{this.getPayoutCSV({payoutId:this.payout.id,onError:({error:e,code:t,severity:a})=>{this.errorMessage=e,this.errorEvent.emit({message:e,errorCode:t,severity:a})}})}}componentWillLoad(){this.getPayout&&this.fetchData()}getPayoutWatcher(){this.fetchData()}fetchData(){this.loading=!0,this.getPayout({onSuccess:e=>{this.errorMessage=null,this.payout=e,this.loading=!1},onError:({error:e,code:t,severity:a})=>{this.errorMessage=e,this.errorEvent.emit({message:e,errorCode:t,severity:a}),this.loading=!1}})}render(){var t;return e(h,{key:"62711161d74a4d4e76ea5dba50cdf658722ba3a5"},this.loading&&e(u,{key:"170bf58456fb93c687a9e5b71e364ed6d54ec965"}),!this.loading&&this.errorMessage&&r(this.errorMessage),!this.loading&&this.payout&&e("justifi-details",{key:"eafc4215df8ecba2f3e767e91df54a67c48e0e69","error-message":this.errorMessage},e(d,{key:"849a324f0d5f545e502c1632a5af30da3f6caf74",slot:"head-info",badge:y(null===(t=this.payout)||void 0===t?void 0:t.status),title:this.payout.formattedPaymentAmount(this.payout.amount)},e(c,{key:"ae0b4f158d3baf397880061f6fe25916ca870ac6",classes:"border-1 border-end",title:"Updated At",value:`${s(this.payout.updated_at)} ${i(this.payout.updated_at)}`}),e(c,{key:"2e2f16f8c1e2f5b34fe986a311be4ae084d385ab",classes:"border-1 border-end",title:"Created At",value:`${s(this.payout.created_at)} ${i(this.payout.created_at)}`}),e(c,{key:"724abe3799d1a1c8f9a54130af715a2057218510",title:"ID",value:this.payout.id}),e("div",{key:"7ac70b4b6eee073384e223b01304d0ad0aaf0a64",class:"m-4"},e(l,{key:"fc78f5a3b14e58aa3861592e81bc60c155d520e3",variant:"secondary",class:"btn btn-outline-secondary d-flex align-items-center",onClick:this.downloadCSV},"Export CSV"))),e("div",{key:"9ebede365566df145b3412b24d255e1b90740541",slot:"detail-sections"},e(b,{key:"71cfc2676e1ac51b44de391547589fafb5189266",sectionTitle:"Details"}),e("div",{key:"cba9946a2406c577d3b190cfbfe4b1eeaa27001e",class:"d-table gap-2 w-100"},e(f,{key:"1af9837addfc6fd3829fac3df8376958b7dbfbc7",title:"Date paid",value:s(this.payout.deposits_at)}),e(f,{key:"f54690ff4578b7383feadd6420b14df1c79d398b",title:"Statement Description",value:this.payout.description}),e(f,{key:"5013c67ee0ac8bd9495209fb5854a36665317d84",title:"Payout Method",value:this.payout.delivery_method}),e(f,{key:"41cd7f0989ff44be01d78475e03486b2fb158911",title:"Amount",value:this.payout.formattedPaymentAmount(this.payout.amount)}),e(f,{key:"6f047db81aae911ed4553fecda7baacdc5ff9209",title:"Fee",value:this.payout.formattedPaymentAmount(this.payout.fees_total)})),e(b,{key:"b342e899b13489045a82051e563ff56c027107e8",sectionTitle:"Account"}),e("div",{key:"709be895334d0a4963ceeb762ac6e66a5a603d07",class:"d-table gap-2 w-100"},e(f,{key:"1e14ae8f0b329038ee2aea938be0ab4c1d2c35c9",title:"ID",value:this.payout.account_id}),e(f,{key:"54ef8f31b5dd0698d50efe617db9fbdb8a2088eb",title:"Account Type",value:this.payout.bank_account.account_type}),e(f,{key:"3cbe4043e92bc3d2a07d2970473b06bd92e56f33",title:"Institution",value:this.payout.bank_account.account_type}),e(f,{key:"482efcf4498b79cf724a50dd0d3ba0f38d02576d",title:"Routing Number",value:this.payout.bank_account.routing_number}),e(f,{key:"7b3b961659e263e83268e178991627d04a2fcd46",title:"Account Number",value:this.payout.bank_account.account_number_last4})),e(b,{key:"49b355b672f7fabe75798931e7e36bb1ccfe7370",sectionTitle:"Metadata"}),e("div",{key:"66669969009dda1eacc194a4ad035836e5fd83c7",class:"d-table gap-2 w-100"},e(o,{key:"5700a8404cb548fd4c2a62fde70e56bd78ea8ac6",metadata:this.payout.metadata})))))}static get watchers(){return{getPayout:["getPayoutWatcher"]}}};export{p as payout_details_core}
@@ -1 +0,0 @@
1
- import{r as i}from"./p-D6FDxSyt.js";import{s as t}from"./p-CN_YheWL.js";import"./p-Cd06j2SL.js";const s=class{constructor(t){i(this,t),this.apiOrigin="https://wc-proxy.justifi.ai",this.iFrameOrigin="https://components.justifi.ai",this.accountId=""}componentWillLoad(){t({apiOrigin:this.apiOrigin,iFrameOrigin:this.iFrameOrigin,accountId:this.accountId})}render(){return null}};export{s as justifi_config_provider}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as e}from"./p-D6FDxSyt.js";import{T as a,a as i,b as r,c as h,d as o}from"./p-OjYukdAC.js";import{A as c,B as n}from"./p-CjO1GttX.js";import"./p-CpTwq2jw.js";import"./p-SdntD1xf.js";import"./p-BjB_yKBJ.js";import{p}from"./p-CLHwhyvu.js";import"./p-Bxs6fi7a.js";import"./p-AVaenhw9.js";import"./p-Ct-uNz2r.js";import{t as d,a as f}from"./p-BXey6mVj.js";import{o as b,g as m}from"./p-6n7viK-J.js";import"./p-Bl79NorO.js";import"./p-BFTU3MAI.js";import"./p-7MWRbTXI.js";import"./p-GTA6l_sT.js";import"./p-Cd06j2SL.js";const l=class{constructor(e){t(this,e),this.clickEvent=s(this,"click-event"),this.errorEvent=s(this,"error-event"),this.terminalOrders=[],this.loading=!0,this.paging=p,this.pagingParams={},this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:a.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:a.next})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;if(!s)return;const e=this.terminalOrders.find((t=>t.id===s));this.clickEvent.emit({name:a.row,data:e})}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.terminalOrdersTable=new i(this.terminalOrders,this.columns,d,f),this.getTerminalOrders&&this.fetchData(),b("set",(()=>{this.pagingParams={}})),b("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getTerminalOrders({params:this.terminalOrderParams,onSuccess:async({terminalOrders:t,pagingInfo:s})=>{this.terminalOrders=t,this.paging=s,this.terminalOrdersTable.collectionData=this.terminalOrders},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e})},final:()=>{this.loading=!1}})}get terminalOrderParams(){const t=m();return Object.assign(Object.assign({},t),this.pagingParams)}get entityId(){return this.terminalOrders.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.terminalOrdersTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e("div",{key:"0ae3bd80e00bf8df8f966503bb9e66ebe906a014",class:"table-wrapper"},e("table",{key:"3f258156e4fa1e7c20ecd594e4965cf1db12db29",class:"table table-hover",part:c},e("thead",{key:"4a79db4aa98fb270de205ca1b42b648b8f2326eb",class:"table-head sticky-top"},e("tr",{key:"530320d6061afb4c342a52203257a0f1bc567223",class:"table-light text-nowrap"},this.terminalOrdersTable.columnData.map((t=>t)))),e("tbody",{key:"855f54afcb88a51b25fa6ffb55f8ac12df59ede3",class:"table-body"},e(r,{key:"4d9eef8945c60c4bf0b2f839244e2077cabce5f4",columnSpan:this.terminalOrdersTable.columnKeys.length,isLoading:this.loading}),e(h,{key:"3aa523d3e14151dc076e35a7a7818ae39e9f194f",isEmpty:this.showEmptyState,columnSpan:this.terminalOrdersTable.columnKeys.length}),e(o,{key:"f00598602f310205f050b96e3d7419327e7d3ca4",columnSpan:this.terminalOrdersTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.terminalOrdersTable.rowData.map(((t,s)=>e("tr",{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},t)))),this.paging&&e("tfoot",{key:"523b5e2a99aa51e509295aa7dd743951bfd88bf0",class:"sticky-bottom"},e("tr",{key:"b568e6dff207cce3f0960f86cd8086ff20a9cc6c",class:"table-light align-middle"},e("td",{key:"deff80464cc797e10343fe3a4746131e341294c1",part:n,colSpan:this.terminalOrdersTable.columnData.length},e("pagination-menu",{key:"d730b13b813bb6880b81a5ba39f6573e16e76bfb",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})}))))))}static get watchers(){return{pagingParams:["updateOnPropChange"],getTerminalOrders:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{l as terminal_orders_list_core}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i}from"./p-D6FDxSyt.js";import{C as r,a as e}from"./p-SdntD1xf.js";import{c as o,J as a}from"./p-Dss1xCBW.js";import{T as n}from"./p-ERVEQjR2.js";import"./p-CpTwq2jw.js";import"./p-BjB_yKBJ.js";import"./p-CLHwhyvu.js";import"./p-Bxs6fi7a.js";import{b as p}from"./p-AVaenhw9.js";import"./p-Ct-uNz2r.js";import{g as h,a as c}from"./p-C5RuuShs.js";import{m,S as j}from"./p-BS-e1gnL.js";import{S as u}from"./p-DuYlA4lj.js";import{d}from"./p-Cixn6QDS.js";import"./p-D2EbqwBe.js";import"./p-BBsCnePk.js";import"./p-KLQjERL5.js";import"./p-CN_YheWL.js";import"./p-Cd06j2SL.js";import"./p-BFTU3MAI.js";import"./p-7MWRbTXI.js";import"./p-GTA6l_sT.js";import"./p-CjO1GttX.js";const l=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event"),this.errorMessage=null,this.columns=d,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)}}componentWillLoad(){o(),this.analytics=new a(this),this.initializeGetData()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializeGetTerminals(),this.initializeGetSubAccounts()}initializeGetTerminals(){this.accountId&&this.authToken?this.getTerminals=(({id:t,authToken:s,service:i})=>async({params:e,onSuccess:o,onError:a})=>{var n,m;try{const j=await i.fetchTerminals(t,s,e);if(j.error)return a({error:c(j.error),code:h(null===(m=j.error)||void 0===m?void 0:m.code),severity:r.ERROR});{const t=Object.assign({},j.page_info);o({terminals:(null===(n=j.data)||void 0===n?void 0:n.map((t=>new p(t))))||[],pagingInfo:t})}}catch(t){const s=h(null==t?void 0:t.code);return a({error:t.message||t,code:s,severity:r.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new n}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:e.MISSING_PROPS,message:this.errorMessage,severity:r.ERROR}))}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=m({accountId:this.accountId,authToken:this.authToken,service:new j}))}render(){return i(u,{key:"f80199e30923fb9a50f66570087d41c5390e20a1"},i("terminals-list-core",{key:"ab3ed9809c1c629b3dd8ac5039294fd23b8c16a8",getTerminals:this.getTerminals,getSubAccounts:this.getSubAccounts,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{l as justifi_terminals_list}
@@ -1 +0,0 @@
1
- import{r as s,h as t,H as a}from"./p-D6FDxSyt.js";import{E as i}from"./p-_bsEVFir.js";import"./p-CjO1GttX.js";const r=class{constructor(t){s(this,t)}render(){return t(a,{key:"d00d3b1c3b5d73af5a0eb1a18f2095f023aeb816"},this.errorMessage?i(this.errorMessage):t("main",{class:"p-2"},t("slot",{name:"head-info"}),t("slot",{name:"detail-sections"})))}};export{r as justifi_details}
@@ -1 +0,0 @@
1
- import{r as e,h as a}from"./p-D6FDxSyt.js";import{f as t,p as s,c as r}from"./p-6n7viK-J.js";import{o as l,q as i,r as d,u as o,v as p}from"./p-CjO1GttX.js";import{S as c}from"./p-DuYlA4lj.js";import{c as f,a as n}from"./p-CpTwq2jw.js";import"./p-SdntD1xf.js";import"./p-BjB_yKBJ.js";import"./p-CLHwhyvu.js";import"./p-Bxs6fi7a.js";import{T as b,a as m}from"./p-AVaenhw9.js";import"./p-Ct-uNz2r.js";import"./p-Cd06j2SL.js";import"./p-BFTU3MAI.js";import"./p-7MWRbTXI.js";const u=class{constructor(a){e(this,a),this.setParamsOnChange=(e,a)=>{t[e]=a},this.handleDateInput=(e,a)=>{const t=f(a,{setExactTime:!0});this.setParamsOnChange(e,t)}}componentWillLoad(){Object.entries({order_status:this.orderStatus,order_type:this.orderType,created_after:this.createdAfter,created_before:this.createdBefore}).forEach((([e,a])=>{a&&(s[e]=a)}))}get terminalOrderStatusOptions(){return[{label:"All",value:""},{label:"Created",value:b.created},{label:"Completed",value:b.completed},{label:"Submitted",value:b.submitted},{label:"In Progress",value:b.in_progress},{label:"On Hold",value:b.on_hold},{label:"Canceled",value:b.canceled}]}get terminalOrderTypeOptions(){return[{label:"All",value:""},{label:"Boarding Only",value:m.boardingOnly},{label:"Boarding Shipping",value:m.boardingShipping}]}render(){const e=Object.assign({},t);return a(c,{key:"09824ee5a8f108e810027f844cb1592acb8292ab"},a("table-filters-menu",{key:"bcb67931ca20d8dcf4eaedf8fff22ee3c76f2765",params:e,clearParams:r,part:l},a("div",{key:"6ad367cbf5be69defb35791da7f606efde26e945",class:"grid-cols-2 gap-3 p-1"},a("div",{key:"d0f5ed58e440ee9ce742f043790df214c49d391c",class:"p-2"},a("form-control-select",{key:"d9ce05f33331e44662a39a05822b8a027e5d76f6",name:"order_status",label:"Order Status",options:this.terminalOrderStatusOptions,inputHandler:this.setParamsOnChange,defaultValue:this.orderStatus||t.order_status,disabled:!!this.orderStatus,part:i})),a("div",{key:"ffbceaaf5812af61f54abe1a76b7c9c993e1e7fc",class:"p-2"},a("form-control-select",{key:"9557912144e169bf6060e072686ca2b5e36d6e5e",name:"order_type",label:"Order Type",options:this.terminalOrderTypeOptions,inputHandler:this.setParamsOnChange,defaultValue:this.orderType||t.order_type,disabled:!!this.orderType,part:d})),a("div",{key:"dc87e2699cae6fcb01fcb54790540aca23fd7f3a",class:"p-2"},a("form-control-date",{key:"0d0385b71ecc3cfc60ee9218a75f546ccc2c9718",name:"created_after",label:"Created After",inputHandler:this.handleDateInput,defaultValue:n(this.createdAfter,{showInputDateTime:!0})||n(t.created_after,{showInputDateTime:!0}),showTime:!0,disabled:!!this.createdAfter,part:o})),a("div",{key:"4152bb0d8079b019b38a9291df5005211488f21c",class:"p-2"},a("form-control-date",{key:"24038ef6242a432f9b886a1493841216cfeaae47",name:"created_before",label:"Created Before",inputHandler:this.handleDateInput,defaultValue:n(this.createdBefore,{showInputDateTime:!0})||n(t.created_before,{showInputDateTime:!0}),showTime:!0,disabled:!!this.createdBefore,part:p})))))}};export{u as justifi_terminal_orders_list_filters}
@@ -1 +0,0 @@
1
- import{r as s,c as t,h as a,H as e}from"./p-D6FDxSyt.js";import{a5 as c,a6 as i,a7 as h,a8 as r,a9 as o,l as f}from"./p-CjO1GttX.js";import{F as b}from"./p-Dumd8fMw.js";import{F as d}from"./p-CPXN4Ths.js";const m=class{constructor(a){s(this,a),this.formControlInput=t(this,"formControlInput"),this.formControlBlur=t(this,"formControlBlur"),this.isFocused=!1,this.handleFormControlInput=s=>{s.preventDefault();const t=s.target,a=t.getAttribute("name");this.inputHandler(a,t.checked),this.formControlInput.emit({name:a,value:t.value})},this.updateInput=s=>{this.checkboxElement.checked=s}}get part(){return this.errorText?c:this.isFocused&&this.checked?i:this.isFocused?h:this.checked?r:o}render(){return a(e,{key:"35f96a2b36843476ec27cbf07b15e366a703fc22"},a("div",{key:"63ca51116c2a555df16e4c20db527580f22fc14c",class:"form-group d-flex flex-column"},a("div",{key:"5bbd306560eb1a1ef5664cef495a67c19f44864d",class:"form-check"},a("input",{key:"c4dbb352c9f4e3cbb74d2a6170cb4aab33e36924",ref:s=>this.checkboxElement=s,type:"checkbox",id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-check-input is-invalid":"form-check-input",disabled:this.disabled,checked:this.checked}),a("label",{key:"7866568942027045f761a197b7b43050911aebbd",class:"form-check-label",htmlFor:this.name,part:f},this.label)),a(b,{key:"30bfa6ea4c6e0cc5edd3ff3c06d51b71bca33fb3",helpText:this.helpText,name:this.name}),a(d,{key:"d054d27b35ba312c6cfd217f4c192ad5e42667fb",errorText:this.errorText,name:this.name})))}};export{m as form_control_checkbox}
@@ -1 +0,0 @@
1
- import{h as t}from"./p-D6FDxSyt.js";import{W as o}from"./p-CjO1GttX.js";const r=r=>t("h3",{class:`header-3 ${null==r?void 0:r.class}`,part:o},r.text);export{r as H}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as n,H as i,g as r}from"./p-D6FDxSyt.js";import{c as o,l as a,b as s,T as f,a as c,ap as u,aq as h,ar as l}from"./p-CjO1GttX.js";import{F as d}from"./p-CPXN4Ths.js";var p="top",v="bottom",b="right",m="left",y="auto",x=[p,v,b,m],w="start",g="end",O="viewport",j="popper",k=x.reduce((function(t,e){return t.concat([e+"-"+w,e+"-"+g])}),[]),C=[].concat(x,[y]).reduce((function(t,e){return t.concat([e,e+"-"+w,e+"-"+g])}),[]),M=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function B(t){return t?(t.nodeName||"").toLowerCase():null}function D(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function T(t){return t instanceof D(t).Element||t instanceof Element}function q(t){return t instanceof D(t).HTMLElement||t instanceof HTMLElement}function E(t){return"undefined"!=typeof ShadowRoot&&(t instanceof D(t).ShadowRoot||t instanceof ShadowRoot)}function L(t){return t.split("-")[0]}var P=Math.max,V=Math.min,A=Math.round;function I(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function _(){return!/^((?!chrome|android).)*safari/i.test(I())}function F(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var i=t.getBoundingClientRect(),r=1,o=1;e&&q(t)&&(r=t.offsetWidth>0&&A(i.width)/t.offsetWidth||1,o=t.offsetHeight>0&&A(i.height)/t.offsetHeight||1);var a=(T(t)?D(t):window).visualViewport,s=!_()&&n,f=(i.left+(s&&a?a.offsetLeft:0))/r,c=(i.top+(s&&a?a.offsetTop:0))/o,u=i.width/r,h=i.height/o;return{width:u,height:h,top:c,right:f+u,bottom:c+h,left:f,x:f,y:c}}function R(t){var e=F(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function S(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&E(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function H(t){return D(t).getComputedStyle(t)}function W(t){return["table","td","th"].indexOf(B(t))>=0}function z(t){return((T(t)?t.ownerDocument:t.document)||window.document).documentElement}function X(t){return"html"===B(t)?t:t.assignedSlot||t.parentNode||(E(t)?t.host:null)||z(t)}function G(t){return q(t)&&"fixed"!==H(t).position?t.offsetParent:null}function K(t){for(var e=D(t),n=G(t);n&&W(n)&&"static"===H(n).position;)n=G(n);return n&&("html"===B(n)||"body"===B(n)&&"static"===H(n).position)?e:n||function(t){var e=/firefox/i.test(I());if(/Trident/i.test(I())&&q(t)&&"fixed"===H(t).position)return null;var n=X(t);for(E(n)&&(n=n.host);q(n)&&["html","body"].indexOf(B(n))<0;){var i=H(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function N(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function U(t,e,n){return P(t,V(e,n))}function J(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Q(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function Y(t){return t.split("-")[1]}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,a=t.offsets,s=t.position,f=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,h=t.isFixed,l=a.x,d=void 0===l?0:l,y=a.y,x=void 0===y?0:y,w="function"==typeof u?u({x:d,y:x}):{x:d,y:x};d=w.x,x=w.y;var O=a.hasOwnProperty("x"),j=a.hasOwnProperty("y"),k=m,C=p,M=window;if(c){var B=K(n),T="clientHeight",q="clientWidth";B===D(n)&&"static"!==H(B=z(n)).position&&"absolute"===s&&(T="scrollHeight",q="scrollWidth"),(r===p||(r===m||r===b)&&o===g)&&(C=v,x-=(h&&B===M&&M.visualViewport?M.visualViewport.height:B[T])-i.height,x*=f?1:-1),r!==m&&(r!==p&&r!==v||o!==g)||(k=b,d-=(h&&B===M&&M.visualViewport?M.visualViewport.width:B[q])-i.width,d*=f?1:-1)}var E,L=Object.assign({position:s},c&&Z),P=!0===u?function(t,e){var n=t.y,i=e.devicePixelRatio||1;return{x:A(t.x*i)/i||0,y:A(n*i)/i||0}}({x:d,y:x},D(n)):{x:d,y:x};return d=P.x,x=P.y,Object.assign({},L,f?((E={})[C]=j?"0":"",E[k]=O?"0":"",E.transform=(M.devicePixelRatio||1)<=1?"translate("+d+"px, "+x+"px)":"translate3d("+d+"px, "+x+"px, 0)",E):((e={})[C]=j?x+"px":"",e[k]=O?d+"px":"",e.transform="",e))}var tt={passive:!0},et={left:"right",right:"left",bottom:"top",top:"bottom"};function nt(t){return t.replace(/left|right|bottom|top/g,(function(t){return et[t]}))}var it={start:"end",end:"start"};function rt(t){return t.replace(/start|end/g,(function(t){return it[t]}))}function ot(t){var e=D(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function at(t){return F(z(t)).left+ot(t).scrollLeft}function st(t){var e=H(t);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function ft(t){return["html","body","#document"].indexOf(B(t))>=0?t.ownerDocument.body:q(t)&&st(t)?t:ft(X(t))}function ct(t,e){var n;void 0===e&&(e=[]);var i=ft(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=D(i),a=r?[o].concat(o.visualViewport||[],st(i)?i:[]):i,s=e.concat(a);return r?s:s.concat(ct(X(a)))}function ut(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ht(t,e,n){return e===O?ut(function(t,e){var n=D(t),i=z(t),r=n.visualViewport,o=i.clientWidth,a=i.clientHeight,s=0,f=0;if(r){o=r.width,a=r.height;var c=_();(c||!c&&"fixed"===e)&&(s=r.offsetLeft,f=r.offsetTop)}return{width:o,height:a,x:s+at(t),y:f}}(t,n)):T(e)?function(t,e){var n=F(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):ut(function(t){var e,n=z(t),i=ot(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=P(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=P(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-i.scrollLeft+at(t),f=-i.scrollTop;return"rtl"===H(r||n).direction&&(s+=P(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:s,y:f}}(z(t)))}function lt(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?L(r):null,a=r?Y(r):null,s=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2;switch(o){case p:e={x:s,y:n.y-i.height};break;case v:e={x:s,y:n.y+n.height};break;case b:e={x:n.x+n.width,y:f};break;case m:e={x:n.x-i.width,y:f};break;default:e={x:n.x,y:n.y}}var c=o?N(o):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case w:e[c]=e[c]-(n[u]/2-i[u]/2);break;case g:e[c]=e[c]+(n[u]/2-i[u]/2)}}return e}function dt(t,e){void 0===e&&(e={});var n=e.placement,i=void 0===n?t.placement:n,r=e.strategy,o=void 0===r?t.strategy:r,a=e.boundary,s=void 0===a?"clippingParents":a,f=e.rootBoundary,c=void 0===f?O:f,u=e.elementContext,h=void 0===u?j:u,l=e.altBoundary,d=void 0!==l&&l,m=e.padding,y=void 0===m?0:m,w=J("number"!=typeof y?y:Q(y,x)),g=t.rects.popper,k=t.elements[d?h===j?"reference":j:h],C=function(t,e,n,i){var r="clippingParents"===e?function(t){var e=ct(X(t)),n=["absolute","fixed"].indexOf(H(t).position)>=0&&q(t)?K(t):t;return T(n)?e.filter((function(t){return T(t)&&S(t,n)&&"body"!==B(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),a=o.reduce((function(e,n){var r=ht(t,n,i);return e.top=P(r.top,e.top),e.right=V(r.right,e.right),e.bottom=V(r.bottom,e.bottom),e.left=P(r.left,e.left),e}),ht(t,o[0],i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(T(k)?k:k.contextElement||z(t.elements.popper),s,c,o),M=F(t.elements.reference),D=lt({reference:M,element:g,placement:i}),E=ut(Object.assign({},g,D)),L=h===j?E:M,A={top:C.top-L.top+w.top,bottom:L.bottom-C.bottom+w.bottom,left:C.left-L.left+w.left,right:L.right-C.right+w.right},I=t.modifiersData.offset;if(h===j&&I){var _=I[i];Object.keys(A).forEach((function(t){var e=[b,v].indexOf(t)>=0?1:-1,n=[p,v].indexOf(t)>=0?"y":"x";A[t]+=_[n]*e}))}return A}function pt(t,e){void 0===e&&(e={});var n=e.boundary,i=e.rootBoundary,r=e.padding,o=e.flipVariations,a=e.allowedAutoPlacements,s=void 0===a?C:a,f=Y(e.placement),c=f?o?k:k.filter((function(t){return Y(t)===f})):x,u=c.filter((function(t){return s.indexOf(t)>=0}));0===u.length&&(u=c);var h=u.reduce((function(e,o){return e[o]=dt(t,{placement:o,boundary:n,rootBoundary:i,padding:r})[L(o)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}var vt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0===a||a,f=n.fallbackPlacements,c=n.padding,u=n.boundary,h=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,x=void 0===d||d,g=n.allowedAutoPlacements,O=e.options.placement,j=L(O),k=f||(j!==O&&x?function(t){if(L(t)===y)return[];var e=nt(t);return[rt(t),e,rt(e)]}(O):[nt(O)]),C=[O].concat(k).reduce((function(t,n){return t.concat(L(n)===y?pt(e,{placement:n,boundary:u,rootBoundary:h,padding:c,flipVariations:x,allowedAutoPlacements:g}):n)}),[]),M=e.rects.reference,B=e.rects.popper,D=new Map,T=!0,q=C[0],E=0;E<C.length;E++){var P=C[E],V=L(P),A=Y(P)===w,I=[p,v].indexOf(V)>=0,_=I?"width":"height",F=dt(e,{placement:P,boundary:u,rootBoundary:h,altBoundary:l,padding:c}),R=I?A?b:m:A?v:p;M[_]>B[_]&&(R=nt(R));var S=nt(R),H=[];if(o&&H.push(F[V]<=0),s&&H.push(F[R]<=0,F[S]<=0),H.every((function(t){return t}))){q=P,T=!1;break}D.set(P,H)}if(T)for(var W=function(t){var e=C.find((function(e){var n=D.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return q=e,"break"},z=x?3:1;z>0&&"break"!==W(z);z--);e.placement!==q&&(e.modifiersData[i]._skip=!0,e.placement=q,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function bt(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function mt(t){return[p,b,v,m].some((function(e){return t[e]>=0}))}function yt(t,e,n){void 0===n&&(n=!1);var i,r,o=q(e),a=q(e)&&function(t){var e=t.getBoundingClientRect(),n=A(e.width)/t.offsetWidth||1,i=A(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),s=z(e),f=F(t,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==B(e)||st(s))&&(c=(i=e)!==D(i)&&q(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:ot(i)),q(e)?((u=F(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):s&&(u.x=at(s))),{x:f.left+c.scrollLeft-u.x,y:f.top+c.scrollTop-u.y,width:f.width,height:f.height}}function xt(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),i}var wt={placement:"bottom",modifiers:[],strategy:"absolute"};function gt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Ot(t){void 0===t&&(t={});var e=t.defaultModifiers,n=void 0===e?[]:e,i=t.defaultOptions,r=void 0===i?wt:i;return function(t,e,i){void 0===i&&(i=r);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},wt,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},f=[],c=!1,u={state:s,setOptions:function(i){var o="function"==typeof i?i(s.options):i;h(),s.options=Object.assign({},r,s.options,o),s.scrollParents={reference:T(t)?ct(t):t.contextElement?ct(t.contextElement):[],popper:ct(e)};var a,c,l=function(t){var e=xt(t);return M.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((a=[].concat(n,s.options.modifiers),c=a.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return s.orderedModifiers=l.filter((function(t){return t.enabled})),s.orderedModifiers.forEach((function(t){var e=t.options,n=t.effect;if("function"==typeof n){var i=n({state:s,name:t.name,instance:u,options:void 0===e?{}:e});f.push(i||function(){})}})),u.update()},forceUpdate:function(){if(!c){var t=s.elements,e=t.reference,n=t.popper;if(gt(e,n)){s.rects={reference:yt(e,K(n),"fixed"===s.options.strategy),popper:R(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<s.orderedModifiers.length;i++)if(!0!==s.reset){var r=s.orderedModifiers[i],o=r.fn,a=r.options;"function"==typeof o&&(s=o({state:s,options:void 0===a?{}:a,name:r.name,instance:u})||s)}else s.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(t){u.forceUpdate(),t(s)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(o())}))}))),a}),destroy:function(){h(),c=!0}};if(!gt(t,e))return u;function h(){f.forEach((function(t){return t()})),f=[]}return u.setOptions(i).then((function(t){!c&&i.onFirstUpdate&&i.onFirstUpdate(t)})),u}}var jt=Ot({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,a=i.resize,s=void 0===a||a,f=D(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",n.update,tt)})),s&&f.addEventListener("resize",n.update,tt),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",n.update,tt)})),s&&f.removeEventListener("resize",n.update,tt)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=lt({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,f=void 0===s||s,c={placement:L(e.placement),variation:Y(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,$(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:f})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,$(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];q(r)&&B(r)&&(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});q(i)&&B(i)&&(Object.assign(i.style,o),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.name,i=t.options.offset,r=void 0===i?[0,0]:i,o=C.reduce((function(t,n){return t[n]=function(t,e,n){var i=L(t),r=[m,p].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*r,[m,b].indexOf(i)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,r),t}),{}),a=o[e.placement],s=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=a.x,e.modifiersData.popperOffsets.y+=s),e.modifiersData[n]=o}},vt,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0!==a&&a,f=n.tether,c=void 0===f||f,u=n.tetherOffset,h=void 0===u?0:u,l=dt(e,{boundary:n.boundary,rootBoundary:n.rootBoundary,padding:n.padding,altBoundary:n.altBoundary}),d=L(e.placement),y=Y(e.placement),x=!y,g=N(d),O="x"===g?"y":"x",j=e.modifiersData.popperOffsets,k=e.rects.reference,C=e.rects.popper,M="function"==typeof h?h(Object.assign({},e.rects,{placement:e.placement})):h,B="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),D=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,T={x:0,y:0};if(j){if(o){var q,E="y"===g?p:m,A="y"===g?v:b,I="y"===g?"height":"width",_=j[g],F=_+l[E],S=_-l[A],H=c?-C[I]/2:0,W=y===w?k[I]:C[I],z=y===w?-C[I]:-k[I],X=e.elements.arrow,G=c&&X?R(X):{width:0,height:0},J=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Q=J[E],Z=J[A],$=U(0,k[I],G[I]),tt=x?k[I]/2-H-$-Q-B.mainAxis:W-$-Q-B.mainAxis,et=x?-k[I]/2+H+$+Z+B.mainAxis:z+$+Z+B.mainAxis,nt=e.elements.arrow&&K(e.elements.arrow),it=null!=(q=null==D?void 0:D[g])?q:0,rt=_+et-it,ot=U(c?V(F,_+tt-it-(nt?"y"===g?nt.clientTop||0:nt.clientLeft||0:0)):F,_,c?P(S,rt):S);j[g]=ot,T[g]=ot-_}if(s){var at,st=j[O],ft="y"===O?"height":"width",ct=st+l["x"===g?p:m],ut=st-l["x"===g?v:b],ht=-1!==[p,m].indexOf(d),lt=null!=(at=null==D?void 0:D[O])?at:0,pt=ht?ct:st-k[ft]-C[ft]-lt+B.altAxis,vt=ht?st+k[ft]+C[ft]-lt-B.altAxis:ut,bt=c&&ht?function(t,e,n){var i=U(t,e,n);return i>n?n:i}(pt,st,vt):U(c?pt:ct,st,c?vt:ut);j[O]=bt,T[O]=bt-st}e.modifiersData[i]=T}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=L(n.placement),f=N(s),c=[m,b].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(t,e){return J("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Q(t,x))}(r.padding,n),h=R(o),l="y"===f?p:m,d="y"===f?v:b,y=n.rects.reference[c]+n.rects.reference[f]-a[f]-n.rects.popper[c],w=a[f]-n.rects.reference[f],g=K(o),O=g?"y"===f?g.clientHeight||0:g.clientWidth||0:0,j=O/2-h[c]/2+(y/2-w/2),k=U(u[l],j,O-h[c]-u[d]);n.modifiersData[i]=((e={})[f]=k,e.centerOffset=k-j,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=e.elements.popper.querySelector(i)))&&S(e.elements.popper,i)&&(e.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,a=dt(e,{elementContext:"reference"}),s=dt(e,{altBoundary:!0}),f=bt(a,i),c=bt(s,r,o),u=mt(f),h=mt(c);e.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}}]});const kt=class{constructor(n){t(this,n),this.showEvent=e(this,"showEvent"),this.hideEvent=e(this,"hideEvent"),this.placement="bottom",this.offset=[0,10],this.strategy="absolute",this.trigger="click",this.isOpen=!1}componentDidLoad(){this.popperInstance=jt(this.anchorRef,this.popperContentRef,this.popperOptions),"click"===this.trigger?window.addEventListener("click",this.handleClick.bind(this)):"hover"===this.trigger?(this.anchorRef.addEventListener("mouseenter",this.show.bind(this)),this.anchorRef.addEventListener("mouseleave",this.hide.bind(this)),this.popperContentRef.addEventListener("mouseenter",this.show.bind(this)),this.popperContentRef.addEventListener("mouseleave",this.hide.bind(this))):"focus"===this.trigger&&(this.anchorRef.addEventListener("focus",this.show.bind(this)),this.anchorRef.addEventListener("blur",this.hide.bind(this)))}disconnectedCallback(){"click"===this.trigger?window.removeEventListener("click",this.handleClick.bind(this)):"hover"===this.trigger?(this.anchorRef.removeEventListener("mouseenter",this.show.bind(this)),this.anchorRef.removeEventListener("mouseleave",this.hide.bind(this)),this.popperContentRef.removeEventListener("mouseenter",this.show.bind(this)),this.popperContentRef.removeEventListener("mouseleave",this.hide.bind(this))):"focus"===this.trigger&&(this.anchorRef.removeEventListener("focus",this.show.bind(this)),this.anchorRef.removeEventListener("blur",this.hide.bind(this)))}handleClick(t){const e=t.composedPath(),n=e.includes(this.anchorRef),i=e.includes(this.popperContentRef);!this.isOpen&&n?this.show():(this.isOpen&&!i||this.isOpen&&n)&&this.hide()}get popperOptions(){return{placement:this.placement,modifiers:[{name:"offset",options:{offset:this.offset}}],strategy:this.strategy}}show(){this.isOpen=!0,this.popperContentRef.setAttribute("data-show",""),this.popperInstance.update(),this.showEvent.emit()}hide(){this.isOpen=!1,this.popperContentRef.removeAttribute("data-show"),this.popperInstance.update(),this.hideEvent.emit()}render(){return n("div",{key:"6b09b58218fe286c9b3b2a707cca905c8aa10e98"},n("style",{key:"7a8d3f88d964a78945f8f129a1a2b7a29b174678"},"\n .popper-content {\n display: none;\n }\n .popper-content[data-show] {\n display: block;\n z-index: 1030;\n }\n "),n("div",{key:"f96cf490f7d53613156d33ee315f9c7de415d087",class:"popper-content",ref:t=>this.popperContentRef=t},n("slot",{key:"a9e7ed012d4bb6d5c7f16fad4aacf619304717a7"})))}},Ct=class{constructor(n){t(this,n),this.formControlInput=e(this,"formControlInput"),this.formControlBlur=e(this,"formControlBlur"),this.isFocused=!1,this.handleFormControlInput=t=>{const e=t.target,n=e.getAttribute("name");this.inputHandler(n,e.value),this.formControlInput.emit(e.value)},this.updateInput=t=>{this.selectElement.value=t}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get part(){let t=o;return this.errorText&&(t=s),this.disabled&&(t=f),this.isFocused&&(t=c),t}render(){var t;return n(i,{key:"f55283c73225466b10cec78e6e5ff1c268142d1b"},n("div",{key:"48beb377ca664b867598f8e472a3bb4825aecf9b",class:"form-group d-flex flex-column"},n("div",{key:"13debfb6a725d7f247eb5601e3361a3964b826e9",class:"d-flex align-items-start gap-2"},n("label",{key:"15ac64fb03a5c1cb8f55c18bd7eb41d66328e599",part:a,class:"form-label",htmlFor:this.name},this.label),n("form-control-tooltip",{key:"3d8b43ed6e997234f7c64daf41b2286bec93340e",helpText:this.helpText})),n("select",{key:"1c3eb5699a0b76c694a02fe50e8070483b2960e6",ref:t=>this.selectElement=t,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-select is-invalid":"form-select",disabled:this.disabled},null===(t=this.options)||void 0===t?void 0:t.map((t=>n("option",{value:t.value},t.label)))),n(d,{key:"d223fd1fad44de99812b0e3a3429e3931b798c2c",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}},Mt=class{constructor(n){t(this,n),this.formControlInput=e(this,"formControlInput"),this.formControlBlur=e(this,"formControlBlur"),this.isFocused=!1,this.handleFormControlInput=t=>{const e=t.target,n=e.getAttribute("name");this.inputHandler(n,e.value),this.formControlInput.emit({name:n,value:e.value})},this.updateInput=t=>{const e=this.el.querySelector("input");e&&(e.value=t||"")}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get part(){return this.errorText?s:this.disabled?f:this.isFocused?c:o}render(){return n(i,{key:"1b48bf6cbd4ef2b115c7d070310a625f1dfbe814"},n("div",{key:"2c814160dc94ba70d0a75551ba5c95ba90a011e4",class:"form-group d-flex flex-column"},n("div",{key:"3d40c1b9f590b2275f43fb16fa4c6d0986760f9a",class:"d-flex align-items-start gap-2"},n("label",{key:"51ec736c062308443301decbc8c58a4912a55264",part:a,class:"form-label",htmlFor:this.name},this.label),n("form-control-tooltip",{key:"1266b937707fbf83666c61ce6fca593f02d45b18",helpText:this.helpText})),n("input",{key:"d70668313e3240e998b9c890ef7ab2fb47cb3552",id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,onKeyDown:this.keyDownHandler,onPaste:this.keyDownHandler,maxLength:this.maxLength,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",type:"text",disabled:this.disabled}),n(d,{key:"e7b268ed1c6c638b319f01b9a211d5bbc930d2ef",errorText:this.errorText,name:this.name})))}get el(){return r(this)}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}},Bt=class{constructor(e){t(this,e)}show(){this.tooltip.classList.add("show")}hide(){this.tooltip.classList.remove("show")}render(){return this.helpText?n("div",{class:"tooltip-container"},n("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-question-square tooltip-icon",viewBox:"0 0 16 16",ref:t=>this.anchorIcon=t,part:l},n("path",{d:"M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z"}),n("path",{d:"M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94"})),n("custom-popper",{trigger:"hover",placement:"top",anchorRef:this.anchorIcon},n("div",{class:"tooltip bs-tooltip-top",part:u,role:"tooltip",ref:t=>this.tooltip=t},n("div",{class:"tooltip-inner",part:h},this.helpText)))):null}};export{kt as custom_popper,Ct as form_control_select,Mt as form_control_text,Bt as form_control_tooltip}
@@ -1 +0,0 @@
1
- import{r as e,h as a}from"./p-D6FDxSyt.js";import{f as t,p as s,c as r}from"./p-wqUvt1PB.js";import{k as c,m as d,n as f}from"./p-CjO1GttX.js";import{S as o}from"./p-DuYlA4lj.js";import{c as i,a as p}from"./p-CpTwq2jw.js";import"./p-Cd06j2SL.js";import"./p-BFTU3MAI.js";const l=class{constructor(a){e(this,a),this.setParamsOnChange=(e,a)=>{t[e]=a},this.handleDateInput=(e,a)=>{const t=i(a,{setEndOfDay:!0});this.setParamsOnChange(e,t)}}componentWillLoad(){Object.entries({created_after:this.createdAfter,created_before:this.createdBefore}).forEach((([e,a])=>{a&&(s[e]=a)}))}render(){const e=Object.assign({},t);return a(o,{key:"e6670cb708b28330f79512d01d582f7a1930fd3c"},a("table-filters-menu",{key:"366dd0925c68feb2c8482bc27f63c7591ec38882",params:e,clearParams:r,part:c},a("div",{key:"d5de9412726c9c3f51675eeba8ba258094632b99",class:"grid-cols-2 gap-3 p-1"},a("div",{key:"3f693842e14574eb3a056db221dc6521d02c0ba4",class:"p-2"},a("form-control-date",{key:"ca0697ab9b42ff0bed8aa0cd6747cde11fdf3ab1",name:"created_after",label:"Created After",inputHandler:this.handleDateInput,defaultValue:p(this.createdAfter,{showInputDate:!0})||p(t.created_after,{showInputDate:!0}),disabled:!!this.createdAfter,part:d})),a("div",{key:"cc8a71a7de29c82644773d356ef063cbf7f97f2a",class:"p-2"},a("form-control-date",{key:"f878e0acedced0ed813a7410243f414ba12c6898",name:"created_before",label:"Created Before",inputHandler:this.handleDateInput,defaultValue:p(this.createdBefore,{showInputDate:!0})||p(t.created_before,{showInputDate:!0}),disabled:!!this.createdBefore,part:f})))))}};export{l as justifi_payouts_list_filters}
@@ -1 +0,0 @@
1
- import{r as s,c as i,h as t}from"./p-D6FDxSyt.js";import{c as e,J as o}from"./p-Dss1xCBW.js";import{C as r,a as n}from"./p-SdntD1xf.js";import{m as p,a}from"./p-bplwtwD3.js";import{B as h}from"./p-Bl3qFMoN.js";import{A as m}from"./p-BBsCnePk.js";import"./p-D2EbqwBe.js";import"./p-C5RuuShs.js";import"./p-KLQjERL5.js";import"./p-CN_YheWL.js";import"./p-Cd06j2SL.js";import"./p-CpTwq2jw.js";import"./p-BFTU3MAI.js";class d{async postProvisioning(s,i,t){const e={business_id:i,product_category:t};return m({authToken:s,apiOrigin:"https://wc-proxy.justifi.ai"}).post({endpoint:"entities/provisioning",body:e})}}const u=class{constructor(t){s(this,t),this.errorEvent=i(this,"error-event"),this.allowOptionalFields=!1,this.formTitle="Business Information"}propChanged(){this.initializeApi()}componentWillLoad(){e(),this.analytics=new o(this),this.initializeApi()}disconnectedCallback(){this.analytics.cleanup()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=p({authToken:this.authToken,businessId:this.businessId,service:new h}),this.postProvisioning=a({authToken:this.authToken,businessId:this.businessId,product:"payment",service:new d})):this.errorEvent.emit({message:"auth-token and business-id are required",errorCode:n.MISSING_PROPS,severity:r.ERROR})}render(){return t("justifi-payment-provisioning-core",{key:"ab584a720ecfc7ec4e68082fefadeb11fd2884d2",businessId:this.businessId,authToken:this.authToken,allowOptionalFields:this.allowOptionalFields,formTitle:this.formTitle,getBusiness:this.getBusiness,postProvisioning:this.postProvisioning})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}};export{u as justifi_payment_provisioning}
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as s}from"./p-D6FDxSyt.js";import{f as i}from"./p-CpTwq2jw.js";import{C as a,ai as r}from"./p-CjO1GttX.js";import{B as d}from"./p-CWpAvtGa.js";import{S as c}from"./p-DuYlA4lj.js";import{S as o}from"./p-B4Bi1JkP.js";import{C as n,a as h}from"./p-SdntD1xf.js";import{g as p,a as f}from"./p-C5RuuShs.js";import{D as l}from"./p-DavDfnxI.js";import{D as u}from"./p-Bg2SZArf.js";import{c as b,J as y}from"./p-Dss1xCBW.js";import"./p-BFTU3MAI.js";import"./p-BBsCnePk.js";import"./p-BjB_yKBJ.js";import"./p-CLHwhyvu.js";import"./p-Bxs6fi7a.js";import"./p-7MWRbTXI.js";import"./p-AVaenhw9.js";import"./p-Ct-uNz2r.js";import"./p-D2EbqwBe.js";const m=({authToken:e,disputeId:t,service:s})=>async({payload:i,onSuccess:a,onError:r,final:d=()=>{}})=>{var c;try{const d=await s.submitDisputeResponse(t,e,i);if(d.error){return r({error:f(d.error),code:p(null===(c=d.error)||void 0===c?void 0:c.code),severity:n.ERROR})}a(d)}catch(e){const t=p(null==e?void 0:e.code);return r({error:e.message||e,code:t,severity:n.ERROR})}finally{return d()}},v=class{constructor(s){e(this,s),this.clickEvent=t(this,"click-event"),this.errorEvent=t(this,"error-event"),this.submitEvent=t(this,"submit-event")}acceptDispute(){m({disputeId:this.dispute.id,authToken:this.authToken,service:new l})({payload:{forfeit:!0},onSuccess:e=>{this.submitEvent.emit({response:e})},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({errorCode:t,message:e,severity:s})}})}initiateRespondToDispute(){this.clickEvent.emit({name:u.respondToDispute})}render(){var e,t,n,h,p,f,l;return s(c,{key:"77119b1227200909f4742e24df0a45e1f631c65c"},this.isLoading&&s("div",{key:"f0766ff057fb2f4b75b34c7d4a386bde43e49652",style:{marginBottom:"8px"}},s(o,{key:"d7268194dea5ac2a3b87aea8e17573b4768e308f",height:"28px",width:"70%",styles:{marginBottom:"16px"}}),s(o,{key:"f8863e45a917f56be302ca1b0b3d472119f6465c",height:"18px",styles:{marginBottom:"8px"}}),s(o,{key:"c7b8c9c89d9488eea3be8ea0b4536f98a8151487",height:"18px",styles:{marginBottom:"8px"}})),(null===(e=this.dispute)||void 0===e?void 0:e.needsResponse)&&s("div",{key:"875fe7def317ce1c4547e04e83baf2b232209058",part:a},s("h1",{key:"09646afc2aac3bf4ef9737bc12442660bbafb2dd",class:"h4",part:r},"This payment is disputed"),s("p",{key:"14224cffb16726eaa589118be954e0f844ffaee8"},"The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."),s("h2",{key:"415028b91872a2391796872fdffdbee837a2a511",class:"h5"},"Dispute details"),s("div",{key:"c2b8c6be3132f98eb8c686ab88a5a6a68f92a60e",class:"d-table gap-2"},s("div",{key:"d11bd8b3bc680183e8bee40281cc2c294aedbd5a",class:"d-table-row gap-2"},s("span",{key:"d77796c0d2764329c3b482ae49ceb8b4cac03d37",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Amount"),s("span",{key:"716d8af2a250c3237af6e23b43bf50e032e9f203",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},i(null===(t=this.dispute)||void 0===t?void 0:t.amount))),s("div",{key:"daba4379197533d2a4b246e81139d81cd15761c6",class:"d-table-row gap-2"},s("span",{key:"a039fbf47aff16445e3411c33a7b53716c42866d",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Reason"),s("span",{key:"19087aba5c516d0c71e9f84e8b3323a044ae532a",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},null===(n=this.dispute)||void 0===n?void 0:n.reason)),s("div",{key:"68ef78b15627df3b22bcde4b90f7c216466e7468",class:"d-table-row gap-2"},s("span",{key:"9463c281d76b5e201a55c2993253fc22d04168dc",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Dispute ID"),s("span",{key:"5cffed27038f5571f37377c5023a88c8b7773a59",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},null===(h=this.dispute)||void 0===h?void 0:h.id))),s("div",{key:"e856d924edac10116781425f6d7c4c8c6b26ced2",class:"d-flex gap-2 mt-4 justify-content-end"},s(d,{key:"6d5278a91f79c2fe8fbdd9e391b109a6491b13b6",variant:"secondary",onClick:()=>this.acceptDispute()},"Accept dispute"),s(d,{key:"242b9076b482aae731ab6bedc1592a1a826e24c5",variant:"primary",onClick:()=>this.initiateRespondToDispute()},"Counter dispute"))),(null===(p=this.dispute)||void 0===p?void 0:p.underReview)&&s("div",{key:"f3711546ce5bf8b6a4a8689f5db3fdbf58f45bf4"},s("h1",{key:"06e39be43cfacf667919adbd2f4f8c596702c340",class:"h4"},"This payment is disputed and under review"),s("p",{key:"b3bfef2d40e197f8dc9df6f71d9f13017a4b923d"},"The cardholder is disputing this payment. A counter dispute has been submitted and is under review.")),(null===(f=this.dispute)||void 0===f?void 0:f.won)&&s("div",{key:"580144b1439d6e017726b9731b7bb15e71900092"},s("h1",{key:"42d74d215d23409672449af86e25c945aac33ea1",class:"h4"},"This payment was disputed"),s("p",{key:"4c337e89a32f62c8f03a53eb84737785f4b0bdb4"},"The cardholder disputed this payment and the card issuer has settled it in your favor.")),(null===(l=this.dispute)||void 0===l?void 0:l.lost)&&s("div",{key:"66c0f7bbada42053683dd25776a7c0abdb708315"},s("h1",{key:"273f2d82dbe73a15da3186946763579be2801aa4",class:"h4"},"This payment was disputed"),s("p",{key:"22172d1c6833eb5407c19dd31b85db805d07d177"},"The cardholder disputed this payment and the card issuer has settled it in their favor.")))}},k=class{constructor(s){e(this,s),this.errorEvent=t(this,"error-event"),this.errorMessage=null,this.apiOrigin="https://wc-proxy.justifi.ai",this.handleErrorEvent=e=>{this.errorMessage=e.detail.message,this.errorEvent.emit(e.detail)}}componentWillLoad(){b(),this.analytics=new y(this),this.initializeDisputeServiceMethods()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeDisputeServiceMethods()}initializeDisputeServiceMethods(){this.disputeId&&this.authToken?(this.updateDisputeResponse=(({authToken:e,disputeId:t,service:s})=>async({payload:i,onSuccess:a,onError:r,final:d=()=>{}})=>{var c;try{const d=await s.updateDisputeResponse(t,e,i);if(d.error)return r({error:f(d.error),code:p(null===(c=d.error)||void 0===c?void 0:c.code),severity:n.ERROR});a(d)}catch(e){const t=p(null==e?void 0:e.code);return r({error:e.message||e,code:t,severity:n.ERROR})}finally{return d()}})({disputeId:this.disputeId,authToken:this.authToken,service:new l}),this.createDisputeEvidence=(({authToken:e,disputeId:t,service:s})=>async({payload:i,onSuccess:a,onError:r,final:d=()=>{}})=>{var c;try{const d=await s.createDisputeEvidence(t,e,i);if(d.error)return r({error:f(d.error),code:p(null===(c=d.error)||void 0===c?void 0:c.code),severity:n.ERROR});a(d)}catch(e){const t=p(null==e?void 0:e.code);return r({error:e.message||e,code:t,severity:n.ERROR})}finally{return d()}})({disputeId:this.disputeId,authToken:this.authToken,service:new l}),this.submitDisputeResponse=m({disputeId:this.disputeId,authToken:this.authToken,service:new l})):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:h.MISSING_PROPS,message:this.errorMessage,severity:n.ERROR}))}render(){return s(c,{key:"4c0cd0b8a082d9f2f4428868d88cbb9bde2a3a5d"},s("justifi-dispute-response-core",{key:"58bbf7f5b2ce8efea0467efddfeffe3c752a3402","onError-event":this.handleErrorEvent,"dispute-id":this.disputeId,disputeResponse:this.disputeResponse,createDisputeEvidence:this.createDisputeEvidence,updateDisputeResponse:this.updateDisputeResponse,submitDisputeResponse:this.submitDisputeResponse}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}},j=class{constructor(i){e(this,i),this.clickEvent=t(this,"click-event"),this.errorEvent=t(this,"error-event"),this.stepCompleteEvent=t(this,"complete-form-step-event"),this.submitEvent=t(this,"submit-event"),this.disputeResponse={},this.isLoading=!1,this.documentList=[],this.documentErrors={},this.currentStep=0,this.componentStepMapping=[()=>s("justifi-product-or-service",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-customer-details",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-cancellation-policy",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-refund-policy",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-duplicate-charge",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-electronic-evidence",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-shipping-details",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-additional-statement",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors})],this.saveData=async(e,t)=>{if(Object.keys(e).length)return this.isLastStep?this.submitDisputeResponse({payload:e,onSuccess:e=>{this.submitEvent.emit({response:e}),this.stepCompleteEvent.emit({response:e,formStep:t})},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({errorCode:t,message:e,severity:s})}}):this.updateDisputeResponse({payload:e,onSuccess:e=>{this.disputeResponse=Object.assign({},e.data),this.stepCompleteEvent.emit({response:e,formStep:t})},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({errorCode:t,message:e,severity:s})}});this.stepCompleteEvent.emit({response:null,formStep:t})},this.initializeMakePresignedURLs=async()=>{const e=this.documentList.map((e=>this.getPresignedFileUrl(e)));return await Promise.all(e)},this.initializeFileUploads=async()=>{const e=this.documentList.map((e=>this.uploadDocument(e)));return Promise.all(e)},this.getPresignedFileUrl=async e=>this.createDisputeEvidence({payload:{file_name:e.file_name,file_type:e.file_type,dispute_evidence_type:e.dispute_evidence_type},onSuccess:t=>{e.presignedUrl=t.data.presigned_url},onError:({error:t,code:s,severity:i})=>{const a={[e.dispute_evidence_type]:t};this.documentErrors=Object.assign(Object.assign({},this.documentErrors),a),this.errorEvent.emit({errorCode:s,message:t,severity:i})}}),this.uploadDocument=async e=>{const t=await e.getFileString();if(!e.presignedUrl)throw new Error("Presigned URL is not set");return await fetch(e.presignedUrl,{method:"PUT",body:t})},this.handleSubmit=async(e,t,s)=>{if(this.isLoading=!0,t.length){if(this.documentErrors={},this.documentList=t,await this.initializeMakePresignedURLs(),Object.keys(this.documentErrors).length)throw this.isLoading=!1,new Error("Could not presign all documents");await this.initializeFileUploads()}await this.saveData(e,s),this.isLoading=!1},this.onCancel=()=>{this.clickEvent.emit({name:u.cancelDispute})},this.onBack=async()=>{await this.currentStepComponentRef.validateAndSubmit((async(e,t,s)=>{this.clickEvent.emit({name:u.previousStep}),await this.handleSubmit(e,t,s),this.currentStep--}))},this.onNext=async()=>{await this.currentStepComponentRef.validateAndSubmit((async(e,t,s)=>{this.clickEvent.emit({name:u.nextStep}),await this.handleSubmit(e,t,s),this.currentStep++}))},this.onSubmit=async()=>{await this.currentStepComponentRef.validateAndSubmit((async(e,t,s)=>{this.clickEvent.emit({name:u.submit});const i=Object.assign(Object.assign({},e),{forfeit:!1});await this.handleSubmit(i,t,s)}))}}get currentStepComponent(){return this.componentStepMapping[this.currentStep]()}get isLastStep(){return this.currentStep===this.componentStepMapping.length-1}get isFirstStep(){return 0===this.currentStep}render(){return s("div",{key:"452cfcf106f40c27f34df05ae2923c0909de9245",class:"row gy-3"},s("div",{key:"d9b608a8d880310b96e98cd4a00cabfcca77dc79",class:"col-12"},s("h1",{key:"050aef1fa636d09880edc7d738d56eab2cf62e52",class:"h4",part:r},"Counter dispute")),s("div",{key:"4e6094f9240d4db3d4bc03c59754ab3d04fed5bc",class:"col-12"},this.currentStepComponent),s("div",{key:"9c1739bc4ed1a9104fd04531a11e02cbbb4f11cc",class:"col-12"},s("div",{key:"d37cda5a7689d8bf9263283eb24e1074ee3d97a0",class:"d-flex gap-2 mt-4 justify-content-end"},this.isFirstStep?s(d,{variant:"secondary",onClick:()=>this.onCancel(),disabled:this.isLoading,isLoading:this.isLoading},"Cancel"):s(d,{variant:"secondary",onClick:()=>this.onBack(),disabled:this.isLoading,isLoading:this.isLoading},"Back"),this.isLastStep?s(d,{variant:"primary",onClick:()=>this.onSubmit(),disabled:this.isLoading,isLoading:this.isLoading},"Submit Counter Dispute"):s(d,{variant:"primary",onClick:()=>this.onNext(),disabled:this.isLoading,isLoading:this.isLoading},"Next"))))}};export{v as justifi_dispute_notification,k as justifi_dispute_response,j as justifi_dispute_response_core}