@justifi/webcomponents 6.12.3 → 6.12.5

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 (606) hide show
  1. package/dist/cjs/{Analytics-DcqsdFaD.js → Analytics-CITnMj7H.js} +4 -5
  2. package/dist/cjs/{Plaid-BlSGeGpn.js → Plaid-BRSyOOuw.js} +60 -4
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
  4. package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +154 -21
  5. package/dist/cjs/additional-questions_5.cjs.entry.js +1 -1
  6. package/dist/cjs/{justifi-additional-statement_8.cjs.entry.js → additional-statement_8.cjs.entry.js} +24 -24
  7. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +5 -5
  8. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  9. package/dist/cjs/{business-identity-schema-DWWtSiUF.js → business-identity-schema-DuFGX6_i.js} +68 -1
  10. package/dist/cjs/{business.service-BheJs82v.js → business.service-Z9OACEQL.js} +1 -2
  11. package/dist/cjs/card-form.cjs.entry.js +2 -2
  12. package/dist/cjs/{check-pkg-version-DFTQGZz1.js → check-pkg-version-CZMgXZID.js} +1 -1
  13. package/dist/cjs/{checkout.service-DZKdHQQq.js → checkout.service-BZOyqXgW.js} +1 -2
  14. package/dist/cjs/{country-config-D7fss2oF.js → country-config-aJp8ScEs.js} +1 -0
  15. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  16. package/dist/cjs/{justifi-dispute-notification_3.cjs.entry.js → dispute-notification_2.cjs.entry.js} +67 -90
  17. package/dist/cjs/{event-types-BWQT2lwu.js → event-types-AU1B76Vm.js} +30 -0
  18. package/dist/cjs/form-address-fields_3.cjs.entry.js +3 -3
  19. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  20. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  21. package/dist/cjs/form-control-file.cjs.entry.js +2 -2
  22. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  23. package/dist/cjs/form-control-number_2.cjs.entry.js +89 -0
  24. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  25. package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
  26. package/dist/cjs/{get-business-TFzhaBXn.js → get-business-aR-C83KX.js} +2 -2
  27. package/dist/cjs/{get-payment-details-DL5FmIyF.js → get-payment-details-dwhA02Zl.js} +2 -3
  28. package/dist/cjs/{get-subaccounts-CVK4O7th.js → get-subaccounts-B1jmSa2d.js} +2 -3
  29. package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
  30. package/dist/cjs/internal-button.cjs.entry.js +1 -1
  31. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +12 -13
  32. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -6
  33. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -6
  34. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
  35. package/dist/cjs/justifi-business-details.cjs.entry.js +7 -8
  36. package/dist/cjs/justifi-business-form.cjs.entry.js +12 -14
  37. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-card-form.cjs.entry.js +5 -6
  39. package/dist/cjs/justifi-checkout.cjs.entry.js +4 -5
  40. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -4
  41. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +190 -27
  42. package/dist/cjs/justifi-dispute-management.cjs.entry.js +65 -18
  43. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +11071 -23
  44. package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -10
  45. package/dist/cjs/justifi-payment-details.cjs.entry.js +16 -17
  46. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
  47. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -8
  48. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  49. package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -8
  50. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -11
  51. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -8
  52. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -4
  53. package/dist/cjs/justifi-payouts-list.cjs.entry.js +9 -10
  54. package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -8
  55. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -6
  56. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  57. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -5
  58. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +178 -24
  59. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -3
  60. package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -9
  61. package/dist/cjs/loader.cjs.js +1 -1
  62. package/dist/cjs/{package-bM0MyhTf.js → package-DOiqjXmm.js} +1 -1
  63. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  64. package/dist/cjs/{payment-provisioning-actions-BO7dzIm1.js → payment-provisioning-actions-BiSpysjW.js} +2 -2
  65. package/dist/cjs/{payment.service-sZKlg2Jq.js → payment.service-ByrgA_QZ.js} +1 -2
  66. package/dist/cjs/{payout.service-BcQVsMCS.js → payout.service-CnQm_BpU.js} +1 -2
  67. package/dist/cjs/{payouts-status-CwgOMz-S.js → payouts-status-AuS3Mp0V.js} +2 -2
  68. package/dist/cjs/{plaid.service-BcgO2VXC.js → plaid.service-Dlb8EUR8.js} +1 -2
  69. package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
  70. package/dist/cjs/{schema-validations-_yWWnnaG.js → schema-validations-DNPcvDh5.js} +13 -2
  71. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  73. package/dist/cjs/{terminal.service-CjMMWSh3.js → terminal.service-BdwHQ3Vv.js} +1 -2
  74. package/dist/cjs/{utils-DbTucCTO.js → utils-FVGp6se3.js} +1 -1
  75. package/dist/cjs/webcomponents.cjs.js +1 -1
  76. package/dist/collection/api/Analytics.js +2 -2
  77. package/dist/collection/api/Terminal.js +1 -1
  78. package/dist/collection/collection-manifest.json +10 -16
  79. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  80. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -2
  81. package/dist/collection/components/business-forms/owner-form/owner-form.js +226 -12
  82. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -0
  83. package/dist/collection/components/business-forms/schemas/schema-validations.js +2 -2
  84. package/dist/collection/components/checkout/billing-form/billing-form-full.js +2 -2
  85. package/dist/collection/components/checkout/billing-form/billing-form-schema.js +1 -1
  86. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  87. package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +166 -16
  88. package/dist/collection/components/dispute-management/{justifi-dispute-notification.js → dispute-notification.js} +5 -6
  89. package/dist/collection/components/dispute-management/dispute-response/{justifi-additional-statement.js → additional-statement.js} +3 -3
  90. package/dist/collection/components/dispute-management/dispute-response/{justifi-cancellation-policy.js → cancellation-policy.js} +3 -3
  91. package/dist/collection/components/dispute-management/dispute-response/{justifi-customer-details.js → customer-details.js} +3 -3
  92. package/dist/collection/components/dispute-management/dispute-response/{dispute-response-core.js → dispute-response.js} +105 -77
  93. package/dist/collection/components/dispute-management/dispute-response/{justifi-duplicate-charge.js → duplicate-charge.js} +3 -3
  94. package/dist/collection/components/dispute-management/dispute-response/{justifi-electronic-evidence.js → electronic-evidence.js} +3 -3
  95. package/dist/collection/components/dispute-management/dispute-response/{justifi-product-or-service.js → product-or-service.js} +3 -3
  96. package/dist/collection/components/dispute-management/dispute-response/{justifi-refund-policy.js → refund-policy.js} +3 -3
  97. package/dist/collection/components/dispute-management/dispute-response/{justifi-shipping-details.js → shipping-details.js} +3 -3
  98. package/dist/collection/components/dispute-management/justifi-dispute-management.js +78 -11
  99. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  100. package/dist/collection/components/gross-payment-chart/justifi-gross-payment-chart.js +79 -15
  101. package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +1 -1
  102. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
  103. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
  104. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
  105. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
  106. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
  107. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
  108. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  109. package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
  110. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  111. package/dist/collection/components/payment-details/justifi-payment-details.js +8 -8
  112. package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
  113. package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
  114. package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
  115. package/dist/collection/components/payout-details/justifi-payout-details.js +3 -3
  116. package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
  117. package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
  118. package/dist/collection/components/payouts-list/justifi-payouts-list.js +1 -1
  119. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
  120. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +134 -10
  121. package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
  122. package/dist/collection/components/terminals-list/justifi-terminals-list.js +1 -1
  123. package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
  124. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  125. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  126. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  127. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  128. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  129. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  130. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  131. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  132. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  133. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  134. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  135. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  136. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  137. package/dist/collection/ui-components/internal-button.js +1 -1
  138. package/dist/collection/ui-components/radio-list-item.js +1 -1
  139. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  140. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  141. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  142. package/dist/collection/utils/checkout-billing-state-options.js +12 -0
  143. package/dist/docs.json +5763 -6945
  144. package/dist/esm/{Analytics-Cyc3ZLPx.js → Analytics-Cg17Xhj_.js} +4 -5
  145. package/dist/esm/{Plaid-BuKEVgbB.js → Plaid-l6nNIjab.js} +58 -3
  146. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  147. package/dist/esm/additional-questions-form-step_14.entry.js +156 -23
  148. package/dist/esm/additional-questions_5.entry.js +2 -2
  149. package/dist/esm/{justifi-additional-statement_8.entry.js → additional-statement_8.entry.js} +18 -18
  150. package/dist/esm/{badge-B6dp1XGV.js → badge-Dlcl9qdm.js} +1 -1
  151. package/dist/esm/bank-account-billing-form-simple_4.entry.js +7 -7
  152. package/dist/esm/bank-account-form.entry.js +4 -4
  153. package/dist/esm/bank-account-read-only-value.entry.js +1 -1
  154. package/dist/esm/business-identity-schema-0Q3kck3C.js +163 -0
  155. package/dist/esm/{business.service-BPbZ5fxQ.js → business.service-C31wbMVs.js} +1 -2
  156. package/dist/esm/{button-DRdaAudE.js → button-BvzOzV4l.js} +1 -1
  157. package/dist/esm/card-form.entry.js +4 -4
  158. package/dist/esm/{check-pkg-version-6iGDh82c.js → check-pkg-version-D-rHqtUI.js} +1 -1
  159. package/dist/esm/{checkout.service-CJMfFKyS.js → checkout.service-cVdOGDuI.js} +1 -2
  160. package/dist/esm/{country-config-P042rrI3.js → country-config-CdvhLcnT.js} +1 -1
  161. package/dist/esm/custom-popper_2.entry.js +3 -3
  162. package/dist/esm/{justifi-dispute-notification_3.entry.js → dispute-notification_2.entry.js} +68 -90
  163. package/dist/esm/{event-types-Bg2SZArf.js → event-types-DalU_6SB.js} +29 -1
  164. package/dist/esm/form-address-fields_3.entry.js +5 -5
  165. package/dist/esm/form-control-checkbox.entry.js +3 -3
  166. package/dist/esm/form-control-date.entry.js +4 -4
  167. package/dist/esm/{form-control-error-text-DVedKyhp.js → form-control-error-text-Di9QePY5.js} +1 -1
  168. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  169. package/dist/esm/form-control-file.entry.js +4 -4
  170. package/dist/esm/{form-control-help-text-D-349cNw.js → form-control-help-text-DGMpMuAm.js} +1 -1
  171. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  172. package/dist/esm/form-control-monetary.entry.js +5 -5
  173. package/dist/esm/form-control-number_2.entry.js +86 -0
  174. package/dist/esm/form-control-radio.entry.js +3 -3
  175. package/dist/esm/form-control-select_2.entry.js +6 -6
  176. package/dist/esm/{get-business-DIpEbczl.js → get-business-Gg6qn5on.js} +2 -2
  177. package/dist/esm/{get-payment-details-DjBou5Fu.js → get-payment-details-BiWgSJau.js} +2 -3
  178. package/dist/esm/{get-subaccounts-CgDWE_5o.js → get-subaccounts-CkjZeR9U.js} +2 -3
  179. package/dist/esm/{header-1-Bl7MHW0w.js → header-1-evYxFIGN.js} +1 -1
  180. package/dist/esm/{header-3-C7JJVnMG.js → header-3-BUDap2xY.js} +1 -1
  181. package/dist/esm/hidden-input_2.entry.js +7 -7
  182. package/dist/esm/{insurance-state-qTdpe84i.js → insurance-state-CLGc1-_4.js} +1 -1
  183. package/dist/esm/internal-button.entry.js +3 -3
  184. package/dist/esm/justifi-apple-pay_11.entry.js +17 -18
  185. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +5 -6
  186. package/dist/esm/justifi-bank-account-form.entry.js +5 -6
  187. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  188. package/dist/esm/justifi-business-details.entry.js +10 -11
  189. package/dist/esm/justifi-business-form.entry.js +14 -16
  190. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  191. package/dist/esm/justifi-card-form.entry.js +5 -6
  192. package/dist/esm/justifi-checkout.entry.js +5 -6
  193. package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -5
  194. package/dist/esm/justifi-checkouts-list.entry.js +190 -27
  195. package/dist/esm/justifi-details.entry.js +2 -2
  196. package/dist/esm/justifi-dispute-management.entry.js +64 -17
  197. package/dist/esm/justifi-gross-payment-chart.entry.js +11071 -23
  198. package/dist/esm/justifi-order-terminals.entry.js +11 -12
  199. package/dist/esm/justifi-payment-details.entry.js +20 -21
  200. package/dist/esm/justifi-payment-provisioning.entry.js +11 -12
  201. package/dist/esm/justifi-payment-transactions-list.entry.js +10 -11
  202. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  203. package/dist/esm/justifi-payments-list.entry.js +12 -13
  204. package/dist/esm/justifi-payout-details.entry.js +15 -16
  205. package/dist/esm/justifi-payout-transactions-list.entry.js +10 -11
  206. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -5
  207. package/dist/esm/justifi-payouts-list.entry.js +13 -14
  208. package/dist/esm/justifi-refund-payment.entry.js +10 -11
  209. package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
  210. package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -9
  211. package/dist/esm/justifi-skeleton.entry.js +3 -3
  212. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -6
  213. package/dist/esm/justifi-terminal-orders-list.entry.js +175 -21
  214. package/dist/esm/justifi-terminals-list-filters.entry.js +3 -4
  215. package/dist/esm/justifi-terminals-list.entry.js +12 -13
  216. package/dist/esm/loader.js +1 -1
  217. package/dist/esm/{package-beXEDfB9.js → package-B6YPrwyC.js} +1 -1
  218. package/dist/esm/pagination-menu.entry.js +1 -1
  219. package/dist/esm/{parts-DnrawQn3.js → parts-CPKMvyV_.js} +1 -1
  220. package/dist/esm/payment-method-option.entry.js +2 -2
  221. package/dist/esm/{payment-provisioning-actions-Dr0YIShV.js → payment-provisioning-actions-cl5xIYnF.js} +2 -2
  222. package/dist/esm/payment-provisioning-form-buttons_2.entry.js +2 -2
  223. package/dist/esm/{payment-provisioning-loading-DI2wDkhm.js → payment-provisioning-loading-Dve2xQA4.js} +1 -1
  224. package/dist/esm/{payment.service-Ckbb7gXA.js → payment.service-5_u-UzTY.js} +1 -2
  225. package/dist/esm/{payments-status-BIDoGw-m.js → payments-status-BlVUt4C1.js} +1 -1
  226. package/dist/esm/{payout.service-BgFKxEoL.js → payout.service-D2zS5y8N.js} +1 -2
  227. package/dist/esm/{payouts-status-1T2NZBoE.js → payouts-status-DCjCGTaa.js} +3 -3
  228. package/dist/esm/{plaid.service-BLguQHs_.js → plaid.service-BiJ65YG8.js} +1 -2
  229. package/dist/esm/radio-list-item.entry.js +2 -2
  230. package/dist/esm/{schema-validations-v6WGlZkq.js → schema-validations-A1o1biOB.js} +13 -3
  231. package/dist/esm/{skeleton-CXGFVqDf.js → skeleton-BEHo2ypu.js} +1 -1
  232. package/dist/esm/{spinner-kSw6PcwU.js → spinner-DIiQZd6_.js} +1 -1
  233. package/dist/esm/{table-CcyuIutB.js → table-DqGfsdys.js} +3 -3
  234. package/dist/esm/table-filters-menu.entry.js +3 -3
  235. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  236. package/dist/esm/{terminal.service-0oISl5j-.js → terminal.service-CIxDfM7V.js} +1 -2
  237. package/dist/esm/{utils-DcfpJGDZ.js → utils-C1B2hVAB.js} +1 -1
  238. package/dist/esm/{utils-BxYS3WDw.js → utils-CX6puxwf.js} +1 -1
  239. package/dist/esm/webcomponents.js +1 -1
  240. package/dist/module/Analytics.js +2 -2
  241. package/dist/module/Plaid.js +2 -2
  242. package/dist/module/{justifi-refund-policy.d.ts → additional-statement.d.ts} +4 -4
  243. package/dist/module/additional-statement.js +6 -0
  244. package/dist/module/{justifi-additional-statement2.js → additional-statement2.js} +8 -8
  245. package/dist/module/badge.js +1 -1
  246. package/dist/module/bank-account-billing-form-simple2.js +1 -1
  247. package/dist/module/billing-form-full2.js +3 -3
  248. package/dist/module/billing-form-schema.js +1 -1
  249. package/dist/module/business-address-schema.js +1 -1
  250. package/dist/module/business-bank-account-form-step2.js +2 -2
  251. package/dist/module/business-core-info-schema.js +1 -1
  252. package/dist/module/business-identity-schema.js +1 -1
  253. package/dist/module/business-owners-form-step2.js +21 -26
  254. package/dist/module/button.js +1 -1
  255. package/dist/module/cancellation-policy.d.ts +11 -0
  256. package/dist/module/cancellation-policy.js +6 -0
  257. package/dist/module/{justifi-cancellation-policy2.js → cancellation-policy2.js} +8 -8
  258. package/dist/module/card-billing-form-simple2.js +1 -1
  259. package/dist/module/country-config.js +1 -1
  260. package/dist/module/custom-popper2.js +2 -2
  261. package/dist/module/{checkouts-list-core.d.ts → customer-details.d.ts} +4 -4
  262. package/dist/module/customer-details.js +6 -0
  263. package/dist/module/{justifi-customer-details2.js → customer-details2.js} +8 -8
  264. package/dist/module/dispute-notification.d.ts +11 -0
  265. package/dist/module/dispute-notification.js +6 -0
  266. package/dist/module/dispute-notification2.js +82 -0
  267. package/dist/module/dispute-response.d.ts +11 -0
  268. package/dist/module/dispute-response.js +6 -0
  269. package/dist/module/{dispute-response-core.js → dispute-response2.js} +105 -53
  270. package/dist/module/duplicate-charge.d.ts +11 -0
  271. package/dist/module/duplicate-charge.js +6 -0
  272. package/dist/module/{justifi-duplicate-charge2.js → duplicate-charge2.js} +8 -8
  273. package/dist/module/electronic-evidence.d.ts +11 -0
  274. package/dist/module/electronic-evidence.js +6 -0
  275. package/dist/module/{justifi-electronic-evidence2.js → electronic-evidence2.js} +8 -8
  276. package/dist/module/event-types3.js +119 -1
  277. package/dist/module/form-alert2.js +1 -1
  278. package/dist/module/form-control-date2.js +2 -2
  279. package/dist/module/form-control-file-v22.js +1 -1
  280. package/dist/module/form-control-file2.js +2 -2
  281. package/dist/module/form-control-monetary2.js +2 -2
  282. package/dist/module/form-control-number-masked2.js +2 -2
  283. package/dist/module/form-control-number2.js +3 -3
  284. package/dist/module/form-control-radio2.js +2 -2
  285. package/dist/module/form-control-select2.js +2 -2
  286. package/dist/module/form-control-text2.js +2 -2
  287. package/dist/module/form-control-textarea2.js +3 -3
  288. package/dist/module/get-payment-details.js +1 -1
  289. package/dist/module/hidden-input2.js +2 -2
  290. package/dist/module/iframe-input2.js +4 -4
  291. package/dist/module/internal-button2.js +1 -1
  292. package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
  293. package/dist/module/justifi-bank-account-form.js +1 -1
  294. package/dist/module/justifi-billing-form-full.js +1 -1
  295. package/dist/module/justifi-button2.js +1 -1
  296. package/dist/module/justifi-card-billing-form-simple.js +1 -1
  297. package/dist/module/justifi-card-form.js +1 -1
  298. package/dist/module/justifi-checkout-summary2.js +1 -1
  299. package/dist/module/justifi-checkouts-list-filters.js +3 -3
  300. package/dist/module/justifi-checkouts-list.js +197 -28
  301. package/dist/module/justifi-dispute-management.js +103 -62
  302. package/dist/module/justifi-gross-payment-chart.js +11074 -24
  303. package/dist/module/justifi-header2.js +1 -1
  304. package/dist/module/justifi-modular-checkout2.js +2 -2
  305. package/dist/module/justifi-order-terminals.js +4 -4
  306. package/dist/module/justifi-payment-details.js +9 -9
  307. package/dist/module/justifi-payment-provisioning.js +53 -59
  308. package/dist/module/justifi-payment-transactions-list.js +2 -2
  309. package/dist/module/justifi-payments-list-filters.js +2 -2
  310. package/dist/module/justifi-payments-list.js +2 -2
  311. package/dist/module/justifi-payout-details.js +4 -4
  312. package/dist/module/justifi-payout-transactions-list.js +2 -2
  313. package/dist/module/justifi-payouts-list-filters.js +3 -3
  314. package/dist/module/justifi-payouts-list.js +2 -2
  315. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  316. package/dist/module/justifi-skeleton.js +1 -1
  317. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  318. package/dist/module/justifi-terminal-orders-list.js +184 -22
  319. package/dist/module/justifi-terminals-list-filters.js +2 -2
  320. package/dist/module/justifi-terminals-list.js +3 -3
  321. package/dist/module/justifi-tokenize-payment-method2.js +1 -1
  322. package/dist/module/owner-details2.js +1 -1
  323. package/dist/module/owner-form-inputs2.js +2 -2
  324. package/dist/module/owner-form2.js +177 -33
  325. package/dist/module/package.js +1 -1
  326. package/dist/module/pagination-menu2.js +1 -1
  327. package/dist/module/parts.js +1 -1
  328. package/dist/module/payment-method-option.js +1 -1
  329. package/dist/module/payment-provisioning-form-steps2.js +52 -58
  330. package/dist/module/product-or-service.d.ts +11 -0
  331. package/dist/module/product-or-service.js +6 -0
  332. package/dist/module/{justifi-product-or-service2.js → product-or-service2.js} +8 -8
  333. package/dist/module/radio-list-item2.js +1 -1
  334. package/dist/module/{owner-form-core.d.ts → refund-policy.d.ts} +4 -4
  335. package/dist/module/refund-policy.js +6 -0
  336. package/dist/module/{justifi-refund-policy2.js → refund-policy2.js} +8 -8
  337. package/dist/module/schema-validations.js +13 -3
  338. package/dist/module/shipping-details.d.ts +11 -0
  339. package/dist/module/shipping-details.js +6 -0
  340. package/dist/module/{justifi-shipping-details2.js → shipping-details2.js} +8 -8
  341. package/dist/module/spinner.js +1 -1
  342. package/dist/module/table-filters-menu2.js +1 -1
  343. package/dist/module/terminal-quantity-selector2.js +1 -1
  344. package/dist/module/utils2.js +1 -1
  345. package/dist/types/api/Terminal.d.ts +1 -1
  346. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +69 -5
  347. package/dist/types/components/checkouts-list/justifi-checkouts-list.d.ts +28 -6
  348. package/dist/types/components/dispute-management/{justifi-dispute-notification.d.ts → dispute-notification.d.ts} +1 -1
  349. package/dist/types/components/dispute-management/dispute-response/{justifi-additional-statement.d.ts → additional-statement.d.ts} +1 -1
  350. package/dist/types/components/dispute-management/dispute-response/{justifi-cancellation-policy.d.ts → cancellation-policy.d.ts} +1 -1
  351. package/dist/types/components/dispute-management/dispute-response/{justifi-customer-details.d.ts → customer-details.d.ts} +1 -1
  352. package/dist/types/components/dispute-management/dispute-response/{dispute-response-core.d.ts → dispute-response.d.ts} +21 -10
  353. package/dist/types/components/dispute-management/dispute-response/{justifi-duplicate-charge.d.ts → duplicate-charge.d.ts} +1 -1
  354. package/dist/types/components/dispute-management/dispute-response/{justifi-electronic-evidence.d.ts → electronic-evidence.d.ts} +1 -1
  355. package/dist/types/components/dispute-management/dispute-response/{justifi-product-or-service.d.ts → product-or-service.d.ts} +1 -1
  356. package/dist/types/components/dispute-management/dispute-response/{justifi-refund-policy.d.ts → refund-policy.d.ts} +1 -1
  357. package/dist/types/components/dispute-management/dispute-response/{justifi-shipping-details.d.ts → shipping-details.d.ts} +1 -1
  358. package/dist/types/components/dispute-management/justifi-dispute-management.d.ts +10 -2
  359. package/dist/types/components/gross-payment-chart/justifi-gross-payment-chart.d.ts +13 -2
  360. package/dist/types/components/terminal-orders-list/justifi-terminal-orders-list.d.ts +21 -3
  361. package/dist/types/components.d.ts +304 -551
  362. package/dist/types/utils/checkout-billing-state-options.d.ts +9 -0
  363. package/dist/webcomponents/p-0708cb76.entry.js +1 -0
  364. package/dist/webcomponents/p-0ce6c1b1.entry.js +1 -0
  365. package/dist/webcomponents/p-12ae030d.entry.js +1 -0
  366. package/dist/webcomponents/p-137a36a4.entry.js +1 -0
  367. package/dist/webcomponents/p-1d294e34.entry.js +1 -0
  368. package/dist/webcomponents/{p-4d21df48.entry.js → p-1f34b2f7.entry.js} +1 -1
  369. package/dist/webcomponents/p-1f7f2436.entry.js +1 -0
  370. package/dist/webcomponents/{p-256c5509.entry.js → p-22d19755.entry.js} +1 -1
  371. package/dist/webcomponents/p-2aac2ab6.entry.js +1 -0
  372. package/dist/webcomponents/{p-2425a375.entry.js → p-2dfdecbb.entry.js} +1 -1
  373. package/dist/webcomponents/p-397b28ba.entry.js +20 -0
  374. package/dist/webcomponents/{p-10be75b8.entry.js → p-3cefb032.entry.js} +1 -1
  375. package/dist/webcomponents/p-45668f01.entry.js +1 -0
  376. package/dist/webcomponents/p-46477dfe.entry.js +1 -0
  377. package/dist/webcomponents/{p-befe01ef.entry.js → p-49c13952.entry.js} +1 -1
  378. package/dist/webcomponents/p-4ccf9cd7.entry.js +1 -0
  379. package/dist/webcomponents/p-58b5e08e.entry.js +1 -0
  380. package/dist/webcomponents/p-5G1OMxZz.js +1 -0
  381. package/dist/webcomponents/{p-1e877e0a.entry.js → p-5ec9634c.entry.js} +1 -1
  382. package/dist/webcomponents/{p-8253ef9f.entry.js → p-605bd107.entry.js} +1 -1
  383. package/dist/webcomponents/{p-c9e1df15.entry.js → p-60c65da4.entry.js} +1 -1
  384. package/dist/webcomponents/p-63b7abf3.entry.js +1 -0
  385. package/dist/webcomponents/p-63e88b48.entry.js +1 -0
  386. package/dist/webcomponents/p-65281b33.entry.js +1 -0
  387. package/dist/webcomponents/{p-3c046adc.entry.js → p-70dcd833.entry.js} +1 -1
  388. package/dist/webcomponents/p-7ebed752.entry.js +1 -0
  389. package/dist/webcomponents/p-7ff9ce05.entry.js +1 -0
  390. package/dist/webcomponents/p-8964f4ca.entry.js +1 -0
  391. package/dist/webcomponents/p-89844a98.entry.js +1 -0
  392. package/dist/webcomponents/p-89cd31f2.entry.js +1 -0
  393. package/dist/webcomponents/p-8d6856e7.entry.js +1 -0
  394. package/dist/webcomponents/p-8e821593.entry.js +1 -0
  395. package/dist/webcomponents/p-90f2f71d.entry.js +1 -0
  396. package/dist/webcomponents/p-9153c121.entry.js +1 -0
  397. package/dist/webcomponents/p-91940d05.entry.js +1 -0
  398. package/dist/webcomponents/p-95317547.entry.js +1 -0
  399. package/dist/webcomponents/p-9b944aa4.entry.js +1 -0
  400. package/dist/webcomponents/{p-CR_-qIuN.js → p-APOabprT.js} +1 -1
  401. package/dist/webcomponents/p-Aacb4jqT.js +1 -0
  402. package/dist/webcomponents/p-B5gBiARs.js +1 -0
  403. package/dist/webcomponents/p-B6YPrwyC.js +1 -0
  404. package/dist/webcomponents/{p-bn_huKYG.js → p-BICxxa69.js} +1 -1
  405. package/dist/webcomponents/p-BJu1-9kE.js +1 -0
  406. package/dist/webcomponents/{p-Cej-1bD6.js → p-BXyADlAH.js} +1 -1
  407. package/dist/webcomponents/p-Ba8jdOkX.js +1 -0
  408. package/dist/webcomponents/p-BxKbnILQ.js +1 -0
  409. package/dist/webcomponents/{p-2LVpxCS_.js → p-CHo7TfsM.js} +1 -1
  410. package/dist/webcomponents/p-CHw7tICr.js +1 -0
  411. package/dist/webcomponents/{p-DnrawQn3.js → p-CPKMvyV_.js} +1 -1
  412. package/dist/webcomponents/p-Ce_W43gc.js +1 -0
  413. package/dist/webcomponents/{p-B5vVjDc_.js → p-Cm9f5fyh.js} +1 -1
  414. package/dist/webcomponents/p-CqiVXthx.js +1 -0
  415. package/dist/webcomponents/{p-x9fFFf7F.js → p-Cu7hgXL1.js} +1 -1
  416. package/dist/webcomponents/p-D-zwk1J3.js +1 -0
  417. package/dist/webcomponents/{p-D1D2eC05.js → p-D1_eip6x.js} +1 -1
  418. package/dist/webcomponents/p-D8ytux5N.js +1 -0
  419. package/dist/webcomponents/p-DO9lqnbB.js +1 -0
  420. package/dist/webcomponents/p-DSclFZ32.js +1 -0
  421. package/dist/webcomponents/p-DYHjzFnJ.js +1 -0
  422. package/dist/webcomponents/{p-DgH-jcIo.js → p-DjjAx7PF.js} +1 -1
  423. package/dist/webcomponents/p-Dk26hk5T.js +1 -0
  424. package/dist/webcomponents/p-DrMJliVY.js +1 -0
  425. package/dist/webcomponents/p-NZS8uCtH.js +1 -0
  426. package/dist/webcomponents/p-XIWgia4J.js +1 -0
  427. package/dist/webcomponents/{p-9581d6a1.entry.js → p-a9695714.entry.js} +1 -1
  428. package/dist/webcomponents/p-afe714cb.entry.js +1 -0
  429. package/dist/webcomponents/p-av6jyzyC.js +1 -0
  430. package/dist/webcomponents/p-b0b6083f.entry.js +1 -0
  431. package/dist/webcomponents/p-b192f251.entry.js +1 -0
  432. package/dist/webcomponents/p-b436a7d2.entry.js +1 -0
  433. package/dist/webcomponents/{p-e6e56dbb.entry.js → p-b62ff001.entry.js} +1 -1
  434. package/dist/webcomponents/p-bde7fe69.entry.js +1 -0
  435. package/dist/webcomponents/p-c108cd71.entry.js +1 -0
  436. package/dist/webcomponents/p-c1539656.entry.js +1 -0
  437. package/dist/webcomponents/p-c4415366.entry.js +1 -0
  438. package/dist/webcomponents/p-c8bc235f.entry.js +1 -0
  439. package/dist/webcomponents/{p-09d2efad.entry.js → p-ca87c609.entry.js} +1 -1
  440. package/dist/webcomponents/p-d1eabad2.entry.js +1 -0
  441. package/dist/webcomponents/{p-31e74a5a.entry.js → p-d5e7291a.entry.js} +1 -1
  442. package/dist/webcomponents/p-d79c5ee4.entry.js +1 -0
  443. package/dist/webcomponents/{p-9db1444f.entry.js → p-db09f306.entry.js} +1 -1
  444. package/dist/webcomponents/{p-354fb3c4.entry.js → p-e020f003.entry.js} +1 -1
  445. package/dist/webcomponents/p-e17b92ec.entry.js +1 -0
  446. package/dist/webcomponents/{p-1e8135f0.entry.js → p-e322dcba.entry.js} +1 -1
  447. package/dist/webcomponents/p-e5c2215a.entry.js +1 -0
  448. package/dist/webcomponents/p-e6ec9e6d.entry.js +1 -0
  449. package/dist/webcomponents/p-f1b9cbf0.entry.js +1 -0
  450. package/dist/webcomponents/p-f9aafb21.entry.js +1 -0
  451. package/dist/webcomponents/p-fE5A37L5.js +1 -0
  452. package/dist/webcomponents/{p-bc2af6b4.entry.js → p-ff8cf16c.entry.js} +1 -1
  453. package/dist/webcomponents/p-jIDKmNHy.js +1 -0
  454. package/dist/webcomponents/p-nb_LhbJq.js +1 -0
  455. package/dist/webcomponents/p-oTtn8xDw.js +1 -0
  456. package/dist/webcomponents/p-uZ5KAseb.js +1 -0
  457. package/dist/webcomponents/webcomponents.esm.js +1 -1
  458. package/package.json +2 -2
  459. package/readme.md +7 -14
  460. package/dist/cjs/Dispute-CruQTF6_.js +0 -59
  461. package/dist/cjs/business-additional-questions-schema-CI80eZLJ.js +0 -73
  462. package/dist/cjs/checkouts-list-core.cjs.entry.js +0 -146
  463. package/dist/cjs/checkouts-table-CCxrsy0x.js +0 -55
  464. package/dist/cjs/dispute.service-BbtwY673.js +0 -32
  465. package/dist/cjs/form-control-number_3.cjs.entry.js +0 -249
  466. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +0 -11075
  467. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +0 -61
  468. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +0 -108
  469. package/dist/cjs/terminal-orders-table-Cz6qvzVE.js +0 -83
  470. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +0 -523
  471. package/dist/collection/components/checkouts-list/checkouts-list-core.js +0 -262
  472. package/dist/collection/components/dispute-management/dispute-management-core.js +0 -169
  473. package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +0 -190
  474. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +0 -139
  475. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +0 -199
  476. package/dist/esm/Dispute-BH0Xfn-F.js +0 -57
  477. package/dist/esm/business-additional-questions-schema-DKudYaoE.js +0 -69
  478. package/dist/esm/business-identity-schema-CFhSc0cA.js +0 -99
  479. package/dist/esm/checkouts-list-core.entry.js +0 -144
  480. package/dist/esm/checkouts-table-C8sPHeTm.js +0 -51
  481. package/dist/esm/dispute.service-vlYGy0nR.js +0 -30
  482. package/dist/esm/form-control-number_3.entry.js +0 -245
  483. package/dist/esm/gross-payment-chart-core.entry.js +0 -11073
  484. package/dist/esm/justifi-dispute-management-core.entry.js +0 -59
  485. package/dist/esm/terminal-orders-list-core.entry.js +0 -106
  486. package/dist/esm/terminal-orders-table-C7KOcRpq.js +0 -79
  487. package/dist/module/checkouts-list-core.js +0 -6
  488. package/dist/module/checkouts-list-core2.js +0 -227
  489. package/dist/module/dispute-management-core.js +0 -193
  490. package/dist/module/dispute-response-actions.js +0 -119
  491. package/dist/module/gross-payment-chart-core.d.ts +0 -11
  492. package/dist/module/gross-payment-chart-core.js +0 -6
  493. package/dist/module/gross-payment-chart-core2.js +0 -11096
  494. package/dist/module/justifi-additional-statement.d.ts +0 -11
  495. package/dist/module/justifi-additional-statement.js +0 -6
  496. package/dist/module/justifi-cancellation-policy.d.ts +0 -11
  497. package/dist/module/justifi-cancellation-policy.js +0 -6
  498. package/dist/module/justifi-customer-details.d.ts +0 -11
  499. package/dist/module/justifi-customer-details.js +0 -6
  500. package/dist/module/justifi-dispute-management-core.d.ts +0 -11
  501. package/dist/module/justifi-dispute-management-core.js +0 -6
  502. package/dist/module/justifi-dispute-notification.d.ts +0 -11
  503. package/dist/module/justifi-dispute-notification.js +0 -6
  504. package/dist/module/justifi-dispute-notification2.js +0 -85
  505. package/dist/module/justifi-dispute-response-core.d.ts +0 -11
  506. package/dist/module/justifi-dispute-response-core.js +0 -6
  507. package/dist/module/justifi-dispute-response.d.ts +0 -11
  508. package/dist/module/justifi-dispute-response.js +0 -6
  509. package/dist/module/justifi-dispute-response2.js +0 -198
  510. package/dist/module/justifi-duplicate-charge.d.ts +0 -11
  511. package/dist/module/justifi-duplicate-charge.js +0 -6
  512. package/dist/module/justifi-electronic-evidence.d.ts +0 -11
  513. package/dist/module/justifi-electronic-evidence.js +0 -6
  514. package/dist/module/justifi-product-or-service.d.ts +0 -11
  515. package/dist/module/justifi-product-or-service.js +0 -6
  516. package/dist/module/justifi-refund-policy.js +0 -6
  517. package/dist/module/justifi-shipping-details.d.ts +0 -11
  518. package/dist/module/justifi-shipping-details.js +0 -6
  519. package/dist/module/owner-form-core.js +0 -6
  520. package/dist/module/owner-form-core2.js +0 -262
  521. package/dist/module/terminal-orders-list-core.d.ts +0 -11
  522. package/dist/module/terminal-orders-list-core.js +0 -6
  523. package/dist/module/terminal-orders-list-core2.js +0 -209
  524. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +0 -88
  525. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +0 -34
  526. package/dist/types/components/dispute-management/dispute-management-core.d.ts +0 -18
  527. package/dist/types/components/dispute-management/dispute-response/justifi-dispute-response.d.ts +0 -35
  528. package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +0 -21
  529. package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +0 -28
  530. package/dist/webcomponents/p--e0ff06z.js +0 -1
  531. package/dist/webcomponents/p-032b4553.entry.js +0 -1
  532. package/dist/webcomponents/p-042daaf8.entry.js +0 -1
  533. package/dist/webcomponents/p-0638f0bd.entry.js +0 -1
  534. package/dist/webcomponents/p-0b3f4f22.entry.js +0 -1
  535. package/dist/webcomponents/p-1c4f5f1d.entry.js +0 -1
  536. package/dist/webcomponents/p-24935254.entry.js +0 -1
  537. package/dist/webcomponents/p-2a755daf.entry.js +0 -1
  538. package/dist/webcomponents/p-3488951f.entry.js +0 -1
  539. package/dist/webcomponents/p-437a99dc.entry.js +0 -1
  540. package/dist/webcomponents/p-49c0cd3a.entry.js +0 -1
  541. package/dist/webcomponents/p-50f5e313.entry.js +0 -1
  542. package/dist/webcomponents/p-52908814.entry.js +0 -1
  543. package/dist/webcomponents/p-587886f1.entry.js +0 -1
  544. package/dist/webcomponents/p-5ef355ce.entry.js +0 -1
  545. package/dist/webcomponents/p-5ef854e0.entry.js +0 -1
  546. package/dist/webcomponents/p-67498c25.entry.js +0 -1
  547. package/dist/webcomponents/p-6917aa3c.entry.js +0 -1
  548. package/dist/webcomponents/p-6d81822f.entry.js +0 -1
  549. package/dist/webcomponents/p-6f0c582a.entry.js +0 -1
  550. package/dist/webcomponents/p-80652cf8.entry.js +0 -1
  551. package/dist/webcomponents/p-82fe02e4.entry.js +0 -1
  552. package/dist/webcomponents/p-83147f23.entry.js +0 -1
  553. package/dist/webcomponents/p-8c2427ed.entry.js +0 -1
  554. package/dist/webcomponents/p-92de00d7.entry.js +0 -1
  555. package/dist/webcomponents/p-94306884.entry.js +0 -1
  556. package/dist/webcomponents/p-9937e2e7.entry.js +0 -1
  557. package/dist/webcomponents/p-9dca1331.entry.js +0 -1
  558. package/dist/webcomponents/p-9f74d7ea.entry.js +0 -1
  559. package/dist/webcomponents/p-B--N37zY.js +0 -1
  560. package/dist/webcomponents/p-BH0Xfn-F.js +0 -1
  561. package/dist/webcomponents/p-Bg2SZArf.js +0 -1
  562. package/dist/webcomponents/p-BovgIz83.js +0 -1
  563. package/dist/webcomponents/p-BsQy297i.js +0 -1
  564. package/dist/webcomponents/p-CDf5H0TB.js +0 -1
  565. package/dist/webcomponents/p-CUI41_5y.js +0 -1
  566. package/dist/webcomponents/p-CX36GHQP.js +0 -1
  567. package/dist/webcomponents/p-Cf6HoQKl.js +0 -1
  568. package/dist/webcomponents/p-CsdYMTrc.js +0 -1
  569. package/dist/webcomponents/p-D4OlsyTo.js +0 -1
  570. package/dist/webcomponents/p-D8EGHc_m.js +0 -1
  571. package/dist/webcomponents/p-DPmnGTmg.js +0 -1
  572. package/dist/webcomponents/p-DWevPe7C.js +0 -1
  573. package/dist/webcomponents/p-Dbg501Lu.js +0 -1
  574. package/dist/webcomponents/p-DcBvJu0k.js +0 -1
  575. package/dist/webcomponents/p-DkdzUTnl.js +0 -1
  576. package/dist/webcomponents/p-HT_4DkD0.js +0 -1
  577. package/dist/webcomponents/p-MDZuGvsl.js +0 -1
  578. package/dist/webcomponents/p-XrKLre8M.js +0 -1
  579. package/dist/webcomponents/p-_-2E_vYf.js +0 -1
  580. package/dist/webcomponents/p-a75d76ff.entry.js +0 -1
  581. package/dist/webcomponents/p-a7778957.entry.js +0 -1
  582. package/dist/webcomponents/p-a9d7cdae.entry.js +0 -1
  583. package/dist/webcomponents/p-b060a9c9.entry.js +0 -1
  584. package/dist/webcomponents/p-b06910b0.entry.js +0 -1
  585. package/dist/webcomponents/p-b483e71b.entry.js +0 -1
  586. package/dist/webcomponents/p-bdf21f71.entry.js +0 -1
  587. package/dist/webcomponents/p-be5d1005.entry.js +0 -1
  588. package/dist/webcomponents/p-beXEDfB9.js +0 -1
  589. package/dist/webcomponents/p-bfe2583d.entry.js +0 -1
  590. package/dist/webcomponents/p-c09fccd3.entry.js +0 -1
  591. package/dist/webcomponents/p-c827cbc9.entry.js +0 -1
  592. package/dist/webcomponents/p-cc5b7c27.entry.js +0 -1
  593. package/dist/webcomponents/p-d878df6c.entry.js +0 -1
  594. package/dist/webcomponents/p-ddf699e6.entry.js +0 -20
  595. package/dist/webcomponents/p-e0b3735f.entry.js +0 -1
  596. package/dist/webcomponents/p-ea30cf08.entry.js +0 -1
  597. package/dist/webcomponents/p-edf5a854.entry.js +0 -1
  598. package/dist/webcomponents/p-ef89824b.entry.js +0 -1
  599. package/dist/webcomponents/p-fc7ba195.entry.js +0 -1
  600. package/dist/webcomponents/p-hhdRync5.js +0 -1
  601. package/dist/webcomponents/p-niGr4RT2.js +0 -1
  602. package/dist/webcomponents/p-pL4dNfsl.js +0 -1
  603. package/dist/webcomponents/p-qcQTYcr3.js +0 -1
  604. package/dist/webcomponents/p-qrNmDp6K.js +0 -1
  605. package/dist/webcomponents/p-uCg79W3M.js +0 -1
  606. package/dist/webcomponents/p-zi3ljCdQ.js +0 -1
