@justifi/webcomponents 5.7.6-rc-03 → 5.7.6-rc-04

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 (414) hide show
  1. package/dist/cjs/{ComponentError-CEv9ltwy.js → ComponentError-D4OLnOkg.js} +8 -0
  2. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +3 -3
  3. package/dist/cjs/{business.service-CZrK48lv.js → business.service--Zv-Xtu4.js} +1 -1
  4. package/dist/cjs/card-form.cjs.entry.js +2 -2
  5. package/dist/cjs/{check-pkg-version-DBocF2eE.js → check-pkg-version-Bp51QhAR.js} +2 -2
  6. package/dist/cjs/{checkout.service-CllLA9W6.js → checkout.service-BBD6v0cl.js} +1 -1
  7. package/dist/cjs/{checkout.store--pVCO0L1.js → checkout.store-B58bewb_.js} +2 -1
  8. package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -2
  9. package/dist/cjs/custom-popper.cjs.entry.js +2 -2
  10. package/dist/cjs/{dispute.service-Chptj-DX.js → dispute.service-BHApwZdH.js} +1 -1
  11. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  12. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  13. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  14. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  15. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
  16. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  17. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  18. package/dist/cjs/form-control-select_3.cjs.entry.js +4 -4
  19. package/dist/cjs/{get-business-BiEc-jdH.js → get-business-o5jPq_ME.js} +2 -2
  20. package/dist/cjs/{get-payment-details-C3qBZVdv.js → get-payment-details-7PreAOdF.js} +2 -2
  21. package/dist/cjs/{get-payout-csv-CdNRRH0t.js → get-payout-csv-DE_D9y08.js} +2 -2
  22. package/dist/cjs/{get-subaccounts-DKyvT-ZF.js → get-subaccounts-CtelAONX.js} +2 -2
  23. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  24. package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
  25. package/dist/cjs/{insurance-state-kH0kuTD8.js → insurance-state-B3CYpJWi.js} +18 -0
  26. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +1 -1
  27. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +4 -4
  28. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
  29. package/dist/cjs/justifi-bank-account-form_7.cjs.entry.js +18 -17
  30. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +8 -5
  31. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  32. package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
  33. package/dist/cjs/justifi-checkout-summary_5.cjs.entry.js +51 -26
  34. package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
  35. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -2
  36. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +7 -7
  37. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
  39. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +8 -8
  40. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
  41. package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -8
  42. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +4 -4
  43. package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -6
  44. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
  45. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +6 -6
  46. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +6 -6
  47. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  48. package/dist/cjs/justifi-payments-list.cjs.entry.js +6 -6
  49. package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -6
  50. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +6 -6
  51. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  52. package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -8
  53. package/dist/cjs/justifi-refund-payment.cjs.entry.js +6 -6
  54. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +1 -1
  55. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
  56. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +3 -3
  57. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +6 -6
  58. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -2
  59. package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -7
  60. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +38 -12
  61. package/dist/cjs/loader.cjs.js +1 -1
  62. package/dist/cjs/{package-BM2FCIB8.js → package-BMSb1ui9.js} +1 -1
  63. package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
  64. package/dist/cjs/{payment-provisioning-actions-SNMCdsyF.js → payment-provisioning-actions-CZVlnRA0.js} +2 -2
  65. package/dist/cjs/{payment.service-C6kdaQYS.js → payment.service-C9qxqaJk.js} +1 -1
  66. package/dist/cjs/payments-list-core.cjs.entry.js +2 -2
  67. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  68. package/dist/cjs/{payout.service-CLnAr59x.js → payout.service-DiSYeR_q.js} +1 -1
  69. package/dist/cjs/payouts-list-core.cjs.entry.js +2 -2
  70. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  71. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -3
  72. package/dist/cjs/{terminal-orders-table-DTZUpjkG.js → terminal-orders-table-DnZjcbSQ.js} +1 -1
  73. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  74. package/dist/cjs/{terminal.service-CcBCXxNm.js → terminal.service-DEIY9toR.js} +1 -1
  75. package/dist/cjs/terminals-list-core.cjs.entry.js +2 -2
  76. package/dist/cjs/{utils-IGCnjtqc.js → utils-DvUQQLmR.js} +1 -1
  77. package/dist/cjs/webcomponents.cjs.js +1 -1
  78. package/dist/collection/actions/checkout/checkout-actions.js +2 -1
  79. package/dist/collection/api/ComponentError.js +8 -0
  80. package/dist/collection/collection-manifest.json +6 -6
  81. package/dist/collection/components/checkout/billing-form/billing-form.js +7 -4
  82. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  83. package/dist/collection/components/checkout/save-new-payment-method.js +7 -5
  84. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  85. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  86. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  87. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  88. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  89. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  90. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  91. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  92. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  93. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  94. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  95. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  96. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  97. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  98. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  99. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  100. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  101. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  102. package/dist/collection/components/insurance/insurance-state.js +18 -1
  103. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  104. package/dist/collection/components/modular-checkout/modular-checkout.js +43 -16
  105. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  106. package/dist/collection/components/modular-checkout/sub-components/billing-information-form.js +1 -1
  107. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  108. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  109. package/dist/collection/components/modular-checkout/sub-components/postal-code-form.js +1 -1
  110. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  111. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  112. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  113. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  114. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  115. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  116. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  117. package/dist/collection/components/payments-list/payments-list.js +1 -1
  118. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  119. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  120. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  121. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  122. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  123. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  124. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  125. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  126. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  127. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  128. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  129. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +37 -17
  130. package/dist/collection/store/checkout.store.js +2 -1
  131. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  132. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  133. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  134. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  135. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  136. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  137. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  138. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  139. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  140. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  141. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  142. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  143. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  144. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  145. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  146. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  147. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
  148. package/dist/docs.json +8 -13
  149. package/dist/esm/{ComponentError-BhrFjjAs.js → ComponentError-Cjcsf8ku.js} +9 -1
  150. package/dist/esm/bank-account-document-form-inputs_4.entry.js +3 -3
  151. package/dist/esm/{business.service-BPBxsb8B.js → business.service-ArD_uRLb.js} +1 -1
  152. package/dist/esm/card-form.entry.js +2 -2
  153. package/dist/esm/{check-pkg-version-Cic-MeLf.js → check-pkg-version-CwPXpnQZ.js} +2 -2
  154. package/dist/esm/{checkout.service-C1WAmUiU.js → checkout.service-BgDCPjQU.js} +1 -1
  155. package/dist/esm/{checkout.store-GXtlf5-4.js → checkout.store-td03RV8y.js} +2 -1
  156. package/dist/esm/checkouts-list-core.entry.js +2 -2
  157. package/dist/esm/custom-popper.entry.js +2 -2
  158. package/dist/esm/{dispute.service-bQh-LG0z.js → dispute.service-C2dMLW9w.js} +1 -1
  159. package/dist/esm/form-control-checkbox.entry.js +2 -2
  160. package/dist/esm/form-control-date.entry.js +2 -2
  161. package/dist/esm/form-control-file-v2_2.entry.js +3 -3
  162. package/dist/esm/form-control-monetary.entry.js +2 -2
  163. package/dist/esm/form-control-number-masked_2.entry.js +2 -2
  164. package/dist/esm/form-control-number.entry.js +2 -2
  165. package/dist/esm/form-control-radio.entry.js +2 -2
  166. package/dist/esm/form-control-select_3.entry.js +4 -4
  167. package/dist/esm/{get-business-BSRtbTh7.js → get-business-Crb6P-iI.js} +2 -2
  168. package/dist/esm/{get-payment-details-B193kh7P.js → get-payment-details-BN-K_5Ry.js} +2 -2
  169. package/dist/esm/{get-payout-csv-U_pgdPpb.js → get-payout-csv-D-Lnooki.js} +2 -2
  170. package/dist/esm/{get-subaccounts-DcgISPei.js → get-subaccounts-DrFpGKDV.js} +2 -2
  171. package/dist/esm/gross-payment-chart-core.entry.js +1 -1
  172. package/dist/esm/hidden-input_2.entry.js +5 -5
  173. package/dist/esm/insurance-state-BQks6cMA.js +39 -0
  174. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +1 -1
  175. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +4 -4
  176. package/dist/esm/justifi-additional-statement_8.entry.js +8 -8
  177. package/dist/esm/justifi-bank-account-form_7.entry.js +18 -17
  178. package/dist/esm/justifi-billing-form_2.entry.js +8 -5
  179. package/dist/esm/justifi-business-details.entry.js +6 -6
  180. package/dist/esm/justifi-business-form.entry.js +6 -6
  181. package/dist/esm/justifi-checkout-summary_5.entry.js +51 -26
  182. package/dist/esm/justifi-checkout.entry.js +4 -4
  183. package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -2
  184. package/dist/esm/justifi-checkouts-list.entry.js +7 -7
  185. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  186. package/dist/esm/justifi-dispute-management.entry.js +6 -6
  187. package/dist/esm/justifi-dispute-notification_3.entry.js +8 -8
  188. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
  189. package/dist/esm/justifi-order-terminals.entry.js +8 -8
  190. package/dist/esm/justifi-owner-form_3.entry.js +4 -4
  191. package/dist/esm/justifi-payment-details.entry.js +6 -6
  192. package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
  193. package/dist/esm/justifi-payment-provisioning.entry.js +6 -6
  194. package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
  195. package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
  196. package/dist/esm/justifi-payments-list.entry.js +6 -6
  197. package/dist/esm/justifi-payout-details.entry.js +6 -6
  198. package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
  199. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  200. package/dist/esm/justifi-payouts-list.entry.js +8 -8
  201. package/dist/esm/justifi-refund-payment.entry.js +6 -6
  202. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +1 -1
  203. package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
  204. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -3
  205. package/dist/esm/justifi-terminal-orders-list.entry.js +6 -6
  206. package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
  207. package/dist/esm/justifi-terminals-list.entry.js +7 -7
  208. package/dist/esm/justifi-tokenize-payment-method.entry.js +39 -13
  209. package/dist/esm/loader.js +1 -1
  210. package/dist/esm/{package-BRJ4FIJH.js → package-HlNEzyiZ.js} +1 -1
  211. package/dist/esm/payment-details-core.entry.js +8 -8
  212. package/dist/esm/{payment-provisioning-actions-2qP7AtHj.js → payment-provisioning-actions-ONP8lDnV.js} +2 -2
  213. package/dist/esm/{payment.service-BTVtIbcY.js → payment.service-DPsRcwWM.js} +1 -1
  214. package/dist/esm/payments-list-core.entry.js +2 -2
  215. package/dist/esm/payout-details-core.entry.js +3 -3
  216. package/dist/esm/{payout.service-j8w34GsW.js → payout.service-CoVFefK5.js} +1 -1
  217. package/dist/esm/payouts-list-core.entry.js +2 -2
  218. package/dist/esm/table-filters-menu.entry.js +1 -1
  219. package/dist/esm/terminal-orders-list-core.entry.js +3 -3
  220. package/dist/esm/{terminal-orders-table-BWf9quiN.js → terminal-orders-table-Da4IvBtB.js} +1 -1
  221. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  222. package/dist/esm/{terminal.service-BDRGcUj-.js → terminal.service-CnPV1i9J.js} +1 -1
  223. package/dist/esm/terminals-list-core.entry.js +2 -2
  224. package/dist/esm/{utils-BZvep88z.js → utils-BeQLScSm.js} +1 -1
  225. package/dist/esm/webcomponents.js +1 -1
  226. package/dist/module/Refund.js +9 -1
  227. package/dist/module/additional-statement.js +1 -1
  228. package/dist/module/bank-account.js +2 -2
  229. package/dist/module/billing-form.js +7 -4
  230. package/dist/module/billing-information-form.js +1 -1
  231. package/dist/module/business-bank-account-form-step-core.js +1 -1
  232. package/dist/module/cancellation-policy.js +1 -1
  233. package/dist/module/card-form.js +2 -2
  234. package/dist/module/card-form2.js +2 -2
  235. package/dist/module/checkout.store.js +2 -1
  236. package/dist/module/checkouts-list-core2.js +1 -1
  237. package/dist/module/custom-popper2.js +2 -2
  238. package/dist/module/customer-details.js +1 -1
  239. package/dist/module/dispute-management-core.js +1 -1
  240. package/dist/module/dispute-notification.js +1 -1
  241. package/dist/module/dispute-response-core.js +1 -1
  242. package/dist/module/dispute-response.js +1 -1
  243. package/dist/module/duplicate-charge.js +1 -1
  244. package/dist/module/electronic-evidence.js +1 -1
  245. package/dist/module/form-control-checkbox2.js +2 -2
  246. package/dist/module/form-control-date2.js +2 -2
  247. package/dist/module/form-control-file-v22.js +1 -1
  248. package/dist/module/form-control-file2.js +2 -2
  249. package/dist/module/form-control-monetary2.js +2 -2
  250. package/dist/module/form-control-number-masked2.js +2 -2
  251. package/dist/module/form-control-number.js +2 -2
  252. package/dist/module/form-control-radio2.js +2 -2
  253. package/dist/module/form-control-select2.js +2 -2
  254. package/dist/module/form-control-text2.js +2 -2
  255. package/dist/module/form-control-textarea2.js +2 -2
  256. package/dist/module/gross-payment-chart-core2.js +1 -1
  257. package/dist/module/hidden-input2.js +1 -1
  258. package/dist/module/iframe-input2.js +3 -3
  259. package/dist/module/insurance-state.js +18 -1
  260. package/dist/module/justifi-button2.js +1 -1
  261. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  262. package/dist/module/justifi-checkouts-list.js +2 -2
  263. package/dist/module/justifi-dispute-management.js +1 -1
  264. package/dist/module/justifi-header2.js +1 -1
  265. package/dist/module/justifi-modular-checkout.js +2 -2
  266. package/dist/module/justifi-order-terminals.js +2 -2
  267. package/dist/module/justifi-payment-transactions-list.js +2 -2
  268. package/dist/module/justifi-payments-list-filters.js +2 -2
  269. package/dist/module/justifi-payments-list.js +1 -1
  270. package/dist/module/justifi-payout-details.js +1 -1
  271. package/dist/module/justifi-payout-transactions-list.js +2 -2
  272. package/dist/module/justifi-payouts-list-filters.js +2 -2
  273. package/dist/module/justifi-payouts-list.js +2 -2
  274. package/dist/module/justifi-radio-list-item2.js +1 -1
  275. package/dist/module/justifi-refund-payment.js +1 -1
  276. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  277. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  278. package/dist/module/justifi-terminal-orders-list.js +2 -2
  279. package/dist/module/justifi-terminals-list-filters.js +2 -2
  280. package/dist/module/justifi-terminals-list.js +2 -2
  281. package/dist/module/justifi-tokenize-payment-method.js +36 -10
  282. package/dist/module/modular-checkout.js +46 -19
  283. package/dist/module/package.js +1 -1
  284. package/dist/module/payment-details-core2.js +8 -8
  285. package/dist/module/payment-method-option2.js +1 -1
  286. package/dist/module/payments-list-core2.js +1 -1
  287. package/dist/module/payout-details-core2.js +3 -3
  288. package/dist/module/payouts-list-core2.js +1 -1
  289. package/dist/module/postal-code-form.js +1 -1
  290. package/dist/module/product-or-service.js +1 -1
  291. package/dist/module/refund-policy.js +1 -1
  292. package/dist/module/save-new-payment-method.js +7 -5
  293. package/dist/module/shipping-details.js +1 -1
  294. package/dist/module/summary.js +1 -1
  295. package/dist/module/table-filters-menu2.js +1 -1
  296. package/dist/module/terminal-orders-list-core2.js +2 -2
  297. package/dist/module/terminal-quantity-selector2.js +1 -1
  298. package/dist/module/terminals-list-core2.js +1 -1
  299. package/dist/types/api/ComponentError.d.ts +7 -0
  300. package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
  301. package/dist/types/components/insurance/insurance-state.d.ts +2 -1
  302. package/dist/types/components/modular-checkout/modular-checkout.d.ts +2 -2
  303. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +8 -4
  304. package/dist/types/components.d.ts +2 -2
  305. package/dist/types/store/checkout.store.d.ts +2 -1
  306. package/dist/webcomponents/p-00c2f5d5.entry.js +1 -0
  307. package/dist/webcomponents/{p-f67133f0.entry.js → p-046fee8c.entry.js} +1 -1
  308. package/dist/webcomponents/p-0a0ed7a4.entry.js +1 -0
  309. package/dist/webcomponents/{p-3add112c.entry.js → p-0cb64945.entry.js} +1 -1
  310. package/dist/webcomponents/{p-f6ad1d58.entry.js → p-0e44afa7.entry.js} +1 -1
  311. package/dist/webcomponents/p-16583f91.entry.js +1 -0
  312. package/dist/webcomponents/{p-a95db9a6.entry.js → p-195cf5cc.entry.js} +1 -1
  313. package/dist/webcomponents/{p-c0bd6405.entry.js → p-1b1fe3de.entry.js} +1 -1
  314. package/dist/webcomponents/{p-8a1171de.entry.js → p-1c7d9b90.entry.js} +1 -1
  315. package/dist/webcomponents/p-1ce1df1e.entry.js +1 -0
  316. package/dist/webcomponents/{p-dd3749ed.entry.js → p-24e1a686.entry.js} +1 -1
  317. package/dist/webcomponents/{p-628cf20a.entry.js → p-2abf1785.entry.js} +1 -1
  318. package/dist/webcomponents/{p-7929bdae.entry.js → p-2dcf196f.entry.js} +1 -1
  319. package/dist/webcomponents/{p-19c07145.entry.js → p-302f7632.entry.js} +1 -1
  320. package/dist/webcomponents/{p-b860ec37.entry.js → p-39ca43e0.entry.js} +1 -1
  321. package/dist/webcomponents/p-3eb5f196.entry.js +1 -0
  322. package/dist/webcomponents/p-4045631f.entry.js +1 -0
  323. package/dist/webcomponents/{p-366dba79.entry.js → p-429618a4.entry.js} +1 -1
  324. package/dist/webcomponents/{p-f9bddc04.entry.js → p-444fb5a6.entry.js} +1 -1
  325. package/dist/webcomponents/{p-a9ed792e.entry.js → p-45b0a91c.entry.js} +1 -1
  326. package/dist/webcomponents/{p-b9d1d9dd.entry.js → p-4907e95b.entry.js} +1 -1
  327. package/dist/webcomponents/p-4a0a4314.entry.js +1 -0
  328. package/dist/webcomponents/{p-9bf095d2.entry.js → p-4aaaa44e.entry.js} +1 -1
  329. package/dist/webcomponents/{p-97429fb4.entry.js → p-4b34b9af.entry.js} +1 -1
  330. package/dist/webcomponents/{p-BxfUcCXo.js → p-5aA7gjr5.js} +1 -1
  331. package/dist/webcomponents/p-5e71f4d4.entry.js +1 -0
  332. package/dist/webcomponents/{p-2437703b.entry.js → p-6a06da8a.entry.js} +1 -1
  333. package/dist/webcomponents/p-6bafb4b5.entry.js +1 -0
  334. package/dist/webcomponents/{p-8b2f81b4.entry.js → p-6d1f2d57.entry.js} +1 -1
  335. package/dist/webcomponents/{p-d69d09e6.entry.js → p-75545aec.entry.js} +1 -1
  336. package/dist/webcomponents/p-7b07255f.entry.js +1 -0
  337. package/dist/webcomponents/p-7b925204.entry.js +1 -0
  338. package/dist/webcomponents/{p-c70dc6bd.entry.js → p-831857dc.entry.js} +1 -1
  339. package/dist/webcomponents/p-85c0953d.entry.js +1 -0
  340. package/dist/webcomponents/p-85ebdce5.entry.js +1 -0
  341. package/dist/webcomponents/{p-bbd0aa4e.entry.js → p-880718b9.entry.js} +1 -1
  342. package/dist/webcomponents/p-88b6dbdd.entry.js +1 -0
  343. package/dist/webcomponents/p-8e0c6f60.entry.js +1 -0
  344. package/dist/webcomponents/p-90edbaa3.entry.js +1 -0
  345. package/dist/webcomponents/{p-d3c966f4.entry.js → p-97c0d873.entry.js} +1 -1
  346. package/dist/webcomponents/p-9e48a264.entry.js +1 -0
  347. package/dist/webcomponents/{p-BtT7kqMw.js → p-B3qJZUMy.js} +1 -1
  348. package/dist/webcomponents/{p-ClSZshaa.js → p-BNd9xVOU.js} +1 -1
  349. package/dist/webcomponents/{p-RXUoM7A2.js → p-BZ9YQ3FA.js} +1 -1
  350. package/dist/webcomponents/{p-D0Ko1H7J.js → p-Bka75aL-.js} +1 -1
  351. package/dist/webcomponents/p-Cjcsf8ku.js +1 -0
  352. package/dist/webcomponents/p-D2muobcE.js +1 -0
  353. package/dist/webcomponents/p-DH8F0bsw.js +1 -0
  354. package/dist/webcomponents/{p-Dn0KGDtq.js → p-DMuY7Dka.js} +1 -1
  355. package/dist/webcomponents/p-DYGIC0QH.js +1 -0
  356. package/dist/webcomponents/{p-1Or21UzV.js → p-DgxD9dbc.js} +1 -1
  357. package/dist/webcomponents/{p-Ph6Ebeu2.js → p-Do0fsKZk.js} +1 -1
  358. package/dist/webcomponents/p-HlNEzyiZ.js +1 -0
  359. package/dist/webcomponents/{p-BJuv5Y2i.js → p-O50LiN_p.js} +1 -1
  360. package/dist/webcomponents/{p-DZR542ci.js → p-S_UV9-px.js} +1 -1
  361. package/dist/webcomponents/p-X2PeOHf5.js +1 -0
  362. package/dist/webcomponents/p-_WsRuUBr.js +1 -0
  363. package/dist/webcomponents/{p-acf4c099.entry.js → p-a3c6c55e.entry.js} +1 -1
  364. package/dist/webcomponents/p-af935779.entry.js +1 -0
  365. package/dist/webcomponents/p-b01801a6.entry.js +1 -0
  366. package/dist/webcomponents/p-b58fb1b1.entry.js +1 -0
  367. package/dist/webcomponents/{p-d49b80b1.entry.js → p-b8906c49.entry.js} +1 -1
  368. package/dist/webcomponents/p-c1bf875b.entry.js +1 -0
  369. package/dist/webcomponents/p-c26ef276.entry.js +1 -0
  370. package/dist/webcomponents/{p-ede5eb9d.entry.js → p-c5331724.entry.js} +1 -1
  371. package/dist/webcomponents/p-c6bd05ef.entry.js +1 -0
  372. package/dist/webcomponents/{p-8aefc49f.entry.js → p-d5e4e888.entry.js} +1 -1
  373. package/dist/webcomponents/{p-0dcc215b.entry.js → p-e9c44dc2.entry.js} +1 -1
  374. package/dist/webcomponents/{p-18aa8190.entry.js → p-edf9128c.entry.js} +1 -1
  375. package/dist/webcomponents/{p-c06bd8ea.entry.js → p-f3c2de89.entry.js} +1 -1
  376. package/dist/webcomponents/{p-8027e13f.entry.js → p-f6ff7255.entry.js} +1 -1
  377. package/dist/webcomponents/{p-ca6d05f9.entry.js → p-f8a0821d.entry.js} +1 -1
  378. package/dist/webcomponents/p-fcb6c171.entry.js +1 -0
  379. package/dist/webcomponents/{p-889e8be8.entry.js → p-fd4d7c7e.entry.js} +1 -1
  380. package/dist/webcomponents/{p-ButA5T4e.js → p-pMAKJWDL.js} +1 -1
  381. package/dist/webcomponents/webcomponents.esm.js +1 -1
  382. package/package.json +1 -1
  383. package/dist/esm/insurance-state-DeyYNyas.js +0 -22
  384. package/dist/webcomponents/p-072d93c9.entry.js +0 -1
  385. package/dist/webcomponents/p-1f76ae29.entry.js +0 -1
  386. package/dist/webcomponents/p-20eb7015.entry.js +0 -1
  387. package/dist/webcomponents/p-24f30623.entry.js +0 -1
  388. package/dist/webcomponents/p-2abae807.entry.js +0 -1
  389. package/dist/webcomponents/p-35411771.entry.js +0 -1
  390. package/dist/webcomponents/p-48e406f1.entry.js +0 -1
  391. package/dist/webcomponents/p-4d0373a7.entry.js +0 -1
  392. package/dist/webcomponents/p-5cb87816.entry.js +0 -1
  393. package/dist/webcomponents/p-66422cbd.entry.js +0 -1
  394. package/dist/webcomponents/p-7a52bdb5.entry.js +0 -1
  395. package/dist/webcomponents/p-7e24a1f7.entry.js +0 -1
  396. package/dist/webcomponents/p-98b6943a.entry.js +0 -1
  397. package/dist/webcomponents/p-9c1e3fb8.entry.js +0 -1
  398. package/dist/webcomponents/p-BRJ4FIJH.js +0 -1
  399. package/dist/webcomponents/p-BeNhCG1Q.js +0 -1
  400. package/dist/webcomponents/p-BhrFjjAs.js +0 -1
  401. package/dist/webcomponents/p-DKClunJd.js +0 -1
  402. package/dist/webcomponents/p-NqdaxjDT.js +0 -1
  403. package/dist/webcomponents/p-b893d5fa.entry.js +0 -1
  404. package/dist/webcomponents/p-baa04544.entry.js +0 -1
  405. package/dist/webcomponents/p-bf2ba40d.entry.js +0 -1
  406. package/dist/webcomponents/p-c0955693.entry.js +0 -1
  407. package/dist/webcomponents/p-c6473b9b.entry.js +0 -1
  408. package/dist/webcomponents/p-d1c1c642.entry.js +0 -1
  409. package/dist/webcomponents/p-dfaf5b14.entry.js +0 -1
  410. package/dist/webcomponents/p-eccb77fa.entry.js +0 -1
  411. package/dist/webcomponents/p-eefe4d71.entry.js +0 -1
  412. package/dist/webcomponents/p-f4f3bca9.entry.js +0 -1
  413. package/dist/webcomponents/p-pGzabKc7.js +0 -1
  414. package/dist/webcomponents/p-xIyLUOJ6.js +0 -1
