@justifi/webcomponents 5.1.0 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (576) hide show
  1. package/dist/cjs/{Checkout-2ff4f9c8.js → Checkout-0f1c8abe.js} +1 -1
  2. package/dist/cjs/Document-0b828345.js +58 -0
  3. package/dist/cjs/{Payment-84817e2d.js → Payment-c47ed1e1.js} +1 -1
  4. package/dist/cjs/{SubAccount-f236913b.js → SubAccount-509ebf93.js} +1 -1
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  6. package/dist/cjs/{badge-fbf58cb9.js → badge-ccfe03bf.js} +1 -1
  7. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +130 -0
  8. package/dist/cjs/bank-account-form_9.cjs.entry.js +16 -13
  9. package/dist/cjs/billing-form_3.cjs.entry.js +8 -7
  10. package/dist/cjs/{business-additional-questions-schema-caa23e95.js → business-additional-questions-schema-2f66f025.js} +1 -1
  11. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  12. package/dist/cjs/{business-identity-schema-0c537067.js → business-identity-schema-be495474.js} +1 -1
  13. package/dist/cjs/{business.service-ffb6f478.js → business.service-d575b515.js} +7 -0
  14. package/dist/cjs/{button-e7796b07.js → button-8b634147.js} +1 -1
  15. package/dist/cjs/{check-pkg-version-931df996.js → check-pkg-version-1658df6f.js} +1 -1
  16. package/dist/cjs/{checkout.service-e9c05c15.js → checkout.service-057b5a7a.js} +5 -3
  17. package/dist/cjs/checkouts-list-core.cjs.entry.js +12 -10
  18. package/dist/cjs/{checkouts-table-0f19c1e6.js → checkouts-table-efa1cbab.js} +3 -3
  19. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
  20. package/dist/cjs/{dispute.service-9272a2a6.js → dispute.service-df9e1830.js} +5 -3
  21. package/dist/cjs/{event-types-aa1a9be1.js → event-types-34b103b4.js} +2 -2
  22. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  23. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  24. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  25. package/dist/cjs/{form-control-error-text-c1f49f35.js → form-control-error-text-46a7f2dd.js} +1 -1
  26. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
  27. package/dist/cjs/{form-control-help-text-e6cc71a7.js → form-control-help-text-98c882e3.js} +1 -1
  28. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  29. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
  30. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  31. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  32. package/dist/cjs/{get-payout-csv-778db023.js → get-payout-csv-527a238c.js} +5 -4
  33. package/dist/cjs/{get-subaccounts-b087fa39.js → get-subaccounts-6068c1aa.js} +5 -4
  34. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  35. package/dist/cjs/{header-1-96b97cab.js → header-1-4c21f7ca.js} +1 -1
  36. package/dist/cjs/{header-3-ce77b96b.js → header-3-130206cc.js} +1 -1
  37. package/dist/cjs/{insurance-state-8959c7c7.js → insurance-state-21fde44f.js} +1 -1
  38. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +833 -0
  39. package/dist/cjs/{justifi-additional-questions-form-step_10.cjs.entry.js → justifi-additional-questions-form-step_9.cjs.entry.js} +29 -226
  40. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  41. package/dist/cjs/justifi-business-details.cjs.entry.js +5 -5
  42. package/dist/cjs/justifi-business-form.cjs.entry.js +15 -13
  43. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  44. package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
  45. package/dist/cjs/justifi-checkout.cjs.entry.js +10 -9
  46. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
  47. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -13
  48. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  49. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  50. package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -8
  51. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -13
  52. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
  53. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -6
  54. package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -10
  55. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
  56. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
  57. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +25 -4
  58. package/dist/cjs/justifi-payments-list.cjs.entry.js +18 -14
  59. package/dist/cjs/justifi-payout-details.cjs.entry.js +11 -10
  60. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  61. package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -13
  62. package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -5
  63. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
  64. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -8
  65. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  66. package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -11
  67. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +5 -5
  68. package/dist/cjs/loader.cjs.js +1 -1
  69. package/dist/cjs/{package-52ac8376.js → package-06419e54.js} +1 -1
  70. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  71. package/dist/cjs/{parts-addf2176.js → parts-b2ff8b68.js} +14 -0
  72. package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
  73. package/dist/cjs/{payment-provisioning-actions-fbd30d1b.js → payment-provisioning-actions-382ab48c.js} +33 -2
  74. package/dist/cjs/{payment.service-042c7c99.js → payment.service-3eebfe3e.js} +5 -3
  75. package/dist/cjs/payments-list-core.cjs.entry.js +22 -19
  76. package/dist/cjs/payments-list-params-state-442d9944.js +22 -0
  77. package/dist/cjs/{payments-status-411c325c.js → payments-status-ec12ee6a.js} +1 -1
  78. package/dist/cjs/{payments-table-16f3f95e.js → payments-table-f3aa174d.js} +3 -3
  79. package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
  80. package/dist/cjs/payouts-list-core.cjs.entry.js +13 -12
  81. package/dist/cjs/{payouts-status-0951e39d.js → payouts-status-9f2e9a3a.js} +1 -1
  82. package/dist/cjs/{payouts-table-bc15179c.js → payouts-table-4efa53fa.js} +3 -3
  83. package/dist/cjs/{schema-validations-0be8068a.js → schema-validations-cc4e6071.js} +5 -92
  84. package/dist/cjs/{skeleton-c4903a53.js → skeleton-0353466d.js} +1 -1
  85. package/dist/cjs/{spinner-aac395e3.js → spinner-4fc60a51.js} +1 -1
  86. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  87. package/dist/cjs/terminals-list-core.cjs.entry.js +12 -10
  88. package/dist/cjs/{terminals-table-3c19847b.js → terminals-table-5e4bce93.js} +2 -2
  89. package/dist/cjs/{utils-a05a8bf6.js → utils-134dda01.js} +1 -1
  90. package/dist/cjs/{utils-5fb95d31.js → utils-337befa9.js} +0 -4
  91. package/dist/cjs/webcomponents.cjs.js +1 -1
  92. package/dist/collection/api/index.js +5 -0
  93. package/dist/collection/api/services/business.service.js +6 -0
  94. package/dist/collection/collection-manifest.json +3 -4
  95. package/dist/collection/components/business-forms/payment-provisioning/{document-uploads/business-document-upload-input-group.js → bank-account/bank-account-document-inputs.js} +19 -58
  96. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +85 -0
  97. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +207 -47
  98. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +15 -7
  99. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +63 -0
  100. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  101. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  102. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  103. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  104. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  105. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +32 -2
  106. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -3
  107. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -1
  108. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +8 -4
  109. package/dist/collection/components/business-forms/schemas/schema-validations.js +2 -4
  110. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +1 -1
  111. package/dist/collection/components/checkout/card-form/card-form.js +1 -1
  112. package/dist/collection/components/checkout/checkout-core.js +1 -1
  113. package/dist/collection/components/checkout/checkout.js +2 -2
  114. package/dist/collection/components/checkout/new-payment-method.js +5 -2
  115. package/dist/collection/components/checkout/payment-method-options.js +1 -1
  116. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  117. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  118. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
  119. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  120. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  121. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  122. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  123. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  124. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  125. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  126. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  127. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  128. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  129. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  130. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  131. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  132. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  133. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  134. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  135. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  136. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  137. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  138. package/dist/collection/components/payments-list/get-payments.js +4 -1
  139. package/dist/collection/components/payments-list/payments-list-core.js +10 -11
  140. package/dist/collection/components/payments-list/payments-list-filters.js +113 -3
  141. package/dist/collection/components/payments-list/payments-list-params-state.js +11 -5
  142. package/dist/collection/components/payments-list/payments-list.js +1 -1
  143. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  144. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  145. package/dist/collection/components/payouts-list/payouts-list-filters.js +1 -1
  146. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  147. package/dist/collection/components/refund-form/refund-form.js +1 -1
  148. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  149. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  150. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  151. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  152. package/dist/collection/styles/parts.js +9 -0
  153. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  154. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  155. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  156. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  157. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  158. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  159. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  160. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  161. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  162. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  163. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  164. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  165. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  166. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  167. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  168. package/dist/docs.json +580 -520
  169. package/dist/esm/{Checkout-d476bb83.js → Checkout-8325c97a.js} +1 -1
  170. package/dist/esm/Document-1907c0d4.js +55 -0
  171. package/dist/esm/{Payment-47630113.js → Payment-82d2f453.js} +1 -1
  172. package/dist/esm/{SubAccount-f31349a9.js → SubAccount-a73bf971.js} +1 -1
  173. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  174. package/dist/esm/{badge-b034e71b.js → badge-938ba4b1.js} +1 -1
  175. package/dist/esm/bank-account-document-form-inputs_4.entry.js +123 -0
  176. package/dist/esm/bank-account-form_9.entry.js +16 -13
  177. package/dist/esm/billing-form_3.entry.js +8 -7
  178. package/dist/esm/{business-additional-questions-schema-aba9747e.js → business-additional-questions-schema-212a96ed.js} +1 -1
  179. package/dist/esm/business-details-core.entry.js +3 -3
  180. package/dist/esm/{business-identity-schema-8b0f1619.js → business-identity-schema-05bd2a5f.js} +1 -1
  181. package/dist/esm/{business.service-ab2663a3.js → business.service-6a208f8f.js} +7 -1
  182. package/dist/esm/{button-8a02823c.js → button-4b3f3934.js} +1 -1
  183. package/dist/esm/{check-pkg-version-f613bceb.js → check-pkg-version-bac7eb5e.js} +1 -1
  184. package/dist/esm/{checkout.service-c275270e.js → checkout.service-ac067baa.js} +5 -3
  185. package/dist/esm/checkouts-list-core.entry.js +12 -10
  186. package/dist/esm/{checkouts-table-115bacc4.js → checkouts-table-1634366d.js} +3 -3
  187. package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
  188. package/dist/esm/{dispute.service-882e35ed.js → dispute.service-26a788a8.js} +5 -3
  189. package/dist/esm/{event-types-948c3b14.js → event-types-fd7a05d9.js} +2 -2
  190. package/dist/esm/form-alert_5.entry.js +1 -1
  191. package/dist/esm/form-control-checkbox.entry.js +5 -5
  192. package/dist/esm/form-control-date.entry.js +4 -4
  193. package/dist/esm/{form-control-error-text-066cdad4.js → form-control-error-text-b3d14e92.js} +1 -1
  194. package/dist/esm/form-control-file-v2_2.entry.js +4 -4
  195. package/dist/esm/{form-control-help-text-3b6f5980.js → form-control-help-text-7b07fc37.js} +1 -1
  196. package/dist/esm/form-control-monetary.entry.js +5 -5
  197. package/dist/esm/form-control-number-masked_2.entry.js +4 -4
  198. package/dist/esm/form-control-number.entry.js +5 -5
  199. package/dist/esm/form-control-radio.entry.js +3 -3
  200. package/dist/esm/{get-payout-csv-50aea928.js → get-payout-csv-684fece6.js} +5 -4
  201. package/dist/esm/{get-subaccounts-ab3dd32c.js → get-subaccounts-b1bed757.js} +5 -4
  202. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  203. package/dist/esm/{header-1-75c284dd.js → header-1-4db0c986.js} +1 -1
  204. package/dist/esm/{header-3-4a327395.js → header-3-fd150ccf.js} +1 -1
  205. package/dist/esm/{insurance-state-b495be64.js → insurance-state-529e2d0d.js} +1 -1
  206. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +824 -0
  207. package/dist/esm/{justifi-additional-questions-form-step_10.entry.js → justifi-additional-questions-form-step_9.entry.js} +31 -227
  208. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  209. package/dist/esm/justifi-business-details.entry.js +5 -5
  210. package/dist/esm/justifi-business-form.entry.js +15 -13
  211. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  212. package/dist/esm/justifi-checkout-core.entry.js +8 -8
  213. package/dist/esm/justifi-checkout.entry.js +10 -9
  214. package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
  215. package/dist/esm/justifi-checkouts-list.entry.js +14 -13
  216. package/dist/esm/justifi-details.entry.js +2 -2
  217. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  218. package/dist/esm/justifi-dispute-management.entry.js +9 -8
  219. package/dist/esm/justifi-dispute-notification_3.entry.js +14 -13
  220. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
  221. package/dist/esm/justifi-owner-form_3.entry.js +7 -6
  222. package/dist/esm/justifi-payment-details.entry.js +11 -10
  223. package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
  224. package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
  225. package/dist/esm/justifi-payments-list-filters.entry.js +25 -4
  226. package/dist/esm/justifi-payments-list.entry.js +18 -14
  227. package/dist/esm/justifi-payout-details.entry.js +11 -10
  228. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  229. package/dist/esm/justifi-payouts-list.entry.js +14 -13
  230. package/dist/esm/justifi-refund-form.entry.js +7 -5
  231. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  232. package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -8
  233. package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
  234. package/dist/esm/justifi-terminals-list.entry.js +12 -11
  235. package/dist/esm/justifi-tokenize-payment-method.entry.js +5 -5
  236. package/dist/esm/loader.js +1 -1
  237. package/dist/esm/{package-9b94eb81.js → package-90ebd343.js} +1 -1
  238. package/dist/esm/pagination-menu.entry.js +1 -1
  239. package/dist/esm/{parts-93f379ab.js → parts-ab2bb4b5.js} +9 -1
  240. package/dist/esm/payment-details-core.entry.js +13 -13
  241. package/dist/esm/{payment-provisioning-actions-a262ee82.js → payment-provisioning-actions-726795a0.js} +33 -3
  242. package/dist/esm/{payment.service-92b90855.js → payment.service-2e418da1.js} +5 -3
  243. package/dist/esm/payments-list-core.entry.js +22 -19
  244. package/dist/esm/payments-list-params-state-d05b24aa.js +16 -0
  245. package/dist/esm/{payments-status-82466054.js → payments-status-abf1724b.js} +1 -1
  246. package/dist/esm/{payments-table-c0bb25b6.js → payments-table-88fbab49.js} +3 -3
  247. package/dist/esm/payout-details-core.entry.js +8 -8
  248. package/dist/esm/payouts-list-core.entry.js +13 -12
  249. package/dist/esm/{payouts-status-b98c8297.js → payouts-status-d9987a8a.js} +1 -1
  250. package/dist/esm/{payouts-table-4382a264.js → payouts-table-055d3633.js} +3 -3
  251. package/dist/esm/{schema-validations-5b0ac96b.js → schema-validations-ccea6a06.js} +4 -84
  252. package/dist/esm/{skeleton-3bcb2b5d.js → skeleton-ee7c3b32.js} +1 -1
  253. package/dist/esm/{spinner-b83f3a87.js → spinner-8ec6669a.js} +1 -1
  254. package/dist/esm/table-filters-menu.entry.js +3 -3
  255. package/dist/esm/terminals-list-core.entry.js +12 -10
  256. package/dist/esm/{terminals-table-8f1c2146.js → terminals-table-2963e65b.js} +2 -2
  257. package/dist/esm/{utils-7fb6331d.js → utils-c2dc83b2.js} +1 -1
  258. package/dist/esm/{utils-b76d791e.js → utils-c37124fc.js} +1 -4
  259. package/dist/esm/webcomponents.js +1 -1
  260. package/dist/module/Checkout.js +1 -1
  261. package/dist/module/Payment.js +1 -1
  262. package/dist/module/SubAccount.js +1 -1
  263. package/dist/module/additional-questions.js +1 -1
  264. package/dist/module/additional-statement.js +2 -2
  265. package/dist/module/badge.js +1 -1
  266. package/dist/module/bank-account-document-form-inputs.d.ts +11 -0
  267. package/dist/module/bank-account-document-form-inputs.js +6 -0
  268. package/dist/module/bank-account-document-inputs.js +58 -0
  269. package/dist/module/bank-account-form-inputs.d.ts +11 -0
  270. package/dist/module/bank-account-form-inputs.js +6 -0
  271. package/dist/module/bank-account-form-inputs2.js +63 -0
  272. package/dist/module/bank-account-form2.js +1 -1
  273. package/dist/module/billing-form-wrapper.js +1 -1
  274. package/dist/module/business-additional-questions-form-step-core.js +2 -2
  275. package/dist/module/business-bank-account-form-step-core.js +239 -64
  276. package/dist/module/business-bank-account-form-step.js +42 -5
  277. package/dist/module/business-core-info-form-step-core.js +2 -2
  278. package/dist/module/business-core-info-form-step.js +1 -1
  279. package/dist/module/business-core-info-schema.js +1 -1
  280. package/dist/module/business-core-info.js +1 -1
  281. package/dist/module/business-documents-on-file.d.ts +11 -0
  282. package/dist/module/business-documents-on-file.js +4 -36
  283. package/dist/module/business-documents-on-file2.js +45 -0
  284. package/dist/module/business-form-options.js +1 -1
  285. package/dist/module/business-identity-schema.js +1 -1
  286. package/dist/module/business-owners-form-step-core.js +1 -1
  287. package/dist/module/business-owners-form-step.js +1 -1
  288. package/dist/module/business-representative-form-inputs.js +1 -1
  289. package/dist/module/business-representative-form-step-core.js +1 -1
  290. package/dist/module/business-representative-form-step.js +1 -1
  291. package/dist/module/business-terms-conditions-form-step.js +9 -11
  292. package/dist/module/business.service.js +7 -1
  293. package/dist/module/cancellation-policy.js +2 -2
  294. package/dist/module/card-form2.js +1 -1
  295. package/dist/module/checkout-core.js +2 -2
  296. package/dist/module/checkout.service.js +2 -0
  297. package/dist/module/checkouts-list-core2.js +6 -4
  298. package/dist/module/custom-popper2.js +2 -2
  299. package/dist/module/customer-details.js +2 -2
  300. package/dist/module/dispute-management-core.js +1 -1
  301. package/dist/module/dispute-notification.js +2 -2
  302. package/dist/module/dispute-response-actions.js +2 -1
  303. package/dist/module/dispute-response-core.js +1 -1
  304. package/dist/module/dispute-response.js +1 -1
  305. package/dist/module/duplicate-charge.js +2 -2
  306. package/dist/module/electronic-evidence.js +2 -2
  307. package/dist/module/event-types.js +22 -61
  308. package/dist/module/event-types2.js +61 -22
  309. package/dist/module/form-alert2.js +1 -1
  310. package/dist/module/form-control-checkbox2.js +3 -3
  311. package/dist/module/form-control-date2.js +3 -3
  312. package/dist/module/form-control-error-text.js +1 -1
  313. package/dist/module/form-control-file-v22.js +1 -1
  314. package/dist/module/form-control-file2.js +3 -3
  315. package/dist/module/form-control-monetary2.js +3 -3
  316. package/dist/module/form-control-number-masked2.js +3 -3
  317. package/dist/module/form-control-number.js +3 -3
  318. package/dist/module/form-control-radio2.js +3 -3
  319. package/dist/module/form-control-select2.js +3 -3
  320. package/dist/module/form-control-text2.js +3 -3
  321. package/dist/module/form-control-textarea2.js +3 -3
  322. package/dist/module/form-control-tooltip2.js +1 -1
  323. package/dist/module/get-payout-csv.js +2 -1
  324. package/dist/module/get-subaccounts.js +2 -1
  325. package/dist/module/gross-payment-chart-core2.js +2 -2
  326. package/dist/module/hidden-input2.js +2 -2
  327. package/dist/module/iframe-input2.js +4 -4
  328. package/dist/module/justifi-business-form.js +3 -1
  329. package/dist/module/justifi-checkout.js +2 -2
  330. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  331. package/dist/module/justifi-checkouts-list.js +3 -2
  332. package/dist/module/justifi-dispute-management.js +1 -1
  333. package/dist/module/justifi-payment-details.js +2 -1
  334. package/dist/module/justifi-payment-provisioning.js +50 -56
  335. package/dist/module/justifi-payments-list-filters.js +32 -5
  336. package/dist/module/justifi-payments-list.js +7 -3
  337. package/dist/module/justifi-payout-details.js +2 -1
  338. package/dist/module/justifi-payouts-list-filters.js +2 -2
  339. package/dist/module/justifi-payouts-list.js +2 -1
  340. package/dist/module/justifi-refund-form.js +3 -1
  341. package/dist/module/justifi-season-interruption-insurance.js +3 -2
  342. package/dist/module/justifi-terminals-list-filters.js +1 -1
  343. package/dist/module/justifi-terminals-list.js +2 -1
  344. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  345. package/dist/module/legal-address-form-step-core.js +1 -1
  346. package/dist/module/legal-address-form-step.js +1 -1
  347. package/dist/module/new-payment-method.js +5 -2
  348. package/dist/module/owner-details2.js +1 -1
  349. package/dist/module/owner-form-core2.js +2 -2
  350. package/dist/module/owner-form.js +1 -1
  351. package/dist/module/package.js +1 -1
  352. package/dist/module/pagination-menu2.js +1 -1
  353. package/dist/module/parts.js +9 -1
  354. package/dist/module/payment-details-core2.js +8 -8
  355. package/dist/module/payment-method-options.js +1 -1
  356. package/dist/module/payment-provisioning-actions.js +33 -3
  357. package/dist/module/payment-provisioning-core.js +50 -56
  358. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  359. package/dist/module/payment-provisioning-form-steps.js +51 -58
  360. package/dist/module/payment.service.js +2 -0
  361. package/dist/module/payments-list-core2.js +15 -13
  362. package/dist/module/payments-list-params-state.js +11 -5
  363. package/dist/module/payout-details-core2.js +2 -2
  364. package/dist/module/payouts-list-core2.js +6 -5
  365. package/dist/module/product-or-service.js +2 -2
  366. package/dist/module/refund-policy.js +2 -2
  367. package/dist/module/representative-details2.js +1 -1
  368. package/dist/module/save-new-payment-method.js +1 -1
  369. package/dist/module/saved-payment-method.js +2 -2
  370. package/dist/module/schema-validations.js +4 -31
  371. package/dist/module/season-interruption-insurance-core.js +2 -2
  372. package/dist/module/sezzle-payment-method.js +2 -2
  373. package/dist/module/shipping-details.js +2 -2
  374. package/dist/module/spinner.js +1 -1
  375. package/dist/module/table-filters-menu2.js +1 -1
  376. package/dist/module/terminals-list-core2.js +5 -3
  377. package/dist/module/utils2.js +1 -4
  378. package/dist/types/api/index.d.ts +4 -0
  379. package/dist/types/api/services/business.service.d.ts +7 -0
  380. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.d.ts +7 -0
  381. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.d.ts +7 -0
  382. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +18 -6
  383. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -1
  384. package/dist/types/components/business-forms/payment-provisioning/{document-uploads → bank-account}/business-documents-on-file.d.ts +1 -0
  385. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-actions.d.ts +9 -0
  386. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -1
  387. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +1 -0
  388. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +5 -1
  389. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
  390. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +1 -1
  391. package/dist/types/components/checkout/payment-method-payload.d.ts +2 -0
  392. package/dist/types/components/payments-list/get-payments.d.ts +2 -1
  393. package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
  394. package/dist/types/components/payments-list/payments-list-filters.d.ts +5 -0
  395. package/dist/types/components/payments-list/payments-list-params-state.d.ts +4 -3
  396. package/dist/types/components.d.ts +81 -101
  397. package/dist/types/styles/parts.d.ts +8 -0
  398. package/dist/webcomponents/{p-2ce40098.js → p-01d4e35a.js} +1 -1
  399. package/dist/webcomponents/{p-d1f78cb5.js → p-0277c1b2.js} +1 -1
  400. package/dist/webcomponents/p-045d4ebf.entry.js +1 -0
  401. package/dist/webcomponents/p-08d87a52.entry.js +1 -0
  402. package/dist/webcomponents/p-0e68b7d6.entry.js +1 -0
  403. package/dist/webcomponents/p-0ef9eae6.entry.js +1 -0
  404. package/dist/webcomponents/{p-7b1fcab5.entry.js → p-0f6ae5ea.entry.js} +1 -1
  405. package/dist/webcomponents/p-131db5d1.entry.js +1 -0
  406. package/dist/webcomponents/p-1603fe4d.js +1 -0
  407. package/dist/webcomponents/p-18a7a9e6.entry.js +1 -0
  408. package/dist/webcomponents/p-1e8a1e01.entry.js +1 -0
  409. package/dist/webcomponents/{p-4c4f9e3b.js → p-21431a04.js} +1 -1
  410. package/dist/webcomponents/p-21cf557e.entry.js +1 -0
  411. package/dist/webcomponents/{p-09fd4ee2.entry.js → p-2916bb62.entry.js} +1 -1
  412. package/dist/webcomponents/p-298e290e.js +1 -0
  413. package/dist/webcomponents/{p-16a9e343.js → p-2a136295.js} +1 -1
  414. package/dist/webcomponents/{p-74736657.js → p-2ca5b5e4.js} +1 -1
  415. package/dist/webcomponents/p-2f94d478.entry.js +1 -0
  416. package/dist/webcomponents/p-31e2d12c.entry.js +1 -0
  417. package/dist/webcomponents/p-3c0b56cd.entry.js +1 -0
  418. package/dist/webcomponents/p-3d5c8a98.entry.js +1 -0
  419. package/dist/webcomponents/p-3e0f3d87.entry.js +1 -0
  420. package/dist/webcomponents/{p-f65abd18.js → p-3e716e03.js} +1 -1
  421. package/dist/webcomponents/p-40e23b13.js +1 -0
  422. package/dist/webcomponents/p-42047b14.entry.js +1 -0
  423. package/dist/webcomponents/p-44d2c762.entry.js +1 -0
  424. package/dist/webcomponents/{p-b04da0de.entry.js → p-56addd0a.entry.js} +1 -1
  425. package/dist/webcomponents/p-58f5e37b.entry.js +1 -0
  426. package/dist/webcomponents/{p-d86c1f11.entry.js → p-5afefc50.entry.js} +2 -2
  427. package/dist/webcomponents/{p-92d78790.js → p-5b72bab7.js} +1 -1
  428. package/dist/webcomponents/{p-7db2a4d5.entry.js → p-5baec916.entry.js} +1 -1
  429. package/dist/webcomponents/{p-f76a7f9c.entry.js → p-5bf4535a.entry.js} +1 -1
  430. package/dist/webcomponents/p-61f0a2ce.js +1 -0
  431. package/dist/webcomponents/{p-e0f21a47.entry.js → p-62696f63.entry.js} +1 -1
  432. package/dist/webcomponents/p-631d54a2.entry.js +1 -0
  433. package/dist/webcomponents/p-63caad6e.entry.js +1 -0
  434. package/dist/webcomponents/p-66b6c56b.js +1 -0
  435. package/dist/webcomponents/p-6b0bec46.entry.js +1 -0
  436. package/dist/webcomponents/p-6d2c8be2.entry.js +1 -0
  437. package/dist/webcomponents/p-7b04f492.entry.js +1 -0
  438. package/dist/webcomponents/p-7bcec768.entry.js +1 -0
  439. package/dist/webcomponents/{p-5d0763a5.js → p-7c31ec70.js} +1 -1
  440. package/dist/webcomponents/{p-2bd8650b.js → p-865733bc.js} +1 -1
  441. package/dist/webcomponents/{p-44604a45.js → p-8f25f016.js} +1 -1
  442. package/dist/webcomponents/p-9235b94e.entry.js +1 -0
  443. package/dist/webcomponents/{p-411382f3.js → p-938993c7.js} +1 -1
  444. package/dist/webcomponents/{p-d6e51c2f.js → p-94eba309.js} +1 -1
  445. package/dist/webcomponents/p-9540d2f2.js +1 -0
  446. package/dist/webcomponents/{p-83aa33f0.js → p-9894484a.js} +1 -1
  447. package/dist/webcomponents/p-98dad117.entry.js +1 -0
  448. package/dist/webcomponents/p-9ad6e792.entry.js +1 -0
  449. package/dist/webcomponents/p-a263a3db.entry.js +1 -0
  450. package/dist/webcomponents/p-aa02cf71.js +1 -0
  451. package/dist/webcomponents/p-ab1504b6.entry.js +1 -0
  452. package/dist/webcomponents/p-abb46c6b.entry.js +1 -0
  453. package/dist/webcomponents/p-b6e90400.entry.js +1 -0
  454. package/dist/webcomponents/{p-2b081961.entry.js → p-bada4783.entry.js} +1 -1
  455. package/dist/webcomponents/p-c470a150.js +1 -0
  456. package/dist/webcomponents/{p-eb644cb7.js → p-c5c03d88.js} +1 -1
  457. package/dist/webcomponents/p-c5ce98b0.entry.js +1 -0
  458. package/dist/webcomponents/{p-6b21b6c9.js → p-c845cb7a.js} +1 -1
  459. package/dist/webcomponents/p-cc4adf97.js +1 -0
  460. package/dist/webcomponents/{p-72a90154.entry.js → p-cdb7fa19.entry.js} +1 -1
  461. package/dist/webcomponents/p-d07c45e6.entry.js +1 -0
  462. package/dist/webcomponents/p-d0bde1cb.js +1 -0
  463. package/dist/webcomponents/p-d8c04275.js +1 -0
  464. package/dist/webcomponents/{p-541b7c36.entry.js → p-db37b175.entry.js} +1 -1
  465. package/dist/webcomponents/p-ddcd2ff7.entry.js +1 -0
  466. package/dist/webcomponents/p-de13f23c.js +1 -0
  467. package/dist/webcomponents/p-dec18cc4.js +1 -0
  468. package/dist/webcomponents/{p-3fa7d9c9.entry.js → p-e0db920c.entry.js} +1 -1
  469. package/dist/webcomponents/{p-39177d5a.js → p-e63fdbca.js} +1 -1
  470. package/dist/webcomponents/{p-730e8425.js → p-e8c3c23f.js} +1 -1
  471. package/dist/webcomponents/p-ea105de3.js +1 -0
  472. package/dist/webcomponents/p-ea5cf135.entry.js +1 -0
  473. package/dist/webcomponents/p-ed17e472.entry.js +1 -0
  474. package/dist/webcomponents/p-f0c0cbc8.entry.js +1 -0
  475. package/dist/webcomponents/{p-24a9c773.js → p-f19f9f61.js} +1 -1
  476. package/dist/webcomponents/p-f1e01bab.entry.js +1 -0
  477. package/dist/webcomponents/p-f2f2e20e.js +1 -0
  478. package/dist/webcomponents/p-f5925b1e.entry.js +1 -0
  479. package/dist/webcomponents/p-f694e1c8.js +1 -0
  480. package/dist/webcomponents/p-f706d70e.js +1 -0
  481. package/dist/webcomponents/p-f9728478.entry.js +1 -0
  482. package/dist/webcomponents/p-f9ac523e.entry.js +1 -0
  483. package/dist/webcomponents/p-f9d63d9d.js +1 -0
  484. package/dist/webcomponents/p-fa2b405c.entry.js +1 -0
  485. package/dist/webcomponents/{p-bf07d5d0.entry.js → p-facada09.entry.js} +1 -1
  486. package/dist/webcomponents/p-fe0d245f.entry.js +1 -0
  487. package/dist/webcomponents/webcomponents.esm.js +1 -1
  488. package/package.json +1 -1
  489. package/dist/cjs/form-control-file.cjs.entry.js +0 -67
  490. package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
  491. package/dist/cjs/justifi-additional-questions-form-step-core_9.cjs.entry.js +0 -800
  492. package/dist/cjs/payments-list-params-state-0ff968a7.js +0 -14
  493. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +0 -338
  494. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +0 -40
  495. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +0 -52
  496. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +0 -8
  497. package/dist/collection/components/business-forms/schemas/business-document-upload-schema.js +0 -23
  498. package/dist/esm/form-control-file.entry.js +0 -63
  499. package/dist/esm/form-control-select_3.entry.js +0 -139
  500. package/dist/esm/justifi-additional-questions-form-step-core_9.entry.js +0 -788
  501. package/dist/esm/payments-list-params-state-b3dab8bc.js +0 -10
  502. package/dist/module/business-document-upload-form-step.js +0 -272
  503. package/dist/module/business-document-upload-input-group.js +0 -128
  504. package/dist/module/business-terms-conditions-text.js +0 -28
  505. package/dist/module/justifi-business-document-upload-form-step.d.ts +0 -11
  506. package/dist/module/justifi-business-document-upload-form-step.js +0 -6
  507. package/dist/module/justifi-business-document-upload-input-group.d.ts +0 -11
  508. package/dist/module/justifi-business-document-upload-input-group.js +0 -6
  509. package/dist/module/justifi-business-documents-on-file.d.ts +0 -11
  510. package/dist/module/justifi-business-documents-on-file.js +0 -6
  511. package/dist/module/justifi-business-terms-conditions-text.d.ts +0 -11
  512. package/dist/module/justifi-business-terms-conditions-text.js +0 -6
  513. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +0 -42
  514. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.d.ts +0 -21
  515. package/dist/types/components/business-forms/payment-provisioning/document-uploads/input-configurations.d.ts +0 -45
  516. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.d.ts +0 -3
  517. package/dist/types/components/business-forms/schemas/business-document-upload-schema.d.ts +0 -17
  518. package/dist/webcomponents/p-04ce1f82.js +0 -1
  519. package/dist/webcomponents/p-0544f4a4.entry.js +0 -1
  520. package/dist/webcomponents/p-060ff1a1.js +0 -1
  521. package/dist/webcomponents/p-0658b707.entry.js +0 -1
  522. package/dist/webcomponents/p-0d7e7957.js +0 -1
  523. package/dist/webcomponents/p-0f4168f4.entry.js +0 -1
  524. package/dist/webcomponents/p-10cface4.entry.js +0 -1
  525. package/dist/webcomponents/p-10f9ff7b.entry.js +0 -1
  526. package/dist/webcomponents/p-12233a57.entry.js +0 -1
  527. package/dist/webcomponents/p-135e24c0.js +0 -1
  528. package/dist/webcomponents/p-14d21d66.entry.js +0 -1
  529. package/dist/webcomponents/p-156f0a23.entry.js +0 -1
  530. package/dist/webcomponents/p-1a27f22e.js +0 -1
  531. package/dist/webcomponents/p-1e2526c8.entry.js +0 -1
  532. package/dist/webcomponents/p-2c7441ea.entry.js +0 -1
  533. package/dist/webcomponents/p-2d27d054.entry.js +0 -1
  534. package/dist/webcomponents/p-351c7fa3.entry.js +0 -1
  535. package/dist/webcomponents/p-3f209fcc.entry.js +0 -1
  536. package/dist/webcomponents/p-46769ec3.entry.js +0 -1
  537. package/dist/webcomponents/p-47cd431c.js +0 -1
  538. package/dist/webcomponents/p-4bcfdb99.entry.js +0 -1
  539. package/dist/webcomponents/p-4e122ace.js +0 -1
  540. package/dist/webcomponents/p-4e92b1ac.entry.js +0 -1
  541. package/dist/webcomponents/p-560bc606.entry.js +0 -1
  542. package/dist/webcomponents/p-5d177a30.js +0 -1
  543. package/dist/webcomponents/p-67aef066.entry.js +0 -1
  544. package/dist/webcomponents/p-6bc01617.js +0 -1
  545. package/dist/webcomponents/p-6e8be579.entry.js +0 -1
  546. package/dist/webcomponents/p-73323a41.entry.js +0 -1
  547. package/dist/webcomponents/p-73619f0a.js +0 -1
  548. package/dist/webcomponents/p-74d6e182.entry.js +0 -1
  549. package/dist/webcomponents/p-783f72a5.entry.js +0 -1
  550. package/dist/webcomponents/p-7bddbee4.js +0 -1
  551. package/dist/webcomponents/p-850b7717.entry.js +0 -1
  552. package/dist/webcomponents/p-87ce7b69.js +0 -1
  553. package/dist/webcomponents/p-8d61499c.entry.js +0 -1
  554. package/dist/webcomponents/p-9154210a.entry.js +0 -1
  555. package/dist/webcomponents/p-96bc127e.entry.js +0 -1
  556. package/dist/webcomponents/p-98e49e54.entry.js +0 -1
  557. package/dist/webcomponents/p-a3df6c3e.entry.js +0 -1
  558. package/dist/webcomponents/p-a5008b32.entry.js +0 -1
  559. package/dist/webcomponents/p-a59636ed.js +0 -1
  560. package/dist/webcomponents/p-a7b04e24.js +0 -1
  561. package/dist/webcomponents/p-ac2588af.entry.js +0 -1
  562. package/dist/webcomponents/p-aee49e6e.entry.js +0 -1
  563. package/dist/webcomponents/p-b78da082.entry.js +0 -1
  564. package/dist/webcomponents/p-b7b18a0f.entry.js +0 -1
  565. package/dist/webcomponents/p-ba202e33.js +0 -1
  566. package/dist/webcomponents/p-c0e18724.entry.js +0 -1
  567. package/dist/webcomponents/p-c65c07f7.entry.js +0 -1
  568. package/dist/webcomponents/p-ca6214ca.entry.js +0 -1
  569. package/dist/webcomponents/p-cb8f7bf4.js +0 -1
  570. package/dist/webcomponents/p-ce2de434.entry.js +0 -1
  571. package/dist/webcomponents/p-def672dc.entry.js +0 -1
  572. package/dist/webcomponents/p-df795bd0.entry.js +0 -1
  573. package/dist/webcomponents/p-f2158e48.entry.js +0 -1
  574. package/dist/webcomponents/p-f3867b82.entry.js +0 -1
  575. package/dist/webcomponents/p-fc3daedd.js +0 -1
  576. package/dist/webcomponents/p-fd6619d0.entry.js +0 -1
