@justifi/webcomponents 5.2.0 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (590) hide show
  1. package/dist/cjs/{Api-b0e4be29.js → Api-089e7501.js} +1 -0
  2. package/dist/cjs/{Checkout-2ff4f9c8.js → Checkout-0f1c8abe.js} +1 -1
  3. package/dist/cjs/Document-0b828345.js +58 -0
  4. package/dist/cjs/{Payment-84817e2d.js → Payment-c47ed1e1.js} +1 -1
  5. package/dist/cjs/{SubAccount-f236913b.js → SubAccount-509ebf93.js} +1 -1
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  7. package/dist/cjs/{badge-fbf58cb9.js → badge-ccfe03bf.js} +1 -1
  8. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +130 -0
  9. package/dist/cjs/bank-account-form_9.cjs.entry.js +18 -14
  10. package/dist/cjs/billing-form_3.cjs.entry.js +8 -7
  11. package/dist/cjs/{business-additional-questions-schema-caa23e95.js → business-additional-questions-schema-2f66f025.js} +1 -1
  12. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  13. package/dist/cjs/{business-identity-schema-0c537067.js → business-identity-schema-be495474.js} +1 -1
  14. package/dist/cjs/{business.service-ffb6f478.js → business.service-33d7c7f2.js} +8 -1
  15. package/dist/cjs/{button-e7796b07.js → button-8b634147.js} +1 -1
  16. package/dist/cjs/{check-pkg-version-dee8dbb7.js → check-pkg-version-526a9ce5.js} +2 -2
  17. package/dist/cjs/{checkout.service-e9c05c15.js → checkout.service-d9047ddb.js} +6 -4
  18. package/dist/cjs/checkouts-list-core.cjs.entry.js +12 -10
  19. package/dist/cjs/{checkouts-table-0f19c1e6.js → checkouts-table-efa1cbab.js} +3 -3
  20. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
  21. package/dist/cjs/{dispute.service-9272a2a6.js → dispute.service-739631c7.js} +6 -4
  22. package/dist/cjs/{event-types-aa1a9be1.js → event-types-34b103b4.js} +2 -2
  23. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  24. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  25. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  26. package/dist/cjs/{form-control-error-text-c1f49f35.js → form-control-error-text-46a7f2dd.js} +1 -1
  27. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
  28. package/dist/cjs/{form-control-help-text-e6cc71a7.js → form-control-help-text-98c882e3.js} +1 -1
  29. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  30. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
  31. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  32. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  33. package/dist/cjs/{get-payout-csv-778db023.js → get-payout-csv-bdaff21b.js} +6 -5
  34. package/dist/cjs/{get-subaccounts-b087fa39.js → get-subaccounts-2db9fc01.js} +6 -5
  35. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  36. package/dist/cjs/{header-1-96b97cab.js → header-1-4c21f7ca.js} +1 -1
  37. package/dist/cjs/{header-3-ce77b96b.js → header-3-130206cc.js} +1 -1
  38. package/dist/cjs/{insurance-state-8959c7c7.js → insurance-state-21fde44f.js} +1 -1
  39. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +833 -0
  40. package/dist/cjs/{justifi-additional-questions-form-step_10.cjs.entry.js → justifi-additional-questions-form-step_9.cjs.entry.js} +30 -227
  41. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  42. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  43. package/dist/cjs/justifi-business-form.cjs.entry.js +16 -14
  44. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  45. package/dist/cjs/justifi-checkout-core.cjs.entry.js +10 -9
  46. package/dist/cjs/justifi-checkout.cjs.entry.js +12 -10
  47. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
  48. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +15 -14
  49. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  50. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  51. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -9
  52. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -14
  53. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  54. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -7
  55. package/dist/cjs/justifi-payment-details.cjs.entry.js +12 -11
  56. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
  57. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
  58. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +25 -4
  59. package/dist/cjs/justifi-payments-list.cjs.entry.js +19 -15
  60. package/dist/cjs/justifi-payout-details.cjs.entry.js +12 -11
  61. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  62. package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -14
  63. package/dist/cjs/justifi-refund-form.cjs.entry.js +8 -6
  64. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
  65. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -9
  66. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  67. package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -12
  68. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +7 -6
  69. package/dist/cjs/loader.cjs.js +1 -1
  70. package/dist/cjs/{package-8b9059cc.js → package-45874555.js} +1 -1
  71. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/{parts-addf2176.js → parts-b2ff8b68.js} +14 -0
  73. package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
  74. package/dist/cjs/{payment-provisioning-actions-fbd30d1b.js → payment-provisioning-actions-382ab48c.js} +33 -2
  75. package/dist/cjs/{payment.service-042c7c99.js → payment.service-87924c1a.js} +6 -4
  76. package/dist/cjs/payments-list-core.cjs.entry.js +22 -19
  77. package/dist/cjs/payments-list-params-state-442d9944.js +22 -0
  78. package/dist/cjs/{payments-status-411c325c.js → payments-status-ec12ee6a.js} +1 -1
  79. package/dist/cjs/{payments-table-16f3f95e.js → payments-table-f3aa174d.js} +3 -3
  80. package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
  81. package/dist/cjs/payouts-list-core.cjs.entry.js +13 -12
  82. package/dist/cjs/{payouts-status-0951e39d.js → payouts-status-9f2e9a3a.js} +1 -1
  83. package/dist/cjs/{payouts-table-bc15179c.js → payouts-table-4efa53fa.js} +3 -3
  84. package/dist/cjs/{schema-validations-0be8068a.js → schema-validations-cc4e6071.js} +5 -92
  85. package/dist/cjs/{skeleton-c4903a53.js → skeleton-0353466d.js} +1 -1
  86. package/dist/cjs/{spinner-aac395e3.js → spinner-4fc60a51.js} +1 -1
  87. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  88. package/dist/cjs/terminals-list-core.cjs.entry.js +12 -10
  89. package/dist/cjs/{terminals-table-3c19847b.js → terminals-table-5e4bce93.js} +2 -2
  90. package/dist/cjs/{utils-a05a8bf6.js → utils-134dda01.js} +1 -1
  91. package/dist/cjs/{utils-5fb95d31.js → utils-337befa9.js} +0 -4
  92. package/dist/cjs/webcomponents.cjs.js +1 -1
  93. package/dist/collection/api/index.js +5 -0
  94. package/dist/collection/api/services/business.service.js +6 -0
  95. package/dist/collection/collection-manifest.json +3 -4
  96. 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
  97. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +85 -0
  98. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +207 -47
  99. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +15 -7
  100. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +63 -0
  101. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  102. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  103. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  104. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  105. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  106. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +32 -2
  107. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -3
  108. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -1
  109. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +8 -4
  110. package/dist/collection/components/business-forms/schemas/schema-validations.js +2 -4
  111. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +25 -1
  112. package/dist/collection/components/checkout/card-form/card-form.js +25 -1
  113. package/dist/collection/components/checkout/checkout-core.js +20 -2
  114. package/dist/collection/components/checkout/checkout.js +22 -2
  115. package/dist/collection/components/checkout/new-payment-method.js +20 -2
  116. package/dist/collection/components/checkout/payment-method-options.js +20 -2
  117. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  118. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  119. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
  120. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  121. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  122. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  123. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  124. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  125. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  126. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  127. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  128. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  129. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  130. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  131. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  132. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  133. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  134. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  135. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  136. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  137. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  138. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  139. package/dist/collection/components/payments-list/get-payments.js +4 -1
  140. package/dist/collection/components/payments-list/payments-list-core.js +10 -11
  141. package/dist/collection/components/payments-list/payments-list-filters.js +113 -3
  142. package/dist/collection/components/payments-list/payments-list-params-state.js +11 -5
  143. package/dist/collection/components/payments-list/payments-list.js +1 -1
  144. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  145. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  146. package/dist/collection/components/payouts-list/payouts-list-filters.js +1 -1
  147. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  148. package/dist/collection/components/refund-form/refund-form.js +1 -1
  149. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  150. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  151. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  152. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +21 -1
  153. package/dist/collection/styles/parts.js +9 -0
  154. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  155. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  156. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  157. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  158. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  159. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  160. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  161. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  162. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  163. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  164. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  165. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  166. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  167. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  168. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  169. package/dist/config.js +1 -0
  170. package/dist/docs.json +680 -469
  171. package/dist/esm/{Api-0cac5b8a.js → Api-97801a4b.js} +1 -0
  172. package/dist/esm/{Checkout-d476bb83.js → Checkout-8325c97a.js} +1 -1
  173. package/dist/esm/Document-1907c0d4.js +55 -0
  174. package/dist/esm/{Payment-47630113.js → Payment-82d2f453.js} +1 -1
  175. package/dist/esm/{SubAccount-f31349a9.js → SubAccount-a73bf971.js} +1 -1
  176. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  177. package/dist/esm/{badge-b034e71b.js → badge-938ba4b1.js} +1 -1
  178. package/dist/esm/bank-account-document-form-inputs_4.entry.js +123 -0
  179. package/dist/esm/bank-account-form_9.entry.js +18 -14
  180. package/dist/esm/billing-form_3.entry.js +8 -7
  181. package/dist/esm/{business-additional-questions-schema-aba9747e.js → business-additional-questions-schema-212a96ed.js} +1 -1
  182. package/dist/esm/business-details-core.entry.js +3 -3
  183. package/dist/esm/{business-identity-schema-8b0f1619.js → business-identity-schema-05bd2a5f.js} +1 -1
  184. package/dist/esm/{business.service-ab2663a3.js → business.service-45c7df3c.js} +8 -2
  185. package/dist/esm/{button-8a02823c.js → button-4b3f3934.js} +1 -1
  186. package/dist/esm/{check-pkg-version-51d2616b.js → check-pkg-version-f91ed31f.js} +2 -2
  187. package/dist/esm/{checkout.service-c275270e.js → checkout.service-36e3355e.js} +6 -4
  188. package/dist/esm/checkouts-list-core.entry.js +12 -10
  189. package/dist/esm/{checkouts-table-115bacc4.js → checkouts-table-1634366d.js} +3 -3
  190. package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
  191. package/dist/esm/{dispute.service-882e35ed.js → dispute.service-9b9b87e5.js} +6 -4
  192. package/dist/esm/{event-types-948c3b14.js → event-types-fd7a05d9.js} +2 -2
  193. package/dist/esm/form-alert_5.entry.js +1 -1
  194. package/dist/esm/form-control-checkbox.entry.js +5 -5
  195. package/dist/esm/form-control-date.entry.js +4 -4
  196. package/dist/esm/{form-control-error-text-066cdad4.js → form-control-error-text-b3d14e92.js} +1 -1
  197. package/dist/esm/form-control-file-v2_2.entry.js +4 -4
  198. package/dist/esm/{form-control-help-text-3b6f5980.js → form-control-help-text-7b07fc37.js} +1 -1
  199. package/dist/esm/form-control-monetary.entry.js +5 -5
  200. package/dist/esm/form-control-number-masked_2.entry.js +4 -4
  201. package/dist/esm/form-control-number.entry.js +5 -5
  202. package/dist/esm/form-control-radio.entry.js +3 -3
  203. package/dist/esm/{get-payout-csv-50aea928.js → get-payout-csv-80210301.js} +6 -5
  204. package/dist/esm/{get-subaccounts-ab3dd32c.js → get-subaccounts-d3eeb85d.js} +6 -5
  205. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  206. package/dist/esm/{header-1-75c284dd.js → header-1-4db0c986.js} +1 -1
  207. package/dist/esm/{header-3-4a327395.js → header-3-fd150ccf.js} +1 -1
  208. package/dist/esm/{insurance-state-b495be64.js → insurance-state-529e2d0d.js} +1 -1
  209. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +824 -0
  210. package/dist/esm/{justifi-additional-questions-form-step_10.entry.js → justifi-additional-questions-form-step_9.entry.js} +32 -228
  211. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  212. package/dist/esm/justifi-business-details.entry.js +6 -6
  213. package/dist/esm/justifi-business-form.entry.js +16 -14
  214. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  215. package/dist/esm/justifi-checkout-core.entry.js +10 -9
  216. package/dist/esm/justifi-checkout.entry.js +12 -10
  217. package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
  218. package/dist/esm/justifi-checkouts-list.entry.js +15 -14
  219. package/dist/esm/justifi-details.entry.js +2 -2
  220. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  221. package/dist/esm/justifi-dispute-management.entry.js +10 -9
  222. package/dist/esm/justifi-dispute-notification_3.entry.js +15 -14
  223. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  224. package/dist/esm/justifi-owner-form_3.entry.js +8 -7
  225. package/dist/esm/justifi-payment-details.entry.js +12 -11
  226. package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
  227. package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
  228. package/dist/esm/justifi-payments-list-filters.entry.js +25 -4
  229. package/dist/esm/justifi-payments-list.entry.js +19 -15
  230. package/dist/esm/justifi-payout-details.entry.js +12 -11
  231. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  232. package/dist/esm/justifi-payouts-list.entry.js +15 -14
  233. package/dist/esm/justifi-refund-form.entry.js +8 -6
  234. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  235. package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -9
  236. package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
  237. package/dist/esm/justifi-terminals-list.entry.js +13 -12
  238. package/dist/esm/justifi-tokenize-payment-method.entry.js +7 -6
  239. package/dist/esm/loader.js +1 -1
  240. package/dist/esm/{package-5eedfd72.js → package-2b7c7bc0.js} +1 -1
  241. package/dist/esm/pagination-menu.entry.js +1 -1
  242. package/dist/esm/{parts-93f379ab.js → parts-ab2bb4b5.js} +9 -1
  243. package/dist/esm/payment-details-core.entry.js +13 -13
  244. package/dist/esm/{payment-provisioning-actions-a262ee82.js → payment-provisioning-actions-726795a0.js} +33 -3
  245. package/dist/esm/{payment.service-92b90855.js → payment.service-c847c1f6.js} +6 -4
  246. package/dist/esm/payments-list-core.entry.js +22 -19
  247. package/dist/esm/payments-list-params-state-d05b24aa.js +16 -0
  248. package/dist/esm/{payments-status-82466054.js → payments-status-abf1724b.js} +1 -1
  249. package/dist/esm/{payments-table-c0bb25b6.js → payments-table-88fbab49.js} +3 -3
  250. package/dist/esm/payout-details-core.entry.js +8 -8
  251. package/dist/esm/payouts-list-core.entry.js +13 -12
  252. package/dist/esm/{payouts-status-b98c8297.js → payouts-status-d9987a8a.js} +1 -1
  253. package/dist/esm/{payouts-table-4382a264.js → payouts-table-055d3633.js} +3 -3
  254. package/dist/esm/{schema-validations-5b0ac96b.js → schema-validations-ccea6a06.js} +4 -84
  255. package/dist/esm/{skeleton-3bcb2b5d.js → skeleton-ee7c3b32.js} +1 -1
  256. package/dist/esm/{spinner-b83f3a87.js → spinner-8ec6669a.js} +1 -1
  257. package/dist/esm/table-filters-menu.entry.js +3 -3
  258. package/dist/esm/terminals-list-core.entry.js +12 -10
  259. package/dist/esm/{terminals-table-8f1c2146.js → terminals-table-2963e65b.js} +2 -2
  260. package/dist/esm/{utils-7fb6331d.js → utils-c2dc83b2.js} +1 -1
  261. package/dist/esm/{utils-b76d791e.js → utils-c37124fc.js} +1 -4
  262. package/dist/esm/webcomponents.js +1 -1
  263. package/dist/module/Checkout.js +1 -1
  264. package/dist/module/Payment.js +1 -1
  265. package/dist/module/SubAccount.js +1 -1
  266. package/dist/module/additional-questions.js +1 -1
  267. package/dist/module/additional-statement.js +2 -2
  268. package/dist/module/badge.js +1 -1
  269. package/dist/module/bank-account-document-form-inputs.d.ts +11 -0
  270. package/dist/module/bank-account-document-form-inputs.js +6 -0
  271. package/dist/module/bank-account-document-inputs.js +58 -0
  272. package/dist/module/bank-account-form-inputs.d.ts +11 -0
  273. package/dist/module/bank-account-form-inputs.js +6 -0
  274. package/dist/module/bank-account-form-inputs2.js +63 -0
  275. package/dist/module/bank-account-form2.js +3 -1
  276. package/dist/module/billing-form-wrapper.js +1 -1
  277. package/dist/module/business-additional-questions-form-step-core.js +2 -2
  278. package/dist/module/business-bank-account-form-step-core.js +239 -64
  279. package/dist/module/business-bank-account-form-step.js +42 -5
  280. package/dist/module/business-core-info-form-step-core.js +2 -2
  281. package/dist/module/business-core-info-form-step.js +1 -1
  282. package/dist/module/business-core-info-schema.js +1 -1
  283. package/dist/module/business-core-info.js +1 -1
  284. package/dist/module/business-documents-on-file.d.ts +11 -0
  285. package/dist/module/business-documents-on-file.js +4 -36
  286. package/dist/module/business-documents-on-file2.js +45 -0
  287. package/dist/module/business-form-options.js +1 -1
  288. package/dist/module/business-identity-schema.js +1 -1
  289. package/dist/module/business-owners-form-step-core.js +1 -1
  290. package/dist/module/business-owners-form-step.js +1 -1
  291. package/dist/module/business-representative-form-inputs.js +1 -1
  292. package/dist/module/business-representative-form-step-core.js +1 -1
  293. package/dist/module/business-representative-form-step.js +1 -1
  294. package/dist/module/business-terms-conditions-form-step.js +9 -11
  295. package/dist/module/business.service.js +7 -1
  296. package/dist/module/cancellation-policy.js +2 -2
  297. package/dist/module/card-form2.js +3 -1
  298. package/dist/module/checkout-core.js +5 -3
  299. package/dist/module/checkout.service.js +2 -0
  300. package/dist/module/checkouts-list-core2.js +6 -4
  301. package/dist/module/config.js +1 -0
  302. package/dist/module/custom-popper2.js +2 -2
  303. package/dist/module/customer-details.js +2 -2
  304. package/dist/module/dispute-management-core.js +1 -1
  305. package/dist/module/dispute-notification.js +2 -2
  306. package/dist/module/dispute-response-actions.js +2 -1
  307. package/dist/module/dispute-response-core.js +1 -1
  308. package/dist/module/dispute-response.js +1 -1
  309. package/dist/module/duplicate-charge.js +2 -2
  310. package/dist/module/electronic-evidence.js +2 -2
  311. package/dist/module/event-types.js +22 -61
  312. package/dist/module/event-types2.js +61 -22
  313. package/dist/module/form-alert2.js +1 -1
  314. package/dist/module/form-control-checkbox2.js +3 -3
  315. package/dist/module/form-control-date2.js +3 -3
  316. package/dist/module/form-control-error-text.js +1 -1
  317. package/dist/module/form-control-file-v22.js +1 -1
  318. package/dist/module/form-control-file2.js +3 -3
  319. package/dist/module/form-control-monetary2.js +3 -3
  320. package/dist/module/form-control-number-masked2.js +3 -3
  321. package/dist/module/form-control-number.js +3 -3
  322. package/dist/module/form-control-radio2.js +3 -3
  323. package/dist/module/form-control-select2.js +3 -3
  324. package/dist/module/form-control-text2.js +3 -3
  325. package/dist/module/form-control-textarea2.js +3 -3
  326. package/dist/module/form-control-tooltip2.js +1 -1
  327. package/dist/module/get-payout-csv.js +2 -1
  328. package/dist/module/get-subaccounts.js +2 -1
  329. package/dist/module/gross-payment-chart-core2.js +2 -2
  330. package/dist/module/hidden-input2.js +2 -2
  331. package/dist/module/iframe-input2.js +4 -4
  332. package/dist/module/justifi-business-form.js +3 -1
  333. package/dist/module/justifi-checkout.js +5 -2
  334. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  335. package/dist/module/justifi-checkouts-list.js +3 -2
  336. package/dist/module/justifi-dispute-management.js +1 -1
  337. package/dist/module/justifi-payment-details.js +2 -1
  338. package/dist/module/justifi-payment-provisioning.js +50 -56
  339. package/dist/module/justifi-payments-list-filters.js +32 -5
  340. package/dist/module/justifi-payments-list.js +7 -3
  341. package/dist/module/justifi-payout-details.js +2 -1
  342. package/dist/module/justifi-payouts-list-filters.js +2 -2
  343. package/dist/module/justifi-payouts-list.js +2 -1
  344. package/dist/module/justifi-refund-form.js +3 -1
  345. package/dist/module/justifi-season-interruption-insurance.js +3 -2
  346. package/dist/module/justifi-terminals-list-filters.js +1 -1
  347. package/dist/module/justifi-terminals-list.js +2 -1
  348. package/dist/module/justifi-tokenize-payment-method.js +4 -1
  349. package/dist/module/legal-address-form-step-core.js +1 -1
  350. package/dist/module/legal-address-form-step.js +1 -1
  351. package/dist/module/new-payment-method.js +4 -2
  352. package/dist/module/owner-details2.js +1 -1
  353. package/dist/module/owner-form-core2.js +2 -2
  354. package/dist/module/owner-form.js +1 -1
  355. package/dist/module/package.js +1 -1
  356. package/dist/module/pagination-menu2.js +1 -1
  357. package/dist/module/parts.js +9 -1
  358. package/dist/module/payment-details-core2.js +8 -8
  359. package/dist/module/payment-method-options.js +4 -2
  360. package/dist/module/payment-provisioning-actions.js +33 -3
  361. package/dist/module/payment-provisioning-core.js +50 -56
  362. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  363. package/dist/module/payment-provisioning-form-steps.js +51 -58
  364. package/dist/module/payment.service.js +2 -0
  365. package/dist/module/payments-list-core2.js +15 -13
  366. package/dist/module/payments-list-params-state.js +11 -5
  367. package/dist/module/payout-details-core2.js +2 -2
  368. package/dist/module/payouts-list-core2.js +6 -5
  369. package/dist/module/product-or-service.js +2 -2
  370. package/dist/module/refund-policy.js +2 -2
  371. package/dist/module/representative-details2.js +1 -1
  372. package/dist/module/save-new-payment-method.js +1 -1
  373. package/dist/module/saved-payment-method.js +2 -2
  374. package/dist/module/schema-validations.js +4 -31
  375. package/dist/module/season-interruption-insurance-core.js +2 -2
  376. package/dist/module/sezzle-payment-method.js +2 -2
  377. package/dist/module/shipping-details.js +2 -2
  378. package/dist/module/spinner.js +1 -1
  379. package/dist/module/table-filters-menu2.js +1 -1
  380. package/dist/module/terminals-list-core2.js +5 -3
  381. package/dist/module/utils2.js +1 -4
  382. package/dist/types/api/index.d.ts +4 -0
  383. package/dist/types/api/services/business.service.d.ts +7 -0
  384. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.d.ts +7 -0
  385. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.d.ts +7 -0
  386. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +18 -6
  387. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -1
  388. package/dist/types/components/business-forms/payment-provisioning/{document-uploads → bank-account}/business-documents-on-file.d.ts +1 -0
  389. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-actions.d.ts +9 -0
  390. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -1
  391. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +1 -0
  392. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +5 -1
  393. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
  394. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +1 -1
  395. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +1 -0
  396. package/dist/types/components/checkout/card-form/card-form.d.ts +1 -0
  397. package/dist/types/components/checkout/checkout-core.d.ts +1 -0
  398. package/dist/types/components/checkout/checkout.d.ts +1 -0
  399. package/dist/types/components/checkout/new-payment-method.d.ts +1 -0
  400. package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
  401. package/dist/types/components/payments-list/get-payments.d.ts +2 -1
  402. package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
  403. package/dist/types/components/payments-list/payments-list-filters.d.ts +5 -0
  404. package/dist/types/components/payments-list/payments-list-params-state.d.ts +4 -3
  405. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -0
  406. package/dist/types/components.d.ts +95 -101
  407. package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +1 -0
  408. package/dist/types/styles/parts.d.ts +8 -0
  409. package/dist/webcomponents/p-00c32bb9.entry.js +1 -0
  410. package/dist/webcomponents/{p-2ce40098.js → p-01d4e35a.js} +1 -1
  411. package/dist/webcomponents/{p-d1f78cb5.js → p-0277c1b2.js} +1 -1
  412. package/dist/webcomponents/p-045d4ebf.entry.js +1 -0
  413. package/dist/webcomponents/p-08d87a52.entry.js +1 -0
  414. package/dist/webcomponents/p-0e68b7d6.entry.js +1 -0
  415. package/dist/webcomponents/{p-7b1fcab5.entry.js → p-0f6ae5ea.entry.js} +1 -1
  416. package/dist/webcomponents/p-131db5d1.entry.js +1 -0
  417. package/dist/webcomponents/p-1603fe4d.js +1 -0
  418. package/dist/webcomponents/p-1820fd87.entry.js +1 -0
  419. package/dist/webcomponents/p-189affee.entry.js +1 -0
  420. package/dist/webcomponents/p-18a7a9e6.entry.js +1 -0
  421. package/dist/webcomponents/p-1e8a1e01.entry.js +1 -0
  422. package/dist/webcomponents/{p-4c4f9e3b.js → p-21431a04.js} +1 -1
  423. package/dist/webcomponents/{p-09fd4ee2.entry.js → p-2916bb62.entry.js} +1 -1
  424. package/dist/webcomponents/p-298e290e.js +1 -0
  425. package/dist/webcomponents/{p-74736657.js → p-2ca5b5e4.js} +1 -1
  426. package/dist/webcomponents/p-2f94d478.entry.js +1 -0
  427. package/dist/webcomponents/p-31cbc05a.entry.js +1 -0
  428. package/dist/webcomponents/p-31e2d12c.entry.js +1 -0
  429. package/dist/webcomponents/{p-2bd8650b.js → p-35b00a0d.js} +1 -1
  430. package/dist/webcomponents/p-3e0f3d87.entry.js +1 -0
  431. package/dist/webcomponents/{p-f65abd18.js → p-3e716e03.js} +1 -1
  432. package/dist/webcomponents/p-40e23b13.js +1 -0
  433. package/dist/webcomponents/p-415deed1.entry.js +1 -0
  434. package/dist/webcomponents/p-44d2c762.entry.js +1 -0
  435. package/dist/webcomponents/{p-c6051278.entry.js → p-47a3003c.entry.js} +1 -1
  436. package/dist/webcomponents/p-4bad3621.js +1 -0
  437. package/dist/webcomponents/{p-c2efe406.js → p-4c820f81.js} +1 -1
  438. package/dist/webcomponents/p-58f5e37b.entry.js +1 -0
  439. package/dist/webcomponents/{p-d86c1f11.entry.js → p-5afefc50.entry.js} +2 -2
  440. package/dist/webcomponents/{p-92d78790.js → p-5b72bab7.js} +1 -1
  441. package/dist/webcomponents/{p-7db2a4d5.entry.js → p-5baec916.entry.js} +1 -1
  442. package/dist/webcomponents/{p-f76a7f9c.entry.js → p-5bf4535a.entry.js} +1 -1
  443. package/dist/webcomponents/p-61f0a2ce.js +1 -0
  444. package/dist/webcomponents/{p-e0f21a47.entry.js → p-62696f63.entry.js} +1 -1
  445. package/dist/webcomponents/p-63caad6e.entry.js +1 -0
  446. package/dist/webcomponents/p-66b6c56b.js +1 -0
  447. package/dist/webcomponents/p-6d2c8be2.entry.js +1 -0
  448. package/dist/webcomponents/p-72992c97.entry.js +1 -0
  449. package/dist/webcomponents/p-72ff0d5f.entry.js +1 -0
  450. package/dist/webcomponents/p-74014392.entry.js +1 -0
  451. package/dist/webcomponents/p-7542ebd6.entry.js +1 -0
  452. package/dist/webcomponents/p-778e9dd0.entry.js +1 -0
  453. package/dist/webcomponents/p-7b04f492.entry.js +1 -0
  454. package/dist/webcomponents/p-7bcec768.entry.js +1 -0
  455. package/dist/webcomponents/{p-5d0763a5.js → p-7c31ec70.js} +1 -1
  456. package/dist/webcomponents/p-85b5eeb6.entry.js +1 -0
  457. package/dist/webcomponents/p-8815bf82.entry.js +1 -0
  458. package/dist/webcomponents/{p-44604a45.js → p-8f25f016.js} +1 -1
  459. package/dist/webcomponents/{p-411382f3.js → p-938993c7.js} +1 -1
  460. package/dist/webcomponents/{p-d6e51c2f.js → p-94eba309.js} +1 -1
  461. package/dist/webcomponents/p-9540d2f2.js +1 -0
  462. package/dist/webcomponents/p-960a8ec2.js +1 -0
  463. package/dist/webcomponents/{p-83aa33f0.js → p-9894484a.js} +1 -1
  464. package/dist/webcomponents/p-98dad117.entry.js +1 -0
  465. package/dist/webcomponents/{p-f5a7a7d1.entry.js → p-991df3a1.entry.js} +1 -1
  466. package/dist/webcomponents/p-9ad6e792.entry.js +1 -0
  467. package/dist/webcomponents/p-a2076a0e.js +1 -0
  468. package/dist/webcomponents/p-aa02cf71.js +1 -0
  469. package/dist/webcomponents/p-ab1504b6.entry.js +1 -0
  470. package/dist/webcomponents/p-ab254da1.entry.js +1 -0
  471. package/dist/webcomponents/p-af66f580.entry.js +1 -0
  472. package/dist/webcomponents/p-b15ad5df.js +1 -0
  473. package/dist/webcomponents/p-b2209632.entry.js +1 -0
  474. package/dist/webcomponents/p-b6e90400.entry.js +1 -0
  475. package/dist/webcomponents/{p-2b081961.entry.js → p-bada4783.entry.js} +1 -1
  476. package/dist/webcomponents/{p-eb644cb7.js → p-c5c03d88.js} +1 -1
  477. package/dist/webcomponents/p-ca361ef6.entry.js +1 -0
  478. package/dist/webcomponents/p-ccd91d8a.entry.js +1 -0
  479. package/dist/webcomponents/p-d07c45e6.entry.js +1 -0
  480. package/dist/webcomponents/p-d0bde1cb.js +1 -0
  481. package/dist/webcomponents/p-d8c04275.js +1 -0
  482. package/dist/webcomponents/{p-9069fab5.js → p-d91c46dc.js} +1 -1
  483. package/dist/webcomponents/{p-541b7c36.entry.js → p-db37b175.entry.js} +1 -1
  484. package/dist/webcomponents/p-dd867d1f.js +1 -0
  485. package/dist/webcomponents/p-ddcd2ff7.entry.js +1 -0
  486. package/dist/webcomponents/p-de13f23c.js +1 -0
  487. package/dist/webcomponents/p-dec18cc4.js +1 -0
  488. package/dist/webcomponents/{p-39177d5a.js → p-e63fdbca.js} +1 -1
  489. package/dist/webcomponents/{p-730e8425.js → p-e8c3c23f.js} +1 -1
  490. package/dist/webcomponents/p-eae512f0.entry.js +1 -0
  491. package/dist/webcomponents/p-f0c0cbc8.entry.js +1 -0
  492. package/dist/webcomponents/{p-24a9c773.js → p-f19f9f61.js} +1 -1
  493. package/dist/webcomponents/p-f28ddbe8.entry.js +1 -0
  494. package/dist/webcomponents/p-f2f2e20e.js +1 -0
  495. package/dist/webcomponents/p-f694e1c8.js +1 -0
  496. package/dist/webcomponents/p-fa2b405c.entry.js +1 -0
  497. package/dist/webcomponents/{p-bf07d5d0.entry.js → p-facada09.entry.js} +1 -1
  498. package/dist/webcomponents/p-fdbcd486.js +1 -0
  499. package/dist/webcomponents/webcomponents.esm.js +1 -1
  500. package/package.json +1 -1
  501. package/dist/cjs/form-control-file.cjs.entry.js +0 -67
  502. package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
  503. package/dist/cjs/justifi-additional-questions-form-step-core_9.cjs.entry.js +0 -800
  504. package/dist/cjs/payments-list-params-state-0ff968a7.js +0 -14
  505. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +0 -338
  506. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +0 -40
  507. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +0 -52
  508. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +0 -8
  509. package/dist/collection/components/business-forms/schemas/business-document-upload-schema.js +0 -23
  510. package/dist/esm/form-control-file.entry.js +0 -63
  511. package/dist/esm/form-control-select_3.entry.js +0 -139
  512. package/dist/esm/justifi-additional-questions-form-step-core_9.entry.js +0 -788
  513. package/dist/esm/payments-list-params-state-b3dab8bc.js +0 -10
  514. package/dist/module/business-document-upload-form-step.js +0 -272
  515. package/dist/module/business-document-upload-input-group.js +0 -128
  516. package/dist/module/business-terms-conditions-text.js +0 -28
  517. package/dist/module/justifi-business-document-upload-form-step.d.ts +0 -11
  518. package/dist/module/justifi-business-document-upload-form-step.js +0 -6
  519. package/dist/module/justifi-business-document-upload-input-group.d.ts +0 -11
  520. package/dist/module/justifi-business-document-upload-input-group.js +0 -6
  521. package/dist/module/justifi-business-documents-on-file.d.ts +0 -11
  522. package/dist/module/justifi-business-documents-on-file.js +0 -6
  523. package/dist/module/justifi-business-terms-conditions-text.d.ts +0 -11
  524. package/dist/module/justifi-business-terms-conditions-text.js +0 -6
  525. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +0 -42
  526. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.d.ts +0 -21
  527. package/dist/types/components/business-forms/payment-provisioning/document-uploads/input-configurations.d.ts +0 -45
  528. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.d.ts +0 -3
  529. package/dist/types/components/business-forms/schemas/business-document-upload-schema.d.ts +0 -17
  530. package/dist/webcomponents/p-04ce1f82.js +0 -1
  531. package/dist/webcomponents/p-0544f4a4.entry.js +0 -1
  532. package/dist/webcomponents/p-060ff1a1.js +0 -1
  533. package/dist/webcomponents/p-0658b707.entry.js +0 -1
  534. package/dist/webcomponents/p-0d7e7957.js +0 -1
  535. package/dist/webcomponents/p-10cface4.entry.js +0 -1
  536. package/dist/webcomponents/p-10f9ff7b.entry.js +0 -1
  537. package/dist/webcomponents/p-12233a57.entry.js +0 -1
  538. package/dist/webcomponents/p-135e24c0.js +0 -1
  539. package/dist/webcomponents/p-1a27f22e.js +0 -1
  540. package/dist/webcomponents/p-1e2526c8.entry.js +0 -1
  541. package/dist/webcomponents/p-270033ba.entry.js +0 -1
  542. package/dist/webcomponents/p-2a17a29c.entry.js +0 -1
  543. package/dist/webcomponents/p-2c7441ea.entry.js +0 -1
  544. package/dist/webcomponents/p-2d27d054.entry.js +0 -1
  545. package/dist/webcomponents/p-2d801915.js +0 -1
  546. package/dist/webcomponents/p-332bd5ab.entry.js +0 -1
  547. package/dist/webcomponents/p-351c7fa3.entry.js +0 -1
  548. package/dist/webcomponents/p-3f209fcc.entry.js +0 -1
  549. package/dist/webcomponents/p-427881b1.entry.js +0 -1
  550. package/dist/webcomponents/p-46769ec3.entry.js +0 -1
  551. package/dist/webcomponents/p-47cd431c.js +0 -1
  552. package/dist/webcomponents/p-4acfed0d.entry.js +0 -1
  553. package/dist/webcomponents/p-4bcfdb99.entry.js +0 -1
  554. package/dist/webcomponents/p-4e122ace.js +0 -1
  555. package/dist/webcomponents/p-5d177a30.js +0 -1
  556. package/dist/webcomponents/p-64a1ae2c.entry.js +0 -1
  557. package/dist/webcomponents/p-67aef066.entry.js +0 -1
  558. package/dist/webcomponents/p-6ad11a9f.entry.js +0 -1
  559. package/dist/webcomponents/p-6bc01617.js +0 -1
  560. package/dist/webcomponents/p-6e8be579.entry.js +0 -1
  561. package/dist/webcomponents/p-72a90154.entry.js +0 -1
  562. package/dist/webcomponents/p-73323a41.entry.js +0 -1
  563. package/dist/webcomponents/p-73619f0a.js +0 -1
  564. package/dist/webcomponents/p-74d6e182.entry.js +0 -1
  565. package/dist/webcomponents/p-7aff48a1.entry.js +0 -1
  566. package/dist/webcomponents/p-7bddbee4.js +0 -1
  567. package/dist/webcomponents/p-87ce7b69.js +0 -1
  568. package/dist/webcomponents/p-8d61499c.entry.js +0 -1
  569. package/dist/webcomponents/p-948b7710.entry.js +0 -1
  570. package/dist/webcomponents/p-96bc127e.entry.js +0 -1
  571. package/dist/webcomponents/p-98b027b7.entry.js +0 -1
  572. package/dist/webcomponents/p-a3df6c3e.entry.js +0 -1
  573. package/dist/webcomponents/p-a5008b32.entry.js +0 -1
  574. package/dist/webcomponents/p-a59636ed.js +0 -1
  575. package/dist/webcomponents/p-a7b04e24.js +0 -1
  576. package/dist/webcomponents/p-ac2588af.entry.js +0 -1
  577. package/dist/webcomponents/p-b78da082.entry.js +0 -1
  578. package/dist/webcomponents/p-b86e804e.entry.js +0 -1
  579. package/dist/webcomponents/p-ba202e33.js +0 -1
  580. package/dist/webcomponents/p-bb842885.entry.js +0 -1
  581. package/dist/webcomponents/p-c358b253.entry.js +0 -1
  582. package/dist/webcomponents/p-ca6214ca.entry.js +0 -1
  583. package/dist/webcomponents/p-cb8f7bf4.js +0 -1
  584. package/dist/webcomponents/p-ce2de434.entry.js +0 -1
  585. package/dist/webcomponents/p-d5dace8b.entry.js +0 -1
  586. package/dist/webcomponents/p-dc6e1e5f.entry.js +0 -1
  587. package/dist/webcomponents/p-f2158e48.entry.js +0 -1
  588. package/dist/webcomponents/p-f3867b82.entry.js +0 -1
  589. package/dist/webcomponents/p-fc3daedd.js +0 -1
  590. 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
  };
