@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
@@ -35,7 +35,8 @@ export class ApplePayService {
35
35
  'Sub-Account': accountId,
36
36
  },
37
37
  body: {
38
- domain: window.location.host
38
+ domain: window.location.host,
39
+ display_name: this.applePayConfig.displayName
39
40
  }
40
41
  });
41
42
  return response;
@@ -82,22 +83,15 @@ export class ApplePayService {
82
83
  * Start Apple Pay session
83
84
  */
84
85
  async startPaymentSession(paymentRequest, authToken, accountId) {
85
- // Begin verbose diagnostics for easier debugging in the field
86
- console.groupCollapsed('[ApplePayService] startPaymentSession called');
87
- console.log('[ApplePayService] raw paymentRequest:', JSON.stringify(paymentRequest, null, 2));
88
- console.log('[ApplePayService] has authToken:', Boolean(authToken));
89
- console.log('[ApplePayService] accountId:', accountId);
90
- console.log('[ApplePayService] has config:', Boolean(this.applePayConfig));
86
+ // Begin session
91
87
  if (!this.applePayConfig) {
92
88
  console.error('[ApplePayService] Missing applePayConfig. Did you call initialize()?');
93
- console.groupEnd();
94
89
  throw new Error('Apple Pay not initialized. Call initialize() first.');
95
90
  }
96
91
  // if (!this.isAvailable()) {
97
92
  // throw new Error('Apple Pay is not available on this device/browser');
98
93
  // }
99
94
  const request = new ApplePayPaymentRequest(paymentRequest);
100
- console.log('[ApplePayService] created ApplePayPaymentRequest:', request);
101
95
  if (!request.isValid) {
102
96
  const missingFields = [];
103
97
  if (!request.countryCode)
@@ -112,17 +106,14 @@ export class ApplePayService {
112
106
  if (!request.total || !request.total.label || !request.total.amount)
113
107
  missingFields.push('total');
114
108
  console.error('[ApplePayService] Payment request is invalid. Missing/invalid:', missingFields);
115
- console.groupEnd();
116
109
  throw new Error('Invalid payment request provided');
117
110
  }
118
111
  this.currentPaymentRequest = request;
119
112
  return new Promise((resolve, reject) => {
120
113
  try {
121
- console.log('[ApplePayService] About to instantiate ApplePaySession');
122
114
  // Defensive checks for Apple Pay environment
123
115
  if (typeof window === 'undefined' || !('ApplePaySession' in window)) {
124
116
  console.error('[ApplePayService] ApplePaySession not available on window');
125
- console.groupEnd();
126
117
  return reject({
127
118
  success: false,
128
119
  error: {
@@ -132,16 +123,11 @@ export class ApplePayService {
132
123
  });
133
124
  }
134
125
  this.currentSession = new window.ApplePaySession(3, request);
135
- console.log('[ApplePayService] ApplePaySession instantiated:', this.currentSession);
136
126
  this.setupSessionEventHandlers(resolve, reject, authToken, accountId);
137
- console.log('[ApplePayService] Event handlers set. Beginning session...');
138
127
  this.currentSession.begin();
139
- console.log('[ApplePayService] Session.begin() called');
140
- console.groupEnd();
141
128
  }
142
129
  catch (error) {
143
130
  console.error('[ApplePayService] Exception while starting session:', error);
144
- console.groupEnd();
145
131
  reject({
146
132
  success: false,
147
133
  error: {
@@ -179,18 +165,14 @@ export class ApplePayService {
179
165
  return;
180
166
  }
181
167
  this.currentSession.onvalidatemerchant = async () => {
182
- console.groupCollapsed('[ApplePayService] onvalidatemerchant');
183
168
  try {
184
- console.log('[ApplePayService] accountId:', accountId);
185
169
  if (!authToken) {
186
170
  console.error('[ApplePayService] Missing authToken for merchant validation');
187
171
  throw new Error('Authentication token not provided.');
188
172
  }
189
173
  const merchantSession = await this.validateMerchant(authToken, accountId);
190
- console.log('[ApplePayService] merchantSession received');
191
174
  try {
192
175
  this.currentSession.completeMerchantValidation(merchantSession);
193
- console.log('[ApplePayService] completeMerchantValidation called');
194
176
  }
195
177
  catch (completionError) {
196
178
  console.error('Error calling completeMerchantValidation:', completionError);
@@ -214,30 +196,20 @@ export class ApplePayService {
214
196
  },
215
197
  });
216
198
  }
217
- console.groupEnd();
218
199
  };
219
200
  this.currentSession.onpaymentauthorized = async (event) => {
220
- var _a;
221
- console.groupCollapsed('[ApplePayService] onpaymentauthorized');
222
201
  try {
223
202
  const payment = event.payment;
224
- console.log('[ApplePayService] payment payload snapshot:', {
225
- hasToken: Boolean(payment === null || payment === void 0 ? void 0 : payment.token),
226
- tokenType: ((_a = payment === null || payment === void 0 ? void 0 : payment.token) === null || _a === void 0 ? void 0 : _a.paymentData) ? 'paymentData' : 'raw',
227
- });
228
203
  const paymentPayload = Object.assign(Object.assign({}, payment.token), { product_details: {
229
204
  name: this.currentPaymentRequest.total.label,
230
205
  price: ApplePayHelpers.parseAmount(this.currentPaymentRequest.total.amount),
231
206
  description: this.currentPaymentRequest.total.label,
232
207
  } });
233
- console.log('[ApplePayService] paymentPayload prepared');
234
208
  const paymentResult = await this.processPayment(authToken, accountId, paymentPayload);
235
- console.log('[ApplePayService] processPayment result:', paymentResult);
236
209
  if (paymentResult.success) {
237
210
  this.currentSession.completePayment({
238
211
  status: ApplePaySessionStatus.STATUS_SUCCESS,
239
212
  });
240
- console.log('[ApplePayService] Payment success; resolving');
241
213
  resolve({
242
214
  success: true,
243
215
  token: payment.token,
@@ -278,40 +250,31 @@ export class ApplePayService {
278
250
  });
279
251
  }
280
252
  finally {
281
- console.log('[ApplePayService] Cleaning up session state');
282
253
  this.currentSession = undefined;
283
254
  this.currentPaymentRequest = undefined;
284
255
  }
285
- console.groupEnd();
286
256
  };
287
257
  this.currentSession.onpaymentmethodselected = () => {
288
- console.groupCollapsed('[ApplePayService] onpaymentmethodselected');
289
258
  const paymentUpdate = {
290
259
  newTotal: this.currentPaymentRequest.total,
291
260
  newLineItems: this.currentPaymentRequest.lineItems || [],
292
261
  };
293
262
  try {
294
263
  this.currentSession.completePaymentMethodSelection(paymentUpdate);
295
- console.log('[ApplePayService] completePaymentMethodSelection called');
296
264
  }
297
265
  catch (error) {
298
266
  console.error('Error completing payment method selection:', error);
299
267
  this.currentSession.abort();
300
268
  }
301
- console.groupEnd();
302
269
  };
303
270
  this.currentSession.onshippingmethodselected = () => {
304
- console.groupCollapsed('[ApplePayService] onshippingmethodselected');
305
271
  this.currentSession.completeShippingMethodSelection({
306
272
  status: ApplePaySessionStatus.STATUS_SUCCESS,
307
273
  newTotal: this.currentPaymentRequest.total,
308
274
  newLineItems: this.currentPaymentRequest.lineItems || [],
309
275
  });
310
- console.log('[ApplePayService] completeShippingMethodSelection called');
311
- console.groupEnd();
312
276
  };
313
277
  this.currentSession.oncancel = (event) => {
314
- console.groupCollapsed('[ApplePayService] oncancel');
315
278
  if (event.sessionError) {
316
279
  console.error(event.sessionError);
317
280
  switch (event.sessionError.code) {
@@ -342,11 +305,9 @@ export class ApplePayService {
342
305
  message: 'User cancelled the Apple Pay session',
343
306
  },
344
307
  });
345
- console.groupEnd();
346
308
  };
347
309
  if ('onerror' in this.currentSession) {
348
310
  this.currentSession.onerror = (error) => {
349
- console.groupCollapsed('[ApplePayService] onerror');
350
311
  console.error('=== APPLE PAY SESSION ERROR ===');
351
312
  console.error('Session error:', error);
352
313
  this.currentSession = undefined;
@@ -358,7 +319,6 @@ export class ApplePayService {
358
319
  message: 'Apple Pay session error occurred',
359
320
  },
360
321
  });
361
- console.groupEnd();
362
322
  };
363
323
  }
364
324
  }
@@ -128,7 +128,7 @@
128
128
  ],
129
129
  "compiler": {
130
130
  "name": "@stencil/core",
131
- "version": "4.38.2",
131
+ "version": "4.38.3",
132
132
  "typescriptVersion": "5.9.3"
133
133
  },
134
134
  "collections": [],
@@ -17,12 +17,12 @@ export class RepresentativeFormInputs {
17
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
18
18
  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: () => {
19
19
  this.isEditingIdentification = true;
20
- // Clear last4 and current value to force validation
20
+ // Clear current value to force validation
21
21
  updateFormValues(this.formController, {
22
- ssn_last4: null,
23
- identification_number: ''
22
+ identification_number: '',
23
+ ssn_last4: null
24
24
  });
25
- } }, "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 }))))));
25
+ } }, "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 }))))));
26
26
  }
27
27
  static get is() { return "justifi-business-representative-form-inputs"; }
28
28
  static get properties() {
@@ -31,6 +31,7 @@ const schemaCAN = (role) => object({
31
31
  email: emailValidation.nullable(),
32
32
  phone: phoneValidation.nullable(),
33
33
  dob_full: dobValidation(role).nullable(),
34
+ ssn_last4: string().nullable(),
34
35
  identification_number: makeIdentityNumberValidation(CountryCode.CAN).nullable(),
35
36
  address: addressSchemaCAN(true),
36
37
  });
@@ -40,8 +41,8 @@ const strictSchemaCAN = (role) => object({
40
41
  email: emailValidation.required(`Enter ${role} email`),
41
42
  phone: phoneValidation.required('Enter phone number'),
42
43
  dob_full: dobValidation(role).required('Enter date of birth'),
43
- identification_number: makeIdentityNumberValidation(CountryCode.CAN)
44
- .required('Enter identification number'),
44
+ ssn_last4: string().nullable(),
45
+ identification_number: makeIdentityNumberValidation(CountryCode.CAN),
45
46
  address: addressSchemaCAN(false),
46
47
  });
47
48
  export const identitySchemaUSA = (role, allowOptionalFields) => allowOptionalFields ? schemaUSA(role) : strictSchemaUSA(role);
@@ -46,6 +46,11 @@ export const makeIdentityNumberValidation = (country) => {
46
46
  return string()
47
47
  .matches(numbersOnlyRegex, 'Enter valid SIN')
48
48
  .length(countryValidation[country].identityDigits, 'Enter valid SIN')
49
+ .when('ssn_last4', {
50
+ is: (val) => !val || val.length === 0,
51
+ then: (schema) => schema.required('Enter SIN'),
52
+ otherwise: (schema) => schema.nullable(),
53
+ })
49
54
  .test('not-repeat', 'Enter valid SIN', (value) => {
50
55
  return !/^(\d)\1+$/.test(value);
51
56
  })
@@ -28,9 +28,24 @@ export class DisputeNotification {
28
28
  initiateRespondToDispute() {
29
29
  this.clickEvent.emit({ name: DisputeManagementClickActions.respondToDispute });
30
30
  }
31
+ isDueDatePassed() {
32
+ var _a;
33
+ if (!((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.due_date)) {
34
+ return false;
35
+ }
36
+ // Fix for JavaScript Date object parsing
37
+ // https://stackoverflow.com/a/31732581
38
+ const dueDate = new Date(this.dispute.due_date.replace(/-/g, '\/').replace(/T.+/, ''));
39
+ const today = new Date();
40
+ // Reset time to compare only dates
41
+ today.setHours(0, 0, 0, 0);
42
+ dueDate.setHours(0, 0, 0, 0);
43
+ return dueDate < today;
44
+ }
31
45
  render() {
32
- var _a, _b, _c, _d, _e, _f, _g;
33
- 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.")))));
46
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
47
+ 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 :
48
+ _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.")))));
34
49
  }
35
50
  static get is() { return "justifi-dispute-notification"; }
36
51
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class AdditionalStatement {
29
29
  }
30
30
  render() {
31
31
  var _a, _b;
32
- return (h("div", { key: 'a03e78a3610b5bf23bf9611ed2225e839da41c5d' }, h("div", { key: '235029013598b89a4d92c06cc468b1fb4147fc4c', class: "row gy-3" }, h("div", { key: 'f18cdb52f20817dc6dc3d16e91b4fee09ccda690', class: "col-12" }, h("h2", { key: '37a18cbc0027cb3fd170fa5afad295d57cfc0f19', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '9cc4ef86508b8232e343f46fc64ccc78b42ac22f', class: "col-12" }, h("form-control-textarea", { key: '93fb66f2e4ee72b58ff53c5010b1e5e16e9abbd7', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: 'cb3fe8f241e08df1984fc47820e723f00d34641d', class: "col-12" }, h("form-control-file-v2", { key: 'eeae63012b624078bfc3fa34553ed7aa8288a24b', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
32
+ return (h("div", { key: 'c3458b13a7a265c9538725f706febf90251beb0e' }, h("div", { key: 'f8df4f3ae70640acf11f5c803ae1f77f1f501b48', class: "row gy-3" }, h("div", { key: '4d92037e9cb588c137bac7a505d35764de1fc83e', class: "col-12" }, h("h2", { key: '6cbf7f95a025011299aa0612e9c28c87f4fb6553', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '36d990b686e17568dffe11529582638cb5e1e812', class: "col-12" }, h("form-control-textarea", { key: 'c75f3f622ecfcf142d003e1af09f81794d4f6a1d', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: 'd6da0f0922e5c1ba99dbef034b9a8d8817739899', class: "col-12" }, h("form-control-file-v2", { key: '0e333a243b510fbe96bf874fa523ea9e4d7bfa6f', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
33
33
  }
34
34
  static get is() { return "justifi-additional-statement"; }
35
35
  static get properties() {
@@ -28,7 +28,7 @@ export class CancellationPolicy {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c;
31
- return (h("div", { key: '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 })))));
31
+ 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 })))));
32
32
  }
33
33
  static get is() { return "justifi-cancellation-policy"; }
34
34
  static get properties() {
@@ -28,7 +28,7 @@ export class CustomerDetails {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c, _d, _e;
31
- return (h("div", { key: '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 })))));
31
+ 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 })))));
32
32
  }
33
33
  static get is() { return "justifi-customer-details"; }
34
34
  static get properties() {
@@ -156,7 +156,7 @@ export class DisputeResponseCore {
156
156
  return this.currentStep === 0;
157
157
  }
158
158
  render() {
159
- return (h("div", { key: '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"))))));
159
+ 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"))))));
160
160
  }
161
161
  static get is() { return "justifi-dispute-response-core"; }
162
162
  static get properties() {
@@ -55,7 +55,7 @@ export class DisputeResponse {
55
55
  }
56
56
  }
57
57
  render() {
58
- return (h(StyledHost, { key: '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 })));
58
+ 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 })));
59
59
  }
60
60
  ;
61
61
  static get is() { return "justifi-dispute-response"; }
@@ -28,7 +28,7 @@ export class DuplicateCharge {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c;
31
- return (h("div", { key: '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 })))));
31
+ 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 })))));
32
32
  }
33
33
  static get is() { return "justifi-duplicate-charge"; }
34
34
  static get properties() {
@@ -28,7 +28,7 @@ export class ElectronicEvidence {
28
28
  }
29
29
  render() {
30
30
  var _a, _b;
31
- return (h("div", { key: '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 })))));
31
+ 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 })))));
32
32
  }
33
33
  static get is() { return "justifi-electronic-evidence"; }
34
34
  static get properties() {
@@ -28,7 +28,7 @@ export class ProductOrService {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c;
31
- return (h("div", { key: '116c8109ff66ee49f71dd2942afd87802f0a7c55' }, h("div", { key: 'ad46e75181ecd8c30ba60c11f4d841ced13e77f0', class: "row gy-3" }, h("div", { key: '7247495b2134d3abe73c65f115f82467b0ffbb74', class: "col-12" }, h("h2", { key: 'c9e1e882662d10242bf287c426fa976580521af8', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '4bf80f0e5bbf2fa8f2722bcf55f21339afb6e650', class: "col-12" }, h("form-control-text", { key: '0c29fe5584bcaf6329efa1d24eb1a731459a99f6', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '5a9338d6d046ecc9e9df64cab31c7ba50ce88e7d', class: "col-12" }, h("form-control-date", { key: '51e2d0983faf533fa188e0d679446c2b1b17a9ee', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '237e39cb91eef0d6e5ddcb6c0ff0d4bccb64cfe2', class: "col-12" }, h("form-control-file-v2", { key: '5eee43125a7ded5640735f25c9713fc98666df98', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
31
+ return (h("div", { key: 'ae1fdf1a29d12408c3be84b02dcd058cb4c7849b' }, h("div", { key: '499977f5ad1d9bcbddb749b556539cd1b641d3e8', class: "row gy-3" }, h("div", { key: '1318ffbe476b9b0cb662b85f3bc670c66e97f8f5', class: "col-12" }, h("h2", { key: '58bf1ca5a29f3a4942b249f7d35f60f4f9976b62', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '957203535d86a521d5d702d0d85eb09201deab3a', class: "col-12" }, h("form-control-text", { key: 'b02101dd7b3e22b06feea75f451fca6ac1496851', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '5eddaf6586b22c516f5fd48943cfd6f4a7bb83ce', class: "col-12" }, h("form-control-date", { key: 'bbc3a6d58d6f7e123d08802ca933135603476cca', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '4d810ce7ffdd4aec9fb8d1ce81aa8cc23aacb8f7', class: "col-12" }, h("form-control-file-v2", { key: 'c3d029eb2da6364df611604b6956a285dcde63ca', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
32
32
  }
33
33
  static get is() { return "justifi-product-or-service"; }
34
34
  static get properties() {
@@ -28,7 +28,7 @@ export class RefundPolicy {
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c, _d;
31
- return (h("div", { key: '70c6484a73b7bb3c794703f08eee51aaedc564f2' }, h("div", { key: '26743bb218cfdaaf8f99f75582afc06b45a45584', class: "row gy-3" }, h("div", { key: 'd9fca9e6a0985cf2c8746b54f26c8fcd4c198382', class: "col-12" }, h("h2", { key: '428b73ad90c7f6b73980ff51ce7936dd7fe40217', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '7cbca206b3d9aa7669242b33fdd84712f6d6a49d', class: "col-12" }, h("form-control-textarea", { key: '5d7cadc32a5c6f95c0cefc89eb81e1f5d62dafac', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: 'bd1bfcea8114595f34bb477c88d18dc9d4094821', class: "col-12" }, h("form-control-textarea", { key: 'cb08d0e1e206079e97929d4008fc8f5d7561b342', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'b692266abea088b1818ade9243ffff67d556a196', class: "col-12" }, h("form-control-file-v2", { key: '79fe63b4949a3181a4afffffb8ab5676c175774c', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: 'ce43bc526887e61e58c30aed49e75d23c04d74d1', class: "col-12" }, h("form-control-file-v2", { key: '6f743b261c533985aedc5d3dc0d4e706f9ad9a71', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
31
+ return (h("div", { key: 'd5afb26778b8e72bb914c964ab03490887149ef7' }, h("div", { key: '58c0472396b62c36304fc5b05400ea1e92106d48', class: "row gy-3" }, h("div", { key: '0178337b922c635efd5967da10ffb9a4fcf974e3', class: "col-12" }, h("h2", { key: '754263a51e6d0dd4a0b42205855446194a01fbde', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '3d618f3d5c73ac55275d189b16b8d0ee2eaf56b4', class: "col-12" }, h("form-control-textarea", { key: '42d90a550814a48fdd3bcb5fc8a18dfa3739512d', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '108c2376a1680468000d83a31753cd2e1a2143f4', class: "col-12" }, h("form-control-textarea", { key: '7b1db2802760357080a7cd004bc322cc644c1741', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'f1c140d81063c530b5f2c9df8a78cd7edad56482', class: "col-12" }, h("form-control-file-v2", { key: '6d7fc6f84f8a3af171e344d1a05d465d144bd6b5', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: 'aefdff678a562ea84dd20f2855045ad1e2be2e65', class: "col-12" }, h("form-control-file-v2", { key: 'c745a8ca84affd92d6590d4c2ccc0ca11ba71bd6', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
32
32
  }
33
33
  static get is() { return "justifi-refund-policy"; }
34
34
  static get properties() {
@@ -29,7 +29,7 @@ export class ShippingDetails {
29
29
  }
30
30
  render() {
31
31
  var _a, _b, _c, _d, _e;
32
- return (h("div", { key: '0cf5535a17c98e536665690e19857e6cad62a6dd' }, h("div", { key: 'bb42bc4f9732c68b59d29b520fa8b72cf0169d60', class: "row gy-3" }, h("div", { key: 'aff7c671db0b966b128ab05ff574be7f65ae89ae', class: "col-12" }, h("h2", { key: '8910100bf94d4ac11f8a252c03d8fa09b4b016ac', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '392d3d1ca2fb607d3e82b35813e5a39254bb5598', class: "col-12" }, h("form-control-text", { key: 'c857a5e60c66a1476c509937ccf5907ddb8bb69b', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: 'e98ee583d1333752dc20a8aa34d06680910d868b', class: "col-12" }, h("form-control-text", { key: '07a9d25aac27fe726cfb216e77c937678f7fa592', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: 'f58bb675c12b21dfcabf0e0ef1194627b5652d29', class: "col-12" }, h("form-control-date", { key: '546063536d78767b2e81ae7c686a7e761602ee3b', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: 'c197611cc502e5cfaf67461eee9cb606d9cdc14a', class: "col-12" }, h("form-control-textarea", { key: '2afe4380f738553f308aec1c747152e9f6289d26', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '98b0312297d02c4146ad6db2ce3b52235b8c9bb2', class: "col-12" }, h("form-control-file-v2", { key: '1781b796e35fdeb9a11485273cc667fca33dedd4', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
32
+ return (h("div", { key: '12761f4d70524d91bfc9ad614d2235a1f7ff9fb2' }, h("div", { key: 'f09f1107bd01120198dd8b5fac777494720be56e', class: "row gy-3" }, h("div", { key: '2533b4452bada515f9b4d116521122989ca010b8', class: "col-12" }, h("h2", { key: '56d3d7c5361dbdc23e98608ca2296532d1d9b9f9', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'fd93a97d9829d7aa5999b8c90e769da63f1e5e75', class: "col-12" }, h("form-control-text", { key: '0121bfaedb5a3ad33cb71ff4af667099b0fed28c', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '17def8633c36b773387bf770f203584c01d78d56', class: "col-12" }, h("form-control-text", { key: '23a511ccca24f322f56876f31f1c70699808106f', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '18e25d53629ec3d0096f9ed53a3a6c92e0e746b9', class: "col-12" }, h("form-control-date", { key: 'fcdb6e192c8dda9e31e97fd1b6d0e9c74e86712f', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: 'dd2c4332df4a13bab91e26770845c2ad62b4e5ab', class: "col-12" }, h("form-control-textarea", { key: '855a2b47ea8363befc57b5a8533d5aac1f18e00e', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '880ed83f7ef2e3c4aba497c8906c9b39d0f3b922', class: "col-12" }, h("form-control-file-v2", { key: '78815509ec89c00074326d5752f77797c4b47746', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
33
33
  }
34
34
  static get is() { return "justifi-shipping-details"; }
35
35
  static get properties() {
@@ -67,7 +67,7 @@ export class GrossPaymentChartCore {
67
67
  }
68
68
  }
69
69
  render() {
70
- return (h(Host, { key: '4a711fdb941b44d536c452ff140db2bc98d84d7d' }, this.loading && h(Spinner, { key: 'e703263242576bc23d7be3015ec89b13faa12053' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
70
+ return (h(Host, { key: '0432a1c141cd1ea91ebcb3f975a220e5127164c8' }, this.loading && h(Spinner, { key: '0261cca24232d936418d305f60f3857a502dcb11' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
71
71
  }
72
72
  static get is() { return "gross-payment-chart-core"; }
73
73
  static get properties() {
@@ -1,5 +1,5 @@
1
1
  import { h, Host, } from "@stencil/core";
2
- import { checkoutStore, onAnyChange, getAvailablePaymentMethodTypes } from "../../store/checkout.store";
2
+ import { checkoutStore, onAnyChange, getAvailablePaymentMethodTypes, getCheckoutState } from "../../store/checkout.store";
3
3
  import JustifiAnalytics from "../../api/Analytics";
4
4
  import { checkPkgVersion } from "../../utils/check-pkg-version";
5
5
  import { ComponentErrorCodes, ComponentErrorMessages, ComponentErrorSeverity, ICheckoutStatus, } from "../../api";
@@ -336,6 +336,17 @@ export class ModularCheckout {
336
336
  payment_mode: mapTypeToPaymentMode((_e = checkoutStore.selectedPaymentMethod) === null || _e === void 0 ? void 0 : _e.type),
337
337
  payment_token: checkoutStore.paymentToken,
338
338
  };
339
+ if (this.preCompleteHook) {
340
+ const state = getCheckoutState();
341
+ try {
342
+ await new Promise((resolve, reject) => {
343
+ this.preCompleteHook(state, () => resolve(), () => reject());
344
+ });
345
+ }
346
+ catch (_f) {
347
+ return;
348
+ }
349
+ }
339
350
  this.completeCheckout({
340
351
  payment,
341
352
  onSuccess: ({ checkout }) => {
@@ -354,7 +365,7 @@ export class ModularCheckout {
354
365
  });
355
366
  }
356
367
  render() {
357
- return h(Host, { key: 'c0267323f405ad4fbcbac4481aeb5286dc98161b' });
368
+ return h(Host, { key: '56a003ca1e1ac4bdc1baa8f862cdb05b2d8af4b1' });
358
369
  }
359
370
  static get is() { return "justifi-modular-checkout"; }
360
371
  static get properties() {
@@ -396,6 +407,34 @@ export class ModularCheckout {
396
407
  "setter": false,
397
408
  "reflect": false,
398
409
  "attribute": "checkout-id"
410
+ },
411
+ "preCompleteHook": {
412
+ "type": "unknown",
413
+ "mutable": false,
414
+ "complexType": {
415
+ "original": "Hook<CheckoutState>",
416
+ "resolved": "(data: CheckoutState, resolve: (data: CheckoutState) => void, reject: () => void) => void",
417
+ "references": {
418
+ "Hook": {
419
+ "location": "import",
420
+ "path": "./ModularCheckout",
421
+ "id": "src/components/modular-checkout/ModularCheckout.ts::Hook"
422
+ },
423
+ "CheckoutState": {
424
+ "location": "import",
425
+ "path": "../../store/checkout.store",
426
+ "id": "src/store/checkout.store.ts::CheckoutState"
427
+ }
428
+ }
429
+ },
430
+ "required": false,
431
+ "optional": true,
432
+ "docs": {
433
+ "tags": [],
434
+ "text": ""
435
+ },
436
+ "getter": false,
437
+ "setter": false
399
438
  }
400
439
  };
401
440
  }