@@ -1,14 +1,14 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-CV0Pyo1O.js';
2
2
  import { c as create$3, F as FormController } from './index.esm-BHdVU4hV.js';
3
- import { y as postalValidation, z as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation } from './schema-validations-v6WGlZkq.js';
4
- import { al as billingForm } from './parts-DnrawQn3.js';
3
+ import { y as postalValidation, z as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation, A as checkoutBillingStateOptions } from './schema-validations-A1o1biOB.js';
4
+ import { al as billingForm } from './parts-CPKMvyV_.js';
5
5
  import { c as checkoutStore, o as onChange } from './checkout.store-DFnkcDZ8.js';
6
6
  import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
7
- import { H as Header3 } from './header-3-C7JJVnMG.js';
7
+ import { H as Header3 } from './header-3-BUDap2xY.js';
8
8
  import './event-types-CZfYo5-1.js';
9
- import { S as StateOptions } from './Business-BcNb9bVO.js';
10
9
  import './_commonjsHelpers-BFTU3MAI.js';
11
- import './country-config-P042rrI3.js';
10
+ import './country-config-CdvhLcnT.js';
11
+ import './Business-BcNb9bVO.js';
12
12
  import './business-form-options-DRalxlqN.js';
13
13
  import './index-cDVGjRkU.js';
