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

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 (752) hide show
  1. package/dist/cjs/{Api-eP0XeJLd.js → Api-p2pK86Zd.js} +2 -2
  2. package/dist/cjs/Payment-2Zmn-l6G.js +151 -0
  3. package/dist/cjs/{Refund-08OcZkXX.js → Refund-BztCb6AK.js} +1 -148
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -5
  5. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  6. package/dist/cjs/{badge-DDksduwk.js → badge-CMmPvqtE.js} +1 -1
  7. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +12 -13
  8. package/dist/cjs/bank-account-form.cjs.entry.js +6 -6
  9. package/dist/cjs/{business-additional-questions-schema-e3GCIHk5.js → business-additional-questions-schema-DNbSH3E-.js} +2 -2
  10. package/dist/cjs/business-details-core.cjs.entry.js +4 -4
  11. package/dist/cjs/{business-identity-schema-Diqj_WVQ.js → business-identity-schema-CclzWSOn.js} +2 -2
  12. package/dist/cjs/{business.service--Zv-Xtu4.js → business.service-DwZSyIlI.js} +3 -2
  13. package/dist/cjs/{button-0HYMPryx.js → button-CfVQSysQ.js} +1 -1
  14. package/dist/cjs/card-form.cjs.entry.js +6 -6
  15. package/dist/cjs/{check-pkg-version-Bp51QhAR.js → check-pkg-version-lPG_FnM4.js} +4 -3
  16. package/dist/cjs/{checkout.service-BBD6v0cl.js → checkout.service-C_qEIb8b.js} +3 -2
  17. package/dist/cjs/{checkout.store-B58bewb_.js → checkout.store-mEv437nN.js} +3 -3
  18. package/dist/cjs/checkouts-list-core.cjs.entry.js +12 -13
  19. package/dist/cjs/{payments-list-params-state-DZUKBmLC.js → checkouts-list-params-state-BNbT1fuJ.js} +1 -1
  20. package/dist/cjs/{checkouts-table-Cp7rNkNd.js → checkouts-table-DJoMGwVG.js} +3 -3
  21. package/dist/cjs/{config-state-Dz9bnWHg.js → config-state-5xZf-jax.js} +1 -1
  22. package/dist/cjs/custom-popper.cjs.entry.js +3 -3
  23. package/dist/cjs/{dispute.service-BHApwZdH.js → dispute.service-cQpQQMeh.js} +3 -2
  24. package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
  25. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  26. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  27. package/dist/cjs/{form-control-error-text-CVPYL0lE.js → form-control-error-text-HM0zQerh.js} +1 -1
  28. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  29. package/dist/cjs/{form-control-help-text-B3jRgfoa.js → form-control-help-text-5KIUw1IP.js} +1 -1
  30. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  31. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +5 -5
  32. package/dist/cjs/form-control-monetary.cjs.entry.js +6 -8
  33. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
  34. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  35. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  36. package/dist/cjs/form-control-select_3.cjs.entry.js +6 -6
  37. package/dist/cjs/{get-payment-details-7PreAOdF.js → get-payment-details-DwLcmCQs.js} +5 -4
  38. package/dist/cjs/{get-subaccounts-CtelAONX.js → get-subaccounts-CvtcQGsb.js} +5 -4
  39. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -7
  40. package/dist/cjs/{header-1-M-mc3bsa.js → header-1-DD41iNlG.js} +1 -1
  41. package/dist/cjs/header-3-D9Wa0IfT.js +10 -0
  42. package/dist/cjs/hidden-input_2.cjs.entry.js +8 -8
  43. package/dist/cjs/{index-BCtVWU61.js → index-Yd9aLenr.js} +22 -6
  44. package/dist/cjs/{index-D5bL1DOi.js → index-dm_GlYlb.js} +57 -16
  45. package/dist/cjs/{index.esm-CVuJLXJZ.js → index.esm-BleZSAc0.js} +869 -745
  46. package/dist/cjs/insurance-state-qT_hkvZV.js +34 -0
  47. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -12
  48. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +20 -20
  49. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  50. package/dist/cjs/justifi-apple-pay.cjs.entry.js +836 -0
  51. package/dist/cjs/{justifi-bank-account-form_7.cjs.entry.js → justifi-bank-account-form_5.cjs.entry.js} +30 -73
  52. package/dist/cjs/justifi-billing-form.cjs.entry.js +76 -0
  53. package/dist/cjs/justifi-business-details.cjs.entry.js +12 -13
  54. package/dist/cjs/justifi-business-form.cjs.entry.js +18 -18
  55. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  56. package/dist/cjs/{justifi-checkout-summary_5.cjs.entry.js → justifi-button_5.cjs.entry.js} +144 -135
  57. package/dist/cjs/justifi-checkout.cjs.entry.js +17 -18
  58. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +9 -10
  59. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +15 -16
  60. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  61. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  62. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  63. package/dist/cjs/justifi-dispute-management.cjs.entry.js +11 -12
  64. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +17 -18
  65. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +10 -11
  66. package/dist/cjs/justifi-new-payment-method.cjs.entry.js +99 -0
  67. package/dist/cjs/justifi-order-terminals.cjs.entry.js +14 -15
  68. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +17 -17
  69. package/dist/cjs/justifi-payment-details.cjs.entry.js +13 -14
  70. package/dist/cjs/justifi-payment-method-options.cjs.entry.js +75 -0
  71. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  72. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -12
  73. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +14 -15
  74. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -8
  75. package/dist/cjs/justifi-payments-list.cjs.entry.js +16 -17
  76. package/dist/cjs/justifi-payout-details.cjs.entry.js +11 -12
  77. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +14 -15
  78. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -9
  79. package/dist/cjs/justifi-payouts-list.cjs.entry.js +16 -17
  80. package/dist/cjs/justifi-refund-payment.cjs.entry.js +15 -15
  81. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +4 -5
  82. package/dist/cjs/justifi-saved-payment-methods_2.cjs.entry.js +116 -0
  83. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +7 -10
  84. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +11 -12
  85. package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
  86. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +10 -11
  87. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +13 -14
  88. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -9
  89. package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -16
  90. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +37 -220
  91. package/dist/cjs/loader.cjs.js +4 -3
  92. package/dist/cjs/{package-BMSb1ui9.js → package-pyzAPwrl.js} +1 -1
  93. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  94. package/dist/cjs/payment-details-core.cjs.entry.js +15 -17
  95. package/dist/cjs/{payment-method-option-utils-QODgEWhU.js → payment-method-option-utils-CfLXhpsL.js} +11 -1
  96. package/dist/cjs/{payment.service-C9qxqaJk.js → payment.service-CVZ55YLl.js} +3 -2
  97. package/dist/cjs/payments-list-core.cjs.entry.js +13 -14
  98. package/dist/cjs/{payouts-list-params-state-DZUKBmLC.js → payments-list-params-state-BNbT1fuJ.js} +1 -1
  99. package/dist/cjs/{payments-status-DG50GuXR.js → payments-status-PB63klt3.js} +2 -2
  100. package/dist/cjs/{payments-table-DaW6SvdL.js → payments-table-uouQ4x2Y.js} +3 -3
  101. package/dist/cjs/payout-details-core.cjs.entry.js +11 -13
  102. package/dist/cjs/{payout.service-DiSYeR_q.js → payout.service-BlbHwzd_.js} +3 -2
  103. package/dist/cjs/payouts-list-core.cjs.entry.js +13 -14
  104. package/dist/cjs/{checkouts-list-params-state-DZUKBmLC.js → payouts-list-params-state-BNbT1fuJ.js} +1 -1
  105. package/dist/cjs/{payouts-status-meuI7eBr.js → payouts-status-Bk1JFzbP.js} +2 -2
  106. package/dist/cjs/{payouts-table-D5hMHcaY.js → payouts-table-Bo61u5ZZ.js} +3 -3
  107. package/dist/cjs/{schema-validations-BSeMee-o.js → schema-validations-jek_iZ9W.js} +1 -1
  108. package/dist/cjs/{skeleton-CbZBGO47.js → skeleton-x-GSs3xk.js} +1 -1
  109. package/dist/cjs/{spinner-CIZFX7bz.js → spinner-Kb1BFvnL.js} +1 -1
  110. package/dist/cjs/{styled-host-DXNHOiqW.js → styled-host-CqQYxX-w.js} +1 -1
  111. package/dist/cjs/{table-CxvETNS1.js → table-BJVUhh3s.js} +2 -2
  112. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  113. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +12 -13
  114. package/dist/cjs/{terminal-orders-list-params-state-DZUKBmLC.js → terminal-orders-list-params-state-BNbT1fuJ.js} +1 -1
  115. package/dist/cjs/{terminal-orders-table-DnZjcbSQ.js → terminal-orders-table-v0Sn7jUg.js} +6 -5
  116. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  117. package/dist/cjs/{terminal.service-DEIY9toR.js → terminal.service-I07QoXPB.js} +3 -2
  118. package/dist/cjs/terminals-list-core.cjs.entry.js +12 -13
  119. package/dist/cjs/terminals-list-params-state-BNbT1fuJ.js +22 -0
  120. package/dist/cjs/{terminals-table-DOqVeHM1.js → terminals-table-CGG9EhiI.js} +3 -3
  121. package/dist/cjs/{utils-wkdkLmDI.js → utils-Df-pajL7.js} +1 -1
  122. package/dist/cjs/{utils-DqlrBltg.js → utils-Dka3MplB.js} +1661 -3
  123. package/dist/cjs/webcomponents.cjs.js +5 -4
  124. package/dist/collection/api/ApplePay.js +124 -0
  125. package/dist/collection/api/services/apple-pay.service.js +344 -0
  126. package/dist/collection/collection-manifest.json +10 -8
  127. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  128. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  129. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
  130. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  131. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  132. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  133. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  134. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  135. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  136. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  137. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  138. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
  139. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  140. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  141. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  142. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  143. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  144. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  145. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  146. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  147. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  148. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  149. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  150. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  151. package/dist/collection/components/checkout/billing-form/billing-form.js +37 -13
  152. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  153. package/dist/collection/components/checkout/checkout.js +1 -1
  154. package/dist/collection/components/checkout/new-payment-method.js +378 -0
  155. package/dist/collection/components/checkout/payment-method-option-utils.js +1 -0
  156. package/dist/collection/components/checkout/payment-method-options.js +421 -0
  157. package/dist/collection/components/checkout/save-new-payment-method.js +5 -7
  158. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  159. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  160. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  161. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  162. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  163. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  164. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  165. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  166. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  167. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  168. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  169. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  170. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  171. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  172. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  173. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  174. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  175. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  176. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  177. package/dist/collection/components/insurance/insurance-state.js +1 -18
  178. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  179. package/dist/collection/components/modular-checkout/modular-checkout.js +98 -17
  180. package/dist/collection/components/modular-checkout/sub-components/apple-pay-skeleton.js +10 -0
  181. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +539 -0
  182. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  183. package/dist/collection/components/modular-checkout/sub-components/billing-information-form.js +5 -36
  184. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  185. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  186. package/dist/collection/components/modular-checkout/sub-components/postal-code-form.js +4 -5
  187. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  188. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  189. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  190. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  191. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  192. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  193. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  194. package/dist/collection/components/payments-list/payments-list.js +1 -1
  195. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  196. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  197. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  198. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  199. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  200. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  201. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  202. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  203. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  204. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  205. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  206. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +87 -291
  207. package/dist/collection/store/checkout.store.js +2 -2
  208. package/dist/collection/ui-components/apple-pay-button.js +146 -0
  209. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  210. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  211. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  212. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  213. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  214. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  215. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  216. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  217. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  218. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  219. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  220. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  221. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  222. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  223. package/dist/collection/ui-components/index.js +0 -1
  224. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  225. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  226. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  227. package/dist/docs.json +2051 -985
  228. package/dist/esm/{Api-BCeKXDaf.js → Api-DQM93PRm.js} +2 -2
  229. package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
  230. package/dist/esm/Payment-Bs0-9Lnt.js +149 -0
  231. package/dist/esm/{Refund-DBHZkemk.js → Refund-4B3c-kLz.js} +2 -148
  232. package/dist/esm/additional-questions-details_5.entry.js +4 -6
  233. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  234. package/dist/esm/{badge-BrapPg3R.js → badge-D-vrtiQR.js} +2 -2
  235. package/dist/esm/bank-account-document-form-inputs_4.entry.js +14 -15
  236. package/dist/esm/bank-account-form.entry.js +7 -7
  237. package/dist/esm/{business-additional-questions-schema-uQlQ8fXQ.js → business-additional-questions-schema-C6NRHWEL.js} +2 -2
  238. package/dist/esm/business-details-core.entry.js +5 -5
  239. package/dist/esm/{business-identity-schema-BsrgqgDl.js → business-identity-schema-D8n5dyLX.js} +2 -2
  240. package/dist/esm/{business.service-ArD_uRLb.js → business.service-BgXdRyYa.js} +4 -3
  241. package/dist/esm/{button-BB-N4vit.js → button-DxM4-mlD.js} +2 -2
  242. package/dist/esm/card-form.entry.js +7 -7
  243. package/dist/esm/{check-pkg-version-CwPXpnQZ.js → check-pkg-version-B7MJjFP4.js} +5 -4
  244. package/dist/esm/{checkout.service-BgDCPjQU.js → checkout.service-CXeKDZTF.js} +4 -3
  245. package/dist/esm/{checkout.store-td03RV8y.js → checkout.store-QrBBYQfi.js} +3 -3
  246. package/dist/esm/checkouts-list-core.entry.js +14 -15
  247. package/dist/esm/{checkouts-list-params-state-DFWVMJRJ.js → checkouts-list-params-state-SMXQIZTt.js} +1 -1
  248. package/dist/esm/{checkouts-table-COpCngi0.js → checkouts-table-Djb7Yj6O.js} +4 -4
  249. package/dist/esm/{config-state-B3mtRA6f.js → config-state-BrllxiM0.js} +1 -1
  250. package/dist/esm/custom-popper.entry.js +3 -3
  251. package/dist/esm/{dispute.service-C2dMLW9w.js → dispute.service-DWs_TX-m.js} +4 -3
  252. package/dist/esm/form-alert_5.entry.js +6 -6
  253. package/dist/esm/form-control-checkbox.entry.js +6 -6
  254. package/dist/esm/form-control-date.entry.js +5 -5
  255. package/dist/esm/{form-control-error-text-Bk3yfpFX.js → form-control-error-text-Dew-m4MW.js} +2 -2
  256. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  257. package/dist/esm/{form-control-help-text-mOLCXs00.js → form-control-help-text-CcPKT19_.js} +2 -2
  258. package/dist/esm/form-control-help-text.entry.js +1 -1
  259. package/dist/esm/form-control-monetary-provisioning.entry.js +6 -6
  260. package/dist/esm/form-control-monetary.entry.js +7 -9
  261. package/dist/esm/form-control-number-masked_2.entry.js +6 -6
  262. package/dist/esm/form-control-number.entry.js +6 -6
  263. package/dist/esm/form-control-radio.entry.js +4 -4
  264. package/dist/esm/form-control-select_3.entry.js +7 -7
  265. package/dist/esm/{get-payment-details-BN-K_5Ry.js → get-payment-details-j8nOngzB.js} +5 -4
  266. package/dist/esm/{get-subaccounts-DrFpGKDV.js → get-subaccounts-C62B2OC_.js} +6 -5
  267. package/dist/esm/gross-payment-chart-core.entry.js +6 -8
  268. package/dist/esm/{header-1-DYuf6mkF.js → header-1-B0PFwGib.js} +2 -2
  269. package/dist/esm/header-3-D3gxg6YU.js +8 -0
  270. package/dist/esm/hidden-input_2.entry.js +9 -9
  271. package/dist/esm/{index-BAq5IUBW.js → index-B9me4yN2.js} +22 -6
  272. package/dist/esm/{index-N3w5zrz2.js → index-kpoIU4v_.js} +58 -16
  273. package/dist/esm/{index.esm-BCNUj0Dx.js → index.esm-cYgKOXtz.js} +869 -745
  274. package/dist/esm/insurance-state-DQH40x6F.js +28 -0
  275. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +14 -14
  276. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +22 -22
  277. package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
  278. package/dist/esm/justifi-apple-pay.entry.js +834 -0
  279. package/dist/esm/{justifi-bank-account-form_7.entry.js → justifi-bank-account-form_5.entry.js} +32 -73
  280. package/dist/esm/justifi-billing-form.entry.js +74 -0
  281. package/dist/esm/justifi-business-details.entry.js +13 -14
  282. package/dist/esm/justifi-business-form.entry.js +20 -20
  283. package/dist/esm/justifi-business-representative-form-inputs.entry.js +3 -3
  284. package/dist/esm/{justifi-checkout-summary_5.entry.js → justifi-button_5.entry.js} +145 -136
  285. package/dist/esm/justifi-checkout.entry.js +14 -15
  286. package/dist/esm/justifi-checkouts-list-filters.entry.js +11 -12
  287. package/dist/esm/justifi-checkouts-list.entry.js +17 -18
  288. package/dist/esm/justifi-config-provider.entry.js +3 -3
  289. package/dist/esm/justifi-details.entry.js +3 -3
  290. package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
  291. package/dist/esm/justifi-dispute-management.entry.js +12 -13
  292. package/dist/esm/justifi-dispute-notification_3.entry.js +18 -19
  293. package/dist/esm/justifi-gross-payment-chart.entry.js +12 -13
  294. package/dist/esm/justifi-new-payment-method.entry.js +97 -0
  295. package/dist/esm/justifi-order-terminals.entry.js +16 -17
  296. package/dist/esm/justifi-owner-form_3.entry.js +18 -18
  297. package/dist/esm/justifi-payment-details.entry.js +14 -15
  298. package/dist/esm/justifi-payment-method-options.entry.js +73 -0
  299. package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
  300. package/dist/esm/justifi-payment-provisioning.entry.js +12 -13
  301. package/dist/esm/justifi-payment-transactions-list.entry.js +16 -17
  302. package/dist/esm/justifi-payments-list-filters.entry.js +8 -9
  303. package/dist/esm/justifi-payments-list.entry.js +17 -18
  304. package/dist/esm/justifi-payout-details.entry.js +13 -14
  305. package/dist/esm/justifi-payout-transactions-list.entry.js +16 -17
  306. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -10
  307. package/dist/esm/justifi-payouts-list.entry.js +18 -19
  308. package/dist/esm/justifi-refund-payment.entry.js +17 -17
  309. package/dist/esm/justifi-saved-payment-method.entry.js +5 -6
  310. package/dist/esm/justifi-saved-payment-methods_2.entry.js +113 -0
  311. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -10
  312. package/dist/esm/justifi-season-interruption-insurance.entry.js +12 -13
  313. package/dist/esm/justifi-skeleton.entry.js +5 -5
  314. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +12 -13
  315. package/dist/esm/justifi-terminal-orders-list.entry.js +15 -16
  316. package/dist/esm/justifi-terminals-list-filters.entry.js +11 -11
  317. package/dist/esm/justifi-terminals-list.entry.js +17 -18
  318. package/dist/esm/justifi-tokenize-payment-method.entry.js +39 -222
  319. package/dist/esm/loader.js +4 -3
  320. package/dist/esm/{package-HlNEzyiZ.js → package-BLtzn9pE.js} +1 -1
  321. package/dist/esm/pagination-menu.entry.js +2 -2
  322. package/dist/esm/{parts-CKg_luIy.js → parts-D3G5aVLy.js} +1 -1
  323. package/dist/esm/payment-details-core.entry.js +16 -18
  324. package/dist/esm/{payment-method-option-utils-zFDtQrgQ.js → payment-method-option-utils-Cm6lAaP1.js} +10 -2
  325. package/dist/esm/{payment.service-DPsRcwWM.js → payment.service-BnDr_9vX.js} +4 -3
  326. package/dist/esm/payments-list-core.entry.js +15 -16
  327. package/dist/esm/{payments-list-params-state-DFWVMJRJ.js → payments-list-params-state-SMXQIZTt.js} +1 -1
  328. package/dist/esm/{payments-status-CawBLR48.js → payments-status-DVYzDcJ4.js} +2 -2
  329. package/dist/esm/{payments-table-WQAD1CSz.js → payments-table-BuiNqlwv.js} +4 -4
  330. package/dist/esm/payout-details-core.entry.js +12 -14
  331. package/dist/esm/{payout.service-CoVFefK5.js → payout.service-Ai1aEuFC.js} +4 -3
  332. package/dist/esm/payouts-list-core.entry.js +15 -16
  333. package/dist/esm/{payouts-list-params-state-DFWVMJRJ.js → payouts-list-params-state-SMXQIZTt.js} +1 -1
  334. package/dist/esm/{payouts-status-DB_PJap6.js → payouts-status-Bae6G8Hq.js} +2 -2
  335. package/dist/esm/{payouts-table-DRISll8u.js → payouts-table-cgIXP54P.js} +4 -4
  336. package/dist/esm/{schema-validations-DLWfpHyI.js → schema-validations-DcR1ujuX.js} +1 -1
  337. package/dist/esm/{skeleton-D1Z4a8af.js → skeleton-CZfDofm6.js} +2 -2
  338. package/dist/esm/{spinner-BlffecO5.js → spinner-D-vbFqC6.js} +2 -2
  339. package/dist/esm/{styled-host-DtvbNFVU.js → styled-host-B_XBaM7z.js} +1 -1
  340. package/dist/esm/{table-BqxKVRry.js → table-CTPfsGKi.js} +3 -3
  341. package/dist/esm/table-filters-menu.entry.js +4 -4
  342. package/dist/esm/terminal-orders-list-core.entry.js +14 -15
  343. package/dist/esm/{terminal-orders-list-params-state-DFWVMJRJ.js → terminal-orders-list-params-state-SMXQIZTt.js} +1 -1
  344. package/dist/esm/{terminal-orders-table-Da4IvBtB.js → terminal-orders-table-CvK516_V.js} +8 -7
  345. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  346. package/dist/esm/{terminal.service-CnPV1i9J.js → terminal.service-BLeBxTv4.js} +4 -3
  347. package/dist/esm/terminals-list-core.entry.js +14 -15
  348. package/dist/esm/terminals-list-params-state-SMXQIZTt.js +16 -0
  349. package/dist/esm/{terminals-table-BBPQRWja.js → terminals-table-2QGQITkt.js} +4 -4
  350. package/dist/esm/{utils-Cu5hITuT.js → utils-B7jE0g5_.js} +1661 -4
  351. package/dist/esm/{utils-sZ_6zOKQ.js → utils-CBJo9jNE.js} +2 -2
  352. package/dist/esm/webcomponents.js +5 -4
  353. package/dist/module/Analytics.js +1 -0
  354. package/dist/module/Payment.js +204 -0
  355. package/dist/module/Refund.js +1 -202
  356. package/dist/module/additional-questions-details2.js +1 -1
  357. package/dist/module/additional-questions.js +2 -2
  358. package/dist/module/additional-statement.js +2 -2
  359. package/dist/module/badge.js +1 -1
  360. package/dist/module/bank-account-document-inputs.js +4 -3
  361. package/dist/module/bank-account-form-inputs2.js +2 -2
  362. package/dist/module/bank-account-form.js +3 -3
  363. package/dist/module/bank-account.js +3 -4
  364. package/dist/module/billing-form.js +58 -24
  365. package/dist/module/billing-information-form.js +4 -11
  366. package/dist/module/business-additional-questions-form-step-core.js +1 -1
  367. package/dist/module/business-additional-questions-form-step.js +2 -2
  368. package/dist/module/business-bank-account-form-step-core.js +4 -3
  369. package/dist/module/business-bank-account-form-step.js +4 -3
  370. package/dist/module/business-core-info-form-step-core.js +1 -1
  371. package/dist/module/business-core-info-form-step.js +2 -2
  372. package/dist/module/business-core-info.js +2 -2
  373. package/dist/module/business-details-core2.js +1 -2
  374. package/dist/module/business-documents-on-file2.js +2 -3
  375. package/dist/module/business-owners-form-step-core.js +1 -2
  376. package/dist/module/business-owners-form-step.js +2 -2
  377. package/dist/module/business-representative-form-inputs.js +2 -2
  378. package/dist/module/business-representative-form-step-core.js +1 -1
  379. package/dist/module/business-representative-form-step.js +2 -2
  380. package/dist/module/business-representative.js +2 -2
  381. package/dist/module/business-terms-conditions-form-step.js +3 -2
  382. package/dist/module/business.service.js +1 -0
  383. package/dist/module/cancellation-policy.js +2 -2
  384. package/dist/module/card-form.js +3 -3
  385. package/dist/module/card-form2.js +3 -4
  386. package/dist/module/checkout.service.js +1 -0
  387. package/dist/module/checkout.store.js +2 -2
  388. package/dist/module/checkouts-list-core2.js +5 -6
  389. package/dist/module/core-info-details2.js +1 -1
  390. package/dist/module/custom-popper2.js +3 -3
  391. package/dist/module/customer-details.js +2 -2
  392. package/dist/module/details.js +1 -1
  393. package/dist/module/dispute-management-core.js +3 -3
  394. package/dist/module/dispute-notification.js +2 -3
  395. package/dist/module/dispute-response-actions.js +1 -0
  396. package/dist/module/dispute-response-core.js +2 -2
  397. package/dist/module/dispute-response.js +2 -3
  398. package/dist/module/duplicate-charge.js +2 -2
  399. package/dist/module/electronic-evidence.js +2 -2
  400. package/dist/module/form-alert2.js +2 -2
  401. package/dist/module/form-control-checkbox2.js +4 -5
  402. package/dist/module/form-control-date2.js +3 -4
  403. package/dist/module/form-control-file-v22.js +2 -2
  404. package/dist/module/form-control-file2.js +3 -4
  405. package/dist/module/form-control-help-text2.js +1 -1
  406. package/dist/module/form-control-monetary-provisioning2.js +4 -5
  407. package/dist/module/form-control-monetary2.js +4 -5
  408. package/dist/module/form-control-number-masked2.js +3 -4
  409. package/dist/module/form-control-number.js +4 -5
  410. package/dist/module/form-control-radio2.js +4 -4
  411. package/dist/module/form-control-select2.js +3 -4
  412. package/dist/module/form-control-text2.js +3 -4
  413. package/dist/module/form-control-textarea2.js +4 -4
  414. package/dist/module/form-control-tooltip2.js +1 -1
  415. package/dist/module/form.js +869 -745
  416. package/dist/module/get-payment-details.js +3 -2
  417. package/dist/module/get-subaccounts.js +2 -1
  418. package/dist/module/gross-payment-chart-core2.js +3 -3
  419. package/dist/module/header-3.js +8 -0
  420. package/dist/module/hidden-input2.js +3 -3
  421. package/dist/module/identity-address-form.js +2 -2
  422. package/dist/module/iframe-input2.js +5 -5
  423. package/dist/module/index2.js +21 -5
  424. package/dist/module/insurance-state.js +1 -18
  425. package/dist/module/justifi-apple-pay.d.ts +11 -0
  426. package/dist/module/justifi-apple-pay.js +876 -0
  427. package/dist/module/justifi-business-details.js +1 -1
  428. package/dist/module/justifi-business-form.js +3 -3
  429. package/dist/module/justifi-button2.js +2 -2
  430. package/dist/module/justifi-checkout.js +3 -4
  431. package/dist/module/justifi-checkouts-list-filters.js +5 -5
  432. package/dist/module/justifi-checkouts-list.js +5 -5
  433. package/dist/module/justifi-config-provider.js +1 -1
  434. package/dist/module/justifi-dispute-management.js +4 -3
  435. package/dist/module/justifi-gross-payment-chart.js +2 -1
  436. package/dist/module/justifi-header2.js +4 -8
  437. package/dist/module/justifi-new-payment-method.d.ts +11 -0
  438. package/dist/module/justifi-new-payment-method.js +219 -0
  439. package/dist/module/justifi-order-terminals.js +5 -6
  440. package/dist/module/justifi-payment-details.js +1 -1
  441. package/dist/module/justifi-payment-method-options.d.ts +11 -0
  442. package/dist/module/justifi-payment-method-options.js +6 -0
  443. package/dist/module/justifi-payment-provisioning.js +3 -2
  444. package/dist/module/justifi-payment-transactions-list.js +6 -7
  445. package/dist/module/justifi-payments-list-filters.js +4 -5
  446. package/dist/module/justifi-payments-list.js +5 -5
  447. package/dist/module/justifi-payout-details.js +4 -3
  448. package/dist/module/justifi-payout-transactions-list.js +6 -7
  449. package/dist/module/justifi-payouts-list-filters.js +4 -5
  450. package/dist/module/justifi-payouts-list.js +5 -5
  451. package/dist/module/justifi-refund-payment.js +3 -3
  452. package/dist/module/justifi-saved-payment-method.js +3 -3
  453. package/dist/module/justifi-season-interruption-insurance.js +3 -2
  454. package/dist/module/justifi-skeleton.js +2 -2
  455. package/dist/module/justifi-terminal-orders-list-filters.js +6 -6
  456. package/dist/module/justifi-terminal-orders-list.js +5 -5
  457. package/dist/module/justifi-terminals-list-filters.js +5 -5
  458. package/dist/module/justifi-terminals-list.js +5 -5
  459. package/dist/module/justifi-tokenize-payment-method.js +47 -311
  460. package/dist/module/legal-address-details2.js +1 -1
  461. package/dist/module/legal-address-form-step-core.js +1 -1
  462. package/dist/module/legal-address-form-step.js +2 -2
  463. package/dist/module/legal-address-form.js +2 -2
  464. package/dist/module/modular-checkout.js +102 -19
  465. package/dist/module/owner-details2.js +1 -1
  466. package/dist/module/owner-form-core2.js +3 -4
  467. package/dist/module/owner-form-inputs2.js +2 -2
  468. package/dist/module/owner-form.js +2 -2
  469. package/dist/module/package.js +1 -1
  470. package/dist/module/pagination-menu2.js +2 -2
  471. package/dist/module/parts.js +1 -1
  472. package/dist/module/payment-details-core2.js +10 -11
  473. package/dist/module/payment-method-option-utils.js +10 -2
  474. package/dist/module/payment-method-option2.js +3 -4
  475. package/dist/module/payment-method-options.js +129 -0
  476. package/dist/module/payment-provisioning-core.js +2 -3
  477. package/dist/module/payment-provisioning-form-buttons.js +2 -3
  478. package/dist/module/payment-provisioning-form-steps.js +2 -2
  479. package/dist/module/payment-provisioning-loading.js +0 -1
  480. package/dist/module/payment.service.js +1 -0
  481. package/dist/module/payments-list-core2.js +5 -6
  482. package/dist/module/payout-details-core2.js +5 -6
  483. package/dist/module/payout.service.js +1 -0
  484. package/dist/module/payouts-list-core2.js +5 -6
  485. package/dist/module/postal-code-form.js +3 -5
  486. package/dist/module/product-or-service.js +2 -2
  487. package/dist/module/refund-policy.js +2 -2
  488. package/dist/module/representative-details2.js +1 -1
  489. package/dist/module/save-new-payment-method.js +6 -9
  490. package/dist/module/saved-payment-methods.js +2 -3
  491. package/dist/module/season-interruption-insurance-core.js +2 -3
  492. package/dist/module/sezzle-payment-method.js +2 -3
  493. package/dist/module/shipping-details.js +2 -2
  494. package/dist/module/spinner.js +1 -1
  495. package/dist/module/summary.js +2 -3
  496. package/dist/module/table-filters-menu2.js +2 -2
  497. package/dist/module/table.js +1 -1
  498. package/dist/module/terminal-orders-list-core2.js +6 -7
  499. package/dist/module/terminal-quantity-selector2.js +3 -3
  500. package/dist/module/terminal.service.js +1 -0
  501. package/dist/module/terminals-list-core2.js +5 -6
  502. package/dist/module/utils2.js +1661 -4
  503. package/dist/types/api/ApplePay.d.ts +195 -0
  504. package/dist/types/api/services/apple-pay.service.d.ts +58 -0
  505. package/dist/types/components/checkout/billing-form/billing-form.d.ts +9 -3
  506. package/dist/types/components/checkout/checkout.d.ts +1 -1
  507. package/dist/types/components/checkout/new-payment-method.d.ts +31 -0
  508. package/dist/types/components/checkout/payment-method-options.d.ts +32 -0
  509. package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
  510. package/dist/types/components/insurance/insurance-state.d.ts +1 -2
  511. package/dist/types/components/modular-checkout/modular-checkout.d.ts +8 -1
  512. package/dist/types/components/modular-checkout/sub-components/apple-pay-skeleton.d.ts +6 -0
  513. package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +38 -0
  514. package/dist/types/components/modular-checkout/sub-components/billing-information-form.d.ts +0 -2
  515. package/dist/types/components/modular-checkout/sub-components/postal-code-form.d.ts +0 -1
  516. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +14 -41
  517. package/dist/types/components.d.ts +234 -70
  518. package/dist/types/stencil-public-runtime.d.ts +12 -5
  519. package/dist/types/store/checkout.store.d.ts +2 -2
  520. package/dist/types/ui-components/apple-pay-button.d.ts +17 -0
  521. package/dist/types/ui-components/index.d.ts +0 -1
  522. package/dist/webcomponents/p-0144c42b.entry.js +1 -0
  523. package/dist/webcomponents/{p-a1c7c873.entry.js → p-06ff03e7.entry.js} +1 -1
  524. package/dist/webcomponents/{p-39ca43e0.entry.js → p-0c37be96.entry.js} +1 -1
  525. package/dist/webcomponents/{p-880718b9.entry.js → p-0f5e61bc.entry.js} +1 -1
  526. package/dist/webcomponents/p-10e32b38.entry.js +1 -0
  527. package/dist/webcomponents/p-127406b5.entry.js +1 -0
  528. package/dist/webcomponents/p-2c6be750.entry.js +1 -0
  529. package/dist/webcomponents/p-30c432ab.entry.js +1 -0
  530. package/dist/webcomponents/{p-444fb5a6.entry.js → p-31793643.entry.js} +1 -1
  531. package/dist/webcomponents/p-35198019.entry.js +1 -0
  532. package/dist/webcomponents/{p-046fee8c.entry.js → p-367338c8.entry.js} +1 -1
  533. package/dist/webcomponents/p-39af38f6.entry.js +1 -0
  534. package/dist/webcomponents/p-453bcb9d.entry.js +1 -0
  535. package/dist/webcomponents/{p-7a8a06d6.entry.js → p-463ae23a.entry.js} +1 -1
  536. package/dist/webcomponents/p-49754c1d.entry.js +1 -0
  537. package/dist/webcomponents/p-4afa5d56.entry.js +1 -0
  538. package/dist/webcomponents/p-509d9191.entry.js +1 -0
  539. package/dist/webcomponents/p-52be4ff0.entry.js +1 -0
  540. package/dist/webcomponents/p-544c59ac.entry.js +1 -0
  541. package/dist/webcomponents/p-54cc3fc8.entry.js +1 -0
  542. package/dist/webcomponents/p-54ff0e4f.entry.js +1 -0
  543. package/dist/webcomponents/p-5aa88189.entry.js +1 -0
  544. package/dist/webcomponents/p-5c82e024.entry.js +1 -0
  545. package/dist/webcomponents/p-5cfca5e0.entry.js +1 -0
  546. package/dist/webcomponents/{p-84df9f26.entry.js → p-5e10aa65.entry.js} +1 -1
  547. package/dist/webcomponents/p-5fbc0ea6.entry.js +1 -0
  548. package/dist/webcomponents/p-6567c1ce.entry.js +1 -0
  549. package/dist/webcomponents/p-689562b1.entry.js +1 -0
  550. package/dist/webcomponents/p-69910853.entry.js +1 -0
  551. package/dist/webcomponents/p-6d8355f0.entry.js +1 -0
  552. package/dist/webcomponents/p-6da19fde.entry.js +1 -0
  553. package/dist/webcomponents/p-6e40a80f.entry.js +1 -0
  554. package/dist/webcomponents/p-6f94530d.entry.js +1 -0
  555. package/dist/webcomponents/p-70beb132.entry.js +1 -0
  556. package/dist/webcomponents/p-79454e79.entry.js +1 -0
  557. package/dist/webcomponents/p-79684a85.entry.js +1 -0
  558. package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
  559. package/dist/webcomponents/p-7WIgS5RM.js +1 -0
  560. package/dist/webcomponents/p-7b5d48f7.entry.js +1 -0
  561. package/dist/webcomponents/p-7b5e899e.entry.js +1 -0
  562. package/dist/webcomponents/p-7d59de81.entry.js +1 -0
  563. package/dist/webcomponents/p-7f348de2.entry.js +1 -0
  564. package/dist/webcomponents/p-7f4305a2.entry.js +1 -0
  565. package/dist/webcomponents/{p-351ffd2a.entry.js → p-904acc70.entry.js} +1 -1
  566. package/dist/webcomponents/{p-45b0a91c.entry.js → p-92529be9.entry.js} +1 -1
  567. package/dist/webcomponents/p-9b6c1b33.entry.js +1 -0
  568. package/dist/webcomponents/p-9f3cf5a3.entry.js +1 -0
  569. package/dist/webcomponents/p-9y5MOK55.js +1 -0
  570. package/dist/webcomponents/{p-55iuf7iW.js → p-B2csvKrZ.js} +1 -1
  571. package/dist/webcomponents/p-B7jE0g5_.js +1 -0
  572. package/dist/webcomponents/p-B8tUOqiv.js +1 -0
  573. package/dist/webcomponents/p-B9GgcQ-7.js +1 -0
  574. package/dist/webcomponents/p-BDUTtU21.js +1 -0
  575. package/dist/webcomponents/{p-BfEOvp9h.js → p-BFL-wXPM.js} +1 -1
  576. package/dist/webcomponents/p-BLtzn9pE.js +1 -0
  577. package/dist/webcomponents/p-BO4xqc4w.js +1 -0
  578. package/dist/webcomponents/{p-DpUqxsf5.js → p-BRtwZAeZ.js} +1 -1
  579. package/dist/webcomponents/p-BVD7g3cE.js +1 -0
  580. package/dist/webcomponents/p-BYakc1Om.js +1 -0
  581. package/dist/webcomponents/p-Bou1Z4Bm.js +1 -0
  582. package/dist/webcomponents/p-Bt388eye.js +1 -0
  583. package/dist/webcomponents/{p-CDIPkflV.js → p-BvyiDejp.js} +1 -1
  584. package/dist/webcomponents/p-Bz8JT676.js +1 -0
  585. package/dist/webcomponents/p-C0EFqY0W.js +1 -0
  586. package/dist/webcomponents/{p-AbSg_vYv.js → p-C8ll3Wwp.js} +1 -1
  587. package/dist/webcomponents/p-CBWeXiqe.js +1 -0
  588. package/dist/webcomponents/{p-D0I-tRSs.js → p-CEYGUVns.js} +1 -1
  589. package/dist/webcomponents/p-CLjv4frq.js +1 -0
  590. package/dist/webcomponents/p-CR9D6mKt.js +1 -0
  591. package/dist/webcomponents/{p-o5iASgog.js → p-CRFzwZW6.js} +1 -1
  592. package/dist/webcomponents/p-CVQyw7ao.js +1 -0
  593. package/dist/webcomponents/{p-JOSiCHl7.js → p-CYBR4K2p.js} +1 -1
  594. package/dist/webcomponents/p-Cc27pPPQ.js +1 -0
  595. package/dist/webcomponents/p-Cm_ywVHL.js +1 -0
  596. package/dist/webcomponents/{p-CKg_luIy.js → p-D3G5aVLy.js} +1 -1
  597. package/dist/webcomponents/p-D522G7Ja.js +1 -0
  598. package/dist/webcomponents/p-DCDU6JB3.js +1 -0
  599. package/dist/webcomponents/p-DQuL1Twl.js +1 -0
  600. package/dist/webcomponents/{p-d6tXI5Iw.js → p-DSP8qjHL.js} +1 -1
  601. package/dist/webcomponents/p-DSekXpCa.js +1 -0
  602. package/dist/webcomponents/p-DSfL8jLw.js +1 -0
  603. package/dist/webcomponents/p-DVPcHdzq.js +1 -0
  604. package/dist/webcomponents/{p-Ce8QXyUM.js → p-DX_mixvZ.js} +1 -1
  605. package/dist/webcomponents/p-DaDsBt65.js +1 -0
  606. package/dist/webcomponents/p-DiWKhLRS.js +1 -0
  607. package/dist/webcomponents/{p-DPnS0F0Y.js → p-Dj1uo4J3.js} +1 -1
  608. package/dist/webcomponents/p-DtsIovbb.js +1 -0
  609. package/dist/webcomponents/p-Dv7YEshZ.js +1 -0
  610. package/dist/webcomponents/p-FdjD8N0u.js +1 -0
  611. package/dist/webcomponents/p-ObR0KZw0.js +1 -0
  612. package/dist/webcomponents/p-PgEzcvI6.js +1 -0
  613. package/dist/webcomponents/p-Sz-UKsNL.js +1 -0
  614. package/dist/webcomponents/{p-1b7b7210.entry.js → p-a2b597ef.entry.js} +1 -1
  615. package/dist/webcomponents/p-a4cb4c39.entry.js +1 -0
  616. package/dist/webcomponents/p-a6fdf5b8.entry.js +1 -0
  617. package/dist/webcomponents/p-b06b1886.entry.js +1 -0
  618. package/dist/webcomponents/p-b0714111.entry.js +1 -0
  619. package/dist/webcomponents/p-b2098935.entry.js +1 -0
  620. package/dist/webcomponents/p-b56d75d5.entry.js +1 -0
  621. package/dist/webcomponents/p-b5ed41c0.entry.js +1 -0
  622. package/dist/webcomponents/p-baaef16c.entry.js +1 -0
  623. package/dist/webcomponents/{p-429618a4.entry.js → p-bec23c19.entry.js} +1 -1
  624. package/dist/webcomponents/{p-e2ee826e.entry.js → p-c663b439.entry.js} +1 -1
  625. package/dist/webcomponents/p-c9d5625c.entry.js +1 -0
  626. package/dist/webcomponents/p-cd6c6c2b.entry.js +1 -0
  627. package/dist/webcomponents/p-cf115375.entry.js +1 -0
  628. package/dist/webcomponents/p-d175799a.entry.js +1 -0
  629. package/dist/webcomponents/p-d5571d18.entry.js +1 -0
  630. package/dist/webcomponents/p-d5f70eb0.entry.js +1 -0
  631. package/dist/webcomponents/p-da5a9a72.entry.js +1 -0
  632. package/dist/webcomponents/p-e105f664.entry.js +1 -0
  633. package/dist/webcomponents/p-e5c94a1f.entry.js +1 -0
  634. package/dist/webcomponents/{p-85ebdce5.entry.js → p-e86c876e.entry.js} +1 -1
  635. package/dist/webcomponents/{p-d5e4e888.entry.js → p-ee2afa41.entry.js} +4 -4
  636. package/dist/webcomponents/p-ef472343.entry.js +1 -0
  637. package/dist/webcomponents/p-f35e96ce.entry.js +1 -0
  638. package/dist/webcomponents/p-f3f4bbef.entry.js +1 -0
  639. package/dist/webcomponents/p-f6ca1443.entry.js +1 -0
  640. package/dist/webcomponents/{p-1b1fe3de.entry.js → p-fe001786.entry.js} +1 -1
  641. package/dist/webcomponents/p-fffd5bc7.entry.js +1 -0
  642. package/dist/webcomponents/p-kpoIU4v_.js +2 -0
  643. package/dist/webcomponents/p-pska2q1M.js +1 -0
  644. package/dist/webcomponents/p-vHbP4g3Q.js +1 -0
  645. package/dist/webcomponents/webcomponents.esm.js +1 -1
  646. package/package.json +1 -1
  647. package/dist/cjs/dinero-J-SRFKIR.js +0 -1673
  648. package/dist/cjs/header-2-BXQLJn1q.js +0 -10
  649. package/dist/cjs/insurance-state-B3CYpJWi.js +0 -45
  650. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +0 -52
  651. package/dist/cjs/terminals-list-params-state-DZUKBmLC.js +0 -22
  652. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +0 -155
  653. package/dist/esm/dinero-DizZAUMY.js +0 -1671
  654. package/dist/esm/header-2-C4ZCdZwi.js +0 -8
  655. package/dist/esm/insurance-state-BQks6cMA.js +0 -39
  656. package/dist/esm/justifi-billing-form_2.entry.js +0 -49
  657. package/dist/esm/terminals-list-params-state-DFWVMJRJ.js +0 -16
  658. package/dist/module/dinero.js +0 -1671
  659. package/dist/module/justifi-radio-list-item.d.ts +0 -11
  660. package/dist/module/justifi-radio-list-item.js +0 -6
  661. package/dist/module/justifi-radio-list-item2.js +0 -55
  662. package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +0 -12
  663. package/dist/webcomponents/p-00c2f5d5.entry.js +0 -1
  664. package/dist/webcomponents/p-0a0ed7a4.entry.js +0 -1
  665. package/dist/webcomponents/p-0cb64945.entry.js +0 -1
  666. package/dist/webcomponents/p-0e44afa7.entry.js +0 -1
  667. package/dist/webcomponents/p-0e6797c4.entry.js +0 -1
  668. package/dist/webcomponents/p-0fc026aa.entry.js +0 -1
  669. package/dist/webcomponents/p-16583f91.entry.js +0 -1
  670. package/dist/webcomponents/p-195cf5cc.entry.js +0 -1
  671. package/dist/webcomponents/p-1c7d9b90.entry.js +0 -1
  672. package/dist/webcomponents/p-1ce1df1e.entry.js +0 -1
  673. package/dist/webcomponents/p-24e1a686.entry.js +0 -1
  674. package/dist/webcomponents/p-2a5ac7c9.entry.js +0 -1
  675. package/dist/webcomponents/p-2abf1785.entry.js +0 -1
  676. package/dist/webcomponents/p-2dcf196f.entry.js +0 -1
  677. package/dist/webcomponents/p-302f7632.entry.js +0 -1
  678. package/dist/webcomponents/p-3eb5f196.entry.js +0 -1
  679. package/dist/webcomponents/p-4045631f.entry.js +0 -1
  680. package/dist/webcomponents/p-4907e95b.entry.js +0 -1
  681. package/dist/webcomponents/p-4a0a4314.entry.js +0 -1
  682. package/dist/webcomponents/p-4aaaa44e.entry.js +0 -1
  683. package/dist/webcomponents/p-4b34b9af.entry.js +0 -1
  684. package/dist/webcomponents/p-5e71f4d4.entry.js +0 -1
  685. package/dist/webcomponents/p-6a06da8a.entry.js +0 -1
  686. package/dist/webcomponents/p-6bafb4b5.entry.js +0 -1
  687. package/dist/webcomponents/p-6d1f2d57.entry.js +0 -1
  688. package/dist/webcomponents/p-6f397c80.entry.js +0 -1
  689. package/dist/webcomponents/p-75545aec.entry.js +0 -1
  690. package/dist/webcomponents/p-7b07255f.entry.js +0 -1
  691. package/dist/webcomponents/p-7b925204.entry.js +0 -1
  692. package/dist/webcomponents/p-831857dc.entry.js +0 -1
  693. package/dist/webcomponents/p-85c0953d.entry.js +0 -1
  694. package/dist/webcomponents/p-86b166eb.entry.js +0 -1
  695. package/dist/webcomponents/p-88b6dbdd.entry.js +0 -1
  696. package/dist/webcomponents/p-8e0c6f60.entry.js +0 -1
  697. package/dist/webcomponents/p-90edbaa3.entry.js +0 -1
  698. package/dist/webcomponents/p-97c0d873.entry.js +0 -1
  699. package/dist/webcomponents/p-9e48a264.entry.js +0 -1
  700. package/dist/webcomponents/p-B2uBb14Y.js +0 -1
  701. package/dist/webcomponents/p-B3qJZUMy.js +0 -1
  702. package/dist/webcomponents/p-BF51n3KG.js +0 -1
  703. package/dist/webcomponents/p-BNd9xVOU.js +0 -1
  704. package/dist/webcomponents/p-BQLEjYfZ.js +0 -1
  705. package/dist/webcomponents/p-BZ9YQ3FA.js +0 -1
  706. package/dist/webcomponents/p-BdTK0wi9.js +0 -1
  707. package/dist/webcomponents/p-Bka75aL-.js +0 -1
  708. package/dist/webcomponents/p-C3e-DgwK.js +0 -1
  709. package/dist/webcomponents/p-CKRDBISo.js +0 -1
  710. package/dist/webcomponents/p-CXLazxt0.js +0 -1
  711. package/dist/webcomponents/p-CfBKn_Vl.js +0 -1
  712. package/dist/webcomponents/p-ChzWF0s3.js +0 -1
  713. package/dist/webcomponents/p-CjAMuB2J.js +0 -1
  714. package/dist/webcomponents/p-Cjf9yu8r.js +0 -1
  715. package/dist/webcomponents/p-Cwt_9Jzb.js +0 -1
  716. package/dist/webcomponents/p-DC63XVwu.js +0 -1
  717. package/dist/webcomponents/p-DMuY7Dka.js +0 -1
  718. package/dist/webcomponents/p-DPfZxsq9.js +0 -1
  719. package/dist/webcomponents/p-DR0bMp9p.js +0 -1
  720. package/dist/webcomponents/p-DVnVdicA.js +0 -1
  721. package/dist/webcomponents/p-Dcbfnfn2.js +0 -1
  722. package/dist/webcomponents/p-DgxD9dbc.js +0 -1
  723. package/dist/webcomponents/p-DniBAXrh.js +0 -1
  724. package/dist/webcomponents/p-Do0fsKZk.js +0 -1
  725. package/dist/webcomponents/p-DxEnw2tJ.js +0 -1
  726. package/dist/webcomponents/p-EAEmpCru.js +0 -1
  727. package/dist/webcomponents/p-HlNEzyiZ.js +0 -1
  728. package/dist/webcomponents/p-N3w5zrz2.js +0 -2
  729. package/dist/webcomponents/p-O50LiN_p.js +0 -1
  730. package/dist/webcomponents/p-S_UV9-px.js +0 -1
  731. package/dist/webcomponents/p-X2PeOHf5.js +0 -1
  732. package/dist/webcomponents/p-_WsRuUBr.js +0 -1
  733. package/dist/webcomponents/p-a3c6c55e.entry.js +0 -1
  734. package/dist/webcomponents/p-af935779.entry.js +0 -1
  735. package/dist/webcomponents/p-b01801a6.entry.js +0 -1
  736. package/dist/webcomponents/p-b47000f7.entry.js +0 -1
  737. package/dist/webcomponents/p-b58fb1b1.entry.js +0 -1
  738. package/dist/webcomponents/p-b8906c49.entry.js +0 -1
  739. package/dist/webcomponents/p-c1bf875b.entry.js +0 -1
  740. package/dist/webcomponents/p-c26ef276.entry.js +0 -1
  741. package/dist/webcomponents/p-c5331724.entry.js +0 -1
  742. package/dist/webcomponents/p-c6bd05ef.entry.js +0 -1
  743. package/dist/webcomponents/p-e9c44dc2.entry.js +0 -1
  744. package/dist/webcomponents/p-edf9128c.entry.js +0 -1
  745. package/dist/webcomponents/p-f3c2de89.entry.js +0 -1
  746. package/dist/webcomponents/p-f6ff7255.entry.js +0 -1
  747. package/dist/webcomponents/p-f8a0821d.entry.js +0 -1
  748. package/dist/webcomponents/p-fcb6c171.entry.js +0 -1
  749. package/dist/webcomponents/p-fd4d7c7e.entry.js +0 -1
  750. package/dist/webcomponents/p-pMAKJWDL.js +0 -1
  751. package/dist/webcomponents/p-rPeW3G6n.js +0 -1
  752. package/dist/webcomponents/p-w128-0Mj.js +0 -1
