@justifi/webcomponents 6.12.3 → 6.12.4

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 (586) hide show
  1. package/dist/cjs/{Analytics-DcqsdFaD.js → Analytics-BERGweGK.js} +2 -3
  2. package/dist/cjs/{Plaid-BlSGeGpn.js → Plaid-BRSyOOuw.js} +60 -4
  3. package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +151 -19
  4. package/dist/cjs/{justifi-additional-statement_8.cjs.entry.js → additional-statement_8.cjs.entry.js} +24 -24
  5. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  6. package/dist/cjs/{business-identity-schema-DWWtSiUF.js → business-identity-schema-DI9XFbaD.js} +67 -0
  7. package/dist/cjs/{business.service-BheJs82v.js → business.service-Z9OACEQL.js} +1 -2
  8. package/dist/cjs/card-form.cjs.entry.js +2 -2
  9. package/dist/cjs/{check-pkg-version-DFTQGZz1.js → check-pkg-version-ByKpJklZ.js} +1 -1
  10. package/dist/cjs/{checkout.service-DZKdHQQq.js → checkout.service-BZOyqXgW.js} +1 -2
  11. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  12. package/dist/cjs/{justifi-dispute-notification_3.cjs.entry.js → dispute-notification_2.cjs.entry.js} +67 -90
  13. package/dist/cjs/{event-types-BWQT2lwu.js → event-types-AU1B76Vm.js} +30 -0
  14. package/dist/cjs/form-address-fields_3.cjs.entry.js +2 -2
  15. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  16. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  17. package/dist/cjs/form-control-file.cjs.entry.js +2 -2
  18. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  19. package/dist/cjs/form-control-number_2.cjs.entry.js +89 -0
  20. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  21. package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
  22. package/dist/cjs/{get-business-TFzhaBXn.js → get-business-aR-C83KX.js} +2 -2
  23. package/dist/cjs/{get-payment-details-DL5FmIyF.js → get-payment-details-dwhA02Zl.js} +2 -3
  24. package/dist/cjs/{get-subaccounts-CVK4O7th.js → get-subaccounts-B1jmSa2d.js} +2 -3
  25. package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
  26. package/dist/cjs/internal-button.cjs.entry.js +1 -1
  27. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +12 -13
  28. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -6
  29. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -6
  30. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
  31. package/dist/cjs/justifi-business-details.cjs.entry.js +7 -8
  32. package/dist/cjs/justifi-business-form.cjs.entry.js +10 -12
  33. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
  34. package/dist/cjs/justifi-card-form.cjs.entry.js +5 -6
  35. package/dist/cjs/justifi-checkout.cjs.entry.js +4 -5
  36. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -4
  37. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +190 -27
  38. package/dist/cjs/justifi-dispute-management.cjs.entry.js +65 -18
  39. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +11071 -23
  40. package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -10
  41. package/dist/cjs/justifi-payment-details.cjs.entry.js +16 -17
  42. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
  43. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -8
  44. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  45. package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -8
  46. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -11
  47. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -8
  48. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -4
  49. package/dist/cjs/justifi-payouts-list.cjs.entry.js +9 -10
  50. package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -8
  51. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -6
  52. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  53. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -5
  54. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +178 -24
  55. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -3
  56. package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -9
  57. package/dist/cjs/loader.cjs.js +1 -1
  58. package/dist/cjs/{package-bM0MyhTf.js → package-B6L3zyfG.js} +1 -1
  59. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  60. package/dist/cjs/{payment-provisioning-actions-BO7dzIm1.js → payment-provisioning-actions-BiSpysjW.js} +2 -2
  61. package/dist/cjs/{payment.service-sZKlg2Jq.js → payment.service-ByrgA_QZ.js} +1 -2
  62. package/dist/cjs/{payout.service-BcQVsMCS.js → payout.service-CnQm_BpU.js} +1 -2
  63. package/dist/cjs/{payouts-status-CwgOMz-S.js → payouts-status-AuS3Mp0V.js} +2 -2
  64. package/dist/cjs/{plaid.service-BcgO2VXC.js → plaid.service-Dlb8EUR8.js} +1 -2
  65. package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
  66. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  67. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  68. package/dist/cjs/{terminal.service-CjMMWSh3.js → terminal.service-BdwHQ3Vv.js} +1 -2
  69. package/dist/cjs/{utils-DbTucCTO.js → utils-FVGp6se3.js} +1 -1
  70. package/dist/cjs/webcomponents.cjs.js +1 -1
  71. package/dist/collection/api/Terminal.js +1 -1
  72. package/dist/collection/collection-manifest.json +10 -16
  73. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -2
  74. package/dist/collection/components/business-forms/owner-form/owner-form.js +226 -12
  75. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  76. package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +166 -16
  77. package/dist/collection/components/dispute-management/{justifi-dispute-notification.js → dispute-notification.js} +5 -6
  78. package/dist/collection/components/dispute-management/dispute-response/{justifi-additional-statement.js → additional-statement.js} +3 -3
  79. package/dist/collection/components/dispute-management/dispute-response/{justifi-cancellation-policy.js → cancellation-policy.js} +3 -3
  80. package/dist/collection/components/dispute-management/dispute-response/{justifi-customer-details.js → customer-details.js} +3 -3
  81. package/dist/collection/components/dispute-management/dispute-response/{dispute-response-core.js → dispute-response.js} +105 -77
  82. package/dist/collection/components/dispute-management/dispute-response/{justifi-duplicate-charge.js → duplicate-charge.js} +3 -3
  83. package/dist/collection/components/dispute-management/dispute-response/{justifi-electronic-evidence.js → electronic-evidence.js} +3 -3
  84. package/dist/collection/components/dispute-management/dispute-response/{justifi-product-or-service.js → product-or-service.js} +3 -3
  85. package/dist/collection/components/dispute-management/dispute-response/{justifi-refund-policy.js → refund-policy.js} +3 -3
  86. package/dist/collection/components/dispute-management/dispute-response/{justifi-shipping-details.js → shipping-details.js} +3 -3
  87. package/dist/collection/components/dispute-management/justifi-dispute-management.js +78 -11
  88. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  89. package/dist/collection/components/gross-payment-chart/justifi-gross-payment-chart.js +79 -15
  90. package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +1 -1
  91. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
  92. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
  93. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
  94. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
  95. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
  96. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
  97. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  98. package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
  99. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  100. package/dist/collection/components/payment-details/justifi-payment-details.js +8 -8
  101. package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
  102. package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
  103. package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
  104. package/dist/collection/components/payout-details/justifi-payout-details.js +3 -3
  105. package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
  106. package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
  107. package/dist/collection/components/payouts-list/justifi-payouts-list.js +1 -1
  108. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
  109. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +134 -10
  110. package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
  111. package/dist/collection/components/terminals-list/justifi-terminals-list.js +1 -1
  112. package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
  113. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  114. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  115. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  116. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  117. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  118. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  119. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  120. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  121. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  122. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  123. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  124. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  125. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  126. package/dist/collection/ui-components/internal-button.js +1 -1
  127. package/dist/collection/ui-components/radio-list-item.js +1 -1
  128. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  129. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  130. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  131. package/dist/docs.json +5763 -6945
  132. package/dist/esm/{Analytics-Cyc3ZLPx.js → Analytics-B1bQP71R.js} +2 -3
  133. package/dist/esm/{Plaid-BuKEVgbB.js → Plaid-l6nNIjab.js} +58 -3
  134. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  135. package/dist/esm/additional-questions-form-step_14.entry.js +156 -24
  136. package/dist/esm/additional-questions_5.entry.js +2 -2
  137. package/dist/esm/{justifi-additional-statement_8.entry.js → additional-statement_8.entry.js} +19 -19
  138. package/dist/esm/{badge-B6dp1XGV.js → badge-Dlcl9qdm.js} +1 -1
  139. package/dist/esm/bank-account-billing-form-simple_4.entry.js +5 -5
  140. package/dist/esm/bank-account-form.entry.js +4 -4
  141. package/dist/esm/bank-account-read-only-value.entry.js +1 -1
  142. package/dist/esm/business-identity-schema-D-Nk9aGV.js +163 -0
  143. package/dist/esm/{business.service-BPbZ5fxQ.js → business.service-C31wbMVs.js} +1 -2
  144. package/dist/esm/{button-DRdaAudE.js → button-BvzOzV4l.js} +1 -1
  145. package/dist/esm/card-form.entry.js +4 -4
  146. package/dist/esm/{check-pkg-version-6iGDh82c.js → check-pkg-version-CNwUC4SV.js} +1 -1
  147. package/dist/esm/{checkout.service-CJMfFKyS.js → checkout.service-cVdOGDuI.js} +1 -2
  148. package/dist/esm/{country-config-P042rrI3.js → country-config-B_fuF6JU.js} +1 -1
  149. package/dist/esm/custom-popper_2.entry.js +3 -3
  150. package/dist/esm/{justifi-dispute-notification_3.entry.js → dispute-notification_2.entry.js} +68 -90
  151. package/dist/esm/{event-types-Bg2SZArf.js → event-types-DalU_6SB.js} +29 -1
  152. package/dist/esm/form-address-fields_3.entry.js +5 -5
  153. package/dist/esm/form-control-checkbox.entry.js +3 -3
  154. package/dist/esm/form-control-date.entry.js +4 -4
  155. package/dist/esm/{form-control-error-text-DVedKyhp.js → form-control-error-text-Di9QePY5.js} +1 -1
  156. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  157. package/dist/esm/form-control-file.entry.js +4 -4
  158. package/dist/esm/{form-control-help-text-D-349cNw.js → form-control-help-text-DGMpMuAm.js} +1 -1
  159. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  160. package/dist/esm/form-control-monetary.entry.js +5 -5
  161. package/dist/esm/form-control-number_2.entry.js +86 -0
  162. package/dist/esm/form-control-radio.entry.js +3 -3
  163. package/dist/esm/form-control-select_2.entry.js +6 -6
  164. package/dist/esm/{get-business-DIpEbczl.js → get-business-Gg6qn5on.js} +2 -2
  165. package/dist/esm/{get-payment-details-DjBou5Fu.js → get-payment-details-BiWgSJau.js} +2 -3
  166. package/dist/esm/{get-subaccounts-CgDWE_5o.js → get-subaccounts-CkjZeR9U.js} +2 -3
  167. package/dist/esm/{header-1-Bl7MHW0w.js → header-1-evYxFIGN.js} +1 -1
  168. package/dist/esm/{header-3-C7JJVnMG.js → header-3-BUDap2xY.js} +1 -1
  169. package/dist/esm/hidden-input_2.entry.js +7 -7
  170. package/dist/esm/{index.esm-BHdVU4hV.js → index.esm-CgNcFueq.js} +1 -1
  171. package/dist/esm/{insurance-state-qTdpe84i.js → insurance-state-CLGc1-_4.js} +1 -1
  172. package/dist/esm/internal-button.entry.js +3 -3
  173. package/dist/esm/justifi-apple-pay_11.entry.js +17 -18
  174. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +5 -6
  175. package/dist/esm/justifi-bank-account-form.entry.js +5 -6
  176. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  177. package/dist/esm/justifi-business-details.entry.js +10 -11
  178. package/dist/esm/justifi-business-form.entry.js +15 -17
  179. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  180. package/dist/esm/justifi-card-form.entry.js +5 -6
  181. package/dist/esm/justifi-checkout.entry.js +5 -6
  182. package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -5
  183. package/dist/esm/justifi-checkouts-list.entry.js +190 -27
  184. package/dist/esm/justifi-details.entry.js +2 -2
  185. package/dist/esm/justifi-dispute-management.entry.js +64 -17
  186. package/dist/esm/justifi-gross-payment-chart.entry.js +11071 -23
  187. package/dist/esm/justifi-order-terminals.entry.js +11 -12
  188. package/dist/esm/justifi-payment-details.entry.js +20 -21
  189. package/dist/esm/justifi-payment-provisioning.entry.js +11 -12
  190. package/dist/esm/justifi-payment-transactions-list.entry.js +10 -11
  191. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  192. package/dist/esm/justifi-payments-list.entry.js +12 -13
  193. package/dist/esm/justifi-payout-details.entry.js +15 -16
  194. package/dist/esm/justifi-payout-transactions-list.entry.js +10 -11
  195. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -5
  196. package/dist/esm/justifi-payouts-list.entry.js +13 -14
  197. package/dist/esm/justifi-refund-payment.entry.js +11 -12
  198. package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
  199. package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -9
  200. package/dist/esm/justifi-skeleton.entry.js +3 -3
  201. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -6
  202. package/dist/esm/justifi-terminal-orders-list.entry.js +175 -21
  203. package/dist/esm/justifi-terminals-list-filters.entry.js +3 -4
  204. package/dist/esm/justifi-terminals-list.entry.js +12 -13
  205. package/dist/esm/loader.js +1 -1
  206. package/dist/esm/{package-beXEDfB9.js → package-OGt0dCJl.js} +1 -1
  207. package/dist/esm/pagination-menu.entry.js +1 -1
  208. package/dist/esm/{parts-DnrawQn3.js → parts-CPKMvyV_.js} +1 -1
  209. package/dist/esm/payment-method-option.entry.js +2 -2
  210. package/dist/esm/{payment-provisioning-actions-Dr0YIShV.js → payment-provisioning-actions-cl5xIYnF.js} +2 -2
  211. package/dist/esm/payment-provisioning-form-buttons_2.entry.js +2 -2
  212. package/dist/esm/{payment-provisioning-loading-DI2wDkhm.js → payment-provisioning-loading-Dve2xQA4.js} +1 -1
  213. package/dist/esm/{payment.service-Ckbb7gXA.js → payment.service-5_u-UzTY.js} +1 -2
  214. package/dist/esm/{payments-status-BIDoGw-m.js → payments-status-BlVUt4C1.js} +1 -1
  215. package/dist/esm/{payout.service-BgFKxEoL.js → payout.service-D2zS5y8N.js} +1 -2
  216. package/dist/esm/{payouts-status-1T2NZBoE.js → payouts-status-DCjCGTaa.js} +3 -3
  217. package/dist/esm/{plaid.service-BLguQHs_.js → plaid.service-BiJ65YG8.js} +1 -2
  218. package/dist/esm/radio-list-item.entry.js +2 -2
  219. package/dist/esm/{schema-validations-v6WGlZkq.js → schema-validations-u9_XnlUL.js} +2 -2
  220. package/dist/esm/{skeleton-CXGFVqDf.js → skeleton-BEHo2ypu.js} +1 -1
  221. package/dist/esm/{spinner-kSw6PcwU.js → spinner-DIiQZd6_.js} +1 -1
  222. package/dist/esm/{table-CcyuIutB.js → table-DqGfsdys.js} +3 -3
  223. package/dist/esm/table-filters-menu.entry.js +3 -3
  224. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  225. package/dist/esm/{terminal.service-0oISl5j-.js → terminal.service-CIxDfM7V.js} +1 -2
  226. package/dist/esm/{utils-DcfpJGDZ.js → utils-C1B2hVAB.js} +1 -1
  227. package/dist/esm/{utils-BxYS3WDw.js → utils-CX6puxwf.js} +1 -1
  228. package/dist/esm/webcomponents.js +1 -1
  229. package/dist/module/Plaid.js +2 -2
  230. package/dist/module/{justifi-refund-policy.d.ts → additional-statement.d.ts} +4 -4
  231. package/dist/module/additional-statement.js +6 -0
  232. package/dist/module/{justifi-additional-statement2.js → additional-statement2.js} +8 -8
  233. package/dist/module/badge.js +1 -1
  234. package/dist/module/bank-account-billing-form-simple2.js +1 -1
  235. package/dist/module/billing-form-full2.js +1 -1
  236. package/dist/module/business-bank-account-form-step2.js +1 -1
  237. package/dist/module/business-owners-form-step2.js +20 -26
  238. package/dist/module/button.js +1 -1
  239. package/dist/module/cancellation-policy.d.ts +11 -0
  240. package/dist/module/cancellation-policy.js +6 -0
  241. package/dist/module/{justifi-cancellation-policy2.js → cancellation-policy2.js} +8 -8
  242. package/dist/module/card-billing-form-simple2.js +1 -1
  243. package/dist/module/custom-popper2.js +2 -2
  244. package/dist/module/{checkouts-list-core.d.ts → customer-details.d.ts} +4 -4
  245. package/dist/module/customer-details.js +6 -0
  246. package/dist/module/{justifi-customer-details2.js → customer-details2.js} +8 -8
  247. package/dist/module/dispute-notification.d.ts +11 -0
  248. package/dist/module/dispute-notification.js +6 -0
  249. package/dist/module/dispute-notification2.js +82 -0
  250. package/dist/module/dispute-response.d.ts +11 -0
  251. package/dist/module/dispute-response.js +6 -0
  252. package/dist/module/{dispute-response-core.js → dispute-response2.js} +105 -53
  253. package/dist/module/duplicate-charge.d.ts +11 -0
  254. package/dist/module/duplicate-charge.js +6 -0
  255. package/dist/module/{justifi-duplicate-charge2.js → duplicate-charge2.js} +8 -8
  256. package/dist/module/electronic-evidence.d.ts +11 -0
  257. package/dist/module/electronic-evidence.js +6 -0
  258. package/dist/module/{justifi-electronic-evidence2.js → electronic-evidence2.js} +8 -8
  259. package/dist/module/event-types3.js +119 -1
  260. package/dist/module/form-alert2.js +1 -1
  261. package/dist/module/form-control-date2.js +2 -2
  262. package/dist/module/form-control-file-v22.js +1 -1
  263. package/dist/module/form-control-file2.js +2 -2
  264. package/dist/module/form-control-monetary2.js +2 -2
  265. package/dist/module/form-control-number-masked2.js +2 -2
  266. package/dist/module/form-control-number2.js +3 -3
  267. package/dist/module/form-control-radio2.js +2 -2
  268. package/dist/module/form-control-select2.js +2 -2
  269. package/dist/module/form-control-text2.js +2 -2
  270. package/dist/module/form-control-textarea2.js +3 -3
  271. package/dist/module/get-payment-details.js +1 -1
  272. package/dist/module/hidden-input2.js +2 -2
  273. package/dist/module/iframe-input2.js +4 -4
  274. package/dist/module/internal-button2.js +1 -1
  275. package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
  276. package/dist/module/justifi-bank-account-form.js +1 -1
  277. package/dist/module/justifi-billing-form-full.js +1 -1
  278. package/dist/module/justifi-button2.js +1 -1
  279. package/dist/module/justifi-card-billing-form-simple.js +1 -1
  280. package/dist/module/justifi-card-form.js +1 -1
  281. package/dist/module/justifi-checkout-summary2.js +1 -1
  282. package/dist/module/justifi-checkouts-list-filters.js +3 -3
  283. package/dist/module/justifi-checkouts-list.js +197 -28
  284. package/dist/module/justifi-dispute-management.js +103 -62
  285. package/dist/module/justifi-gross-payment-chart.js +11074 -24
  286. package/dist/module/justifi-header2.js +1 -1
  287. package/dist/module/justifi-modular-checkout2.js +2 -2
  288. package/dist/module/justifi-order-terminals.js +4 -4
  289. package/dist/module/justifi-payment-details.js +9 -9
  290. package/dist/module/justifi-payment-provisioning.js +53 -59
  291. package/dist/module/justifi-payment-transactions-list.js +2 -2
  292. package/dist/module/justifi-payments-list-filters.js +2 -2
  293. package/dist/module/justifi-payments-list.js +2 -2
  294. package/dist/module/justifi-payout-details.js +4 -4
  295. package/dist/module/justifi-payout-transactions-list.js +2 -2
  296. package/dist/module/justifi-payouts-list-filters.js +3 -3
  297. package/dist/module/justifi-payouts-list.js +2 -2
  298. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  299. package/dist/module/justifi-skeleton.js +1 -1
  300. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  301. package/dist/module/justifi-terminal-orders-list.js +184 -22
  302. package/dist/module/justifi-terminals-list-filters.js +2 -2
  303. package/dist/module/justifi-terminals-list.js +3 -3
  304. package/dist/module/justifi-tokenize-payment-method2.js +1 -1
  305. package/dist/module/owner-form-inputs2.js +2 -2
  306. package/dist/module/owner-form2.js +177 -33
  307. package/dist/module/package.js +1 -1
  308. package/dist/module/pagination-menu2.js +1 -1
  309. package/dist/module/parts.js +1 -1
  310. package/dist/module/payment-method-option.js +1 -1
  311. package/dist/module/payment-provisioning-form-steps2.js +52 -58
  312. package/dist/module/product-or-service.d.ts +11 -0
  313. package/dist/module/product-or-service.js +6 -0
  314. package/dist/module/{justifi-product-or-service2.js → product-or-service2.js} +8 -8
  315. package/dist/module/radio-list-item2.js +1 -1
  316. package/dist/module/{owner-form-core.d.ts → refund-policy.d.ts} +4 -4
  317. package/dist/module/refund-policy.js +6 -0
  318. package/dist/module/{justifi-refund-policy2.js → refund-policy2.js} +8 -8
  319. package/dist/module/shipping-details.d.ts +11 -0
  320. package/dist/module/shipping-details.js +6 -0
  321. package/dist/module/{justifi-shipping-details2.js → shipping-details2.js} +8 -8
  322. package/dist/module/spinner.js +1 -1
  323. package/dist/module/table-filters-menu2.js +1 -1
  324. package/dist/module/terminal-quantity-selector2.js +1 -1
  325. package/dist/module/utils2.js +1 -1
  326. package/dist/types/api/Terminal.d.ts +1 -1
  327. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +69 -5
  328. package/dist/types/components/checkouts-list/justifi-checkouts-list.d.ts +28 -6
  329. package/dist/types/components/dispute-management/{justifi-dispute-notification.d.ts → dispute-notification.d.ts} +1 -1
  330. package/dist/types/components/dispute-management/dispute-response/{justifi-additional-statement.d.ts → additional-statement.d.ts} +1 -1
  331. package/dist/types/components/dispute-management/dispute-response/{justifi-cancellation-policy.d.ts → cancellation-policy.d.ts} +1 -1
  332. package/dist/types/components/dispute-management/dispute-response/{justifi-customer-details.d.ts → customer-details.d.ts} +1 -1
  333. package/dist/types/components/dispute-management/dispute-response/{dispute-response-core.d.ts → dispute-response.d.ts} +21 -10
  334. package/dist/types/components/dispute-management/dispute-response/{justifi-duplicate-charge.d.ts → duplicate-charge.d.ts} +1 -1
  335. package/dist/types/components/dispute-management/dispute-response/{justifi-electronic-evidence.d.ts → electronic-evidence.d.ts} +1 -1
  336. package/dist/types/components/dispute-management/dispute-response/{justifi-product-or-service.d.ts → product-or-service.d.ts} +1 -1
  337. package/dist/types/components/dispute-management/dispute-response/{justifi-refund-policy.d.ts → refund-policy.d.ts} +1 -1
  338. package/dist/types/components/dispute-management/dispute-response/{justifi-shipping-details.d.ts → shipping-details.d.ts} +1 -1
  339. package/dist/types/components/dispute-management/justifi-dispute-management.d.ts +10 -2
  340. package/dist/types/components/gross-payment-chart/justifi-gross-payment-chart.d.ts +13 -2
  341. package/dist/types/components/terminal-orders-list/justifi-terminal-orders-list.d.ts +21 -3
  342. package/dist/types/components.d.ts +304 -551
  343. package/dist/webcomponents/p-0708cb76.entry.js +1 -0
  344. package/dist/webcomponents/p-07236291.entry.js +1 -0
  345. package/dist/webcomponents/p-12ae030d.entry.js +1 -0
  346. package/dist/webcomponents/p-215c6b6b.entry.js +1 -0
  347. package/dist/webcomponents/{p-256c5509.entry.js → p-22d19755.entry.js} +1 -1
  348. package/dist/webcomponents/{p-2425a375.entry.js → p-2dfdecbb.entry.js} +1 -1
  349. package/dist/webcomponents/p-31452258.entry.js +1 -0
  350. package/dist/webcomponents/p-35dd1fc0.entry.js +1 -0
  351. package/dist/webcomponents/{p-4d21df48.entry.js → p-383b8317.entry.js} +1 -1
  352. package/dist/webcomponents/{p-1e877e0a.entry.js → p-3d6b9434.entry.js} +1 -1
  353. package/dist/webcomponents/p-3f5e9afb.entry.js +1 -0
  354. package/dist/webcomponents/p-45c0fb53.entry.js +1 -0
  355. package/dist/webcomponents/p-46477dfe.entry.js +1 -0
  356. package/dist/webcomponents/{p-31e74a5a.entry.js → p-49a4123c.entry.js} +1 -1
  357. package/dist/webcomponents/{p-befe01ef.entry.js → p-49c13952.entry.js} +1 -1
  358. package/dist/webcomponents/p-4ccf9cd7.entry.js +1 -0
  359. package/dist/webcomponents/p-4ec433f4.entry.js +1 -0
  360. package/dist/webcomponents/p-58b5e08e.entry.js +1 -0
  361. package/dist/webcomponents/p-5G1OMxZz.js +1 -0
  362. package/dist/webcomponents/{p-8253ef9f.entry.js → p-605bd107.entry.js} +1 -1
  363. package/dist/webcomponents/p-6220a384.entry.js +1 -0
  364. package/dist/webcomponents/p-63b7abf3.entry.js +1 -0
  365. package/dist/webcomponents/p-69fdd137.entry.js +1 -0
  366. package/dist/webcomponents/p-6RTf1SXX.js +1 -0
  367. package/dist/webcomponents/{p-3c046adc.entry.js → p-70dcd833.entry.js} +1 -1
  368. package/dist/webcomponents/p-7119fddd.entry.js +1 -0
  369. package/dist/webcomponents/p-7ebed752.entry.js +1 -0
  370. package/dist/webcomponents/p-8964f4ca.entry.js +1 -0
  371. package/dist/webcomponents/p-89cd31f2.entry.js +1 -0
  372. package/dist/webcomponents/p-8aa53ef2.entry.js +1 -0
  373. package/dist/webcomponents/p-8d173a7c.entry.js +1 -0
  374. package/dist/webcomponents/p-9153c121.entry.js +1 -0
  375. package/dist/webcomponents/p-91aef5bf.entry.js +1 -0
  376. package/dist/webcomponents/p-9b944aa4.entry.js +1 -0
  377. package/dist/webcomponents/p-9d021e10.entry.js +1 -0
  378. package/dist/webcomponents/{p-bc2af6b4.entry.js → p-9fc7714d.entry.js} +1 -1
  379. package/dist/webcomponents/{p-CR_-qIuN.js → p-APOabprT.js} +1 -1
  380. package/dist/webcomponents/p-Aacb4jqT.js +1 -0
  381. package/dist/webcomponents/p-B5gBiARs.js +1 -0
  382. package/dist/webcomponents/{p-bn_huKYG.js → p-BICxxa69.js} +1 -1
  383. package/dist/webcomponents/p-BJu1-9kE.js +1 -0
  384. package/dist/webcomponents/{p-Cej-1bD6.js → p-BXyADlAH.js} +1 -1
  385. package/dist/webcomponents/p-Ba8jdOkX.js +1 -0
  386. package/dist/webcomponents/p-BxKbnILQ.js +1 -0
  387. package/dist/webcomponents/{p-2LVpxCS_.js → p-CHo7TfsM.js} +1 -1
  388. package/dist/webcomponents/p-CHw7tICr.js +1 -0
  389. package/dist/webcomponents/{p-DnrawQn3.js → p-CPKMvyV_.js} +1 -1
  390. package/dist/webcomponents/p-Ce_W43gc.js +1 -0
  391. package/dist/webcomponents/{p-B5vVjDc_.js → p-Cm9f5fyh.js} +1 -1
  392. package/dist/webcomponents/p-CqiVXthx.js +1 -0
  393. package/dist/webcomponents/{p-x9fFFf7F.js → p-Cu7hgXL1.js} +1 -1
  394. package/dist/webcomponents/p-Cz_7BuGW.js +1 -0
  395. package/dist/webcomponents/p-D-zwk1J3.js +1 -0
  396. package/dist/webcomponents/{p-D1D2eC05.js → p-D1_eip6x.js} +1 -1
  397. package/dist/webcomponents/p-DSclFZ32.js +1 -0
  398. package/dist/webcomponents/p-DYHjzFnJ.js +1 -0
  399. package/dist/webcomponents/p-Dk26hk5T.js +1 -0
  400. package/dist/webcomponents/{p-CKiAlBsU.js → p-DwoT0UoX.js} +1 -1
  401. package/dist/webcomponents/{p-_-2E_vYf.js → p-DyucNSA4.js} +1 -1
  402. package/dist/webcomponents/p-KXLYEe1D.js +1 -0
  403. package/dist/webcomponents/p-NZS8uCtH.js +1 -0
  404. package/dist/webcomponents/p-OGt0dCJl.js +1 -0
  405. package/dist/webcomponents/p-a1dcdc8b.entry.js +20 -0
  406. package/dist/webcomponents/{p-10be75b8.entry.js → p-a80f69a9.entry.js} +1 -1
  407. package/dist/webcomponents/{p-9581d6a1.entry.js → p-a9695714.entry.js} +1 -1
  408. package/dist/webcomponents/{p-c9e1df15.entry.js → p-ae91fc9b.entry.js} +1 -1
  409. package/dist/webcomponents/p-av6jyzyC.js +1 -0
  410. package/dist/webcomponents/p-b0b6083f.entry.js +1 -0
  411. package/dist/webcomponents/p-b272a29d.entry.js +1 -0
  412. package/dist/webcomponents/p-b341efd6.entry.js +1 -0
  413. package/dist/webcomponents/{p-e6e56dbb.entry.js → p-b62ff001.entry.js} +1 -1
  414. package/dist/webcomponents/p-c1539656.entry.js +1 -0
  415. package/dist/webcomponents/p-c8f3656f.entry.js +1 -0
  416. package/dist/webcomponents/p-c9fe4f33.entry.js +1 -0
  417. package/dist/webcomponents/{p-09d2efad.entry.js → p-ca87c609.entry.js} +1 -1
  418. package/dist/webcomponents/p-cde76bf8.entry.js +1 -0
  419. package/dist/webcomponents/p-d24240a5.entry.js +1 -0
  420. package/dist/webcomponents/p-d79c5ee4.entry.js +1 -0
  421. package/dist/webcomponents/p-daaa2a99.entry.js +1 -0
  422. package/dist/webcomponents/{p-9db1444f.entry.js → p-db09f306.entry.js} +1 -1
  423. package/dist/webcomponents/{p-354fb3c4.entry.js → p-e020f003.entry.js} +1 -1
  424. package/dist/webcomponents/p-e4cb7c21.entry.js +1 -0
  425. package/dist/webcomponents/p-e5c2215a.entry.js +1 -0
  426. package/dist/webcomponents/p-ea0d7a98.entry.js +1 -0
  427. package/dist/webcomponents/p-ef85717f.entry.js +1 -0
  428. package/dist/webcomponents/p-f1b9cbf0.entry.js +1 -0
  429. package/dist/webcomponents/p-f30069ea.entry.js +1 -0
  430. package/dist/webcomponents/p-f3ff7e00.entry.js +1 -0
  431. package/dist/webcomponents/p-f9aafb21.entry.js +1 -0
  432. package/dist/webcomponents/p-fE5A37L5.js +1 -0
  433. package/dist/webcomponents/p-jIDKmNHy.js +1 -0
  434. package/dist/webcomponents/{p-DgH-jcIo.js → p-mF5zKtkx.js} +1 -1
  435. package/dist/webcomponents/p-nb_LhbJq.js +1 -0
  436. package/dist/webcomponents/p-oTtn8xDw.js +1 -0
  437. package/dist/webcomponents/p-uZ5KAseb.js +1 -0
  438. package/dist/webcomponents/webcomponents.esm.js +1 -1
  439. package/package.json +1 -1
  440. package/dist/cjs/Dispute-CruQTF6_.js +0 -59
  441. package/dist/cjs/business-additional-questions-schema-CI80eZLJ.js +0 -73
  442. package/dist/cjs/checkouts-list-core.cjs.entry.js +0 -146
  443. package/dist/cjs/checkouts-table-CCxrsy0x.js +0 -55
  444. package/dist/cjs/dispute.service-BbtwY673.js +0 -32
  445. package/dist/cjs/form-control-number_3.cjs.entry.js +0 -249
  446. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +0 -11075
  447. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +0 -61
  448. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +0 -108
  449. package/dist/cjs/terminal-orders-table-Cz6qvzVE.js +0 -83
  450. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +0 -523
  451. package/dist/collection/components/checkouts-list/checkouts-list-core.js +0 -262
  452. package/dist/collection/components/dispute-management/dispute-management-core.js +0 -169
  453. package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +0 -190
  454. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +0 -139
  455. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +0 -199
  456. package/dist/esm/Dispute-BH0Xfn-F.js +0 -57
  457. package/dist/esm/business-additional-questions-schema-DKudYaoE.js +0 -69
  458. package/dist/esm/business-identity-schema-CFhSc0cA.js +0 -99
  459. package/dist/esm/checkouts-list-core.entry.js +0 -144
  460. package/dist/esm/checkouts-table-C8sPHeTm.js +0 -51
  461. package/dist/esm/dispute.service-vlYGy0nR.js +0 -30
  462. package/dist/esm/form-control-number_3.entry.js +0 -245
  463. package/dist/esm/gross-payment-chart-core.entry.js +0 -11073
  464. package/dist/esm/justifi-dispute-management-core.entry.js +0 -59
  465. package/dist/esm/terminal-orders-list-core.entry.js +0 -106
  466. package/dist/esm/terminal-orders-table-C7KOcRpq.js +0 -79
  467. package/dist/module/checkouts-list-core.js +0 -6
  468. package/dist/module/checkouts-list-core2.js +0 -227
  469. package/dist/module/dispute-management-core.js +0 -193
  470. package/dist/module/dispute-response-actions.js +0 -119
  471. package/dist/module/gross-payment-chart-core.d.ts +0 -11
  472. package/dist/module/gross-payment-chart-core.js +0 -6
  473. package/dist/module/gross-payment-chart-core2.js +0 -11096
  474. package/dist/module/justifi-additional-statement.d.ts +0 -11
  475. package/dist/module/justifi-additional-statement.js +0 -6
  476. package/dist/module/justifi-cancellation-policy.d.ts +0 -11
  477. package/dist/module/justifi-cancellation-policy.js +0 -6
  478. package/dist/module/justifi-customer-details.d.ts +0 -11
  479. package/dist/module/justifi-customer-details.js +0 -6
  480. package/dist/module/justifi-dispute-management-core.d.ts +0 -11
  481. package/dist/module/justifi-dispute-management-core.js +0 -6
  482. package/dist/module/justifi-dispute-notification.d.ts +0 -11
  483. package/dist/module/justifi-dispute-notification.js +0 -6
  484. package/dist/module/justifi-dispute-notification2.js +0 -85
  485. package/dist/module/justifi-dispute-response-core.d.ts +0 -11
  486. package/dist/module/justifi-dispute-response-core.js +0 -6
  487. package/dist/module/justifi-dispute-response.d.ts +0 -11
  488. package/dist/module/justifi-dispute-response.js +0 -6
  489. package/dist/module/justifi-dispute-response2.js +0 -198
  490. package/dist/module/justifi-duplicate-charge.d.ts +0 -11
  491. package/dist/module/justifi-duplicate-charge.js +0 -6
  492. package/dist/module/justifi-electronic-evidence.d.ts +0 -11
  493. package/dist/module/justifi-electronic-evidence.js +0 -6
  494. package/dist/module/justifi-product-or-service.d.ts +0 -11
  495. package/dist/module/justifi-product-or-service.js +0 -6
  496. package/dist/module/justifi-refund-policy.js +0 -6
  497. package/dist/module/justifi-shipping-details.d.ts +0 -11
  498. package/dist/module/justifi-shipping-details.js +0 -6
  499. package/dist/module/owner-form-core.js +0 -6
  500. package/dist/module/owner-form-core2.js +0 -262
  501. package/dist/module/terminal-orders-list-core.d.ts +0 -11
  502. package/dist/module/terminal-orders-list-core.js +0 -6
  503. package/dist/module/terminal-orders-list-core2.js +0 -209
  504. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +0 -88
  505. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +0 -34
  506. package/dist/types/components/dispute-management/dispute-management-core.d.ts +0 -18
  507. package/dist/types/components/dispute-management/dispute-response/justifi-dispute-response.d.ts +0 -35
  508. package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +0 -21
  509. package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +0 -28
  510. package/dist/webcomponents/p--e0ff06z.js +0 -1
  511. package/dist/webcomponents/p-032b4553.entry.js +0 -1
  512. package/dist/webcomponents/p-042daaf8.entry.js +0 -1
  513. package/dist/webcomponents/p-0638f0bd.entry.js +0 -1
  514. package/dist/webcomponents/p-0b3f4f22.entry.js +0 -1
  515. package/dist/webcomponents/p-1c4f5f1d.entry.js +0 -1
  516. package/dist/webcomponents/p-1e8135f0.entry.js +0 -1
  517. package/dist/webcomponents/p-24935254.entry.js +0 -1
  518. package/dist/webcomponents/p-2a755daf.entry.js +0 -1
  519. package/dist/webcomponents/p-3488951f.entry.js +0 -1
  520. package/dist/webcomponents/p-437a99dc.entry.js +0 -1
  521. package/dist/webcomponents/p-49c0cd3a.entry.js +0 -1
  522. package/dist/webcomponents/p-50f5e313.entry.js +0 -1
  523. package/dist/webcomponents/p-52908814.entry.js +0 -1
  524. package/dist/webcomponents/p-587886f1.entry.js +0 -1
  525. package/dist/webcomponents/p-5ef355ce.entry.js +0 -1
  526. package/dist/webcomponents/p-5ef854e0.entry.js +0 -1
  527. package/dist/webcomponents/p-67498c25.entry.js +0 -1
  528. package/dist/webcomponents/p-6917aa3c.entry.js +0 -1
  529. package/dist/webcomponents/p-6d81822f.entry.js +0 -1
  530. package/dist/webcomponents/p-6f0c582a.entry.js +0 -1
  531. package/dist/webcomponents/p-80652cf8.entry.js +0 -1
  532. package/dist/webcomponents/p-82fe02e4.entry.js +0 -1
  533. package/dist/webcomponents/p-83147f23.entry.js +0 -1
  534. package/dist/webcomponents/p-8c2427ed.entry.js +0 -1
  535. package/dist/webcomponents/p-92de00d7.entry.js +0 -1
  536. package/dist/webcomponents/p-94306884.entry.js +0 -1
  537. package/dist/webcomponents/p-9937e2e7.entry.js +0 -1
  538. package/dist/webcomponents/p-9dca1331.entry.js +0 -1
  539. package/dist/webcomponents/p-9f74d7ea.entry.js +0 -1
  540. package/dist/webcomponents/p-B--N37zY.js +0 -1
  541. package/dist/webcomponents/p-BH0Xfn-F.js +0 -1
  542. package/dist/webcomponents/p-Bg2SZArf.js +0 -1
  543. package/dist/webcomponents/p-BovgIz83.js +0 -1
  544. package/dist/webcomponents/p-BsQy297i.js +0 -1
  545. package/dist/webcomponents/p-CDf5H0TB.js +0 -1
  546. package/dist/webcomponents/p-CUI41_5y.js +0 -1
  547. package/dist/webcomponents/p-CX36GHQP.js +0 -1
  548. package/dist/webcomponents/p-Cf6HoQKl.js +0 -1
  549. package/dist/webcomponents/p-CsdYMTrc.js +0 -1
  550. package/dist/webcomponents/p-D4OlsyTo.js +0 -1
  551. package/dist/webcomponents/p-D8EGHc_m.js +0 -1
  552. package/dist/webcomponents/p-DPmnGTmg.js +0 -1
  553. package/dist/webcomponents/p-DWevPe7C.js +0 -1
  554. package/dist/webcomponents/p-Dbg501Lu.js +0 -1
  555. package/dist/webcomponents/p-DcBvJu0k.js +0 -1
  556. package/dist/webcomponents/p-DkdzUTnl.js +0 -1
  557. package/dist/webcomponents/p-HT_4DkD0.js +0 -1
  558. package/dist/webcomponents/p-MDZuGvsl.js +0 -1
  559. package/dist/webcomponents/p-XrKLre8M.js +0 -1
  560. package/dist/webcomponents/p-a75d76ff.entry.js +0 -1
  561. package/dist/webcomponents/p-a7778957.entry.js +0 -1
  562. package/dist/webcomponents/p-a9d7cdae.entry.js +0 -1
  563. package/dist/webcomponents/p-b060a9c9.entry.js +0 -1
  564. package/dist/webcomponents/p-b06910b0.entry.js +0 -1
  565. package/dist/webcomponents/p-b483e71b.entry.js +0 -1
  566. package/dist/webcomponents/p-bdf21f71.entry.js +0 -1
  567. package/dist/webcomponents/p-be5d1005.entry.js +0 -1
  568. package/dist/webcomponents/p-beXEDfB9.js +0 -1
  569. package/dist/webcomponents/p-bfe2583d.entry.js +0 -1
  570. package/dist/webcomponents/p-c09fccd3.entry.js +0 -1
  571. package/dist/webcomponents/p-c827cbc9.entry.js +0 -1
  572. package/dist/webcomponents/p-cc5b7c27.entry.js +0 -1
  573. package/dist/webcomponents/p-d878df6c.entry.js +0 -1
  574. package/dist/webcomponents/p-ddf699e6.entry.js +0 -20
  575. package/dist/webcomponents/p-e0b3735f.entry.js +0 -1
  576. package/dist/webcomponents/p-ea30cf08.entry.js +0 -1
  577. package/dist/webcomponents/p-edf5a854.entry.js +0 -1
  578. package/dist/webcomponents/p-ef89824b.entry.js +0 -1
  579. package/dist/webcomponents/p-fc7ba195.entry.js +0 -1
  580. package/dist/webcomponents/p-hhdRync5.js +0 -1
  581. package/dist/webcomponents/p-niGr4RT2.js +0 -1
  582. package/dist/webcomponents/p-pL4dNfsl.js +0 -1
  583. package/dist/webcomponents/p-qcQTYcr3.js +0 -1
  584. package/dist/webcomponents/p-qrNmDp6K.js +0 -1
  585. package/dist/webcomponents/p-uCg79W3M.js +0 -1
  586. package/dist/webcomponents/p-zi3ljCdQ.js +0 -1
