@justifi/webcomponents 5.7.6-rc-02 → 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 (661) hide show
  1. package/dist/cjs/{Api-c8NBCwu4.js → Api-eP0XeJLd.js} +1 -1
  2. package/dist/cjs/{ComponentError-CEv9ltwy.js → ComponentError-D4OLnOkg.js} +8 -0
  3. package/dist/cjs/{Refund-Dt1CMUjx.js → Refund-08OcZkXX.js} +148 -1
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -1
  5. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +8 -8
  6. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  7. package/dist/cjs/{business.service-W2PRAU9J.js → business.service--Zv-Xtu4.js} +3 -4
  8. package/dist/cjs/card-form.cjs.entry.js +2 -2
  9. package/dist/cjs/{check-pkg-version-DmONJMn1.js → check-pkg-version-Bp51QhAR.js} +4 -5
  10. package/dist/cjs/{checkout.service-XwOh98gt.js → checkout.service-BBD6v0cl.js} +3 -4
  11. package/dist/cjs/{checkout.store--pVCO0L1.js → checkout.store-B58bewb_.js} +2 -1
  12. package/dist/cjs/checkouts-list-core.cjs.entry.js +6 -6
  13. package/dist/cjs/{checkouts-table-CrpOOe_e.js → checkouts-table-Cp7rNkNd.js} +1 -1
  14. package/dist/cjs/custom-popper.cjs.entry.js +2 -2
  15. package/dist/cjs/dinero-J-SRFKIR.js +1673 -0
  16. package/dist/cjs/{dispute.service-Dh82Wru1.js → dispute.service-BHApwZdH.js} +3 -4
  17. package/dist/cjs/form-alert_5.cjs.entry.js +4 -4
  18. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  19. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  20. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  21. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
  22. package/dist/cjs/form-control-monetary.cjs.entry.js +4 -3
  23. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +3 -3
  24. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  25. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  26. package/dist/cjs/form-control-select_3.cjs.entry.js +4 -4
  27. package/dist/cjs/{get-business-BiEc-jdH.js → get-business-o5jPq_ME.js} +2 -2
  28. package/dist/cjs/{get-payment-details-W4PgTPkL.js → get-payment-details-7PreAOdF.js} +5 -6
  29. package/dist/cjs/{get-payout-csv-CdNRRH0t.js → get-payout-csv-DE_D9y08.js} +2 -2
  30. package/dist/cjs/{get-subaccounts-D4woaGSs.js → get-subaccounts-CtelAONX.js} +5 -6
  31. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -2
  32. package/dist/cjs/header-2-BXQLJn1q.js +10 -0
  33. package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
  34. package/dist/cjs/insurance-state-B3CYpJWi.js +45 -0
  35. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +4 -4
  36. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -17
  37. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
  38. package/dist/cjs/{justifi-bank-account-form_5.cjs.entry.js → justifi-bank-account-form_7.cjs.entry.js} +66 -23
  39. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +52 -0
  40. package/dist/cjs/justifi-business-details.cjs.entry.js +11 -11
  41. package/dist/cjs/justifi-business-form.cjs.entry.js +10 -10
  42. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  43. package/dist/cjs/{justifi-button_5.cjs.entry.js → justifi-checkout-summary_5.cjs.entry.js} +162 -56
  44. package/dist/cjs/justifi-checkout.cjs.entry.js +14 -14
  45. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +5 -5
  46. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
  47. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  48. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
  49. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +13 -13
  50. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -8
  51. package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -12
  52. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -12
  53. package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -11
  54. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
  55. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -11
  56. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -10
  57. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -3
  58. package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
  59. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
  60. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -10
  61. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -3
  62. package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
  63. package/dist/cjs/justifi-refund-payment.cjs.entry.js +10 -10
  64. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
  65. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +5 -3
  66. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -10
  67. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  68. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +6 -6
  69. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
  70. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -5
  71. package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
  72. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +216 -34
  73. package/dist/cjs/loader.cjs.js +1 -1
  74. package/dist/cjs/{package-oywezDpy.js → package-BMSb1ui9.js} +1 -1
  75. package/dist/cjs/payment-details-core.cjs.entry.js +10 -9
  76. package/dist/cjs/{payment-method-option-utils-imuSE7KV.js → payment-method-option-utils-QODgEWhU.js} +1 -11
  77. package/dist/cjs/{payment-provisioning-actions-SNMCdsyF.js → payment-provisioning-actions-CZVlnRA0.js} +2 -2
  78. package/dist/cjs/{payment.service-BrvtS3F7.js → payment.service-C9qxqaJk.js} +3 -4
  79. package/dist/cjs/payments-list-core.cjs.entry.js +6 -6
  80. package/dist/cjs/{payments-table-BqxFc71K.js → payments-table-DaW6SvdL.js} +1 -1
  81. package/dist/cjs/payout-details-core.cjs.entry.js +5 -4
  82. package/dist/cjs/{payout.service-DNH6gRrP.js → payout.service-DiSYeR_q.js} +3 -4
  83. package/dist/cjs/payouts-list-core.cjs.entry.js +6 -6
  84. package/dist/cjs/{payouts-table-iT2IauEa.js → payouts-table-D5hMHcaY.js} +1 -1
  85. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  86. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +6 -6
  87. package/dist/cjs/{terminal-orders-table-xi_a-EnM.js → terminal-orders-table-DnZjcbSQ.js} +3 -4
  88. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  89. package/dist/cjs/{terminal.service-CdzmTRQE.js → terminal.service-DEIY9toR.js} +3 -4
  90. package/dist/cjs/terminals-list-core.cjs.entry.js +6 -6
  91. package/dist/cjs/{terminals-table-sf-s5v6D.js → terminals-table-DOqVeHM1.js} +1 -1
  92. package/dist/cjs/{utils-qOon0GWm.js → utils-DqlrBltg.js} +2 -1676
  93. package/dist/cjs/{utils-IGCnjtqc.js → utils-DvUQQLmR.js} +1 -1
  94. package/dist/cjs/webcomponents.cjs.js +1 -1
  95. package/dist/collection/actions/checkout/checkout-actions.js +2 -1
  96. package/dist/collection/api/ComponentError.js +8 -0
  97. package/dist/collection/collection-manifest.json +7 -8
  98. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  99. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  100. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
  101. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  102. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  103. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  104. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  105. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  106. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  107. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  108. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  109. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
  110. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  111. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  112. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  113. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  114. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  115. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  116. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  117. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  119. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  121. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  122. package/dist/collection/components/checkout/billing-form/billing-form.js +13 -37
  123. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  124. package/dist/collection/components/checkout/checkout.js +1 -1
  125. package/dist/collection/components/checkout/payment-method-option-utils.js +0 -1
  126. package/dist/collection/components/checkout/save-new-payment-method.js +7 -5
  127. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  128. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  129. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  130. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  131. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  132. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  133. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  134. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  135. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  136. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  137. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  138. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  139. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  140. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  141. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  142. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  143. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  144. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  145. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  146. package/dist/collection/components/insurance/insurance-state.js +18 -1
  147. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  148. package/dist/collection/components/modular-checkout/modular-checkout.js +43 -9
  149. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  150. package/dist/collection/components/modular-checkout/sub-components/billing-information-form.js +36 -5
  151. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  152. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  153. package/dist/collection/components/modular-checkout/sub-components/postal-code-form.js +5 -4
  154. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  155. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  156. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  157. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  158. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  159. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  160. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  161. package/dist/collection/components/payments-list/payments-list.js +1 -1
  162. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  163. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  164. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  165. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  166. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  167. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  168. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  169. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  170. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  171. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  172. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  173. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +291 -87
  174. package/dist/collection/store/checkout.store.js +2 -1
  175. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  176. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  177. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  178. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  179. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  180. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  181. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  182. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  183. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  184. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  185. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  186. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  187. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  188. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  189. package/dist/collection/ui-components/index.js +1 -0
  190. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  191. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  192. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +155 -0
  193. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  194. package/dist/docs.json +727 -1331
  195. package/dist/esm/{Api-C3T8XYbb.js → Api-BCeKXDaf.js} +1 -1
  196. package/dist/esm/{ComponentError-BhrFjjAs.js → ComponentError-Cjcsf8ku.js} +9 -1
  197. package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
  198. package/dist/esm/{Refund-0aZtuMmz.js → Refund-DBHZkemk.js} +148 -2
  199. package/dist/esm/additional-questions-details_5.entry.js +4 -3
  200. package/dist/esm/{badge-Dr7gkD2I.js → badge-BrapPg3R.js} +1 -1
  201. package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -12
  202. package/dist/esm/bank-account-form.entry.js +4 -4
  203. package/dist/esm/business-details-core.entry.js +3 -3
  204. package/dist/esm/{business.service-C5vrjgZf.js → business.service-ArD_uRLb.js} +4 -5
  205. package/dist/esm/{button-xfPDSpPt.js → button-BB-N4vit.js} +1 -1
  206. package/dist/esm/card-form.entry.js +4 -4
  207. package/dist/esm/{check-pkg-version-DqhSXPRt.js → check-pkg-version-CwPXpnQZ.js} +5 -6
  208. package/dist/esm/{checkout.service-CW2_CEte.js → checkout.service-BgDCPjQU.js} +4 -5
  209. package/dist/esm/{checkout.store-GXtlf5-4.js → checkout.store-td03RV8y.js} +2 -1
  210. package/dist/esm/checkouts-list-core.entry.js +11 -11
  211. package/dist/esm/{checkouts-table-BHhaS5bv.js → checkouts-table-COpCngi0.js} +3 -3
  212. package/dist/esm/custom-popper.entry.js +2 -2
  213. package/dist/esm/dinero-DizZAUMY.js +1671 -0
  214. package/dist/esm/{dispute.service-C3bmfjsZ.js → dispute.service-C2dMLW9w.js} +4 -5
  215. package/dist/esm/form-alert_5.entry.js +5 -5
  216. package/dist/esm/form-control-checkbox.entry.js +5 -5
  217. package/dist/esm/form-control-date.entry.js +4 -4
  218. package/dist/esm/{form-control-error-text-Cn0aPzHx.js → form-control-error-text-Bk3yfpFX.js} +1 -1
  219. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  220. package/dist/esm/{form-control-help-text-C91TeHXs.js → form-control-help-text-mOLCXs00.js} +1 -1
  221. package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
  222. package/dist/esm/form-control-monetary.entry.js +7 -6
  223. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  224. package/dist/esm/form-control-number.entry.js +5 -5
  225. package/dist/esm/form-control-radio.entry.js +3 -3
  226. package/dist/esm/form-control-select_3.entry.js +6 -6
  227. package/dist/esm/{get-business-BSRtbTh7.js → get-business-Crb6P-iI.js} +2 -2
  228. package/dist/esm/{get-payment-details-BdPvFl1W.js → get-payment-details-BN-K_5Ry.js} +5 -6
  229. package/dist/esm/{get-payout-csv-U_pgdPpb.js → get-payout-csv-D-Lnooki.js} +2 -2
  230. package/dist/esm/{get-subaccounts-BqqR44dV.js → get-subaccounts-DrFpGKDV.js} +6 -7
  231. package/dist/esm/gross-payment-chart-core.entry.js +6 -5
  232. package/dist/esm/{header-1-noRVFQY9.js → header-1-DYuf6mkF.js} +1 -1
  233. package/dist/esm/header-2-C4ZCdZwi.js +8 -0
  234. package/dist/esm/hidden-input_2.entry.js +7 -7
  235. package/dist/esm/insurance-state-BQks6cMA.js +39 -0
  236. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -8
  237. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +20 -20
  238. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  239. package/dist/esm/{justifi-bank-account-form_5.entry.js → justifi-bank-account-form_7.entry.js} +67 -26
  240. package/dist/esm/justifi-billing-form_2.entry.js +49 -0
  241. package/dist/esm/justifi-business-details.entry.js +13 -13
  242. package/dist/esm/justifi-business-form.entry.js +15 -15
  243. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  244. package/dist/esm/{justifi-button_5.entry.js → justifi-checkout-summary_5.entry.js} +161 -55
  245. package/dist/esm/justifi-checkout.entry.js +11 -11
  246. package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -7
  247. package/dist/esm/justifi-checkouts-list.entry.js +15 -15
  248. package/dist/esm/justifi-details.entry.js +2 -2
  249. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  250. package/dist/esm/justifi-dispute-management.entry.js +11 -11
  251. package/dist/esm/justifi-dispute-notification_3.entry.js +16 -16
  252. package/dist/esm/justifi-gross-payment-chart.entry.js +11 -11
  253. package/dist/esm/justifi-order-terminals.entry.js +15 -15
  254. package/dist/esm/justifi-owner-form_3.entry.js +14 -14
  255. package/dist/esm/justifi-payment-details.entry.js +13 -13
  256. package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
  257. package/dist/esm/justifi-payment-provisioning.entry.js +12 -12
  258. package/dist/esm/justifi-payment-transactions-list.entry.js +14 -14
  259. package/dist/esm/justifi-payments-list-filters.entry.js +5 -4
  260. package/dist/esm/justifi-payments-list.entry.js +15 -15
  261. package/dist/esm/justifi-payout-details.entry.js +13 -13
  262. package/dist/esm/justifi-payout-transactions-list.entry.js +14 -14
  263. package/dist/esm/justifi-payouts-list-filters.entry.js +5 -4
  264. package/dist/esm/justifi-payouts-list.entry.js +17 -17
  265. package/dist/esm/justifi-refund-payment.entry.js +14 -14
  266. package/dist/esm/justifi-saved-payment-method.entry.js +4 -4
  267. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +6 -4
  268. package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -11
  269. package/dist/esm/justifi-skeleton.entry.js +3 -3
  270. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -8
  271. package/dist/esm/justifi-terminal-orders-list.entry.js +13 -13
  272. package/dist/esm/justifi-terminals-list-filters.entry.js +7 -7
  273. package/dist/esm/justifi-terminals-list.entry.js +15 -15
  274. package/dist/esm/justifi-tokenize-payment-method.entry.js +218 -36
  275. package/dist/esm/loader.js +1 -1
  276. package/dist/esm/{package-DR0dQ8Fv.js → package-HlNEzyiZ.js} +1 -1
  277. package/dist/esm/pagination-menu.entry.js +1 -1
  278. package/dist/esm/{parts-D3G5aVLy.js → parts-CKg_luIy.js} +1 -1
  279. package/dist/esm/payment-details-core.entry.js +15 -14
  280. package/dist/esm/{payment-method-option-utils-8n_ALxec.js → payment-method-option-utils-zFDtQrgQ.js} +2 -10
  281. package/dist/esm/{payment-provisioning-actions-2qP7AtHj.js → payment-provisioning-actions-ONP8lDnV.js} +2 -2
  282. package/dist/esm/{payment.service-CnQdP32J.js → payment.service-DPsRcwWM.js} +4 -5
  283. package/dist/esm/payments-list-core.entry.js +12 -12
  284. package/dist/esm/{payments-status-DUM0WZkk.js → payments-status-CawBLR48.js} +1 -1
  285. package/dist/esm/{payments-table-DVQzx7MJ.js → payments-table-WQAD1CSz.js} +3 -3
  286. package/dist/esm/payout-details-core.entry.js +11 -10
  287. package/dist/esm/{payout.service-EJuPNpfs.js → payout.service-CoVFefK5.js} +4 -5
  288. package/dist/esm/payouts-list-core.entry.js +12 -12
  289. package/dist/esm/{payouts-status-7saoFNoA.js → payouts-status-DB_PJap6.js} +1 -1
  290. package/dist/esm/{payouts-table-dca-F2iQ.js → payouts-table-DRISll8u.js} +3 -3
  291. package/dist/esm/{skeleton-C1-JoGFC.js → skeleton-D1Z4a8af.js} +1 -1
  292. package/dist/esm/{spinner-Ca9uu5Nd.js → spinner-BlffecO5.js} +1 -1
  293. package/dist/esm/{table-fsCYq8m9.js → table-BqxKVRry.js} +2 -2
  294. package/dist/esm/table-filters-menu.entry.js +3 -3
  295. package/dist/esm/terminal-orders-list-core.entry.js +11 -11
  296. package/dist/esm/{terminal-orders-table-BNasCnjz.js → terminal-orders-table-Da4IvBtB.js} +6 -7
  297. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  298. package/dist/esm/{terminal.service-Cfacmeto.js → terminal.service-CnPV1i9J.js} +4 -5
  299. package/dist/esm/terminals-list-core.entry.js +11 -11
  300. package/dist/esm/{terminals-table-DBk-eg_3.js → terminals-table-BBPQRWja.js} +3 -3
  301. package/dist/esm/{utils-BZvep88z.js → utils-BeQLScSm.js} +1 -1
  302. package/dist/esm/{utils-BjLkBMLe.js → utils-Cu5hITuT.js} +2 -1675
  303. package/dist/esm/{utils-CNwvOLkk.js → utils-sZ_6zOKQ.js} +1 -1
  304. package/dist/esm/webcomponents.js +1 -1
  305. package/dist/module/Analytics.js +0 -1
  306. package/dist/module/Refund.js +210 -1
  307. package/dist/module/additional-questions.js +1 -1
  308. package/dist/module/additional-statement.js +1 -1
  309. package/dist/module/badge.js +1 -1
  310. package/dist/module/bank-account-document-inputs.js +2 -3
  311. package/dist/module/bank-account-form-inputs2.js +1 -1
  312. package/dist/module/bank-account-form.js +2 -2
  313. package/dist/module/bank-account.js +3 -2
  314. package/dist/module/billing-form.js +23 -57
  315. package/dist/module/billing-information-form.js +10 -3
  316. package/dist/module/business-additional-questions-form-step.js +1 -1
  317. package/dist/module/business-bank-account-form-step-core.js +2 -3
  318. package/dist/module/business-bank-account-form-step.js +2 -3
  319. package/dist/module/business-core-info-form-step.js +1 -1
  320. package/dist/module/business-core-info.js +1 -1
  321. package/dist/module/business-details-core2.js +1 -0
  322. package/dist/module/business-documents-on-file2.js +2 -1
  323. package/dist/module/business-owners-form-step-core.js +1 -0
  324. package/dist/module/business-owners-form-step.js +1 -1
  325. package/dist/module/business-representative-form-inputs.js +1 -1
  326. package/dist/module/business-representative-form-step.js +1 -1
  327. package/dist/module/business-representative.js +1 -1
  328. package/dist/module/business-terms-conditions-form-step.js +1 -2
  329. package/dist/module/business.service.js +0 -1
  330. package/dist/module/cancellation-policy.js +1 -1
  331. package/dist/module/card-form.js +2 -2
  332. package/dist/module/card-form2.js +3 -2
  333. package/dist/module/checkout.service.js +0 -1
  334. package/dist/module/checkout.store.js +2 -1
  335. package/dist/module/checkouts-list-core2.js +5 -4
  336. package/dist/module/custom-popper2.js +2 -2
  337. package/dist/module/customer-details.js +1 -1
  338. package/dist/module/dinero.js +1671 -0
  339. package/dist/module/dispute-management-core.js +2 -2
  340. package/dist/module/dispute-notification.js +2 -1
  341. package/dist/module/dispute-response-actions.js +0 -1
  342. package/dist/module/dispute-response-core.js +1 -1
  343. package/dist/module/dispute-response.js +2 -1
  344. package/dist/module/duplicate-charge.js +1 -1
  345. package/dist/module/electronic-evidence.js +1 -1
  346. package/dist/module/form-alert2.js +1 -1
  347. package/dist/module/form-control-checkbox2.js +4 -3
  348. package/dist/module/form-control-date2.js +3 -2
  349. package/dist/module/form-control-file-v22.js +1 -1
  350. package/dist/module/form-control-file2.js +3 -2
  351. package/dist/module/form-control-monetary-provisioning2.js +4 -3
  352. package/dist/module/form-control-monetary2.js +4 -3
  353. package/dist/module/form-control-number-masked2.js +3 -2
  354. package/dist/module/form-control-number.js +4 -3
  355. package/dist/module/form-control-radio2.js +3 -3
  356. package/dist/module/form-control-select2.js +3 -2
  357. package/dist/module/form-control-text2.js +3 -2
  358. package/dist/module/form-control-textarea2.js +3 -3
  359. package/dist/module/get-payment-details.js +2 -3
  360. package/dist/module/get-subaccounts.js +1 -2
  361. package/dist/module/gross-payment-chart-core2.js +2 -2
  362. package/dist/module/hidden-input2.js +2 -2
  363. package/dist/module/identity-address-form.js +1 -1
  364. package/dist/module/iframe-input2.js +4 -4
  365. package/dist/module/insurance-state.js +18 -1
  366. package/dist/module/justifi-business-form.js +2 -2
  367. package/dist/module/justifi-button2.js +1 -1
  368. package/dist/module/justifi-checkout.js +3 -2
  369. package/dist/module/justifi-checkouts-list-filters.js +4 -4
  370. package/dist/module/justifi-checkouts-list.js +4 -4
  371. package/dist/module/justifi-dispute-management.js +2 -3
  372. package/dist/module/justifi-gross-payment-chart.js +0 -1
  373. package/dist/module/justifi-header2.js +7 -3
  374. package/dist/module/justifi-modular-checkout.js +2 -2
  375. package/dist/module/justifi-order-terminals.js +5 -4
  376. package/dist/module/justifi-payment-provisioning.js +1 -2
  377. package/dist/module/justifi-payment-transactions-list.js +6 -5
  378. package/dist/module/justifi-payments-list-filters.js +4 -3
  379. package/dist/module/justifi-payments-list.js +4 -4
  380. package/dist/module/justifi-payout-details.js +2 -3
  381. package/dist/module/justifi-payout-transactions-list.js +6 -5
  382. package/dist/module/justifi-payouts-list-filters.js +4 -3
  383. package/dist/module/justifi-payouts-list.js +4 -4
  384. package/dist/module/justifi-radio-list-item.d.ts +11 -0
  385. package/dist/module/justifi-radio-list-item.js +6 -0
  386. package/dist/module/justifi-radio-list-item2.js +55 -0
  387. package/dist/module/justifi-refund-payment.js +2 -2
  388. package/dist/module/justifi-saved-payment-method.js +2 -2
  389. package/dist/module/justifi-season-interruption-insurance.js +1 -2
  390. package/dist/module/justifi-skeleton.js +1 -1
  391. package/dist/module/justifi-terminal-orders-list-filters.js +5 -5
  392. package/dist/module/justifi-terminal-orders-list.js +4 -4
  393. package/dist/module/justifi-terminals-list-filters.js +4 -4
  394. package/dist/module/justifi-terminals-list.js +4 -4
  395. package/dist/module/justifi-tokenize-payment-method.js +311 -47
  396. package/dist/module/legal-address-form-step.js +1 -1
  397. package/dist/module/legal-address-form.js +1 -1
  398. package/dist/module/modular-checkout.js +47 -14
  399. package/dist/module/owner-form-core2.js +3 -2
  400. package/dist/module/owner-form-inputs2.js +1 -1
  401. package/dist/module/owner-form.js +1 -1
  402. package/dist/module/package.js +1 -1
  403. package/dist/module/pagination-menu2.js +1 -1
  404. package/dist/module/parts.js +1 -1
  405. package/dist/module/payment-details-core2.js +10 -9
  406. package/dist/module/payment-method-option-utils.js +2 -10
  407. package/dist/module/payment-method-option2.js +3 -2
  408. package/dist/module/payment-provisioning-core.js +2 -1
  409. package/dist/module/payment-provisioning-form-buttons.js +2 -1
  410. package/dist/module/payment-provisioning-form-steps.js +1 -1
  411. package/dist/module/payment-provisioning-loading.js +1 -0
  412. package/dist/module/payment.service.js +0 -1
  413. package/dist/module/payments-list-core2.js +5 -4
  414. package/dist/module/payout-details-core2.js +5 -4
  415. package/dist/module/payout.service.js +0 -1
  416. package/dist/module/payouts-list-core2.js +5 -4
  417. package/dist/module/postal-code-form.js +4 -2
  418. package/dist/module/product-or-service.js +1 -1
  419. package/dist/module/refund-policy.js +1 -1
  420. package/dist/module/save-new-payment-method.js +8 -5
  421. package/dist/module/saved-payment-methods.js +2 -1
  422. package/dist/module/season-interruption-insurance-core.js +2 -1
  423. package/dist/module/sezzle-payment-method.js +2 -1
  424. package/dist/module/shipping-details.js +1 -1
  425. package/dist/module/spinner.js +1 -1
  426. package/dist/module/summary.js +2 -1
  427. package/dist/module/table-filters-menu2.js +1 -1
  428. package/dist/module/table.js +1 -1
  429. package/dist/module/terminal-orders-list-core2.js +6 -5
  430. package/dist/module/terminal-quantity-selector2.js +2 -2
  431. package/dist/module/terminal.service.js +0 -1
  432. package/dist/module/terminals-list-core2.js +5 -4
  433. package/dist/module/utils2.js +2 -1675
  434. package/dist/types/api/ComponentError.d.ts +7 -0
  435. package/dist/types/components/checkout/billing-form/billing-form.d.ts +3 -9
  436. package/dist/types/components/checkout/checkout.d.ts +1 -1
  437. package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
  438. package/dist/types/components/insurance/insurance-state.d.ts +2 -1
  439. package/dist/types/components/modular-checkout/modular-checkout.d.ts +2 -1
  440. package/dist/types/components/modular-checkout/sub-components/billing-information-form.d.ts +2 -0
  441. package/dist/types/components/modular-checkout/sub-components/postal-code-form.d.ts +1 -0
  442. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +41 -14
  443. package/dist/types/components.d.ts +70 -114
  444. package/dist/types/store/checkout.store.d.ts +2 -1
  445. package/dist/types/ui-components/index.d.ts +1 -0
  446. package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +12 -0
  447. package/dist/webcomponents/p-00c2f5d5.entry.js +1 -0
  448. package/dist/webcomponents/{p-d7f62287.entry.js → p-046fee8c.entry.js} +1 -1
  449. package/dist/webcomponents/{p-30d3d0cd.entry.js → p-0a0ed7a4.entry.js} +1 -1
  450. package/dist/webcomponents/p-0cb64945.entry.js +1 -0
  451. package/dist/webcomponents/{p-70774a5a.entry.js → p-0e44afa7.entry.js} +1 -1
  452. package/dist/webcomponents/p-0e6797c4.entry.js +1 -0
  453. package/dist/webcomponents/p-0fc026aa.entry.js +1 -0
  454. package/dist/webcomponents/p-16583f91.entry.js +1 -0
  455. package/dist/webcomponents/p-195cf5cc.entry.js +1 -0
  456. package/dist/webcomponents/{p-7d2de2d4.entry.js → p-1b1fe3de.entry.js} +1 -1
  457. package/dist/webcomponents/{p-50bfec55.entry.js → p-1b7b7210.entry.js} +1 -1
  458. package/dist/webcomponents/p-1c7d9b90.entry.js +1 -0
  459. package/dist/webcomponents/p-1ce1df1e.entry.js +1 -0
  460. package/dist/webcomponents/p-24e1a686.entry.js +1 -0
  461. package/dist/webcomponents/p-2a5ac7c9.entry.js +1 -0
  462. package/dist/webcomponents/p-2abf1785.entry.js +1 -0
  463. package/dist/webcomponents/p-2dcf196f.entry.js +1 -0
  464. package/dist/webcomponents/{p-7c63d61d.entry.js → p-302f7632.entry.js} +1 -1
  465. package/dist/webcomponents/{p-2f482f5b.entry.js → p-351ffd2a.entry.js} +1 -1
  466. package/dist/webcomponents/{p-cb7c712f.entry.js → p-39ca43e0.entry.js} +1 -1
  467. package/dist/webcomponents/p-3eb5f196.entry.js +1 -0
  468. package/dist/webcomponents/p-4045631f.entry.js +1 -0
  469. package/dist/webcomponents/{p-05c604d2.entry.js → p-429618a4.entry.js} +1 -1
  470. package/dist/webcomponents/{p-a02ce003.entry.js → p-444fb5a6.entry.js} +1 -1
  471. package/dist/webcomponents/{p-ac538ffd.entry.js → p-45b0a91c.entry.js} +1 -1
  472. package/dist/webcomponents/p-4907e95b.entry.js +1 -0
  473. package/dist/webcomponents/p-4a0a4314.entry.js +1 -0
  474. package/dist/webcomponents/p-4aaaa44e.entry.js +1 -0
  475. package/dist/webcomponents/p-4b34b9af.entry.js +1 -0
  476. package/dist/webcomponents/p-55iuf7iW.js +1 -0
  477. package/dist/webcomponents/{p-BxfUcCXo.js → p-5aA7gjr5.js} +1 -1
  478. package/dist/webcomponents/p-5e71f4d4.entry.js +1 -0
  479. package/dist/webcomponents/{p-0e4e662b.entry.js → p-6a06da8a.entry.js} +1 -1
  480. package/dist/webcomponents/p-6bafb4b5.entry.js +1 -0
  481. package/dist/webcomponents/p-6d1f2d57.entry.js +1 -0
  482. package/dist/webcomponents/p-6f397c80.entry.js +1 -0
  483. package/dist/webcomponents/p-75545aec.entry.js +1 -0
  484. package/dist/webcomponents/p-7b07255f.entry.js +1 -0
  485. package/dist/webcomponents/p-7b925204.entry.js +1 -0
  486. package/dist/webcomponents/p-831857dc.entry.js +1 -0
  487. package/dist/webcomponents/p-85c0953d.entry.js +1 -0
  488. package/dist/webcomponents/p-85ebdce5.entry.js +1 -0
  489. package/dist/webcomponents/p-86b166eb.entry.js +1 -0
  490. package/dist/webcomponents/{p-1bddf354.entry.js → p-880718b9.entry.js} +1 -1
  491. package/dist/webcomponents/p-88b6dbdd.entry.js +1 -0
  492. package/dist/webcomponents/p-8e0c6f60.entry.js +1 -0
  493. package/dist/webcomponents/{p-66861ea5.entry.js → p-90edbaa3.entry.js} +1 -1
  494. package/dist/webcomponents/p-97c0d873.entry.js +1 -0
  495. package/dist/webcomponents/p-9e48a264.entry.js +1 -0
  496. package/dist/webcomponents/{p-Dh6FEdp8.js → p-AbSg_vYv.js} +1 -1
  497. package/dist/webcomponents/p-B2uBb14Y.js +1 -0
  498. package/dist/webcomponents/{p-BtT7kqMw.js → p-B3qJZUMy.js} +1 -1
  499. package/dist/webcomponents/p-BF51n3KG.js +1 -0
  500. package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
  501. package/dist/webcomponents/p-BNd9xVOU.js +1 -0
  502. package/dist/webcomponents/p-BQLEjYfZ.js +1 -0
  503. package/dist/webcomponents/p-BZ9YQ3FA.js +1 -0
  504. package/dist/webcomponents/{p-BqK0rIZQ.js → p-BfEOvp9h.js} +1 -1
  505. package/dist/webcomponents/p-Bka75aL-.js +1 -0
  506. package/dist/webcomponents/p-C3e-DgwK.js +1 -0
  507. package/dist/webcomponents/{p-DAVX1-sW.js → p-CDIPkflV.js} +1 -1
  508. package/dist/webcomponents/{p-D3G5aVLy.js → p-CKg_luIy.js} +1 -1
  509. package/dist/webcomponents/{p-DDpc1huF.js → p-Ce8QXyUM.js} +1 -1
  510. package/dist/webcomponents/p-ChzWF0s3.js +1 -0
  511. package/dist/webcomponents/p-CjAMuB2J.js +1 -0
  512. package/dist/webcomponents/p-Cjcsf8ku.js +1 -0
  513. package/dist/webcomponents/{p-DAoffYFW.js → p-D0I-tRSs.js} +1 -1
  514. package/dist/webcomponents/p-D2muobcE.js +1 -0
  515. package/dist/webcomponents/p-DC63XVwu.js +1 -0
  516. package/dist/webcomponents/p-DH8F0bsw.js +1 -0
  517. package/dist/webcomponents/p-DMuY7Dka.js +1 -0
  518. package/dist/webcomponents/p-DPfZxsq9.js +1 -0
  519. package/dist/webcomponents/{p-DHvfrLVU.js → p-DPnS0F0Y.js} +1 -1
  520. package/dist/webcomponents/p-DR0bMp9p.js +1 -0
  521. package/dist/webcomponents/p-DYGIC0QH.js +1 -0
  522. package/dist/webcomponents/p-DgxD9dbc.js +1 -0
  523. package/dist/webcomponents/p-DniBAXrh.js +1 -0
  524. package/dist/webcomponents/p-Do0fsKZk.js +1 -0
  525. package/dist/webcomponents/{p-1adN6FVa.js → p-DpUqxsf5.js} +1 -1
  526. package/dist/webcomponents/p-DxEnw2tJ.js +1 -0
  527. package/dist/webcomponents/{p-fUv1jFAw.js → p-EAEmpCru.js} +1 -1
  528. package/dist/webcomponents/p-HlNEzyiZ.js +1 -0
  529. package/dist/webcomponents/p-O50LiN_p.js +1 -0
  530. package/dist/webcomponents/p-S_UV9-px.js +1 -0
  531. package/dist/webcomponents/p-X2PeOHf5.js +1 -0
  532. package/dist/webcomponents/p-_WsRuUBr.js +1 -0
  533. package/dist/webcomponents/{p-683630d0.entry.js → p-a1c7c873.entry.js} +1 -1
  534. package/dist/webcomponents/p-a3c6c55e.entry.js +1 -0
  535. package/dist/webcomponents/p-af935779.entry.js +1 -0
  536. package/dist/webcomponents/p-b01801a6.entry.js +1 -0
  537. package/dist/webcomponents/p-b47000f7.entry.js +1 -0
  538. package/dist/webcomponents/p-b58fb1b1.entry.js +1 -0
  539. package/dist/webcomponents/{p-f5d12ae3.entry.js → p-b8906c49.entry.js} +1 -1
  540. package/dist/webcomponents/p-c1bf875b.entry.js +1 -0
  541. package/dist/webcomponents/p-c26ef276.entry.js +1 -0
  542. package/dist/webcomponents/p-c5331724.entry.js +1 -0
  543. package/dist/webcomponents/p-c6bd05ef.entry.js +1 -0
  544. package/dist/webcomponents/{p-0890869b.entry.js → p-d5e4e888.entry.js} +4 -4
  545. package/dist/webcomponents/{p-e48a2d25.entry.js → p-e2ee826e.entry.js} +1 -1
  546. package/dist/webcomponents/{p-ae00a6f3.entry.js → p-e9c44dc2.entry.js} +1 -1
  547. package/dist/webcomponents/p-edf9128c.entry.js +1 -0
  548. package/dist/webcomponents/p-f3c2de89.entry.js +1 -0
  549. package/dist/webcomponents/p-f6ff7255.entry.js +1 -0
  550. package/dist/webcomponents/p-f8a0821d.entry.js +1 -0
  551. package/dist/webcomponents/p-fcb6c171.entry.js +1 -0
  552. package/dist/webcomponents/p-fd4d7c7e.entry.js +1 -0
  553. package/dist/webcomponents/p-pMAKJWDL.js +1 -0
  554. package/dist/webcomponents/p-rPeW3G6n.js +1 -0
  555. package/dist/webcomponents/webcomponents.esm.js +1 -1
  556. package/package.json +1 -1
  557. package/dist/cjs/Payment-D5UynU2f.js +0 -151
  558. package/dist/cjs/header-3-BnKbOjvz.js +0 -10
  559. package/dist/cjs/insurance-state-BsGy_svD.js +0 -34
  560. package/dist/cjs/justifi-billing-form.cjs.entry.js +0 -76
  561. package/dist/cjs/justifi-new-payment-method.cjs.entry.js +0 -99
  562. package/dist/cjs/justifi-payment-method-options.cjs.entry.js +0 -76
  563. package/dist/cjs/justifi-saved-payment-methods_2.cjs.entry.js +0 -117
  564. package/dist/collection/components/checkout/new-payment-method.js +0 -378
  565. package/dist/collection/components/checkout/payment-method-options.js +0 -421
  566. package/dist/esm/Payment-00TwhwCx.js +0 -149
  567. package/dist/esm/header-3-Bsi4loU1.js +0 -8
  568. package/dist/esm/insurance-state-pL8MRpxn.js +0 -28
  569. package/dist/esm/justifi-billing-form.entry.js +0 -74
  570. package/dist/esm/justifi-new-payment-method.entry.js +0 -97
  571. package/dist/esm/justifi-payment-method-options.entry.js +0 -74
  572. package/dist/esm/justifi-saved-payment-methods_2.entry.js +0 -114
  573. package/dist/module/Payment.js +0 -204
  574. package/dist/module/header-3.js +0 -8
  575. package/dist/module/justifi-new-payment-method.d.ts +0 -11
  576. package/dist/module/justifi-new-payment-method.js +0 -219
  577. package/dist/module/justifi-payment-method-options.d.ts +0 -11
  578. package/dist/module/justifi-payment-method-options.js +0 -6
  579. package/dist/module/payment-method-options.js +0 -129
  580. package/dist/types/components/checkout/new-payment-method.d.ts +0 -31
  581. package/dist/types/components/checkout/payment-method-options.d.ts +0 -32
  582. package/dist/webcomponents/p-00d7c2e6.entry.js +0 -1
  583. package/dist/webcomponents/p-03e9a98c.entry.js +0 -1
  584. package/dist/webcomponents/p-05fc864a.entry.js +0 -1
  585. package/dist/webcomponents/p-09c24135.entry.js +0 -1
  586. package/dist/webcomponents/p-0f511cc1.entry.js +0 -1
  587. package/dist/webcomponents/p-100008fa.entry.js +0 -1
  588. package/dist/webcomponents/p-17825dfb.entry.js +0 -1
  589. package/dist/webcomponents/p-18b941d3.entry.js +0 -1
  590. package/dist/webcomponents/p-19308a1b.entry.js +0 -1
  591. package/dist/webcomponents/p-1a7942f7.entry.js +0 -1
  592. package/dist/webcomponents/p-1d1d956b.entry.js +0 -1
  593. package/dist/webcomponents/p-26bf2fda.entry.js +0 -1
  594. package/dist/webcomponents/p-2d3949f7.entry.js +0 -1
  595. package/dist/webcomponents/p-326f4860.entry.js +0 -1
  596. package/dist/webcomponents/p-359b8f54.entry.js +0 -1
  597. package/dist/webcomponents/p-37aeeeee.entry.js +0 -1
  598. package/dist/webcomponents/p-4887bcb3.entry.js +0 -1
  599. package/dist/webcomponents/p-54406229.entry.js +0 -1
  600. package/dist/webcomponents/p-56af4fd0.entry.js +0 -1
  601. package/dist/webcomponents/p-59656e08.entry.js +0 -1
  602. package/dist/webcomponents/p-5d145701.entry.js +0 -1
  603. package/dist/webcomponents/p-5e813b93.entry.js +0 -1
  604. package/dist/webcomponents/p-64a46b8a.entry.js +0 -1
  605. package/dist/webcomponents/p-6bd83369.entry.js +0 -1
  606. package/dist/webcomponents/p-6ee2b118.entry.js +0 -1
  607. package/dist/webcomponents/p-73afde1b.entry.js +0 -1
  608. package/dist/webcomponents/p-73bbd71c.entry.js +0 -1
  609. package/dist/webcomponents/p-74f78a4e.entry.js +0 -1
  610. package/dist/webcomponents/p-755a8d9b.entry.js +0 -1
  611. package/dist/webcomponents/p-7c456c10.entry.js +0 -1
  612. package/dist/webcomponents/p-7c6d7283.entry.js +0 -1
  613. package/dist/webcomponents/p-7e9832b3.entry.js +0 -1
  614. package/dist/webcomponents/p-810cad17.entry.js +0 -1
  615. package/dist/webcomponents/p-81478598.entry.js +0 -1
  616. package/dist/webcomponents/p-91a2707a.entry.js +0 -1
  617. package/dist/webcomponents/p-9348a7c8.entry.js +0 -1
  618. package/dist/webcomponents/p-967c3374.entry.js +0 -1
  619. package/dist/webcomponents/p-9REosSLu.js +0 -1
  620. package/dist/webcomponents/p-9c27f87f.entry.js +0 -1
  621. package/dist/webcomponents/p-B9ROmZzw.js +0 -1
  622. package/dist/webcomponents/p-BCPBc18Y.js +0 -1
  623. package/dist/webcomponents/p-BQ5bL1Y5.js +0 -1
  624. package/dist/webcomponents/p-BSW9VS7r.js +0 -1
  625. package/dist/webcomponents/p-BSexQ2qc.js +0 -1
  626. package/dist/webcomponents/p-Bc5u1WjM.js +0 -1
  627. package/dist/webcomponents/p-BhrFjjAs.js +0 -1
  628. package/dist/webcomponents/p-BjQrbohd.js +0 -1
  629. package/dist/webcomponents/p-BxWsrx5h.js +0 -1
  630. package/dist/webcomponents/p-By9Lz2e0.js +0 -1
  631. package/dist/webcomponents/p-CEp46FZK.js +0 -1
  632. package/dist/webcomponents/p-CMNxLEJP.js +0 -1
  633. package/dist/webcomponents/p-CZItg0Yo.js +0 -1
  634. package/dist/webcomponents/p-D7WGjeDy.js +0 -1
  635. package/dist/webcomponents/p-DIDbcp63.js +0 -1
  636. package/dist/webcomponents/p-DKClunJd.js +0 -1
  637. package/dist/webcomponents/p-DR0dQ8Fv.js +0 -1
  638. package/dist/webcomponents/p-DUqRxn4Y.js +0 -1
  639. package/dist/webcomponents/p-DbcOhajT.js +0 -1
  640. package/dist/webcomponents/p-DhAmsAOH.js +0 -1
  641. package/dist/webcomponents/p-DoEkFs2i.js +0 -1
  642. package/dist/webcomponents/p-DvXSA0b0.js +0 -1
  643. package/dist/webcomponents/p-NqdaxjDT.js +0 -1
  644. package/dist/webcomponents/p-a05062d8.entry.js +0 -1
  645. package/dist/webcomponents/p-a27405fb.entry.js +0 -1
  646. package/dist/webcomponents/p-a2f0d61c.entry.js +0 -1
  647. package/dist/webcomponents/p-a95741ee.entry.js +0 -1
  648. package/dist/webcomponents/p-b193bf46.entry.js +0 -1
  649. package/dist/webcomponents/p-b398856f.entry.js +0 -1
  650. package/dist/webcomponents/p-d33baab9.entry.js +0 -1
  651. package/dist/webcomponents/p-d3f438ca.entry.js +0 -1
  652. package/dist/webcomponents/p-d5b3c65c.entry.js +0 -1
  653. package/dist/webcomponents/p-d62e6c16.entry.js +0 -1
  654. package/dist/webcomponents/p-eba620cd.entry.js +0 -1
  655. package/dist/webcomponents/p-ecdda6e6.entry.js +0 -1
  656. package/dist/webcomponents/p-f24e201f.entry.js +0 -1
  657. package/dist/webcomponents/p-m2jmX-Hz.js +0 -1
  658. package/dist/webcomponents/p-pGzabKc7.js +0 -1
  659. package/dist/webcomponents/p-sT4o5vru.js +0 -1
  660. package/dist/webcomponents/p-ys9CWfNG.js +0 -1
  661. package/dist/webcomponents/p-zucQG3cz.js +0 -1