14
14
 
@@ -17,7 +17,7 @@ const fullBillingSchema = () => create$3({
17
17
  address_line1: lineOneValidation.required('Enter street address'),
18
18
  address_line2: lineTwoValidation.nullable(),
19
19
  address_city: cityValidation.required('Enter city'),
20
- address_state: stateValidation.required('Select state'),
20
+ address_state: stateValidation.required('Select state or province'),
21
21
  address_postal_code: postalValidation.required('Enter postal code'),
22
22
  });
23
23
  const postalOnlySchema = () => create$3({
@@ -149,7 +149,7 @@ const BillingFormFull = class {
149
149
  return null;
150
150
  }
151
151
  const billingFormDefaultValue = this.formController.getInitialValues();
152
- return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
152
+ return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State / Province', options: checkoutBillingStateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
153
153
  }
154
154
  };
155
155
 
@@ -1,12 +1,12 @@
1
1
  import { h, r as registerInstance } from './index-CV0Pyo1O.js';
2
- import { S as Skeleton } from './skeleton-CXGFVqDf.js';
2
+ import { S as Skeleton } from './skeleton-BEHo2ypu.js';
3
3
  import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
4
4
  import { e as generateTabId } from './utils-BTtxWI2r.js';
5
- import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
6
- import './parts-DnrawQn3.js';
5
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
6
+ import './parts-CPKMvyV_.js';
7
7
  import './index-cDVGjRkU.js';