@@ -1,14 +1,14 @@
1
1
  import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
2
- import { E as ErrorState } from './utils-BxYS3WDw.js';
3
- import { B as BusinessService } from './business.service-BPbZ5fxQ.js';
4
- import { m as makeGetBusiness } from './get-business-DIpEbczl.js';
5
- import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-BuKEVgbB.js';
6
- import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
7
- import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
2
+ import { E as ErrorState } from './utils-CX6puxwf.js';
3
+ import { B as BusinessService } from './business.service-C31wbMVs.js';
4
+ import { m as makeGetBusiness } from './get-business-Gg6qn5on.js';
5
+ import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
6
+ import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
7
+ import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
8
8
  import { S as StyledHost } from './styled-host-D6byRazK.js';
9
9
  import './event-types-CZfYo5-1.js';
10
- import { S as Skeleton } from './skeleton-CXGFVqDf.js';
11
- import './parts-DnrawQn3.js';
10
+ import { S as Skeleton } from './skeleton-BEHo2ypu.js';
11
+ import './parts-CPKMvyV_.js';
12
12
  import './Api-DMd8hTI-.js';
13
13
  import './config-state-kKn89dp1.js';
14
14
  import './index-cDVGjRkU.js';
@@ -16,9 +16,8 @@ import './utils-BTtxWI2r.js';
16
16
  import './dinero-HXpYMWUU.js';