@@ -28,7 +28,7 @@ export class ProductOrService {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c;
31
- return (h("div", { key: 'c93f5bc2e64f5e2964eb033cb6c972283841876b' }, h("div", { key: '7986f459ba9cc0d7e896a418ba4bd9e51148d36f', class: "row gy-3" }, h("div", { key: 'ddf033f861a5b91961294600a5d6d7261937711c', class: "col-12" }, h("h2", { key: '2a33306859a2982fbb3457831c29a98cd3e86c4f', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '385212b08cbdcd4d610c806f1f9b5d18446a9831', class: "col-12" }, h("form-control-text", { key: '210a8c07288473e93737e93659dc91e7f813e306', 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: '5a52ad00db803d2ddd0afe6ee7cde4b907e1ad1a', class: "col-12" }, h("form-control-date", { key: '1bdef3f3391b4a97aa3e97aefac3e29b5520f620', 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: 'd4fc75d0f175914e2fbb134e6449e1d45742a9f3', class: "col-12" }, h("form-control-file-v2", { key: '62e1ae0f42103f49bc5c93427b62ad90570634f8', 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: 'a300941b5472ab2cfd1dd212fbab4b280c132f73' }, h("div", { key: '1f11681c815c4f0676da384884b758b1bd49f3d1', class: "row gy-3" }, h("div", { key: '56f1575a5e2c7da5d725ca224b5d64163de0fd23', class: "col-12" }, h("h2", { key: '9ccb22c016184f233d1096b66380473a8e62c269', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'e602ac3e5fe3cbd3d12910d66cc8d879295a9e4a', class: "col-12" }, h("form-control-textarea", { key: 'f6e6dae3ab7d383da16fa5308933a77cf63f11d8', 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: '8cdb3b28847683f5fd4594eb64522c899e5ef993', class: "col-12" }, h("form-control-textarea", { key: 'c8e4b7c760cbe8bb9cb30818b0c29f6012092649', 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: '95c376af4517e3ee23afd64d479a6ae051f03d72', class: "col-12" }, h("form-control-file-v2", { key: 'dc2ef0d5911dbab2d820bc46563bbb7218390501', 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: 'b9d6ffb85e987f5037e414dde26e72f5219c0ea8', class: "col-12" }, h("form-control-file-v2", { key: 'c6513b7a2f9d68c2df2be8c21da0d16e03a6a885', 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: '4556d3dbedce4833b63302f78f467ccf71cce02c' }, h("div", { key: '18569ca4c37bbf7b82a13db6c8ae878d0b2c12fa', class: "row gy-3" }, h("div", { key: '001f41285eda4237686861df1aaaad24836fbf7c', class: "col-12" }, h("h2", { key: '3193324c11f5ca7c81de99cd224e2f8a8d21a43d', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'e312e8aee070bee2b317dc7f6f9e616dc3cbd26e', class: "col-12" }, h("form-control-text", { key: '69a90af0a8c328b7e0eba67d39ac3f2f4ffd3439', 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: '5c4ca04204a7467918e2e130d6ee437a4c5db85b', class: "col-12" }, h("form-control-text", { key: '266415e75633d4d4b5062f56ec43d47e60e03aa1', 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: '90088259556bbfce03c87af029ea53efc4c394de', class: "col-12" }, h("form-control-date", { key: 'b5eaf92844540c4536f8296e8668ed7e826dfd1f', 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: '180c72ec5c37cb7bca2edbf3d158d4973c149084', class: "col-12" }, h("form-control-textarea", { key: '924cae54e30cba491dd4ce10bb514a7374a1d793', 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: 'b7f06251c0a03bec0b6622b9d05c7c55d7d6bb13', class: "col-12" }, h("form-control-file-v2", { key: '832da84ac1f4822ac882c03d60b169a2351ffb8e', 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: 'db1619bbaa73d4102c684b2ca1b4897d1c36fa66', class: "d-flex gap-2" }, h("div", { key: '68f4538d4465aadbf20e322264e219ce7ca8078a', class: "dropdown pb-3" }, h("button", { key: 'cc1835756c1fa2a24a4bbc4ec2960caca0d24e75', 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: '14f88ecd195fcf3770cadd71659b00d4c117c460', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'd33a6875f30413f3a2f5b8d706cf0bf0e3d6620a', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '5923bb3684fc9f710a6686d9bf90a6d0f35a1818' })))), h("div", { key: 'eba66abc4ef60bf7603fd9459cf4040ed6105e8c' }, h(Button, { key: 'f5de28962ac56636904cee2a5e5d41204e07143c', 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: '663505aa79e84647ccc612ba671910a2cbc9e27d' }, this.loading && h(Spinner, { key: '2c0a00781ec16313786e76e2d95f4cddae5d3cb9' }), !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: 'a563c1f6daf665c6ae06442c18dd25400b420f39', 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) => {
@@ -87,14 +115,14 @@ export class CheckoutWrapper {
87
115
  this.sezzlePaymentMethodRef = this.hostEl.querySelector('justifi-sezzle-payment-method');
88
116
  }
89
117
  async tokenizePaymentMethod(tokenizeArgs) {
90
- var _a, _b;
118
+ var _a, _b, _c;
91
119
  const billingInfoValues = (_b = await ((_a = this.billingInformationFormRef) === null || _a === void 0 ? void 0 : _a.getValues())) !== null && _b !== void 0 ? _b : {};
92
120
  const combinedBillingInfo = Object.assign(Object.assign({}, tokenizeArgs), billingInfoValues);
93
121
  const paymentMethodMetadata = Object.assign({ accountId: checkoutStore.accountId, payment_method_group_id: undefined }, combinedBillingInfo);
94
- if (this.savePaymentMethod) {
122
+ if (checkoutStore.savePaymentMethod) {
95
123
  paymentMethodMetadata.payment_method_group_id = checkoutStore.paymentMethodGroupId;
96
124
  }
97
- return this.paymentMethodFormRef.tokenize({
125
+ return (_c = this.paymentMethodFormRef) === null || _c === void 0 ? void 0 : _c.tokenize({
98
126
  clientId: this.authToken,
99
127
  paymentMethodMetadata,
100
128
  account: checkoutStore.accountId,
@@ -194,7 +222,7 @@ export class CheckoutWrapper {
194
222
  checkoutStore.selectedPaymentMethod = paymentMethodId;
195
223
  }
196
224
  render() {
197
- return (h(Host, { key: '833e1e4f917a0dbee2a14076a71de8d00ec5b5d8' }));
225
+ return (h(Host, { key: '6b18f4f77b736f984ac15f168cc51b74c3927225' }));
198
226
  }
199
227
  static get is() { return "justifi-modular-checkout"; }
200
228
  static get properties() {
@@ -376,4 +404,10 @@ export class CheckoutWrapper {
376
404
  };
377
405
  }
378
406
  static get elementRef() { return "hostEl"; }
407
+ static get watchers() {
408
+ return [{
409
+ "propName": "savePaymentMethod",
410
+ "methodName": "savePaymentMethodChanged"
411
+ }];
412
+ }
379
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: '62a8adb8888d6143bbc27678ccff125c7b3a59ec' }, h(BankAccountFormSkeleton, { key: 'a73372809ad95b4aa900aa6907ce4517ce01cdde', isReady: this.isReady }), h("hidden-input", { key: 'a9324304388bf0b3b19bfe4f8ea56c9fad1a12e7' }), h("div", { key: '7b7584c3af3bfe6ca6fb7bdbec25d4c0c9d43b40', 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: '40c0352915f903b5ba6fda1642644158daf129b7', class: "row mb-3" }, h("iframe-input", { key: 'af64688e5d8b5da6898a5e20550cc1992a28fe9c', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '20fbdaffb3d2ba3ac8c44a4b64040f146ad58789', class: "row" }, h("iframe-input", { key: '5a0fd0855570d0ebbcd1d6be2f569d08a4ae3c17', 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"; }
@@ -31,16 +31,21 @@ export class BillingInformationForm {
31
31
  this.errors = Object.assign({}, errors);
32
32
  });
33
33
  }
34
+ async fill(values) {
35
+ this.formController.setInitialValues(values);
36
+ return this.formController.values.getValue();
37
+ }
34
38
  async getValues() {
35
39
  return this.formController.values.getValue();
36
40
  }
37
41
  async validate() {
38
- let isValid = await this.formController.validate();
39
- return { isValid: isValid };
42
+ const isValid = await this.formController.validate();
43
+ const errors = this.formController.errors.getValue();
44
+ return { isValid, errors };
40
45
  }
41
46
  render() {
42
47
  const billingFormDefaultValue = this.formController.getInitialValues();
43
- return (h(StyledHost, { key: '7111e5b5bb74bf5af175910094a75eccaff6f1c1' }, h("div", { key: '2ab9f375ca4d7b911f121a54eacbf1db58922fbf', part: billingForm }, h("form", { key: '85a3c97691dcbf47c626e879639b56abeae4b2b2' }, h("fieldset", { key: '8fbc358d9e9341f909484e1854f61fcfd1eb1fb7' }, h("div", { key: 'f829796613bf471ad10e9b56c925c279b89d1285', class: "row gy-3" }, h("div", { key: 'fb4db86dffdef38fdbdce46ff616ca04ae76e2d3', class: "col-12" }, h("form-control-text", { key: '8fbb9905623d60a3927e12b378643ba114444317', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'ad970e98848b37a7fbf38426816934d6d07f3f0c', class: "col-12" }, h("form-control-text", { key: '6e760651837835e11302b8c67a2df8fca1e8ed7e', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'e0e5e930cbe8d1004c9c042d11808cdfe249ec63', class: "col-12" }, h("form-control-text", { key: '804eddc192b2986da21e408c6ec4b0e5776cdc97', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '816709631875826395d2299c550aab269ebcc978', class: "col-12" }, h("form-control-text", { key: '51f9d36ac48eb9fd96e1174464c8626a5186f8fa', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: 'd6a218546863ca966ca29b6a25c7965133e03e9c', class: "col-12" }, h("form-control-select", { key: '09a02e39dd8fe8bd994f66e29c0c30e232a0fe62', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '171d7901a169a8a86dae6db50f85094d891a754e', class: "col-12" }, h("form-control-text", { key: '9c0654206e6e7a6f3e8ec1f6e91c856d56fb10f4', 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 }))))))));
44
49
  }
45
50
  static get is() { return "justifi-billing-information-form"; }
46
51
  static get encapsulation() { return "shadow"; }
@@ -53,6 +58,32 @@ export class BillingInformationForm {
53
58
  }
54
59
  static get methods() {
55
60
  return {
61
+ "fill": {
62
+ "complexType": {
63
+ "signature": "(values: BillingFormFields) => Promise<any>",
64
+ "parameters": [{
65
+ "name": "values",
66
+ "type": "BillingFormFields",
67
+ "docs": ""
68
+ }],
69
+ "references": {
70
+ "Promise": {
71
+ "location": "global",
72
+ "id": "global::Promise"
73
+ },
74
+ "BillingFormFields": {
75
+ "location": "import",
76
+ "path": "./billing-form-schema",
77
+ "id": "src/components/modular-checkout/sub-components/billing-form-schema.ts::BillingFormFields"
78
+ }
79
+ },
80
+ "return": "Promise<any>"
81
+ },
82
+ "docs": {
83
+ "text": "",
84
+ "tags": []
85
+ }
86
+ },
56
87
  "getValues": {
57
88
  "complexType": {
58
89
  "signature": "() => Promise<BillingFormFields>",
@@ -77,7 +108,7 @@ export class BillingInformationForm {
77
108
  },
78
109
  "validate": {
79
110
  "complexType": {
80
- "signature": "() => Promise<{ isValid: boolean; }>",
111
+ "signature": "() => Promise<{ isValid: boolean; errors: any; }>",
81
112
  "parameters": [],
82
113
  "references": {
83
114
  "Promise": {
@@ -85,7 +116,7 @@ export class BillingInformationForm {
85
116
  "id": "global::Promise"
86
117
  }
87
118
  },
88
- "return": "Promise<{ isValid: boolean; }>"
119
+ "return": "Promise<{ isValid: boolean; errors: any; }>"
89
120
  },
90
121
  "docs": {
91
122
  "text": "",
@@ -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: '2c4ec015f537508bc875aaf6e3d527cd4f39eec6' }, h(CardFormSkeleton, { key: '064b3dab1b506c3332c753233b1893b36d36d42a', isReady: this.isReady }), h("hidden-input", { key: 'cb74f8ef5c6c437c3ff2c763b2b3f7a9f7732c13' }), h("div", { key: '7c688141ed3e96b032fc6f96a170cd4be09a65e5', 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: '2722c8d805cc4767bf58cb70c5be4815e8bc09ee', class: "mb-3" }, h("iframe-input", { key: '428df22cc9075d737c5aec2520596ae774adde1e', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '292ae9746f3dd219ced19be33f6900fa00bfb4b1', class: "row" }, h("div", { key: '2e825c02e676a30e873f6f119aa6521e49ac7051', class: "col-4 align-content-end" }, h("iframe-input", { key: '4a9ddbf248fdabcc6da0fb405e95c906717a91ab', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'a500314664b746c6947107021e32d04790000865', class: "col-4 align-content-end" }, h("iframe-input", { key: '995c9294a85c8da8b9e314646c93c700a54e7310', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'b0a7d1f9df2a2fba165d3cae93b542da80cec77c', class: "col-4 align-content-end" }, h("iframe-input", { key: '3adfeccdfc31745b972bf7d040aaf0e5d55fbfb3', 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: 'bef445cfdd80c24e9b005f503cf4913ceac4eae8', class: "payment-method" }, h("div", { key: 'af292fe29e32858371b7a41fb3d1b983a33d4cc0', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: '7f3e0ea48a5a8d9b655e1f8609065b7de06386eb', 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"; }
@@ -37,11 +37,12 @@ export class PostalCodeForm {
37
37
  }
38
38
  async validate() {
39
39
  let isValid = await this.formController.validate();
40
- return { isValid: isValid };
40
+ const errors = this.formController.errors.getValue();
41
+ return { isValid, errors };
41
42
  }
42
43
  render() {
43
44
  const billingFormDefaultValue = this.formController.getInitialValues();
44
- return (h(StyledHost, { key: 'bc2746672b9bcb986f658f69c53ded47f78165e2' }, h("form", { key: '9a2642233487802aa55c0a0a548f277e252517d3' }, h("form-control-text", { key: 'ff3f4e10ebe6a278bbe0671691128a058e8ada8b', 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 }))));
45
46
  }
46
47
  static get is() { return "justifi-postal-code-form"; }
47
48
  static get encapsulation() { return "shadow"; }
@@ -104,7 +105,7 @@ export class PostalCodeForm {
104
105
  },
105
106
  "validate": {
106
107
  "complexType": {
107
- "signature": "() => Promise<{ isValid: boolean; }>",
108
+ "signature": "() => Promise<{ isValid: boolean; errors: any; }>",
108
109
  "parameters": [],
109
110
  "references": {
110
111
  "Promise": {
@@ -112,7 +113,7 @@ export class PostalCodeForm {
112
113
  "id": "global::Promise"
113
114
  }
114
115
  },
115
- "return": "Promise<{ isValid: boolean; }>"
116
+ "return": "Promise<{ isValid: boolean; errors: any; }>"
116
117
  },
117
118
  "docs": {
118
119
  "text": "",
@@ -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: '9057314b14d664a53f9027fe8931c9e06d40da06' }, h("section", { key: '7f9d83b6684b0e12b8ac2f77980a46a8645bf9eb' }, h("div", { key: 'dec6d2cfc844ea84c8b2ed432ff158336accf753' }, h("div", { key: 'a70a972e3dcdad849602dcc701a945c065711a8a', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'cb2836ddfecd765399d596156cafeb2eec8e65eb' }, h("span", { key: '9578966828d25390357d15a0b20348a39b30ab4f', part: text }, "Total"), "\u00A0", h("span", { key: '00643561d4e300539f43b970e4e31bc387d6e307', 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: '01b1a2a01294f88b7c31fc3d9523351f2a0eabfa' }, h("div", { key: '61cb9b199e9741aae879a8db3174c0c0078b59b5', 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: 'c125f46ce70ffb47ef60aae54dd6e98600bc54ba', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '6837368dec422a7d4a049edac76da09243de2d80', class: "d-flex gap-3" }, h("div", { key: '11c09e2822156c68544fd4ef83b23455d96042f9', class: "d-flex align-items-center" }, h("img", { key: '75e151b275779cbbfd04829235f5c475bef9ae53', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '719e0529b756ba4c2b781d29027ab22be80d8e0a', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '3127a99862476f58bb3b2d5ced9a8816a40c41e9', class: "row" }, h("div", { key: 'b8c3fe406409be25c52506bdd1a87ad13d508a42', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '2f7d0b822f986af9313cfe3b542f3935c1414ecd', helpText: this.description })), h("div", { key: 'b20893a20241a2e46e2e9f8ab61b7acc53b6789b', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '14ef7edc22a547dbba9f634802bf7eba2f702d6f', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '87e8177f0faac786c076be1a6dcbcdae1978ec37', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: 'feba738f127cb66a8b04a4448d1870f0ba102282', 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() {
@@ -38,16 +38,16 @@ export class PaymentDetailsCore {
38
38
  });
39
39
  }
40
40
  render() {
41
- return (h(StyledHost, { key: '8585ffcde1ebe2da1200e7fcaade68c0360f2c1a' }, this.loading && h(PaymentDetailsLoading, { key: 'f6299c6ec9d66a9245741159cc43b11ee7b09ca1' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
42
- this.payment && (h("justifi-details", { key: 'acc35bf0c47c91b3b843b4fcfa7818567b995ea7', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '603e435434b28cbdd8948a08974277936268fe70', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.payment.status), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: 'a098dd2bc67c702e1d7647d138ff97042da1de8f', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '10f5834de6a0409287aef8c92bd6c4c83b0b2bd0', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'd2af757628227d8733171c8f2be2835767226b61', title: "ID", value: this.payment.id })), h("div", { key: 'a22165ac2f43743ac21aec7a368ab8afb68c1fc9', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'c5de0c4fde5995b21e7ae5f17c6b51e3cbab57ad', sectionTitle: "Details" }), h("div", { key: 'd9a63e648c9451b09c3fad4228a930f40a6bb5e3', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '053219e35617c803aaf761887ea16eaa1d180799', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '362da49eb3a32b52952f8a962c59767b7d99893a', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '31eec3ba162f3e797b7f2e57ce0dd67ef699198f', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '319f49664029d1a4585a112ee20ba37d29ff86bb', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '405970cce3d67d7a2b99a59703208dde68026e37', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '2279263fa33f450b7a7a4c0cae7b6c5ce17d31d7', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '72a16f085fe07d51a60e29d4a446432b5ba9b647', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '30c28c112f2796119e5ba3be999d3af138b2638a', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '1751d564f87577e04b2e4d0674ed1613135c6fd9', title: "Description", value: this.payment.description }), h(DetailItem, { key: 'b7688698d4b14b07ccdd667fd49c83c462c58715', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
43
- h(DetailSectionTitle, { key: '8ce47b7e38b9560d782bcbc4a5b0d0867914e0a7', sectionTitle: "Payment Method" }),
44
- h("div", { key: '35139a669b782e699d272c9569f78ee89cf78a4d', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'b63fd298d76b5cc74c6bd2bb9c72c776da76e60b', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '8034323b79eba121450f84b98fecb329f04ee058', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '484afb22d8b083b127f2e82a2d16bed107f4ff93', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '3d018226d4e8b7d880d22095eb0f368b8e0447ce', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '3764d6de77ccf43f554d4713bd3a1dc4c2563a6d', title: "Cardholder", value: this.payment.payment_method.payersName }))
41
+ return (h(StyledHost, { key: '543dad947d01344e9e5009110bddb5821a02937f' }, this.loading && h(PaymentDetailsLoading, { key: 'abcd6ef7e515e16de73c67899c7cbfc9b70ab33e' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
42
+ this.payment && (h("justifi-details", { key: 'b483164e45760433b992e0e2963286b8b09ffa5b', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'b9683686f022496a692aa3110aa8a45fbc5e20a8', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.payment.status), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: 'aee5d5a5094b6f28ca91768f367c722c36839503', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '2b6e98971b18a1eac443eb533a970eac31e10b00', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '1eb83f88d6f03498b5c727e12b6bb9843a39c484', title: "ID", value: this.payment.id })), h("div", { key: '65084d14a86e1083a04d3a5ec090836c127e9b2b', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'c39fb2358ffd27569eaa1d53f2b84436d8c3d13d', sectionTitle: "Details" }), h("div", { key: 'f553f918635184ce74a961adf048e0aef8e4095e', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '10904bbe38efc40725407691278d5ef1e050c19a', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: 'd508f41ab412a26de5d77677083ac5caa5acdbc1', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'cbd6726b86287968734945591503e72fcf3c33d1', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '0c826a82c18fc6ddcceafaca8e7c2a365d66ed35', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '891a37d3c9a7ef23dca67f46a0c889d1be15d7ec', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '4072981c52ccf3c44e1539a7faa5c3b71a4d5bc0', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '268e56e5219ce1c32ccbd0fc8b8baea0c0bc3e14', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '6c168b8af36129c1463abb5f2297501c6748c53c', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'a8f5fffc9ba51dff3e7fbd792c94b0281f8c6bfe', title: "Description", value: this.payment.description }), h(DetailItem, { key: '420e914293457433d5b3ca2251c2732bbaf93124', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
43
+ h(DetailSectionTitle, { key: '2f8e24f28b11e7ce54013d69ea093c68c0aaa6eb', sectionTitle: "Payment Method" }),
44
+ h("div", { key: '49dc2c4227ae2ecacd633ec0e3f70ad084e1149b', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1a082c26a64699c83a9ef591a67c104c28d2f701', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'cf65c3bee1a9468a271a20568bf4a94e793134c9', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '20844b52ca50fcf86232b00d28dffbac9255500d', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'bbe9028644fd810993fbd41515377efafa42104a', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '0497fb5cd1dc27c3b6231c9f4a7a90280e91bd14', title: "Cardholder", value: this.payment.payment_method.payersName }))
45
45
  ], this.payment.payment_method.bank_account && [
46
- h(DetailSectionTitle, { key: 'b3e05a55bf7ad71da8cf954c2b019983c724a4d2', sectionTitle: "Payment Method" }),
47
- h("div", { key: '114e6995238d425538238fdb8a1aa6f8cdab2978', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'b63a6c4476a748cf04298c10b44547e6fd4a9a87', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '85abe1a494648a42c72f3cde23f6c63ee8d28f1b', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '589d98f88a2ebf42caf7b32f9358e7da1d927d5d', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'ee98c032b446963cba6f2e6a31ae5f444e5bfae6', title: "Account Owner", value: this.payment.payment_method.payersName }))
46
+ h(DetailSectionTitle, { key: '8d1bf178e46cbbc4f032921131596287ebbef3e9', sectionTitle: "Payment Method" }),
47
+ h("div", { key: '229f45908714278751ff15130055f9fee4c9d433', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '8f5bcea109acde4bdda0f075277ec8c452a33c05', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '5ab277a94c113f1b3abfa596dc82444d6e7fe6fc', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '3816609a36fa8bb3a6391fa00b92244a438de013', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'fc14e9b11c89f738df3318d1ef8919b07d57c027', title: "Account Owner", value: this.payment.payment_method.payersName }))
48
48
  ], this.payment.metadata && [
49
- h(DetailSectionTitle, { key: '38c0e695c4a14350a6f32ec60bedb8b7fa5f00ce', sectionTitle: 'Metadata' }),
50
- h("div", { key: 'dfff9e06e175b7d523bb257989c5f79c15b99fff', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '35831d5d59cd4b3c89ae000fd8f1e2952f252e4b', metadata: this.payment.metadata }))
49
+ h(DetailSectionTitle, { key: 'd89b23ef22f085b803b6b551ca6e0d4ba8d13d06', sectionTitle: 'Metadata' }),
50
+ h("div", { key: '116486645abcf17cf8641c2dc009982a506b0745', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '3f682166ca1acfc896281b85afb8e8514240b2dd', metadata: this.payment.metadata }))
51
51
  ])))));
52
52
  }
53
53
  static get is() { return "payment-details-core"; }
@@ -91,7 +91,7 @@ export class PaymentTransactionsList {
91
91
  return !this.showEmptyState && !this.showErrorState && !this.isLoading;
92
92
  }
93
93
  render() {
94
- return (h(StyledHost, { key: '1222542358d9e7495486f3c68e5f64867396580c' }, h(TableWrapper, { key: '561e90e5b184db206183346fab42f400e7cf6bfb' }, h(TableComponent, { key: '3dc0a8995b8e7a2c8fff4c71c4e381c1722cef68' }, h(TableHead, { key: '6efdcc49cbf8411af8d5f291a400a7bbe4202e30' }, h(TableHeadRow, { key: 'b86643118789b808b857e43e22ca8a541a67571e' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '86e8dc7866f75b092b5f5e545f6d6021628fda43' }, h(TableLoadingState, { key: '70ae8aec85601944c443f983f3d2e44c5e1104fd', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: 'b921157d2ffd267fb23293d7928e0b59fbb4cb32', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '9101fb0a98ef815cff3216875eca8fe700dbae7c', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.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: '5536fcc48352ccfc0cb32d9aa95ee776e90cc7c5' }, h(TableFootRow, { key: '5abc999156f8efcc509f76686c967d13dba6a026' }, h(TableFootCell, { key: '93a390c9f8b222ce73243198ceb0698d2d261bd8', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: 'fa01e04f6f6965b1f0749bbe8581bbf3ab53bc45', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
94
+ return (h(StyledHost, { key: '5c698480143316a0bde55f786e43c38078101fe2' }, h(TableWrapper, { key: '7aa76eeecda5074a4f80f845be5458caf2dfc3d2' }, h(TableComponent, { key: '901404b33447a3b2aad2c203d9a69dd418cc9e20' }, h(TableHead, { key: '78b100e8c6c53f0d92cd67eb5f74299d78f8f2bf' }, h(TableHeadRow, { key: 'd8bde261d1b1169757175660303917c3edac3ed2' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'c08217fd1645c8c3649c97180612cac7babd4a83' }, h(TableLoadingState, { key: 'e8005f54f42b00e11bef86371430d90f72a9e277', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '0b844b8669272a660f434a160643cca60008b9ab', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '600ab04c6d42513bbd8968c30d9419ced62ee4e1', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.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: 'a30dcd95290c541609ecbc2ce8ace8d16e976c61' }, h(TableFootRow, { key: '03be11678b4e7bafeb9d4d5b71ca05f1a64cd622' }, h(TableFootCell, { key: '07d1b9c331d3d4826d205f9d7ecd77dfa8e38878', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '3037569e28276b7c88b7ac4f0ab72a2c3fe5d5b9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
95
95
  }
96
96
  static get is() { return "justifi-payment-transactions-list"; }
97
97
  static get encapsulation() { return "shadow"; }
@@ -83,7 +83,7 @@ export class PaymentsListCore {
83
83
  return !this.showEmptyState && !this.showErrorState && !this.loading;
84
84
  }
85
85
  render() {
86
- return (h(TableWrapper, { key: 'c2ee9fe256bed85419d5bbc0b12c22210cec4b6a' }, h(TableComponent, { key: '70f2dd874928fe941029504bd6fc12183e0c2bef' }, h(TableHead, { key: 'd26595fd6b181ade2da1d6f802de7ee88945361a' }, h(TableHeadRow, { key: '003af39a3b07fb045d1bf1685150b9d6e8318b64' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'e510d90dea09305da8e70973f6d4de937b533307' }, h(TableLoadingState, { key: '4a441175be1800937dfcae98d938dd69b045f274', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '5c9b31dd51e69420bbaa7b48e69bef350c9bd5f6', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '29d1ed55946c075b52663e1ea2fa64353a368659', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.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: 'f5f60a8b3cd2b620f8a757690d9f4be1fd19b0bd' }, h(TableFootRow, { key: '1e6552dee4bbf5de86468ace0c89a93502081f95' }, h(TableFootCell, { key: '8ebcd59eba395663304647f592f2fd05763dec94', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '39973efbcac641d5b99bec8e9ad032708d6ba3f1', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
86
+ return (h(TableWrapper, { key: '3d19bff21b3edbd06817f4e91110a6b53ad2b6aa' }, h(TableComponent, { key: '3f32495d49ad96a643bd11d21b140458bf26c3bd' }, h(TableHead, { key: 'db75917e259fb0fea5e1396d388aacac38fc768f' }, h(TableHeadRow, { key: '22de3e5cc40b0ece323e8fed97580c94598ccea0' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '4fd97328884439dea3e036169753b39f9e7b6053' }, h(TableLoadingState, { key: 'c9bb14a64dc3243dacb39eb22ceeffad0abd49e3', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '68e583dc13ffc089067cc54c2be9ca7898efa116', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '14ac8451b9da3d5c39164620c69b8e0aab282145', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.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: '55ddfb968541d296ea896ae14c80f1557185e920' }, h(TableFootRow, { key: 'a9ed770e075d1be82444266e842b2bf8ace67a7a' }, h(TableFootCell, { key: '6d82711cd658231009c7a3e66058c9895f9e431e', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '51c4436c22c62ed82d960011e8c799673cdbf2c9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
87
87
  }
88
88
  static get is() { return "payments-list-core"; }
89
89
  static get properties() {
@@ -43,8 +43,8 @@ export class PaymentsListFilters {
43
43
  }
44
44
  render() {
45
45
  const filterMenuParams = Object.assign({}, filterParams);
46
- return (h(StyledHost, { key: 'cad5007fe498aa2c9f660237a521484c244cf474' }, h("table-filters-menu", { key: '4b0f4b6e09ee5839890d041a641d7988d36491ca', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: '331914224ba6e9ea1f96f61457d84b63ac9e9cc0', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '80acaed15b83022d95d14d1bb2d18b1b65b57e32', class: "p-2" }, h("form-control-text", { key: 'd7566c7db6b0da0708b3c3c7d104e4c63b2cbb92', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: 'ce39d29814522dc85ec547a507ffe2863bffc244', class: "p-2" }, h("form-control-text", { key: 'd5d558707fc2577ef035dd05d0a2ae7a944008a4', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: '9dc9eb22b1d46a36a6dc82853351c5321b9864f3', class: "p-2" }, h("form-control-select", { key: 'd59e9c9b816aef996d8eefd3a199cab6aa66b27a', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '289e889f9933e9b2fe0baa407f7cee720c2cb30d', class: "p-2" }, h("form-control-date", { key: '42156ed44bf95904289a878e7fab17cdff6a555e', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
47
- convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: 'b677ef4b209452c31a60c00ad0a6803528a50ff4', class: "p-2" }, h("form-control-date", { key: '5d57efd28d50a5317b74ff3a202387a6dd5a3d95', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
46
+ return (h(StyledHost, { key: 'e3174a9f9310710297a74ee02d658a168af131eb' }, h("table-filters-menu", { key: '2336d8d7a05e259ce065d259357243f9a844e32a', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: '49ba13212d5ae28e55520a34592d61b3c7def2eb', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '427fdf6a569332a102b7e5bb475d4a71c0d36d5b', class: "p-2" }, h("form-control-text", { key: '10845be407149cc17c8c75e3b87c38ac6714dccf', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: '447bc64b346db7ef5711703b22672518ef981e8a', class: "p-2" }, h("form-control-text", { key: '3620bae1b22ee69ed6688b20569b43d2cee52280', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: '4d064b2a739491084106daade8b3cfd4170752ee', class: "p-2" }, h("form-control-select", { key: '2c444d8c97fc0f676c91aec3da7d91d09997c5cc', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '0440ce666625e61b53844ef1a1a81a79fbeb5e36', class: "p-2" }, h("form-control-date", { key: '288c369557cbc4386093aedefec2963942820508', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
47
+ convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: 'ceebd4e7896ae0ee7395d0558650f9cff2810029', class: "p-2" }, h("form-control-date", { key: '2433bd25ca1dfaf7c5d284d367fcbe7c8730bc6c', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
48
48
  convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
49
49
  }
50
50
  static get is() { return "justifi-payments-list-filters"; }
@@ -46,7 +46,7 @@ export class PaymentsList {
46
46
  }
47
47
  }
48
48
  render() {
49
- return (h(StyledHost, { key: 'b3b4380a5b1c78bff1a93209079bc1af1343cf92' }, h("payments-list-core", { key: '083e8cdcbfc132d193ca563fe21bab7f23df71ad', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
49
+ return (h(StyledHost, { key: '9bdcd5443ceacad1dd33b4c2b47f65dca63eb196' }, h("payments-list-core", { key: 'b5d4907c84add674afe115baefff6ab75a6bc797', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
50
50
  }
51
51
  static get is() { return "justifi-payments-list"; }
52
52
  static get encapsulation() { return "shadow"; }
@@ -52,9 +52,9 @@ export class PayoutDetailsCore {
52
52
  }
53
53
  render() {
54
54
  var _a;
55
- return (h(StyledHost, { key: '49e7b88fdc88080ebb6a13f06312e79740fc55ee' }, this.loading && h(PayoutDetailsLoading, { key: 'dcda5e853910c71690ad86e1b92c9fa35bf8f2c5' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'af265ec9f36b0a181d8d920dd8ff11f0e90a8892', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '9886a1828548f050f0fcaa1f430fde0f0755643d', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'aa39b7dfb47f575acafb8b056004d18ea04f22d2', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: 'b6446fddfa39f1661b3142af914c0b1ed6d1ae6d', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'e5dfa4de2bf04ce771dfe1b115d5b5b1dbd2fc59', title: "ID", value: this.payout.id }), h("div", { key: '57b7e13f03485831686ac10970dacf9a8da20717', class: "m-4" }, h(Button, { key: '8f4c622105fe8588c7788c46bce1196a301729f5', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '815e6c278a4282ec281aa2a990aa579593a1499a', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '2c38abeed3a2f37690aa818f333f74afcf151f10', sectionTitle: "Details" }), h("div", { key: '044414048a85a74b80f1bda6535a276d487961b8', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '416788949863fffcd59072de36d0b50dea58114a', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'de23182cfcb49537e1393dcdea03087779b7f65d', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'eb55b0ca232c9c7ab50446d298f8971fa30cc9fc', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: 'c7cd95c71512d7c38073f20226719cc473461f89', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '11858fafc2af68ef72bff0d1a7651a0f6c894147', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'e501c81bfe4aca5460f1bcd18d1642cbc1269ad7', sectionTitle: "Account" }), h("div", { key: 'd82f31f42db391c486edf934ad59f61d91909555', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'b8d77ed73f54111f58905660c264d8b985441493', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'b410db883303e241ef6d23d3d2fe0a279f95ea62', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'f29d5919b57a565f7b098e59d5f107297ee0426c', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '8865014dad645d7b3ddcd3819fede60b4b8eb44f', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'a9df02b65f38494fbe260ebdc4175ba14fbe3c0f', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
56
- h(DetailSectionTitle, { key: '693a0bab6104bc344b264b81a73d772b88b605cb', sectionTitle: 'Metadata' }),
57
- h("div", { key: '2607f9700a1d6b923e60254fcabecfdb0a4476b6', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '4556629859e018b58f926eb3a8a551540a651c4e', metadata: this.payout.metadata }))
55
+ return (h(StyledHost, { key: 'a109088ffaa3437430299158bde07f695f6ed0a8' }, this.loading && h(PayoutDetailsLoading, { key: 'da2a9f3b35291bbd1abea3de3174b77ee58586f2' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'b97b623716beaa39a2d9d5d9dde554b461948fae', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '716414411ca5d8d5e30c7f52aa4d8a94c5dfb163', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '898b1578cbc0b90a6ebd305ffcf45c996ea36942', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: 'ab03a03ba80781aa760bed450944c35f0210216c', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'f65b10fd429d33391471cbacccc001d38943331c', title: "ID", value: this.payout.id }), h("div", { key: 'f0716854307a8208d486448c1e7e7c2e9f7bea9e', class: "m-4" }, h(Button, { key: 'b9b963854f14f508984eb70d37656226b334d882', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '70df708f9f7ddda9d21a58481b7937a567ff0179', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '24f60a66b848ba091a75fe7877c23b1c45a790ad', sectionTitle: "Details" }), h("div", { key: 'c97f709a9030081871ed6b8878b8d9d73cbdb51d', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '7782dfef517e23171d7b1d3023a019dc51731f7d', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'edcef38d00c9febe83acebd6c4c4e462ee8c117f', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '2ae0d6434310d6c726226e6e8199d58f531ead31', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: 'dfd06d7613a315366982cafad64214d41246bc18', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '0c3b97b7eb651863b5df30989d059e0cb9c94967', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '245a0a7a705d7bae8aa8c6b42513ce613d6b2238', sectionTitle: "Account" }), h("div", { key: '914381b1cd84b4ee90f994226054b9ca241707f7', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'f62e176e6dd5d74dae815a2eccd25b96d1bedb17', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '893f89d10f01718d7dee7621e9d7572f8789084f', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '2531d9a01f8c016edbcf4687ea652fe57dcd6b54', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '107cadba8101d230777f7011e2444e31d9db4ca2', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '85919cc3b23f149a1a488e7dc2dea262df59938f', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
56
+ h(DetailSectionTitle, { key: 'b54afae3f6a3310483988076c3f5548edf51e605', sectionTitle: 'Metadata' }),
57
+ h("div", { key: '0d25df6c414f619088441e9286f47a17920ac0bd', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '14aa74c5756f5bf83769d166ee6ee56317506747', metadata: this.payout.metadata }))
58
58
  ])))));
59
59
  }
60
60
  static get is() { return "payout-details-core"; }