@@ -1,5 +1,8 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class BankAccountForm {
3
+ constructor() {
4
+ this.iframeOrigin = undefined;
5
+ }
3
6
  async validate() {
4
7
  const accountNumberIsValid = await this.accountNumberIframeElement.validate();
5
8
  const routingNumberIsValid = await this.routingNumberIframeElement.validate();
@@ -9,9 +12,30 @@ export class BankAccountForm {
9
12
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
10
13
  }
11
14
  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` })))));
15
+ return (h(Host, { key: 'bf5ff6bf71b52c5b7eceb429f057b3ec89c56129' }, h("div", { key: 'db0ea83fa412a1ea77aee8967ea1c9ad07ea387d', class: "container-fluid p-0" }, h("div", { key: 'd354c507e7aeabe77a957165aec900f3e01f27f5', class: "row mb-3" }, h("iframe-input", { key: '1397eb492d2cf5ca40b637360ab52478f9007db1', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/accountNumber` })), h("div", { key: 'a4b98ff832990cac46f49a9ff1ef2de2b33496cd', class: "row" }, h("iframe-input", { key: '0b758f804e3d367c1851fe084d27df1ea620e190', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/routingNumber` })))));
13
16
  }
14
17
  static get is() { return "bank-account-form"; }
18
+ static get properties() {
19
+ return {
20
+ "iframeOrigin": {
21
+ "type": "string",
22
+ "mutable": false,
23
+ "complexType": {
24
+ "original": "string",
25
+ "resolved": "string",
26
+ "references": {}
27
+ },
28
+ "required": false,
29
+ "optional": false,
30
+ "docs": {
31
+ "tags": [],
32
+ "text": ""
33
+ },
34
+ "attribute": "iframe-origin",
35
+ "reflect": false
36
+ }
37
+ };
38
+ }
15
39
  static get methods() {
16
40
  return {
17
41
  "validate": {
@@ -1,5 +1,8 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class CardForm {
3
+ constructor() {
4
+ this.iframeOrigin = undefined;
5
+ }
3
6
  async validate() {
4
7
  const cardNumberIsValid = await this.cardNumberIframeElement.validate();
5
8
  const expirationMonthIsValid = await this.expirationMonthIframeElement.validate();
@@ -11,9 +14,30 @@ export class CardForm {
11
14
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
12
15
  }
13
16
  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` })))));