8
8
  import './dinero-HXpYMWUU.js';
9
- import './package-beXEDfB9.js';
9
+ import './package-B6YPrwyC.js';
10
10
 
11
11
  const BankAccountFormSkeleton = (props) => {
12
12
  const { isReady } = props;
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h } from './index-CV0Pyo1O.js';
2
- import { t as text } from './parts-DnrawQn3.js';
2
+ import { t as text } from './parts-CPKMvyV_.js';
3
3
 
4
4
  const BankAccountReadOnlyValue = class {
5
5
  constructor(hostRef) {
@@ -0,0 +1,163 @@
1
+ import { c as create$3, a as create$6 } from './index.esm-BHdVU4hV.js';
2
+ import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, t as taxIdValidation, o as otherPaymentDetailsValidation, f as whenServiceReceivedValidation, r as revenueValidation, g as paymentVolumeValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, k as makePostalValidation, n as ownershipPercentageValidation, s as ssnValidation, q as dobValidation, u as identityTitleValidation, v as identityNameValidation, x as makeIdentityNumberValidation } from './schema-validations-A1o1biOB.js';
3
+ import { C as CountryCode } from './Business-BcNb9bVO.js';
4
+ import { c as countryLabels } from './country-config-CdvhLcnT.js';
5
+
6
+ // Base schema (no country-specific rules for classification/tax id)
7
+ const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
8
+ const schema = create$3({
9
+ legal_name: businessNameValidation.required('Enter legal name'),
10
+ website_url: websiteUrlValidation.required('Enter business website url'),
11
+ email: emailValidation.required('Enter business email'),
12
+ phone: phoneValidation.required('Enter phone number'),
13
+ doing_business_as: doingBusinessAsValidation.nullable(),
14
+ classification: businessClassificationValidation.required('Select business classification'),
15
+ industry: industryValidation.required('Enter a business industry'),
16
+ date_of_incorporation: dateOfIncorporationValidation.required('Enter date of registration'),
17
+ });
18
+ const easySchema = create$3({
19
+ legal_name: businessNameValidation.required('Enter legal name'),
20
+ website_url: websiteUrlValidation.nullable(),
21
+ email: emailValidation.nullable(),
22
+ phone: phoneValidation.nullable(),
23
+ doing_business_as: doingBusinessAsValidation.nullable(),
24
+ classification: businessClassificationValidation.nullable(),
25
+ industry: industryValidation.nullable(),
26
+ tax_id: taxIdValidation.nullable(),
27
+ date_of_incorporation: dateOfIncorporationValidation.nullable(),
28
+ });
29
+ return allowOptionalFields ? easySchema : schema;
30
+ };
31
+ // Country-specific schema convenience wrappers
32
+ const businessCoreInfoSchemaUSA = (allowOptionalFields) => baseBusinessCoreInfoSchema(allowOptionalFields).concat(create$3({
33
+ classification: create$6().required('Select business classification'),
34
+ tax_id: makeTaxIdValidation(CountryCode.USA)
35
+ .when('tax_id_last4', {
36
+ is: (val) => !val,
37
+ then: (schema) => schema.required(`Enter valid ${countryLabels.USA.taxIdLabel} without dashes`),
38
+ otherwise: (schema) => schema.nullable(),
39
+ }),
40
+ }));
41
+ const businessCoreInfoSchemaCAN = (allowOptionalFields) => baseBusinessCoreInfoSchema(allowOptionalFields).concat(create$3({
42
+ classification: create$6().required('Select business classification'),
43
+ tax_id: makeTaxIdValidation(CountryCode.CAN)
44
+ .when('tax_id_last4', {
45
+ is: (val) => !val,
46
+ then: (schema) => schema.required(`Enter valid ${countryLabels.CAN.taxIdLabel} without dashes`),
47
+ otherwise: (schema) => schema.nullable(),
48
+ }),
49
+ }));
50
+
51
+ const additionalQuestionsSchema = (allowOptionalFields) => {
52
+ const schema = create$3({
53
+ business_revenue: revenueValidation.required('Enter business revenue'),
54
+ business_payment_volume: paymentVolumeValidation.required('Enter business payment volume'),
55
+ business_average_transaction_amount: revenueValidation.required('Enter average transaction amount'),
56
+ business_when_service_received: whenServiceReceivedValidation.required('Select when service is received'),
57
+ business_other_payment_details: otherPaymentDetailsValidation.nullable(),
58
+ });
59
+ const easySchema = create$3({
60
+ business_revenue: revenueValidation.nullable(),
61
+ business_payment_volume: paymentVolumeValidation.nullable(),
62
+ business_average_transaction_amount: revenueValidation.nullable(),
63
+ business_when_service_received: whenServiceReceivedValidation.nullable(),
64
+ business_other_payment_details: otherPaymentDetailsValidation.nullable(),
65
+ });
66
+ return allowOptionalFields ? easySchema : schema;
67
+ };
68
+
69
+ // Internal USA schemas
70
+ const schemaUSA$1 = () => create$3({
71
+ line1: lineOneValidation.nullable(),
72
+ line2: lineTwoValidation.nullable(),
73
+ city: cityValidation.nullable(),
74
+ state: create$6().nullable(),
75
+ postal_code: create$6().nullable(),
76
+ });
77
+ const strictSchemaUSA$1 = () => create$3({
78
+ line1: lineOneValidation.required('Enter street address'),
79
+ line2: lineTwoValidation.nullable(),
80
+ city: cityValidation.required('Enter city'),
81
+ state: create$6().required('Select state'),
82
+ postal_code: makePostalValidation(CountryCode.USA).required('Enter postal code'),
83
+ });
84
+ // Internal CAN schemas
85
+ const schemaCAN$1 = () => create$3({
86
+ line1: lineOneValidation.nullable(),
87
+ line2: lineTwoValidation.nullable(),
88
+ city: cityValidation.nullable(),
89
+ state: create$6().nullable(),
90
+ postal_code: create$6().nullable(),
91
+ });
92
+ const strictSchemaCAN$1 = () => create$3({
93
+ line1: lineOneValidation.required('Enter street address'),
94
+ line2: lineTwoValidation.nullable(),
95
+ city: cityValidation.required('Enter city'),
96
+ state: create$6().required('Select province'),
97
+ postal_code: makePostalValidation(CountryCode.CAN).required('Enter postal code'),
98
+ });
99
+ // Public API
100
+ const addressSchemaUSA = (allowOptionalFields) => allowOptionalFields ? schemaUSA$1() : strictSchemaUSA$1();
101
+ const addressSchemaCAN = (allowOptionalFields) => allowOptionalFields ? schemaCAN$1() : strictSchemaCAN$1();
102
+ // Country-keyed mapping
103
+ const addressSchemaByCountry = {
104
+ [CountryCode.USA]: addressSchemaUSA,
105
+ [CountryCode.CAN]: addressSchemaCAN,
106
+ };
107
+
108
+ // Internal USA schemas
109
+ const schemaUSA = (role) => create$3({
110
+ name: identityNameValidation.required(`Enter ${role} name`),
111
+ title: identityTitleValidation.nullable(),
112
+ email: emailValidation.nullable(),
113
+ phone: phoneValidation.nullable(),
114
+ dob_full: dobValidation(role).nullable(),
115
+ ssn_last4: create$6().nullable(),
116
+ identification_number: ssnValidation.nullable(),
117
+ ownership_percentage: ownershipPercentageValidation.nullable(),
118
+ address: addressSchemaUSA(true),
119
+ });
120
+ const strictSchemaUSA = (role) => create$3({
121
+ name: identityNameValidation.required(`Enter ${role} name`),
122
+ title: identityTitleValidation.required(`Enter ${role} title`),
123
+ email: emailValidation.required(`Enter ${role} email`),
124
+ phone: phoneValidation.required('Enter phone number'),
125
+ dob_full: dobValidation(role).required('Enter date of birth'),
126
+ ssn_last4: create$6().nullable(),
127
+ // ssn required unless last4 provided (handled inside ssnValidation)
128
+ identification_number: ssnValidation,
129
+ ownership_percentage: ownershipPercentageValidation.nullable(),
130
+ address: addressSchemaUSA(false),
131
+ });
132
+ // Internal CAN schemas
133
+ const schemaCAN = (role) => create$3({
134
+ name: identityNameValidation.required(`Enter ${role} name`),
135
+ title: identityTitleValidation.nullable(),
136
+ email: emailValidation.nullable(),
137
+ phone: phoneValidation.nullable(),
138
+ dob_full: dobValidation(role).nullable(),
139
+ ssn_last4: create$6().nullable(),
140
+ identification_number: makeIdentityNumberValidation(CountryCode.CAN).nullable(),
141
+ ownership_percentage: ownershipPercentageValidation.nullable(),
142
+ address: addressSchemaCAN(true),
143
+ });
144
+ const strictSchemaCAN = (role) => create$3({
145
+ name: identityNameValidation.required(`Enter ${role} name`),
146
+ title: identityTitleValidation.required(`Enter ${role} title`),
147
+ email: emailValidation.required(`Enter ${role} email`),
148
+ phone: phoneValidation.required('Enter phone number'),
149
+ dob_full: dobValidation(role).required('Enter date of birth'),
150
+ ssn_last4: create$6().nullable(),
151
+ identification_number: makeIdentityNumberValidation(CountryCode.CAN),
152
+ ownership_percentage: ownershipPercentageValidation.nullable(),
153
+ address: addressSchemaCAN(false),
154
+ });
155
+ const identitySchemaUSA = (role, allowOptionalFields) => allowOptionalFields ? schemaUSA(role) : strictSchemaUSA(role);
156
+ const identitySchemaCAN = (role, allowOptionalFields) => allowOptionalFields ? schemaCAN(role) : strictSchemaCAN(role);
157
+ // Country-keyed mapping
158
+ const identitySchemaByCountry = {
159
+ [CountryCode.USA]: identitySchemaUSA,
160
+ [CountryCode.CAN]: identitySchemaCAN,
161
+ };
162
+
163
+ export { additionalQuestionsSchema as a, businessCoreInfoSchemaUSA as b, addressSchemaUSA as c, businessCoreInfoSchemaCAN as d, identitySchemaCAN as e, addressSchemaCAN as f, identitySchemaByCountry as g, addressSchemaByCountry as h, identitySchemaUSA as i };
@@ -1,8 +1,7 @@
1
1
  import { A as Api } from './Api-DMd8hTI-.js';
