@justifi/webcomponents 6.2.0-rc.1 → 6.2.0-rc.3

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 (502) hide show
  1. package/dist/cjs/{Api-CjtvTD2_.js → Api-BeSnjEuW.js} +1 -1
  2. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  3. package/dist/cjs/{badge-CE3ss_OU.js → badge-_nY1l5Rq.js} +1 -1
  4. package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +7 -7
  5. package/dist/cjs/bank-account-form.cjs.entry.js +4 -4
  6. package/dist/cjs/{business-additional-questions-schema-CetDMUp7.js → business-additional-questions-schema-BzHg6qqg.js} +1 -1
  7. package/dist/cjs/business-details-core.cjs.entry.js +4 -4
  8. package/dist/cjs/{business-identity-schema-Cd0tvfJr.js → business-identity-schema-Di-jf6nr.js} +4 -3
  9. package/dist/cjs/{business.service-DRZurAMP.js → business.service-DIlSj5KT.js} +1 -1
  10. package/dist/cjs/{button-gPNZ9XRn.js → button-CARQPDm-.js} +1 -1
  11. package/dist/cjs/card-form.cjs.entry.js +4 -4
  12. package/dist/cjs/{check-pkg-version-W_AFeiO6.js → check-pkg-version-NXr7H2Sp.js} +2 -2
  13. package/dist/cjs/{checkout.service-vZbSE3A3.js → checkout.service-Ce0F8cOf.js} +1 -1
  14. package/dist/cjs/{checkout.store-Bswr7kNY.js → checkout.store-BiT7zKgX.js} +19 -1
  15. package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -8
  16. package/dist/cjs/{payments-list-params-state-BYpq-c6X.js → checkouts-list-params-state-DfZySwaC.js} +1 -1
  17. package/dist/cjs/{checkouts-table-C5AHeIr0.js → checkouts-table-2fOlhkc4.js} +2 -2
  18. package/dist/cjs/{config-state-C7babhLh.js → config-state-CYoBVAca.js} +1 -1
  19. package/dist/cjs/custom-popper.cjs.entry.js +3 -3
  20. package/dist/cjs/{dispute.service-DV9a61Tu.js → dispute.service-DuYeSUgK.js} +1 -1
  21. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  22. package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
  23. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  24. package/dist/cjs/{form-control-error-text-BnMWn8U_.js → form-control-error-text-mhOq2Edp.js} +1 -1
  25. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  26. package/dist/cjs/{form-control-help-text-DEi5vSjN.js → form-control-help-text-BoRpAoX6.js} +1 -1
  27. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  28. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  29. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  30. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +4 -4
  31. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  32. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  33. package/dist/cjs/form-control-select_3.cjs.entry.js +4 -4
  34. package/dist/cjs/{get-payment-details-AYzxPu-X.js → get-payment-details-vVIxYblm.js} +1 -1
  35. package/dist/cjs/{get-subaccounts-C_KD197w.js → get-subaccounts-yo2pT61R.js} +2 -2
  36. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  37. package/dist/cjs/{header-1-D3r87SC6.js → header-1-CBO8uDuZ.js} +1 -1
  38. package/dist/cjs/{header-3-BFQJJgBb.js → header-3-CPWtI1t0.js} +1 -1
  39. package/dist/cjs/hidden-input_2.cjs.entry.js +8 -8
  40. package/dist/cjs/{index-Bhtk1qkX.js → index-BhI7cJcE.js} +37 -2
  41. package/dist/cjs/{index-CWM5ions.js → index-mmd0OhmD.js} +1 -1
  42. package/dist/cjs/{insurance-state-JbqYvJN3.js → insurance-state-BMHITXoD.js} +2 -2
  43. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +8 -8
  44. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +6 -6
  45. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  46. package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +31 -94
  47. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +17 -17
  48. package/dist/cjs/justifi-business-details.cjs.entry.js +8 -8
  49. package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
  50. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +5 -5
  51. package/dist/cjs/justifi-checkout.cjs.entry.js +8 -8
  52. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +5 -5
  53. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -11
  54. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  55. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  56. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  57. package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
  58. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +29 -14
  59. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -7
  60. package/dist/cjs/justifi-order-terminals.cjs.entry.js +11 -11
  61. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
  62. package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
  63. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  64. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -7
  65. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +11 -11
  66. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
  67. package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
  68. package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -8
  69. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +11 -11
  70. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
  71. package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
  72. package/dist/cjs/justifi-refund-payment.cjs.entry.js +11 -11
  73. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
  74. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -10
  75. package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
  76. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
  77. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
  78. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +6 -6
  79. package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
  80. package/dist/cjs/loader.cjs.js +2 -2
  81. package/dist/cjs/{package-BADgkv50.js → package-DPdtuJhk.js} +1 -1
  82. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  83. package/dist/cjs/payment-details-core.cjs.entry.js +16 -16
  84. package/dist/cjs/payment-method-option.cjs.entry.js +3 -3
  85. package/dist/cjs/{payment.service-1t60I69m.js → payment.service-DLvoJ2K6.js} +1 -1
  86. package/dist/cjs/payments-list-core.cjs.entry.js +10 -10
  87. package/dist/cjs/{payouts-list-params-state-BYpq-c6X.js → payments-list-params-state-DfZySwaC.js} +1 -1
  88. package/dist/cjs/{payments-status-CnNXcRLO.js → payments-status-t4fVj8f9.js} +2 -2
  89. package/dist/cjs/{payments-table-BGuCOPTJ.js → payments-table-C6SCvqLD.js} +2 -2
  90. package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
  91. package/dist/cjs/{payout.service-CQEXfufW.js → payout.service-CrBp8aru.js} +1 -1
  92. package/dist/cjs/payouts-list-core.cjs.entry.js +10 -10
  93. package/dist/cjs/{terminal-orders-list-params-state-BYpq-c6X.js → payouts-list-params-state-DfZySwaC.js} +1 -1
  94. package/dist/cjs/{payouts-status-2na6MMgV.js → payouts-status-pIO9qZG6.js} +2 -2
  95. package/dist/cjs/{payouts-table-DXekpbYc.js → payouts-table-CEnUtKNR.js} +2 -2
  96. package/dist/cjs/{schema-validations-0mjPveQ0.js → schema-validations-AxtufX7q.js} +5 -0
  97. package/dist/cjs/{skeleton-BvdAh448.js → skeleton-BF3HGL9X.js} +1 -1
  98. package/dist/cjs/{spinner-Rt52JMa2.js → spinner-BBdv3Iq1.js} +1 -1
  99. package/dist/cjs/{styled-host-BSooSIhA.js → styled-host-D5g7INLE.js} +1 -1
  100. package/dist/cjs/{table-Ccg4k90C.js → table-CfBpaApw.js} +2 -2
  101. package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
  102. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +9 -9
  103. package/dist/cjs/{checkouts-list-params-state-BYpq-c6X.js → terminal-orders-list-params-state-DfZySwaC.js} +1 -1
  104. package/dist/cjs/{terminal-orders-table-B4ZXHj3w.js → terminal-orders-table-8PxObvu8.js} +3 -3
  105. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  106. package/dist/cjs/{terminal.service-BlW-CJ67.js → terminal.service-D0fIw59V.js} +1 -1
  107. package/dist/cjs/terminals-list-core.cjs.entry.js +9 -9
  108. package/dist/cjs/terminals-list-params-state-DfZySwaC.js +22 -0
  109. package/dist/cjs/{terminals-table-ByYs-pH7.js → terminals-table-EeeLeuDN.js} +2 -2
  110. package/dist/cjs/{utils-CUcA4G_O.js → utils-Cjq3ZCad.js} +1 -1
  111. package/dist/cjs/webcomponents.cjs.js +3 -3
  112. package/dist/collection/api/services/apple-pay.service.js +3 -43
  113. package/dist/collection/collection-manifest.json +1 -1
  114. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -4
  115. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +3 -2
  116. package/dist/collection/components/business-forms/schemas/schema-validations.js +5 -0
  117. package/dist/collection/components/dispute-management/dispute-notification.js +17 -2
  118. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  119. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  120. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  121. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  122. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  123. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  124. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  125. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  126. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  127. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  128. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  129. package/dist/collection/components/modular-checkout/modular-checkout.js +41 -2
  130. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +0 -34
  131. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  132. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  133. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  134. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  135. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  136. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  137. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  138. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  139. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  140. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  141. package/dist/collection/components/payments-list/payments-list.js +1 -1
  142. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  143. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  144. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  145. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  146. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  147. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  148. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  149. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  150. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  151. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  152. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  153. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  154. package/dist/collection/store/checkout.store.js +17 -0
  155. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  156. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  157. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  158. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  159. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  160. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  161. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  162. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  163. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  164. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  165. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  166. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  167. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  168. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  169. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  170. package/dist/docs.json +45 -2
  171. package/dist/esm/{Api-K9QH1Aki.js → Api-DX-IWyBw.js} +1 -1
  172. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  173. package/dist/esm/{badge-B8fF98jp.js → badge-BkjjtNUQ.js} +1 -1
  174. package/dist/esm/bank-account-document-form-inputs_6.entry.js +7 -7
  175. package/dist/esm/bank-account-form.entry.js +4 -4
  176. package/dist/esm/{business-additional-questions-schema-DSvdNuI1.js → business-additional-questions-schema-BCXg6YTP.js} +1 -1
  177. package/dist/esm/business-details-core.entry.js +4 -4
  178. package/dist/esm/{business-identity-schema-mN4VhA1v.js → business-identity-schema-CvzdGI9h.js} +4 -3
  179. package/dist/esm/{business.service-BJcGEUDH.js → business.service-CaEVmi4X.js} +1 -1
  180. package/dist/esm/{button-DZoLTGMB.js → button-DHljyr0K.js} +1 -1
  181. package/dist/esm/card-form.entry.js +4 -4
  182. package/dist/esm/{check-pkg-version-CG8qzhGl.js → check-pkg-version-BifOuhlz.js} +2 -2
  183. package/dist/esm/{checkout.service-aymuZDC9.js → checkout.service-BpaVN1_f.js} +1 -1
  184. package/dist/esm/{checkout.store-4nUf2OuT.js → checkout.store-CMsV0tl9.js} +19 -2
  185. package/dist/esm/checkouts-list-core.entry.js +8 -8
  186. package/dist/esm/{checkouts-list-params-state-C_fug9R3.js → checkouts-list-params-state-gllzDQAb.js} +1 -1
  187. package/dist/esm/{checkouts-table-B8k-Aylm.js → checkouts-table-Dn1sFyZs.js} +2 -2
  188. package/dist/esm/{config-state-DiHV-4QK.js → config-state-C2NXATwF.js} +1 -1
  189. package/dist/esm/custom-popper.entry.js +3 -3
  190. package/dist/esm/{dispute.service-DiPbsswm.js → dispute.service-Dq1SPI2m.js} +1 -1
  191. package/dist/esm/form-alert_5.entry.js +1 -1
  192. package/dist/esm/form-control-checkbox.entry.js +3 -3
  193. package/dist/esm/form-control-date.entry.js +4 -4
  194. package/dist/esm/{form-control-error-text-BmD6bGbR.js → form-control-error-text-Cje0veu2.js} +1 -1
  195. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  196. package/dist/esm/{form-control-help-text-DbIhIcc6.js → form-control-help-text-ClJnecm3.js} +1 -1
  197. package/dist/esm/form-control-help-text.entry.js +1 -1
  198. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  199. package/dist/esm/form-control-monetary.entry.js +5 -5
  200. package/dist/esm/form-control-number-masked_3.entry.js +4 -4
  201. package/dist/esm/form-control-number.entry.js +5 -5
  202. package/dist/esm/form-control-radio.entry.js +3 -3
  203. package/dist/esm/form-control-select_3.entry.js +4 -4
  204. package/dist/esm/{get-payment-details-DcC5v85s.js → get-payment-details-C2YiQBG7.js} +1 -1
  205. package/dist/esm/{get-subaccounts-CMJMDwSP.js → get-subaccounts-Cjz3-2D3.js} +2 -2
  206. package/dist/esm/gross-payment-chart-core.entry.js +4 -4
  207. package/dist/esm/{header-1-umkpdspt.js → header-1-uiFiNrVs.js} +1 -1
  208. package/dist/esm/{header-3-CD5K5vCa.js → header-3-BVYYTpLc.js} +1 -1
  209. package/dist/esm/hidden-input_2.entry.js +8 -8
  210. package/dist/esm/{index-DJ9G-4S-.js → index-B-fWxE5e.js} +1 -1
  211. package/dist/esm/{index-DOjVAAtq.js → index-DwYM91AU.js} +37 -2
  212. package/dist/esm/{insurance-state-sR5DrCdu.js → insurance-state-iJs0LRg_.js} +2 -2
  213. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -8
  214. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +6 -6
  215. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  216. package/dist/esm/justifi-apple-pay_8.entry.js +31 -94
  217. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +17 -17
  218. package/dist/esm/justifi-business-details.entry.js +8 -8
  219. package/dist/esm/justifi-business-form.entry.js +14 -14
  220. package/dist/esm/justifi-business-representative-form-inputs.entry.js +5 -5
  221. package/dist/esm/justifi-checkout.entry.js +8 -8
  222. package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -5
  223. package/dist/esm/justifi-checkouts-list.entry.js +11 -11
  224. package/dist/esm/justifi-config-provider.entry.js +3 -3
  225. package/dist/esm/justifi-details.entry.js +2 -2
  226. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  227. package/dist/esm/justifi-dispute-management.entry.js +7 -7
  228. package/dist/esm/justifi-dispute-notification_3.entry.js +29 -14
  229. package/dist/esm/justifi-gross-payment-chart.entry.js +7 -7
  230. package/dist/esm/justifi-order-terminals.entry.js +11 -11
  231. package/dist/esm/justifi-owner-form_3.entry.js +8 -8
  232. package/dist/esm/justifi-payment-details.entry.js +9 -9
  233. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  234. package/dist/esm/justifi-payment-provisioning.entry.js +7 -7
  235. package/dist/esm/justifi-payment-transactions-list.entry.js +11 -11
  236. package/dist/esm/justifi-payments-list-filters.entry.js +6 -6
  237. package/dist/esm/justifi-payments-list.entry.js +12 -12
  238. package/dist/esm/justifi-payout-details.entry.js +8 -8
  239. package/dist/esm/justifi-payout-transactions-list.entry.js +11 -11
  240. package/dist/esm/justifi-payouts-list-filters.entry.js +6 -6
  241. package/dist/esm/justifi-payouts-list.entry.js +13 -13
  242. package/dist/esm/justifi-refund-payment.entry.js +11 -11
  243. package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
  244. package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -10
  245. package/dist/esm/justifi-skeleton.entry.js +4 -4
  246. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
  247. package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
  248. package/dist/esm/justifi-terminals-list-filters.entry.js +6 -6
  249. package/dist/esm/justifi-terminals-list.entry.js +12 -12
  250. package/dist/esm/loader.js +3 -3
  251. package/dist/esm/{package-yiqa5abX.js → package-CuLmJjEz.js} +1 -1
  252. package/dist/esm/pagination-menu.entry.js +1 -1
  253. package/dist/esm/payment-details-core.entry.js +16 -16
  254. package/dist/esm/payment-method-option.entry.js +3 -3
  255. package/dist/esm/{payment.service-C0xnydJ8.js → payment.service-4wGt-zDW.js} +1 -1
  256. package/dist/esm/payments-list-core.entry.js +10 -10
  257. package/dist/esm/{payments-list-params-state-C_fug9R3.js → payments-list-params-state-gllzDQAb.js} +1 -1
  258. package/dist/esm/{payments-status-CzazNnFv.js → payments-status-DK2me5T2.js} +2 -2
  259. package/dist/esm/{payments-table-BPKxBAJ0.js → payments-table-DxRdl7-E.js} +2 -2
  260. package/dist/esm/payout-details-core.entry.js +10 -10
  261. package/dist/esm/{payout.service-Cl4yxnrx.js → payout.service-BYigYrQu.js} +1 -1
  262. package/dist/esm/payouts-list-core.entry.js +10 -10
  263. package/dist/esm/{payouts-list-params-state-C_fug9R3.js → payouts-list-params-state-gllzDQAb.js} +1 -1
  264. package/dist/esm/{payouts-status-rKlX41bK.js → payouts-status-BfEM6F8q.js} +2 -2
  265. package/dist/esm/{payouts-table-C6ZDcd_-.js → payouts-table-C2binjIW.js} +2 -2
  266. package/dist/esm/{schema-validations-BFoU1cR8.js → schema-validations-CoIE0a4H.js} +5 -0
  267. package/dist/esm/{skeleton-BEoPu3My.js → skeleton-DdynMBnt.js} +1 -1
  268. package/dist/esm/{spinner-Ac-w5zWg.js → spinner-BRMSkfVc.js} +1 -1
  269. package/dist/esm/{styled-host-OalOsPBp.js → styled-host-DhOcKWqZ.js} +1 -1
  270. package/dist/esm/{table-BCwizIf9.js → table-DYlsfkCm.js} +2 -2
  271. package/dist/esm/table-filters-menu.entry.js +2 -2
  272. package/dist/esm/terminal-orders-list-core.entry.js +9 -9
  273. package/dist/esm/{terminal-orders-list-params-state-C_fug9R3.js → terminal-orders-list-params-state-gllzDQAb.js} +1 -1
  274. package/dist/esm/{terminal-orders-table-BBQsoUh8.js → terminal-orders-table-zf0ASRCr.js} +3 -3
  275. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  276. package/dist/esm/{terminal.service-mwaS-Mbj.js → terminal.service-RAu777Qf.js} +1 -1
  277. package/dist/esm/terminals-list-core.entry.js +9 -9
  278. package/dist/esm/terminals-list-params-state-gllzDQAb.js +16 -0
  279. package/dist/esm/{terminals-table-ByiFdTfy.js → terminals-table-DNUTk3gi.js} +2 -2
  280. package/dist/esm/{utils-KBIYAa0D.js → utils-DUz-H1tG.js} +1 -1
  281. package/dist/esm/webcomponents.js +4 -4
  282. package/dist/module/additional-statement.js +1 -1
  283. package/dist/module/apple-pay.js +3 -77
  284. package/dist/module/bank-account.js +2 -2
  285. package/dist/module/business-identity-schema.js +3 -2
  286. package/dist/module/business-representative-form-inputs.js +4 -4
  287. package/dist/module/cancellation-policy.js +1 -1
  288. package/dist/module/card-form2.js +2 -2
  289. package/dist/module/checkout.store.js +18 -1
  290. package/dist/module/custom-popper2.js +2 -2
  291. package/dist/module/customer-details.js +1 -1
  292. package/dist/module/dispute-notification.js +17 -2
  293. package/dist/module/dispute-response-core.js +1 -1
  294. package/dist/module/dispute-response.js +1 -1
  295. package/dist/module/duplicate-charge.js +1 -1
  296. package/dist/module/electronic-evidence.js +1 -1
  297. package/dist/module/form-control-date2.js +2 -2
  298. package/dist/module/form-control-file-v22.js +1 -1
  299. package/dist/module/form-control-file2.js +2 -2
  300. package/dist/module/form-control-monetary2.js +2 -2
  301. package/dist/module/form-control-number-masked2.js +2 -2
  302. package/dist/module/form-control-number.js +2 -2
  303. package/dist/module/form-control-radio2.js +2 -2
  304. package/dist/module/form-control-text2.js +2 -2
  305. package/dist/module/form-control-textarea2.js +2 -2
  306. package/dist/module/gross-payment-chart-core2.js +1 -1
  307. package/dist/module/hidden-input2.js +1 -1
  308. package/dist/module/iframe-input2.js +3 -3
  309. package/dist/module/justifi-button2.js +1 -1
  310. package/dist/module/justifi-header2.js +1 -1
  311. package/dist/module/justifi-order-terminals.js +1 -1
  312. package/dist/module/justifi-payment-transactions-list.js +1 -1
  313. package/dist/module/justifi-payments-list-filters.js +2 -2
  314. package/dist/module/justifi-payments-list.js +1 -1
  315. package/dist/module/justifi-payout-transactions-list.js +1 -1
  316. package/dist/module/justifi-payouts-list-filters.js +2 -2
  317. package/dist/module/justifi-payouts-list.js +1 -1
  318. package/dist/module/justifi-skeleton.js +1 -1
  319. package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
  320. package/dist/module/justifi-terminal-orders-list.js +1 -1
  321. package/dist/module/justifi-terminals-list-filters.js +1 -1
  322. package/dist/module/justifi-terminals-list.js +1 -1
  323. package/dist/module/modular-checkout.js +14 -2
  324. package/dist/module/package.js +1 -1
  325. package/dist/module/payment-details-core2.js +8 -8
  326. package/dist/module/payment-method-option.js +1 -1
  327. package/dist/module/payments-list-core2.js +1 -1
  328. package/dist/module/payout-details-core2.js +3 -3
  329. package/dist/module/payouts-list-core2.js +1 -1
  330. package/dist/module/plaid-payment-method.js +1 -1
  331. package/dist/module/product-or-service.js +1 -1
  332. package/dist/module/refund-policy.js +1 -1
  333. package/dist/module/schema-validations.js +5 -0
  334. package/dist/module/shipping-details.js +1 -1
  335. package/dist/module/summary.js +1 -1
  336. package/dist/module/terminal-orders-list-core2.js +1 -1
  337. package/dist/module/terminal-quantity-selector2.js +1 -1
  338. package/dist/module/terminals-list-core2.js +1 -1
  339. package/dist/module/tokenize-payment-method.js +1 -1
  340. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -0
  341. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +4 -0
  342. package/dist/types/components/dispute-management/dispute-notification.d.ts +1 -0
  343. package/dist/types/components/modular-checkout/ModularCheckout.d.ts +2 -0
  344. package/dist/types/components/modular-checkout/modular-checkout.d.ts +3 -1
  345. package/dist/types/components.d.ts +6 -2
  346. package/dist/types/stencil-public-runtime.d.ts +1 -1
  347. package/dist/types/store/checkout.store.d.ts +16 -0
  348. package/dist/webcomponents/{p-0926c397.entry.js → p-03474a21.entry.js} +1 -1
  349. package/dist/webcomponents/{p-580f3bb6.entry.js → p-0348a46b.entry.js} +1 -1
  350. package/dist/webcomponents/{p-fcb185fd.entry.js → p-0d7650e4.entry.js} +1 -1
  351. package/dist/webcomponents/{p-89052ce0.entry.js → p-0d928de1.entry.js} +1 -1
  352. package/dist/webcomponents/{p-620ec409.entry.js → p-123ad398.entry.js} +1 -1
  353. package/dist/webcomponents/p-1414e80b.entry.js +1 -0
  354. package/dist/webcomponents/{p-cca865be.entry.js → p-198a6ae3.entry.js} +1 -1
  355. package/dist/webcomponents/{p-09aaaf03.entry.js → p-1fa1e280.entry.js} +1 -1
  356. package/dist/webcomponents/{p-a4846316.entry.js → p-20af8597.entry.js} +1 -1
  357. package/dist/webcomponents/p-238859ef.entry.js +1 -0
  358. package/dist/webcomponents/p-256a95eb.entry.js +1 -0
  359. package/dist/webcomponents/p-27acf7cc.entry.js +1 -0
  360. package/dist/webcomponents/{p-8896ab68.entry.js → p-28c28c0b.entry.js} +1 -1
  361. package/dist/webcomponents/p-36259848.entry.js +1 -0
  362. package/dist/webcomponents/{p-2ebc8539.entry.js → p-38352272.entry.js} +1 -1
  363. package/dist/webcomponents/{p-3b43f8c0.entry.js → p-3c313469.entry.js} +1 -1
  364. package/dist/webcomponents/{p-221ec54e.entry.js → p-46d7ca2f.entry.js} +3 -3
  365. package/dist/webcomponents/{p-10537b60.entry.js → p-4c3f1bea.entry.js} +1 -1
  366. package/dist/webcomponents/p-4e90834e.entry.js +1 -0
  367. package/dist/webcomponents/p-52cb10a7.entry.js +1 -0
  368. package/dist/webcomponents/{p-a2344efb.entry.js → p-56d9a8f1.entry.js} +1 -1
  369. package/dist/webcomponents/p-590290a2.entry.js +1 -0
  370. package/dist/webcomponents/p-5a3f2d71.entry.js +1 -0
  371. package/dist/webcomponents/p-6023553c.entry.js +1 -0
  372. package/dist/webcomponents/{p-4e57359c.entry.js → p-605e0aa1.entry.js} +1 -1
  373. package/dist/webcomponents/{p-cfd3035e.entry.js → p-62cdb2b1.entry.js} +1 -1
  374. package/dist/webcomponents/{p-cd108cae.entry.js → p-6612f9fb.entry.js} +1 -1
  375. package/dist/webcomponents/p-6b563428.entry.js +1 -0
  376. package/dist/webcomponents/{p-54cea29e.entry.js → p-6c2b5d37.entry.js} +1 -1
  377. package/dist/webcomponents/p-730eaf8b.entry.js +1 -0
  378. package/dist/webcomponents/{p-b72794e3.entry.js → p-75f81cbf.entry.js} +1 -1
  379. package/dist/webcomponents/p-78f5b1e5.entry.js +1 -0
  380. package/dist/webcomponents/p-79cb28bd.entry.js +1 -0
  381. package/dist/webcomponents/p-7c78bb5e.entry.js +1 -0
  382. package/dist/webcomponents/p-7e46060a.entry.js +1 -0
  383. package/dist/webcomponents/p-83cd698c.entry.js +1 -0
  384. package/dist/webcomponents/{p-4d6e0ebe.entry.js → p-855eefb0.entry.js} +1 -1
  385. package/dist/webcomponents/p-8993c961.entry.js +1 -0
  386. package/dist/webcomponents/{p-9ce44689.entry.js → p-89fdee6e.entry.js} +1 -1
  387. package/dist/webcomponents/p-9633fbb8.entry.js +1 -0
  388. package/dist/webcomponents/{p-af31dc6d.entry.js → p-97250c61.entry.js} +1 -1
  389. package/dist/webcomponents/{p-ef8ac9f4.entry.js → p-9a459083.entry.js} +1 -1
  390. package/dist/webcomponents/p-9ae2b437.entry.js +1 -0
  391. package/dist/webcomponents/{p-66833631.entry.js → p-9db64da8.entry.js} +1 -1
  392. package/dist/webcomponents/{p-UUJudj_5.js → p-B-7rLJIB.js} +1 -1
  393. package/dist/webcomponents/{p-BdmYH_IK.js → p-BB3MQDQq.js} +1 -1
  394. package/dist/webcomponents/p-BHe87s0Y.js +1 -0
  395. package/dist/webcomponents/{p-B9MN_vv4.js → p-BItPr6Gj.js} +1 -1
  396. package/dist/webcomponents/p-BOqOio4U.js +1 -0
  397. package/dist/webcomponents/{p-BhCH9S0e.js → p-BP2sTIQV.js} +1 -1
  398. package/dist/webcomponents/p-BUsqF4-J.js +1 -0
  399. package/dist/webcomponents/{p-BkaPXFTl.js → p-BVWZSqCK.js} +1 -1
  400. package/dist/webcomponents/{p-DdMxswn1.js → p-BYsgavgS.js} +1 -1
  401. package/dist/webcomponents/{p-C6g4MbnB.js → p-BfYkosa4.js} +1 -1
  402. package/dist/webcomponents/{p-Dy3-IlQ3.js → p-C2gAiiwJ.js} +1 -1
  403. package/dist/webcomponents/p-C7m-gAAM.js +1 -0
  404. package/dist/webcomponents/{p-ty1sI-fI.js → p-C8yN3uBj.js} +1 -1
  405. package/dist/webcomponents/{p-BYrSeoci.js → p-C9Ho60F2.js} +1 -1
  406. package/dist/webcomponents/{p-DqPvh0aN.js → p-C9_8N76_.js} +1 -1
  407. package/dist/webcomponents/p-CO8ZJ0jB.js +1 -0
  408. package/dist/webcomponents/{p-DfsX5bt_.js → p-CXxdHjVv.js} +1 -1
  409. package/dist/webcomponents/p-CbBTgsKC.js +1 -0
  410. package/dist/webcomponents/p-CgbXzEbz.js +1 -0
  411. package/dist/webcomponents/p-Cpp4qrH2.js +1 -0
  412. package/dist/webcomponents/{p-CTAOJGVx.js → p-CriWtqRc.js} +1 -1
  413. package/dist/webcomponents/{p-Bm8T-MOQ.js → p-Cu1FEdFr.js} +1 -1
  414. package/dist/webcomponents/p-CuLmJjEz.js +1 -0
  415. package/dist/webcomponents/{p-i--LPP1s.js → p-CxPieTnF.js} +1 -1
  416. package/dist/webcomponents/p-D0YDz3L6.js +1 -0
  417. package/dist/webcomponents/{p-DSCBoCn-.js → p-D2DVDmwd.js} +1 -1
  418. package/dist/webcomponents/{p-F6TcNeK4.js → p-D8HCCl2t.js} +1 -1
  419. package/dist/webcomponents/p-DKGn-ILd.js +1 -0
  420. package/dist/webcomponents/p-DdJYXOQX.js +1 -0
  421. package/dist/webcomponents/{p-CJ9qo7_g.js → p-DkOvNRJs.js} +1 -1
  422. package/dist/webcomponents/p-Do561C8g.js +1 -0
  423. package/dist/webcomponents/{p-BRbqaU66.js → p-DsR5Dt9w.js} +1 -1
  424. package/dist/webcomponents/{p-DxnXyWPn.js → p-DwLZbA7D.js} +1 -1
  425. package/dist/webcomponents/p-DwYM91AU.js +2 -0
  426. package/dist/webcomponents/{p-D9Yus-je.js → p-JvWiY69B.js} +1 -1
  427. package/dist/webcomponents/p-Uqevvbqm.js +1 -0
  428. package/dist/webcomponents/{p-BIcS6lTe.js → p-VhOlg78I.js} +1 -1
  429. package/dist/webcomponents/{p-CQQ0H4Pb.js → p-ZrJKEEoy.js} +1 -1
  430. package/dist/webcomponents/{p-91b09245.entry.js → p-a49ca7d8.entry.js} +1 -1
  431. package/dist/webcomponents/{p-c4d919be.entry.js → p-a95dfc01.entry.js} +1 -1
  432. package/dist/webcomponents/{p-f72f67ef.entry.js → p-ab739e07.entry.js} +1 -1
  433. package/dist/webcomponents/{p-be0cbdf9.entry.js → p-ac1a4470.entry.js} +1 -1
  434. package/dist/webcomponents/{p-8a156528.entry.js → p-af48a6bb.entry.js} +1 -1
  435. package/dist/webcomponents/{p-164fe6d3.entry.js → p-b15f80c2.entry.js} +1 -1
  436. package/dist/webcomponents/{p-24621c40.entry.js → p-bc5d225e.entry.js} +1 -1
  437. package/dist/webcomponents/{p-81099469.entry.js → p-c67d86b1.entry.js} +1 -1
  438. package/dist/webcomponents/p-cbe349bf.entry.js +1 -0
  439. package/dist/webcomponents/p-cd5bf3c1.entry.js +1 -0
  440. package/dist/webcomponents/p-cdf94860.entry.js +1 -0
  441. package/dist/webcomponents/{p-5fcfedb2.entry.js → p-d160381c.entry.js} +1 -1
  442. package/dist/webcomponents/{p-72f5e234.entry.js → p-d812d34f.entry.js} +1 -1
  443. package/dist/webcomponents/p-d8fc3996.entry.js +1 -0
  444. package/dist/webcomponents/{p-5de4d9e4.entry.js → p-de09adac.entry.js} +1 -1
  445. package/dist/webcomponents/{p-c8e94ab9.entry.js → p-e06327aa.entry.js} +1 -1
  446. package/dist/webcomponents/{p-6190fbb7.entry.js → p-e3c111d5.entry.js} +1 -1
  447. package/dist/webcomponents/{p-82723f07.entry.js → p-ea6bda92.entry.js} +1 -1
  448. package/dist/webcomponents/p-edd335bb.entry.js +1 -0
  449. package/dist/webcomponents/{p-d8c2cea4.entry.js → p-ef89c7df.entry.js} +1 -1
  450. package/dist/webcomponents/{p-2f40f708.entry.js → p-f37f3e94.entry.js} +1 -1
  451. package/dist/webcomponents/p-f535328c.entry.js +1 -0
  452. package/dist/webcomponents/{p-890S0Nwr.js → p-fDGfMEwy.js} +1 -1
  453. package/dist/webcomponents/{p-c9bed02a.entry.js → p-ff411ffd.entry.js} +1 -1
  454. package/dist/webcomponents/{p-IYf7zn5J.js → p-q6C7btl0.js} +1 -1
  455. package/dist/webcomponents/{p-a6tcNl_T.js → p-tGDdRx0W.js} +1 -1
  456. package/dist/webcomponents/p-wYnnDDuR.js +1 -0
  457. package/dist/webcomponents/webcomponents.esm.js +1 -1
  458. package/package.json +1 -1
  459. package/dist/cjs/terminals-list-params-state-BYpq-c6X.js +0 -22
  460. package/dist/esm/terminals-list-params-state-C_fug9R3.js +0 -16
  461. package/dist/webcomponents/p-0b36f1a8.entry.js +0 -1
  462. package/dist/webcomponents/p-0fgTPVV0.js +0 -1
  463. package/dist/webcomponents/p-1c362f36.entry.js +0 -1
  464. package/dist/webcomponents/p-30848456.entry.js +0 -1
  465. package/dist/webcomponents/p-4a0f34de.entry.js +0 -1
  466. package/dist/webcomponents/p-4d243123.entry.js +0 -1
  467. package/dist/webcomponents/p-5277f2a6.entry.js +0 -1
  468. package/dist/webcomponents/p-65090485.entry.js +0 -1
  469. package/dist/webcomponents/p-68aeb5bd.entry.js +0 -1
  470. package/dist/webcomponents/p-6d61092c.entry.js +0 -1
  471. package/dist/webcomponents/p-7498759d.entry.js +0 -1
  472. package/dist/webcomponents/p-760e739c.entry.js +0 -1
  473. package/dist/webcomponents/p-86372164.entry.js +0 -1
  474. package/dist/webcomponents/p-8a68be8f.entry.js +0 -1
  475. package/dist/webcomponents/p-BT473_5I.js +0 -1
  476. package/dist/webcomponents/p-BXMAoCNA.js +0 -1
  477. package/dist/webcomponents/p-BwBb2Opu.js +0 -1
  478. package/dist/webcomponents/p-C2JJBtMc.js +0 -1
  479. package/dist/webcomponents/p-CVtpEQBE.js +0 -1
  480. package/dist/webcomponents/p-DGsXKF67.js +0 -1
  481. package/dist/webcomponents/p-DIdnZUSh.js +0 -1
  482. package/dist/webcomponents/p-DOjVAAtq.js +0 -2
  483. package/dist/webcomponents/p-Dieke6TH.js +0 -1
  484. package/dist/webcomponents/p-DxVCqvBt.js +0 -1
  485. package/dist/webcomponents/p-Dyk0thEr.js +0 -1
  486. package/dist/webcomponents/p-DzWLLt4t.js +0 -1
  487. package/dist/webcomponents/p-NwmOm8Pg.js +0 -1
  488. package/dist/webcomponents/p-a42ec25b.entry.js +0 -1
  489. package/dist/webcomponents/p-a81f9fc3.entry.js +0 -1
  490. package/dist/webcomponents/p-aa51c9e6.entry.js +0 -1
  491. package/dist/webcomponents/p-b4b5dd24.entry.js +0 -1
  492. package/dist/webcomponents/p-b4bb6fa6.entry.js +0 -1
  493. package/dist/webcomponents/p-c796f813.entry.js +0 -1
  494. package/dist/webcomponents/p-c8656d20.entry.js +0 -1
  495. package/dist/webcomponents/p-d7558874.entry.js +0 -1
  496. package/dist/webcomponents/p-e2ab3f61.entry.js +0 -1
  497. package/dist/webcomponents/p-e4e6f3b8.entry.js +0 -1
  498. package/dist/webcomponents/p-e60e7f6a.entry.js +0 -1
  499. package/dist/webcomponents/p-f4a1d3da.entry.js +0 -1
  500. package/dist/webcomponents/p-fdf5a349.entry.js +0 -1
  501. package/dist/webcomponents/p-lKnUT24T.js +0 -1
  502. package/dist/webcomponents/p-yiqa5abX.js +0 -1