@@ -1,13 +1,15 @@
1
1
  import { object } from "yup";
2
- import { accountNumberValidation, accountTypeValidation, bankNameValidation, identityNameValidation, nicknameValidation, routingNumberValidation } from "./schema-validations";
3
- export const businessBankAccountSchema = (allowOptionalFields) => {
2
+ import { accountNumberValidation, accountTypeValidation, bankNameValidation, identityNameValidation, nicknameValidation, routingNumberValidation, voidedCheckValidation, bankStatementValidation } from "./schema-validations";
3
+ export const businessBankAccountSchema = (documents, allowOptionalFields) => {
4
4
  const schema = object({
5
5
  bank_name: bankNameValidation.required('Enter bank name'),
6
6
  nickname: nicknameValidation.required('Enter nickname'),
7
7
  account_owner_name: identityNameValidation.required('Enter account owner name'),
8
8
  account_type: accountTypeValidation.required('Select account type'),
9
9
  account_number: accountNumberValidation.required('Enter account number'),
10
- routing_number: routingNumberValidation.required('Enter routing number')
10
+ routing_number: routingNumberValidation.required('Enter routing number'),
11
+ voided_check: voidedCheckValidation(documents, allowOptionalFields),
12
+ bank_statement: bankStatementValidation(documents, allowOptionalFields)
11
13
  });
12
14
  const easySchema = object({
13
15
  bank_name: bankNameValidation.nullable(),
@@ -15,7 +17,9 @@ export const businessBankAccountSchema = (allowOptionalFields) => {
15
17
  account_owner_name: identityNameValidation.nullable(),
16
18
  account_type: accountTypeValidation.nullable(),
17
19
  account_number: accountNumberValidation.nullable(),
18
- routing_number: routingNumberValidation.nullable()
20
+ routing_number: routingNumberValidation.nullable(),
21
+ voided_check: voidedCheckValidation(documents, allowOptionalFields),
22
+ bank_statement: bankStatementValidation(documents, allowOptionalFields)
19
23
  });
20
24
  return allowOptionalFields ? easySchema : schema;
21
25
  };
@@ -176,14 +176,12 @@ export const voidedCheckValidation = (documents, allowOptionalFields) => {
176
176
  return documentUploadValidation.required('Please select one or more files');
177
177
  }
178
178
  };
179
- export const bankStatementValidation = (volume, documents, allowOptionalFields) => {
180
- const vol = parseInt(volume);
181
- const bankStatementRequiredAmount = 250000;
179
+ export const bankStatementValidation = (documents, allowOptionalFields) => {
182
180
  const existingDoc = documents.some((doc) => doc.document_type === EntityDocumentType.bankStatement);
183
181
  if (existingDoc || allowOptionalFields) {
184
182
  return documentUploadValidation.nullable();
185
183
  }
186
- else if (vol >= bankStatementRequiredAmount && !allowOptionalFields) {
184
+ else {
187
185
  return documentUploadValidation.required('Please select one or more files');
188
186
  }
189
187
  };
@@ -9,7 +9,7 @@ export class BankAccountForm {
9
9
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '1fb5075ddb4ee824fa3fbb12079ae0b978ef4e45' }, h("div", { key: '5384dda318b8e809cbee84f5e7796b68f19b780c', class: "container-fluid p-0" }, h("div", { key: '8e9a05728736960ac0e7f0d33a7e46d37b6a04fa', class: "row mb-3" }, h("iframe-input", { key: '46f8a193ed56ea621aac1399e8d7b22a286fd857', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${IFRAME_ORIGIN}/accountNumber` })), h("div", { key: '18db1dd7882e9c3d395f4c72833d96a8f7e1176d', class: "row" }, h("iframe-input", { key: 'ea1545703839166cb3352b789bac329f0d0b2918', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${IFRAME_ORIGIN}/routingNumber` })))));
12
+ return (h(Host, { key: '6e351c4e7bd3afe586f988855a8347c7ddd08ec8' }, h("div", { key: '822a342538c44f9d643a1b443302107cc3086ba1', class: "container-fluid p-0" }, h("div", { key: 'bacfd7176144928a80cb0bc491b9a83e7260c502', class: "row mb-3" }, h("iframe-input", { key: '77c88ac7f6c26f8467d9c1d2f8f053bd6003bfec', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${IFRAME_ORIGIN}/accountNumber` })), h("div", { key: 'da73fc03e8c124a37d0fa84a66439c879e745ef2', class: "row" }, h("iframe-input", { key: '2f36b96ecff473ef72e47ce5b9b009fe1067eee2', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${IFRAME_ORIGIN}/routingNumber` })))));
13
13
  }
