@justifi/webcomponents 6.0.0-rc.1 → 6.0.0-rc.2

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 (422) hide show
  1. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +2 -2
  2. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  3. package/dist/cjs/card-form.cjs.entry.js +2 -2
  4. package/dist/cjs/{check-pkg-version-D_lazhBQ.js → check-pkg-version-BfmeLSXP.js} +1 -1
  5. package/dist/cjs/{checkout.store-CV_fuGQw.js → checkout.store-Cn3Jj5gi.js} +1 -0
  6. package/dist/cjs/checkouts-list-core.cjs.entry.js +1 -1
  7. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  8. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  9. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  10. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  11. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  12. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
  13. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  14. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  15. package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
  16. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  17. package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
  18. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
  19. package/dist/cjs/justifi-apple-pay.cjs.entry.js +830 -0
  20. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +11 -11
  21. package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
  22. package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
  23. package/dist/cjs/justifi-checkout-summary_6.cjs.entry.js +98 -11
  24. package/dist/cjs/justifi-checkout.cjs.entry.js +3 -3
  25. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
  26. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +3 -3
  27. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  28. package/dist/cjs/justifi-dispute-management.cjs.entry.js +3 -3
  29. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +5 -5
  30. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
  31. package/dist/cjs/justifi-order-terminals.cjs.entry.js +3 -3
  32. package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
  33. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
  34. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +3 -3
  35. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  36. package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
  37. package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
  38. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +3 -3
  39. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  40. package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
  41. package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
  42. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
  43. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
  44. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  45. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -2
  46. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
  47. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  48. package/dist/cjs/justifi-terminals-list.cjs.entry.js +3 -3
  49. package/dist/cjs/loader.cjs.js +1 -1
  50. package/dist/cjs/{package-Cp_7Ls2E.js → package-CuNDvHTB.js} +1 -1
  51. package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
  52. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  53. package/dist/cjs/payments-list-core.cjs.entry.js +1 -1
  54. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  55. package/dist/cjs/payouts-list-core.cjs.entry.js +1 -1
  56. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  57. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +1 -1
  58. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  59. package/dist/cjs/terminals-list-core.cjs.entry.js +1 -1
  60. package/dist/cjs/webcomponents.cjs.js +1 -1
  61. package/dist/collection/api/ApplePay.js +119 -0
  62. package/dist/collection/api/services/apple-pay.service.js +329 -0
  63. package/dist/collection/collection-manifest.json +1 -0
  64. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  65. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  66. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  67. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  68. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  69. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  70. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  71. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  72. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  73. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  74. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  75. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  76. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  77. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  78. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  79. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  80. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  81. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  82. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  83. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  84. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  85. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  86. package/dist/collection/components/modular-checkout/modular-checkout.js +92 -5
  87. package/dist/collection/components/modular-checkout/sub-components/apple-pay-skeleton.js +10 -0
  88. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +554 -0
  89. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  90. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  91. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  92. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  93. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  94. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  95. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  96. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  97. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  98. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  99. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  100. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  101. package/dist/collection/components/payments-list/payments-list.js +1 -1
  102. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  103. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  104. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  105. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  106. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  107. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  108. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  109. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  110. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  111. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  112. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  113. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  114. package/dist/collection/store/checkout.store.js +1 -0
  115. package/dist/collection/ui-components/apple-pay-button.js +146 -0
  116. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  117. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  118. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  119. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  120. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  121. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  122. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  123. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  124. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  125. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  126. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  127. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  128. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  129. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  130. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  131. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  132. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  133. package/dist/docs.json +463 -1
  134. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  135. package/dist/esm/{badge-D_mzXSCQ.js → badge-D4ZXPFjL.js} +1 -1
  136. package/dist/esm/bank-account-document-form-inputs_4.entry.js +5 -5
  137. package/dist/esm/bank-account-form.entry.js +4 -4
  138. package/dist/esm/business-details-core.entry.js +3 -3
  139. package/dist/esm/{button-CeR8qVS3.js → button-C0wLsDP3.js} +1 -1
  140. package/dist/esm/card-form.entry.js +4 -4
  141. package/dist/esm/{check-pkg-version-Bb69ihTN.js → check-pkg-version-BuYkk-jV.js} +1 -1
  142. package/dist/esm/{checkout.store-B60siz2l.js → checkout.store-OAv_iY1u.js} +1 -0
  143. package/dist/esm/checkouts-list-core.entry.js +6 -6
  144. package/dist/esm/{checkouts-table-CFZYoYjn.js → checkouts-table-DjGKtqoc.js} +2 -2
  145. package/dist/esm/custom-popper_2.entry.js +3 -3
  146. package/dist/esm/form-alert_5.entry.js +1 -1
  147. package/dist/esm/form-control-checkbox.entry.js +5 -5
  148. package/dist/esm/form-control-date.entry.js +4 -4
  149. package/dist/esm/{form-control-error-text-D3ZwkOv-.js → form-control-error-text-Bzfs_rxk.js} +1 -1
  150. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  151. package/dist/esm/{form-control-help-text-C39ZW65w.js → form-control-help-text-ueLctOBN.js} +1 -1
  152. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  153. package/dist/esm/form-control-monetary.entry.js +5 -5
  154. package/dist/esm/form-control-number-masked_2.entry.js +4 -4
  155. package/dist/esm/form-control-number.entry.js +5 -5
  156. package/dist/esm/form-control-radio.entry.js +3 -3
  157. package/dist/esm/form-control-select_2.entry.js +6 -6
  158. package/dist/esm/gross-payment-chart-core.entry.js +4 -4
  159. package/dist/esm/{header-1-E-hEi3wF.js → header-1-BMKEv9y6.js} +1 -1
  160. package/dist/esm/{header-3-Dm7M85kz.js → header-3-C3t3m27b.js} +1 -1
  161. package/dist/esm/hidden-input_2.entry.js +7 -7
  162. package/dist/esm/{insurance-state-CB4l8sOv.js → insurance-state-d4hjThzE.js} +1 -1
  163. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +3 -3
  164. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +2 -2
  165. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  166. package/dist/esm/justifi-apple-pay.entry.js +828 -0
  167. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +15 -15
  168. package/dist/esm/justifi-business-details.entry.js +4 -4
  169. package/dist/esm/justifi-business-form.entry.js +6 -6
  170. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  171. package/dist/esm/justifi-checkout-summary_6.entry.js +102 -15
  172. package/dist/esm/justifi-checkout.entry.js +4 -4
  173. package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -2
  174. package/dist/esm/justifi-checkouts-list.entry.js +6 -6
  175. package/dist/esm/justifi-details.entry.js +2 -2
  176. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  177. package/dist/esm/justifi-dispute-management.entry.js +3 -3
  178. package/dist/esm/justifi-dispute-notification_3.entry.js +8 -8
  179. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
  180. package/dist/esm/justifi-order-terminals.entry.js +5 -5
  181. package/dist/esm/justifi-owner-form_3.entry.js +2 -2
  182. package/dist/esm/justifi-payment-details.entry.js +4 -4
  183. package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
  184. package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
  185. package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
  186. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  187. package/dist/esm/justifi-payments-list.entry.js +7 -7
  188. package/dist/esm/justifi-payout-details.entry.js +4 -4
  189. package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
  190. package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
  191. package/dist/esm/justifi-payouts-list.entry.js +7 -7
  192. package/dist/esm/justifi-refund-payment.entry.js +5 -5
  193. package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
  194. package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
  195. package/dist/esm/justifi-skeleton.entry.js +3 -3
  196. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -3
  197. package/dist/esm/justifi-terminal-orders-list.entry.js +6 -6
  198. package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
  199. package/dist/esm/justifi-terminals-list.entry.js +6 -6
  200. package/dist/esm/loader.js +1 -1
  201. package/dist/esm/{package-O3LY2Da6.js → package-C60pS6qh.js} +1 -1
  202. package/dist/esm/pagination-menu.entry.js +1 -1
  203. package/dist/esm/{parts-CfF8KKwx.js → parts-RvUQ__Pq.js} +1 -1
  204. package/dist/esm/payment-details-core.entry.js +13 -13
  205. package/dist/esm/payment-method-option.entry.js +2 -2
  206. package/dist/esm/payments-list-core.entry.js +7 -7
  207. package/dist/esm/{payments-status-XoZrlbiZ.js → payments-status-1yRdTNeS.js} +1 -1
  208. package/dist/esm/{payments-table-Dh4P9mTb.js → payments-table-8RADYkma.js} +2 -2
  209. package/dist/esm/payout-details-core.entry.js +9 -9
  210. package/dist/esm/payouts-list-core.entry.js +7 -7
  211. package/dist/esm/{payouts-status-Qm2jZG1-.js → payouts-status-BqsQVtBp.js} +1 -1
  212. package/dist/esm/{payouts-table-DMVAZp-r.js → payouts-table-DPw7yIx8.js} +2 -2
  213. package/dist/esm/{skeleton-DrHwsgs_.js → skeleton-BmTjpTYa.js} +1 -1
  214. package/dist/esm/{spinner-XBq6mVJW.js → spinner-YGDOI-CS.js} +1 -1
  215. package/dist/esm/table-filters-menu.entry.js +3 -3
  216. package/dist/esm/{table-qqt2Ew5y.js → table-ybHxxc9f.js} +2 -2
  217. package/dist/esm/terminal-orders-list-core.entry.js +6 -6
  218. package/dist/esm/{terminal-orders-table-BN4Co4T8.js → terminal-orders-table-D-xP5WuM.js} +2 -2
  219. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  220. package/dist/esm/terminals-list-core.entry.js +6 -6
  221. package/dist/esm/{terminals-table-C8LczeG_.js → terminals-table-DVAPCgEr.js} +2 -2
  222. package/dist/esm/{utils-kWaZhFAd.js → utils-DG5aMFmf.js} +1 -1
  223. package/dist/esm/webcomponents.js +1 -1
  224. package/dist/module/additional-statement.js +1 -1
  225. package/dist/module/bank-account-billing-form-simple.js +1 -1
  226. package/dist/module/bank-account-form.js +2 -2
  227. package/dist/module/bank-account.js +2 -2
  228. package/dist/module/cancellation-policy.js +1 -1
  229. package/dist/module/card-billing-form-simple.js +1 -1
  230. package/dist/module/card-form.js +2 -2
  231. package/dist/module/card-form2.js +2 -2
  232. package/dist/module/checkout.store.js +1 -0
  233. package/dist/module/checkouts-list-core2.js +1 -1
  234. package/dist/module/custom-popper2.js +2 -2
  235. package/dist/module/customer-details.js +1 -1
  236. package/dist/module/dispute-management-core.js +1 -1
  237. package/dist/module/dispute-notification.js +1 -1
  238. package/dist/module/dispute-response-core.js +1 -1
  239. package/dist/module/dispute-response.js +1 -1
  240. package/dist/module/duplicate-charge.js +1 -1
  241. package/dist/module/electronic-evidence.js +1 -1
  242. package/dist/module/form-control-checkbox2.js +2 -2
  243. package/dist/module/form-control-date2.js +2 -2
  244. package/dist/module/form-control-file-v22.js +1 -1
  245. package/dist/module/form-control-file2.js +2 -2
  246. package/dist/module/form-control-monetary2.js +2 -2
  247. package/dist/module/form-control-number-masked2.js +2 -2
  248. package/dist/module/form-control-number.js +2 -2
  249. package/dist/module/form-control-radio2.js +2 -2
  250. package/dist/module/form-control-select2.js +2 -2
  251. package/dist/module/form-control-text2.js +2 -2
  252. package/dist/module/form-control-textarea2.js +2 -2
  253. package/dist/module/gross-payment-chart-core2.js +1 -1
  254. package/dist/module/hidden-input2.js +1 -1
  255. package/dist/module/iframe-input2.js +3 -3
  256. package/dist/module/justifi-apple-pay.d.ts +11 -0
  257. package/dist/module/justifi-apple-pay.js +871 -0
  258. package/dist/module/justifi-button2.js +1 -1
  259. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  260. package/dist/module/justifi-checkouts-list.js +1 -1
  261. package/dist/module/justifi-dispute-management.js +1 -1
  262. package/dist/module/justifi-header2.js +1 -1
  263. package/dist/module/justifi-order-terminals.js +1 -1
  264. package/dist/module/justifi-payment-transactions-list.js +1 -1
  265. package/dist/module/justifi-payments-list-filters.js +2 -2
  266. package/dist/module/justifi-payments-list.js +1 -1
  267. package/dist/module/justifi-payout-transactions-list.js +1 -1
  268. package/dist/module/justifi-payouts-list-filters.js +2 -2
  269. package/dist/module/justifi-payouts-list.js +1 -1
  270. package/dist/module/justifi-saved-payment-method.js +1 -1
  271. package/dist/module/justifi-skeleton.js +1 -1
  272. package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
  273. package/dist/module/justifi-terminal-orders-list.js +1 -1
  274. package/dist/module/justifi-terminals-list-filters.js +1 -1
  275. package/dist/module/justifi-terminals-list.js +1 -1
  276. package/dist/module/modular-checkout.js +92 -5
  277. package/dist/module/package.js +1 -1
  278. package/dist/module/payment-details-core2.js +8 -8
  279. package/dist/module/payment-method-option.js +1 -1
  280. package/dist/module/payments-list-core2.js +1 -1
  281. package/dist/module/payout-details-core2.js +3 -3
  282. package/dist/module/payouts-list-core2.js +1 -1
  283. package/dist/module/product-or-service.js +1 -1
  284. package/dist/module/refund-policy.js +1 -1
  285. package/dist/module/save-new-payment-method.js +1 -1
  286. package/dist/module/shipping-details.js +1 -1
  287. package/dist/module/summary.js +1 -1
  288. package/dist/module/table-filters-menu2.js +1 -1
  289. package/dist/module/terminal-orders-list-core2.js +1 -1
  290. package/dist/module/terminal-quantity-selector2.js +1 -1
  291. package/dist/module/terminals-list-core2.js +1 -1
  292. package/dist/module/tokenize-payment-method.js +1 -1
  293. package/dist/types/api/ApplePay.d.ts +196 -0
  294. package/dist/types/api/services/apple-pay.service.d.ts +65 -0
  295. package/dist/types/components/modular-checkout/modular-checkout.d.ts +8 -0
  296. package/dist/types/components/modular-checkout/sub-components/apple-pay-skeleton.d.ts +6 -0
  297. package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +38 -0
  298. package/dist/types/components.d.ts +120 -0
  299. package/dist/types/store/checkout.store.d.ts +1 -0
  300. package/dist/types/ui-components/apple-pay-button.d.ts +17 -0
  301. package/dist/webcomponents/{p-48bccf3b.entry.js → p-03c7cee8.entry.js} +1 -1
  302. package/dist/webcomponents/{p-4ba144ac.entry.js → p-08a5cc2f.entry.js} +1 -1
  303. package/dist/webcomponents/{p-f47095cd.entry.js → p-0aa78c58.entry.js} +1 -1
  304. package/dist/webcomponents/{p-424f491c.entry.js → p-0aee6da6.entry.js} +1 -1
  305. package/dist/webcomponents/p-0e64cd09.entry.js +1 -0
  306. package/dist/webcomponents/{p-2f31a4e5.entry.js → p-1202181b.entry.js} +1 -1
  307. package/dist/webcomponents/p-1246b999.entry.js +1 -0
  308. package/dist/webcomponents/p-12c312a0.entry.js +1 -0
  309. package/dist/webcomponents/p-1a83d9f2.entry.js +1 -0
  310. package/dist/webcomponents/{p-df199396.entry.js → p-1b892b3a.entry.js} +1 -1
  311. package/dist/webcomponents/p-1c0c1d7b.entry.js +1 -0
  312. package/dist/webcomponents/p-1e206c92.entry.js +1 -0
  313. package/dist/webcomponents/{p-828a61b9.entry.js → p-2169c3d1.entry.js} +1 -1
  314. package/dist/webcomponents/{p-77515be6.entry.js → p-281e36be.entry.js} +1 -1
  315. package/dist/webcomponents/{p-7322c86e.entry.js → p-2988e82c.entry.js} +1 -1
  316. package/dist/webcomponents/p-2a0a907d.entry.js +1 -0
  317. package/dist/webcomponents/{p-dd689b5e.entry.js → p-32cc081a.entry.js} +1 -1
  318. package/dist/webcomponents/{p-f01953ea.entry.js → p-387bcdee.entry.js} +1 -1
  319. package/dist/webcomponents/{p-1f8cd44e.entry.js → p-41416b5f.entry.js} +1 -1
  320. package/dist/webcomponents/{p-131d799c.entry.js → p-42994618.entry.js} +1 -1
  321. package/dist/webcomponents/{p-7c51805a.entry.js → p-4a79c737.entry.js} +1 -1
  322. package/dist/webcomponents/{p-a8205044.entry.js → p-4c994761.entry.js} +1 -1
  323. package/dist/webcomponents/{p-c3a2c619.entry.js → p-4cf9168d.entry.js} +1 -1
  324. package/dist/webcomponents/p-5510b57c.entry.js +1 -0
  325. package/dist/webcomponents/{p-6849bf8e.entry.js → p-55b7bdba.entry.js} +1 -1
  326. package/dist/webcomponents/{p-1bdce018.entry.js → p-59e8f027.entry.js} +1 -1
  327. package/dist/webcomponents/p-5a5f07be.entry.js +1 -0
  328. package/dist/webcomponents/p-5acd6add.entry.js +1 -0
  329. package/dist/webcomponents/{p-6e18d13f.entry.js → p-5ad70aae.entry.js} +1 -1
  330. package/dist/webcomponents/p-5afbfafb.entry.js +1 -0
  331. package/dist/webcomponents/p-6974a44c.entry.js +1 -0
  332. package/dist/webcomponents/p-6f2b41f5.entry.js +1 -0
  333. package/dist/webcomponents/p-6f9755cc.entry.js +1 -0
  334. package/dist/webcomponents/p-7288473f.entry.js +1 -0
  335. package/dist/webcomponents/{p-79055216.entry.js → p-76a95d07.entry.js} +1 -1
  336. package/dist/webcomponents/{p-a4172773.entry.js → p-7b9fa1fb.entry.js} +1 -1
  337. package/dist/webcomponents/{p-dfd7c212.entry.js → p-92efb3f2.entry.js} +1 -1
  338. package/dist/webcomponents/p-98939b74.entry.js +1 -0
  339. package/dist/webcomponents/{p-BTkXk7ol.js → p-BUadwxkh.js} +1 -1
  340. package/dist/webcomponents/{p-CCME-fyU.js → p-BXKEChoo.js} +1 -1
  341. package/dist/webcomponents/p-BZzESzqz.js +1 -0
  342. package/dist/webcomponents/{p-Dvxpy_P1.js → p-BhdBpAn9.js} +1 -1
  343. package/dist/webcomponents/p-BmFoKOM3.js +1 -0
  344. package/dist/webcomponents/p-BtOB_CaO.js +1 -0
  345. package/dist/webcomponents/{p-qMrd7_Gp.js → p-C0AHrswP.js} +1 -1
  346. package/dist/webcomponents/p-C60pS6qh.js +1 -0
  347. package/dist/webcomponents/{p-BeszVz87.js → p-CP_tg-uH.js} +1 -1
  348. package/dist/webcomponents/{p-JgbsbAhz.js → p-D48iERjQ.js} +1 -1
  349. package/dist/webcomponents/p-D7eeJWA-.js +1 -0
  350. package/dist/webcomponents/{p-BNz6wy4f.js → p-D9Sv4eV5.js} +1 -1
  351. package/dist/webcomponents/{p-CsNubTqD.js → p-DBsw4qpn.js} +1 -1
  352. package/dist/webcomponents/{p-vRhNRfmB.js → p-DKRXPZKS.js} +1 -1
  353. package/dist/webcomponents/p-DOd8HaWV.js +1 -0
  354. package/dist/webcomponents/p-DcE8SQPv.js +1 -0
  355. package/dist/webcomponents/p-Drz6LnIw.js +1 -0
  356. package/dist/webcomponents/{p-DO3INvI2.js → p-DuXN7Akd.js} +1 -1
  357. package/dist/webcomponents/{p-Bz164TKZ.js → p-HAk7yBNq.js} +1 -1
  358. package/dist/webcomponents/{p-CfF8KKwx.js → p-RvUQ__Pq.js} +1 -1
  359. package/dist/webcomponents/p-a1a8f6bd.entry.js +1 -0
  360. package/dist/webcomponents/{p-15777cfe.entry.js → p-a406bf1a.entry.js} +1 -1
  361. package/dist/webcomponents/{p-fa33df9f.entry.js → p-a70bc148.entry.js} +1 -1
  362. package/dist/webcomponents/{p-57143978.entry.js → p-a9d2dd5e.entry.js} +1 -1
  363. package/dist/webcomponents/{p-ded22005.entry.js → p-ab308ee3.entry.js} +1 -1
  364. package/dist/webcomponents/{p-c5b48e8d.entry.js → p-afc83e27.entry.js} +1 -1
  365. package/dist/webcomponents/{p-3d85d046.entry.js → p-b04cc606.entry.js} +1 -1
  366. package/dist/webcomponents/p-b41d2b8f.entry.js +1 -0
  367. package/dist/webcomponents/p-b8f63e28.entry.js +1 -0
  368. package/dist/webcomponents/p-ba84c3bd.entry.js +1 -0
  369. package/dist/webcomponents/{p-bea4309d.entry.js → p-bfc38bc2.entry.js} +1 -1
  370. package/dist/webcomponents/{p-283cd78b.entry.js → p-c62e23c1.entry.js} +1 -1
  371. package/dist/webcomponents/{p-b0bfa20f.entry.js → p-c6860f60.entry.js} +1 -1
  372. package/dist/webcomponents/{p-cebe360b.entry.js → p-c7e5245a.entry.js} +1 -1
  373. package/dist/webcomponents/{p-9106fd74.entry.js → p-cabaf013.entry.js} +1 -1
  374. package/dist/webcomponents/{p-dd6d6ddb.entry.js → p-cbfc8269.entry.js} +1 -1
  375. package/dist/webcomponents/{p-ae4297dd.entry.js → p-cf16498f.entry.js} +1 -1
  376. package/dist/webcomponents/{p-f3a757b2.entry.js → p-d014a155.entry.js} +1 -1
  377. package/dist/webcomponents/{p-28c7bef7.entry.js → p-dc245644.entry.js} +4 -4
  378. package/dist/webcomponents/{p-ba8ae31f.entry.js → p-e6ca1872.entry.js} +1 -1
  379. package/dist/webcomponents/{p-904a95e5.entry.js → p-e8a198fa.entry.js} +1 -1
  380. package/dist/webcomponents/{p-1d53f0b8.entry.js → p-ea1b161a.entry.js} +1 -1
  381. package/dist/webcomponents/p-eff0b0e9.entry.js +1 -0
  382. package/dist/webcomponents/p-f3be7b2b.entry.js +1 -0
  383. package/dist/webcomponents/p-f787bc18.entry.js +1 -0
  384. package/dist/webcomponents/p-fb1904d2.entry.js +1 -0
  385. package/dist/webcomponents/{p-36d72e2d.entry.js → p-fbaf62a5.entry.js} +1 -1
  386. package/dist/webcomponents/p-fcb6e870.entry.js +1 -0
  387. package/dist/webcomponents/{p-YND5pTuF.js → p-nWGo6sHu.js} +1 -1
  388. package/dist/webcomponents/{p-BisQ61nK.js → p-wyEq9Pa1.js} +1 -1
  389. package/dist/webcomponents/webcomponents.esm.js +1 -1
  390. package/package.json +1 -1
  391. package/dist/webcomponents/p-08ea8974.entry.js +0 -1
  392. package/dist/webcomponents/p-0932f6a9.entry.js +0 -1
  393. package/dist/webcomponents/p-09e768fe.entry.js +0 -1
  394. package/dist/webcomponents/p-0dcc83ac.entry.js +0 -1
  395. package/dist/webcomponents/p-22be0859.entry.js +0 -1
  396. package/dist/webcomponents/p-3a4ca4df.entry.js +0 -1
  397. package/dist/webcomponents/p-40ba49e4.entry.js +0 -1
  398. package/dist/webcomponents/p-466f33d7.entry.js +0 -1
  399. package/dist/webcomponents/p-57802e57.entry.js +0 -1
  400. package/dist/webcomponents/p-818f51fd.entry.js +0 -1
  401. package/dist/webcomponents/p-89e27079.entry.js +0 -1
  402. package/dist/webcomponents/p-8f0339de.entry.js +0 -1
  403. package/dist/webcomponents/p-9b75aced.entry.js +0 -1
  404. package/dist/webcomponents/p-BC8YDY7M.js +0 -1
  405. package/dist/webcomponents/p-BbYVgLcf.js +0 -1
  406. package/dist/webcomponents/p-C1fMfnu0.js +0 -1
  407. package/dist/webcomponents/p-C_CXv7AN.js +0 -1
  408. package/dist/webcomponents/p-CwZKT93w.js +0 -1
  409. package/dist/webcomponents/p-D599ZMGU.js +0 -1
  410. package/dist/webcomponents/p-O3LY2Da6.js +0 -1
  411. package/dist/webcomponents/p-a7d5e434.entry.js +0 -1
  412. package/dist/webcomponents/p-ae5a3c2a.entry.js +0 -1
  413. package/dist/webcomponents/p-be06d86a.entry.js +0 -1
  414. package/dist/webcomponents/p-d0e24727.entry.js +0 -1
  415. package/dist/webcomponents/p-d77908ca.entry.js +0 -1
  416. package/dist/webcomponents/p-dd257e60.entry.js +0 -1
  417. package/dist/webcomponents/p-e830a580.entry.js +0 -1
  418. package/dist/webcomponents/p-e859ece8.entry.js +0 -1
  419. package/dist/webcomponents/p-eaea7cc1.entry.js +0 -1
  420. package/dist/webcomponents/p-ff3377e7.entry.js +0 -1
  421. package/dist/webcomponents/p-ff869ded.entry.js +0 -1
  422. package/dist/webcomponents/p-zrUQD0Wr.js +0 -1