@@ -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: '7cc7815e442607861f28d3a2c44c2314e5f288c2' }, h(TableComponent, { key: 'b7ff3fb1d1a6151dd9bd355dc04cd30e2b7ef174' }, h(TableHead, { key: 'e2d3be6f85b92bceee3def625ae80a2d4415318a' }, h(TableHeadRow, { key: 'a24164587b70030af7efc786df1958a31c43307e' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'fea7a2fa1f7a61337a290c9dd7bb5942acb2a29f' }, h(TableLoadingState, { key: '381755dd2938ace4c86fef3d86c1f681df28ef86', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'd39665ea747895882319d062c572e22780540530', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '6f2a08b3a95523d001f5117a7c184d4d44007dde', 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: '261f45cc678d78239ab91211150e9613c4939445' }, h(TableFootRow, { key: 'b3db62b2c0a367905c8ef9bfd7c9a7d4d4eff657' }, h(TableFootCell, { key: '00bd8777ad5b3b6fe990741f20aaf35c2a8e8b2b', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '63bd0ddf6f5c53aff52c6744a70f419afac1067a', 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: 'd025c4862f0245938f09ea574379b262252a4e7e' }, h("table-filters-menu", { key: 'acd9800c723d7e956ee237e1d7944e58d5c4f332', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: '453749cdaa376a051dbf1acdbedfa625a0c77c5c', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '8b83f81027c68ef9b47623ea66dc471aecf28ac4', class: "p-2" }, h("form-control-select", { key: '74e2548e0f96d63978e6fffe58ae1ca32b5fd4ee', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: 'ea1fe571e4cc2ae9e2d2a62d7205e27fa1c7dc3f', class: "p-2" }, h("form-control-select", { key: 'e948b0e57ab03d31c32a036c24f1a29a45b5a90c', 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: '073b7fb919a3f4d008a81cc7e13fb8ad72fed26c' }, h("checkouts-list-core", { key: '232229d4af023570ac261fda6df120a9451304cf', 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: 'bb50db485b666c8a69826d3ccdccb19e1defff7f' }, 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: 'b1139bacd020b346ffe8953489c972ae7bf35076', 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: 'b2fe02d9cc805d8bd9a9a7c7e24aa447bb506368' }, this.isLoading && (h("div", { key: '3e8b6996ba3bd3b6cee9ff6aa40de111d63d6e49', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'a9b5a6b69637c1fcff54d0d057a9c1d555b05333', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '771b72567728b6ffcc3dd393a9c7e289ffb49939', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '10bbcae1a4bd006394a71ad9d93ba2c2ab00174c', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '4c34718dfa9622a045c3d7ee5c45415b87ba43d2', part: text }, h("h1", { key: '6df61476d7e98b819722ecfd94eb74b25b1165b8', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '3274dd90180201005e0c281c18bea8e794c1fae6' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '0498b48e2a1f1ca5bc0f660ee5e515fea03cb171', class: "h5" }, "Dispute details"), h("div", { key: '65307411698be9a095eebfe5d8783c211b41d174', class: "d-table gap-2" }, h("div", { key: '64363e176ce32bcbdc670f73e07548893946aedd', class: "d-table-row gap-2" }, h("span", { key: '20bfe036e146209037512e63abe1c6c9c6996384', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '7bc3b39608079b9627047e50d5d534b0722a85cd', 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: '9fe0319d887d357f1db48ea0fea0234d183b837e', class: "d-table-row gap-2" }, h("span", { key: 'dfb7291c466865477e2f3e91aca16d4e8b0b388f', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '08a88fdf4888617b3bb6812dee8d0e3b3067b9fa', 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: 'e8ed2895586fa7c4d95bc074099d2ef1c84c662d', class: "d-table-row gap-2" }, h("span", { key: '2776f7600495b448feec656e078c02935d564074', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: 'd6122984a16b4eae7b1ee6aed85d43364ab14097', 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: '66ffc380b6703cc0d6e5e1dc36969471eff5888a', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '733d1bad942cab95915f9ec95a394db669501251', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '37b2245252ec8e44ee1e2d16244a37915bf233e7', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'ce261f2fffe22a31a8342dd4bfca31da31853ae2' }, h("h1", { key: '2005fa90f8ca5c53cd4f3835a0ce5b6a02e7d88b', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '37b92daa4a6efa2d1b8d38722b4cb34292145407' }, "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: '71e849f41c4fb6594818f89a4a8358289396c121' }, h("h1", { key: '4a06746430e79e0117ce7bb7e6997f7c606ebad5', class: "h4" }, "This payment was disputed"), h("p", { key: 'e72309f0d54c499c5cb9fca1e088c95b6b341a80' }, "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: 'ca1aae552813c4d6d7d952e512f8c8bfd5815957' }, h("h1", { key: '1d7644c907dbcdafc010ad5f44570306669f3f25', class: "h4" }, "This payment was disputed"), h("p", { key: '2b69366146a32a2005789d07c8af8ce4158148c3' }, "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: '686ebb005923c2df03dec6f05977d4ed8bbe1b1e' }, h("div", { key: 'e5bb57b324a91aa1154c89dc7c548aef2a70f76a', class: "row gy-3" }, h("div", { key: '26ae3376f6653beab2a4572bc83384d24a034431', class: "col-12" }, h("h2", { key: '7792382e19a3d18f2f1f7e3679cf1ff6ad35fc83', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '19c1fe984e98710a7813434ea43adc899356d0d6', class: "col-12" }, h("form-control-textarea", { key: '7da7574a1de7db45d8ddf8d8087926cc88cd35b4', 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: '1de73fdb832720a55a846dff82c87d2563258d29', class: "col-12" }, h("form-control-file-v2", { key: '08bc29c797e0f4aa74fc8c923558750e8783c5fb', 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: '61b69ec93db4a7db558da94bc8cd6733cf899930' }, h("div", { key: '5d1840eb3f53fbf8d5a711834efb015612dbc786', class: "row gy-3" }, h("div", { key: '578b5bea33ce2f0fe5e9c2572123ea3ca6860f66', class: "col-12" }, h("h2", { key: '179ac995f6e78ae4168f3d829daa6129d2e9bf01', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'f8d1c91d81a40203ba35b8fbc695638ada34da34', class: "col-12" }, h("form-control-textarea", { key: '78a148644044a9fa027b5b504013421cbb01e666', 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: 'e27342fc306dba906bcf5a053355a16b58324012', class: "col-12" }, h("form-control-textarea", { key: 'c39b5b3b4002b18473926aa8b1d47824aab0e9f5', 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: '60dec8249d28d9a48343fd856f584abf47556195', class: "col-12" }, h("form-control-file-v2", { key: 'c2de0f5fa9e3038638de8012dbb4567cc9a504cb', 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: '01163af3a6dbabca775254bdb90da66ffb62cca8' }, h("div", { key: '7e98298f376b7056bbfdbd41e9cd2793f00e0ff8', class: "row gy-3" }, h("div", { key: 'e3b10ab604f20fdc5d874e3a1c77bacd4a1746d5', class: "col-12" }, h("h2", { key: 'd5b22b72070c963cffbccd57ca3322edb0a198e3', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: 'b0800a7bc02f7b22123371d6fb4eadf1d9eef8aa', class: "col-12" }, h("form-control-text", { key: 'c140ab7b81904344865eda42a8f6d3d0cc413395', 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: '9bbca63f79eda4f71b5ebddf4060aee74346e49d', class: "col-12" }, h("form-control-text", { key: '98e9696d1c4860812bafb9a7aef7403795781670', 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: '43723a4602edf0d82835aa43e05469ab10f85be5', class: "col-12" }, h("form-control-textarea", { key: 'b82d7711f8eade838417af050e4ae26c7fd95c31', 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: 'd092e59b71ab599c198dca09e531e9efd8829924', class: "col-12" }, h("form-control-file-v2", { key: '6f647a9121a2a238d5fc88679a73f31e1edf64a1', 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: '2f2b981021ba06530dd474d201e41c75e2d1edb3', class: "col-12" }, h("form-control-file-v2", { key: '90c20405df7197f93f1e73bb4c381afb7d6cea88', 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: '3f00a6b94c956c235145b6b5a91a097867ca00ef', class: "row gy-3" }, h("div", { key: '7bc1bcda8f5748999359a5286f69bddec6d92bc6', class: "col-12" }, h("h1", { key: '0b9ab07a2b421f9a61662a40341e464bf91c7edd', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: 'e8782ca7ad6a04f270df67b2242b525ec52310d5', class: "col-12" }, this.currentStepComponent), h("div", { key: 'a305428bc3ff3801bdb7c2d086bd3b10d39c6eed', class: "col-12" }, h("div", { key: 'dac35a130c1c33df3b99505d7680d8affaac9906', 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: '757f300705d786610e958ecd2e574ec6294eb3a2' }, h("justifi-dispute-response-core", { key: 'c451a27a530b06072829dff517d85d2f0afd65ae', "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: '0f5f659e4d683e122205cbeeb2cb9986af3b13de' }, h("div", { key: 'a9f2910fedb5c5b3367db1a36e0aacdb1a96f38f', class: "row gy-3" }, h("div", { key: 'bb6a3f733f7620c198b76c827ffbd50eee9415e2', class: "col-12" }, h("h2", { key: 'd976f202ed4fa871e57fa5e0ce9b4a6042c2c292', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '684b857d0cc6ca2695b66fdf1edeaebfdaa9226b', class: "col-12" }, h("form-control-text", { key: '4e6ca5dd148141e590c6a883f2b58ee7a754d81a', 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: '1b1ecb53c5eada4d1e31b73f64b37893479fd0e9', class: "col-12" }, h("form-control-textarea", { key: '3b4e38dedb3cd53afc191639150fa2b2e1bfbcf4', 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: 'fe4687a70ea0d9f3e76bdc09d4311f18f78fe2e4', class: "col-12" }, h("form-control-file-v2", { key: 'aa6707c20292f7167b76a9100ef24aefde3ec729', 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: 'c5cfda0599b55ba1e9df3361d7bb5b417fc44961' }, h("div", { key: 'bcdd174428a0712fcc00e2f70b62a79882254389', class: "row gy-3" }, h("div", { key: '4d6f2f5dae0398067a19537b4ebdfdeb5dbf0386', class: "col-12" }, h("h2", { key: '6e1bd9467724bf8bf3f37306e2141fab16fdef1b', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'b51096b1e38057f637bc65252c3e3208f4909c7f', class: "col-12" }, h("form-control-text", { key: '6d337d08e6c34f282f8dd39f67e398ff97afcdfc', 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: 'f7d15788e604d9b0fd5d8a79b4783a1f698e89fe', class: "col-12" }, h("form-control-file-v2", { key: 'ea0d2bf4b37df20ddcd9aa4cda505d978ede92bf', 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: '410e15dcd25e97ecc0d32f0d7c3c88d0412e8c38' }, h("div", { key: '39b8aeb37909ead1547f0a6bf5109f596846b291', class: "row gy-3" }, h("div", { key: '10a124dd96a230707c4aa0031f013cbb1c5b4881', class: "col-12" }, h("h2", { key: '2fdee4a50c3bd2b69dbaa5750c7f76cd952f8e68', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '1231676aa960d6ca5580bb532a46e3eed2bc57bf', class: "col-12" }, h("form-control-text", { key: 'b6e4ffa07b1ae79a385cd8b37c4af9c8b1bcea9c', 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: '8e137d3db8a89fef565ef1b85d36743dbecaa191', class: "col-12" }, h("form-control-date", { key: 'b5b121bfae9dcc847c95cfb22e76988a71b21def', 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: '5176c6bd5bdb0a2f5f2a60fdcf43f679cada509e', class: "col-12" }, h("form-control-file-v2", { key: '6c2594ff9d3cf25cc707b0a44f39a6c05489f572', 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() {
@@ -28,7 +28,7 @@ export class RefundPolicy {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c, _d;
31
- return (h("div", { key: '75d1e4a99166f8b8f112746fd5a786ed4b41b6ae' }, h("div", { key: 'c4a137ad32f0a0e5580061b1cc2443399d5baf15', class: "row gy-3" }, h("div", { key: '8b864aacd4b1334f9a5e7ffdf116345db20aac58', class: "col-12" }, h("h2", { key: 'e319c7e0d2ebedf204e6845fb977651b96f4a9b8', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '72cc1aff194c70395f8002b4af6842cd42046d80', class: "col-12" }, h("form-control-textarea", { key: '798219393da9f68198205bb877a5a3aa2ac2d1bb', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: 'bc0d341abb63327da6d97fba120c34aebabd50b3', class: "col-12" }, h("form-control-textarea", { key: '2aa931300951be7897d9ba4adeda6be5e94a00d8', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'c3cad588c5b40a6133920a0c43f71d7b172abdab', class: "col-12" }, h("form-control-file-v2", { key: '8f2184a0d95804a85d61de763c14b1a6fb44c566', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '183f6286e96694e54fd31213b514349a43d0446f', class: "col-12" }, h("form-control-file-v2", { key: 'e3f97404946c8e6a813d397141d10e372df5f520', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
31
+ return (h("div", { key: 'bfafd93af052c07f799f5d1985224b91a43ee2b2' }, h("div", { key: 'd27f8f7d3f32fd505f26f505e5134246205dff91', class: "row gy-3" }, h("div", { key: '61fda5a34f871d4249b9ca1ffc286aa7293f5d7b', class: "col-12" }, h("h2", { key: '1555d161a6dece38cc4bfcf041cbe6c88e595fe3', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '1ee55607ccec0487074a9ef7e925ce5dce854e45', class: "col-12" }, h("form-control-textarea", { key: '6671ba0ff6396005c97694ff496b7bccdf9cc80f', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '649bf89ca1ff416050b2a5740ee6be97fd41cf10', class: "col-12" }, h("form-control-textarea", { key: '1178960db11c981e0b02a6d22dfd1fa746649d50', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'f95ca250129870d80862d338e8151406ee8d6d04', class: "col-12" }, h("form-control-file-v2", { key: '546f2d6a3f3a43afd67d38de3a550735971f4d46', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '1c9379943c0dd4b5344bed35d85b1085bcc92c5d', class: "col-12" }, h("form-control-file-v2", { key: '972f3d60d4e739c092dd4de609814701a99cf220', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
32
32
  }
33
33
  static get is() { return "justifi-refund-policy"; }
34
34
  static get properties() {
@@ -29,7 +29,7 @@ export class ShippingDetails {
29
29
  }
30
30
  render() {
31
31
  var _a, _b, _c, _d, _e;
32
- return (h("div", { key: 'a0907d5f1fe8d40876f816b6d332dbb0d9afe975' }, h("div", { key: '3f22d56b30227d9ce0d22dc45c4e29bba60b5366', class: "row gy-3" }, h("div", { key: 'ec768dcf266527e981712f55cdb1921d0e6ef257', class: "col-12" }, h("h2", { key: '0b0e92ba9164941f48e1162937d7bd694683b206', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '2a5f5508c7f8b1a3a674d4bd18a2cba725ff86e7', class: "col-12" }, h("form-control-text", { key: 'deb04aa47dee3269ad8ad84b59edfdf251207520', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: 'e340cf8f480c335b7e565e7d4bf052685bc3f78f', class: "col-12" }, h("form-control-text", { key: '8e3d040776e821518c0d04ea8d0da2d0ddb75cd3', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '71dab91e7befe734db1b8f02bb3fd8d1b8180ab8', class: "col-12" }, h("form-control-date", { key: 'f257e98c81762700c7164a8cbd86764ebe4e4353', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: 'e69255a96e9292fea2269f7f0a7888e53e5a8be7', class: "col-12" }, h("form-control-textarea", { key: 'b40386270d12484982d81a85db0e95853f76ec58', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '23f2a4dabdaefef86940ae03e00a5d240d061a2f', class: "col-12" }, h("form-control-file-v2", { key: '6db6eb9ed1803d7c25f2b9dd03955be7e9c41a34', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
32
+ return (h("div", { key: '31b6e5c103875a0b61fa03a7c9ddb42d62cf9cfc' }, h("div", { key: '5586da5e8e052126d3418278904b9822f16ad70c', class: "row gy-3" }, h("div", { key: '3a4ac6e494ccd1f2179f87555d0035545a3d0448', class: "col-12" }, h("h2", { key: '234210d22dcc7d746bcc706f5e905d19dd9888a0', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '9f485ea4dd7f31ac4929c622ed6f1bfbf2768033', class: "col-12" }, h("form-control-text", { key: '3c75220f8a00d84ff577351a879558e4d531110f', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: 'e9a43cffae3dabb6c26db05bd4dc3e64c6aaa50b', class: "col-12" }, h("form-control-text", { key: 'ce1a535d12f24b8da38c4d5a30a82c911c6883bb', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '6ac1abd518eb2e179c5f7cdd06d8839070592a31', class: "col-12" }, h("form-control-date", { key: 'c4de43f8e142de7fd456585ebde520bc0b7057b3', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '08118d7b5c6b8ce369a77e006fbb9692783b9b95', class: "col-12" }, h("form-control-textarea", { key: 'ec225a70e5b9ad7644a0e64285f5b4c70550aeb8', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '861a6a17423958ebfc5e085b497e38e0a5e2aa1e', class: "col-12" }, h("form-control-file-v2", { key: '91fa66a2ec51abb1d31bbb95e23fd7659f107afe', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
33
33
  }
34
34
  static get is() { return "justifi-shipping-details"; }
35
35
  static get properties() {
@@ -19,7 +19,7 @@ export class TableFiltersMenu {
19
19
  this.showClearButton = hasFilters(this.params);
20
20
  }
21
21
  render() {
22
- return (h("div", { key: 'b270a6f9e52e45e958bb02e31569d4f56135ee25', class: "d-flex gap-2" }, h("div", { key: '76d9eef0672c27ec28a95bc062f946739a2c5dc7', class: "dropdown pb-3" }, h("button", { key: '3de6afb2c92bde835ae894e7548b3e07b86fb0bf', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: 'de744460fb721b5949ca0cfcf6a751e4b6a008d0', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'c8b6d3e8e28b90fb3dedd80e71c7a8a0f30b6a8f', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '44e50fab6d4f6c7a76f90659cced1c61e94ec43d' })))), h("div", { key: 'b5ec37cc1f28005c2b87b14bd10b74e619012ce5' }, h(Button, { key: '5bae9de44fcdb6e015ac3311945bdcee1887e827', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
22
+ return (h("div", { key: '23c60096827e3a519b2a2bd3ff5636cf714279c5', class: "d-flex gap-2" }, h("div", { key: '9c06555ffa75c6b5f52b44794b99fafa5efa78b1', class: "dropdown pb-3" }, h("button", { key: 'c14a7ad81ee21e24f4637c6c121e05d1d3b91e24', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '80863a75d7d189ec42ed6bc2615a8f1840d0c856', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '3c9852b54d2c627294de347e95b940fb1aa4ca8d', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: 'b3f2538648ada6ce95610596070f111f3f92b347' })))), h("div", { key: '928c26a59b4ada62ccdf729c5d6a72d5c95a9a5e' }, h(Button, { key: 'd38f5bc594466601b74164f4c075962107652d23', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
23
23
  }
24
24
  static get is() { return "table-filters-menu"; }
25
25
  static get properties() {
@@ -67,7 +67,7 @@ export class GrossPaymentChartCore {
67
67
  }
68
68
  }
69
69
  render() {
70
- return (h(Host, { key: '14360f11f9b118e347ee73739f03c3631fbef1a4' }, this.loading && h(Spinner, { key: 'a5190472afdbf507c6c36c8aaae1473bffc80dcf' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
70
+ return (h(Host, { key: '11b7b6cbe8be6b338125afb3e7d375f1cd0ae040' }, this.loading && h(Spinner, { key: 'af11687eac9f4648ef2ef57651826c048dceea83' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
71
71
  }
72
72
  static get is() { return "gross-payment-chart-core"; }
73
73
  static get properties() {
@@ -3,6 +3,8 @@ const insuranceValuesStore = createStore({});
3
3
  const { state: insuranceValues, on: insuranceValuesOn } = insuranceValuesStore;
4
4
  const insuranceErrorsStore = createStore({});
5
5
  const { state: insuranceErrors } = insuranceErrorsStore;
6
+ // Track previous values to detect actual changes vs initial setting
7
+ const previousInsuranceValues = {};
6
8
  const validateInsuranceValues = () => {
7
9
  let valid = true;
8
10
  Object.keys(insuranceValues).forEach((key) => {
@@ -17,4 +19,19 @@ const validateInsuranceValues = () => {
17
19
  });
18
20
  return { isValid: valid };
19
21
  };
20
- export { insuranceValuesStore, insuranceValues, insuranceValuesOn, insuranceErrorsStore, insuranceErrors, validateInsuranceValues };
22
+ // Helper function to check if a value has actually changed (not just initially set)
23
+ const hasInsuranceValueChanged = (key, newValue) => {
24
+ const hadPreviousValue = previousInsuranceValues.hasOwnProperty(key);
25
+ const previousValue = previousInsuranceValues[key];
26
+ if (!hadPreviousValue) {
27
+ // First time setting this value, track it but don't consider it a "change"
28
+ previousInsuranceValues[key] = newValue;
29
+ return false;
30
+ }
31
+ const hasChanged = previousValue !== newValue;
32
+ if (hasChanged) {
33
+ previousInsuranceValues[key] = newValue;
34
+ }
35
+ return hasChanged;
36
+ };
37
+ export { insuranceValuesStore, insuranceValues, insuranceValuesOn, insuranceErrorsStore, insuranceErrors, validateInsuranceValues, hasInsuranceValueChanged, };
@@ -34,7 +34,7 @@ export class SeasonInterruptionInsurance {
34
34
  this.toggleCoverage = makeToggleCoverage(config);
35
35
  }
36
36
  render() {
37
- return (h("justifi-season-interruption-insurance-core", { key: '394fc5030f618621fe87b8760b9d0847fa3a496c', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId || checkoutStore.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
37
+ return (h("justifi-season-interruption-insurance-core", { key: '590b2cfe0962ab6778faa21e618f7023fa6b4784', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId || checkoutStore.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
38
38
  }
39
39
  static get is() { return "justifi-season-interruption-insurance"; }
40
40
  static get properties() {
@@ -2,14 +2,17 @@ import { h, Host } from "@stencil/core";
2
2
  import { checkoutStore, onChange } from "../../store/checkout.store";
3
3
  import JustifiAnalytics from "../../api/Analytics";
4
4
  import { checkPkgVersion } from "../../utils/check-pkg-version";
5
- import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api";
5
+ import { ComponentErrorCodes, ComponentErrorMessages, ComponentErrorSeverity, ICheckoutStatus } from "../../api";
6
6
  import { makeCheckoutComplete, makeGetCheckout } from "../../actions/checkout/checkout-actions";
7
7
  import { CheckoutService } from "../../api/services/checkout.service";
8
- import { insuranceValues, insuranceValuesOn } from "../insurance/insurance-state";
9
- export class CheckoutWrapper {
8
+ import { insuranceValues, insuranceValuesOn, hasInsuranceValueChanged } from "../insurance/insurance-state";
9
+ export class ModularCheckout {
10
10
  constructor() {
11
11
  this.savePaymentMethod = false;
12
12
  }
13
+ savePaymentMethodChanged(newValue) {
14
+ checkoutStore.savePaymentMethod = newValue;
15
+ }
13
16
  connectedCallback() {
14
17
  this.observer = new MutationObserver(() => {
15
18
  this.queryFormRefs();
@@ -31,14 +34,23 @@ export class CheckoutWrapper {
31
34
  });
32
35
  }
33
36
  componentWillLoad() {
37
+ if (!this.authToken || !this.checkoutId) {
38
+ this.errorEvent.emit({
39
+ message: ComponentErrorMessages.NOT_AUTHENTICATED,
40
+ errorCode: ComponentErrorCodes.NOT_AUTHENTICATED,
41
+ severity: ComponentErrorSeverity.ERROR,
42
+ });
43
+ return;
44
+ }
34
45
  this.analytics = new JustifiAnalytics(this);
35
46
  checkPkgVersion();
36
47
  checkoutStore.authToken = this.authToken;
48
+ checkoutStore.savePaymentMethod = this.savePaymentMethod;
37
49
  this.fetchCheckout();
38
- // Refresh the checkout data when insurance is added or removed
50
+ // Refresh the checkout data when insurance values actually change (not on initial load)
39
51
  insuranceValuesOn('set', (key) => {
40
52
  const value = insuranceValues[key];
41
- if (value !== undefined) {
53
+ if (value !== undefined && hasInsuranceValueChanged(key, value)) {
42
54
  this.fetchCheckout();
43
55
  }
44
56
  });
@@ -54,6 +66,22 @@ export class CheckoutWrapper {
54
66
  if (this.getCheckout) {
55
67
  this.getCheckout({
56
68
  onSuccess: ({ checkout }) => {
69
+ if (checkout.status === ICheckoutStatus.completed) {
70
+ this.errorEvent.emit({
71
+ message: ComponentErrorMessages.CHECKOUT_ALREADY_COMPLETED,
72
+ errorCode: ComponentErrorCodes.CHECKOUT_ALREADY_COMPLETED,
73
+ severity: ComponentErrorSeverity.ERROR,
74
+ });
75
+ return;
76
+ }
77
+ else if (checkout.status === ICheckoutStatus.expired) {
78
+ this.errorEvent.emit({
79
+ message: ComponentErrorMessages.CHECKOUT_EXPIRED,
80
+ errorCode: ComponentErrorCodes.CHECKOUT_EXPIRED,
81
+ severity: ComponentErrorSeverity.ERROR,
82
+ });
83
+ return;
84
+ }
57
85
  this.updateStore(checkout);
58
86
  },
59
87
  onError: (error) => {
@@ -82,26 +110,19 @@ export class CheckoutWrapper {
82
110
  }
83
111
  queryFormRefs() {
84
112
  this.paymentMethodFormRef = this.hostEl.querySelector('justifi-card-form, justifi-bank-account-form');
85
- this.tokenizeComponentRef = this.hostEl.querySelector('justifi-tokenize-payment-method');
86
113
  this.billingInformationFormRef = this.hostEl.querySelector('justifi-billing-information-form, justifi-postal-code-form');
87
114
  this.insuranceFormRef = this.hostEl.querySelector('justifi-season-interruption-insurance');
88
115
  this.sezzlePaymentMethodRef = this.hostEl.querySelector('justifi-sezzle-payment-method');
89
116
  }
90
117
  async tokenizePaymentMethod(tokenizeArgs) {
91
- var _a, _b;
118
+ var _a, _b, _c;
92
119
  const billingInfoValues = (_b = await ((_a = this.billingInformationFormRef) === null || _a === void 0 ? void 0 : _a.getValues())) !== null && _b !== void 0 ? _b : {};
93
120
  const combinedBillingInfo = Object.assign(Object.assign({}, tokenizeArgs), billingInfoValues);
94
121
  const paymentMethodMetadata = Object.assign({ accountId: checkoutStore.accountId, payment_method_group_id: undefined }, combinedBillingInfo);
95
- if (this.savePaymentMethod) {
122
+ if (checkoutStore.savePaymentMethod) {
96
123
  paymentMethodMetadata.payment_method_group_id = checkoutStore.paymentMethodGroupId;
97
124
  }
98
- if (this.tokenizeComponentRef) {
99
- const tokenizeResult = await this.tokenizeComponentRef.tokenizePaymentMethod();
100
- if (tokenizeResult.error) {
101
- return tokenizeResult;
102
- }
103
- }
104
- return this.paymentMethodFormRef.tokenize({
125
+ return (_c = this.paymentMethodFormRef) === null || _c === void 0 ? void 0 : _c.tokenize({
105
126
  clientId: this.authToken,
106
127
  paymentMethodMetadata,
107
128
  account: checkoutStore.accountId,
@@ -201,7 +222,7 @@ export class CheckoutWrapper {
201
222
  checkoutStore.selectedPaymentMethod = paymentMethodId;
202
223
  }
203
224
  render() {
204
- return (h(Host, { key: '6949f68031572493fae333731c78cc07ccd7fafd' }));
225
+ return (h(Host, { key: '6b18f4f77b736f984ac15f168cc51b74c3927225' }));
205
226
  }
206
227
  static get is() { return "justifi-modular-checkout"; }
207
228
  static get properties() {
@@ -383,4 +404,10 @@ export class CheckoutWrapper {
383
404
  };
384
405
  }
385
406
  static get elementRef() { return "hostEl"; }
407
+ static get watchers() {
408
+ return [{
409
+ "propName": "savePaymentMethod",
410
+ "methodName": "savePaymentMethodChanged"
411
+ }];
412
+ }
386
413
  }
@@ -40,10 +40,10 @@ export class BankAccountForm {
40
40
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
41
41
  }
42
42
  render() {
43
- return (h(StyledHost, { key: '62431aba939585a8a341942d9847e8d491b0a658' }, h(BankAccountFormSkeleton, { key: '2da8452c73e52a6fc67d80e483c40a2d0dd276f9', isReady: this.isReady }), h("hidden-input", { key: 'c34bc48ee7e1925ae272b5fe60fd362ddf2433eb' }), h("div", { key: '3fefe63e9f9c98d7e08e0ceac5df0f8008303aec', class: "container-fluid p-0", style: {
43
+ return (h(StyledHost, { key: 'c514fdaa726fbccd7caeb7629ffdb997b53a05d1' }, h(BankAccountFormSkeleton, { key: 'cc0871ce3e983c025def27526d811ac7547a5a15', isReady: this.isReady }), h("hidden-input", { key: '43fe0f3ee8987a7a71bdbda7d589916148ec8cb2' }), h("div", { key: '37d5fb42ee27aa02e34d0be96c4db913b51748bd', class: "container-fluid p-0", style: {
44
44
  opacity: this.isReady ? '1' : '0',
45
45
  height: this.isReady ? 'auto' : '0',
46
- } }, h("div", { key: '6c19ea238eb0bff6b245f2f39028d651438c55d0', class: "row mb-3" }, h("iframe-input", { key: 'b5588dc21d24ec873fecedd91fbcb0344fbe324c', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '910f130a307449a3d60ef76eee6cc27fc86c3fe0', class: "row" }, h("iframe-input", { key: '72756b92912c3031cc472dee5bbf945f06c38920', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
46
+ } }, h("div", { key: '182f7124dbff91540e9507c184ddbe38e8878d08', class: "row mb-3" }, h("iframe-input", { key: '05f96ae6bb3b0da0e14144a2650100a87c203bea', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: 'abbd604d511e84b6ee814d124878ad9d118c312a', class: "row" }, h("iframe-input", { key: '615000330fc0735a514c37a60c814e3cb301dcd2', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
47
47
  }
48
48
  static get is() { return "justifi-bank-account-form"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -45,7 +45,7 @@ export class BillingInformationForm {
45
45
  }
46
46
  render() {
47
47
  const billingFormDefaultValue = this.formController.getInitialValues();
48
- return (h(StyledHost, { key: 'a88e767bb2e49c21e9ce48c44895f592a3a38aad' }, h("div", { key: '7f7766669fefa6096c9967a36d007d87a2487805', part: billingForm }, h("form", { key: '32d6f2128425b41e67a01f295d4f41c3dd452dd6' }, h("fieldset", { key: 'b42d5fb584bb4e8a6d75ae31adab81162094d605' }, h("div", { key: 'b50049072ff30b9d49e2fb101cdd25a4ce3d69d4', class: "row gy-3" }, h("div", { key: '77daf407dbfaa961bbb05f2293a926bf71e3465c', class: "col-12" }, h("form-control-text", { key: 'f865d1247e0d07e3f55d58cc8f5e5c54bd3b8756', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '3260e35526ec7293aaf177d2a052ddb170df5934', class: "col-12" }, h("form-control-text", { key: '7e4d3e8f2d19d5f83b173a7f852ca7f7dabafec4', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'ed66dd692aa1f6542866a66bf962c751c95e6b9e', class: "col-12" }, h("form-control-text", { key: '4d092e34e70455ff890e68c94db4a150bb468df3', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '14eb1dda040024dd1fadde8c12b4421ae6691d93', class: "col-12" }, h("form-control-text", { key: 'e5cc48df0a79438605d601cc31423ce7ae410a7e', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '15699e13436a9742afd72ff3a799af11839609ae', class: "col-12" }, h("form-control-select", { key: '82bf4f8cbec206f8c942e2b2c3a4896b769683c3', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '6f341fd1f9580830d460cbc2ef1f96bf4a6c87da', class: "col-12" }, h("form-control-text", { key: '2ff9907c1e36c01360f601a895d34fffbd3476a7', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
48
+ return (h(StyledHost, { key: '8ccc19bff46cfdd69aa8c24d802f280f903b2c83' }, h("div", { key: 'e4086d169ed498257a7bee09d4e6d0370361cb47', part: billingForm }, h("form", { key: '5cfd86c8e707600323421593aca5d818b94d85bf' }, h("fieldset", { key: '2f0409d62e676510c1f9a12333249f5a90d4a137' }, h("div", { key: '244aefaac547fa583ea95cff06f9cb260d0e23f2', class: "row gy-3" }, h("div", { key: 'cec59600605cb3c071cd6160be1b3252e413cca3', class: "col-12" }, h("form-control-text", { key: 'd9046a9e2125027bd297847c3239acd41ddfb77c', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'e3bde7950e9cc21441f603e9f83074eaee53e2bb', class: "col-12" }, h("form-control-text", { key: '1c60f429fe9bad373c9c224b1b5ae8e036a523e3', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: '67b46c93ce0abf603b673d72ff056736be547c1e', class: "col-12" }, h("form-control-text", { key: 'f19f4650221d263e9b62526c6eba155e559bfce6', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '09d6bd3ce92fcf23c40225c17a144bb39dae3458', class: "col-12" }, h("form-control-text", { key: 'dd7d03f10badb50fdfb830de01208281e4027753', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '432885802707e91a326571201edb36153b2007f9', class: "col-12" }, h("form-control-select", { key: '3d67e842a0080180210fa0530f6ca2e980696db5', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '81d43b163f29bca08193affcfccd02224ed96cf3', class: "col-12" }, h("form-control-text", { key: 'bf5f32c222e044a09b275232fc42e6b474f1b7f3', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
49
49
  }
50
50
  static get is() { return "justifi-billing-information-form"; }
51
51
  static get encapsulation() { return "shadow"; }
@@ -44,10 +44,10 @@ export class JustifiCardForm {
44
44
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
45
45
  }
46
46
  render() {
47
- return (h(StyledHost, { key: 'c6a8109b35d9ef920747aadf75bea99bbba4ae21' }, h(CardFormSkeleton, { key: 'c1868489482ccb4125ffb47f981638a2c6016ffe', isReady: this.isReady }), h("hidden-input", { key: 'f21158c4fe6e63b8ffebbb084830e0331af5979a' }), h("div", { key: '8a4852e0a2e2db75672af221a0c9ca9822602da2', class: "container-fluid p-0", style: {
47
+ return (h(StyledHost, { key: 'e766d6934331eb81a88f7170b0af6ac30dcad5cf' }, h(CardFormSkeleton, { key: '085c4a7c55eb510fab67f5b2b40a74ed9dad8641', isReady: this.isReady }), h("hidden-input", { key: '2da8909ba30187b2af76c359df09454aee20c122' }), h("div", { key: '278ce2f40e26444bd6ba3d6c86ab2c9fc24f192f', class: "container-fluid p-0", style: {
48
48
  opacity: this.isReady ? '1' : '0',
49
49
  height: this.isReady ? 'auto' : '0',
50
- } }, h("div", { key: '437a1e6d5d1dd7517fa87d876f017f28fb4f8c15', class: "mb-3" }, h("iframe-input", { key: '0d8582e8b9eb4fdd9a3c4e1c86eda90fa9eadf13', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '8311f0aac3f3826802d2fec0fd7de9ceae6af06c', class: "row" }, h("div", { key: '50c24e8cd76931f3ea19ffc3d4e52607f4bed78c', class: "col-4 align-content-end" }, h("iframe-input", { key: '82e610abedf2d4f42eb67e05a4de3a349fe0ff59', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'fa13540819346d3caf09d863a7bb6d2a2ea47cb0', class: "col-4 align-content-end" }, h("iframe-input", { key: '5292e69953eb0fbd3b36871fe7bd433e791f60f9', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'd6ddb4af11e44ed0f1de6273c0d3fd0ba19522ad', class: "col-4 align-content-end" }, h("iframe-input", { key: '7491af49747367001b8eee954cd18464d929431b', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
50
+ } }, h("div", { key: '37cc4de3dee474960e1313ec373c5f1f8ac73832', class: "mb-3" }, h("iframe-input", { key: 'f4a0ec580257cec559d9b50f51a7b49f68724bba', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'e65d56b26704e676e0851fee603d94faf3927e63', class: "row" }, h("div", { key: 'dc3e8a71551bc9296a45f2f2f34e950aa2441b58', class: "col-4 align-content-end" }, h("iframe-input", { key: 'bf01e116b03c48a2562581b59c9fc51a2ceb76ca', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '894ff6ad9cabe84f040130029547c1f21280e648', class: "col-4 align-content-end" }, h("iframe-input", { key: '2491f2262264ca7d00763c24918cf36b1be3918c', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'eb28615b2b4c4f3c96eecaa669c145d7c75540e2', class: "col-4 align-content-end" }, h("iframe-input", { key: '3a41f7d72962ded54572046ff663b63dd00c3a7c', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
51
51
  }
52
52
  static get is() { return "justifi-card-form"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -3,7 +3,7 @@ import { radioListItem } from "../../../styles/parts";
3
3
  import { StyledHost } from "../../../ui-components";
4
4
  export class PaymentMethodOption {
5
5
  render() {
6
- return (h(StyledHost, { key: 'a8c7ba94cf471c0b12f65c6fa9be1d1b6fc28910', class: "payment-method" }, h("div", { key: 'fae8daae8c7b3d00a5ba7a713522766bfe41dfae', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: '51b8f509374e771c9e0cd7ff463c8a3d3b9d9a35', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
6
+ return (h(StyledHost, { key: '8d4bc7222b08e71511017ef1292360f491de05c0', class: "payment-method" }, h("div", { key: '0c9efd8f33e07dfc7261010ee5d4ad96302ae36b', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: 'c87f7caa8f2770d784d7efc002762f6beb5f1896', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
7
7
  }
8
8
  static get is() { return "payment-method-option"; }
9
9
  static get encapsulation() { return "shadow"; }
@@ -42,7 +42,7 @@ export class PostalCodeForm {
42
42
  }
43
43
  render() {
44
44
  const billingFormDefaultValue = this.formController.getInitialValues();
45
- return (h(StyledHost, { key: '881138113d82dd87a364cbadef1947f34d3cdf4f' }, h("form", { key: '647945d6264d0611fcc7970eded8ce22ac2b4db7' }, h("form-control-text", { key: '2308fdcc1634fa8b39ce0735ab3431a406bc7398', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))));
45
+ return (h(StyledHost, { key: 'dd5eac14587300198c7032b5ea66cddd0c732708' }, h("form", { key: 'fb51d6c69c0b4257a7d4c6299bf28ceb30d28f31' }, h("form-control-text", { key: '0ce26b35589622f79f653e538bc683b682af1944', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))));
46
46
  }
47
47
  static get is() { return "justifi-postal-code-form"; }
48
48
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ import { checkoutStore } from "../../../store/checkout.store";
5
5
  import { StyledHost } from "../../../ui-components";
6
6
  export class Summary {
7
7
  render() {
8
- return (h(StyledHost, { key: '1bafeffc42f1e98f50551ca971f52e8294782168' }, h("section", { key: 'bf1a89bf030ae5a953abe092d0a5c543ed7f543f' }, h("div", { key: 'ce0b98733c2e158c1caef43b751513a0565ecfc6' }, h("div", { key: '8d0525c31ac3a93a5ce1aa2afde5c9bd7da26dc0', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '7885858ddcd2819522fa08fbbc2d3dce2f0132f6' }, h("span", { key: '57ce1d9a9dd1269c4d958c78210565e9cb68d22a', part: text }, "Total"), "\u00A0", h("span", { key: '0b6673bd2c841cb0e50db93c148bfe15f96b577a', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
8
+ return (h(StyledHost, { key: 'fe4584497faaf589819dd60c5310eb427518d8c6' }, h("section", { key: 'ca55b0c0feea790e13ac680b955e64565633e7bd' }, h("div", { key: 'ae82878dc9010db77bc564e4ba1cc8fc6c04e7f2' }, h("div", { key: 'daf8a8514879d64d3463b5394e61b19cf8445fb9', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '44845dca1b6cb8d814c48279c03bc6694175e7a1' }, h("span", { key: 'eebc881d4693cab79fa25edb7563979c21d049a3', part: text }, "Total"), "\u00A0", h("span", { key: 'fbf572ba41fb575aa83c1f56d35a294e0855dc9c', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
9
9
  }
10
10
  static get is() { return "justifi-checkout-summary"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -126,7 +126,7 @@ export class OrderTerminals {
126
126
  return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
127
127
  }
128
128
  render() {
129
- return (h(StyledHost, { key: '046de722d0da05878e5d9ba8932eeb1368294b64' }, h("div", { key: 'cc5695a94847f615ae4ffb657074e2a15053d164', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
129
+ return (h(StyledHost, { key: 'ce28f30bedd8c988c90d9bf5912e5c55eb8a8b89' }, h("div", { key: '76289143ed051b47e7d0e4b483f09a1a74b747c7', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
130
130
  }
131
131
  static get is() { return "justifi-order-terminals"; }
132
132
  static get encapsulation() { return "shadow"; }
@@ -18,7 +18,7 @@ export class TerminalQuantitySelector {
18
18
  };
19
19
  }
20
20
  render() {
21
- return (h("div", { key: 'd852cfed7f6fc5bc67a319ffd19926d6729095b7', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: 'bf4fb9a1b1860528269adaf8ee9d73e6fa20f0f2', class: "d-flex gap-3" }, h("div", { key: '1623bc5acb98c0c75a8353b3bcc0dcefb5178a44', class: "d-flex align-items-center" }, h("img", { key: '0001169ea6e54c20ff10a31a181ae82a51fb1a11', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '99d2991c109dc169c1ba978ee1cbcced811abaf7', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: 'f6fbd4c33657f830d9550f77b28d3f4090e21b7e', class: "row" }, h("div", { key: 'c08c5e4fc1fec82a0d7ac7f406aab1f2aec952a4', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: 'ca881d29e0439991b423a3d10a85b2f9cfb4cb24', helpText: this.description })), h("div", { key: '5cf5c3e64f3de63f2c3bc559ec42e243d1c38a34', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '2622ab45644914758646cf80222253febb935980', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: 'e91139090d1706202d9cd9d9b51e1f8beb6a0b5f', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '14a1a45ffbf2b8606359e20ad73b85a6945cd592', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
21
+ return (h("div", { key: '098ff45ab3cc11ed4a4c0aca0afb8e6a07dc2d1f', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: 'b56e327811e04c0cb6e7dbfb6fc71653ad250d21', class: "d-flex gap-3" }, h("div", { key: 'd14e7b29f17da9ad0a0e14f3bae67ff2b3da5014', class: "d-flex align-items-center" }, h("img", { key: '4a18f55103efa142b35b14d4664ff7c30f9f5856', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '01e54b539b7b1558241ae6a7d55d08f90c269e0f', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: 'fc1b072e8608cc728d904c0b2cfe81cedb517d89', class: "row" }, h("div", { key: 'e92ad7d5188b95c5cccb34b7764539e5295a4377', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: 'ce7a7082cf612b1ea292d00a4d1b974a7173ec5c', helpText: this.description })), h("div", { key: 'a78d11688b87e038fd3367a6fd5216e67805de53', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '7189baadf1be00653f73b224292488d679440f18', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: 'c915187a77d059246a02eae52dab022c551e3412', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '9f4356e007407670b887f3493d204db2468da520', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
22
22
  }
23
23
  static get is() { return "terminal-quantity-selector"; }
24
24
  static get properties() {