17
17
  import './Pagination-CLHwhyvu.js';
18
18
  import './Business-BcNb9bVO.js';
19
- import './Dispute-BH0Xfn-F.js';
20
- import './utils-DcfpJGDZ.js';
21
- import './package-beXEDfB9.js';
19
+ import './utils-C1B2hVAB.js';
20
+ import './package-OGt0dCJl.js';
22
21
 
23
22
  const BusinessDetailsLoading = () => {
24
23
  const Block = () => (h("div", { class: "mt-5" }, h(Skeleton, { width: "40%", height: "1.5rem" }), h("hr", null), h("div", { class: "row g-3" }, h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)), h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)))));
@@ -1,33 +1,31 @@
1
1
  import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
2
- import { c as create$3, F as FormController } from './index.esm-BHdVU4hV.js';
3
- import { b as businessCoreInfoSchemaUSA, a as additionalQuestionsSchema, c as businessCoreInfoSchemaCAN } from './business-additional-questions-schema-DKudYaoE.js';
4
- import { i as identitySchemaUSA, a as addressSchemaUSA, b as identitySchemaCAN, c as addressSchemaCAN } from './business-identity-schema-CFhSc0cA.js';
2
+ import { a as create$3, F as FormController } from './index.esm-CgNcFueq.js';
3
+ import { b as businessCoreInfoSchemaUSA, i as identitySchemaUSA, a as additionalQuestionsSchema, c as addressSchemaUSA, d as businessCoreInfoSchemaCAN, e as identitySchemaCAN, f as addressSchemaCAN } from './business-identity-schema-D-Nk9aGV.js';
5
4
  import './config-state-kKn89dp1.js';