17
+ return (h(Host, { key: '5dfd2c79d7691744614af89d0919e58db17434b3', class: "container-fluid p-0" }, h("div", { key: '307e9a7acd80285a59369e813bb0172627395cf6', class: "mb-3" }, h("iframe-input", { key: 'e151a15fb885d7babf13c575a5bf93990f77336b', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/cardNumber` })), h("div", { key: 'd965e93602367c92f53cdc768b9a79032e640a5a', class: "row" }, h("div", { key: 'f836cca70a22e9bec446fdc4d62836a7cc16d70c', class: "col-4 align-content-end" }, h("iframe-input", { key: 'd95608d7ce0434021d416120ada984047804b04f', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/expirationMonth` })), h("div", { key: '34ab01991bac786ada446758b4499c3d58cc9402', class: "col-4 align-content-end" }, h("iframe-input", { key: 'c548d2ba46dd5ab969ab703adecc1d697ad5f8e0', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/expirationYear` })), h("div", { key: '4ce98e07ef97c4e13fe92e8677073f6681c2f707', class: "col-4 align-content-end" }, h("iframe-input", { key: '691c95278d984586ed884ca06d96a57ce0a002b8', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/CVV` })))));
15
18
  }
16
19
  static get is() { return "card-form"; }
20
+ static get properties() {
21
+ return {
22
+ "iframeOrigin": {
23
+ "type": "string",
24
+ "mutable": false,
25
+ "complexType": {
26
+ "original": "string",
27
+ "resolved": "string",
28
+ "references": {}
29
+ },
30
+ "required": false,
31
+ "optional": false,
32
+ "docs": {
33
+ "tags": [],
34
+ "text": ""
35
+ },
36
+ "attribute": "iframe-origin",
37
+ "reflect": false
38
+ }
39
+ };
40
+ }
17
41
  static get methods() {
18
42
  return {
19
43
  "validate": {
@@ -31,6 +31,7 @@ export class CheckoutCore {
31
31
  this.getCheckout = undefined;
32
32
  this.complete = undefined;
33
33
  this.checkoutId = undefined;
34
+ this.iframeOrigin = undefined;
34
35
  this.disableCreditCard = undefined;
35
36
  this.disableBankAccount = undefined;
36
37
  this.disableBnpl = undefined;
@@ -116,14 +117,14 @@ export class CheckoutCore {
116
117
  }
117
118
  get paymentType() {
118
119
  var _a, _b, _c, _d, _e;
119
- return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled }))));
120
+ return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled, iframeOrigin: this.iframeOrigin }))));
120
121
  }