2
- import './Plaid-BuKEVgbB.js';
2
+ import './Plaid-l6nNIjab.js';
3
3
  import './Pagination-CLHwhyvu.js';
4
4
  import './Business-BcNb9bVO.js';
5
- import './Dispute-BH0Xfn-F.js';
6
5
 
7
6
  const api = Api();
8
7
  class BusinessService {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-CV0Pyo1O.js';
2
- import { U as buttonOutlineSecondary, V as buttonOutlinePrimary, C as buttonLink, W as buttonDark, X as buttonLight, Y as buttonInfo, Z as buttonWarning, _ as buttonDanger, $ as buttonSuccess, a0 as buttonSecondary, a1 as buttonPrimary, a2 as buttonLoading } from './parts-DnrawQn3.js';
2
+ import { U as buttonOutlineSecondary, V as buttonOutlinePrimary, C as buttonLink, W as buttonDark, X as buttonLight, Y as buttonInfo, Z as buttonWarning, _ as buttonDanger, $ as buttonSuccess, a0 as buttonSecondary, a1 as buttonPrimary, a2 as buttonLoading } from './parts-CPKMvyV_.js';
3
3
 
4
4
  const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" }, h("span", { class: "visually-hidden" }, "Loading...")));
5
5
 
@@ -1,12 +1,12 @@
1
1
  import { h, r as registerInstance } from './index-CV0Pyo1O.js';
2
- import { S as Skeleton } from './skeleton-CXGFVqDf.js';
2
+ import { S as Skeleton } from './skeleton-BEHo2ypu.js';
3
3
  import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
4
4
  import { e as generateTabId } from './utils-BTtxWI2r.js';
5
- import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
6
- import './parts-DnrawQn3.js';
5
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
6
+ import './parts-CPKMvyV_.js';
7
7
  import './index-cDVGjRkU.js';
8
8
  import './dinero-HXpYMWUU.js';
9
- import './package-beXEDfB9.js';
9
+ import './package-B6YPrwyC.js';
10
10
 
11
11
  const CardFormSkeleton = (props) => {
12
12
  const { isReady } = props;
@@ -1,4 +1,4 @@
1
- import { p as packageJson } from './package-beXEDfB9.js';
1
+ import { p as packageJson } from './package-B6YPrwyC.js';
2
2
 
3
3
  const JUSTIFI_VERSION_KEY = '__JUSTIFI_WC_VERSION__';
4
4
  const detectDuplicateVersion = () => {
@@ -1,8 +1,7 @@
1
1
  import { A as Api } from './Api-DMd8hTI-.js';
2
- import './Plaid-BuKEVgbB.js';
2
+ import './Plaid-l6nNIjab.js';
3
3
  import './Pagination-CLHwhyvu.js';
4
4
  import './Business-BcNb9bVO.js';
5
- import './Dispute-BH0Xfn-F.js';
6
5
 
7
6
  const api = Api();
8
7
  class CheckoutService {
@@ -61,4 +61,4 @@ const countryValidation = {
61
61
  },
62
62
  };
63
63
 
64
- export { countryValidation as a, countryOptions as b, countryLabels as c };
64
+ export { ProvinceOptions as P, countryValidation as a, countryOptions as b, countryLabels as c };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
2
- import { an as tooltip, ao as tooltipInner, ap as tooltipIcon } from './parts-DnrawQn3.js';
2
+ import { an as tooltip, ao as tooltipInner, ap as tooltipIcon } from './parts-CPKMvyV_.js';
3
3
 
4
4
  var top = 'top';
5
5
  var bottom = 'bottom';
@@ -1901,7 +1901,7 @@ const CustomPopper = class {
1901
1901
  this.hideEvent.emit();
1902
1902
  }
1903
1903
  render() {
1904
- return (h("div", { key: '7a5bab9f568f74c4cc7635a5844ca9a48c506521' }, h("style", { key: '9d073f9cc6b46141f05def0a5fa51d61ce2ec1b0' }, `
1904
+ return (h("div", { key: 'eb1e7317215bc36f340ac0cd8b5826cc302c3693' }, h("style", { key: '1acdb1992e684a654d659e7472758e016b4b11d6' }, `
1905
1905
  .popper-content {
1906
1906
  display: none;
1907
1907
  }
@@ -1909,7 +1909,7 @@ const CustomPopper = class {
1909
1909
  display: block;
1910
1910
  z-index: 1030;
1911
1911
  }
1912
- `), h("div", { key: '7cea0b75df433ed9b5a8e46b015814a954f47c99', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '6a6f628864ce86989413f80b8a39f7fe089d6633' }))));
1912
+ `), h("div", { key: '53ff89449687b84469c9cfbb83c7807b6e95e003', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: 'f8f516747c2ad6c2e32efefeaa33f319a202bba6' }))));
1913
1913
  }
1914
1914
  static get watchers() { return {
1915
1915
  "anchorRef": ["onAnchorRefChange"]
@@ -1,24 +1,21 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
2
2
  import { f as formatCurrency } from './utils-BTtxWI2r.js';
3
- import { t as text, a8 as heading4 } from './parts-DnrawQn3.js';
4
- import { B as Button } from './button-DRdaAudE.js';
5
- import { S as StyledHost } from './styled-host-D6byRazK.js';
6
- import { S as Skeleton } from './skeleton-CXGFVqDf.js';
3
+ import { t as text, a8 as heading4 } from './parts-CPKMvyV_.js';
4
+ import { B as Button } from './button-BvzOzV4l.js';
5
+ import { S as Skeleton } from './skeleton-BEHo2ypu.js';
7
6
  import './event-types-CZfYo5-1.js';
8
- import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-BuKEVgbB.js';
9
- import { g as getErrorCode, a as getErrorMessage } from './utils-DcfpJGDZ.js';
10
- import { D as DisputeService } from './dispute.service-vlYGy0nR.js';
11
- import { D as DisputeManagementClickActions } from './event-types-Bg2SZArf.js';
12
- import { c as checkPkgVersion } from './check-pkg-version-6iGDh82c.js';
13
- import { J as JustifiAnalytics } from './Analytics-Cyc3ZLPx.js';
7
+ import { C as ComponentErrorSeverity, e as ComponentErrorCodes } from './Plaid-l6nNIjab.js';
8
+ import { g as getErrorCode, a as getErrorMessage } from './utils-C1B2hVAB.js';
9
+ import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-DalU_6SB.js';
10
+ import { c as checkPkgVersion } from './check-pkg-version-D-rHqtUI.js';
11
+ import { J as JustifiAnalytics } from './Analytics-Cg17Xhj_.js';
14
12
  import './dinero-HXpYMWUU.js';
15
- import './Dispute-BH0Xfn-F.js';
16
13
  import './Api-DMd8hTI-.js';
17
14
  import './config-state-kKn89dp1.js';
18
15
  import './index-cDVGjRkU.js';
19
16
  import './Pagination-CLHwhyvu.js';
20
17
  import './Business-BcNb9bVO.js';
21
- import './package-beXEDfB9.js';
18
+ import './package-B6YPrwyC.js';
22
19
 
23
20
  const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
24
21
  var _a;
@@ -108,7 +105,7 @@ const makeCreateDisputeEvidence = ({ authToken, disputeId, service }) => async (
108
105
  }
109
106
  };
110
107
 
111
- const JustifiDisputeNotification = class {
108
+ const DisputeNotification = class {
112
109
  constructor(hostRef) {
113
110
  registerInstance(this, hostRef);
114
111
  this.clickEvent = createEvent(this, "click-event", 7);
@@ -153,93 +150,34 @@ const JustifiDisputeNotification = class {
153
150
  }
154
151
  render() {
155
152
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
156
- return (h(StyledHost, { key: '736e9c381309e08926162292fdbf7b62cc2087e9' }, this.isLoading && (h("div", { key: '21bdc2b142c32d00323211dda36074976b63dbb4', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'e73b642a8c2a02b397affeb1fff5e5c35a3d87fb', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '8ba58aa2227e88903a3eccc2bb8b577c05515139', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: 'fb88ccd69ee44cf8af5e9093906fc21016a2a5b6', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && this.isDueDatePassed() && (h("div", { key: 'e1fb6db600ef9418b47eb5e51ef8c62f4b005183', part: text }, h("h1", { key: 'ac2e9efc93c68d30f2a20ce2816c668826adfe6d', class: "h4", part: heading4 }, "The due date (", (_b = this.dispute) === null || _b === void 0 ? void 0 :
157
- _b.due_date, ") for this dispute has passed"), h("p", { key: '6d189ad1eaa6c9e144749a5bab6aefcf3541e382' }, "You can no longer submit evidence to counter this dispute."))), ((_c = this.dispute) === null || _c === void 0 ? void 0 : _c.needsResponse) && !this.isDueDatePassed() && (h("div", { key: '2212952890d5fedb650c15d6e526e3fbf9ab9a68', part: text }, h("h1", { key: '67426dbff584f957e89a8d86570fab038de53f8d', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '513490e2c25f4b12d1400d74862618aaf9794bd3' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '352898d8cae890914bf8feffd0ca913b71cd6c18', class: "h5" }, "Dispute details"), h("div", { key: 'b2b00e53e015d2cfb7a58ee66220af6dbb22467a', class: "d-table gap-2" }, h("div", { key: 'ee7162b5c176c1d334f09cdda553a1ef6e9b1dd0', class: "d-table-row gap-2" }, h("span", { key: '863e381c1610481ae609e4f9e3bc4d4cba6981cb', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'a4860c2b8b4f9f79cea5b45e8da37509368e02fd', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_d = this.dispute) === null || _d === void 0 ? void 0 : _d.amount))), h("div", { key: '15b6c3183065af7771ffd31971e9c120c28cb285', class: "d-table-row gap-2" }, h("span", { key: '1a43935f1a8fa71dbd7b511430d5b29179a00d40', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '6351bb9fcc392700e52f6a19a5b7796f0db81b7c', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_e = this.dispute) === null || _e === void 0 ? void 0 : _e.reason)), h("div", { key: '07badb71175a086399c2cd7e21f20eef2dc71547', class: "d-table-row gap-2" }, h("span", { key: '7f000a4206424cd4808d5cd9a20c339bf3ecaf18', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), h("span", { key: 'a768799fd24012e11c9a3907f9da9959c815d475', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_f = this.dispute) === null || _f === void 0 ? void 0 : _f.due_date))), h("div", { key: 'b077e8d4e7c446db5c46f41174dbbf18647da81d', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: 'b113557e1ebabd4d787d95d3cf65c50c66085f0b', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '8fc56615440cd75503c7ce9324670592e1c88068', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.underReview) && (h("div", { key: '1419d80deb612294fe979d8cbf2fb76eab05c30c', part: text }, h("h1", { key: 'd77570d765ec7c1161c29f667911df1a40004c5b', class: "h4", part: heading4 }, "This payment is disputed and under review"), h("p", { key: 'b4e258895b34f062b244d710a0b947e08bb5bbea' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_h = this.dispute) === null || _h === void 0 ? void 0 : _h.won) && (h("div", { key: '7e32157b5bcdc02bfd125b9b03607f67488ab48e', part: text }, h("h1", { key: 'd087b4fcb56468bd8aa9904286f858591af94ba1', class: "h4", part: heading4 }, "This payment was disputed"), h("p", { key: '0aa0f4003d253874c6bd639afffba2ca37c9985e' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_j = this.dispute) === null || _j === void 0 ? void 0 : _j.lost) && (h("div", { key: 'f3855957e8222a4837f5cee6026b0c56df3ed185', part: text }, h("h1", { key: '1c0261b5d45e54b26982be2112b92d8585933b7a', class: "h4", part: heading4 }, "This payment was disputed"), h("p", { key: 'f8ae5063b7254794687af55b989a5f282846fbfb' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
153
+ return (h("div", { key: 'c5963c0823e635ee0c2e88979b174c89c96af134', class: "dispute-notification-root" }, this.isLoading && (h("div", { key: '4de146d999a16e1b4ad3e393285a843d86febdda', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'ccbf1fe76ac5582cb2536548901c12768096e867', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '06ede07362fe88dfd4ec6b38c80bf619b9c7a134', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '768613c5b20ef403c468b12d5dacbea4b211ebef', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && this.isDueDatePassed() && (h("div", { key: 'a22e18df2764ddb6bee0db7e4da388bd9aec0d99', part: text }, h("h1", { key: 'b602464b54aacc6c0776975921dbe3fceeda1f04', class: "h4", part: heading4 }, "The due date (", (_b = this.dispute) === null || _b === void 0 ? void 0 :
154
+ _b.due_date, ") for this dispute has passed"), h("p", { key: 'e4b8615f75914e7aa613f6120172bc2cc0f6dd31' }, "You can no longer submit evidence to counter this dispute."))), ((_c = this.dispute) === null || _c === void 0 ? void 0 : _c.needsResponse) && !this.isDueDatePassed() && (h("div", { key: '2b09cc88b63ca582e2ef8cb83ef4455d4af493cc', part: text }, h("h1", { key: '74ac700bc104aac085712a30da0b968a1bec41fe', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '2d133967991c3ee44f022ac925c873c198b71315' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '376936590aaeb5903f430eedb84984704966563d', class: "h5" }, "Dispute details"), h("div", { key: '8afea9772ee48495c8b731ba8602c48e00061f8c', class: "d-table gap-2" }, h("div", { key: '14630372fff051e1baadb7239ced63ae56edaf7e', class: "d-table-row gap-2" }, h("span", { key: '4ec3fc5233e87b07021eeb78ac7d4e09666502c7', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'fe19ae497136c8ef5511a0197952c6d3cd889b84', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_d = this.dispute) === null || _d === void 0 ? void 0 : _d.amount))), h("div", { key: '0f955e0707a9b8126868a34dafa39320e00d7706', class: "d-table-row gap-2" }, h("span", { key: '63dc2ebf125f6ec52a155ced1324a02b0735c78b', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '5a6e543559e873811348fa0b68d21fe0f1dac781', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_e = this.dispute) === null || _e === void 0 ? void 0 : _e.reason)), h("div", { key: '7656de07c60c137dd7005f96370a71442dcdb526', class: "d-table-row gap-2" }, h("span", { key: '817a89c84f605cbfac346f0d39790b35a73d51a4', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), h("span", { key: 'e0e7c74f85934f6a1d2e02bc24d5563e1a37222e', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_f = this.dispute) === null || _f === void 0 ? void 0 : _f.due_date))), h("div", { key: '2ef721cebd617709242a0b4b9713ff264f73eac0', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '530f16709538e4146e542b88177145e4b2c9808a', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: 'a498af8eb2d5a41e75a8fb044b981463b8e3bbd4', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.underReview) && (h("div", { key: 'f01a89cda469402b5543b64b02ddfc9ec66cc62b', part: text }, h("h1", { key: '15f0173bdfc20dea6fb16b030479f8554e40b716', class: "h4", part: heading4 }, "This payment is disputed and under review"), h("p", { key: 'a444d77fad985cddf37a0386db7ee65f321fa11c' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_h = this.dispute) === null || _h === void 0 ? void 0 : _h.won) && (h("div", { key: '08bf0f31e5fe43dbf1058709f500d0b592827dcb', part: text }, h("h1", { key: 'e9925566140ac26b9fb42026258f3ca2bebc002f', class: "h4", part: heading4 }, "This payment was disputed"), h("p", { key: 'b0dd7cec8cad943d46d7e2d7d919f15b29d08fbd' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_j = this.dispute) === null || _j === void 0 ? void 0 : _j.lost) && (h("div", { key: '4b037a462c3e9b3c7b7296e15b443c94a4310f46', part: text }, h("h1", { key: 'b614282d90adb69e9c638ed7a6f80566033c69ed', class: "h4", part: heading4 }, "This payment was disputed"), h("p", { key: '3808b99fb69241784c6f3e09bbd6b13636cb26a3' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
158
155
  }
159
156
  };
160
157
 
161
- const JustifiDisputeResponse = class {
162
- constructor(hostRef) {
163
- registerInstance(this, hostRef);
164
- this.errorEvent = createEvent(this, "error-event", 7);
165
- this.errorMessage = null;
166
- this.apiOrigin = "https://wc-proxy.justifi.ai";
167
- this.handleErrorEvent = (event) => {
168
- this.errorMessage = event.detail.message;
169
- this.errorEvent.emit(event.detail);
170
- };
171
- }
172
- componentWillLoad() {
173
- checkPkgVersion();
174
- this.analytics = new JustifiAnalytics(this);
175
- this.initializeDisputeServiceMethods();
176
- }
177
- disconnectedCallback() {
178
- var _a;
179
- (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
180
- }
181
- ;
182
- propChanged() {
183
- this.initializeDisputeServiceMethods();
184
- }
185
- initializeDisputeServiceMethods() {
186
- if (this.disputeId && this.authToken) {
187
- this.updateDisputeResponse = makeUpdateDisputeResponse({
188
- disputeId: this.disputeId,
189
- authToken: this.authToken,
190
- service: new DisputeService()
191
- });
192
- this.createDisputeEvidence = makeCreateDisputeEvidence({
193
- disputeId: this.disputeId,
194
- authToken: this.authToken,
195
- service: new DisputeService()
196
- });
197
- this.submitDisputeResponse = makeSubmitDisputeResponse({
198
- disputeId: this.disputeId,
199
- authToken: this.authToken,
200
- service: new DisputeService()
201
- });
202
- }
203
- else {
204
- this.errorMessage = 'Account ID and Auth Token are required';
205
- this.errorEvent.emit({
206
- errorCode: ComponentErrorCodes.MISSING_PROPS,
207
- message: this.errorMessage,
208
- severity: ComponentErrorSeverity.ERROR,
209
- });
210
- }
211
- }
212
- render() {
213
- return (h(StyledHost, { key: 'fb08d6796fe7740f292eff620d04e943adb30b22' }, h("justifi-dispute-response-core", { key: 'cb1859a262749d3e11c14844e5a9a5909970ee06', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
214
- }
215
- ;
216
- static get watchers() { return {
217
- "accountId": ["propChanged"],
218
- "authToken": ["propChanged"]
219
- }; }
220
- };
221
-
222
- const JustifiDisputeResponseCore = class {
158
+ const DisputeResponse = class {
223
159
  constructor(hostRef) {
224
160
  registerInstance(this, hostRef);
225
161
  this.clickEvent = createEvent(this, "click-event", 7);
226
162
  this.errorEvent = createEvent(this, "error-event", 7);
227
163
  this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
228
164
  this.submitEvent = createEvent(this, "submit-event", 7);
165
+ this.errorMessage = null;
229
166
  this.disputeResponse = {};
167
+ this.apiOrigin = "https://wc-proxy.justifi.ai";
230
168
  this.isLoading = false;
231
169
  this.documentList = [];
232
170
  this.documentErrors = {};
233
171
  this.currentStep = 0;
234
172
  this.componentStepMapping = [
235
- () => h("justifi-product-or-service", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
236
- () => h("justifi-customer-details", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
237
- () => h("justifi-cancellation-policy", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
238
- () => h("justifi-refund-policy", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
239
- () => h("justifi-duplicate-charge", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
240
- () => h("justifi-electronic-evidence", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
241
- () => h("justifi-shipping-details", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
242
- () => h("justifi-additional-statement", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
173
+ () => (h("product-or-service", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
174
+ () => (h("customer-details", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
175
+ () => (h("cancellation-policy", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
176
+ () => (h("refund-policy", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
177
+ () => (h("duplicate-charge", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
178
+ () => (h("electronic-evidence", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
179
+ () => (h("shipping-details", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
180
+ () => (h("additional-statement", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
243
181
  ];
244
182
  this.saveData = async (formData, formStep) => {
245
183
  const hasFormData = Object.keys(formData).length;
@@ -337,15 +275,12 @@ const JustifiDisputeResponseCore = class {
337
275
  }
338
276
  await this.initializeFileUploads();
339
277
  }
340
- // this needs to happen last because it fires the 'submit-event' and 'complete-form-step-event' event
341
278
  await this.saveData(formData, formStep);
342
279
  this.isLoading = false;
343
280
  };
344
281
  this.onCancel = () => {
345
282
  this.clickEvent.emit({ name: DisputeManagementClickActions.cancelDispute });
346
283
  };
347
- // after each of these steps where validateAndSubmit is called, reload the dispute
348
- // and set isLoading, and pass defaults into each step
349
284
  this.onBack = async () => {
350
285
  await this.currentStepComponentRef.validateAndSubmit(async (formData, documentList, formStep) => {
351
286
  this.clickEvent.emit({ name: DisputeManagementClickActions.previousStep });
@@ -368,6 +303,45 @@ const JustifiDisputeResponseCore = class {
368
303
  });
369
304
  };
370
305
  }
306
+ componentWillLoad() {
307
+ checkPkgVersion();
308
+ this.analytics = new JustifiAnalytics(this);
309
+ this.initializeDisputeServiceMethods();
310
+ }
311
+ disconnectedCallback() {
312
+ var _a;
313
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
314
+ }
315
+ propChanged() {
316
+ this.initializeDisputeServiceMethods();
317
+ }
318
+ initializeDisputeServiceMethods() {
319
+ if (this.disputeId && this.authToken) {
320
+ this.updateDisputeResponse = makeUpdateDisputeResponse({
321
+ disputeId: this.disputeId,
322
+ authToken: this.authToken,
323
+ service: new DisputeService(),
324
+ });
325
+ this.createDisputeEvidence = makeCreateDisputeEvidence({
326
+ disputeId: this.disputeId,
327
+ authToken: this.authToken,
328
+ service: new DisputeService(),
329
+ });
330
+ this.submitDisputeResponse = makeSubmitDisputeResponse({
331
+ disputeId: this.disputeId,
332
+ authToken: this.authToken,
333
+ service: new DisputeService(),
334
+ });
335
+ }
336
+ else {
337
+ this.errorMessage = 'Account ID and Auth Token are required';
338
+ this.errorEvent.emit({
339
+ errorCode: ComponentErrorCodes.MISSING_PROPS,
340
+ message: this.errorMessage,
341
+ severity: ComponentErrorSeverity.ERROR,
342
+ });
343
+ }
344
+ }
371
345
  get currentStepComponent() {
372
346
  return this.componentStepMapping[this.currentStep]();
373
347
  }
@@ -378,8 +352,12 @@ const JustifiDisputeResponseCore = class {
378
352
  return this.currentStep === 0;
379
353
  }
380
354
  render() {
381
- return (h("div", { key: '2cc3b2abef27f1ecf146dca2423fe07efd98c816', class: "row gy-3" }, h("div", { key: '4c0303a7ad858568888c1345709858ac922ec176', class: "col-12" }, h("h1", { key: 'e857a204a17cb406790023c68e1f2908e3e194bc', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: 'bff6c1e8d5852569d868829aaf6721e8489ee577', class: "col-12" }, this.currentStepComponent), h("div", { key: '4ea8230871e5f0b90e4fed95821bf1ed6ba6ad83', class: "col-12" }, h("div", { key: 'a489196afb70fc4fc7c14c8ad2d55253b6f71a64', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
355
+ return (h("div", { key: '50f6bf79c7590ef3591e2163dbcd89241ca17b62', class: "dispute-response-root" }, h("div", { key: '5345d5a3c5e7ff2d4c56f438fe623578e3d2029e', class: "row gy-3" }, h("div", { key: '8925276a290105b2fde5cd6bfdf0390c3a0c95f9', class: "col-12" }, h("h1", { key: 'b8eb14deedc748b3612f11fad9d94fa38020a7f8', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '50afe487bdb21d3ea2dc149c662a284f5ebb4d9b', class: "col-12" }, this.currentStepComponent), h("div", { key: 'cde242630fdc12e82ee5a77a199c4f6a7858371e', class: "col-12" }, h("div", { key: 'ce548b753ec56df34e23eb33649a27449d49b712', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next")))))));
382
356
  }
357
+ static get watchers() { return {
358
+ "disputeId": ["propChanged"],
359
+ "authToken": ["propChanged"]
360
+ }; }
383
361
  };
384
362
 
385
- export { JustifiDisputeNotification as justifi_dispute_notification, JustifiDisputeResponse as justifi_dispute_response, JustifiDisputeResponseCore as justifi_dispute_response_core };
363
+ export { DisputeNotification as dispute_notification, DisputeResponse as dispute_response };
@@ -1,3 +1,31 @@
1
+ import { A as Api } from './Api-DMd8hTI-.js';
2
+ import './Plaid-l6nNIjab.js';
3
+ import './Pagination-CLHwhyvu.js';
4
+ import './Business-BcNb9bVO.js';
5
+
6
+ const api = Api();
7
+ class DisputeService {
8
+ async fetchDispute(disputeId, authToken) {
9
+ const endpoint = `disputes/${disputeId}`;
10
+ return api.get({ endpoint, authToken });
11
+ }
12
+ async updateDisputeResponse(disputeId, authToken, payload) {
13
+ const endpoint = `disputes/${disputeId}/response`;
14
+ const body = payload;
15
+ return api.patch({ endpoint, body, authToken });
16
+ }
17
+ async submitDisputeResponse(disputeId, authToken, payload) {
18
+ const endpoint = `disputes/${disputeId}/response`;
19
+ const body = payload;
20
+ return api.post({ endpoint, body, authToken });
21
+ }
22
+ async createDisputeEvidence(disputeId, authToken, payload) {
23
+ const endpoint = `disputes/${disputeId}/evidence`;
24
+ const body = payload;
25
+ return api.put({ endpoint, body, authToken });
26
+ }
27
+ }
28
+
1
29
  var DisputeManagementClickActions;
2
30
  (function (DisputeManagementClickActions) {
3
31
  DisputeManagementClickActions["nextStep"] = "nextStep";
@@ -19,4 +47,4 @@ var DisputeResponseFormStep;
19
47
  DisputeResponseFormStep["additionalStatement"] = "additional_statement";
20
48
  })(DisputeResponseFormStep || (DisputeResponseFormStep = {}));
21
49
 
22
- export { DisputeManagementClickActions as D };
50
+ export { DisputeManagementClickActions as D, DisputeService as a };