6
5
  import './dinero-HXpYMWUU.js';
7
- import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-BuKEVgbB.js';
6
+ import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
8
7
  import './Pagination-CLHwhyvu.js';
9
8
  import { C as CountryCode, B as Business, b as BusinessFormServerErrors } from './Business-BcNb9bVO.js';
10
- import './Dispute-BH0Xfn-F.js';
11
- import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
12
- import { B as Button } from './button-DRdaAudE.js';
9
+ import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
10
+ import { B as Button } from './button-BvzOzV4l.js';
13
11
  import { S as StyledHost } from './styled-host-D6byRazK.js';
14
- import { H as Header1 } from './header-1-Bl7MHW0w.js';
12
+ import { H as Header1 } from './header-1-evYxFIGN.js';
15
13
  import './event-types-CZfYo5-1.js';
16
- import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
17
- import { S as Skeleton } from './skeleton-CXGFVqDf.js';
14
+ import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
15
+ import { S as Skeleton } from './skeleton-BEHo2ypu.js';
18
16
  import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
19
- import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions-Dr0YIShV.js';
20
- import { B as BusinessService } from './business.service-BPbZ5fxQ.js';
17
+ import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions-cl5xIYnF.js';
18
+ import { B as BusinessService } from './business.service-C31wbMVs.js';
21
19
  import './_commonjsHelpers-BFTU3MAI.js';