121
122
  get summary() {
122
123
  var _a, _b;
123
124
  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
125
  }
125
126
  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"))))));
127
+ return (h(StyledHost, { key: '8f7bb796cec8a51b3a871ecc6f1d040636103503' }, h("div", { key: 'f616c1705dd8d9da854b496d5b028cebb4c88ce5', class: "row gy-3 jfi-checkout-core" }, h("div", { key: 'e374110371f020c9de996f4ca3932f7535e208ee', class: "col-12", part: checkoutSummary }, h(Header2, { key: 'aa9227b3ff49dc43c6a42d1988ec0669b298cef0', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: 'e8e9cddcc4cb11c6d7c020c1dc18d7b5bfe457c3', class: "col-12" }, h("slot", { key: '69e623e8c23aec6f49430b395f86d7134ceeddc9', name: "insurance" })), h("div", { key: 'fea072a50acb658433a36d8234b27c1fd8415dc4', class: "col-12 mt-4" }, h(Header2, { key: '9b0a5c9e5e7db31a6d6cfda87cad18786d638bd9', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '2eeae1935b2b238573be4bf1edfc5d80700d9c80', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: '5c9fd0558a37ff903ec7137beeb3c49d406bcd1d', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: '2538670c227dc2e96c43d878ae09357a72a7e267', class: "col-12" }, h("div", { key: 'b51e39da64972578815a2cf0cf5342d292edaa45', class: "d-flex justify-content-end" }, h(Button, { key: 'abcb099a4ad152a38d05d99781e02292efd246e0', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
127
128
  }
128
129
  static get is() { return "justifi-checkout-core"; }
129
130
  static get encapsulation() { return "shadow"; }
@@ -203,6 +204,23 @@ export class CheckoutCore {
203
204
  "attribute": "checkout-id",
204
205
  "reflect": false
205
206
  },
207
+ "iframeOrigin": {
208
+ "type": "string",
209
+ "mutable": false,
210
+ "complexType": {
211
+ "original": "string",
212
+ "resolved": "string",
213
+ "references": {}
214
+ },
215
+ "required": false,
216
+ "optional": false,
217
+ "docs": {
218
+ "tags": [],
219
+ "text": ""
220
+ },
221
+ "attribute": "iframe-origin",
222
+ "reflect": false
223
+ },
206
224
  "disableCreditCard": {
207
225
  "type": "boolean",
208
226
  "mutable": false,
@@ -4,6 +4,7 @@ import { CheckoutService } from "../../api/services/checkout.service";
4
4
  import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
5
5
  import JustifiAnalytics from "../../api/Analytics";
6
6
  import { checkPkgVersion } from "../../utils/check-pkg-version";
7
+ import { config } from "../../../config";
7
8
  export class Checkout {
8
9
  constructor() {
9
10
  this.authToken = undefined;
@@ -13,6 +14,7 @@ export class Checkout {
13
14
  this.disableBnpl = undefined;
14
15
  this.disablePaymentMethodGroup = undefined;
15
16
  this.hideCardBillingForm = undefined;
17
+ this.iframeOrigin = config.iFrameOrigin;
16
18
  this.getCheckout = undefined;
17
19
  this.complete = undefined;
18
20
  this.errorMessage = '';
@@ -53,11 +55,11 @@ export class Checkout {
53
55
  this.checkoutCoreRef.fillBillingForm(fields);
54
56
  }
55
57
  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 => {
58
+ return (h("justifi-checkout-core", { key: '911e807dc0be670c6bfe59e497cacd5399481981', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, iframeOrigin: this.iframeOrigin, ref: el => {
57
59
  if (el) {
58
60
  this.checkoutCoreRef = el;
59
61
  }
60
- } }, h("div", { key: '649338a229597a0c6a9987975f91e678ca489890', slot: "insurance" }, h("slot", { key: 'ddfb4986d89a9792e7dad6ffad7dd134bedc9e25', name: "insurance" }))));
62
+ } }, h("div", { key: '29bcfd776e4dac5a7686a03488d0f8dad2d01a03', slot: "insurance" }, h("slot", { key: '993b8872e8a40dd5111ccaeb586686a396eab2ff', name: "insurance" }))));
61
63
  }
62
64
  static get is() { return "justifi-checkout"; }
63
65
  static get properties() {
@@ -180,6 +182,24 @@ export class Checkout {
180
182
  },
181
183
  "attribute": "hide-card-billing-form",
182
184
  "reflect": false
185
+ },
186
+ "iframeOrigin": {
187
+ "type": "string",
188
+ "mutable": false,
189
+ "complexType": {
190
+ "original": "string",
191
+ "resolved": "string",
192
+ "references": {}
193
+ },
194
+ "required": false,
195
+ "optional": true,
196
+ "docs": {
197
+ "tags": [],
198
+ "text": ""
199
+ },
200
+ "attribute": "iframe-origin",
201
+ "reflect": false,
202
+ "defaultValue": "config.iFrameOrigin"
183
203
  }
184
204
  };
185
205
  }
@@ -16,6 +16,7 @@ export class NewPaymentMethod {
16
16
  this.paymentMethodGroupId = undefined;
17
17
  this.isSelected = undefined;
18
18
  this.hideCardBillingForm = undefined;
19
+ this.iframeOrigin = undefined;
19
20
  this.saveNewPaymentMethodChecked = false;
20
21
  }
21
22
  handleCheckboxChanged(event) {
@@ -75,11 +76,11 @@ export class NewPaymentMethod {
75
76
  showNewPaymentMethodForm() {
76
77
  var _a;
77
78
  const paymentMethodType = (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id;
78
- return (h("div", { class: "mt-4 pb-4 border-bottom" }, h("hidden-input", null), h("div", { class: "mb-4" }, paymentMethodType === 'card' ? (h("card-form", { ref: (el) => this.paymentMethodFormRef = el })) : (h("bank-account-form", { ref: (el) => this.paymentMethodFormRef = el }))), h("justifi-billing-form-wrapper", { ref: (el) => (this.billingFormWrapperRef = el), hideCardBillingForm: this.hideCardBillingForm, paymentMethodType: paymentMethodType }), h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupId })));
79
+ return (h("div", { class: "mt-4 pb-4" }, h("hidden-input", null), h("div", { class: "mb-4" }, paymentMethodType === 'card' ? (h("card-form", { ref: (el) => this.paymentMethodFormRef = el, iframeOrigin: this.iframeOrigin })) : (h("bank-account-form", { ref: (el) => this.paymentMethodFormRef = el, iframeOrigin: this.iframeOrigin }))), h("justifi-billing-form-wrapper", { ref: (el) => (this.billingFormWrapperRef = el), hideCardBillingForm: this.hideCardBillingForm, paymentMethodType: paymentMethodType }), h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupId })));
79
80
  }
80
81
  render() {
81
82
  var _a, _b;
82
- return (h(Host, { key: 'c0d2a7efd367d357a4c205960f8765e488f7e376', class: "payment-method" }, h("div", { key: '697f5d543ed4690b11f6d8e36bb88eabbc8cc368', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '43bf63f112ef40cca0332b77bf447c5f8b5e0379', 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));
83
+ return (h(Host, { key: '17b922ca3b03d458a0e139be895db31b33c255ed', class: "payment-method" }, h("div", { key: '5d1bb3a05e7fc0516d29ade315f13c2f64d3afaf', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '165fd1b54a6d387be307f05ab67078e0d703f0b1', 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));
83
84
  }
84
85
  static get is() { return "justifi-new-payment-method"; }
85
86
  static get properties() {
@@ -189,6 +190,23 @@ export class NewPaymentMethod {
189
190
  },
190
191
  "attribute": "hide-card-billing-form",
191
192
  "reflect": false
193
+ },
194
+ "iframeOrigin": {
195
+ "type": "string",
196
+ "mutable": false,
197
+ "complexType": {
198
+ "original": "string",
199
+ "resolved": "string",
200
+ "references": {}
201
+ },
202
+ "required": false,
203
+ "optional": false,
204
+ "docs": {
205
+ "tags": [],
206
+ "text": ""
207
+ },
208
+ "attribute": "iframe-origin",
209
+ "reflect": false
192
210
  }
193
211
  };
194
212
  }
@@ -15,6 +15,7 @@ export class PaymentMethodOptions {
15
15
  this.savedPaymentMethods = [];
16
16
  this.paymentAmount = undefined;
17
17
  this.hideCardBillingForm = undefined;
18
+ this.iframeOrigin = undefined;
18
19
  this.selectedPaymentMethodId = undefined;
19
20
  this.paymentMethodOptions = [];
20
21
  }
@@ -58,13 +59,13 @@ export class PaymentMethodOptions {
58
59
  }
59
60
  render() {
60
61
  var _a;
61
- return (h(Host, { key: '22ab195ec840e971c774ad2886ebce979c13394d' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
62
+ return (h(Host, { key: '24e7d418958eb61f9582317e615502e77b4090d0' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
62
63
  const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
63
64
  const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
64
65
  const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
65
66
  const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
66
67
  if (newCard || newBankAccount) {
67
- return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, ref: (el) => {
68
+ return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, iframeOrigin: this.iframeOrigin, ref: (el) => {
68
69
  if (isSelected) {
69
70
  this.selectedPaymentMethodOptionRef = el;
70
71
  }
@@ -295,6 +296,23 @@ export class PaymentMethodOptions {
295
296
  },
296
297
  "attribute": "hide-card-billing-form",
297
298
  "reflect": false
299
+ },
300
+ "iframeOrigin": {
301
+ "type": "string",
302
+ "mutable": false,
303
+ "complexType": {
304
+ "original": "string",
305
+ "resolved": "string",
306
+ "references": {}
307
+ },
308
+ "required": false,
309
+ "optional": false,
310
+ "docs": {
311
+ "tags": [],
312
+ "text": ""
313
+ },
314
+ "attribute": "iframe-origin",
315
+ "reflect": false
298
316
  }
299
317
  };
300
318
  }
@@ -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() {