@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,11 +1,11 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { formatCurrency } from "../../utils/utils";
3
3
  import { heading4, text } from "../../styles/parts";
4
- import { Skeleton, Button, StyledHost } from "../../ui-components";
4
+ import { Skeleton, Button } from "../../ui-components";
5
5
  import { makeSubmitDisputeResponse } from "./dispute-response/dispute-response-actions";
6
6
  import { DisputeService } from "../../api/services/dispute.service";
7
7
  import { DisputeManagementClickActions } from "./event-types";
8
- export class JustifiDisputeNotification {
8
+ export class DisputeNotification {
9
9
  acceptDispute() {
10
10
  makeSubmitDisputeResponse({
11
11
  disputeId: this.dispute.id,
@@ -44,11 +44,10 @@ export class JustifiDisputeNotification {
44
44
  }
45
45
  render() {
46
46
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
47
- 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 :
48
- _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.")))));
47
+ 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 :
48
+ _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.")))));
49
49
  }
50
- static get is() { return "justifi-dispute-notification"; }
51
- static get encapsulation() { return "shadow"; }
50
+ static get is() { return "dispute-notification"; }
52
51
  static get properties() {
53
52
  return {
54
53
  "dispute": {
@@ -4,7 +4,7 @@ import AdditionalStatementSchema from "./schemas/additional-statement-schema";
4
4
  import { DisputeResponseFormStep } from "./dispute-response-form-types";
5
5
  import { heading5 } from "../../../styles/parts";
6
6
  import fileInputHandler from "./file-input-handler";
7
- export class JustifiAdditionalStatement {
7
+ export class AdditionalStatement {
8
8
  constructor() {
9
9
  this.documentErrors = {};
10
10
  this.errors = {};
@@ -29,9 +29,9 @@ export class JustifiAdditionalStatement {
29
29
  }
30
30
  render() {
31
31
  var _a, _b;
32
- return (h("div", { key: '97175b1ff6bee9154ec66df8710c7343cdd9a2dd' }, h("div", { key: 'f36de20ce5e724780550bcb0eaa4512b5d1559ef', class: "row gy-3" }, h("div", { key: 'bf5002c5e8b8c3f516fa8cad1f42e7b7ca9e55f9', class: "col-12" }, h("h2", { key: '64f6517d1029463cfe07c435f6b4a1cdca95f097', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '81ced6dd86b41293b6692d3023fbe5e9e11cc392', class: "col-12" }, h("form-control-textarea", { key: 'd5f28108a9dbea3e0f2634b1cd96316a9f986c90', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '19d8047c4fc03376f77f5331f2fcfea6cd20e2b9', class: "col-12" }, h("form-control-file-v2", { key: '871bc06d4f7b5e3d56dd73ddfc9a8061d701f501', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
32
+ return (h("div", { key: '6981b81dee8ead47d8e86c501b82d61aa4c337b9' }, h("div", { key: '0bf8ad743eaf5fe2e8c68d79947a4c2303e782f1', class: "row gy-3" }, h("div", { key: 'bdd3e46477ed7667a73a81d98c62e1121660b820', class: "col-12" }, h("h2", { key: 'b0b8e093b3c7204526b19fc54f80ea8c681ff22e', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '15570a6b33fab873a7fc9faa544c8fb234515f38', class: "col-12" }, h("form-control-textarea", { key: '68e08b8e96dbb74c35f1fabbb769aa95a3e0ada9', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: 'f684ffc7e55aac7d0667326c99480b796f2a9cfc', class: "col-12" }, h("form-control-file-v2", { key: '8ea248120f9f2ed5fb689a1a25855266dbe561a0', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
33
33
  }
34
- static get is() { return "justifi-additional-statement"; }
34
+ static get is() { return "additional-statement"; }
35
35
  static get properties() {
36
36
  return {
37
37
  "disputeResponse": {
@@ -4,7 +4,7 @@ import CancellationPolicySchema from "./schemas/cancellation-policy-schema";
4
4
  import { DisputeResponseFormStep } from "./dispute-response-form-types";
5
5
  import { heading5 } from "../../../styles/parts";
6
6
  import fileInputHandler from "./file-input-handler";
7
- export class JustifiCancellationPolicy {
7
+ export class CancellationPolicy {
8
8
  constructor() {
9
9
  this.documentErrors = {};
10
10
  this.errors = {};
@@ -28,9 +28,9 @@ export class JustifiCancellationPolicy {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c;
31
- return (h("div", { key: 'f5f98ed91abdb767d3f48efaa9d69a5445d6a5bf' }, h("div", { key: 'b7a2539c1c5971267eb469fb0011508e5c3aa163', class: "row gy-3" }, h("div", { key: '82666927fa4daccb9ea2ad511e445201d216775e', class: "col-12" }, h("h2", { key: '7cf97383cee9cd3c5c95cc20374826b7f0d0ebe3', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '8a4691ee688de45f97dd624310ca5fc39cf20db2', class: "col-12" }, h("form-control-textarea", { key: '27ce967696f3f89c8b91d5892f7dfffefacd8536', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '12a25c0dc23b528b412e1b19fd9b7071967fd411', class: "col-12" }, h("form-control-textarea", { key: '81ceef5f5b94ad31eb1cd36991a13e099b13725c', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '9afbe3a16b1da50afea763c66e4ee0b5b388b137', class: "col-12" }, h("form-control-file-v2", { key: '9a613e293af4d48354859bfd2329afce152a5f89', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
31
+ return (h("div", { key: 'debb9fe05382d0806038547b61fe3201845db2a1' }, h("div", { key: '030d5be9a41dff1954049c6ac33a79024741c43c', class: "row gy-3" }, h("div", { key: 'd5da527af347d6c29c30f5ed5b5295b9ef693e7f', class: "col-12" }, h("h2", { key: '3f8d2da0485bd28220ae9f66db87fab49e86a734', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'd7fa3aacd80ad375ba58d1c86d8cf9d00c4cce6e', class: "col-12" }, h("form-control-textarea", { key: 'ca14e78ef0dcbad3b2a76cb230c2eb4a7c56f877', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'e8f10ab0e5e3e9c7a0f90aa13e8680607bb64a3e', class: "col-12" }, h("form-control-textarea", { key: '5ca2d11d67301b512756cbc4355939b9433be033', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '36b8ef8f62721f220a05b1571bb347641b433b56', class: "col-12" }, h("form-control-file-v2", { key: 'c04f383cf55abd36b753718c2170d64f97935e7f', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
32
32
  }
33
- static get is() { return "justifi-cancellation-policy"; }
33
+ static get is() { return "cancellation-policy"; }
34
34
  static get properties() {
35
35
  return {
36
36
  "disputeResponse": {
@@ -4,7 +4,7 @@ import CustomerDetailsSchema from "./schemas/customer-details-schema";
4
4
  import { DisputeResponseFormStep } from "./dispute-response-form-types";
5
5
  import { heading5 } from "../../../styles/parts";
6
6
  import fileInputHandler from "./file-input-handler";
7
- export class JustifiCustomerDetails {
7
+ export class CustomerDetails {
8
8
  constructor() {
9
9
  this.documentErrors = {};
10
10
  this.errors = {};
@@ -28,9 +28,9 @@ export class JustifiCustomerDetails {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c, _d, _e;
31
- return (h("div", { key: '8bc10877cfabb168cd717d463a1ae252809275f5' }, h("div", { key: '12dc083ba94dfbb7b20671c636a0be03f3b67070', class: "row gy-3" }, h("div", { key: '429c91062e19b12711baa35d14b1337f8fbfc9d6', class: "col-12" }, h("h2", { key: '406723145d3bdbaa52b2897a5dc4347be34e7eea', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '40d5e8bd7c2b1fe8786c38fc2b7a3789278f3497', class: "col-12" }, h("form-control-text", { key: 'ade5ccaf5a45ba5f3f81c68196bfc7879da03315', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: 'baf8a129aa64d4507bce0d1f9ed7077f0911715e', class: "col-12" }, h("form-control-text", { key: '786f84b55ffec13cc937dff50e587e28865c7114', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '2805d754316314934648955b34e8c6da5f709192', class: "col-12" }, h("form-control-textarea", { key: '95a7a8a9d1d9ea70478021110808545c0730ffec', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '78fa90926cc11695379a95dde849cfb28cf829f5', class: "col-12" }, h("form-control-file-v2", { key: '984ab42f7742afcb0b74ccf65f313ead0542f75d', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: 'de0bf546a3e767ec1e362446f14edea449643b2b', class: "col-12" }, h("form-control-file-v2", { key: '4124feba010476d48ab052142b7fb962d1550934', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
31
+ return (h("div", { key: '91e26b2e75fdd29814c58122e5aeae0d4d696032' }, h("div", { key: '029a3828b8682fdd10af400dccceff109f866509', class: "row gy-3" }, h("div", { key: '71fa3ded5566c5c18c682b8cfdfdcc5ebba2db44', class: "col-12" }, h("h2", { key: '95eb1ed9da9cd955fa9c4c7a83368ac3c3378d5b', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '9450f8bd033efc7d48d62ce343b8b43833887f63', class: "col-12" }, h("form-control-text", { key: '5690f7d9a46e2d58bdc24af0aab3798664f21745', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: 'a12aa4cb464e5df7f045302b08801adca70005f6', class: "col-12" }, h("form-control-text", { key: '39cdb0b558b87a7eae0528ea40b9ca4175b4cf7c', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '13604ae63374c6fa1805d8c4be0ba55fc166a924', class: "col-12" }, h("form-control-textarea", { key: '60a110f277175418c2ec0938600ad4b04f885ee3', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: 'abaa8888fff9952b3433c49e82a7150d6cd971dd', class: "col-12" }, h("form-control-file-v2", { key: 'e2e79edd8eaafd93cfdb91fd6a3b77645c1d28f2', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '04bfc4bf3e735cccf70fb83d2e0882662b389727', class: "col-12" }, h("form-control-file-v2", { key: '476d3df1f072afdf95a6ad83e8b94b5946d66186', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
32
32
  }
33
- static get is() { return "justifi-customer-details"; }
33
+ static get is() { return "customer-details"; }
34
34
  static get properties() {
35
35
  return {
36
36
  "disputeResponse": {
@@ -1,23 +1,30 @@
1
1
  import { h } from "@stencil/core";
2
+ import { checkPkgVersion } from "../../../utils/check-pkg-version";
3
+ import { makeCreateDisputeEvidence, makeUpdateDisputeResponse, makeSubmitDisputeResponse, } from "./dispute-response-actions";
4
+ import JustifiAnalytics from "../../../api/Analytics";
5
+ import { ComponentErrorCodes, ComponentErrorSeverity } from "../../../api/ComponentError";
6
+ import { DisputeService } from "../../../api/services/dispute.service";
2
7
  import { DisputeManagementClickActions } from "../event-types";
3
8
  import { heading4 } from "../../../styles/parts";
4
9
  import { Button } from "../../../ui-components/button";
5
- export class JustifiDisputeResponseCore {
10
+ export class DisputeResponse {
6
11
  constructor() {
12
+ this.errorMessage = null;
7
13
  this.disputeResponse = {};
14
+ this.apiOrigin = PROXY_API_ORIGIN;
8
15
  this.isLoading = false;
9
16
  this.documentList = [];
10
17
  this.documentErrors = {};
11
18
  this.currentStep = 0;
12
19
  this.componentStepMapping = [
13
- () => h("justifi-product-or-service", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
14
- () => h("justifi-customer-details", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
15
- () => h("justifi-cancellation-policy", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
16
- () => h("justifi-refund-policy", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
17
- () => h("justifi-duplicate-charge", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
18
- () => h("justifi-electronic-evidence", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
19
- () => h("justifi-shipping-details", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
20
- () => h("justifi-additional-statement", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
20
+ () => (h("product-or-service", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
21
+ () => (h("customer-details", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
22
+ () => (h("cancellation-policy", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
23
+ () => (h("refund-policy", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
24
+ () => (h("duplicate-charge", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
25
+ () => (h("electronic-evidence", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
26
+ () => (h("shipping-details", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
27
+ () => (h("additional-statement", { ref: (el) => (this.currentStepComponentRef = el), disputeResponse: this.disputeResponse, documentErrors: this.documentErrors })),
21
28
  ];
22
29
  this.saveData = async (formData, formStep) => {
23
30
  const hasFormData = Object.keys(formData).length;
@@ -115,15 +122,12 @@ export class JustifiDisputeResponseCore {
115
122
  }
116
123
  await this.initializeFileUploads();
117
124
  }
118
- // this needs to happen last because it fires the 'submit-event' and 'complete-form-step-event' event
119
125
  await this.saveData(formData, formStep);
120
126
  this.isLoading = false;
121
127
  };
122
128
  this.onCancel = () => {
123
129
  this.clickEvent.emit({ name: DisputeManagementClickActions.cancelDispute });
124
130
  };
125
- // after each of these steps where validateAndSubmit is called, reload the dispute
126
- // and set isLoading, and pass defaults into each step
127
131
  this.onBack = async () => {
128
132
  await this.currentStepComponentRef.validateAndSubmit(async (formData, documentList, formStep) => {
129
133
  this.clickEvent.emit({ name: DisputeManagementClickActions.previousStep });
@@ -146,6 +150,45 @@ export class JustifiDisputeResponseCore {
146
150
  });
147
151
  };
148
152
  }
153
+ componentWillLoad() {
154
+ checkPkgVersion();
155
+ this.analytics = new JustifiAnalytics(this);
156
+ this.initializeDisputeServiceMethods();
157
+ }
158
+ disconnectedCallback() {
159
+ var _a;
160
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
161
+ }
162
+ propChanged() {
163
+ this.initializeDisputeServiceMethods();
164
+ }
165
+ initializeDisputeServiceMethods() {
166
+ if (this.disputeId && this.authToken) {
167
+ this.updateDisputeResponse = makeUpdateDisputeResponse({
168
+ disputeId: this.disputeId,
169
+ authToken: this.authToken,
170
+ service: new DisputeService(),
171
+ });
172
+ this.createDisputeEvidence = makeCreateDisputeEvidence({
173
+ disputeId: this.disputeId,
174
+ authToken: this.authToken,
175
+ service: new DisputeService(),
176
+ });
177
+ this.submitDisputeResponse = makeSubmitDisputeResponse({
178
+ disputeId: this.disputeId,
179
+ authToken: this.authToken,
180
+ service: new DisputeService(),
181
+ });
182
+ }
183
+ else {
184
+ this.errorMessage = 'Account ID and Auth Token are required';
185
+ this.errorEvent.emit({
186
+ errorCode: ComponentErrorCodes.MISSING_PROPS,
187
+ message: this.errorMessage,
188
+ severity: ComponentErrorSeverity.ERROR,
189
+ });
190
+ }
191
+ }
149
192
  get currentStepComponent() {
150
193
  return this.componentStepMapping[this.currentStep]();
151
194
  }
@@ -156,90 +199,60 @@ export class JustifiDisputeResponseCore {
156
199
  return this.currentStep === 0;
157
200
  }
158
201
  render() {
159
- 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"))))));
202
+ 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")))))));
160
203
  }
161
- static get is() { return "justifi-dispute-response-core"; }
204
+ static get is() { return "dispute-response"; }
162
205
  static get properties() {
163
206
  return {
164
- "updateDisputeResponse": {
165
- "type": "unknown",
207
+ "authToken": {
208
+ "type": "string",
166
209
  "mutable": false,
167
210
  "complexType": {
168
- "original": "(args: {\n payload: any,\n onSuccess: (disputeResponse: any) => void,\n onError: (disputeResponse: any) => void\n }) => Promise<IApiResponse<IDispute>>",
169
- "resolved": "(args: { payload: any; onSuccess: (disputeResponse: any) => void; onError: (disputeResponse: any) => void; }) => Promise<IApiResponse<IDispute>>",
170
- "references": {
171
- "Promise": {
172
- "location": "global",
173
- "id": "global::Promise"
174
- },
175
- "IApiResponse": {
176
- "location": "import",
177
- "path": "../../../api",
178
- "id": "src/api/index.ts::IApiResponse"
179
- },
180
- "IDispute": {
181
- "location": "import",
182
- "path": "../../../api/Dispute",
183
- "id": "src/api/Dispute.ts::IDispute"
184
- }
185
- }
211
+ "original": "string",
212
+ "resolved": "string",
213
+ "references": {}
186
214
  },
187
- "required": false,
215
+ "required": true,
188
216
  "optional": false,
189
217
  "docs": {
190
218
  "tags": [],
191
219
  "text": ""
192
220
  },
193
221
  "getter": false,
194
- "setter": false
222
+ "setter": false,
223
+ "reflect": false,
224
+ "attribute": "auth-token"
195
225
  },
196
- "submitDisputeResponse": {
197
- "type": "unknown",
226
+ "disputeId": {
227
+ "type": "string",
198
228
  "mutable": false,
199
229
  "complexType": {
200
- "original": "(args: {\n payload: any,\n onSuccess: (disputeResponse: any) => void,\n onError: (disputeResponse: any) => void\n }) => Promise<IApiResponse<IDispute>>",
201
- "resolved": "(args: { payload: any; onSuccess: (disputeResponse: any) => void; onError: (disputeResponse: any) => void; }) => Promise<IApiResponse<IDispute>>",
202
- "references": {
203
- "Promise": {
204
- "location": "global",
205
- "id": "global::Promise"
206
- },
207
- "IApiResponse": {
208
- "location": "import",
209
- "path": "../../../api",
210
- "id": "src/api/index.ts::IApiResponse"
211
- },
212
- "IDispute": {
213
- "location": "import",
214
- "path": "../../../api/Dispute",
215
- "id": "src/api/Dispute.ts::IDispute"
216
- }
217
- }
230
+ "original": "string",
231
+ "resolved": "string",
232
+ "references": {}
218
233
  },
219
- "required": false,
234
+ "required": true,
220
235
  "optional": false,
221
236
  "docs": {
222
237
  "tags": [],
223
238
  "text": ""
224
239
  },
225
240
  "getter": false,
226
- "setter": false
241
+ "setter": false,
242
+ "reflect": false,
243
+ "attribute": "dispute-id"
227
244
  },
228
- "createDisputeEvidence": {
229
- "type": "unknown",
245
+ "disputeResponse": {
246
+ "type": "any",
230
247
  "mutable": false,
231
248
  "complexType": {
232
- "original": "(args: {\n payload: any,\n onSuccess: (disputeResponse: any) => void,\n onError: (disputeResponse: any) => void\n }) => Promise<IApiResponse<any>>",
233
- "resolved": "(args: { payload: any; onSuccess: (disputeResponse: any) => void; onError: (disputeResponse: any) => void; }) => Promise<IApiResponse<any>>",
249
+ "original": "ApiDisputeResponse | any",
250
+ "resolved": "any",
234
251
  "references": {
235
- "Promise": {
236
- "location": "global",
237
- "id": "global::Promise"
238
- },
239
- "IApiResponse": {
252
+ "ApiDisputeResponse": {
240
253
  "location": "import",
241
254
  "path": "../../../api",
242
- "id": "src/api/index.ts::IApiResponse"
255
+ "id": "src/api/index.ts::DisputeResponse"
243
256
  }
244
257
  }
245
258
  },
@@ -250,18 +263,21 @@ export class JustifiDisputeResponseCore {
250
263
  "text": ""
251
264
  },
252
265
  "getter": false,
253
- "setter": false
266
+ "setter": false,
267
+ "reflect": false,
268
+ "attribute": "dispute-response",
269
+ "defaultValue": "{}"
254
270
  },
255
- "disputeResponse": {
256
- "type": "any",
271
+ "apiOrigin": {
272
+ "type": "string",
257
273
  "mutable": false,
258
274
  "complexType": {
259
- "original": "any",
260
- "resolved": "any",
275
+ "original": "string",
276
+ "resolved": "string",
261
277
  "references": {}
262
278
  },
263
279
  "required": false,
264
- "optional": false,
280
+ "optional": true,
265
281
  "docs": {
266
282
  "tags": [],
267
283
  "text": ""
@@ -269,13 +285,17 @@ export class JustifiDisputeResponseCore {
269
285
  "getter": false,
270
286
  "setter": false,
271
287
  "reflect": false,
272
- "attribute": "dispute-response",
273
- "defaultValue": "{}"
288
+ "attribute": "api-origin",
289
+ "defaultValue": "PROXY_API_ORIGIN"
274
290
  }
275
291
  };
276
292
  }
277
293
  static get states() {
278
294
  return {
295
+ "updateDisputeResponse": {},
296
+ "submitDisputeResponse": {},
297
+ "createDisputeEvidence": {},
298
+ "errorMessage": {},
279
299
  "isLoading": {},
280
300
  "documentList": {},
281
301
  "documentErrors": {},
@@ -370,5 +390,13 @@ export class JustifiDisputeResponseCore {
370
390
  }
371
391
  }];
372
392
  }
393
+ static get watchers() {
394
+ return [{
395
+ "propName": "disputeId",
396
+ "methodName": "propChanged"
397
+ }, {
398
+ "propName": "authToken",
399
+ "methodName": "propChanged"
400
+ }];
401
+ }
373
402
  }
374
- ;
@@ -4,7 +4,7 @@ import DuplicateChargeSchema from "./schemas/duplicate-charge-schema";
4
4
  import { DisputeResponseFormStep } from "./dispute-response-form-types";
5
5
  import { heading5 } from "../../../styles/parts";
6
6
  import fileInputHandler from "./file-input-handler";
7
- export class JustifiDuplicateCharge {
7
+ export class DuplicateCharge {
8
8
  constructor() {
9
9
  this.documentErrors = {};
10
10
  this.errors = {};
@@ -28,9 +28,9 @@ export class JustifiDuplicateCharge {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c;
31
- return (h("div", { key: 'a34d10b642c601ff1a2e6109bdad5550afef0dc7' }, h("div", { key: '65dfe9ecb13d4038fbceb5b3f88313e473ad0f2f', class: "row gy-3" }, h("div", { key: '5ec12191f9e56396ff1e67b53dcdfecdca8f21e9', class: "col-12" }, h("h2", { key: 'b5bf89077f1ae3dcbb6c37e28b2728a0c88ed1b4', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '52cdf5962d03f1724dc610a4525a4bf09a68fe4e', class: "col-12" }, h("form-control-text", { key: '785cc51d4491326c3e7555404e47726cb6f6f0ea', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: 'c3142d3b716cb3a191d930a5961d8361e4ef6204', class: "col-12" }, h("form-control-textarea", { key: 'd6cd675e958cd0685a89812891c599393a309fef', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: 'e805678d04d01f4763ee663590e89e96be9fcfb4', class: "col-12" }, h("form-control-file-v2", { key: 'c83c4e91ebba42be4a6e640aa73186f6b461c42f', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
31
+ return (h("div", { key: '4bd4aad3fbdaac994ee97aa1421a6f380657cfee' }, h("div", { key: '53548ff2b4bb09c2b1d078b2657127802422558a', class: "row gy-3" }, h("div", { key: '25658729932e2eb1d0706bd83106a92976e09b91', class: "col-12" }, h("h2", { key: '885bf37ba0a013397d4fef68683b24e9e8e1bed6', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '2f38e6451c2d982900729639994977b8ef8f8c04', class: "col-12" }, h("form-control-text", { key: '8cf20ffcd748bee860c1c8a52326a265bbe32696', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: 'e61d85188051830d2e674cfc39dab73ada597c66', class: "col-12" }, h("form-control-textarea", { key: '762f300d71a99a31030ed052299129ae8457ad4c', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: 'c5a1d7368132ba063d080ec7d071bd9131381ad2', class: "col-12" }, h("form-control-file-v2", { key: '3bd9928e8a212e1665d446cb31ae9e02d6645437', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
32
32
  }
33
- static get is() { return "justifi-duplicate-charge"; }
33
+ static get is() { return "duplicate-charge"; }
34
34
  static get properties() {
35
35
  return {
36
36
  "disputeResponse": {
@@ -4,7 +4,7 @@ import ElectronicEvidenceSchema from "./schemas/electronic-evidence-schema";
4
4
  import { DisputeResponseFormStep } from "./dispute-response-form-types";
5
5
  import { heading5 } from "../../../styles/parts";
6
6
  import fileInputHandler from "./file-input-handler";
7
- export class JustifiElectronicEvidence {
7
+ export class ElectronicEvidence {
8
8
  constructor() {
9
9
  this.documentErrors = {};
10
10
  this.errors = {};
@@ -28,9 +28,9 @@ export class JustifiElectronicEvidence {
28
28
  }
29
29
  render() {
30
30
  var _a, _b;
31
- return (h("div", { key: '3b0122e517065a72f2d7b8411d75067db093e284' }, h("div", { key: '3f6b7c42a8e6419a4890ae29c41afd98ecdd8f11', class: "row gy-3" }, h("div", { key: 'f807c043be7f75e7f9befd24cb80fd93f56678d5', class: "col-12" }, h("h2", { key: '3c4315f405ab5cead5eebe48975f26e9d93e0d84', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'd84fa8fcc504137031181fdb1974f50d1bc49ef8', class: "col-12" }, h("form-control-text", { key: 'db3862f6a1ebd5afcf5e1ff2943de3d977e56bbe', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '4e882539af79b200962740ae5645df663c82bde9', class: "col-12" }, h("form-control-file-v2", { key: '2be5e0f0d1ad5b47d41fabb1f2fe25397e7cc69f', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
31
+ return (h("div", { key: '00fa5deacbf19befd07d7d8764db8e3474377d5a' }, h("div", { key: 'be3d0b6775e78352bdaf4d0e739da61444fae572', class: "row gy-3" }, h("div", { key: 'e55a58628d1baad34be38d5d21598c6a372dd3c3', class: "col-12" }, h("h2", { key: '463ec945a9cc0e46350b13c774b634ef25bde2e9', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '5576a4d1b32a0c2d2d4341bf591721aed6fcf6a4', class: "col-12" }, h("form-control-text", { key: '9f64b68724ba8b2bdf435b02077fd362f8fe1ab1', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: 'e5b2635ede15e41e9e686ab338448d3c2fdf8166', class: "col-12" }, h("form-control-file-v2", { key: '5137a992c79a1ccfcb8f3a114d1a12823b597dd2', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
32
32
  }
33
- static get is() { return "justifi-electronic-evidence"; }
33
+ static get is() { return "electronic-evidence"; }
34
34
  static get properties() {
35
35
  return {
36
36
  "disputeResponse": {
@@ -4,7 +4,7 @@ import ProductOrServiceSchema from "./schemas/product-or-service-schema";
4
4
  import { DisputeResponseFormStep } from "./dispute-response-form-types";
5
5
  import { heading5 } from "../../../styles/parts";
6
6
  import fileInputHandler from "./file-input-handler";
7
- export class JustifiProductOrService {
7
+ export class ProductOrService {
8
8
  constructor() {
9
9
  this.documentErrors = {};
10
10
  this.errors = {};
@@ -28,9 +28,9 @@ export class JustifiProductOrService {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c;
31
- return (h("div", { key: '4587b32b05500749ada539467d8eb2409d0180bd' }, h("div", { key: 'b6696b8324fff8752b227ae3ba41a13ba1ac9063', class: "row gy-3" }, h("div", { key: '013ea18c3848964f098d18c13caf3dde4670093a', class: "col-12" }, h("h2", { key: '6329d4950881a7856b8b47c9e047c8d25e48aaac', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'c30067cffb73b64e57ee0189ef53ef04337a8cf3', class: "col-12" }, h("form-control-text", { key: '23060ee222508fe8ef1e4063bd19a95cb4fab288', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '05902305859cbbfa5572fdc2303ef27c4533cbda', class: "col-12" }, h("form-control-date", { key: 'cc4ca8d15ab2d04863323fdb73f4f3cde363b61d', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: 'a0986336639e8ff22cfa7fd10eb761fa5159e8e7', class: "col-12" }, h("form-control-file-v2", { key: '352467c92329bbf22535a38ee4c2a14d9a9110c6', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
31
+ return (h("div", { key: 'd0b168de486d51cd6141f2d80441b7e5f4fac5cc' }, h("div", { key: 'bea13ed13614f43b801be60c46673fb98ff09cc8', class: "row gy-3" }, h("div", { key: '1163ad6cff89e6fb29b16622e1aed6e55a5ee435', class: "col-12" }, h("h2", { key: '6f4fc9439e0a95d6e5992d7655f1c6e8f1b2b7bd', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '3111413dc874eaa80e21ec6838d8c0896f38ce2e', class: "col-12" }, h("form-control-text", { key: '3a18e08d653c67912f904337e37d786588e50217', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: 'ea2202cf65741022ff7363cc325948944a18afb2', class: "col-12" }, h("form-control-date", { key: 'c8ceda1e61e9dbf7496173ec30e0c8f6d1b48f91', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: 'fb3e555b7781977e80541d1b2d6e7bd10b4ec087', class: "col-12" }, h("form-control-file-v2", { key: '2b459a198427db073a6d5e2a1ed5141cc6fc2d20', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
32
32
  }
33
- static get is() { return "justifi-product-or-service"; }
33
+ static get is() { return "product-or-service"; }
34
34
  static get properties() {
35
35
  return {
36
36
  "disputeResponse": {
@@ -4,7 +4,7 @@ import RefundPolicySchema from "./schemas/refund-policy-schema";
4
4
  import { DisputeResponseFormStep } from "./dispute-response-form-types";
5
5
  import { heading5 } from "../../../styles/parts";
6
6
  import fileInputHandler from "./file-input-handler";
7
- export class JustifiRefundPolicy {
7
+ export class RefundPolicy {
8
8
  constructor() {
9
9
  this.documentErrors = {};
10
10
  this.errors = {};
@@ -28,9 +28,9 @@ export class JustifiRefundPolicy {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c, _d;
31
- return (h("div", { key: 'e59738a3425e348d989077da9353aa12293cea2f' }, h("div", { key: '32365305802a0584b959e04268796b21ca73fe21', class: "row gy-3" }, h("div", { key: 'ab46282525e6afb9b4db2f82ea6a716e1bd32649', class: "col-12" }, h("h2", { key: 'b1c9fbfccf63eee921a734e0e82cc868ddfb6652', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '1287269e5c352018fd289c64e876b985137c36c8', class: "col-12" }, h("form-control-textarea", { key: '217292c1ea3a92c3a1cfb68c6d1cbe5b4c532262', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '7b54f191e06110c1c186ae316558d7617bd3fc93', class: "col-12" }, h("form-control-textarea", { key: 'ec77cd98d1c77c88e74655b430f89bb2e79bb125', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: '68971eb2d792f9f733e68b6e9bcab8965cc51412', class: "col-12" }, h("form-control-file-v2", { key: '991ef9fa96a95a52caf72b723d854f17d2c76a0c', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '22528492e08a56f5b72ad11ef754d1a46884093f', class: "col-12" }, h("form-control-file-v2", { key: '4ea877eeef562dd232bdf5d1359d54cc4e030365', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
31
+ return (h("div", { key: 'f04cacfa7617a6430a0e4d264248dfa1606ef988' }, h("div", { key: 'aa3b2d3fcd2263e6d5033b68b9524250bb51d7fa', class: "row gy-3" }, h("div", { key: 'e2154a203be02f1f6ed60666799db30f6b2e10fe', class: "col-12" }, h("h2", { key: '2856f16f60d6310c7dd64c86de1ebf7e01fac1fc', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '94187589fdeb685fcc99e5ea2c6868ceedfd5ed2', class: "col-12" }, h("form-control-textarea", { key: 'fbaa1a08ab910c4ac31a53bd1385a05abcff0bb5', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '45e893fa517222ac88333b306ae28fc1eb09daa0', class: "col-12" }, h("form-control-textarea", { key: '646a2b77b2e896523a5e3ec3da07e020c5a72c32', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: '3f4369cb2f2aac9ede8f386b338c9637ab4f5b8f', class: "col-12" }, h("form-control-file-v2", { key: '867c6f97af1710b6119984bd1f87f3a5eb358dc6', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '066f2d66a0dd5be5c47d44620c295b952a4755cd', class: "col-12" }, h("form-control-file-v2", { key: '2036cbddd0ebf663401154120b5c1627fdc93df3', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
32
32
  }
33
- static get is() { return "justifi-refund-policy"; }
33
+ static get is() { return "refund-policy"; }
34
34
  static get properties() {
35
35
  return {
36
36
  "disputeResponse": {
@@ -4,7 +4,7 @@ import ShippingDetailsSchema from "./schemas/shipping-details-schema";
4
4
  import { DisputeResponseFormStep } from "./dispute-response-form-types";
5
5
  import { heading5 } from "../../../styles/parts";
6
6
  import fileInputHandler from "./file-input-handler";
7
- export class JustifiShippingDetails {
7
+ export class ShippingDetails {
8
8
  constructor() {
9
9
  this.documentErrors = {};
10
10
  this.errors = {};
@@ -29,9 +29,9 @@ export class JustifiShippingDetails {
29
29
  }
30
30
  render() {
31
31
  var _a, _b, _c, _d, _e;
32
- return (h("div", { key: '66ab4f496a037d4724fcc127803d2fd4c72ad2a8' }, h("div", { key: 'a650a56e124ecc55aaa383a32e27cad862801d01', class: "row gy-3" }, h("div", { key: 'aedaacba104b8540eedafcbc8f7c776fa99ab387', class: "col-12" }, h("h2", { key: 'b4e2dc10ef6cbdab47143f2cc64a484050bfc416', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '7110551e0ecf98b149f008eb7105235b8d601454', class: "col-12" }, h("form-control-text", { key: '2c17294567ff47b181c8d11cfda7651671adac92', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '031476a2435c80b8ae27fb50303f14797d84a801', class: "col-12" }, h("form-control-text", { key: '67441fbba00af48235867763561cf8adf66b9e69', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '1fcc1bf129d3ec577f4f36a2801422044ec0a59e', class: "col-12" }, h("form-control-date", { key: 'aa0464427d083dceba8e1604e045c707366d6046', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: 'f61850943df4c9d6605cde9d86b2e8275ced0af4', class: "col-12" }, h("form-control-textarea", { key: 'a1d4997810348a93f26a9f4932890ffd911ea062', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '9dd41ee3436d63e0c89318129e811630e4aad75d', class: "col-12" }, h("form-control-file-v2", { key: 'fe1879caad49f44f1abd312a3925a20e6bdc11bf', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
32
+ return (h("div", { key: '3b414c89e4d310b598685ef4e0595361edbe4783' }, h("div", { key: '8f630c3bff6432da2184524865d8f322c53c3685', class: "row gy-3" }, h("div", { key: '116988f4f62d30c4b5312604b3cc3d1df831a5bd', class: "col-12" }, h("h2", { key: 'f79794380f6b9ff7e964bea19a1898f9f190f0ff', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'b7448564e27dd9237f61df0e7c690c5705f97941', class: "col-12" }, h("form-control-text", { key: 'd03af28966dec1ba0ba16f8adf34ee4aae7a077e', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '5632f97cacae9d17864e14a41789ead3b39f2ca0', class: "col-12" }, h("form-control-text", { key: '9f6ff174dfcedb7a7f74a9e75a46164fcebe6095', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: 'e7fb2b0187e8e4ea8fb30fd316291465b41f4a9d', class: "col-12" }, h("form-control-date", { key: '06f39b93c95cbe6b4897585dd9ab06ad636dd933', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '1d0a48b701a12129ebfa39b7482145b32006d854', class: "col-12" }, h("form-control-textarea", { key: 'f98b3cc3ef9423c31e3dc195a4b9896fbc3da1c9', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '82379a765e791a5b373a3c01b8fec6fe05ffa2d5', class: "col-12" }, h("form-control-file-v2", { key: 'cff1198af3f29e837b48b46eed5f385da9994a66', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
33
33
  }
34
- static get is() { return "justifi-shipping-details"; }
34
+ static get is() { return "shipping-details"; }
35
35
  static get properties() {
36
36
  return {
37
37
  "disputeResponse": {