22
- import './schema-validations-v6WGlZkq.js';
23
- import './country-config-P042rrI3.js';
20
+ import './schema-validations-u9_XnlUL.js';
21
+ import './country-config-B_fuF6JU.js';
24
22
  import './business-form-options-DRalxlqN.js';
25
23
  import './index-cDVGjRkU.js';
26
24
  import './utils-BTtxWI2r.js';
27
- import './package-beXEDfB9.js';
25
+ import './package-OGt0dCJl.js';
28
26
  import './Api-DMd8hTI-.js';
29
- import './parts-DnrawQn3.js';
30
- import './utils-DcfpJGDZ.js';
27
+ import './parts-CPKMvyV_.js';
28
+ import './utils-C1B2hVAB.js';
31
29
 
32
30
  const businessFormSchemaUSA = create$3(Object.assign(Object.assign({}, businessCoreInfoSchemaUSA().fields), { legal_address: addressSchemaUSA(), additional_questions: additionalQuestionsSchema(), representative: identitySchemaUSA('representative') }));
33
31
  create$3(Object.assign(Object.assign({}, businessCoreInfoSchemaCAN().fields), { legal_address: addressSchemaCAN(), additional_questions: additionalQuestionsSchema(), representative: identitySchemaCAN('representative') }));
@@ -15,7 +15,7 @@ const JustifiCardBillingFormSimple = class {
15
15
  return (_b = (_a = this.cardBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
16
16
  }
17
17
  render() {
18
- return (h(StyledHost, { key: '958a6f3085b8ec0eb3d978de7100049576485b2b' }, h("card-billing-form-simple", { key: 'a98e775d5a4585d4e3ef32353af0f724a6d442a1', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
18
+ return (h(StyledHost, { key: '1e25de93c795dd6c8ec2979918a5b10389a55354' }, h("card-billing-form-simple", { key: 'd9db1793b83e5fa216f72bfe7803d968ee499ac7', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
19
19
  }
20
20
  };
21
21
 
@@ -1,15 +1,14 @@
1
1
  import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
- import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
3
- import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
2
+ import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
3
+ import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
4
4
  import { w as waitForConfig } from './config-state-kKn89dp1.js';
5
5
  import { S as StyledHost } from './styled-host-D6byRazK.js';
6
6
  import './event-types-CZfYo5-1.js';
7
- import './package-beXEDfB9.js';
7
+ import './package-OGt0dCJl.js';
8
8
  import './Api-DMd8hTI-.js';
9
9
  import './utils-BTtxWI2r.js';
10
10
  import './dinero-HXpYMWUU.js';
11
- import './Plaid-BuKEVgbB.js';
12
- import './Dispute-BH0Xfn-F.js';
11
+ import './Plaid-l6nNIjab.js';
13
12
  import './Pagination-CLHwhyvu.js';
14
13
  import './Business-BcNb9bVO.js';
15
14
  import './index-cDVGjRkU.js';
@@ -34,7 +33,7 @@ const JustifiCardForm = class {
34
33
  return this.cardFormElement.tokenize({ clientId, paymentMethodMetadata, account });
35
34
  }
36
35
  render() {
37
- return (h(StyledHost, { key: 'd4c6ec37fc92036326c7a20b5a6ff189880ad6f5' }, h("card-form", { key: '8411003a749dc97a953874601e676beaf5bc4a6d', ref: (el) => (this.cardFormElement = el) })));
36
+ return (h(StyledHost, { key: 'c571f41c79f46143bbee7063a05f8b973b7732d0' }, h("card-form", { key: 'a70c853efeddcedd71343208ab29d89231b6c8fa', ref: (el) => (this.cardFormElement = el) })));
38
37
  }
39
38
  };
40
39
 
@@ -1,19 +1,18 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
2
- import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
3
- import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
2
+ import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
3
+ import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
4
4
  import { c as checkoutStore } from './checkout.store-DFnkcDZ8.js';
5
- import { c as checkoutSummary } from './parts-DnrawQn3.js';
5
+ import { c as checkoutSummary } from './parts-CPKMvyV_.js';
6
6
  import { S as StyledHost } from './styled-host-D6byRazK.js';
7
7
  import './event-types-CZfYo5-1.js';
8
8
  import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
9
- import './package-beXEDfB9.js';
9
+ import './package-OGt0dCJl.js';
10
10
  import './Api-DMd8hTI-.js';
11
11
  import './config-state-kKn89dp1.js';
12
12
  import './index-cDVGjRkU.js';
13
13
  import './utils-BTtxWI2r.js';
14
14
  import './dinero-HXpYMWUU.js';
15
- import './Plaid-BuKEVgbB.js';
16
- import './Dispute-BH0Xfn-F.js';
15
+ import './Plaid-l6nNIjab.js';
17
16
  import './Pagination-CLHwhyvu.js';
18
17
  import './Business-BcNb9bVO.js';
19
18
 
@@ -2,12 +2,11 @@ import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
2
  import { l as lodashExports } from './lodash-CrGKVSPp.js';
3
3
  import './config-state-kKn89dp1.js';
4
4
  import { c as convertToUTC, a as convertToLocal } from './utils-BTtxWI2r.js';
5
- import { I as ICheckoutStatus, a as ICheckoutPaymentModeParam } from './Plaid-BuKEVgbB.js';
5
+ import { I as ICheckoutStatus, a as ICheckoutPaymentModeParam } from './Plaid-l6nNIjab.js';
6
6
  import './Pagination-CLHwhyvu.js';
7
7
  import './Business-BcNb9bVO.js';
8
- import './Dispute-BH0Xfn-F.js';
9
8
  import { f as filterParams, p as propsParams, c as clearParams } from './checkouts-list-params-state-CiGfmyWW.js';
10
- import { f as filterMenu, a as filterParam } from './parts-DnrawQn3.js';
9
+ import { f as filterMenu, a as filterParam } from './parts-CPKMvyV_.js';
11
10
  import { S as StyledHost } from './styled-host-D6byRazK.js';
12
11
  import './event-types-CZfYo5-1.js';
13
12
  import './_commonjsHelpers-BFTU3MAI.js';
@@ -61,8 +60,8 @@ const JustifiCheckoutsListFilters = class {
61
60
  }
62
61
  render() {
63
62
  const filterMenuParams = Object.assign({}, filterParams);
64
- return (h(StyledHost, { key: '1a55c7d5e185991eeaa7b5a58c447dc229281368' }, h("table-filters-menu", { key: '0dbea29d3dc84376462d61d6c0591166b86a47e1', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '88e49e1259669f6fc20e7947858f703e8a72fcd6', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '52502aa4976f3b046d58ff8377dc1350b3e10f30', class: "p-2" }, h("form-control-text", { key: 'e4baba52dd0bd17c571c55e8b4793dc6aca37dae', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: '979bc95675a30e20c54bc501675682573a278c0a', class: "p-2" }, h("form-control-text", { key: 'af46d55904f0ed639519335212a88bf92eaa1146', name: "successful_payment_id", label: "Successful Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.successfulPaymentId || filterParams.successful_payment_id, disabled: !!this.successfulPaymentId, part: filterParam })), h("div", { key: 'aa44b5c554324653cdc4bb70fb230605f38204ca', class: "p-2" }, h("form-control-select", { key: '49a76ec2a929b76ef87e2c2098ed6bb4523b499d', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status || '', disabled: !!this.checkoutStatus, part: filterParam })), h("div", { key: '48be0da14579ea55be39dd3bb239ba4c8dd9321d', class: "p-2" }, h("form-control-select", { key: '9e3111a896e7364ad6c35997e625270ed4f239d0', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode || '', disabled: !!this.paymentMode, part: filterParam })), h("div", { key: '38a52faf33e088c3119ffabbe3b52965e4f3f896', class: "p-2" }, h("form-control-date", { key: 'a2167a3113fd736b95138cd3da14573e0ad2558f', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
65
- convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '0ae414564ad4dfc7fb84c202320d110a1bf9dc6a', class: "p-2" }, h("form-control-date", { key: 'c3130e521009eab1df12283a275459ff5f82aa75', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
63
+ return (h(StyledHost, { key: '1bb72de3ffad74d0e287f6f988f2737a94190709' }, h("table-filters-menu", { key: 'e7e1c2d657b5af5dfcf6e13b262dbd3787583206', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'df26c6a8c7ec477103995c07c079c01a4bea0729', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '6fd0f286cb30997439879d1c9b69b8ab39651a99', class: "p-2" }, h("form-control-text", { key: 'b6a070c40b1da5ea9f59c8c6f47f517181948230', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: 'f6ae07ac4b9afcb307fa6ce5ff6a0b6610169a69', class: "p-2" }, h("form-control-text", { key: 'c27c86b9a14d806bcd6d2d2a070812e31ae558ee', name: "successful_payment_id", label: "Successful Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.successfulPaymentId || filterParams.successful_payment_id, disabled: !!this.successfulPaymentId, part: filterParam })), h("div", { key: '54b26c583902c853db8709b311870c94d5332bd2', class: "p-2" }, h("form-control-select", { key: '3747bd2c6f2196a56059f36febc30057b8dc13de', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status || '', disabled: !!this.checkoutStatus, part: filterParam })), h("div", { key: '5a875750872d5446c42db9a840c3670425c46ebb', class: "p-2" }, h("form-control-select", { key: '58eff7fbca6653532540506c7cef66df0f54af38', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode || '', disabled: !!this.paymentMode, part: filterParam })), h("div", { key: 'dca10b3b14055c6c2351f4fa8f11b609625f1a26', class: "p-2" }, h("form-control-date", { key: 'bfb85e61a9ee01a1cb3c2907ad06b6d37bbdc081', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
64
+ convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '1772c182c957b053e77599935e3d61c1a66186a6', class: "p-2" }, h("form-control-date", { key: 'f7965bd4b2689359e76d3cec250bfd7eb5ba7870', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
66
65
  convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
67
66
  }
68
67
  };
@@ -1,24 +1,25 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
1
+ import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
2
2
  import './config-state-kKn89dp1.js';
3
3
  import './dinero-HXpYMWUU.js';
4
- import { f as Checkout, C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-BuKEVgbB.js';
5
- import './Pagination-CLHwhyvu.js';
4
+ import { k as Checkout, C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
5
+ import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
6
6
  import './Business-BcNb9bVO.js';
7
- import './Dispute-BH0Xfn-F.js';
8
- import { g as getErrorCode, a as getErrorMessage } from './utils-DcfpJGDZ.js';
9
- import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
10
- import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
11
- import { C as CheckoutService } from './checkout.service-CJMfFKyS.js';
12
- import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-CgDWE_5o.js';
7
+ import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
8
+ import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
9
+ import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
10
+ import { C as CheckoutService } from './checkout.service-cVdOGDuI.js';
11
+ import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-CkjZeR9U.js';
13
12
  import { S as StyledHost } from './styled-host-D6byRazK.js';
14
- import './event-types-CZfYo5-1.js';
15
- import { d as defaultColumnsKeys } from './checkouts-table-C8sPHeTm.js';
13
+ import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table-DqGfsdys.js';
14
+ import { T as TableClickActions } from './event-types-CZfYo5-1.js';
15
+ import { d as formatTime, b as formatDate } from './utils-BTtxWI2r.js';
16
+ import { B as BadgeVariant, a as Badge } from './badge-Dlcl9qdm.js';
17
+ import { a6 as tableHeadCell, a7 as getAlternateTableCellPart } from './parts-CPKMvyV_.js';
18
+ import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state-CiGfmyWW.js';
16
19
  import './index-cDVGjRkU.js';
17
- import './utils-BTtxWI2r.js';
18
- import './package-beXEDfB9.js';
20
+ import './package-OGt0dCJl.js';
19
21
  import './Api-DMd8hTI-.js';
20
- import './badge-B6dp1XGV.js';
21
- import './parts-DnrawQn3.js';
22
+ import './spinner-DIiQZd6_.js';
22
23
 
23
24
  const makeGetCheckouts = ({ accountId, authToken, service }) => async ({ params, onSuccess, onError }) => {
24
25
  var _a, _b;
@@ -49,29 +50,108 @@ const makeGetCheckouts = ({ accountId, authToken, service }) => async ({ params,
49
50
  }
50
51
  };
51
52
 
53
+ const MapCheckoutStatusToBadge = (status) => {
54
+ const statusToBadgeProps = {
55
+ created: {
56
+ variant: BadgeVariant.PRIMARY,
57
+ title: 'The checkout has been created',
58
+ text: 'Created',
59
+ },
60
+ completed: {
61
+ variant: BadgeVariant.SUCCESS,
62
+ title: 'The checkout has been completed',
63
+ text: 'Completed',
64
+ },
65
+ attempted: {
66
+ variant: BadgeVariant.SECONDARY,
67
+ title: 'The checkout has been attempted',
68
+ text: 'Attempted',
69
+ },
70
+ expired: {
71
+ variant: BadgeVariant.DANGER,
72
+ title: 'The checkout has expired',
73
+ text: 'Expired',
74
+ },
75
+ };
76
+ const badgeProps = statusToBadgeProps[status];
77
+ return h(Badge, Object.assign({}, badgeProps));
78
+ };
79
+
80
+ const defaultColumnsKeys = 'created_at,payment_amount,payment_description,payment_mode,status';
81
+ const checkoutTableColumns = {
82
+ created_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date each checkout occurred" }, "Processed On")),
83
+ payment_amount: () => (h("th", { part: tableHeadCell, scope: "col", title: "The dollar amount of each checkout" }, "Payment Amount")),
84
+ payment_description: () => (h("th", { part: tableHeadCell, scope: "col", title: "The description of each checkout" }, "Payment Description")),
85
+ sub_account_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The sub account associated with the checkout" }, "Sub Account")),
86
+ payment_mode: () => (h("th", { part: tableHeadCell, scope: "col", title: "The payment mode of each checkout" }, "Payment Mode")),
87
+ status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of each checkout" }, "Status")),
88
+ };
89
+ const checkoutTableCells = {
90
+ created_at: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("div", { class: "fw-bold" }, formatDate(checkout.created_at)), h("div", { class: "fw-bold" }, formatTime(checkout.created_at)))),
91
+ payment_amount: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.formattedPaymentAmount(checkout.payment_amount))),
92
+ payment_description: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.payment_description)),
93
+ sub_account_name: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.sub_account_name)),
94
+ payment_mode: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.payment_mode)),
95
+ status: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapCheckoutStatusToBadge(checkout.status))),
96
+ };
97
+
52
98
  const JustifiCheckoutsList = class {
53
99
  constructor(hostRef) {
54
100
  registerInstance(this, hostRef);
101
+ this.clickEvent = createEvent(this, "click-event", 7);
55
102
  this.errorEvent = createEvent(this, "error-event", 7);
56
- this.errorMessage = null;
57
103
  this.columns = defaultColumnsKeys;
58
- this.handleErrorEvent = (event) => {
59
- this.errorMessage = event.detail.message;
60
- this.errorEvent.emit(event.detail);
104
+ this.checkouts = [];
105
+ this.subAccounts = [];
106
+ this.loading = true;
107
+ this.paging = pagingDefaults;
108
+ this.pagingParams = {};
109
+ this.handleClickPrevious = (beforeCursor) => {
110
+ this.pagingParams = { before_cursor: beforeCursor };
111
+ this.clickEvent.emit({ name: TableClickActions.previous });
112
+ };
113
+ this.handleClickNext = (afterCursor) => {
114
+ this.pagingParams = { after_cursor: afterCursor };
115
+ this.clickEvent.emit({ name: TableClickActions.next });
116
+ };
117
+ this.rowClickHandler = (e) => {
118
+ const clickedCheckoutID = e.target.closest('tr').dataset.rowEntityId;
119
+ if (!clickedCheckoutID)
120
+ return;
121
+ const checkoutData = this.checkouts.find((checkout) => checkout.id === clickedCheckoutID);
122
+ this.clickEvent.emit({ name: TableClickActions.row, data: checkoutData });
61
123
  };
62
124
  }
63
125
  componentWillLoad() {
64
126
  checkPkgVersion();
65
127
  this.analytics = new JustifiAnalytics(this);
128
+ this.checkoutsTable = new Table(this.checkouts, this.columns, checkoutTableColumns, checkoutTableCells);
66
129
  this.initializeGetData();
130
+ if (this.getCheckouts) {
131
+ this.fetchData();
132
+ }
133
+ onQueryParamsChange('set', () => {
134
+ this.pagingParams = {};
135
+ });
136
+ onQueryParamsChange('reset', () => {
137
+ this.pagingParams = {};
138
+ this.errorMessage = '';
139
+ });
67
140
  }
68
141
  disconnectedCallback() {
69
142
  var _a;
70
143
  (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
71
144
  }
72
- ;
73
- propChanged() {
145
+ authPropChanged() {
74
146
  this.initializeGetData();
147
+ if (this.getCheckouts) {
148
+ this.fetchData();
149
+ }
150
+ }
151
+ pagingOrColumnsChanged() {
152
+ if (this.getCheckouts) {
153
+ this.fetchData();
154
+ }
75
155
  }
76
156
  initializeGetData() {
77
157
  this.initializeGetCheckouts();
@@ -83,7 +163,7 @@ const JustifiCheckoutsList = class {
83
163
  this.getCheckouts = makeGetCheckouts({
84
164
  accountId: accountToUse,
85
165
  authToken: this.authToken,
86
- service: new CheckoutService()
166
+ service: new CheckoutService(),
87
167
  });
88
168
  }
89
169
  else {
@@ -100,17 +180,100 @@ const JustifiCheckoutsList = class {
100
180
  this.getSubAccounts = makeGetSubAccounts({
101
181
  primaryAccountId: this.accountId,
102
182
  authToken: this.authToken,
103
- service: new SubAccountService()
183
+ service: new SubAccountService(),
104
184
  });
105
185
  }
106
186
  }
187
+ fetchData() {
188
+ if (!this.getCheckouts) {
189
+ return;
190
+ }
191
+ this.loading = true;
192
+ this.getCheckouts({
193
+ params: this.checkoutParams,
194
+ onSuccess: async ({ checkouts, pagingInfo }) => {
195
+ this.checkouts = checkouts;
196
+ this.paging = pagingInfo;
197
+ this.checkoutsTable.collectionData = this.checkouts;
198
+ const shouldFetchSubAccounts = this.checkoutsTable.columnKeys.includes('sub_account_name');
199
+ if (shouldFetchSubAccounts) {
200
+ await this.fetchSubAccounts();
201
+ }
202
+ else {
203
+ this.loading = false;
204
+ }
205
+ },
206
+ onError: ({ error, code, severity }) => {
207
+ this.errorMessage = error;
208
+ this.errorEvent.emit({
209
+ errorCode: code,
210
+ message: error,
211
+ severity,
212
+ });
213
+ this.loading = false;
214
+ },
215
+ });
216
+ }
217
+ async fetchSubAccounts() {
218
+ if (!this.getSubAccounts) {
219
+ this.loading = false;
220
+ return;
221
+ }
222
+ this.getSubAccounts({
223
+ params: this.subAccountParams,
224
+ onSuccess: ({ subAccounts }) => {
225
+ this.subAccounts = subAccounts;
226
+ this.checkouts = this.checkouts.map((checkout) => {
227
+ var _a;
228
+ checkout.sub_account_name = (_a = this.subAccounts.find((subAccount) => subAccount.id === checkout.account_id)) === null || _a === void 0 ? void 0 : _a.name;
229
+ return checkout;
230
+ });
231
+ this.loading = false;
232
+ },
233
+ onError: ({ error, code, severity }) => {
234
+ this.errorMessage = error;
235
+ this.errorEvent.emit({
236
+ errorCode: code,
237
+ message: error,
238
+ severity,
239
+ });
240
+ this.loading = false;
241
+ },
242
+ });
243
+ }
244
+ get checkoutParams() {
245
+ const requestParams = getRequestParams();
246
+ const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
247
+ return params;
248
+ }
249
+ get subAccountParams() {
250
+ const accountIdNumbers = this.checkouts.map((checkout) => checkout.account_id);
251
+ const uniqueAccountIds = [...new Set(accountIdNumbers)];
252
+ const accountIdString = uniqueAccountIds.join(',');
253
+ return { sub_account_id: accountIdString };
254
+ }
255
+ get entityId() {
256
+ return this.checkouts.map((checkout) => checkout.id);
257
+ }
258
+ get showEmptyState() {
259
+ return !this.loading && !this.errorMessage && this.checkoutsTable.rowData.length < 1;
260
+ }
261
+ get showErrorState() {
262
+ return !this.loading && !!this.errorMessage;
263
+ }
264
+ get showRowData() {
265
+ return !this.showEmptyState && !this.showErrorState && !this.loading;
266
+ }
107
267
  render() {
108
- return (h(StyledHost, { key: '27491f40eb96742cee1fe81023a9e423ab5b22a5' }, h("checkouts-list-core", { key: '2b2526aa7dee3cd216bc481144d3239a5389872c', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
268
+ return (h(StyledHost, { key: '2f9efac8723333029415ef131516946912bb313c' }, h(TableWrapper, { key: '024c7a532533721acda9740a0888b1c15fa624fe' }, h(TableComponent, { key: '06bf1c6db731eb5857b08615222ca47a85ffc4a8' }, h(TableHead, { key: '0754f9cd87a3b32a5368e7fb7538071cf6be0505' }, h(TableHeadRow, { key: '5db4c5beea0e6e9afc29e16b5789a32ad94509dd' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '9140294035b04b549578d74374271f8a9fd78162' }, h(TableLoadingState, { key: 'bf495d00b9bc4ee28b67c8f1b3258306f9202142', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '92f8a1245cc022fa3b254bb1fe8d659f75c62923', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '2e6ab100026afb29f199dd33e52de5ae77e6576c', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData &&
269
+ this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '3a1b55572eb0fc2ffcef1a39f6bfae5693056752' }, h(TableFootRow, { key: 'f61a3cc86fda3ec95075381403916f5fb1c46ca6' }, h(TableFootCell, { key: '7d937a0d228062f42f49dca5bdb436d54354563e', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '05454876b7faeeb73fb8f896a2425e5f9db12ee3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
109
270
  }
110
271
  static get watchers() { return {
111
- "accountId": ["propChanged"],
112
- "authToken": ["propChanged"],
113
- "subAccountId": ["propChanged"]
272
+ "accountId": ["authPropChanged"],
273
+ "authToken": ["authPropChanged"],
274
+ "subAccountId": ["authPropChanged"],
275
+ "pagingParams": ["pagingOrColumnsChanged"],
276
+ "columns": ["pagingOrColumnsChanged"]
114
277
  }; }
115
278
  };
116
279
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
- import { E as ErrorState } from './utils-BxYS3WDw.js';
3
- import './parts-DnrawQn3.js';
2
+ import { E as ErrorState } from './utils-CX6puxwf.js';
3
+ import './parts-CPKMvyV_.js';
4
4
 
5
5
  const JustifiDetails = class {
6
6
  constructor(hostRef) {
@@ -1,13 +1,14 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
2
- import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-BuKEVgbB.js';
3
- import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
4
- import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
5
- import { D as Dispute } from './Dispute-BH0Xfn-F.js';
6
- import { g as getErrorCode, a as getErrorMessage } from './utils-DcfpJGDZ.js';
7
- import { D as DisputeService } from './dispute.service-vlYGy0nR.js';
2
+ import { D as Dispute, C as ComponentErrorSeverity, e as ComponentErrorCodes, f as DisputeStatus } from './Plaid-l6nNIjab.js';
3
+ import { J as JustifiAnalytics } from './Analytics-B1bQP71R.js';
4
+ import { c as checkPkgVersion } from './check-pkg-version-CNwUC4SV.js';
5
+ import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
6
+ import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-DalU_6SB.js';
7
+ import { S as StyledHost } from './styled-host-D6byRazK.js';
8
+ import './event-types-CZfYo5-1.js';
8
9
  import './utils-BTtxWI2r.js';
9
10
  import './dinero-HXpYMWUU.js';
10
- import './package-beXEDfB9.js';
11
+ import './package-OGt0dCJl.js';
11
12
  import './Api-DMd8hTI-.js';
12
13
  import './config-state-kKn89dp1.js';
13
14
  import './index-cDVGjRkU.js';
@@ -47,44 +48,90 @@ const JustifiDisputeManagement = class {
47
48
  constructor(hostRef) {
48
49
  registerInstance(this, hostRef);
49
50
  this.errorEvent = createEvent(this, "error-event", 7);
50
- this.errorMessage = null;
51
- this.handleErrorEvent = event => {
52
- this.errorMessage = event.detail.message;
53
- this.errorEvent.emit(event.detail);
54
- };
51
+ this.isLoading = true;
52
+ this.showDisputeResponseForm = false;
53
+ this.fetchDisputePending = false;
54
+ }
55
+ scheduleFetchDispute() {
56
+ if (!this.getDispute || this.fetchDisputePending) {
57
+ return;
58
+ }
59
+ this.fetchDisputePending = true;
60
+ queueMicrotask(() => {
61
+ this.fetchDisputePending = false;
62
+ if (this.getDispute) {
63
+ this.fetchData();
64
+ }
65
+ });
66
+ }
67
+ disputeResponseHandler(event) {
68
+ if (event.detail.name === DisputeManagementClickActions.respondToDispute) {
69
+ this.showDisputeResponseForm = true;
70
+ }
71
+ if (event.detail.name === DisputeManagementClickActions.cancelDispute) {
72
+ this.showDisputeResponseForm = false;
73
+ }
74
+ }
75
+ disputeSubmittedHandler() {
76
+ this.fetchData();
55
77
  }
56
78
  componentWillLoad() {
57
79
  checkPkgVersion();
58
80
  this.analytics = new JustifiAnalytics(this);
59
81
  this.initializeGetDispute();
60
82
  }
83
+ componentDidLoad() {
84
+ this.scheduleFetchDispute();
85
+ }
61
86
  disconnectedCallback() {
62
87
  var _a;
63
88
  (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
64
89
  }
65
- ;
66
90
  propChanged() {
67
91
  this.initializeGetDispute();
92
+ this.scheduleFetchDispute();
68
93
  }
69
94
  initializeGetDispute() {
70
95
  if (this.disputeId && this.authToken) {
71
96
  this.getDispute = makeGetDispute({
72
97
  id: this.disputeId,
73
98
  authToken: this.authToken,
74
- service: new DisputeService()
99
+ service: new DisputeService(),
75
100
  });
76
101
  }
77
102
  else {
78
- this.errorMessage = 'Dispute ID and Auth Token are required';
79
103
  this.errorEvent.emit({
80
- message: this.errorMessage,
104
+ message: 'Dispute ID and Auth Token are required',
81
105
  errorCode: ComponentErrorCodes.MISSING_PROPS,
82
106
  severity: ComponentErrorSeverity.ERROR,
83
107
  });
84
108
  }
85
109
  }
110
+ fetchData() {
111
+ if (!this.getDispute) {
112
+ return;
113
+ }
114
+ this.isLoading = true;
115
+ this.getDispute({
116
+ onSuccess: ({ dispute }) => {
117
+ this.dispute = new Dispute(dispute);
118
+ this.isLoading = false;
119
+ if (this.dispute.status !== DisputeStatus.needsResponse) {
120
+ this.showDisputeResponseForm = false;
121
+ }
122
+ },
123
+ onError: ({ error, code, severity }) => {
124
+ this.errorEvent.emit({
125
+ errorCode: code,
126
+ message: error,
127
+ severity,
128
+ });
129
+ this.isLoading = false;
130
+ },
131
+ });
132
+ }
86
133
  render() {
87
- return (h("justifi-dispute-management-core", { key: 'db9bf0998d45a71d9c2a72f4cedbe4276e67a238', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
134
+ return (h(StyledHost, { key: 'a9185f55e6f2704ec8ba85c5061e8c46338481e3' }, h("div", { key: 'e4851b3fa85ec428929b7868c0748b56c0172c8b' }, this.showDisputeResponseForm ? (h("dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading })))));
88
135
  }
89
136
  static get watchers() { return {
90
137
  "disputeId": ["propChanged"],