@@ -162,7 +162,8 @@ class ApplePayService {
162
162
  'Sub-Account': accountId,
163
163
  },
164
164
  body: {
165
- domain: window.location.host
165
+ domain: window.location.host,
166
+ display_name: this.applePayConfig.displayName
166
167
  }
167
168
  });
168
169
  return response;
@@ -209,22 +210,15 @@ class ApplePayService {
209
210
  * Start Apple Pay session
210
211
  */
211
212
  async startPaymentSession(paymentRequest, authToken, accountId) {
212
- // Begin verbose diagnostics for easier debugging in the field
213
- console.groupCollapsed('[ApplePayService] startPaymentSession called');
214
- console.log('[ApplePayService] raw paymentRequest:', JSON.stringify(paymentRequest, null, 2));
215
- console.log('[ApplePayService] has authToken:', Boolean(authToken));
216
- console.log('[ApplePayService] accountId:', accountId);
217
- console.log('[ApplePayService] has config:', Boolean(this.applePayConfig));
213
+ // Begin session
218
214
  if (!this.applePayConfig) {
219
215
  console.error('[ApplePayService] Missing applePayConfig. Did you call initialize()?');
220
- console.groupEnd();
221
216
  throw new Error('Apple Pay not initialized. Call initialize() first.');
222
217
  }
223
218
  // if (!this.isAvailable()) {
224
219
  // throw new Error('Apple Pay is not available on this device/browser');
225
220
  // }
226
221
  const request = new ApplePayPaymentRequest(paymentRequest);
227
- console.log('[ApplePayService] created ApplePayPaymentRequest:', request);
228
222
  if (!request.isValid) {
229
223
  const missingFields = [];
230
224
  if (!request.countryCode)
@@ -239,17 +233,14 @@ class ApplePayService {
239
233
  if (!request.total || !request.total.label || !request.total.amount)
240
234
  missingFields.push('total');
241
235
  console.error('[ApplePayService] Payment request is invalid. Missing/invalid:', missingFields);
242
- console.groupEnd();
243
236
  throw new Error('Invalid payment request provided');
244
237
  }
245
238
  this.currentPaymentRequest = request;
246
239
  return new Promise((resolve, reject) => {
247
240
  try {
248
- console.log('[ApplePayService] About to instantiate ApplePaySession');
249
241
  // Defensive checks for Apple Pay environment
250
242
  if (typeof window === 'undefined' || !('ApplePaySession' in window)) {
251
243
  console.error('[ApplePayService] ApplePaySession not available on window');
252
- console.groupEnd();
253
244
  return reject({
254
245
  success: false,
255
246
  error: {
@@ -259,16 +250,11 @@ class ApplePayService {
259
250
  });
260
251
  }
261
252
  this.currentSession = new window.ApplePaySession(3, request);
262
- console.log('[ApplePayService] ApplePaySession instantiated:', this.currentSession);
263
253
  this.setupSessionEventHandlers(resolve, reject, authToken, accountId);
264
- console.log('[ApplePayService] Event handlers set. Beginning session...');
265
254
  this.currentSession.begin();
266
- console.log('[ApplePayService] Session.begin() called');
267
- console.groupEnd();
268
255
  }
269
256
  catch (error) {
270
257
  console.error('[ApplePayService] Exception while starting session:', error);
271
- console.groupEnd();
272
258
  reject({
273
259
  success: false,
274
260
  error: {
@@ -306,18 +292,14 @@ class ApplePayService {
306
292
  return;
307
293
  }
308
294
  this.currentSession.onvalidatemerchant = async () => {
309
- console.groupCollapsed('[ApplePayService] onvalidatemerchant');
310
295
  try {
311
- console.log('[ApplePayService] accountId:', accountId);
312
296
  if (!authToken) {
313
297
  console.error('[ApplePayService] Missing authToken for merchant validation');
314
298
  throw new Error('Authentication token not provided.');
315
299
  }
316
300
  const merchantSession = await this.validateMerchant(authToken, accountId);
317
- console.log('[ApplePayService] merchantSession received');
318
301
  try {
319
302
  this.currentSession.completeMerchantValidation(merchantSession);
320
- console.log('[ApplePayService] completeMerchantValidation called');
321
303
  }
322
304
  catch (completionError) {
323
305
  console.error('Error calling completeMerchantValidation:', completionError);
@@ -341,30 +323,20 @@ class ApplePayService {
341
323
  },
342
324
  });
343
325
  }
344
- console.groupEnd();
345
326
  };
346
327
  this.currentSession.onpaymentauthorized = async (event) => {
347
- var _a;
348
- console.groupCollapsed('[ApplePayService] onpaymentauthorized');
349
328
  try {
350
329
  const payment = event.payment;
351
- console.log('[ApplePayService] payment payload snapshot:', {
352
- hasToken: Boolean(payment === null || payment === void 0 ? void 0 : payment.token),
353
- tokenType: ((_a = payment === null || payment === void 0 ? void 0 : payment.token) === null || _a === void 0 ? void 0 : _a.paymentData) ? 'paymentData' : 'raw',
354
- });
355
330
  const paymentPayload = Object.assign(Object.assign({}, payment.token), { product_details: {
356
331
  name: this.currentPaymentRequest.total.label,
357
332
  price: ApplePayHelpers.parseAmount(this.currentPaymentRequest.total.amount),
358
333
  description: this.currentPaymentRequest.total.label,
359
334
  } });
360
- console.log('[ApplePayService] paymentPayload prepared');
361
335
  const paymentResult = await this.processPayment(authToken, accountId, paymentPayload);
362
- console.log('[ApplePayService] processPayment result:', paymentResult);
363
336
  if (paymentResult.success) {
364
337
  this.currentSession.completePayment({
365
338
  status: ApplePaySessionStatus.STATUS_SUCCESS,
366
339
  });
367
- console.log('[ApplePayService] Payment success; resolving');
368
340
  resolve({
369
341
  success: true,
370
342
  token: payment.token,
@@ -405,40 +377,31 @@ class ApplePayService {
405
377
  });
406
378
  }
407
379
  finally {
408
- console.log('[ApplePayService] Cleaning up session state');
409
380
  this.currentSession = undefined;
410
381
  this.currentPaymentRequest = undefined;
411
382
  }
412
- console.groupEnd();
413
383
  };
414
384
  this.currentSession.onpaymentmethodselected = () => {
415
- console.groupCollapsed('[ApplePayService] onpaymentmethodselected');
416
385
  const paymentUpdate = {
417
386
  newTotal: this.currentPaymentRequest.total,
418
387
  newLineItems: this.currentPaymentRequest.lineItems || [],
419
388
  };
420
389
  try {
421
390
  this.currentSession.completePaymentMethodSelection(paymentUpdate);
422
- console.log('[ApplePayService] completePaymentMethodSelection called');
423
391
  }
424
392
  catch (error) {
425
393
  console.error('Error completing payment method selection:', error);
426
394
  this.currentSession.abort();
427
395
  }
428
- console.groupEnd();
429
396
  };
430
397
  this.currentSession.onshippingmethodselected = () => {
431
- console.groupCollapsed('[ApplePayService] onshippingmethodselected');
432
398
  this.currentSession.completeShippingMethodSelection({
433
399
  status: ApplePaySessionStatus.STATUS_SUCCESS,
434
400
  newTotal: this.currentPaymentRequest.total,
435
401
  newLineItems: this.currentPaymentRequest.lineItems || [],
436
402
  });
437
- console.log('[ApplePayService] completeShippingMethodSelection called');
438
- console.groupEnd();
439
403
  };
440
404
  this.currentSession.oncancel = (event) => {
441
- console.groupCollapsed('[ApplePayService] oncancel');
442
405
  if (event.sessionError) {
443
406
  console.error(event.sessionError);
444
407
  switch (event.sessionError.code) {
@@ -469,11 +432,9 @@ class ApplePayService {
469
432
  message: 'User cancelled the Apple Pay session',
470
433
  },
471
434
  });
472
- console.groupEnd();
473
435
  };
474
436
  if ('onerror' in this.currentSession) {
475
437
  this.currentSession.onerror = (error) => {
476
- console.groupCollapsed('[ApplePayService] onerror');
477
438
  console.error('=== APPLE PAY SESSION ERROR ===');
478
439
  console.error('Session error:', error);
479
440
  this.currentSession = undefined;
@@ -485,7 +446,6 @@ class ApplePayService {
485
446
  message: 'Apple Pay session error occurred',
486
447
  },
487
448
  });
488
- console.groupEnd();
489
449
  };
490
450
  }
491
451
  }
@@ -696,14 +656,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
696
656
  this.isProcessing = true;
697
657
  this.error = null;
698
658
  this.applePayStarted.emit();
699
- console.groupCollapsed('[ApplePay Component] handleApplePayClick');
700
- console.log('[ApplePay Component] click context:', {
701
- isProcessing: this.isProcessing,
702
- disabled: this.disabled,
703
- isAvailable: this.isAvailable,
704
- canMakePayments: this.canMakePayments,
705
- hasService: Boolean(this.applePayService),
706
- });
707
659
  const paymentRequest = {
708
660
  countryCode: this.countryCode,
709
661
  currencyCode: checkoutStore.paymentCurrency,
@@ -715,13 +667,7 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
715
667
  supportedNetworks: ApplePayHelpers.getDefaultSupportedNetworks(),
716
668
  total: ApplePayHelpers.createLineItem(checkoutStore.paymentDescription, checkoutStore.paymentAmount),
717
669
  };
718
- console.log("[ApplePay Component] paymentRequest", paymentRequest);
719
- console.log('[ApplePay Component] identifiers snapshot:', {
720
- authTokenLength: checkoutStore.authToken ? String(checkoutStore.authToken).length : 0,
721
- accountId: checkoutStore.accountId,
722
- });
723
670
  const result = await this.applePayService.startPaymentSession(paymentRequest, checkoutStore.authToken, checkoutStore.accountId);
724
- console.log("[ApplePay Component] startPaymentSession result", result);
725
671
  if (result.success) {
726
672
  this.applePayCompleted.emit({
727
673
  success: true,
@@ -751,7 +697,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
751
697
  }
752
698
  finally {
753
699
  this.isProcessing = false;
754
- console.groupEnd();
755
700
  }
756
701
  };
757
702
  }
@@ -760,13 +705,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
760
705
  this.isLoading = true;
761
706
  this.error = null;
762
707
  this.isConfigValid = true;
763
- console.groupCollapsed('[ApplePay Component] initializeApplePay');
764
- console.log('[ApplePay Component] checkout state snapshot:', {
765
- paymentAmount: checkoutStore.paymentAmount,
766
- paymentCurrency: checkoutStore.paymentCurrency,
767
- hasAuthToken: Boolean(checkoutStore.authToken),
768
- accountId: checkoutStore.accountId,
769
- });
770
708
  const hasRequiredConfig = Boolean(checkoutStore.paymentAmount) &&
771
709
  Boolean(checkoutStore.paymentCurrency) &&
772
710
  Boolean(checkoutStore.authToken);
@@ -781,22 +719,15 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
781
719
  });
782
720
  this.applePayError.emit({ error: this.error, code: ApplePay.ErrorCode.CONFIG_ERROR });
783
721
  this.isLoading = false;
784
- console.groupEnd();
785
722
  return;
786
723
  }
787
724
  this.isAvailable = ApplePayHelpers.isApplePaySupported();
788
725
  this.canMakePayments = ApplePayHelpers.canMakePayments();
789
- console.log('[ApplePay Component] support check:', {
790
- isAvailable: this.isAvailable,
791
- canMakePayments: this.canMakePayments,
792
- hasApplePaySessionOnWindow: typeof window !== 'undefined' && 'ApplePaySession' in window,
793
- });
794
726
  if (!this.isAvailable) {
795
727
  this.error = "Apple Pay is not supported on this device";
796
728
  console.error(this.error);
797
729
  this.applePayError.emit({ error: this.error, code: ApplePay.ErrorCode.NOT_SUPPORTED });
798
730
  this.isLoading = false;
799
- console.groupEnd();
800
731
  return;
801
732
  }
802
733
  if (!this.canMakePayments) {
@@ -804,7 +735,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
804
735
  console.error(this.error);
805
736
  this.applePayError.emit({ error: this.error, code: ApplePay.ErrorCode.NOT_AVAILABLE });
806
737
  this.isLoading = false;
807
- console.groupEnd();
808
738
  return;
809
739
  }
810
740
  const applePayConfig = {
@@ -815,7 +745,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
815
745
  buttonType: this.buttonType,
816
746
  buttonStyle: this.buttonStyle,
817
747
  };
818
- console.log('[ApplePay Component] initializing service with config:', applePayConfig);
819
748
  this.applePayService = new ApplePayService();
820
749
  this.applePayService.initialize(applePayConfig);
821
750
  const hasActiveCard = await this.applePayService.canMakePaymentsWithActiveCard();
@@ -833,7 +762,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
833
762
  }
834
763
  finally {
835
764
  this.isLoading = false;
836
- console.groupEnd();
837
765
  }
838
766
  }
839
767
  async isSupported() {
@@ -853,7 +781,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
853
781
  render() {
854
782
  if (!checkoutStore.applePayEnabled) {
855
783
  // Render nothing when Apple Pay is disabled at the checkout settings level
856
- console.log('[ApplePay Component] Apple Pay disabled in checkout settings; not rendering');
857
784
  return null;
858
785
  }
859
786
  const isReady = !this.isLoading &&
@@ -861,7 +788,6 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
861
788
  this.canMakePayments &&
862
789
  this.isConfigValid;
863
790
  return (h(StyledHost, null, checkoutStore.checkoutLoaded && (h("script", { async: true, src: 'https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js', onLoad: () => {
864
- console.log('[ApplePay Component] Apple Pay SDK script loaded');
865
791
  this.initializeApplePay();
866
792
  } })), h("div", { class: 'apple-pay-container' }, h(ApplePaySkeleton, { isLoading: this.isLoading }), isReady && (h(ApplePayButton, { buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick, width: this.width, height: this.height }))), h("style", null, `
867
793
  .apple-pay-container {
@@ -58,10 +58,10 @@ const BankAccountForm = /*@__PURE__*/ proxyCustomElement(class BankAccountForm e
58
58
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
59
59
  }
60
60
  render() {
61
- return (h(StyledHost, { key: '1396c82eb048077e956a6cfa0954c969830a3e4e' }, h(BankAccountFormSkeleton, { key: '90439488c391f7dcb62c9b3aadeeeb9e22b476fe', isReady: this.isReady }), h("hidden-input", { key: 'ab5ab9990cd03e493551dae5dc18717ed144558b' }), h("div", { key: '7031dcaa20b3d017b3a3064d5e6f2e9ec5f3c3de', class: "container-fluid p-0", style: {
61
+ return (h(StyledHost, { key: '62431aba939585a8a341942d9847e8d491b0a658' }, h(BankAccountFormSkeleton, { key: '2da8452c73e52a6fc67d80e483c40a2d0dd276f9', isReady: this.isReady }), h("hidden-input", { key: 'c34bc48ee7e1925ae272b5fe60fd362ddf2433eb' }), h("div", { key: '3fefe63e9f9c98d7e08e0ceac5df0f8008303aec', class: "container-fluid p-0", style: {
62
62
  opacity: this.isReady ? '1' : '0',
63
63
  height: this.isReady ? 'auto' : '0',
64
- } }, h("div", { key: 'cf64b23918c17c525be517fa3506bc5a99de4472', class: "row mb-3" }, h("iframe-input", { key: '1a0bad102f68437d751a123ab14db53d0308b02a', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '332cf9bc370f6bbddaf717c4debbd90bc557d808', class: "row" }, h("iframe-input", { key: '878379906a0efb39c7a236941fda8d399d3a8baf', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
64
+ } }, h("div", { key: '6c19ea238eb0bff6b245f2f39028d651438c55d0', class: "row mb-3" }, h("iframe-input", { key: 'b5588dc21d24ec873fecedd91fbcb0344fbe324c', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '910f130a307449a3d60ef76eee6cc27fc86c3fe0', class: "row" }, h("iframe-input", { key: '72756b92912c3031cc472dee5bbf945f06c38920', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
65
65
  }
66
66
  }, [257, "justifi-bank-account-form", {
67
67
  "iframeOrigin": [32],
@@ -32,6 +32,7 @@ const schemaCAN = (role) => create$3({
32
32
  email: emailValidation.nullable(),
33
33
  phone: phoneValidation.nullable(),
34
34
  dob_full: dobValidation(role).nullable(),
35
+ ssn_last4: create$6().nullable(),
35
36
  identification_number: makeIdentityNumberValidation(CountryCode.CAN).nullable(),
36
37
  address: addressSchemaCAN(true),
37
38
  });
@@ -41,8 +42,8 @@ const strictSchemaCAN = (role) => create$3({
41
42
  email: emailValidation.required(`Enter ${role} email`),
42
43
  phone: phoneValidation.required('Enter phone number'),
43
44
  dob_full: dobValidation(role).required('Enter date of birth'),
44
- identification_number: makeIdentityNumberValidation(CountryCode.CAN)
45
- .required('Enter identification number'),
45
+ ssn_last4: create$6().nullable(),
46
+ identification_number: makeIdentityNumberValidation(CountryCode.CAN),
46
47
  address: addressSchemaCAN(false),
47
48
  });
48
49
  const identitySchemaUSA = (role, allowOptionalFields) => allowOptionalFields ? schemaUSA(role) : strictSchemaUSA(role);
@@ -30,12 +30,12 @@ const RepresentativeFormInputs = /*@__PURE__*/ proxyCustomElement(class Represen
30
30
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
31
31
  return (h("form", { key: '7f2a20427197ce4f402c1b4b859839d506613769' }, h("fieldset", { key: 'fe71959a012c1961b6f91d98862ca4ea9411bf6d' }, h("div", { key: '801fb53d33eeff75f82552da84210abfb1daa55d', class: "d-flex align-items-center gap-2" }, h("legend", { key: '63486b252a7c4f71e944712a833a2edc762c1692', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: '9a22a232bb856c05ca8c75a0255ea8a2b33b8a80', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: 'b29a6dcd41991b2874cb64fc3cd058f3bcf10a48', class: "mt-2" }), h("div", { key: '52e2b29c6f915f50e1f33c19363657e657355b85', class: "row gy-3" }, h("div", { key: '9531872c804ef3713c0778c6bff1d3ca589bb3d5', class: "col-12 col-md-8" }, h("form-control-text", { key: 'd1eedf80da0790767a6c294f084c4b9d4112b9cf', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'b5effb996c7b97cd5a8815781474ea32e5bc37b6', class: "col-12 col-md-4" }, h("form-control-text", { key: '554a6fe90a0c68a32ae7e6b0401e43a8a2d6c7fe', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '6025d1b2b67120a9e9e25d0a6e3e352651759c62', class: "col-12 col-md-6" }, h("form-control-text", { key: 'ed758eafa726ee6801c16535fbba7d05886c21d5', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '933650753a5fdc6f75db658baf536ce4033e0e6c', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '81ba9debb6c8fd8225c67a0c0a6b8612e87fc3f0', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '913c766d6eb5fe5f132eafecba91145a6c418dae', class: "col-12 col-md-4" }, h("form-control-date", { key: 'c50e5ad2022906d753b783e7892be8322d80661c', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '74492ad88a4962c2abfd04319880edb757d78796', class: "col-12 col-md-8" }, (!((_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_h = this.representativeDefaultValue) === null || _h === void 0 ? void 0 : _h.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
32
32
  this.isEditingIdentification = true;
33
- // Clear last4 and current value to force validation
33
+ // Clear current value to force validation
34
34
  updateFormValues(this.formController, {
35
- ssn_last4: null,
36
- identification_number: ''
35
+ identification_number: '',
36
+ ssn_last4: null
37
37
  });
38
- } }, "Change"))))), h("div", { key: 'ad29d30e0748004e9c0d429804210f269581ff12', class: "col-12" }, h("justifi-identity-address-form", { key: 'aaad43f4c150cf08cbdd321a887eaadc51436c88', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
38
+ } }, "Change"))))), h("div", { key: 'dd27d90284c7eac1ec619622bf3e25b28360fe4c', class: "col-12" }, h("justifi-identity-address-form", { key: 'fa011614b624b6ad395f304552ff334d64d2c048', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
39
39
  }
40
40
  }, [256, "justifi-business-representative-form-inputs", {
41
41
  "representativeDefaultValue": [8, "representative-default-value"],
@@ -41,7 +41,7 @@ const CancellationPolicy = /*@__PURE__*/ proxyCustomElement(class CancellationPo
41
41
  }
42
42
  render() {
43
43
  var _a, _b, _c;
44
- return (h("div", { key: '37c63086ec0dece44992be20f44d0b0f06ce3996' }, h("div", { key: '0aab4b70d17ce769d847470b74cd2f0946845ed2', class: "row gy-3" }, h("div", { key: '7cacadffe3a11231d9791dd3b536686e7cc2d539', class: "col-12" }, h("h2", { key: '09c8227375b4231c4135a18d31667f069c5c847d', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '4636e5b456294e6493e09859cf4d001d7e7b6c1a', class: "col-12" }, h("form-control-textarea", { key: 'e5e7be99ae8b18016c28388e7d165321b7aae062', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '0885ca69088851f240ae22b5106a9989b4321f96', class: "col-12" }, h("form-control-textarea", { key: '80ebcdae7bbf223109820735dacb4d2a8c1c8809', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '3ddc4eaa4f086eee2758c2b53172a0f43622e741', class: "col-12" }, h("form-control-file-v2", { key: 'cb975ba4e455d2fc5959319a781a084b5af7b9f8', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
44
+ return (h("div", { key: 'bd78bece625aec456d3433cc20bff08c16ae147a' }, h("div", { key: '80b32adabf3205beb07609c2758ba8609f22cf87', class: "row gy-3" }, h("div", { key: 'baa7766e30f6d9a9be7d2194d07e2fd53e859642', class: "col-12" }, h("h2", { key: 'bb1bb5a301dfaa5f4ce3cdcef84ff987088f2933', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '47fd127e97420bcc5aca04e6cdf2067edd7d9a97', class: "col-12" }, h("form-control-textarea", { key: 'c85dd2dc03c872e96c052e347bb698c9c8f17b3b', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'e070c23f89b84d414992b842107531136b2541a6', class: "col-12" }, h("form-control-textarea", { key: '0c3acec921d25929feb496f810a1745debc440fb', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: 'd40087a09150c9e801b6499604b71b48019a33b7', class: "col-12" }, h("form-control-file-v2", { key: '75c6d00c7a29c60bd81ab2f187f901d6fbe522d1', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
45
45
  }
46
46
  }, [256, "justifi-cancellation-policy", {
47
47
  "disputeResponse": [8, "dispute-response"],
@@ -62,10 +62,10 @@ const JustifiCardForm = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm e
62
62
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
63
63
  }
64
64
  render() {
65
- return (h(StyledHost, { key: 'def25049fc30e1755194750bad8ebff0c578dac2' }, h(CardFormSkeleton, { key: '81a0ec8218a76e51962fac0e8f628b243bd6d33e', isReady: this.isReady }), h("hidden-input", { key: '6145fba4b8164ff1cec1d1b5707063cdf26faa82' }), h("div", { key: 'febcd1d5dbbde0216d7286842f35d58984f3c292', class: "container-fluid p-0", style: {
65
+ return (h(StyledHost, { key: '0db53b1dace76a8e02bab9f65fdc70e20f440a62' }, h(CardFormSkeleton, { key: 'ea756f1799b01b81a678ce5bd2592551edd81211', isReady: this.isReady }), h("hidden-input", { key: 'a6203630db26bfbb683e2b45174c79d753154eda' }), h("div", { key: 'dbb6328ba3a27106474f6b9af6fc3c347b99ae7d', class: "container-fluid p-0", style: {
66
66
  opacity: this.isReady ? '1' : '0',
67
67
  height: this.isReady ? 'auto' : '0',
68
- } }, h("div", { key: '6e305988144bd44753ab202b29de295cc3dd7b20', class: "mb-3" }, h("iframe-input", { key: '79348433ff2860a30d387b9a64c258a91c220363', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '11eee27f7aa34c120aed348acd1fc51e46b77628', class: "row" }, h("div", { key: '0bb1153c58433514b889fe20d9cf77c7b7f8b867', class: "col-4 align-content-end" }, h("iframe-input", { key: 'f07c79907822a83cbc29eb4748f952b1a2079990', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '6c2e81715c918978f688d00ae960f2673e092248', class: "col-4 align-content-end" }, h("iframe-input", { key: '96d3656d4a26f96889ab5c6569e0144a76293627', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'e186614da2a5ef5836e251ac1f8f247c18cff7e6', class: "col-4 align-content-end" }, h("iframe-input", { key: 'd9f6c2d2f669fde22b18845a47f5bdeb8a62abe7', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
68
+ } }, h("div", { key: '64055e42612ce94da35022d7e8314ed917f90f8a', class: "mb-3" }, h("iframe-input", { key: 'e99008d298b6ec6e22ff5a4e73042e3e8805f09b', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '34ed1849877a47fe6ec32f443472fa9c913dae67', class: "row" }, h("div", { key: '39bfdd5c8dd6271315a09cd3022083fe4b45f5ea', class: "col-4 align-content-end" }, h("iframe-input", { key: '981b65ebd142396312d09df8927fd5d08a5dea72', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'a6fee6c1cc609b665b3ba9935190a43a118c5e5c', class: "col-4 align-content-end" }, h("iframe-input", { key: '257b738139e182dc6e9f6a6893f8b6a0bc3f6b69', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '523316b64f673cdf89b5d01c1ecf4cf25ccef246', class: "col-4 align-content-end" }, h("iframe-input", { key: '37305b54e421d759ded57b0f9de7743a07be4b5b', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
69
69
  }
70
70
  }, [257, "justifi-card-form", {
71
71
  "isReady": [32],
@@ -72,6 +72,23 @@ function getAvailablePaymentMethodTypes() {
72
72
  }
73
73
  return methods;
74
74
  }
75
+ function getCheckoutState() {
76
+ return {
77
+ selectedPaymentMethod: checkoutStore.selectedPaymentMethod,
78
+ paymentAmount: checkoutStore.paymentAmount,
79
+ totalAmount: checkoutStore.totalAmount,
80
+ paymentCurrency: checkoutStore.paymentCurrency,
81
+ paymentDescription: checkoutStore.paymentDescription,
82
+ savedPaymentMethods: checkoutStore.paymentMethods,
83
+ savePaymentMethod: checkoutStore.savePaymentMethod,
84
+ bnplEnabled: checkoutStore.bnplEnabled,
85
+ applePayEnabled: checkoutStore.applePayEnabled,
86
+ insuranceEnabled: checkoutStore.insuranceEnabled,
87
+ disableBankAccount: checkoutStore.disableBankAccount,
88
+ disableCreditCard: checkoutStore.disableCreditCard,
89
+ disablePaymentMethodGroup: checkoutStore.disablePaymentMethodGroup,
90
+ };
91
+ }
75
92
  function onAnyChange(callback) {
76
93
  Object.keys(initialState).forEach((key) => {
77
94
  // @ts-ignore - onChange is generically typed by stencil/store but not exported here
@@ -79,4 +96,4 @@ function onAnyChange(callback) {
79
96
  });
80
97
  }
81
98
 
82
- export { onChange as a, checkoutStore as c, getAvailablePaymentMethodTypes as g, onAnyChange as o };
99
+ export { getCheckoutState as a, onChange as b, checkoutStore as c, getAvailablePaymentMethodTypes as g, onAnyChange as o };
@@ -1875,7 +1875,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
1875
1875
  this.hideEvent.emit();
1876
1876
  }
1877
1877
  render() {
1878
- return (h("div", { key: '3258d815eae7b31323a8c1bca81d46f51fa684de' }, h("style", { key: '4ef14405fc58db08baacc2d760484150eb9ba937' }, `
1878
+ return (h("div", { key: 'e5ce1fb22e1929707428706dda084ffdbfe3010a' }, h("style", { key: '556af497b8ebd0b82b3e4a44483953243aa5cb0a' }, `
1879
1879
  .popper-content {
1880
1880
  display: none;
1881
1881
  }
@@ -1883,7 +1883,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
1883
1883
  display: block;
1884
1884
  z-index: 1030;
1885
1885
  }
1886
- `), h("div", { key: '15e316884fbac8bb31d9ce1d60cf81d6346b13a1', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: 'c6ea5b2e88b6cad1e87d82310b8d74e5b4bb6b67' }))));
1886
+ `), h("div", { key: '7765427c69a8d6c0c8e3c1f0db49009b05ac05b7', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '83226bf40f66021f7d628ee36ff6b501dc1ff97f' }))));
1887
1887
  }
1888
1888
  }, [260, "custom-popper", {
1889
1889
  "placement": [1],
@@ -43,7 +43,7 @@ const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails e
43
43
  }
44
44
  render() {
45
45
  var _a, _b, _c, _d, _e;
46
- return (h("div", { key: '858dcd8508a6ef974faf5b97c04cbd224cea93c0' }, h("div", { key: '7aef1bf1aaf5838e8f555b9f8680bc89f255d52c', class: "row gy-3" }, h("div", { key: 'f206b1c9958b39b242dfe2c899a0a98f16731dff', class: "col-12" }, h("h2", { key: '92916cf3952026ce406e52ac70be08cbb9c0e2a4', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: 'f80d3f7624484c70380035ad1bed0c292d7524b6', class: "col-12" }, h("form-control-text", { key: '1f762101dcda20301e4207e26e32d0d9808f141e', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: 'dc7b267094e7ff05194b96d5886788f56e31cae6', class: "col-12" }, h("form-control-text", { key: '64abb76bb8f9cf640bb4b367facb43355194db2d', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '8774802d03a56029ee6611820b077496c0032d9e', class: "col-12" }, h("form-control-textarea", { key: '2ffdd3ece9bbd6f7206508d96ba6a09e9b51e7e3', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '481cc546dcf904bd2414c096aafe9b034be548c2', class: "col-12" }, h("form-control-file-v2", { key: '763c89f78cf205bdf5f30cce01d8d96debfd12b0', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: 'bf358ed8e708f439877de74f18cb488b3fe65ecd', class: "col-12" }, h("form-control-file-v2", { key: 'e4c72136e11514b2dddac44a584b343a1846b077', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
46
+ return (h("div", { key: '4f66d1737416342483855947c8d0bc84633efd1a' }, h("div", { key: '0a7be5af6e92d56bf58ceb5e1a5269163f8a5eef', class: "row gy-3" }, h("div", { key: '0ae8574e9228b7cee09f33595f901a216fad571c', class: "col-12" }, h("h2", { key: '9a025c901262dc362e048a72f3f5d17eaa8bc7a4', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '8d651d6a4f9f3ebc519e3fd8b6cd03da452f7a5e', class: "col-12" }, h("form-control-text", { key: '00b3d5ffef1d253b75cdba11c26c05fc4b3d3e7d', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '3494745d7843208abe678662359cf1612b035d2d', class: "col-12" }, h("form-control-text", { key: 'b6822a0f33dab183f717e58b68cd1c95445a62c8', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '86f9e759614375d50238fa26756ceac0ebd3d55c', class: "col-12" }, h("form-control-textarea", { key: 'e86f3fcc5a5f31cf46b67d53ee282b16232c0016', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: 'bda34fee75daeaf9ac91758a096febabe98ddf14', class: "col-12" }, h("form-control-file-v2", { key: '49c40325d8478296a6da2f124114a7a06d29b4c6', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '8f1b66a41596a3606b5c2f2a0c94844f11aa4b27', class: "col-12" }, h("form-control-file-v2", { key: 'c5c539c9f9cf799a1043330e657a6064510e59ba', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
47
47
  }
48
48
  }, [256, "justifi-customer-details", {
49
49
  "disputeResponse": [8, "dispute-response"],
@@ -43,9 +43,24 @@ const DisputeNotification = /*@__PURE__*/ proxyCustomElement(class DisputeNotifi
43
43
  initiateRespondToDispute() {
44
44
  this.clickEvent.emit({ name: DisputeManagementClickActions.respondToDispute });
45
45
  }
46
+ isDueDatePassed() {
47
+ var _a;
48
+ if (!((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.due_date)) {
49
+ return false;
50
+ }
51
+ // Fix for JavaScript Date object parsing
52
+ // https://stackoverflow.com/a/31732581
53
+ const dueDate = new Date(this.dispute.due_date.replace(/-/g, '\/').replace(/T.+/, ''));
54
+ const today = new Date();
55
+ // Reset time to compare only dates
56
+ today.setHours(0, 0, 0, 0);
57
+ dueDate.setHours(0, 0, 0, 0);
58
+ return dueDate < today;
59
+ }
46
60
  render() {
47
- var _a, _b, _c, _d, _e, _f, _g;
48
- return (h(StyledHost, { key: 'd268295bb070b948984332bd763407dd2abe8467' }, this.isLoading && (h("div", { key: 'e9083c5f4f8cb88a348dc5099be678cf0c44c6fd', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'dd847619a087adcf9ca142bd705073b5bd2cbb38', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'abce0be539824cabcdc91cc1935acda2928738be', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: 'fd50de2ce4ff82a99bd9435438f8714173f07a63', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '44d88a0e658669f0cb703e7a80008788957b4075', part: text }, h("h1", { key: 'cbcf492cd4cb236f8241a03e9a722650c4a86a33', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: 'c30d8f5246aaf75415e6334acc2d3ab53fb200c5' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '929bdc03a93e66cd95ad0985df42cee6e1448ee1', class: "h5" }, "Dispute details"), h("div", { key: '71ace963ec6035edfadb8e3391c2a025203ffb8b', class: "d-table gap-2" }, h("div", { key: '13feb89ef8720eb97fb58bb5a01c650339b044a0', class: "d-table-row gap-2" }, h("span", { key: 'f53edd37be55640f22d6fc8418c2c7a2fb68d4eb', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'ee91d5ecc2c3c921106fed6437b0122d87ffc590', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: 'f8d03855088572719cc69eb70846baaca626873f', class: "d-table-row gap-2" }, h("span", { key: '1da829c98c3799d5f426078084d472fe21ea8714', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '66251cc54a379c54d1f10de9b63c3acc8441102e', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '75fb4722061c2ce1552aaf019cd55fe2e18d69bc', class: "d-table-row gap-2" }, h("span", { key: '0e1207c6ec9b5e0a1987c3dc27c7237b829c0e24', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), h("span", { key: 'f59cee5df009fbe55a5afc7c862d127dcf9c39bc', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.due_date))), h("div", { key: '843db57269e37dc9a6fe870efaac3345acd69f8c', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '6bc8dc5a4d5b5fb3b4bd060f869cc154b5f38911', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: 'ece8a6e944501b889d9d881ae08181261aa630c1', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: '5801625ebc25850e4001d9961e20b9f589ba071a' }, h("h1", { key: '6a20320f19deea6e4cd2ad391ef6e3adf16d9272', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '5fbfbe7a8c80674f1d65fa5f989a2db428dcce73' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '7531e3e361613accf7f6b6085ba94dbaafcb4915' }, h("h1", { key: '6f613bf334d77f89ff9fff4fb95bcb60b81154fd', class: "h4" }, "This payment was disputed"), h("p", { key: '148b60d2220cdd181cc4fa7692b524c1da049aea' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: '905c1f81c5d4d0e2dac524fa11cb7ae977bd8c35' }, h("h1", { key: 'de0004f4f08d07e3bbeb224e900c5f89d58f3ecd', class: "h4" }, "This payment was disputed"), h("p", { key: '40f37c79108a79989b7e5a6d2d90a855b37ea2a3' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
61
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
62
+ return (h(StyledHost, { key: 'a494374453528ee6033589ed69dd2a0738ff8aaa' }, this.isLoading && (h("div", { key: '436d266650297674d89f1ba2d299bf3ebdf16506', style: { marginBottom: '8px' } }, h(Skeleton, { key: '952e9df74b83809b3a52d629ed05bc54b02754a5', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'f3dd82b6b941500202404ec1353c2f951f79b642', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '608229cd12404e5e6f7014f955c24f9ff856a14f', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && this.isDueDatePassed() && (h("div", { key: '6d18b253eaa245b9f7b817c3baf473d6f6a31845', part: text }, h("h1", { key: '7f7e30f8c7a9753970980796790b621a6d373548', class: "h4", part: heading4 }, "The due date (", (_b = this.dispute) === null || _b === void 0 ? void 0 :
63
+ _b.due_date, ") for this dispute has passed"), h("p", { key: '1c458aecef8ce286b6c2a46e286c57e1276aff04' }, "You can no longer submit evidence to counter this dispute."))), ((_c = this.dispute) === null || _c === void 0 ? void 0 : _c.needsResponse) && !this.isDueDatePassed() && (h("div", { key: 'b3e85abf813bd36da6c952c9ad7c9357504bbc1d', part: text }, h("h1", { key: 'afcbe8f967170bc4abea0c71749a10e1c09937e0', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '30194ebea5f1763286f1a69f8fb2cd8c2c9d2d90' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '991505b018e4ee61b05c9872244163b729ee0cd1', class: "h5" }, "Dispute details"), h("div", { key: 'b94e62444ce05ac0ef6698a4b67f70088c10a9b4', class: "d-table gap-2" }, h("div", { key: '8873c8b0cab9bf5e56add69007e9b281c64dcbf3', class: "d-table-row gap-2" }, h("span", { key: '0c9cf9564277ba952c1b36acc7fa8660ec969266', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '0461b3c75b74e03b60dae12d80526b119d1e74d5', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_d = this.dispute) === null || _d === void 0 ? void 0 : _d.amount))), h("div", { key: '074f92623a156b5c431719a8c11870c95377dfc1', class: "d-table-row gap-2" }, h("span", { key: '04e1498ecb4d64f122c27ef0a83c38d843c72cad', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: 'fc3c56b35d899c06130b918cf03202cc9f44fa46', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_e = this.dispute) === null || _e === void 0 ? void 0 : _e.reason)), h("div", { key: '13eca44a73967f235a18e2f8818a008f14a96ba2', class: "d-table-row gap-2" }, h("span", { key: '954a86a2f0b77801a7c69c751a2b398f33bb2fe1', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), h("span", { key: '21e305a5cdc269f45439671639e3984e68cb75e0', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_f = this.dispute) === null || _f === void 0 ? void 0 : _f.due_date))), h("div", { key: 'cad8b592ab80d24b3d4ce187eb534a336bd36581', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '077df79dae040c41489d1206fffde036aef51954', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: 'eb26cd7bc9d93c83eefc927c565f321eb3c2bef1', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.underReview) && (h("div", { key: 'f74d8e95a2ae74e1b59ac414d0a0d5cc43dd0291' }, h("h1", { key: '2404542678c5ad29dd4e3af13edebbace06734d6', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '0027bd32af1b0ab4ffdd42fcc0b21cb7ab55835a' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_h = this.dispute) === null || _h === void 0 ? void 0 : _h.won) && (h("div", { key: 'ff335c7dbe7bda7637d1b27a65150785e81361bc' }, h("h1", { key: '36ee4c439d8e1346c115ba6f28e59008ce68d4e1', class: "h4" }, "This payment was disputed"), h("p", { key: '5e6e6869d956f6ea84e64378e4bfaebeb71109b0' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_j = this.dispute) === null || _j === void 0 ? void 0 : _j.lost) && (h("div", { key: 'd67894655a47ac5327540c55fdd97db472d34f9d' }, h("h1", { key: 'dec3b5da213071a75183eab6e1521c5c986d3876', class: "h4" }, "This payment was disputed"), h("p", { key: '806eb5f32bddde1c298eba9517c637a7fb69f598' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
49
64
  }
50
65
  }, [257, "justifi-dispute-notification", {
51
66
  "dispute": [16],
@@ -180,7 +180,7 @@ const DisputeResponseCore = /*@__PURE__*/ proxyCustomElement(class DisputeRespon
180
180
  return this.currentStep === 0;
181
181
  }
182
182
  render() {
183
- return (h("div", { key: 'f8aa436de4217a890cb2c30d3e27aae405c69275', class: "row gy-3" }, h("div", { key: 'a49685c530a74ddc0c001f7aaa93a88083d050fa', class: "col-12" }, h("h1", { key: '15344ecf9317a883ca035637b943435d51663ad6', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '84005717b34e9f4a346bbd21c43f849f8238b452', class: "col-12" }, this.currentStepComponent), h("div", { key: 'f210b5351166085cc1638b4170af6e20c50080f2', class: "col-12" }, h("div", { key: '8294937c85b26845a9b22d5fd7afcb0caa7dbad1', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
183
+ return (h("div", { key: 'b23c5bc27b1f657b9211d3a3482ae5b99982754e', class: "row gy-3" }, h("div", { key: 'a630f3c475d6b8026a81724c76340dc4f6088b26', class: "col-12" }, h("h1", { key: 'f4e848277ee8f1ec05ef1b1dfbac0e8872d9d91f', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '6f7f21778853a3c1ac173ac79713f5427a226a5b', class: "col-12" }, this.currentStepComponent), h("div", { key: '7354846a446f5677a12a3113b3f4226060a8b86a', class: "col-12" }, h("div", { key: '4fb9dbccff8b004913656c3a130b46a0216dd6bb', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
184
184
  }
185
185
  }, [256, "justifi-dispute-response-core", {
186
186
  "updateDisputeResponse": [16],
@@ -79,7 +79,7 @@ const DisputeResponse = /*@__PURE__*/ proxyCustomElement(class DisputeResponse e
79
79
  }
80
80
  }
81
81
  render() {
82
- return (h(StyledHost, { key: '4a6fcddbe3275068b9699dfc5c60adeff77f2192' }, h("justifi-dispute-response-core", { key: '80bd93d2ec9c64695d8b1d8bb7a4b59b2418a14f', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
82
+ return (h(StyledHost, { key: 'ed6376969ab6a686999b8a31376b3c1cc8c7b566' }, h("justifi-dispute-response-core", { key: 'd823732d71613e9e98305d4b7d3c22af0344d209', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
83
83
  }
84
84
  ;
85
85
  static get watchers() { return {
@@ -42,7 +42,7 @@ const DuplicateCharge = /*@__PURE__*/ proxyCustomElement(class DuplicateCharge e
42
42
  }
43
43
  render() {
44
44
  var _a, _b, _c;
45
- return (h("div", { key: 'a2c44551e8089f9d9f30e99e93c146c160e78f45' }, h("div", { key: '9eb60cf652ebfbb37336a350552666b30bd87e1d', class: "row gy-3" }, h("div", { key: 'ec776dee0a386b87851aca4a275b5aec09f2f78a', class: "col-12" }, h("h2", { key: 'e6c60f82ded8750f7211ffa7b2790d8572bf67c7', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '6380b5a5be60a61d3bb2adcffad781388da2b6d2', class: "col-12" }, h("form-control-text", { key: 'b976b506913584ae88d35a30cfc42efb6a20a9e7', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: 'f9ae261fbe01a5f4de3491b8ac2c7a1cd59a184d', class: "col-12" }, h("form-control-textarea", { key: 'cd3bf73a8374411113068c310b14101e8d9ab7fe', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: 'f730411437abd1c6a5950e7a768390df2ea2102e', class: "col-12" }, h("form-control-file-v2", { key: '8021ee00e94803edf3eb27ec834e05353ba985d5', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
45
+ return (h("div", { key: '68152308257c9331e3e3e1b8141922634390c91d' }, h("div", { key: '0ff743d3d260272e98f9d9c9219e1465de1c7516', class: "row gy-3" }, h("div", { key: 'c02a18a34320cc8b4574b65f378b8a54207eb01c', class: "col-12" }, h("h2", { key: '254ae07ed42f2c61fed3b0be8cd02f928ac64f92', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'dfd97f7c5817bcd14458e4d390736b79651c29db', class: "col-12" }, h("form-control-text", { key: '76c551ab0641c3ebb78c40cdb78bb184911033c9', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '1edd78dcefbe32156f27e924e5b032a016dbffc5', class: "col-12" }, h("form-control-textarea", { key: '556829c59b797a79b8bd31d3add791819a2ef84a', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '183a68bf83924559e0032af6a43308466944fdcb', class: "col-12" }, h("form-control-file-v2", { key: 'fa3817f0e2e8ff17d5cdd142ccabc0e539a48d38', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
46
46
  }
47
47
  }, [256, "justifi-duplicate-charge", {
48
48
  "disputeResponse": [8, "dispute-response"],
@@ -39,7 +39,7 @@ const ElectronicEvidence = /*@__PURE__*/ proxyCustomElement(class ElectronicEvid
39
39
  }
40
40
  render() {
41
41
  var _a, _b;
42
- return (h("div", { key: 'b7ccea47ef4631e72192680468e9b5c370089766' }, h("div", { key: 'b33edf7018fe897a1b6d66edfbdf696fe4c4ad5d', class: "row gy-3" }, h("div", { key: '3f191923eb587c7efcdeec93afa830f7045e5ca5', class: "col-12" }, h("h2", { key: '6019125067e94159de463ff467f3a26a83efadb6', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '36169fba21ebe835eccbbdfa61665dbbf1922d22', class: "col-12" }, h("form-control-text", { key: '5cdd785662b43d8ac46b7ffa165fbf7b1d3008ae', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: 'b2b3fdabb36b09c369c887779519000b1f9eb40e', class: "col-12" }, h("form-control-file-v2", { key: 'f112588b597277444e3d826cd8d94f8699dafc22', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
42
+ return (h("div", { key: '677a04d0eb6000066063a68bfe85d286c5c207fa' }, h("div", { key: 'b231437fc879fa2c24474c498eba17edd34128a3', class: "row gy-3" }, h("div", { key: 'd0cf03d9f5e2de19f63e47fd42f0bec710d44bd1', class: "col-12" }, h("h2", { key: '5343dcbeffdaa14e4605944eef18c5ebf1418a20', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'a4b816038465b14e4078b13d46543280b212c676', class: "col-12" }, h("form-control-text", { key: '8cebdd64857d99b8058013df9a10ac007869b998', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '637f3221604b415b8ea5c04af800a72dbfa40c4b', class: "col-12" }, h("form-control-file-v2", { key: '89b3db82c57b8673124369e915efa4f0ec3927a8', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
43
43
  }
44
44
  }, [256, "justifi-electronic-evidence", {
45
45
  "disputeResponse": [8, "dispute-response"],
@@ -54,10 +54,10 @@ const DateInput = /*@__PURE__*/ proxyCustomElement(class DateInput extends HTMLE
54
54
  return part;
55
55
  }
56
56
  render() {
57
- return (h(Host, { key: '8e5820c8f07562ce28e3b95c4948cb7c311d48d6' }, h("div", { key: '1dd0cbd495d132064808cc81bc272b92f7df95af', class: "form-group d-flex flex-column" }, h("div", { key: '82f27392fd4bdbb106db3ea4219eeb75d99a7c78', class: "d-flex gap-2" }, h("label", { key: 'a6ab3679c84b6f22e4c27ac4cb9764e77f97eed3', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'f481b59809157482acd955d8f2bdb60e5a91e164', helpText: this.helpText })), h("input", { key: '6803e25bbd12858678fa08a8230ca91268541624', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
57
+ return (h(Host, { key: 'c1db3dd4bca7d9bf6dcbf61b0b43793232caae2f' }, h("div", { key: '4e00566fe24c7db972bcc7a99eaa1aa14c968f2b', class: "form-group d-flex flex-column" }, h("div", { key: '30e022fb522a6f69d04fadebb893c0377c0c580e', class: "d-flex gap-2" }, h("label", { key: 'f43b0d3c1e53d6c6e99dd26ca1dc61b601617e2c', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '39ab2bcd705b6d917dad575c9e09594d2a6ff199', helpText: this.helpText })), h("input", { key: '54d475675a44f28a05315c23ed07b7e61717c6a9', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
58
58
  this.isFocused = false;
59
59
  this.formControlBlur.emit();
60
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '0237d93c756aaea690eda467b0497ce2c0d8c904', errorText: this.errorText, name: this.name }))));
60
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '91455fa726313c5316a91d395209df04d6927a41', errorText: this.errorText, name: this.name }))));
61
61
  }
62
62
  static get watchers() { return {
63
63
  "defaultValue": ["handleDefaultValueChange"]
@@ -13,7 +13,7 @@ const FileInput = /*@__PURE__*/ proxyCustomElement(class FileInput extends HTMLE
13
13
  this.formControlBlur = createEvent(this, "formControlBlur", 7);
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '4d69131cba0d3529b5e8d3344085400a0e491f7a', exportparts: "label,input,input-invalid" }, h("div", { key: '91ef14e863262efef2ca6478dddcbe06fed2c3de', class: "form-group d-flex flex-column" }, h("div", { key: '46fab1c0db5685d8ea5f84f1517a129894a4ba62', class: "d-flex align-items-start gap-2" }, h("label", { key: 'e43d7049b5ce9265e27d30e6edca60b877ce7207', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '4a6298c1b36cf0bbef8ebb383398168cf99af362', helpText: this.helpText })), h("input", { key: '1ec274c8399390dcc08b708218485be030df3e4a', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: '154e2193272229f617555a5a1804c334d5214d53', errorText: this.errorText, name: this.name }))));
16
+ return (h(Host, { key: '7ba26de4dc1fc18b3eec2ea364fe26b1036b4f51', exportparts: "label,input,input-invalid" }, h("div", { key: 'ca125e36caa36d14f7d18c3048d00699af79bf35', class: "form-group d-flex flex-column" }, h("div", { key: '07cefe5047839cf9ec35682c01ad5d89a691ac4f', class: "d-flex align-items-start gap-2" }, h("label", { key: '7aa93bf0faa4759f5e94bf8420e52f50cbe9c07e', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '88715a6ee07d8196602e951aa0054800f22ba942', helpText: this.helpText })), h("input", { key: '79c464c90f0f9ef4da01ac0d7703763749538191', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: 'c979151bc382eaf2b542712d2725f6b7affd9bcb', errorText: this.errorText, name: this.name }))));
17
17
  }
18
18
  get el() { return this; }
19
19
  }, [256, "form-control-file-v2", {