@@ -0,0 +1,421 @@
1
+ import { h } from "@stencil/core";
2
+ import { PaymentMethodTypes } from "../../api/Payment";
3
+ import { PaymentMethodOption } from "./payment-method-option-utils";
4
+ import { checkoutStore } from "../../store/checkout.store";
5
+ import { radioListItem } from "../../styles/parts";
6
+ const PaymentMethodTypeLabels = {
7
+ bankAccount: 'New bank account',
8
+ card: 'New credit or debit card',
9
+ };
10
+ export class PaymentMethodOptions {
11
+ constructor() {
12
+ this.savedPaymentMethods = [];
13
+ this.paymentMethodOptions = [];
14
+ }
15
+ async fillBillingForm(fields) {
16
+ const newPaymentMethodElement = this.selectedPaymentMethodOptionRef;
17
+ if (newPaymentMethodElement.fillBillingForm) {
18
+ newPaymentMethodElement.fillBillingForm(fields);
19
+ }
20
+ }
21
+ connectedCallback() {
22
+ this.paymentMethodsChanged();
23
+ }
24
+ paymentMethodsChanged() {
25
+ var _a, _b;
26
+ this.paymentMethodOptions = this.savedPaymentMethods
27
+ .map((paymentMethod) => new PaymentMethodOption(paymentMethod))
28
+ .filter((paymentMethod) => {
29
+ // Don't saved card or bank account if they are disabled
30
+ return ((this.showCard || paymentMethod.type !== PaymentMethodTypes.card) &&
31
+ (this.showAch || paymentMethod.type !== PaymentMethodTypes.bankAccount));
32
+ });
33
+ if (this.showBnpl && ((_a = this.bnpl) === null || _a === void 0 ? void 0 : _a.provider) === 'sezzle' && !this.insuranceToggled) {
34
+ this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.sezzle }));
35
+ }
36
+ if (this.showCard) {
37
+ this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.card }));
38
+ }
39
+ if (this.showAch) {
40
+ this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.bankAccount }));
41
+ }
42
+ if (!checkoutStore.selectedPaymentMethod) {
43
+ checkoutStore.selectedPaymentMethod = (_b = this.paymentMethodOptions[0]) === null || _b === void 0 ? void 0 : _b.id;
44
+ }
45
+ }
46
+ paymentMethodOptionSelected(event) {
47
+ checkoutStore.selectedPaymentMethod = event.detail.id;
48
+ }
49
+ get hiddenRadioInput() {
50
+ return !this.showAch || !this.showCard;
51
+ }
52
+ async resolvePaymentMethod(insuranceValidation) {
53
+ var _a;
54
+ return await ((_a = this.selectedPaymentMethodOptionRef) === null || _a === void 0 ? void 0 : _a.resolvePaymentMethod(insuranceValidation));
55
+ }
56
+ async validate() {
57
+ const newPaymentMethodElement = this.selectedPaymentMethodOptionRef;
58
+ return newPaymentMethodElement.validate();
59
+ }
60
+ render() {
61
+ return (h("div", { key: 'e1a46216f766f12306302210bcba3147a4312cfa' }, h("justifi-saved-payment-methods", { key: '72ac4e440719ed1bbafc90f4cf0a2e3a52530713' }), h("justifi-sezzle-payment-method", { key: 'aaa89521f18ac4833d561c08b3fa50b00800a4bf' }), h("div", { key: '209001587e9f7e23f1147d4ef2d8ec4691f6c9fb', class: "radio-list-item p-3", part: radioListItem, onClick: () => { checkoutStore.selectedPaymentMethod = PaymentMethodTypes.card; }, hidden: this.hiddenRadioInput }, h("form-control-radio", { key: '0baed32a40efc6ff0d77dcf53ae9e3ff3aab1185', name: "paymentMethodType", value: PaymentMethodTypes.card, checked: checkoutStore.selectedPaymentMethod === PaymentMethodTypes.card, label: PaymentMethodTypeLabels[PaymentMethodTypes.card] })), h("div", { key: '53d8360fdecec5a6860f480901911bd2c396e1a2', class: "radio-list-item p-3", part: radioListItem, onClick: () => { checkoutStore.selectedPaymentMethod = PaymentMethodTypes.bankAccount; }, hidden: this.hiddenRadioInput }, h("form-control-radio", { key: '901a45bae4b3faeed8daa147db5c8264c4bee08c', name: "paymentMethodType", value: PaymentMethodTypes.bankAccount, checked: checkoutStore.selectedPaymentMethod === PaymentMethodTypes.bankAccount, label: PaymentMethodTypeLabels[PaymentMethodTypes.bankAccount] }))));
62
+ }
63
+ static get is() { return "justifi-payment-method-options"; }
64
+ static get properties() {
65
+ return {
66
+ "showCard": {
67
+ "type": "boolean",
68
+ "attribute": "show-card",
69
+ "mutable": false,
70
+ "complexType": {
71
+ "original": "boolean",
72
+ "resolved": "boolean",
73
+ "references": {}
74
+ },
75
+ "required": false,
76
+ "optional": false,
77
+ "docs": {
78
+ "tags": [],
79
+ "text": ""
80
+ },
81
+ "getter": false,
82
+ "setter": false,
83
+ "reflect": false
84
+ },
85
+ "showAch": {
86
+ "type": "boolean",
87
+ "attribute": "show-ach",
88
+ "mutable": false,
89
+ "complexType": {
90
+ "original": "boolean",
91
+ "resolved": "boolean",
92
+ "references": {}
93
+ },
94
+ "required": false,
95
+ "optional": false,
96
+ "docs": {
97
+ "tags": [],
98
+ "text": ""
99
+ },
100
+ "getter": false,
101
+ "setter": false,
102
+ "reflect": false
103
+ },
104
+ "showSavedPaymentMethods": {
105
+ "type": "boolean",
106
+ "attribute": "show-saved-payment-methods",
107
+ "mutable": false,
108
+ "complexType": {
109
+ "original": "boolean",
110
+ "resolved": "boolean",
111
+ "references": {}
112
+ },
113
+ "required": false,
114
+ "optional": false,
115
+ "docs": {
116
+ "tags": [],
117
+ "text": ""
118
+ },
119
+ "getter": false,
120
+ "setter": false,
121
+ "reflect": false
122
+ },
123
+ "showBnpl": {
124
+ "type": "boolean",
125
+ "attribute": "show-bnpl",
126
+ "mutable": false,
127
+ "complexType": {
128
+ "original": "boolean",
129
+ "resolved": "boolean",
130
+ "references": {}
131
+ },
132
+ "required": false,
133
+ "optional": false,
134
+ "docs": {
135
+ "tags": [],
136
+ "text": ""
137
+ },
138
+ "getter": false,
139
+ "setter": false,
140
+ "reflect": false
141
+ },
142
+ "paymentMethodGroupId": {
143
+ "type": "string",
144
+ "attribute": "payment-method-group-id",
145
+ "mutable": false,
146
+ "complexType": {
147
+ "original": "string",
148
+ "resolved": "string",
149
+ "references": {}
150
+ },
151
+ "required": false,
152
+ "optional": true,
153
+ "docs": {
154
+ "tags": [],
155
+ "text": ""
156
+ },
157
+ "getter": false,
158
+ "setter": false,
159
+ "reflect": false
160
+ },
161
+ "bnpl": {
162
+ "type": "unknown",
163
+ "attribute": "bnpl",
164
+ "mutable": false,
165
+ "complexType": {
166
+ "original": "IBnpl",
167
+ "resolved": "IBnpl",
168
+ "references": {
169
+ "IBnpl": {
170
+ "location": "import",
171
+ "path": "../../api",
172
+ "id": "src/api/index.ts::IBnpl"
173
+ }
174
+ }
175
+ },
176
+ "required": false,
177
+ "optional": false,
178
+ "docs": {
179
+ "tags": [],
180
+ "text": ""
181
+ },
182
+ "getter": false,
183
+ "setter": false
184
+ },
185
+ "insuranceToggled": {
186
+ "type": "boolean",
187
+ "attribute": "insurance-toggled",
188
+ "mutable": false,
189
+ "complexType": {
190
+ "original": "boolean",
191
+ "resolved": "boolean",
192
+ "references": {}
193
+ },
194
+ "required": false,
195
+ "optional": false,
196
+ "docs": {
197
+ "tags": [],
198
+ "text": ""
199
+ },
200
+ "getter": false,
201
+ "setter": false,
202
+ "reflect": false
203
+ },
204
+ "authToken": {
205
+ "type": "string",
206
+ "attribute": "auth-token",
207
+ "mutable": false,
208
+ "complexType": {
209
+ "original": "string",
210
+ "resolved": "string",
211
+ "references": {}
212
+ },
213
+ "required": false,
214
+ "optional": false,
215
+ "docs": {
216
+ "tags": [],
217
+ "text": ""
218
+ },
219
+ "getter": false,
220
+ "setter": false,
221
+ "reflect": false
222
+ },
223
+ "accountId": {
224
+ "type": "string",
225
+ "attribute": "account-id",
226
+ "mutable": false,
227
+ "complexType": {
228
+ "original": "string",
229
+ "resolved": "string",
230
+ "references": {}
231
+ },
232
+ "required": false,
233
+ "optional": false,
234
+ "docs": {
235
+ "tags": [],
236
+ "text": ""
237
+ },
238
+ "getter": false,
239
+ "setter": false,
240
+ "reflect": false
241
+ },
242
+ "savedPaymentMethods": {
243
+ "type": "unknown",
244
+ "attribute": "saved-payment-methods",
245
+ "mutable": false,
246
+ "complexType": {
247
+ "original": "any[]",
248
+ "resolved": "any[]",
249
+ "references": {}
250
+ },
251
+ "required": false,
252
+ "optional": false,
253
+ "docs": {
254
+ "tags": [],
255
+ "text": ""
256
+ },
257
+ "getter": false,
258
+ "setter": false,
259
+ "defaultValue": "[]"
260
+ },
261
+ "paymentAmount": {
262
+ "type": "number",
263
+ "attribute": "payment-amount",
264
+ "mutable": false,
265
+ "complexType": {
266
+ "original": "number",
267
+ "resolved": "number",
268
+ "references": {}
269
+ },
270
+ "required": false,
271
+ "optional": false,
272
+ "docs": {
273
+ "tags": [],
274
+ "text": ""
275
+ },
276
+ "getter": false,
277
+ "setter": false,
278
+ "reflect": false
279
+ },
280
+ "hideCardBillingForm": {
281
+ "type": "boolean",
282
+ "attribute": "hide-card-billing-form",
283
+ "mutable": false,
284
+ "complexType": {
285
+ "original": "boolean",
286
+ "resolved": "boolean",
287
+ "references": {}
288
+ },
289
+ "required": false,
290
+ "optional": true,
291
+ "docs": {
292
+ "tags": [],
293
+ "text": ""
294
+ },
295
+ "getter": false,
296
+ "setter": false,
297
+ "reflect": false
298
+ },
299
+ "hideBankAccountBillingForm": {
300
+ "type": "boolean",
301
+ "attribute": "hide-bank-account-billing-form",
302
+ "mutable": false,
303
+ "complexType": {
304
+ "original": "boolean",
305
+ "resolved": "boolean",
306
+ "references": {}
307
+ },
308
+ "required": false,
309
+ "optional": true,
310
+ "docs": {
311
+ "tags": [],
312
+ "text": ""
313
+ },
314
+ "getter": false,
315
+ "setter": false,
316
+ "reflect": false
317
+ }
318
+ };
319
+ }
320
+ static get states() {
321
+ return {
322
+ "paymentMethodOptions": {}
323
+ };
324
+ }
325
+ static get methods() {
326
+ return {
327
+ "fillBillingForm": {
328
+ "complexType": {
329
+ "signature": "(fields: BillingFormFields) => Promise<void>",
330
+ "parameters": [{
331
+ "name": "fields",
332
+ "type": "BillingFormFields",
333
+ "docs": ""
334
+ }],
335
+ "references": {
336
+ "Promise": {
337
+ "location": "global",
338
+ "id": "global::Promise"
339
+ },
340
+ "BillingFormFields": {
341
+ "location": "import",
342
+ "path": "./billing-form/billing-form-schema",
343
+ "id": "src/components/checkout/billing-form/billing-form-schema.ts::BillingFormFields"
344
+ },
345
+ "HTMLJustifiNewPaymentMethodElement": {
346
+ "location": "global",
347
+ "id": "global::HTMLJustifiNewPaymentMethodElement"
348
+ }
349
+ },
350
+ "return": "Promise<void>"
351
+ },
352
+ "docs": {
353
+ "text": "",
354
+ "tags": []
355
+ }
356
+ },
357
+ "resolvePaymentMethod": {
358
+ "complexType": {
359
+ "signature": "(insuranceValidation: any) => Promise<PaymentMethodPayload>",
360
+ "parameters": [{
361
+ "name": "insuranceValidation",
362
+ "type": "any",
363
+ "docs": ""
364
+ }],
365
+ "references": {
366
+ "Promise": {
367
+ "location": "global",
368
+ "id": "global::Promise"
369
+ },
370
+ "PaymentMethodPayload": {
371
+ "location": "import",
372
+ "path": "./payment-method-payload",
373
+ "id": "src/components/checkout/payment-method-payload.ts::PaymentMethodPayload"
374
+ }
375
+ },
376
+ "return": "Promise<PaymentMethodPayload>"
377
+ },
378
+ "docs": {
379
+ "text": "",
380
+ "tags": []
381
+ }
382
+ },
383
+ "validate": {
384
+ "complexType": {
385
+ "signature": "() => Promise<{ isValid: boolean; errors?: any; }>",
386
+ "parameters": [],
387
+ "references": {
388
+ "Promise": {
389
+ "location": "global",
390
+ "id": "global::Promise"
391
+ },
392
+ "HTMLJustifiNewPaymentMethodElement": {
393
+ "location": "global",
394
+ "id": "global::HTMLJustifiNewPaymentMethodElement"
395
+ }
396
+ },
397
+ "return": "Promise<{ isValid: boolean; errors?: any; }>"
398
+ },
399
+ "docs": {
400
+ "text": "",
401
+ "tags": []
402
+ }
403
+ }
404
+ };
405
+ }
406
+ static get watchers() {
407
+ return [{
408
+ "propName": "savedPaymentMethods",
409
+ "methodName": "paymentMethodsChanged"
410
+ }];
411
+ }
412
+ static get listeners() {
413
+ return [{
414
+ "name": "paymentMethodOptionSelected",
415
+ "method": "paymentMethodOptionSelected",
416
+ "target": undefined,
417
+ "capture": false,
418
+ "passive": false
419
+ }];
420
+ }
421
+ }
@@ -1,17 +1,15 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { StyledHost } from "../../ui-components";
3
- import { checkoutStore } from "../../store/checkout.store";
4
3
  export class SaveNewPaymentMethod {
5
4
  constructor() {
6
5
  this.isChecked = false;
7
- this.handleCheckboxChange = (_name, value) => {
8
- this.isChecked = value;
9
- checkoutStore.savePaymentMethod = value;
10
- this.checkboxChanged.emit(this.isChecked);
11
- };
6
+ }
7
+ handleCheckboxChange(_name, value) {
8
+ this.isChecked = value;
9
+ this.checkboxChanged.emit(this.isChecked);
12
10
  }
13
11
  render() {
14
- return (h(StyledHost, { key: '6842e4b8045d568d8806fa8ade5cc41c9a2d5655' }, h("div", { key: 'f0d69890acbe422ea0dffe9d1313a2d3e4a6054d', class: "mt-4 form-check" }, h("form-control-checkbox", { key: '8509e3b6a5ebcf6b0e461cb9d2ad9115f6908663', label: "Save new payment method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange }))));
12
+ return (h(StyledHost, { key: '114f1887f2aebee2440d5c0b187fe1f361137230' }, h("div", { key: '8a967beb89065a8b3ee501f0589b6617764c641e', class: "mt-4 form-check" }, h("form-control-checkbox", { key: 'b22ca881a5fcda9dc044dfd1175e9ae06fd9f504', label: "Save new payment method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange.bind(this) }))));
15
13
  }
16
14
  static get is() { return "justifi-save-new-payment-method"; }
17
15
  static get encapsulation() { return "shadow"; }
@@ -18,7 +18,7 @@ export class SavedPaymentMethod {
18
18
  ;
19
19
  render() {
20
20
  var _a, _b, _c;
21
- return (h(Host, { key: '5f69545a8ce1bfb45f043c55a82c8f0b2d316d6f', class: "payment-method" }, h("div", { key: '85970200bf61dedf1916f5564d2b9dfed9012cd7', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '15ddbf64c39bfe955153b64bc42cf12a1c3147cd', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
21
+ return (h(Host, { key: 'c6a1d3de6363c80a0acb15c6676d3e913beeda2d', class: "payment-method" }, h("div", { key: 'fdabb1a67f654a3bcf06e86e8c42f6aa281e6757', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '0731e2ccb8080ee4972201a617cd99376627e332', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
22
22
  }
23
23
  static get is() { return "justifi-saved-payment-method"; }
24
24
  static get properties() {
@@ -118,7 +118,7 @@ export class CheckoutsListCore {
118
118
  return !this.showEmptyState && !this.showErrorState && !this.loading;
119
119
  }
120
120
  render() {
121
- return (h(TableWrapper, { key: '7cc7815e442607861f28d3a2c44c2314e5f288c2' }, h(TableComponent, { key: 'b7ff3fb1d1a6151dd9bd355dc04cd30e2b7ef174' }, h(TableHead, { key: 'e2d3be6f85b92bceee3def625ae80a2d4415318a' }, h(TableHeadRow, { key: 'a24164587b70030af7efc786df1958a31c43307e' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'fea7a2fa1f7a61337a290c9dd7bb5942acb2a29f' }, h(TableLoadingState, { key: '381755dd2938ace4c86fef3d86c1f681df28ef86', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'd39665ea747895882319d062c572e22780540530', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '6f2a08b3a95523d001f5117a7c184d4d44007dde', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '261f45cc678d78239ab91211150e9613c4939445' }, h(TableFootRow, { key: 'b3db62b2c0a367905c8ef9bfd7c9a7d4d4eff657' }, h(TableFootCell, { key: '00bd8777ad5b3b6fe990741f20aaf35c2a8e8b2b', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '63bd0ddf6f5c53aff52c6744a70f419afac1067a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
121
+ return (h(TableWrapper, { key: 'c411d1c3a54fd8a331f0c5cdbae344e231482c0f' }, h(TableComponent, { key: '21774546f3500612497943869017fa7c712dff7e' }, h(TableHead, { key: 'c4e745ead905a393ff1b0cd0fba23db2fcc03ad8' }, h(TableHeadRow, { key: '88063d0baedd1febe0febcab1ccefc512accfd7d' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'e2534bc13d9e015f127c5396bbe73545d92536b4' }, h(TableLoadingState, { key: '0f0958fa87403652880222365cf7f88dd33335cc', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '588bb80d518892791ed2134dd5405940e7c28db7', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '219cce1137232c64b7c9188042c4aaca7e0e91b6', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '16978b3be698ceabd1d19b9eaa3f85c01a862b83' }, h(TableFootRow, { key: 'cd26e5b6f03dff77e09dfb4f9962e7601b2e40dc' }, h(TableFootCell, { key: '508008cf682b393549a839453d4b4c2eee1f67a4', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '688702c35e666def509ccb77b88b88ddd5e0d58a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
122
122
  }
123
123
  static get is() { return "checkouts-list-core"; }
124
124
  static get properties() {
@@ -38,7 +38,7 @@ export class CheckoutsListFilters {
38
38
  }
39
39
  render() {
40
40
  const filterMenuParams = Object.assign({}, filterParams);
41
- return (h(StyledHost, { key: 'd025c4862f0245938f09ea574379b262252a4e7e' }, h("table-filters-menu", { key: 'acd9800c723d7e956ee237e1d7944e58d5c4f332', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: '453749cdaa376a051dbf1acdbedfa625a0c77c5c', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '8b83f81027c68ef9b47623ea66dc471aecf28ac4', class: "p-2" }, h("form-control-select", { key: '74e2548e0f96d63978e6fffe58ae1ca32b5fd4ee', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: 'ea1fe571e4cc2ae9e2d2a62d7205e27fa1c7dc3f', class: "p-2" }, h("form-control-select", { key: 'e948b0e57ab03d31c32a036c24f1a29a45b5a90c', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
41
+ return (h(StyledHost, { key: '5474a09b729c816bafb47101dbf5a25aff92eb1b' }, h("table-filters-menu", { key: '92e46a05e67bdf84b74cd644c1b89d0fc4c86af9', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: 'd8562876f8a0c1d85caa5a298cccdb1143bd7512', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '4162644cf10861d91a79dc07f845dd21a6c8d6a5', class: "p-2" }, h("form-control-select", { key: '2b13ef4af25f6ac3865f3b0edde91929655537bf', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: '9aee7f453be147b03a548fe9ea9bd9bcc6a233aa', class: "p-2" }, h("form-control-select", { key: '8f375d5660c3414e5f3796e02694fa46ed761871', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
42
42
  }
43
43
  static get is() { return "justifi-checkouts-list-filters"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -61,7 +61,7 @@ export class CheckoutsList {
61
61
  }
62
62
  }
63
63
  render() {
64
- return (h(StyledHost, { key: '073b7fb919a3f4d008a81cc7e13fb8ad72fed26c' }, h("checkouts-list-core", { key: '232229d4af023570ac261fda6df120a9451304cf', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
64
+ return (h(StyledHost, { key: '41bf633467138b6af13b1c02ccf1e1016ec54bfe' }, h("checkouts-list-core", { key: 'cd3ca431258ad73e701fe74612ecdf2c0f2a1bda', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
65
65
  }
66
66
  static get is() { return "justifi-checkouts-list"; }
67
67
  static get encapsulation() { return "shadow"; }
@@ -46,7 +46,7 @@ export class DisputeManagementCore {
46
46
  });
47
47
  }
48
48
  render() {
49
- return (h("div", { key: 'bb50db485b666c8a69826d3ccdccb19e1defff7f' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
49
+ return (h("div", { key: 'c85852cbd1169f371eb30ae06b6a2a564a15ece7' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
50
50
  }
51
51
  static get is() { return "justifi-dispute-management-core"; }
52
52
  static get properties() {
@@ -43,7 +43,7 @@ export class DisputeManagement {
43
43
  }
44
44
  }
45
45
  render() {
46
- return (h("justifi-dispute-management-core", { key: 'b1139bacd020b346ffe8953489c972ae7bf35076', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
46
+ return (h("justifi-dispute-management-core", { key: '4087eb105a046a3cc194d9f25c80fa11298fa0a2', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
47
47
  }
48
48
  static get is() { return "justifi-dispute-management"; }
49
49
  static get properties() {
@@ -30,7 +30,7 @@ export class DisputeNotification {
30
30
  }
31
31
  render() {
32
32
  var _a, _b, _c, _d, _e, _f, _g;
33
- return (h(StyledHost, { key: 'b2fe02d9cc805d8bd9a9a7c7e24aa447bb506368' }, this.isLoading && (h("div", { key: '3e8b6996ba3bd3b6cee9ff6aa40de111d63d6e49', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'a9b5a6b69637c1fcff54d0d057a9c1d555b05333', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '771b72567728b6ffcc3dd393a9c7e289ffb49939', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '10bbcae1a4bd006394a71ad9d93ba2c2ab00174c', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '4c34718dfa9622a045c3d7ee5c45415b87ba43d2', part: text }, h("h1", { key: '6df61476d7e98b819722ecfd94eb74b25b1165b8', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '3274dd90180201005e0c281c18bea8e794c1fae6' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '0498b48e2a1f1ca5bc0f660ee5e515fea03cb171', class: "h5" }, "Dispute details"), h("div", { key: '65307411698be9a095eebfe5d8783c211b41d174', class: "d-table gap-2" }, h("div", { key: '64363e176ce32bcbdc670f73e07548893946aedd', class: "d-table-row gap-2" }, h("span", { key: '20bfe036e146209037512e63abe1c6c9c6996384', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '7bc3b39608079b9627047e50d5d534b0722a85cd', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: '9fe0319d887d357f1db48ea0fea0234d183b837e', class: "d-table-row gap-2" }, h("span", { key: 'dfb7291c466865477e2f3e91aca16d4e8b0b388f', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '08a88fdf4888617b3bb6812dee8d0e3b3067b9fa', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: 'e8ed2895586fa7c4d95bc074099d2ef1c84c662d', class: "d-table-row gap-2" }, h("span", { key: '2776f7600495b448feec656e078c02935d564074', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: 'd6122984a16b4eae7b1ee6aed85d43364ab14097', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: '66ffc380b6703cc0d6e5e1dc36969471eff5888a', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '733d1bad942cab95915f9ec95a394db669501251', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '37b2245252ec8e44ee1e2d16244a37915bf233e7', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'ce261f2fffe22a31a8342dd4bfca31da31853ae2' }, h("h1", { key: '2005fa90f8ca5c53cd4f3835a0ce5b6a02e7d88b', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '37b92daa4a6efa2d1b8d38722b4cb34292145407' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '71e849f41c4fb6594818f89a4a8358289396c121' }, h("h1", { key: '4a06746430e79e0117ce7bb7e6997f7c606ebad5', class: "h4" }, "This payment was disputed"), h("p", { key: 'e72309f0d54c499c5cb9fca1e088c95b6b341a80' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: 'ca1aae552813c4d6d7d952e512f8c8bfd5815957' }, h("h1", { key: '1d7644c907dbcdafc010ad5f44570306669f3f25', class: "h4" }, "This payment was disputed"), h("p", { key: '2b69366146a32a2005789d07c8af8ce4158148c3' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
33
+ return (h(StyledHost, { key: '0f1028825a7a96a06e7219518ffed54bc0db1b2b' }, this.isLoading && (h("div", { key: 'f4b704182a5a7085827854634d38c56423cc2e1b', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'b2062d8b683ab110c26fc30f1600c4500f668d87', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'b5d2afe1fdd2e5ee0ec60048a48778bcfa6c78d3', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '1e87c8936b3f2e26e680786927c5a4609aca0b83', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '49090493e3921353b7a830397795496bb234d112', part: text }, h("h1", { key: 'fd7b56a7cfeaa6820bf2cc121575314d075b5a83', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '72ba296695928baca8f7c5c3b1f858c596efedb2' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: 'cce733ff1bbca7a9530a442035cbae2995e018e7', class: "h5" }, "Dispute details"), h("div", { key: '28b7f081e345112d99c52d05f205734995617253', class: "d-table gap-2" }, h("div", { key: 'd9476d8d0adfa3c6eccad229e94cd3824a720c7d', class: "d-table-row gap-2" }, h("span", { key: '4d9e0714eee778c326ee1d70a32f79d90d3d4b09', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'b227edcf9b4b65b790d8aa98021d2662a12855bc', 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: 'b1b1cdaac5482f565a6f26af71c0b526b8c19f4e', class: "d-table-row gap-2" }, h("span", { key: '0a479a9de96cce6e42bec90a17affe2c93ced44f', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '5d5020dda571f4465e2a358880ad5f20bc6171ea', 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: 'a5f42c3fcbb5d14f8479d0a576d31a50f8fc6441', class: "d-table-row gap-2" }, h("span", { key: '280fca5a101eb0e823eb9ccc13c746ac7ed62069', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: '4dfc0b9a295ffc804b708d3590358256009e5376', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: '654e7baccd08628bc90d050bad108011b49f9972', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: 'd0817cdb23bf33086c6ce5122f4ed5388027d96c', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '5446bef44a0ca747692d59fd5490409d00a9e285', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: '17fbc5902badc4230c5485b326f480180c844768' }, h("h1", { key: 'fefa0234306588d9e7f56733872bf8c9793f51dd', class: "h4" }, "This payment is disputed and under review"), h("p", { key: 'eaad72aa8d9f65ca296379a2800180878ec8a7e5' }, "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: 'ec1b0d728a7518f913c2a69976fa1f5fc8f76c74' }, h("h1", { key: '9d42fad15fbeee507e2f364c3a35f143ff7599e2', class: "h4" }, "This payment was disputed"), h("p", { key: '3b728a5544fe17a6c58c12f7e8eef290022945b6' }, "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: '6d1813508a657265546fbef00bd1e8f46ffaf740' }, h("h1", { key: 'de981fc2e06e860f47146647975965a903a39b55', class: "h4" }, "This payment was disputed"), h("p", { key: '4e57ab86518bd678a3a5402b712d40d573b3a970' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
34
34
  }
35
35
  static get is() { return "justifi-dispute-notification"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class AdditionalStatement {
29
29
  }
30
30
  render() {
31
31
  var _a, _b;
32
- return (h("div", { key: '686ebb005923c2df03dec6f05977d4ed8bbe1b1e' }, h("div", { key: 'e5bb57b324a91aa1154c89dc7c548aef2a70f76a', class: "row gy-3" }, h("div", { key: '26ae3376f6653beab2a4572bc83384d24a034431', class: "col-12" }, h("h2", { key: '7792382e19a3d18f2f1f7e3679cf1ff6ad35fc83', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '19c1fe984e98710a7813434ea43adc899356d0d6', class: "col-12" }, h("form-control-textarea", { key: '7da7574a1de7db45d8ddf8d8087926cc88cd35b4', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '1de73fdb832720a55a846dff82c87d2563258d29', class: "col-12" }, h("form-control-file-v2", { key: '08bc29c797e0f4aa74fc8c923558750e8783c5fb', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
32
+ return (h("div", { key: '4d0fbca80a880577be7853efc494807d7d1e2fd9' }, h("div", { key: '6c3a82afe01b0812807a8e19dc750d4e9901876a', class: "row gy-3" }, h("div", { key: '89e7f50b0c6d67249b892caf8c6b2d78c1742309', class: "col-12" }, h("h2", { key: 'e0c4db3f5330cdd0e00897da0a54b898f0056f93', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '58d4506d4bc0470afa4de87fdcf25ce4397d4180', class: "col-12" }, h("form-control-textarea", { key: 'aee641d90803d0ff483cfe75d881e3259303d4bc', 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: '19377eb6382adc9cb69ec57fe7928b7d477110d8', class: "col-12" }, h("form-control-file-v2", { key: '9529de236046398904d4780fcedada3a67ce4daf', 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: '61b69ec93db4a7db558da94bc8cd6733cf899930' }, h("div", { key: '5d1840eb3f53fbf8d5a711834efb015612dbc786', class: "row gy-3" }, h("div", { key: '578b5bea33ce2f0fe5e9c2572123ea3ca6860f66', class: "col-12" }, h("h2", { key: '179ac995f6e78ae4168f3d829daa6129d2e9bf01', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'f8d1c91d81a40203ba35b8fbc695638ada34da34', class: "col-12" }, h("form-control-textarea", { key: '78a148644044a9fa027b5b504013421cbb01e666', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'e27342fc306dba906bcf5a053355a16b58324012', class: "col-12" }, h("form-control-textarea", { key: 'c39b5b3b4002b18473926aa8b1d47824aab0e9f5', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '60dec8249d28d9a48343fd856f584abf47556195', class: "col-12" }, h("form-control-file-v2", { key: 'c2de0f5fa9e3038638de8012dbb4567cc9a504cb', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
31
+ return (h("div", { key: 'ac10b9b21d37179211d74118b06f561e95d9ea71' }, h("div", { key: '8ff525f8ed20828ed153b7dc23cb84a0277b81d4', class: "row gy-3" }, h("div", { key: '4f22ed526972a6625dc77b3ab0ab5b074277d7b2', class: "col-12" }, h("h2", { key: 'd78d54468b91edd99238bd757f871b18ec5b58ca', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '629c9660446cbba8951cd8396d9b72aea71c731b', class: "col-12" }, h("form-control-textarea", { key: '60e0b4903e4ddec6915d23617f215d5d2ea20935', 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: 'aec3e4561f880b86ba6f5c7ce0298e45b837c2fd', class: "col-12" }, h("form-control-textarea", { key: 'e77d126709037cb22e6e4fcf2228652ffeb672ee', 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: '407c071a0f7a1e488eb2ef4d522e515138a5ed2c', class: "col-12" }, h("form-control-file-v2", { key: '15dfacd8e1de439848d12ecec9a0f5ffac259484', 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: '01163af3a6dbabca775254bdb90da66ffb62cca8' }, h("div", { key: '7e98298f376b7056bbfdbd41e9cd2793f00e0ff8', class: "row gy-3" }, h("div", { key: 'e3b10ab604f20fdc5d874e3a1c77bacd4a1746d5', class: "col-12" }, h("h2", { key: 'd5b22b72070c963cffbccd57ca3322edb0a198e3', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: 'b0800a7bc02f7b22123371d6fb4eadf1d9eef8aa', class: "col-12" }, h("form-control-text", { key: 'c140ab7b81904344865eda42a8f6d3d0cc413395', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '9bbca63f79eda4f71b5ebddf4060aee74346e49d', class: "col-12" }, h("form-control-text", { key: '98e9696d1c4860812bafb9a7aef7403795781670', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '43723a4602edf0d82835aa43e05469ab10f85be5', class: "col-12" }, h("form-control-textarea", { key: 'b82d7711f8eade838417af050e4ae26c7fd95c31', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: 'd092e59b71ab599c198dca09e531e9efd8829924', class: "col-12" }, h("form-control-file-v2", { key: '6f647a9121a2a238d5fc88679a73f31e1edf64a1', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '2f2b981021ba06530dd474d201e41c75e2d1edb3', class: "col-12" }, h("form-control-file-v2", { key: '90c20405df7197f93f1e73bb4c381afb7d6cea88', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
31
+ return (h("div", { key: 'e09402d1c3ca9bb8f3a243c22bec2e9d908d661f' }, h("div", { key: '67a1038f92a9a9711ca37d353af7a06b87cbe0a8', class: "row gy-3" }, h("div", { key: '1be2249539c434bf3faf847b4202ff2f421d15a3', class: "col-12" }, h("h2", { key: '17d8bc1b31dfa77f08500ff4029f572049d9e1ce', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '3e218b39c8f5dab178cc8b23caf403e1a912694c', class: "col-12" }, h("form-control-text", { key: 'ab28a2176315c3ecd1ff984a599589a81375f4e0', 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: 'e1739728748de575e39f29018cd1139d75232611', class: "col-12" }, h("form-control-text", { key: '9f2aec120b08ac793be93f9c990d81a74c9e57d2', 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: '9be7e4a85edfc9bc95e8ede96ebc81f4777f1cdb', class: "col-12" }, h("form-control-textarea", { key: '100e419cc2064509aaa03c76e2898fc7df85e950', 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: '94da95bb013738aefb17088203ee14e07f159ae0', class: "col-12" }, h("form-control-file-v2", { key: '1ab77a12a715fbb82c0bc1c9f9081e54fd3fef0e', 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: '88eed9387758b86332137fa64b4e3b3c5825d908', class: "col-12" }, h("form-control-file-v2", { key: '0b654ffcf253c639b07ffe03450a87550caaa75a', 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: '3f00a6b94c956c235145b6b5a91a097867ca00ef', class: "row gy-3" }, h("div", { key: '7bc1bcda8f5748999359a5286f69bddec6d92bc6', class: "col-12" }, h("h1", { key: '0b9ab07a2b421f9a61662a40341e464bf91c7edd', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: 'e8782ca7ad6a04f270df67b2242b525ec52310d5', class: "col-12" }, this.currentStepComponent), h("div", { key: 'a305428bc3ff3801bdb7c2d086bd3b10d39c6eed', class: "col-12" }, h("div", { key: 'dac35a130c1c33df3b99505d7680d8affaac9906', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
159
+ return (h("div", { key: '20d075178a9d88cd73be32e52f8df6d3d360f8d7', class: "row gy-3" }, h("div", { key: '6c1bc735f1a15709c596b5bea7cc3ce50e9a73f5', class: "col-12" }, h("h1", { key: '27a0804924937ee7a8d01265bd0da2d9dd31d301', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: 'b60822e91425c5c4af003169f47fd725daf9fb0f', class: "col-12" }, this.currentStepComponent), h("div", { key: 'd1be3f6be53de37836275067070cf4b5a2eb3e4a', class: "col-12" }, h("div", { key: '48c8725d8de8b658e59ccfa851a6af6638e19ca5', 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: '757f300705d786610e958ecd2e574ec6294eb3a2' }, h("justifi-dispute-response-core", { key: 'c451a27a530b06072829dff517d85d2f0afd65ae', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
58
+ return (h(StyledHost, { key: 'dbdfd59a21c7e8ea4dfdaecb91f885f82540a27c' }, h("justifi-dispute-response-core", { key: '3cff38e5995f0033c45c54fa195ffeebc27e189e', "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"; }