14
14
  static get is() { return "bank-account-form"; }
15
15
  static get methods() {
@@ -11,7 +11,7 @@ export class CardForm {
11
11
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
12
12
  }
13
13
  render() {
14
- return (h(Host, { key: 'cc49f963960cc00ea499484ce257d0b902837c1e', class: "container-fluid p-0" }, h("div", { key: '873ee92597101d80c5c05f50a1428402061ed27f', class: "mb-3" }, h("iframe-input", { key: '4987b5fd997954e30450b5f0b5089c91523afe4f', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${IFRAME_ORIGIN}/cardNumber` })), h("div", { key: '7a50424f955163f9c213d81057338c915e046a41', class: "row" }, h("div", { key: 'ab117b543d5ba1b1ca5db6030480048fc266250b', class: "col-4 align-content-end" }, h("iframe-input", { key: 'e5b0f96d4be64fd07ac2417b23d8a3913d67145a', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${IFRAME_ORIGIN}/expirationMonth` })), h("div", { key: 'c66377e9ae6b0f1a750933ca628edcb62b227e34', class: "col-4 align-content-end" }, h("iframe-input", { key: '2fb5328b3b8b82d0bd2b0ad2272cd73b133cb548', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${IFRAME_ORIGIN}/expirationYear` })), h("div", { key: 'add1b6be0df27a95b5c244a7bb2320f6f40ec930', class: "col-4 align-content-end" }, h("iframe-input", { key: '3c0341c1111b1980d9868d314221857e7ff07996', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${IFRAME_ORIGIN}/CVV` })))));
14
+ return (h(Host, { key: '279551d81ed11cde65d51e28d9dc9be9d5f0d422', class: "container-fluid p-0" }, h("div", { key: '2ab4164df7fd258243a89b02fe4a634069f31670', class: "mb-3" }, h("iframe-input", { key: '0baf4772d66bc228ef0259487c5b7be67321ebf1', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${IFRAME_ORIGIN}/cardNumber` })), h("div", { key: 'ba458f877d837bd8c3302f9888e3ddfba58c2024', class: "row" }, h("div", { key: '960975abed4e4db2ed5428e81bd0771b7f18aca7', class: "col-4 align-content-end" }, h("iframe-input", { key: 'b609e584b00cced44db0cb44cb8436f3daa18a2e', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${IFRAME_ORIGIN}/expirationMonth` })), h("div", { key: '42725f5223920f9185a384f88ba17ca1e3215b30', class: "col-4 align-content-end" }, h("iframe-input", { key: '9c2c8410b3344dc44b4538881965f6b9e1a0b6c9', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${IFRAME_ORIGIN}/expirationYear` })), h("div", { key: 'f4c3a801b0f3088b0cee30914d6088d0b140b637', class: "col-4 align-content-end" }, h("iframe-input", { key: '7bb5ebec54d900539f2bfdb85537c6d3185d3419', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${IFRAME_ORIGIN}/CVV` })))));
15
15
  }