@@ -0,0 +1,329 @@
1
+ import { configState } from "../../components/config-provider/config-state";
2
+ import { ApplePaySessionStatus, ApplePayHelpers, ApplePayConfig, ApplePayPaymentRequest, } from "../ApplePay";
3
+ export class ApplePayService {
4
+ constructor() {
5
+ this.apiBaseUrl = configState.apiOrigin;
6
+ }
7
+ /**
8
+ * Set custom API base URL
9
+ */
10
+ setApiBaseUrl(url) {
11
+ this.apiBaseUrl = url;
12
+ }
13
+ /**
14
+ * Set authentication token
15
+ */
16
+ setAuthToken(authToken) {
17
+ this.authToken = authToken;
18
+ }
19
+ setAccountId(accountId) {
20
+ this.accountId = accountId;
21
+ }
22
+ /**
23
+ * Initialize Apple Pay configuration
24
+ */
25
+ initialize(applePayConfig) {
26
+ this.applePayConfig = new ApplePayConfig(applePayConfig);
27
+ if (!this.applePayConfig.isValid) {
28
+ throw new Error('Invalid Apple Pay configuration provided');
29
+ }
30
+ }
31
+ /**
32
+ * Validate merchant with Apple Pay servers via API
33
+ */
34
+ async validateMerchant(authToken) {
35
+ const endpoint = `${this.apiBaseUrl}/v1/apple_pay/merchant_session`;
36
+ console.log('=== MERCHANT VALIDATION REQUEST ===');
37
+ console.log('Endpoint:', endpoint);
38
+ console.log('Auth token present:', !!authToken);
39
+ console.log('Account ID:', this.accountId);
40
+ const response = await fetch(endpoint, {
41
+ method: 'POST',
42
+ headers: {
43
+ 'Content-Type': 'application/json',
44
+ Accept: 'application/json',
45
+ Authorization: `Bearer ${authToken}`,
46
+ 'Sub-Account': this.accountId,
47
+ },
48
+ });
49
+ console.log('Response status:', response.status);
50
+ if (!response.ok) {
51
+ const errorData = await response.text();
52
+ console.error('Backend validation failed - Raw response:', errorData);
53
+ try {
54
+ const jsonError = JSON.parse(errorData);
55
+ console.error('Backend validation failed - Parsed error:', jsonError);
56
+ }
57
+ catch (parseError) {
58
+ console.error('Could not parse error response as JSON:', parseError);
59
+ }
60
+ throw new Error(`Merchant validation failed: ${response.status}`);
61
+ }
62
+ const merchantSession = await response.json();
63
+ console.log('Merchant session received:', merchantSession);
64
+ return merchantSession;
65
+ }
66
+ /**
67
+ * Process Apple Pay payment via API (fixed to match original logic)
68
+ */
69
+ async processPayment(authToken, payload) {
70
+ const endpoint = `${this.apiBaseUrl}/v1/apple_pay/process_token`;
71
+ const body = payload;
72
+ const response = await fetch(endpoint, {
73
+ method: 'POST',
74
+ headers: {
75
+ 'Content-Type': 'application/json',
76
+ Accept: 'application/json',
77
+ Authorization: `Bearer ${authToken}`,
78
+ 'Sub-Account': this.accountId,
79
+ },
80
+ body: JSON.stringify(body),
81
+ });
82
+ const result = await response.json();
83
+ return {
84
+ success: result.id && !!result.data.token,
85
+ data: result,
86
+ };
87
+ }
88
+ /**
89
+ * Check if Apple Pay is available on this device/browser
90
+ */
91
+ isAvailable() {
92
+ return (ApplePayHelpers.isApplePaySupported() && ApplePayHelpers.canMakePayments());
93
+ }
94
+ /**
95
+ * Check if the user has an active card for the merchant
96
+ */
97
+ async canMakePaymentsWithActiveCard() {
98
+ if (!this.applePayConfig) {
99
+ throw new Error('Apple Pay not initialized. Call initialize() first.');
100
+ }
101
+ return await ApplePayHelpers.canMakePaymentsWithActiveCard(this.applePayConfig.merchantIdentifier);
102
+ }
103
+ /**
104
+ * Start Apple Pay session
105
+ */
106
+ async startPaymentSession(paymentRequest) {
107
+ if (!this.applePayConfig) {
108
+ throw new Error('Apple Pay not initialized. Call initialize() first.');
109
+ }
110
+ // if (!this.isAvailable()) {
111
+ // throw new Error('Apple Pay is not available on this device/browser');
112
+ // }
113
+ const request = new ApplePayPaymentRequest(paymentRequest);
114
+ if (!request.isValid) {
115
+ throw new Error('Invalid payment request provided');
116
+ }
117
+ this.currentPaymentRequest = request;
118
+ return new Promise((resolve, reject) => {
119
+ try {
120
+ this.currentSession = new window.ApplePaySession(3, request);
121
+ this.setupSessionEventHandlers(resolve, reject);
122
+ this.currentSession.begin();
123
+ }
124
+ catch (error) {
125
+ reject({
126
+ success: false,
127
+ error: {
128
+ code: 'SESSION_ERROR',
129
+ message: error instanceof Error
130
+ ? error.message
131
+ : 'Failed to start Apple Pay session',
132
+ },
133
+ });
134
+ }
135
+ });
136
+ }
137
+ /**
138
+ * Abort current Apple Pay session
139
+ */
140
+ abortPaymentSession() {
141
+ if (this.currentSession) {
142
+ this.currentSession.abort();
143
+ this.currentSession = undefined;
144
+ this.currentPaymentRequest = undefined;
145
+ }
146
+ }
147
+ /**
148
+ * Setup Apple Pay session event handlers
149
+ */
150
+ setupSessionEventHandlers(resolve, reject) {
151
+ if (!this.currentSession ||
152
+ !this.applePayConfig ||
153
+ !this.currentPaymentRequest) {
154
+ return;
155
+ }
156
+ this.currentSession.onvalidatemerchant = async () => {
157
+ try {
158
+ if (!this.authToken) {
159
+ throw new Error('Authentication token not set. Call setAuthToken() first.');
160
+ }
161
+ const merchantSession = await this.validateMerchant(this.authToken);
162
+ try {
163
+ this.currentSession.completeMerchantValidation(merchantSession);
164
+ }
165
+ catch (completionError) {
166
+ console.error('Error calling completeMerchantValidation:', completionError);
167
+ throw completionError;
168
+ }
169
+ }
170
+ catch (error) {
171
+ console.error('=== MERCHANT VALIDATION ERROR ===');
172
+ console.error('Error during merchant validation:', error);
173
+ console.error('Error stack:', error.stack);
174
+ this.currentSession.abort();
175
+ reject({
176
+ success: false,
177
+ error: {
178
+ code: 'MERCHANT_VALIDATION_ERROR',
179
+ message: error instanceof Error
180
+ ? error.message
181
+ : 'Merchant validation failed',
182
+ },
183
+ });
184
+ }
185
+ };
186
+ this.currentSession.onpaymentauthorized = async (event) => {
187
+ try {
188
+ const payment = event.payment;
189
+ const paymentPayload = Object.assign(Object.assign({}, payment.token), { product_details: {
190
+ name: this.currentPaymentRequest.total.label,
191
+ price: ApplePayHelpers.parseAmount(this.currentPaymentRequest.total.amount),
192
+ description: this.currentPaymentRequest.total.label,
193
+ } });
194
+ if (!this.authToken) {
195
+ throw new Error('Authentication token not set. Call setAuthToken() first.');
196
+ }
197
+ const paymentResult = await this.processPayment(this.authToken, paymentPayload);
198
+ if (paymentResult.success) {
199
+ this.currentSession.completePayment({
200
+ status: ApplePaySessionStatus.STATUS_SUCCESS,
201
+ });
202
+ resolve({
203
+ success: true,
204
+ token: payment.token,
205
+ });
206
+ }
207
+ else {
208
+ console.error('PSP reported payment failure:', paymentResult.data);
209
+ this.currentSession.completePayment({
210
+ status: ApplePaySessionStatus.STATUS_FAILURE,
211
+ });
212
+ reject({
213
+ success: false,
214
+ error: {
215
+ code: 'PAYMENT_PROCESSING_ERROR',
216
+ message: 'Payment processing failed',
217
+ },
218
+ });
219
+ }
220
+ }
221
+ catch (error) {
222
+ console.error('=== PAYMENT PROCESSING ERROR ===');
223
+ console.error('Error processing payment:', error);
224
+ console.error('Error stack:', error.stack);
225
+ this.currentSession.completePayment({
226
+ status: ApplePaySessionStatus.STATUS_FAILURE,
227
+ });
228
+ reject({
229
+ success: false,
230
+ error: {
231
+ code: 'PAYMENT_PROCESSING_ERROR',
232
+ message: error instanceof Error
233
+ ? error.message
234
+ : 'Payment processing failed',
235
+ },
236
+ });
237
+ }
238
+ finally {
239
+ this.currentSession = undefined;
240
+ this.currentPaymentRequest = undefined;
241
+ }
242
+ };
243
+ this.currentSession.onpaymentmethodselected = () => {
244
+ const paymentUpdate = {
245
+ newTotal: this.currentPaymentRequest.total,
246
+ newLineItems: this.currentPaymentRequest.lineItems || [],
247
+ };
248
+ try {
249
+ this.currentSession.completePaymentMethodSelection(paymentUpdate);
250
+ }
251
+ catch (error) {
252
+ console.error('Error completing payment method selection:', error);
253
+ this.currentSession.abort();
254
+ }
255
+ };
256
+ this.currentSession.onshippingmethodselected = () => {
257
+ this.currentSession.completeShippingMethodSelection({
258
+ status: ApplePaySessionStatus.STATUS_SUCCESS,
259
+ newTotal: this.currentPaymentRequest.total,
260
+ newLineItems: this.currentPaymentRequest.lineItems || [],
261
+ });
262
+ };
263
+ this.currentSession.oncancel = (event) => {
264
+ if (event.sessionError) {
265
+ console.error(event.sessionError);
266
+ switch (event.sessionError.code) {
267
+ case 'unknown':
268
+ console.error('Unknown error - likely merchant validation issue');
269
+ console.error('This usually means:');
270
+ console.error('1. Merchant certificate is invalid or expired');
271
+ console.error('2. Merchant identifier mismatch');
272
+ console.error('3. Backend validation endpoint issues');
273
+ break;
274
+ case 'invalidMerchantSession':
275
+ console.error('Invalid merchant session provided');
276
+ console.error('Check that the merchant session from backend is valid');
277
+ break;
278
+ case 'userCancel':
279
+ console.error('User cancelled the payment');
280
+ break;
281
+ default:
282
+ console.error('Other error code:', event.sessionError.code);
283
+ }
284
+ }
285
+ this.currentSession = undefined;
286
+ this.currentPaymentRequest = undefined;
287
+ reject({
288
+ success: false,
289
+ error: {
290
+ code: 'USER_CANCELLED',
291
+ message: 'User cancelled the Apple Pay session',
292
+ },
293
+ });
294
+ };
295
+ if ('onerror' in this.currentSession) {
296
+ this.currentSession.onerror = (error) => {
297
+ console.error('=== APPLE PAY SESSION ERROR ===');
298
+ console.error('Session error:', error);
299
+ this.currentSession = undefined;
300
+ this.currentPaymentRequest = undefined;
301
+ reject({
302
+ success: false,
303
+ error: {
304
+ code: 'SESSION_ERROR',
305
+ message: 'Apple Pay session error occurred',
306
+ },
307
+ });
308
+ };
309
+ }
310
+ }
311
+ /**
312
+ * Create a basic payment request
313
+ */
314
+ static createPaymentRequest(amount, label, countryCode = 'US', currencyCode = 'USD') {
315
+ return {
316
+ countryCode,
317
+ currencyCode,
318
+ merchantCapabilities: ApplePayHelpers.getDefaultMerchantCapabilities(),
319
+ supportedNetworks: ApplePayHelpers.getDefaultSupportedNetworks(),
320
+ total: ApplePayHelpers.createLineItem(label, amount),
321
+ };
322
+ }
323
+ /**
324
+ * Get current configuration
325
+ */
326
+ getApplePayConfig() {
327
+ return this.applePayConfig;
328
+ }
329
+ }
@@ -73,6 +73,7 @@
73
73
  "components/gross-payment-chart/gross-payment-chart.js",