16
16
  static get is() { return "card-form"; }
17
17
  static get methods() {
@@ -123,7 +123,7 @@ export class CheckoutCore {
123
123
  return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { part: text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", null, h("span", { part: text }, "Total"), "\u00A0", h("span", { part: text }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
124
124
  }
125
125
  render() {
126
- return (h(StyledHost, { key: '27b5f6263124c9c288fb81e6a0a97ef9565a49ed' }, h("div", { key: '8444c6ea0c1b4f9a63e46407c90ee1d14556f832', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '920ddc8692ce6a0cc129fc9de0353c7d1cce0fcf', class: "col-12", part: checkoutSummary }, h(Header2, { key: 'c48cfc8be18363aa522e38a6dd09acccf2f51bf4', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: '1f9615177d056357b9c960bbf86360324a2330dc', class: "col-12" }, h("slot", { key: '2a3845fe83eb3c0a213f97a0ccc74c268690818b', name: "insurance" })), h("div", { key: 'c7e588bb71c6bc3f84636cde3346021b51978bfd', class: "col-12 mt-4" }, h(Header2, { key: '512bef8ae536558eba77019531f38485983b1a2f', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '84a1d01dbae527ca1bff19b2f3dfcd47f9b3782f', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: '8770c420bf092ad3173fb7308d795e1e9ab6d00d', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: '2c907e60023119910220a57725d52a2133a4e5ba', class: "col-12" }, h("div", { key: 'b2303b22c1a83755726eb08d7e732b4c472f75d7', class: "d-flex justify-content-end" }, h(Button, { key: '6c5910476d57f439648810a8fe200b190256bb2d', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
126
+ return (h(StyledHost, { key: 'a3da58e301dbb938bad9785ef93deb58c9f8bc1c' }, h("div", { key: '1e27568848b163443823e475f60f024e0574d5a1', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '1626910a51278d3605d7478967bd5510f06ab0e8', class: "col-12", part: checkoutSummary }, h(Header2, { key: 'a611cc9f961758d629ef9b60a7c721e779c2e7aa', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: '497cbf1fb357b5da2ba33355d8b216812ca462d8', class: "col-12" }, h("slot", { key: 'ee71b1f7ee82c5309c55367585be33d911d1a77a', name: "insurance" })), h("div", { key: '77f4b551f6f8caea04cedea4331dbac1b58cc2b2', class: "col-12 mt-4" }, h(Header2, { key: 'e03f34d1368468fc3712cf3adcb3254ac729ca2c', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '80b7ae6d2b965532e1def898369d9e294c9efa47', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: 'fbcbb06d2f706a4f317496afbb5f932c7a954285', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: 'e272325743370aa22ef9973523eb47829b9504f4', class: "col-12" }, h("div", { key: '0c0cfb11564c8008dfb05d0ec48e0c18ea63c589', class: "d-flex justify-content-end" }, h(Button, { key: '85860b67adb647db23b4944cefec1bcf0ec19d92', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
127
127
  }
128
128
  static get is() { return "justifi-checkout-core"; }
129
129
  static get encapsulation() { return "shadow"; }
@@ -53,11 +53,11 @@ export class Checkout {
53
53
  this.checkoutCoreRef.fillBillingForm(fields);
54
54
  }
55
55
  render() {
56
- return (h("justifi-checkout-core", { key: '573ac7486b2523d6918f5f8eb97a17dcf47edd3a', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, ref: el => {
56
+ return (h("justifi-checkout-core", { key: 'd0f0e8bd7634b09e43d7b89fc9b62dad5a46698a', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, ref: el => {
57
57
  if (el) {
58
58
  this.checkoutCoreRef = el;
59
59
  }
60
- } }, h("div", { key: '649338a229597a0c6a9987975f91e678ca489890', slot: "insurance" }, h("slot", { key: 'ddfb4986d89a9792e7dad6ffad7dd134bedc9e25', name: "insurance" }))));
60
+ } }, h("div", { key: 'c523d863b3c50a2a341c6afda034a847f172f64d', slot: "insurance" }, h("slot", { key: '7fc6851584286b771b300113065950fd3c36fe7b', name: "insurance" }))));
61
61
  }
62
62
  static get is() { return "justifi-checkout"; }
63
63
  static get properties() {
@@ -39,7 +39,10 @@ export class NewPaymentMethod {
39
39
  }
40
40
  else {
41
41
  const tokenizeRessponseData = tokenizeResponse.data;
42
- return { token: ((_a = tokenizeRessponseData.card) === null || _a === void 0 ? void 0 : _a.token) || ((_b = tokenizeRessponseData.bank_account) === null || _b === void 0 ? void 0 : _b.token) };
42
+ return {
43
+ token: ((_a = tokenizeRessponseData.card) === null || _a === void 0 ? void 0 : _a.token) || ((_b = tokenizeRessponseData.bank_account) === null || _b === void 0 ? void 0 : _b.token),
44
+ data: tokenizeRessponseData
45
+ };
43
46
  }
44
47
  }
45
48
  catch (error) {
@@ -76,7 +79,7 @@ export class NewPaymentMethod {
76
79
  }
77
80
  render() {
78
81
  var _a, _b;
79
- return (h(Host, { key: 'd28e0908fee9817719cd79d91621792862cd4e81', class: "payment-method" }, h("div", { key: '021d8458af22180cd5db65f346ab5d205e214e45', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'adaca7a258a726e97150e677e92004955e99a12c', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
82
+ return (h(Host, { key: '08d8aac7f71c6f7e6f55b8e43a8987ad0e0604d2', class: "payment-method" }, h("div", { key: 'd38fb7c6591df0c552ec51137b4358a2fa5a2651', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '90725e78617ea8dcd40981cac815601a75256f7d', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
80
83
  }
81
84
  static get is() { return "justifi-new-payment-method"; }
82
85
  static get properties() {
@@ -58,7 +58,7 @@ export class PaymentMethodOptions {
58
58
  }
59
59
  render() {
60
60
  var _a;
61
- return (h(Host, { key: '22ab195ec840e971c774ad2886ebce979c13394d' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
61
+ return (h(Host, { key: 'b83f8b54a8f5a15790b263047a5eb9acc416ae2c' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
62
62
  const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
63
63
  const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
64
64
  const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
@@ -8,7 +8,7 @@ export class SaveNewPaymentMethod {
8
8
  this.checkboxChanged.emit(this.isChecked);
9
9
  }
10
10
  render() {
11
- return (h("div", { key: '017cbce906d331b82eb5dc726197da3ea3ba51e5', class: "mt-4 form-check" }, h("form-control-checkbox", { key: 'ca22562653b216d16bd19765f1834ff2428820cc', label: "Save new payment method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange.bind(this) })));
11
+ return (h("div", { key: '86520e5820d9e6ef19946566b31912c5b1050bf6', class: "mt-4 form-check" }, h("form-control-checkbox", { key: 'cc87b708b88aaf4b1f1a93f6b6ebfdd030f87bc0', label: "Save new payment method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange.bind(this) })));
12
12
  }
13
13
  static get is() { return "justifi-save-new-payment-method"; }
14
14
  static get states() {
@@ -20,7 +20,7 @@ export class SavedPaymentMethod {
20
20
  ;
21
21
  render() {
22
22
  var _a, _b, _c;
23
- return (h(Host, { key: '10b18a7c77250aac57d6afef89aea752e3bc2c35', class: "payment-method" }, h("div", { key: '80910960904f3e01fd10cba4789af4004b434490', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'abccf6aca9316de983ba899eabfffcc7b05b1d48', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
23
+ return (h(Host, { key: '34d26fc514053e2fe028a4a3ba0cbdeb8aa835f1', class: "payment-method" }, h("div", { key: 'da373a524b97bb91a0bc0849f0670c440f5cf5a8', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '824ebc566a018e342dd7f128c69fca873bbded45', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
24
24
  }
25
25
  static get is() { return "justifi-saved-payment-method"; }
26
26
  static get properties() {
@@ -65,7 +65,7 @@ export class SezzlePaymentMethod {
65
65
  }
66
66
  render() {
67
67
  var _a, _b, _c;
68
- return (h(Host, { key: 'eaf1bd457f91f77bffa661875277c0709d5926d3', class: "payment-method" }, h("script", { key: '897bccdb0090b3e3b45b9913f7bdea6b838f63cb', src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { key: 'db32690b54bdb5045d701c888cd67c7d97d66243', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'c3746a50bc7a5b8f079ed76c204790555983def1', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_c = this.installmentPlan) === null || _c === void 0 ? void 0 : _c.installments[0].amountInCents))))) }))));
68
+ return (h(Host, { key: '696051d9a48f0127013dcc84a25053f85ad92145', class: "payment-method" }, h("script", { key: '0dec4821a85dbef872494885c32c26719423b761', src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { key: 'fb9812691532a49f5c8093a989f6277d4755e531', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '3ae4c03b30a32b860231789d2f541fbfbea37bef', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_c = this.installmentPlan) === null || _c === void 0 ? void 0 : _c.installments[0].amountInCents))))) }))));
69
69
  }
70
70
  static get is() { return "justifi-sezzle-payment-method"; }
71
71
  static get properties() {
@@ -123,7 +123,7 @@ export class CheckoutsListCore {
123
123
  return !this.showEmptyState && !this.showErrorState && !this.loading;
124
124
  }
125
125
  render() {
126
- return (h("div", { key: '910d95f94623ddd9e90a182a7a47e7dfdff1d9a6' }, h("div", { key: 'c296c31fe48bec06067215f6aa4cfb1a9d1b681a', class: "table-wrapper" }, h("table", { key: 'dddd43e74de4989261b8014d2c66cba7c26e9d98', class: "table table-hover", part: table }, h("thead", { key: '4eabd9c8687fbf316420c9a838a95016b20f12dd', class: "table-head sticky-top" }, h("tr", { key: '2cdd7f438099613e5a670343723b883470a65dbd', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: 'e3fd8f783e0e405d18bc120bf8c2ca4e2ca25f15', class: "table-body" }, h(TableLoadingState, { key: 'ec8e73a90b9951b5fba78651fdd9a93b7531ba49', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '6b1ebf8bbd62b0ba9c7032be47c87b929bc413db', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a44e8985fb208b91635afe4910fdce5fb94d17e7', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '05ac7e9796a7b4e4450151e762a409c050fc037f', class: "sticky-bottom" }, h("tr", { key: 'd6135d93dafeee69c6d9a12b9bd35e8c77ec3c5a', class: "table-light align-middle" }, h("td", { key: 'ad7b4df45f54519b759797f665bcfa68a1cd512d', part: tableCell, colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '3c97cf5daeb90e9b9a881280f25e4307b7392bcf', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
126
+ return (h("div", { key: '525904319e2827a04ccbd44f83881504ddeba992' }, h("div", { key: '30c5800d270fe77e2a396b6379273a0639d4221e', class: "table-wrapper" }, h("table", { key: 'f8a66cf99bf0dc185d0cc541e3d38f4b68b136be', class: "table table-hover", part: table }, h("thead", { key: 'c47c664e4bc8526b494d089b8e1198dfe27fa4fc', class: "table-head sticky-top" }, h("tr", { key: '645aca7f2610bd3b86c8e775edf264c9f53c7f6f', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: '79a046fced553f214e55d56c401211d0d682394e', class: "table-body" }, h(TableLoadingState, { key: '654f967a8b9552213a232d35e74d2700cc237cfd', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '80d985f6055e254262653e240b0d16a2e46123d0', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a99fa4e4f370b70cc927a9b3e65d54828e56e448', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '619b3f952c5e6f8e1c612927b5d976ea6e4cffe7', class: "sticky-bottom" }, h("tr", { key: '5fb77b80e4c52154c658bbd2ebc8de9d8bc903aa', class: "table-light align-middle" }, h("td", { key: 'a5d1d6d1cf164681ad7a5f59bf4ae9a70e94911c', part: tableCell, colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'ce6e17ee3d3a6a3f513dedef209e9d4f2d7eff31', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
127
127
  }
128
128
  static get is() { return "checkouts-list-core"; }
129
129
  static get properties() {
@@ -24,7 +24,7 @@ export class CheckoutsListFilters {
24
24
  ];
25
25
  }
26
26
  render() {
27
- return (h(StyledHost, { key: '5d3a970578bdcb121fbc966bded802f3a7046898' }, h("table-filters-menu", { key: 'f0579a967918b8cf6147123878bfd6d4077312a3', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: 'a145922ee7ed0d74410308fec6ab4a697bb6dcf1', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '62e82a486e74ffb37bf3421a90927570c0676cfc', class: "p-2" }, h("form-control-select", { key: '71b758acac7d47971dafdc64325d8f5940ad042b', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.status || '' })), h("div", { key: '1cafc77cd220be576b0f6470e7606037ea64ca13', class: "p-2" }, h("form-control-select", { key: '337beb5798e4db1316e2fffa2a13fa261bb2781b', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.payment_mode || '' }))))));
27
+ return (h(StyledHost, { key: '5015b8422169ea4c32f8e92f3931963ad0d8c8f9' }, h("table-filters-menu", { key: '2169201810641e563dc0af321c5b7367fad04a3a', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: '802ce6488f2204ece4845e95d9225b05c428bc13', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '99dfed0fafadff13f37e6cbfcb98761be6d49a68', class: "p-2" }, h("form-control-select", { key: '0b37e4c6685be467c08b3c86df6f9bfc8ab52e3d', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.status || '' })), h("div", { key: 'dec0b6be6d13847dbf748ea0a038df2db143afe2', class: "p-2" }, h("form-control-select", { key: 'acd5f387f5ea2a4b5918b9a3a80eaac199bbd8d5', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.payment_mode || '' }))))));
28
28
  }
29
29
  static get is() { return "justifi-checkouts-list-filters"; }
30
30
  static get encapsulation() { return "shadow"; }
@@ -67,7 +67,7 @@ export class CheckoutsList {
67
67
  }
68
68
  }
69
69
  render() {
70
- return (h(StyledHost, { key: 'cac567336d8e7f104b31a852b5734de16cd32d26' }, h("checkouts-list-core", { key: '6d8006ea752a73e396941e60facb04f84c4139c8', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
70
+ return (h(StyledHost, { key: 'aae56ec9ac20a6ed740a5180bfedf664d7d1e0ca' }, h("checkouts-list-core", { key: '933b8b41aa468c1515b64a8fb6570609454ee361', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
71
71
  }
72
72
  static get is() { return "justifi-checkouts-list"; }
73
73
  static get encapsulation() { return "shadow"; }
@@ -50,7 +50,7 @@ export class DisputeManagementCore {
50
50
  });
51
51
  }
52
52
  render() {
53
- return (h("div", { key: 'd7763c7713e5278f02a1b903bbc0b2c905bd23b0' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
53
+ return (h("div", { key: 'b5a802e8c418b3b7f3235f43260186084a6ee079' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
54
54
  }
55
55
  static get is() { return "justifi-dispute-management-core"; }
56
56
  static get properties() {
@@ -48,7 +48,7 @@ export class DisputeManagement {
48
48
  }
49
49
  }
50
50
  render() {
51
- return (h("justifi-dispute-management-core", { key: '5cc8bd47c54dd8bda15460e7d2258bac58470496', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
51
+ return (h("justifi-dispute-management-core", { key: 'ac225c68cd03070f60bf00bef92ddcc8d5fe4e47', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
52
52
  }
53
53
  static get is() { return "justifi-dispute-management"; }
54
54
  static get properties() {
@@ -35,7 +35,7 @@ export class DisputeNotification {
35
35
  }
36
36
  render() {
37
37
  var _a, _b, _c, _d, _e, _f, _g;
38
- return (h(StyledHost, { key: 'dfcc9e5fd86a26e8d321bc5caafa3b046b022c54' }, this.isLoading && (h("div", { key: 'deffb8dc0d001fb4dc114b6810408de098ed9621', style: { marginBottom: '8px' } }, h(Skeleton, { key: '6ea0998a7a9c4b0b161e7838e5863c6581a56ccc', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'ea46373e18690a0cf1131bdf5a6b0bfc7761c68f', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '98c3b1ad8eca5f77a7c73998835b57a7bc5df4a2', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '3098144d29605462b4f042b74a0a44303cddd80f', part: text }, h("h1", { key: '7c175c4c1b5c93833d0eef68b3e6509608995483', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: 'df222fa47c5df85feead831a19af3b681feeb28d' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '60f58219182bf56b788a17f53556c7245180cae9', class: "h5" }, "Dispute details"), h("div", { key: '490b807d57ff8baff1d15b644c4fb8948a786125', class: "d-table gap-2" }, h("div", { key: '86ac0b527c0a742f70c487129790d722af385bea', class: "d-table-row gap-2" }, h("span", { key: '6cd2e5172ae2c4581b672a80bad96dbc372980ba', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'e2e465afca27df4b2b5831c223c93e483cbe5ed3', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: 'ecb4a882296f4195a9ea123ee699ec55fc0fe55f', class: "d-table-row gap-2" }, h("span", { key: '6801b0a252336c9edfc1ffbdbdf54dc404fb80ca', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: 'ffb49e592ef36e469295f5c59284aa4be249f58d', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '652a8b454f305fc57ad1455869ac17e45fad27f9', class: "d-table-row gap-2" }, h("span", { key: '9c8f0399a88238643c029916e44c759f1db3c2f5', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: 'b20779034577e48a5960a91db06a5627e8c17282', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: 'c02bb382f4dca09cb660c878ff2560815ce4d20a', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: 'e2cac0a0b92fff128b5d92675f2345ed7126f420', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '000d8e1d9f96c33608637780c8b2f9d7cc476213', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'bbcf4a7d6acc61a55ed33512b2297195a1bc6d72' }, h("h1", { key: '53ecca8c1f9d9a30a173dc058757df984e82a94e', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '3afc7790dee77ec5934020ea42c8b9c47dda4d4b' }, "The cardholder is disputing this payment. A counter dispute has been submitEvent and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: 'bfd88724984130c42e15882859d01cf680b34696' }, h("h1", { key: '3ab454f4e8475770cd71aada9341c035137c7989', class: "h4" }, "This payment was disputed"), h("p", { key: 'dc3c81bd81a5bc139b0eb94bdaef779a7dd217fc' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: '0bd9ca6a71e978e63fff49dbc105a9078d1c0f38' }, h("h1", { key: '3e6bdea906b38af5c5191b17cbf2482ba701a481', class: "h4" }, "This payment was disputed"), h("p", { key: '05f6d5c04c28a2128bb06d27ef085eeb33377094' }, "The cardholder disputed this payment and the card issuer has settled it their favor.")))));
38
+ return (h(StyledHost, { key: '90d2506d5bde2ea478fa3575fc162bb356b67fac' }, this.isLoading && (h("div", { key: '4877ae22d3d8e312640b122c9107b6bdd8f924cb', style: { marginBottom: '8px' } }, h(Skeleton, { key: '31fa0717949bbc6aa49db1c6ae0e324099ae1de2', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'ac5179232cb9ee33d3f3e16d9f93536ecfbf46a5', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: 'c22a5e3b257d01f92de7f6188fa0758861abc747', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: 'be331b1a5e2fa0baf46bc593ef7ce4f5872abcff', part: text }, h("h1", { key: '8094c16d3b375f28ffe314613f21ae25b63e59ef', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: 'd89ae665e1f9bd99c9338e2132c1dc56e5386696' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '2786733eac76628019993e13473d1f43c0c395ed', class: "h5" }, "Dispute details"), h("div", { key: '663c28c46136bd56889b6ad0b9bfce9e5adbb590', class: "d-table gap-2" }, h("div", { key: 'dc688fad875d1591dcb7f31d423b61a3df2ff954', class: "d-table-row gap-2" }, h("span", { key: '442db7a6e95524ca6b092794c7a4a4d987c9866e', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '0a31de8692c9b00f43fcf3c0508e4d00a221d096', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: '9fe0c1a3d3350c36fca190ae748dafe24d41b5fc', class: "d-table-row gap-2" }, h("span", { key: '12165cb6671519130a5f2e0d8938aaa55e7e3ead', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '4a37ca8a7d64b97142997bb50ec11d737ac6a882', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '4d9cf74a8ed26dd84e4ce7325d4b8703352362a4', class: "d-table-row gap-2" }, h("span", { key: '8c0eaa24ebec7703eb18384b0b1f2eae8a684b55', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: '238813abf2ea0848e1fe817d5798b9b0d0b78ffc', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: 'd156a7e9bf0e7214ff2164fc09b12c0b8f1d2b36', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '7822fd12dfc39bd2aced043956d012fd34cc1b01', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '05132b3a6d1fc3d136dc227008ea1999330cdb96', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'b04dd0c34f608b75ea3997a9c28ce948fa9dba5c' }, h("h1", { key: 'ac2a13373315703e86247b6707097af7cf2e6757', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '203aed553e01bbaebe44bb370a1d088c149cda06' }, "The cardholder is disputing this payment. A counter dispute has been submitEvent and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '68411e62bb5c8048e995906a5f30ef1001a0bc5b' }, h("h1", { key: '565feeac6e7aca35a0b72c9128c1edcb0d6a85b6', class: "h4" }, "This payment was disputed"), h("p", { key: '68371d393c1f4053f19827c6e46978b3d73d2873' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: '99d10bf25e730dda4f4596efa100b4cff7ddc0c8' }, h("h1", { key: 'd5c6252c4236f2e5b93925db8c9a40bab6c0253a', class: "h4" }, "This payment was disputed"), h("p", { key: '773d083786d795fee7f7818f34414a7d1459925c' }, "The cardholder disputed this payment and the card issuer has settled it their favor.")))));
39
39
  }
40
40
  static get is() { return "justifi-dispute-notification"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -38,7 +38,7 @@ export class AdditionalStatement {
38
38
  }
39
39
  render() {
40
40
  var _a;
41
- return (h("div", { key: '12a083283fd725f7eb50a5c297ef408ea4184e7a' }, h("div", { key: '6f85bc12bac843ffe6ae1e8bd6acc35db250bc1d', class: "row gy-3" }, h("div", { key: '6bb4c2442b9bbfe2689d60a83806bae6ba5e55f6', class: "col-12" }, h("h2", { key: '9a9cff6036ce2da07ee316145bd35c9971cb94ca', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: 'ad1e3f5be5c71475e172f1b500435248466972a0', class: "col-12" }, h("form-control-textarea", { key: 'dc41498eeabb42786d08522414fed87b1bb9ff9f', 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: '64560a0ec82808e6f41143ed3e2c2b1f35f7d016', class: "col-12" }, h("form-control-file-v2", { key: '8e6b407436dd6bed4612550b6dbddb61ed3ccdc6', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: this.handleFileSelection })))));
41
+ return (h("div", { key: 'd0047a4d77bcab83eb40d649bef9143bd0494a29' }, h("div", { key: '6a885d8d42962477a0dc58ff7b726be0c1778fef', class: "row gy-3" }, h("div", { key: '158a7392e846f1521f64d50d6d9f4ef55399882e', class: "col-12" }, h("h2", { key: '4220ccee243d30d512fcf95ae900935f4c738d51', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '777e6f3a129431e612c8fdbfac456ed40c3c068f', class: "col-12" }, h("form-control-textarea", { key: 'b9ca73e48d7797d308136176ddc964f435822b8f', 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: '0eae8623234917330e16a1d0d517bc3b5e369bd9', class: "col-12" }, h("form-control-file-v2", { key: '9888c9848db8f979de5550b52990da71da468806', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: this.handleFileSelection })))));
42
42
  }
43
43
  static get is() { return "justifi-additional-statement"; }
44
44
  static get properties() {
@@ -36,7 +36,7 @@ export class CancellationPolicy {
36
36
  }
37
37
  render() {
38
38
  var _a, _b;
39
- return (h("div", { key: 'bf7df11fdafa2411a0aa79c606b822a893444482' }, h("div", { key: 'a19e32d4edf9d90d23f865f54f8ae844f367ef3e', class: "row gy-3" }, h("div", { key: '9ca87dc02a3993c1b8cd187231561836ae78e517', class: "col-12" }, h("h2", { key: '5ae6844cf4d99ad19f4e4f2690015e422acea5ad', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '82ec0f39bdd823b02f4ff2482e9dd1daedd5d4fe', class: "col-12" }, h("form-control-textarea", { key: 'ed8ce058aa41f3eed1f489c4d62e4f7b16a4c801', 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: 'ed26b0813e499381b867eb50d35cf2f473a71cf7', class: "col-12" }, h("form-control-textarea", { key: '5ffd5e3b7d67cf1b2dbb883412f920bec443dc61', 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: '43f4c5e4ec9c04f66958f930cee235da0709d3bb', class: "col-12" }, h("form-control-file-v2", { key: 'bf8606a6969b4b5edb8bd945ef3d28e13d85b774', label: "Upload Cancellation Policy", name: "cancellation_policy_file", onChange: this.handleFileSelection })))));
39
+ return (h("div", { key: 'aea08e2f0b6e473563c2dc6013b31069136c4911' }, h("div", { key: '9218719e9e956ba07133cd2c6b001a0e17987c46', class: "row gy-3" }, h("div", { key: '255cf20c0e717a8fa0b7413d212a6709a9e596e5', class: "col-12" }, h("h2", { key: '2cf8304a39b2d6356a9ea6f7c7c1918af428da96', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '603f5ec85922a915a5c90cc541a815dda15ddad8', class: "col-12" }, h("form-control-textarea", { key: '82eea6470c44f71e162952c07363d8c2726dcaf9', 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: '1e6a7510617cf192fbd604d45be124eeb4add648', class: "col-12" }, h("form-control-textarea", { key: '961044ed4ed21d1706314b0c5c69408eb318a956', 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: '079294903db0fd69c0169ea92dd589c52e91e679', class: "col-12" }, h("form-control-file-v2", { key: 'a08630234a5f4654fc135bd3ac704127ecc302b4', label: "Upload Cancellation Policy", name: "cancellation_policy_file", onChange: this.handleFileSelection })))));
40
40
  }
41
41
  static get is() { return "justifi-cancellation-policy"; }
42
42
  static get properties() {
@@ -36,7 +36,7 @@ export class CustomerDetails {
36
36
  }
37
37
  render() {
38
38
  var _a, _b, _c;
39
- return (h("div", { key: 'f13b1b07f7e47661e94730ac84a2f579e20c407c' }, h("div", { key: 'b50fcf45a6c872543c6a691f43e82b697706c0eb', class: "row gy-3" }, h("div", { key: '71c5a773cd7254a76d4071abbecb4067417266f7', class: "col-12" }, h("h2", { key: '84beef4a3879bb36c3d5755b5e2b23c04e018247', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: 'f58feed75554bdf80574dd6a961f07bc6ff67a68', class: "col-12" }, h("form-control-text", { key: 'e781dad51a096012a9fdbe56169c62abd1c7558d', 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: 'c617221a62a8226432216fa3cf1a6bdcaea53dd8', class: "col-12" }, h("form-control-text", { key: '5c4a2d8cf779c0a4cb38c5bfd29e21d610c3283b', 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: '639449c6544b6fcbaca4a777b0b2e31573c6fb85', class: "col-12" }, h("form-control-textarea", { key: '54794fdbf93af16f55f0d7e9f3b2152a774e9ff7', 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: '24c0ad1a768f69d4f181ca12cb1520d9d89df06d', class: "col-12" }, h("form-control-file-v2", { key: '20ba764e44adfd05da308dd98de210b6a6a1918c', label: "Customer Signature", name: "customer_signature", onChange: this.handleFileSelection })), h("div", { key: '0171a822afcd450db5202e4ec1925fd85ff68090', class: "col-12" }, h("form-control-file-v2", { key: '24d31b7c0ae09f10f144e80045eadab93c01ee14', label: "Customer Communication", name: "customer_communication", onChange: this.handleFileSelection })))));
39
+ return (h("div", { key: 'd2de3bd04c9669399f9fedec4399a05ac310ed69' }, h("div", { key: '3f04107b1e74560103db25f99b03cd585b3421bd', class: "row gy-3" }, h("div", { key: 'e421dc7b298895407fbbb6148d67effcea8bc723', class: "col-12" }, h("h2", { key: 'bc4c8e02aad8233978b8fb23f2387d140cacd85f', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '9d578e5a681c449da348dff753809458e1389152', class: "col-12" }, h("form-control-text", { key: '7da1bb3641095a93b504b37d972e0a25bcee5131', 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: 'f5f43784fb15dbdbe1dbd747c692d5a1d39b0c4e', class: "col-12" }, h("form-control-text", { key: '1caa70711c25f25b0b517c821852b21f6fa9b69e', 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: '2f2ef97ac330b9a43deb257c10132260747f8faf', class: "col-12" }, h("form-control-textarea", { key: '11ede0b16ac7b8a2891ed10eaa89b3310b7aca93', 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: '421f0e76563910baac247673ca0d73b79e46b071', class: "col-12" }, h("form-control-file-v2", { key: '0b22b4a895f35a99d529a1a6b29873010ff727a6', label: "Customer Signature", name: "customer_signature", onChange: this.handleFileSelection })), h("div", { key: 'dc7419f81931ca5d076ac0aa2aca59109f9b6e20', class: "col-12" }, h("form-control-file-v2", { key: '6dd57aa10711fcd2f1abc4a0f926ce47b31d78f6', label: "Customer Communication", name: "customer_communication", onChange: this.handleFileSelection })))));
40
40
  }
41
41
  static get is() { return "justifi-customer-details"; }
42
42
  static get properties() {
@@ -153,7 +153,7 @@ export class DisputeResponseCore {
153
153
  return this.currentStep === 0;
154
154
  }
155
155
  render() {
156
- return (h("div", { key: '1ef9afc69174ac55282cf69d2a274bb993f663c3', class: "row gy-3" }, h("div", { key: 'e031c76cb6d3b1ce494436a9ab8daaa11c705d0c', class: "col-12" }, h("h1", { key: '424df36d16527588c91b246b0f355ee289161e8e', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '34a33e5de2842fddf668d45ca9e1e23a0827f061', class: "col-12" }, this.currentStepComponent), h("div", { key: 'b278568d8f69511b02642d1469adfc9ac9e7921d', class: "col-12" }, h("div", { key: '59c32d48e318f805f7c7466fa64b6ebdc9ca14b0', 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"))))));
156
+ return (h("div", { key: '672d92a8ac0fb7f28ab9f412ae4f3516a29824dc', class: "row gy-3" }, h("div", { key: '32113215c9eb6393d8d816f88715390fb5d9d604', class: "col-12" }, h("h1", { key: 'f224caa363ebd00d678485fd4cd2d1c646d6d8f5', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '49e6046f57a9b30e6746f28512cf311f1999bcc3', class: "col-12" }, this.currentStepComponent), h("div", { key: '6d843d19c9bf7ee026981bdc2ffd5108c25c741a', class: "col-12" }, h("div", { key: 'dd52a249cc37b3cfc912e04502caf96218cade78', 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"))))));
157
157
  }
158
158
  static get is() { return "justifi-dispute-response-core"; }
159
159
  static get properties() {
@@ -60,7 +60,7 @@ export class DisputeResponse {
60
60
  }
61
61
  }
62
62
  render() {
63
- return (h(StyledHost, { key: 'a74ece02e19d5f6d57fc43c0eb1ed5177309b01b' }, h("justifi-dispute-response-core", { key: 'd0ad4a758750616ebce34964c9647606ff72c357', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
63
+ return (h(StyledHost, { key: 'f45d96fd372763ebc3f786c1d2f7e06e25185afc' }, h("justifi-dispute-response-core", { key: '8b551f97d8cb40f3f9e702a35b221faa8873e642', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
64
64
  }
65
65
  ;
66
66
  static get is() { return "justifi-dispute-response"; }
@@ -36,7 +36,7 @@ export class DuplicateCharge {
36
36
  }
37
37
  render() {
38
38
  var _a, _b;
39
- return (h("div", { key: '8364aad095d478905124bbf4c343eafb67a802e6' }, h("div", { key: '0ae2e843703935609ff18219b3e95f3d8e308b80', class: "row gy-3" }, h("div", { key: '07da8c2c9eb4b21890fae8a1dc7a25b2e7d982da', class: "col-12" }, h("h2", { key: 'b07319016adac35476717d93cfc6287c1f3cc617', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '8cdccfc7d1104668a19d06006934e1aab1942b39', class: "col-12" }, h("form-control-text", { key: 'e0f4bdbaad56cd635f9fb7e2b7d66e4a5bb8690b', 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: '8a43060fd2531698aafbe5d0195944012833d3a3', class: "col-12" }, h("form-control-textarea", { key: '6a1709fbd761039cd649265f7e123aac58acfe09', 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: '707ce39d865cf94f89c848ab42053ef3ef5ed632', class: "col-12" }, h("form-control-file-v2", { key: '371b1db533c75243d986ecad78227b804b109651', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: this.handleFileSelection })))));
39
+ return (h("div", { key: '00e332511293230ea1edf4c1ab3b5cae779cb11a' }, h("div", { key: 'd5273559c1cce126dadba74d7cd9296a06f9eab7', class: "row gy-3" }, h("div", { key: '0a8ed20053241dbb3e6a2e6255f72b99f4d71462', class: "col-12" }, h("h2", { key: '56be236c466893ca5bc3cf73cf345feeae5f25fc', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'bc0018fd6f471571f9a6e6c5fdbc131c48610773', class: "col-12" }, h("form-control-text", { key: '4bc56e12c31ab7189b879f58917cd373652b7a79', 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: 'f61547b546a44f04c8dd82c38c92fd221018a3ca', class: "col-12" }, h("form-control-textarea", { key: '1cb31176ebafb0f8641d96b5844cf8d8f09d5c59', 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: '86dbe8df7121c7c9e33d56785da70ff3204eab9b', class: "col-12" }, h("form-control-file-v2", { key: '38d6050f68271d8969fdfb652d571e2eeb0646fd', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: this.handleFileSelection })))));
40
40
  }
41
41
  static get is() { return "justifi-duplicate-charge"; }
42
42
  static get properties() {
@@ -36,7 +36,7 @@ export class ElectronicEvidence {
36
36
  }
37
37
  render() {
38
38
  var _a;
39
- return (h("div", { key: 'b0c3860a9b025aa1a9fca6955619752acab44bfc' }, h("div", { key: 'cbf3b293ba7798ecfd5e0d8e8cfdaa72508901b9', class: "row gy-3" }, h("div", { key: '3dd2980b54485d10c3390e5a6e02def94ec96707', class: "col-12" }, h("h2", { key: '71eef58eeba954fa141d56f16f2e22e0cd1fd602', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '225218973496e4ef6df2d79b4c8051b21c6878c2', class: "col-12" }, h("form-control-text", { key: 'bddbdf3883a116262af125f715d23323f3592fef', 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: 'fcd7c9794d4159ccd9136c48f8eb9803f970101d', class: "col-12" }, h("form-control-file-v2", { key: 'bcdb4e3c5499b325206d660b15992e79efc2feb9', 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: this.handleFileSelection, errorText: this.errors.activity_log })))));
39
+ return (h("div", { key: 'ed2ef898b32c0dac2ee02f4fe226f3c2c0be1772' }, h("div", { key: 'df8398f845fe434ab523fda4fd19971c09209cce', class: "row gy-3" }, h("div", { key: 'e75fb6dc9d26fa7edf24b6678412fe6a3dba4e3a', class: "col-12" }, h("h2", { key: 'b26c40da6044557558cfef97dc45d216b98e5584', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'd96c532cff8eb4dbae7cd7064669164c462122b6', class: "col-12" }, h("form-control-text", { key: 'cce9eeed80d9ce9060c890ed97fb3d34fb94ec34', 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: '88df79677c7c803aa4c3747669d666169148c71a', class: "col-12" }, h("form-control-file-v2", { key: 'a551b6dca12a447934655bfcb073353abf51e8ac', 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: this.handleFileSelection, errorText: this.errors.activity_log })))));
40
40
  }
41
41
  static get is() { return "justifi-electronic-evidence"; }
42
42
  static get properties() {
@@ -36,7 +36,7 @@ export class ProductOrService {
36
36
  }
37
37
  render() {
38
38
  var _a, _b;
39
- return (h("div", { key: 'acd3ad222e15e0ddc7f3410410958bb73195529c' }, h("div", { key: '12cc20448141d7816bcfdb5171b9b979c0255267', class: "row gy-3" }, h("div", { key: '695ad169190e1ec763942ad285e47a390fbd1b41', class: "col-12" }, h("h2", { key: '44a0fb6aa27be23832c3f39f33506b57ccc7e468', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'd41bf77ff6a7d8e4fa5ef5cda4fa447dd8a8b07f', class: "col-12" }, h("form-control-text", { key: 'd81cfb94f63dc0b6711c180b7bdc86a64f375691', 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: '96405e6808644dbd4fadcad86f11a90b2b111812', class: "col-12" }, h("form-control-text", { key: '5de5c4df7331be1fc94e7c44ebf2c72bb127aca3', 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: '60366bef77d86a348cf73c7d97be53769d2473df', class: "col-12" }, h("form-control-file-v2", { key: '8ece21a45a7675cd155c469e3aa327e4a3b3106b', label: "Service Documentation", name: "service_documentation", onChange: this.handleFileSelection, errorText: this.errors.service_documentation })))));
39
+ return (h("div", { key: 'a40a8a641d5b0e56fea415895b33523f5981fdc2' }, h("div", { key: '82da6b545c20d56b4b0e02c214448a15edf27440', class: "row gy-3" }, h("div", { key: '00cc29411e76d553c1b3fcda0ad2b02a08401b15', class: "col-12" }, h("h2", { key: 'a313f27a3d7c23c428ef14a7269c051c9053305c', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '07efb7c5c5ce83e098838b5ccd48ca8ca93e189c', class: "col-12" }, h("form-control-text", { key: '7c94f75e3555730ac5aa65b1baed84d7530ffee1', 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: 'd679f7b7c59ac645128f99c9fed0a49bca3907bb', class: "col-12" }, h("form-control-text", { key: 'e8b13489274045c77db77c000c11a242b6aae255', 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: 'b24282195e2818158b5b6ef3c4c0581409680f4a', class: "col-12" }, h("form-control-file-v2", { key: '3e401f3149b104bb4d346bcbe6906c206abe8067', label: "Service Documentation", name: "service_documentation", onChange: this.handleFileSelection, errorText: this.errors.service_documentation })))));
40
40
  }
41
41
  static get is() { return "justifi-product-or-service"; }
42
42
  static get properties() {
@@ -36,7 +36,7 @@ export class RefundPolicy {
36
36
  }
37
37
  render() {
38
38
  var _a, _b;
39
- return (h("div", { key: 'b91af9cbcac0c390b5c4d5c445976d4a8833907d' }, h("div", { key: '0d94fd8318404dd97dcb035d48a7fcb99b5ae87f', class: "row gy-3" }, h("div", { key: 'd97378e24b0c8a5f71a626d116df0862829f1a92', class: "col-12" }, h("h2", { key: '4e1ab56c967d24865c7609691245dae472a46976', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'a99ee9a75fb1c5b411aa2705ba9a0f14885e5358', class: "col-12" }, h("form-control-textarea", { key: '6d23c869664ecbbd369ca88e85f7a1033cf5ffe4', 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: '50b3def529f23f3cae755b762b43caa1f5329c21', class: "col-12" }, h("form-control-textarea", { key: 'e3bce3c6aa80af945884bbec847358a8e259a3ff', 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: '771b3e3e163d31ceab83904e4926f61a768ef460', class: "col-12" }, h("form-control-file-v2", { key: '872e482d0f99c2212c9ca9fe0ac56f5e8c17aa88', label: "Upload Refund Policy", name: "refund_policy", onChange: this.handleFileSelection })), h("div", { key: '857353db7a0aee5fd54215b1c5f00ddffdd5dd77', class: "col-12" }, h("form-control-file-v2", { key: 'fa7a204cddb61ed8e30b0c3d1c6227bc2ab9cdfa', label: "Upload Receipt", name: "receipt", onChange: this.handleFileSelection })))));
39
+ return (h("div", { key: 'af53582fbda822cf130de3cb9ebec8ca228285ef' }, h("div", { key: '6f2bd60cc9e03a154d876f136a7776e8b168ce2d', class: "row gy-3" }, h("div", { key: '65cf646cf92f1ae0700c873f759061adb884cc81', class: "col-12" }, h("h2", { key: '74aed04947fa6868c151a31d144dbf922acf401c', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '57632d99565dc3e007b4c4421fa26c1faf12f49b', class: "col-12" }, h("form-control-textarea", { key: '1531c99a09c71d319fc800c9108ad0ddec99704d', 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: 'ae973eeecdf7fdafa25f00977898ba453a6180b5', class: "col-12" }, h("form-control-textarea", { key: '1b6d4d9a412b0300dcbd5bf7c52af6b43a070bc8', 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: 'e37a85c57c72af2e7a055672caf654637d53254d', class: "col-12" }, h("form-control-file-v2", { key: 'a953f49dd1c77960deac827ad0e61e65e57ca701', label: "Upload Refund Policy", name: "refund_policy", onChange: this.handleFileSelection })), h("div", { key: 'e1d5e0afaf9dff41d58c280e88182fcef4880428', class: "col-12" }, h("form-control-file-v2", { key: '57a94d969de6a38e4d46ab06c6585401dddde1db', label: "Upload Receipt", name: "receipt", onChange: this.handleFileSelection })))));
40
40
  }
41
41
  static get is() { return "justifi-refund-policy"; }
42
42
  static get properties() {
@@ -36,7 +36,7 @@ export class ShippingDetails {
36
36
  }
37
37
  render() {
38
38
  var _a, _b, _c, _d;
39
- return (h("div", { key: '3df223d0827966f125304a5783c341ff32dc9442' }, h("div", { key: 'c4aa2d5c1be5e452284c5463a299b92c2799949a', class: "row gy-3" }, h("div", { key: '049124ca86a2ae70addb34ce9d79138f052484eb', class: "col-12" }, h("h2", { key: '426b01f9b7cdaad3b3c65ec79be2a31c2db5ec7f', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'd58211d0757a3220b880ca8dd1a2289d25f92733', class: "col-12" }, h("form-control-text", { key: '2273a6905d9e79c5c4c4cb9fcbe629b8546b1cb0', 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: '16685f1e217a9ed7cdea9858989a957855ca9df1', class: "col-12" }, h("form-control-text", { key: '74f2b588ab811279fc5bea972b4d045276dcfb19', 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: 'd52ee413a5757a9896e1e24ec7a4d1658d2a51b3', class: "col-12" }, h("form-control-date", { key: '077e1d46323a9546918ebe6b2f096b4a9b494926', 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: 'a02a13a8312dd4233f13363f192f5bf5e2009839', class: "col-12" }, h("form-control-textarea", { key: 'bd97071529be47d78ced13f78d77f051a36145c0', 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: 'e83dd41ef2cd943add49784940326cf3b355cd3f', class: "col-12" }, h("form-control-file-v2", { key: 'd5ac44164b655c497a6247b7277527bb20f7ac04', label: "Shipping Documentation", name: "shipping_documentation", onChange: this.handleFileSelection })))));
39
+ return (h("div", { key: '09f0b2ae6a8a8f7827646fc6173c173cd03227d9' }, h("div", { key: '3779ab211fe12611db274578aa00ebf168900afb', class: "row gy-3" }, h("div", { key: 'eedd3e14096dbb605ad6fd0e662115cfbd2091da', class: "col-12" }, h("h2", { key: '41ab8ac8ad5cdc2ad46e217645b58ca7f6ff243b', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'eacbb056741e38a64e1acdc51d8a6766a9ef25ef', class: "col-12" }, h("form-control-text", { key: 'ef39645f1557dc422ee475ba9cc6f8a0ef5109ee', 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: '338495781e1d1b412b6eb88a88c231c89dddb06a', class: "col-12" }, h("form-control-text", { key: '3f208113c4db507fc14f05f2312e4056ae3bfa50', 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: 'b7de777a2f4b413d181c54ef21b33f011b6242d1', class: "col-12" }, h("form-control-date", { key: '0bea6e634fd79db518c1377feaf0c19ba7218380', 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: '6984cbb1e60a83ea4d15a3116634c573f8d5be8f', class: "col-12" }, h("form-control-textarea", { key: '89747dfc9ddc287c91ead9428dd1b5a8a86721eb', 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: 'aacc2e70654f07afeed7687464a90612da693030', class: "col-12" }, h("form-control-file-v2", { key: 'be7c004b4f56a81273f202c32e5471461e67a197', label: "Shipping Documentation", name: "shipping_documentation", onChange: this.handleFileSelection })))));
40
40
  }
41
41
  static get is() { return "justifi-shipping-details"; }
42
42
  static get properties() {
@@ -69,7 +69,7 @@ export class GrossPaymentChartCore {
69
69
  }
70
70
  }
71
71
  render() {
72
- return (h(Host, { key: '3bab823df105738571c6feeba11700a70593fdc6' }, this.loading && h(Spinner, { key: '3ed4ffbcd589e4655bc23336c42b3934157dd7a4' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
72
+ return (h(Host, { key: '14360f11f9b118e347ee73739f03c3631fbef1a4' }, this.loading && h(Spinner, { key: 'a5190472afdbf507c6c36c8aaae1473bffc80dcf' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
73
73
  }
74
74
  static get is() { return "gross-payment-chart-core"; }
75
75
  static get properties() {
@@ -55,7 +55,7 @@ export class SeasonInterruptionInsurance {
55
55
  });
56
56
  }
57
57
  render() {
58
- return (h("justifi-season-interruption-insurance-core", { key: '737ad53975405a658c2fc46533eb02351833b280', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
58
+ return (h("justifi-season-interruption-insurance-core", { key: '50413e347b808cbf350573602701d5e6e7d4def5', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
59
59
  }
60
60
  static get is() { return "justifi-season-interruption-insurance"; }
61
61
  static get encapsulation() { return "shadow"; }
@@ -39,14 +39,14 @@ export class PaymentDetailsCore {
39
39
  });
40
40
  }
41
41
  render() {
42
- return (h(StyledHost, { key: '714fd2a97e2879dddbaacda6d5289b3985aaeea5' }, this.loading && h(PaymentDetailsLoading, { key: '7f6d24755cea9f3b86cdcaecec470513532f37cc' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
43
- this.payment && (h("justifi-details", { key: '9f3403ce5744053a04c1a6cde0c58a41f15547ac', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '310f3e1087843e2c10aa49b9fb7e6be734168f1d', slot: "head-info", badge: MapPaymentStatusToBadge(this.payment.status), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '5ed10250e7e04961e2fc57a017eea58e26429378', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'cd304828a7e38c8ad9fceb15b56391489a9eb938', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '5b70635442c6c76d978d40095d81cda6f7b00cfc', title: "ID", value: this.payment.id })), h("div", { key: '54558d6e59548048a548a83578d1a94694515bde', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '0780b044b54ba041e9632f94acdfe71411454297', sectionTitle: "Details" }), h("div", { key: 'e1426b161aad05e561414d6a4c77cb28d3e7c157', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '8a390a81e9b91d6582ee01a93743a8cb4fba57f4', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '8bffacbde88bd44cbdc213b7f24b93087e533670', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '78f5773c98118c39dab6df14fd9beafd7f06df1d', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'c620ecf5b7dd9f9896a4a454cc8b507b4c344f45', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '4b7529e27aecf2560d305dc6f906b4ae1f26c2d2', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '1807f3f518b3ddf1296f8c2802b8e66a7a7e8401', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '79183af038116750f07bd65bc843a879a6275961', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'a2a6b8a345068a57e8e647b5f5efa9da5c870697', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'e3c7479795cd85029e1f90b4f7e0e5cfd0cf9099', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
44
- h(DetailSectionTitle, { key: '7d49ed552d5b2dc87e6596e025e9c877b838b25a', sectionTitle: "Payment Method" }),
45
- h("div", { key: '9a435008ea2746b11281bd237e9a38f471e9a11d', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '9b22fcb2e38f690dfb963b783d2139813a920ddc', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '27ed56e879c9598226373f9086f79cd0cc72a9fe', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '9868b544973455fad8af21f4de2936a6d61b21a7', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '80716a8fe5b7bd933b930b35674dfe111948ef62', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: 'f0c0e2107b079bc6c898c91e5bd6a111b327c419', title: "Cardholder", value: this.payment.payment_method.payersName }))
42
+ return (h(StyledHost, { key: 'b35aadc771c0b521cf558f0ab2c010ac167999f1' }, this.loading && h(PaymentDetailsLoading, { key: '9a45f73df71ecf776308acb3e0715e114166548d' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
43
+ this.payment && (h("justifi-details", { key: '0e754696b095b549dafd1789c7a1a462738f9856', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'ef94f025849fefde53daecdb2a3f6475993e2634', slot: "head-info", badge: MapPaymentStatusToBadge(this.payment.status), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '566fd465a660a2fd31e3af18b42b1ad2f687d328', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'e85a469aba3c07b93ac768189b108b3940e6bd1f', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '74c237c68cba09dd5568fa82883c69dc10e45897', title: "ID", value: this.payment.id })), h("div", { key: '69c6daf0c74b2fb003db1a7e785258f1146de701', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '4f87cd9f2a0c8777132d7b8726bdcd09cf7be433', sectionTitle: "Details" }), h("div", { key: '134845f91eef1b6dcd335ac96e59f19684ebd491', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '65c8b3540b5a0c5a4efe8f3a7aac5251def031d3', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: 'e25d3093be7ab1b564a4af92d7face28d49d213b', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '7d05d55d2f04facff86bdafc51e6c17e4cab80de', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '28a436948de1aa09f09891f597c40293b86d8870', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '670f5c3b79325d473cc0765c87769db9ec65434c', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: 'aa2fbe3ddee9341a0c9aadcf4bb484014a672bc6', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '214b5ded4fbf4e6310a2da856053a4f353b86363', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'ffdf2b03994b584f7be6dd1e53ab8078f85c1b7e', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '0f6bd6fa810b152c02b8ed59540755ddbd74ffba', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
44
+ h(DetailSectionTitle, { key: 'd464f0b7d46d433105e3ca30130c5fe563816282', sectionTitle: "Payment Method" }),
45
+ h("div", { key: '60485f42c8f2490d7119c5b6ecd7febca1aa77ef', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '67cd2ef5f5270294ebf607628c9597210fe65be4', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'c1000dc756f1b9dcfef34cf82b274b66324c8300', title: "Payment Type", value: "Card" }), h(DetailItem, { key: 'dc5ce24f30293851230a721fb5e0cb17841a0c26', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '4d5046cc3f23ad11ca97698ced951baa9520ab09', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '97ac51fcd928d4d4fdf79dddb5577b048e0d81e9', title: "Cardholder", value: this.payment.payment_method.payersName }))
46
46
  ], this.payment.payment_method.bank_account && [
47
- h(DetailSectionTitle, { key: '1f2d289d3c79b1c496f10ded116ab193d9c4ade0', sectionTitle: "Payment Method" }),
48
- h("div", { key: '9b898ec3ccf34e225d465b46a0a645d46f696c91', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '71acc9fe7bca4f922075a33968229919b9660ec0', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'cd62b8e0e55a9888f1d06a107173516af1f65e9e', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '22e2dcefcb76363ca9254392e825a4612c65ac1c', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'a6e633cb3e5b82ed9c887b16a346dac257db22dc', title: "Account Owner", value: this.payment.payment_method.payersName }))
49
- ], h(DetailSectionTitle, { key: '10d02e4d3e09b50644f7a5c1bb0beca7f0747c0e', sectionTitle: 'Metadata' }), h("div", { key: '119445b2570c4b736b4c9bb0daf88a3047b3ee97', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '794df4cfc8808ea62e6b97127fee7349698e264e', metadata: this.payment.metadata })))))));
47
+ h(DetailSectionTitle, { key: '35a79ce77f5169316113a4db24a2ef8ce19e95f9', sectionTitle: "Payment Method" }),
48
+ h("div", { key: '32ad717125ad1de2ef98c652bb09f82673cf1cb9', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '18e8fafc324e72bc252939b5143c596dd43ec698', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '09ff2cfc2b6925b972c63061b19f14db20cfba3e', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '80ecb22f35368ebd46b44bc05e28083feefb38e5', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '3f813a886d42fc43523f3f936c68f1733105d62c', title: "Account Owner", value: this.payment.payment_method.payersName }))
49
+ ], h(DetailSectionTitle, { key: '1f73daaaeeab874b7b12d12eb1dd2f82b63b8bba', sectionTitle: 'Metadata' }), h("div", { key: 'a3ca93b3151773f4a98af2f703b62dba3cbb2957', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'a40ac95709ef184daa3be5034c8b96bba12acbd4', metadata: this.payment.metadata })))))));
50
50
  }
51
51
  static get is() { return "payment-details-core"; }
52
52
  static get properties() {
@@ -1,7 +1,7 @@
1
1
  import { Payment } from "../../api";
2
2
  import { ComponentErrorSeverity } from "../../api/ComponentError";
3
3
  import { getErrorCode, getErrorMessage } from "../../api/services/utils";
4
- export const makeGetPayments = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
4
+ export const makeGetPayments = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError, final }) => {
5
5
  var _a, _b;
6
6
  try {
7
7
  const response = await service.fetchPayments(id, authToken, params, apiOrigin);
@@ -28,4 +28,7 @@ export const makeGetPayments = ({ id, authToken, service, apiOrigin }) => async
28
28
  severity: ComponentErrorSeverity.ERROR,
29
29
  });
30
30
  }
31
+ finally {
32
+ return final();
33
+ }
31
34
  };