74
74
  "components/insurance/season-interruption/season-interruption-insurance.js",
75
75
  "components/modular-checkout/modular-checkout.js",
76
+ "components/modular-checkout/sub-components/apple-pay.js",
76
77
  "components/modular-checkout/sub-components/bank-account.js",
77
78
  "components/modular-checkout/sub-components/card-form.js",
78
79
  "components/modular-checkout/sub-components/payment-method-option.js",
@@ -31,10 +31,10 @@ export class BankAccountForm {
31
31
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: 'b6cdf5a9320d92a5390daaa0a5218274f2dfc178' }, h(BankAccountFormSkeleton, { key: '286fcc38a26820d166ced0bc886143ed3d880da4', isReady: this.isReady }), h("div", { key: '041fcacff70d7cdfc0c8f41258bd9db18703e4c1', class: "container-fluid p-0", style: {
34
+ return (h(Host, { key: '843caa7d14d4694d78e477cb51d6caac387fdb23' }, h(BankAccountFormSkeleton, { key: 'f4381a71ef5831d159f51472744c7d7a85221464', isReady: this.isReady }), h("div", { key: '8de6e74f3559d94747d8ca942f777977325f16e5', class: "container-fluid p-0", style: {
35
35
  opacity: this.isReady ? '1' : '0',
36
36
  height: this.isReady ? 'auto' : '0',
37
- } }, h("div", { key: '94dc0eb0d79b40ade96e1961611e3e7a8eef20ea', class: "row mb-3" }, h("iframe-input", { key: '41c82b772e7873a45409e35ed56dfea16c20c2ee', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '1c95618a50e2d36a3a9a3a7b691ae0dfa6a09936', class: "row" }, h("iframe-input", { key: '28a4dde70c8f55b4f6bf6ce2d3beee6acbebbc0b', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
37
+ } }, h("div", { key: '09e19bc320f2095c9148ddaa2105813071d5f9da', class: "row mb-3" }, h("iframe-input", { key: 'e6262b9fa09d8b30da046dc0c1a01a7bbac33a7d', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '15b85f900ce89f440ecbfe62e61d36d15eff9c2b', class: "row" }, h("iframe-input", { key: '9b4cf61adfd4a5c68e07cc4eb49841727ce2c63d', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
38
38
  }
39
39
  static get is() { return "bank-account-form"; }
40
40
  static get states() {
@@ -35,10 +35,10 @@ export class CardForm {
35
35
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: 'd5e5c74e5e3be0bb5a9603a89724d23cc6216d6c' }, h(CardFormSkeleton, { key: 'a1e90d74ca6e72678255590a94937932a9520046', isReady: this.isReady }), h("div", { key: 'bb303552ed581492de8ebb0d83cea751ddd90a09', class: "container-fluid p-0", style: {
38
+ return (h(Host, { key: 'c43351c7ab1eb6bf413f162634f55007798bb076' }, h(CardFormSkeleton, { key: 'f0a29497de2270108868e892d666b552dea27a1e', isReady: this.isReady }), h("div", { key: '2734b111c1f2f2275435d2141445ac30482946be', class: "container-fluid p-0", style: {
39
39
  opacity: this.isReady ? '1' : '0',
40
40
  height: this.isReady ? 'auto' : '0',
41
- } }, h("div", { key: '9641c97124a504729b1eba3e8704d8fd3fda7fde', class: "mb-3" }, h("iframe-input", { key: 'a5a73c00c2ac0cd12ef98b155a40108248529fb7', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'dad1b83f028745aa8b85a8e552f702d5daa3ac6f', class: "d-flex align-items-start" }, h("div", { key: '5de05029d93a81d5ad8c799135863e8cdd1e8619', class: "flex-fill me-3" }, h("iframe-input", { key: '4ec81652e51187bbaa25600299f8cb89f0c41c5c', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '0280f01efdbbfa3542036fa4ee7baec130e42688', class: "flex-fill me-3" }, h("iframe-input", { key: 'b13dba61a6bd18529e70987029592b5b7307e74b', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'edf1e383a148a2d535c4733a2b5af2d8e31e2f43', class: "flex-fill" }, h("iframe-input", { key: 'd63e832db1a089f36909db23cacb110f6571535c', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
41
+ } }, h("div", { key: '036c359caaf8fc36fa6ba56bbcad5d01de1fe9c9', class: "mb-3" }, h("iframe-input", { key: '9baf7dc76ff18f8dee6e6cd08b93e1ba155d5cf2', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '080769719aa9b0d6abc9b18c46247eecd6428833', class: "d-flex align-items-start" }, h("div", { key: 'b3a825ed849ec0032d4a9018537f8ffab4b93ca3', class: "flex-fill me-3" }, h("iframe-input", { key: '5f60eb2d3b3e1303e1a0f6a3f0cd60270bb2d0b8', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'cfd000502f10593b59608e13f5de7911c546d030', class: "flex-fill me-3" }, h("iframe-input", { key: 'ab2a45264fe5890c171d03000f30720eafe354b5', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '637516bfd8030e56c9b1e97edfd3a635edb95f20', class: "flex-fill" }, h("iframe-input", { key: 'e407cc2470841fe12b1bdb84bbc8ecfb0165c72d', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
42
42
  }
43
43
  static get is() { return "card-form"; }
44
44
  static get states() {
@@ -11,7 +11,7 @@ export class SaveNewPaymentMethod {
11
11
  };
12
12
  }
13
13
  render() {
14
- return (h(StyledHost, { key: 'f23a4f992eef86df7ebfa86f4b46b232456016b2' }, h("div", { key: '0ef7c08423451655318751a6377f0ba8ffda3c7c', class: "mt-4 form-check" }, h("form-control-checkbox", { key: '609527d08abb45603ea683a051cf9c09435fc5bc', label: "Save new payment method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange }))));
14
+ return (h(StyledHost, { key: 'f23a4f992eef86df7ebfa86f4b46b232456016b2' }, h("form-control-checkbox", { key: 'aff52e51dac64207f95e439b26902c772d84963d', label: "Save New Payment Method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
15
15
  }
16
16
  static get is() { return "justifi-save-new-payment-method"; }
17
17
  static get encapsulation() { return "shadow"; }
@@ -18,7 +18,7 @@ export class SavedPaymentMethod {
18
18
  ;
19
19
  render() {
20
20
  var _a, _b, _c;
21
- return (h(Host, { key: '077ad61b1a84963ebaad43397aa7c88211d9dd7e', class: "payment-method" }, h("div", { key: 'e01a2e45c55273cb0ee9774b60504d7098a74cf9', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'f34e9fe3f52fbf1acfdc72993259d6f6f58ac470', 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}` }))));
21
+ return (h(Host, { key: 'da871bcddcfe5ea01aab207d6a4004770b63a18a', class: "payment-method" }, h("div", { key: '06f7919ba9bc826fa8ae8391231fa173098cd212', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '304f073b7c969c31b17cc44a9e9fa16e00c41aec', 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}` }))));
22
22
  }
23
23
  static get is() { return "justifi-saved-payment-method"; }
24
24
  static get properties() {
@@ -118,7 +118,7 @@ export class CheckoutsListCore {
118
118
  return !this.showEmptyState && !this.showErrorState && !this.loading;
119
119
  }
120
120
  render() {
121
- return (h(TableWrapper, { key: 'ac27fa8b086e64e53a287f96be1d1212a7c23fc3' }, h(TableComponent, { key: '965b9e4761f686a254297a753b638952181d9758' }, h(TableHead, { key: '41502bb86d87acd8f730f22705d82a2bb4c3787c' }, h(TableHeadRow, { key: '9aa770a8bbb3c9623fde336580dcecda0ee6909e' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'ad20f6287a2eefd0aa659925cf4be8a03766c1c2' }, h(TableLoadingState, { key: 'bdd7d89bed12c4451199b59e2793cc3d4dbc24a8', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '8b89063a5cc78beb42a52375c431e834583ef12a', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a557b0a68af21a5501139433f980a6c083536d71', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '0ba995e692b70214b1f63f3fbb7e05e76f229304' }, h(TableFootRow, { key: '25703345e36b46ce3a4cd9d09893c744b6db4d86' }, h(TableFootCell, { key: '07f5df6019322cb80053e4c061a2b5cb6ba7187e', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'daf2dd74a5f24192c9052a2906459a6d2b53544d', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
121
+ return (h(TableWrapper, { key: 'c496328d1840fb1f823f233c04c78525b5f12553' }, h(TableComponent, { key: 'f994cfed9bf75a299fc94dd22306911d84b44541' }, h(TableHead, { key: '0ffb6ce97ebe1a35eb0143b43767223d844a70e0' }, h(TableHeadRow, { key: 'd063eaafc44bf75be0de5463a1f9b2789ec8b76e' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '624a316c1631070a999c48342e71c55207b51be3' }, h(TableLoadingState, { key: '0f7444acf626537bf2179fdb64a435550bcf20d3', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'ea68f85498d3bcbb44c8d9158d5cc6a228867e6c', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'db72f0190431182f410f246ad00fceb51901fd66', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '855184d90f85a1dd299c372b5b065e1af2151a99' }, h(TableFootRow, { key: 'b216c505abd04f79c0a733312fc5babdb35f2b77' }, h(TableFootCell, { key: 'efa83af6ee8543443826ccfe4efc230afc5d05f6', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '70664e167672a40b63c7fdd2603c52e8584870e9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
122
122
  }
123
123
  static get is() { return "checkouts-list-core"; }
124
124
  static get properties() {
@@ -38,7 +38,7 @@ export class CheckoutsListFilters {
38
38
  }
39
39
  render() {
40
40
  const filterMenuParams = Object.assign({}, filterParams);
41
- return (h(StyledHost, { key: '05a4d429a1acd7bbaf202872523284e2b2cd3677' }, h("table-filters-menu", { key: 'abf61654a75212537af580f3bfd2646042eaba8a', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: 'f8e5cfe4b0a23723d0df939a1d1873adffcb1da9', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'd9e23e96a7269b3609e690a1e64e8c20bd125cb7', class: "p-2" }, h("form-control-select", { key: 'e1899dbc615be07486bc54f8baa395bee776d8ce', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: 'bedbc26d9d9f6906013ef4b80542d9031822b19c', class: "p-2" }, h("form-control-select", { key: '3bfef7fabeb85a29304e11093005bb1f58b23f41', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
41
+ return (h(StyledHost, { key: '75225e92af6efb7185735a63adf83ed7699452b1' }, h("table-filters-menu", { key: '086762cdd3a08d9221be6d374d4fd4d1b82c717f', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: '23f5d2938419a2e92cbacf79d82a3893b6d256c2', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '43bf85dccce2233d59720defbea2897df488d880', class: "p-2" }, h("form-control-select", { key: '61c381ec0a205245311ba2e490a03b1e571d366b', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: '4d01e881ca741302be99559209ab383aad4ee739', class: "p-2" }, h("form-control-select", { key: '82a1c6c3cfa9c77bc656aff5d7b0130436a54042', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
42
42
  }
43
43
  static get is() { return "justifi-checkouts-list-filters"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -61,7 +61,7 @@ export class CheckoutsList {
61
61
  }
62
62
  }
63
63
  render() {
64
- return (h(StyledHost, { key: 'b0c774c4f56f94cd6b4a3dc8651938f9f33ca94e' }, h("checkouts-list-core", { key: 'd524423a791f70c234044f5ba27d7bc3648fc988', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
64
+ return (h(StyledHost, { key: '0e9e50e18983dad43cfab19f2271678d3f5e6abd' }, h("checkouts-list-core", { key: '6f128cc756477ff64638625d9a9ff9a5b4533948', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
65
65
  }
66
66
  static get is() { return "justifi-checkouts-list"; }
67
67
  static get encapsulation() { return "shadow"; }
@@ -46,7 +46,7 @@ export class DisputeManagementCore {
46
46
  });
47
47
  }
48
48
  render() {
49
- 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 }))));
49
+ return (h("div", { key: '6374c478bc8907019b48e1a53b0ecb2e171ab2e4' }, 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 }))));
50
50
  }
51
51
  static get is() { return "justifi-dispute-management-core"; }
52
52
  static get properties() {
@@ -43,7 +43,7 @@ export class DisputeManagement {
43
43
  }
44
44
  }
45
45
  render() {
46
- return (h("justifi-dispute-management-core", { key: '8c800827aaa9d549a734ea05698763685e160a98', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
46
+ return (h("justifi-dispute-management-core", { key: 'e19f33cd7106c3c44fb86faeef743c62ff9004b9', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
47
47
  }
48
48
  static get is() { return "justifi-dispute-management"; }
49
49
  static get properties() {
@@ -30,7 +30,7 @@ export class DisputeNotification {
30
30
  }
31
31
  render() {
32
32
  var _a, _b, _c, _d, _e, _f, _g;
33
- 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 submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '6325264f8ad7b6678825878ed59f03f90eee421a' }, h("h1", { key: '7b647ed77373884e0751de4fc39403211c249db6', class: "h4" }, "This payment was disputed"), h("p", { key: '2a5c1560d341af9b743234a058a1187f245a2ae8' }, "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: 'a89e7f4d7e8926ed052023c7dbbbaf076a03ed9c' }, h("h1", { key: '534b560aa35dd43ba0eba668904ef70dc1a6954f', class: "h4" }, "This payment was disputed"), h("p", { key: '2381f2f6418b47dce67c498c56d5f3789add57dc' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
33
+ return (h(StyledHost, { key: 'ec6f99be66b3b164c367b96d8274824d2e709dd5' }, this.isLoading && (h("div", { key: '26587e055eb4756785ae5935fd803746ddab355d', style: { marginBottom: '8px' } }, h(Skeleton, { key: '159c5d9b0fb16af4aac0125ea5e69bd9f7b4210e', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '5c89a8dd2244ddaed8c26b743cb22f20fa2e2742', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '6f0a6ebf743bdbea125c6630cb98c5bda5bd9919', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: 'f44a0c9494731be14b75e3b25adc2b09c61c84a5', part: text }, h("h1", { key: 'd8820437a86bebcc0782607796b4f2c5429d40e7', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '8cf4a2b3194d781d5f17ae3067d9931be54159e2' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: 'd79312da2cc6715016be0b57d1b70e0ddbc2b8c5', class: "h5" }, "Dispute details"), h("div", { key: '958af1e87a119c4af76729b54bf322c16b966c54', class: "d-table gap-2" }, h("div", { key: 'e10802db747c99408371863c94c2f47737a03626', class: "d-table-row gap-2" }, h("span", { key: '84b151c7c9846fd395517ab14339504e56e5298d', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '197dffa3676aa9ff7425cea00eca69bb84bef427', 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: '4754429fa095be98083e34b32485cc45f379151b', class: "d-table-row gap-2" }, h("span", { key: 'c3e168a4d7dd902b9c4bc67531b7489dea32bda2', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: 'f08c9ce67f2b7b673de82963bacaf6ea8af87353', 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: '0de1ab69dbc18cb00b31df8c2c4ab421a5982b4b', class: "d-table-row gap-2" }, h("span", { key: '8217191859fed71cbeac5173b0a43ff4a98c397d', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: 'e63c3d2a1f0dbd98aae53a402be9fa96344e4f0b', 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: '5767bc945b2fd3c7390011771b5c7a53c27c4447', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: 'dd6676ca0348579051cf13ce32bf6d9b1a2a3d21', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '27655bc90dd44e05180739e9c2a0f695ad294266', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: '2b25123f6bf95ad7e847b4365f96eab71f1933f8' }, h("h1", { key: 'ab4b47f721ded5deb8b04a9b55b6c2978616f23b', class: "h4" }, "This payment is disputed and under review"), h("p", { key: 'bf4ee462258e4742ddf5722f470b597134489ee1' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: 'ba1257cb1448cb8b4cd1aba4340f2ac65208e264' }, h("h1", { key: '203b5926fa96278cfd3a7b0a4d5398226b2361b6', class: "h4" }, "This payment was disputed"), h("p", { key: '8f05fc9fb0d7f5151519bbf82ed6abeca676e4b5' }, "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: '1f6d1d4048cc011d61292934dd225ef07dcf260d' }, h("h1", { key: '3df3c3a6bf4c86e8eb0361b039d88f55b502177c', class: "h4" }, "This payment was disputed"), h("p", { key: '03f2dce54b06ad242f8e8d1d4c8194219013af1c' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
34
34
  }
35
35
  static get is() { return "justifi-dispute-notification"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class AdditionalStatement {
29
29
  }
30
30
  render() {
31
31
  var _a, _b;
32
- return (h("div", { key: '3904e1b961f9e1a0683647d306a128efcd7b9202' }, h("div", { key: '37ae13e4b7ad7bc8a18b588c4e591cde9030147e', class: "row gy-3" }, h("div", { key: '2f9b835795f21e4585638ad8be2093642f08b982', class: "col-12" }, h("h2", { key: '9ff1aeb8256ffe97c6300bd48597542519cda0a7', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: 'e4c6b9f4624b06103b6c643838a76c4a724e3168', class: "col-12" }, h("form-control-textarea", { key: 'dc9a5cb126a2d6f70cd8d59cdcfcd29f5c4e341b', 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: 'ba5202a5d8df30f5f4b7217341110646bb76e082', class: "col-12" }, h("form-control-file-v2", { key: '3168fc63d6bd6013821ee335914d916bb680fe42', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
32
+ return (h("div", { key: 'f407dba7be750c75d9bd3163647e62b57f7b32df' }, h("div", { key: '5d690bf3227112c1d6f86d956bb98dd5bb2d585d', class: "row gy-3" }, h("div", { key: 'e12ecbe52d9383b449cde0ffafe32b952c293ad8', class: "col-12" }, h("h2", { key: 'aaeeeed0024985d9be89ce02f252ef999dd9d197', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: 'aedfe85e833e387998815246faa21f46184ddcdb', class: "col-12" }, h("form-control-textarea", { key: 'affa35eb587e6b70546f18414d7436bc267c0201', 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: 'ec650c06058b30773dacf1c1f9cafedb526ced90', class: "col-12" }, h("form-control-file-v2", { key: 'd9a75a49a8ada0dfe0b2466ec03a8842c75bddf8', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
33
33
  }
34
34
  static get is() { return "justifi-additional-statement"; }
35
35
  static get properties() {
@@ -28,7 +28,7 @@ export class CancellationPolicy {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c;
31
- return (h("div", { key: '29819e51969e655219ccbdbb2e1d1b738b64f7d3' }, h("div", { key: '28279bbc8354128a5041ed6eac16d4966be1584c', class: "row gy-3" }, h("div", { key: '8b6215544f87a8c35b81a93a5f4826a35e0c0f9f', class: "col-12" }, h("h2", { key: 'b6337efb93f03ea48f2c29b1baef4929f236df2d', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'b7d78115378ecd0b4a4f8a43349f1b4f2527ca35', class: "col-12" }, h("form-control-textarea", { key: '6ab47f5626a945f222efceef43dc096061cb67ed', 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: '6aeccf798d112e79251408401c99d916a9065e94', class: "col-12" }, h("form-control-textarea", { key: '580e61e4370570c9a04496fef4b7ad9c19058336', 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: 'e0deddf002b64d02bc5a5db075da11d2566dc3bb', class: "col-12" }, h("form-control-file-v2", { key: '3da55e915d4d3126456de8e95debc6d9e46dca42', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
31
+ return (h("div", { key: '53b8b9ca5ef0b2fbb3801aeed7c442517b54ffa8' }, h("div", { key: 'e122c095d856545b52d5958db10b8e982de73073', class: "row gy-3" }, h("div", { key: '9ddc0fa91765209b3fa393c0ebf17598af90b3b9', class: "col-12" }, h("h2", { key: 'a7e3001dbc2b36e20e2a1dd1d16b44a023610010', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '7b5481566998713ba87519b999e5acdf3eb0ef52', class: "col-12" }, h("form-control-textarea", { key: 'c67604fa2133a3ed9b5b67a7150e488673d21478', 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: '4b96c57d15060a0a6c42bede64110d67be557060', class: "col-12" }, h("form-control-textarea", { key: '60ddac4a5c2574461dbb28281b89851d0e89600c', 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: '42015bc3bbcbf208d39906d7b270776e3e90ddac', class: "col-12" }, h("form-control-file-v2", { key: '76365a80cd7068267a8a40c6be608a9344e884ce', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
32
32
  }
33
33
  static get is() { return "justifi-cancellation-policy"; }
34
34
  static get properties() {
@@ -28,7 +28,7 @@ export class CustomerDetails {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c, _d, _e;
31
- return (h("div", { key: 'f5442efc59bb6a99a87f90feb5a4a147019af940' }, h("div", { key: 'd0f97e7ca943bfe8e4846ea84838ab08dc3658ab', class: "row gy-3" }, h("div", { key: 'da7f41d96c717f921010786f593c3776e2644738', class: "col-12" }, h("h2", { key: '0f7d56f400ec0f4250bbf7c8b2b736e084c17ab0', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: 'eca73b10ec43454be35d4ec6e09b410b7a509b46', class: "col-12" }, h("form-control-text", { key: '1b67e031f3ac24b43319b09a01a5e297095ecc84', 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: '967326bb10e6d2a64b2f3f0bae99432f238e361c', class: "col-12" }, h("form-control-text", { key: 'fc7d83cc51728920d9f4849dd85f4f019bb50fe4', 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: '4e598f3e9bf118ddf22c4c160f0171c9789cd853', class: "col-12" }, h("form-control-textarea", { key: 'fe1c2e1a4c70ef463a31e890349a5b49f979e21b', 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: 'a4345bc3b39f913cc233baa21373a6d7d93d3cda', class: "col-12" }, h("form-control-file-v2", { key: '82cb1b948807d901845a23137b5d488c9edd53ae', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: 'ffc589785e6114d604c2d98d3140de5487dc8af6', class: "col-12" }, h("form-control-file-v2", { key: '5b6b64927e4b90cc6dbb302fbc0d2067b70c6f4a', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
31
+ return (h("div", { key: 'a8fde002d56a1c5ff7bace9e7ad8282b3e8396c1' }, h("div", { key: 'b1ec9e406e26de2bdb179afbfa3a9a7ad7612fe9', class: "row gy-3" }, h("div", { key: 'a0a31924c5cc7f0a35859899851e003eec970c50', class: "col-12" }, h("h2", { key: 'de62f11cc36fbf96a0a1d409cc35adba2e997bb8', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '65cd3d78b510ad95f97dcadcbb60d91caf950f22', class: "col-12" }, h("form-control-text", { key: 'e539cbbac218f3d1927f3ddccca4c0c0e958eec1', 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: 'a6eca53da11014123325064fe09b6df37709f113', class: "col-12" }, h("form-control-text", { key: '9b874331a62dffb2f00af002b0637fdd0f1a8d2c', 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: '69be313a715c3fe9a78ecffaca75b3a4dff5bed2', class: "col-12" }, h("form-control-textarea", { key: 'e366f5ebed7a117c2e1f4e1c3c3a740aa9e5475a', 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: '3b177078766a8b04f3de68889cb991b23c15752c', class: "col-12" }, h("form-control-file-v2", { key: '0d2cc6edded1211028460ef506ef470d14a09718', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '4a624251414dcfad4b5e2b6d34b99dc2ef9b59dc', class: "col-12" }, h("form-control-file-v2", { key: '442dc7cc2f851879ebb1504d761e2315c6f45141', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
32
32
  }
33
33
  static get is() { return "justifi-customer-details"; }
34
34
  static get properties() {
@@ -156,7 +156,7 @@ export class DisputeResponseCore {
156
156
  return this.currentStep === 0;
157
157
  }
158
158
  render() {
159
- return (h("div", { key: '09b09843d54a2dbced9788d16e244b2e59a3a78f', class: "row gy-3" }, h("div", { key: '6a3fe32d65ea1a74161d9ba9984543cf950e47ea', class: "col-12" }, h("h1", { key: 'bbb6f1334fd6b120e592117ba191d90b628e620f', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '19cbc45842294e9344dbffb725f5f053bf370af7', class: "col-12" }, this.currentStepComponent), h("div", { key: 'fa875ca152ea77fc4c8363216d8ba16c7699b597', class: "col-12" }, h("div", { key: 'fa7b62fff0cbac81c19ebad919f5dd54c3679e84', 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"))))));
159
+ return (h("div", { key: '41406d4115c2a084c84ca59895c0107af2a30e4d', class: "row gy-3" }, h("div", { key: '54f86cc1ffdb90a4ec738ca6cdac8165025ede65', class: "col-12" }, h("h1", { key: '28a0289b5926d7f4d04a658f13782d80aa96584a', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: 'abfcc8a09326b8d780647a644dd0b6e1deada071', class: "col-12" }, this.currentStepComponent), h("div", { key: 'e1bfbd12d9c6c86521d1d47cd4afb007960cdf9b', class: "col-12" }, h("div", { key: '3149002728d1953c116758ab48eb0a2481a68398', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
160
160
  }
161
161
  static get is() { return "justifi-dispute-response-core"; }
162
162
  static get properties() {
@@ -55,7 +55,7 @@ export class DisputeResponse {
55
55
  }
56
56
  }
57
57
  render() {
58
- return (h(StyledHost, { key: 'b90f636418c3e11b046d36dee9accf345756b407' }, h("justifi-dispute-response-core", { key: 'ff6e510faad54506eda24b1d8dc94b67afc18014', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
58
+ return (h(StyledHost, { key: '29abcdaed7ccbfee203794068c72354a5e1e0bab' }, h("justifi-dispute-response-core", { key: 'e0697cb6261d0b50d6adb6d33caa955d08e4e158', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
59
59
  }
60
60
  ;
61
61
  static get is() { return "justifi-dispute-response"; }
@@ -28,7 +28,7 @@ export class DuplicateCharge {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c;
31
- return (h("div", { key: '2b1fbb67aebf81b2cac878cfd86a71e31feb7288' }, h("div", { key: 'e05d18f73ae193c43ead170ca59e580172115c25', class: "row gy-3" }, h("div", { key: '0f0c24505bc9e14e79681e1686e61671027af940', class: "col-12" }, h("h2", { key: '0c5a6f6119c5178564ece36506e90d79cf0a2393', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'cb740c8a1b6ded55b53b4b402ec5ae3147b6c632', class: "col-12" }, h("form-control-text", { key: 'a89bae70a2cf7500d69d51d0e2a8b9f50dc6ed56', 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: '87ec40290b40beae641136a5caca878bf5b69d34', class: "col-12" }, h("form-control-textarea", { key: '3a87c44d1584949ac5ec444c28b26a043a697e90', 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: 'dc4fbe2c23c992d9bf72d1932d41886d3a4bd53a', class: "col-12" }, h("form-control-file-v2", { key: 'ee9e58fff423be4009bef08109b14a4acda8e39f', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
31
+ return (h("div", { key: 'fcf2b846ac2f612a53895836df0a5287da15b20a' }, h("div", { key: '953be0fa8732b94991d1c078a9102666e5a91a81', class: "row gy-3" }, h("div", { key: '60f7ef7802a5f3ff7cd2167ba747d37e258e3f99', class: "col-12" }, h("h2", { key: '3e1336abfca85298ee392459dfa22401a8e47259', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '75fa5b181b617cd68010e01f91a8513c9c828acb', class: "col-12" }, h("form-control-text", { key: 'b54f2d3d86aabc2072acaf2b961de118934bedcd', 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: '614f070bd6d0aad1e2e64c2e2f9c447402fd161a', class: "col-12" }, h("form-control-textarea", { key: 'a0653f81b9e237b669bfc47e7788b9027a1d5a6a', 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: 'f358128dbb1715a40841521f9602e30bb6c7d702', class: "col-12" }, h("form-control-file-v2", { key: 'ad7f1b8219560600ef3fba20a0b968a9d3930b3d', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
32
32
  }
33
33
  static get is() { return "justifi-duplicate-charge"; }
34
34
  static get properties() {
@@ -28,7 +28,7 @@ export class ElectronicEvidence {
28
28
  }
29
29
  render() {
30
30
  var _a, _b;
31
- return (h("div", { key: 'e23dbefec1d452aa3ba3cca69523eee0f5cfe923' }, h("div", { key: 'e1f11a356d05519b568b5bb65be9e8a1fc14e46f', class: "row gy-3" }, h("div", { key: 'a6208153a9a44d49e88f80d953477de8b40ed64b', class: "col-12" }, h("h2", { key: 'c80cc00343452fbf9d9ddacb6929d3a7e0a33f42', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '1ed5c9f72596f33f41431eb62e6338f60adc9ab3', class: "col-12" }, h("form-control-text", { key: 'dfb38a1c00b8b09849840f4a071fbaa12321f7a8', 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: 'd6f0a73cccf7eb2ea481836c6206ee39a0a21c6c', class: "col-12" }, h("form-control-file-v2", { key: '25dfd3efa3ec536f899fb263624bfea1b68dc397', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
31
+ return (h("div", { key: 'fb40a53ecb355271bfdff95eed90e6b5e4827ae9' }, h("div", { key: 'fcbcdd6a8bb4891ac5a3cb26d54d26d6f317f401', class: "row gy-3" }, h("div", { key: 'b605ae860e8e6efd21ee21ed851d23af5e813c04', class: "col-12" }, h("h2", { key: 'a7c8d699c79f92334f159025acbbe65969452594', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '1a623a273c2e6a82ffcb9c709d6953ba01590a02', class: "col-12" }, h("form-control-text", { key: '7d8b0ee30a8c7b6bef84f19fe7734484ba84b0e1', 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: 'd50d372a0881ce648fa61ba96e61f3f28d4136ae', class: "col-12" }, h("form-control-file-v2", { key: 'e635514b9a48cfabb7d16c53293585ad1740c608', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
32
32
  }
33
33
  static get is() { return "justifi-electronic-evidence"; }
34
34
  static get properties() {
@@ -28,7 +28,7 @@ export class ProductOrService {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c;
31
- return (h("div", { key: 'f1f7d30bd481b5e3b49d9aaffd6e9bc1266b3c17' }, h("div", { key: 'c41caefa4937db6b0669cd28e84b6918c719d8f0', class: "row gy-3" }, h("div", { key: 'be3b622f366017c7a8bdddfc363a0a46216de2ea', class: "col-12" }, h("h2", { key: '39374858f492c6e20e637dab0c73356fb6c6499d', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'c910f0b2a6c1574f2b09348e4d3b889a675bbfeb', class: "col-12" }, h("form-control-text", { key: '636616c14d388dd25c33d81220231f2e7b36ec2f', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '44da2982c48cd5da994aec38f5196205b25c4868', class: "col-12" }, h("form-control-date", { key: '6b5ff071f9e941caaadff9fbaf18501524f71fce', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '8ae3d7fbc3826f932ee14d98a48d90cf913606af', class: "col-12" }, h("form-control-file-v2", { key: '5990ebe0df1e74fd7b1d6a6cf1dd8d08cd680a68', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
31
+ return (h("div", { key: '53894694d5f6c1cfe7d8d699af69e4dc6c496fb8' }, h("div", { key: 'c1cb70ef48be5e50bdb1fd0d47416b48342f7620', class: "row gy-3" }, h("div", { key: '837aa7683621d26ee08a1f8f3b1f5ae65b63bd94', class: "col-12" }, h("h2", { key: '9c51ee3f6df442237cd3c23306f79b7e15fed133', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '259ea001a1896c34088a6a03a725564c5cd48a74', class: "col-12" }, h("form-control-text", { key: 'f237fc051614689b9b8c8227d6a6d7266a9adeaa', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: 'a0f7a0cb813c7ee2a4423abc1506f7c775ad9e07', class: "col-12" }, h("form-control-date", { key: 'fca7aef52b721fa472b5459b9dc47f95dca1ce76', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: 'f285bfe4242cc1179c5a7b4864b907101edeaebb', class: "col-12" }, h("form-control-file-v2", { key: '9ad064a5be5381cccbe33e4dc1e00879996ad513', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
32
32
  }
33
33
  static get is() { return "justifi-product-or-service"; }
34
34
  static get properties() {