@justifi/webcomponents 6.0.0-rc.9 → 6.0.1-rc.0

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 (673) hide show
  1. package/dist/cjs/{Api-y2G49jOh.js → Api-CwTLkFY4.js} +2 -2
  2. package/dist/cjs/{Refund-BVZHsa6Z.js → Refund-BPSBtjQC.js} +3 -1
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  4. package/dist/cjs/{badge-CcJ9H85-.js → badge-BmOSt4gS.js} +1 -1
  5. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -11
  6. package/dist/cjs/bank-account-form.cjs.entry.js +10 -15
  7. package/dist/cjs/business-details-core.cjs.entry.js +6 -21
  8. package/dist/cjs/{business.service-D5IhSyRJ.js → business.service-Dkhqyggm.js} +2 -2
  9. package/dist/cjs/{button-DsHDMHaa.js → button-7c2RN2yp.js} +2 -3
  10. package/dist/cjs/card-form.cjs.entry.js +10 -19
  11. package/dist/cjs/{check-pkg-version-VnhfIX0p.js → check-pkg-version-B48ZmuJS.js} +3 -3
  12. package/dist/cjs/{checkout.service-4aS641tN.js → checkout.service-LwZVVgP5.js} +2 -2
  13. package/dist/cjs/checkout.store-C3f3E24L.js +84 -0
  14. package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -11
  15. package/dist/cjs/{checkouts-list-params-state-Cewmin_p.js → checkouts-list-params-state-C4c8UZtP.js} +1 -1
  16. package/dist/cjs/{checkouts-table-B_gpjGhs.js → checkouts-table-BQUhZZd_.js} +4 -6
  17. package/dist/cjs/{config-state-BBOZIS8x.js → config-state-B_gyIchD.js} +1 -1
  18. package/dist/cjs/custom-popper_2.cjs.entry.js +3 -3
  19. package/dist/cjs/{dispute.service-64ciJH0r.js → dispute.service-927Gzb0N.js} +2 -2
  20. package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
  21. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  22. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  23. package/dist/cjs/{form-control-error-text-B-P5UDhm.js → form-control-error-text-DD0dHGu8.js} +1 -1
  24. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  25. package/dist/cjs/{form-control-help-text-JoZjhb9m.js → form-control-help-text-2QwKi78M.js} +1 -1
  26. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  27. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +5 -5
  28. package/dist/cjs/form-control-monetary.cjs.entry.js +6 -6
  29. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
  30. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  31. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  32. package/dist/cjs/form-control-select_2.cjs.entry.js +6 -6
  33. package/dist/cjs/{get-payment-details-DE5xUUpt.js → get-payment-details-BSxp1HX0.js} +2 -2
  34. package/dist/cjs/{get-subaccounts-CH477rHs.js → get-subaccounts-B31f95PR.js} +3 -3
  35. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  36. package/dist/cjs/{header-1-DRA3f4Jh.js → header-1-DMsp0XM7.js} +1 -1
  37. package/dist/cjs/{header-3-sOdOpfx3.js → header-3-BSvFq_IF.js} +1 -1
  38. package/dist/cjs/hidden-input_2.cjs.entry.js +8 -8
  39. package/dist/cjs/{checkout.store-MSwLBCby.js → index-C2ITzalN.js} +29 -41
  40. package/dist/cjs/{index-B32W0A3m.js → index-D1Ba20gi.js} +1 -1
  41. package/dist/cjs/{index-C9hBD-32.js → index-Dyzl8Hn6.js} +8 -2
  42. package/dist/cjs/index.cjs.js +8 -0
  43. package/dist/cjs/{insurance-state-d2thhXUX.js → insurance-state-uWOl6jJN.js} +2 -2
  44. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +9 -24
  45. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -17
  46. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  47. package/dist/cjs/justifi-apple-pay.cjs.entry.js +177 -86
  48. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +26 -44
  49. package/dist/cjs/justifi-business-details.cjs.entry.js +10 -10
  50. package/dist/cjs/justifi-business-form.cjs.entry.js +15 -30
  51. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  52. package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +200 -164
  53. package/dist/cjs/justifi-checkout.cjs.entry.js +19 -11
  54. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +8 -8
  55. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -14
  56. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  57. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  58. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  59. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
  60. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -15
  61. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +9 -9
  62. package/dist/cjs/justifi-order-terminals.cjs.entry.js +16 -44
  63. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +11 -11
  64. package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -11
  65. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  66. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -10
  67. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +14 -16
  68. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -7
  69. package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -14
  70. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
  71. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +16 -22
  72. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
  73. package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -15
  74. package/dist/cjs/justifi-refund-payment.cjs.entry.js +15 -21
  75. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
  76. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +14 -25
  77. package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
  78. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +9 -9
  79. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +12 -12
  80. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -8
  81. package/dist/cjs/justifi-terminals-list.cjs.entry.js +14 -14
  82. package/dist/cjs/loader.cjs.js +2 -2
  83. package/dist/cjs/{package-BS0_inF6.js → package-C3FMDKcV.js} +1 -1
  84. package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
  85. package/dist/cjs/payment-details-core.cjs.entry.js +16 -28
  86. package/dist/cjs/payment-method-option.cjs.entry.js +3 -3
  87. package/dist/cjs/{payment.service--kzMop3L.js → payment.service-DUq-W7tS.js} +2 -2
  88. package/dist/cjs/payments-list-core.cjs.entry.js +12 -12
  89. package/dist/cjs/{payments-list-params-state-Cewmin_p.js → payments-list-params-state-C4c8UZtP.js} +1 -1
  90. package/dist/cjs/{payments-status-DXRh_ekP.js → payments-status-3iIQkoov.js} +2 -2
  91. package/dist/cjs/{payments-table-DFRtk-T9.js → payments-table-BSHUQhM-.js} +4 -6
  92. package/dist/cjs/payout-details-core.cjs.entry.js +12 -24
  93. package/dist/cjs/{payout.service-D3omzNG_.js → payout.service-DoKMr8Xw.js} +2 -2
  94. package/dist/cjs/payouts-list-core.cjs.entry.js +12 -12
  95. package/dist/cjs/{payouts-list-params-state-Cewmin_p.js → payouts-list-params-state-C4c8UZtP.js} +1 -1
  96. package/dist/cjs/{payouts-status-DxTQZv3i.js → payouts-status-DoQbxIms.js} +2 -2
  97. package/dist/cjs/{payouts-table-DE3t0x93.js → payouts-table-BD_Fhz_j.js} +5 -7
  98. package/dist/cjs/{skeleton-C7DQRD6r.js → skeleton-CuIMC98G.js} +1 -1
  99. package/dist/cjs/spinner-CMZXdrPe.js +10 -0
  100. package/dist/cjs/{styled-host-BfVJlAsJ.js → styled-host-2KXbjOFw.js} +2 -4
  101. package/dist/cjs/{table-Ccdrt0v_.js → table-DlQCUVag.js} +5 -11
  102. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  103. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +11 -11
  104. package/dist/cjs/{terminal-orders-list-params-state-Cewmin_p.js → terminal-orders-list-params-state-C4c8UZtP.js} +1 -1
  105. package/dist/cjs/{terminal-orders-table-B1LJitwE.js → terminal-orders-table-t6XxNy_K.js} +7 -11
  106. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  107. package/dist/cjs/{terminal.service-BOvYfpQW.js → terminal.service-Iyje71vN.js} +2 -2
  108. package/dist/cjs/terminals-list-core.cjs.entry.js +11 -11
  109. package/dist/cjs/terminals-list-params-state-C4c8UZtP.js +22 -0
  110. package/dist/cjs/{terminals-table-DYt7exFQ.js → terminals-table-BTdKRiBN.js} +3 -3
  111. package/dist/cjs/{utils-BaGF9XIe.js → utils-ChCUZgUy.js} +6 -0
  112. package/dist/cjs/utils-FFP5ZHyE.js +18 -0
  113. package/dist/cjs/webcomponents.cjs.js +3 -3
  114. package/dist/collection/api/Payment.js +2 -0
  115. package/dist/collection/api/index.js +1 -2
  116. package/dist/collection/api/services/apple-pay.service.js +95 -8
  117. package/dist/collection/collection-manifest.json +3 -3
  118. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -6
  119. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  120. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +6 -6
  121. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -6
  122. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  123. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  124. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +6 -6
  125. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  126. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  127. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  128. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  129. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
  130. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  131. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  132. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  133. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  134. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  135. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  136. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  137. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  138. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  139. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  140. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  141. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +6 -3
  142. package/dist/collection/components/checkout/card-form/card-form.js +6 -3
  143. package/dist/collection/components/checkout/checkout.js +16 -1
  144. package/dist/collection/components/checkout/save-new-payment-method.js +26 -1
  145. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  146. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  147. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  148. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  154. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  155. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  156. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  157. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  158. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  159. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  160. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  161. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  162. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  163. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  164. package/dist/collection/components/modular-checkout/ModularCheckout.js +27 -0
  165. package/dist/collection/components/modular-checkout/modular-checkout.js +113 -72
  166. package/dist/collection/components/modular-checkout/sub-components/apple-pay-skeleton.js +2 -2
  167. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +72 -70
  168. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  169. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  170. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  171. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  172. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  173. package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.js +57 -65
  174. package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js +8 -6
  175. package/dist/collection/components/modular-checkout/sub-components/saved-payment-methods.js +8 -10
  176. package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +22 -7
  177. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  178. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  179. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  180. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  181. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  182. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  183. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  184. package/dist/collection/components/payments-list/payments-list.js +1 -1
  185. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  186. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  187. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  188. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  189. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  190. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  191. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  192. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  193. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  194. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  195. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  196. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +31 -13
  197. package/dist/collection/index.js +1 -0
  198. package/dist/collection/store/checkout.store.js +46 -3
  199. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  200. package/dist/collection/ui-components/details/details.js +1 -1
  201. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  202. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  203. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  204. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  205. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  206. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  207. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  208. package/dist/collection/ui-components/form/form-control-radio.js +5 -5
  209. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  210. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  211. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  212. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  213. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  214. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
  215. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  216. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  217. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +4 -4
  218. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  219. package/dist/collection/utils/utils.js +5 -0
  220. package/dist/docs.json +167 -190
  221. package/dist/esm/{Api-C1I68Tfr.js → Api-D4tj-h4P.js} +2 -2
  222. package/dist/esm/{Refund-kKW8S1h6.js → Refund-Bc5By0lb.js} +3 -1
  223. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  224. package/dist/esm/{badge-DSYSJcRy.js → badge-ChwzCNAF.js} +1 -1
  225. package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -11
  226. package/dist/esm/bank-account-form.entry.js +10 -15
  227. package/dist/esm/business-details-core.entry.js +6 -21
  228. package/dist/esm/{business.service-B3wlBl1x.js → business.service-CsbtEDNi.js} +2 -2
  229. package/dist/esm/{button-CpllL0At.js → button-SAIS_5os.js} +2 -3
  230. package/dist/esm/card-form.entry.js +10 -19
  231. package/dist/esm/{check-pkg-version-CGQdCjwh.js → check-pkg-version-DSO4z-Vx.js} +3 -3
  232. package/dist/esm/{checkout.service-KDp7tISm.js → checkout.service-BCkQ9pOA.js} +2 -2
  233. package/dist/esm/checkout.store-DBvS7cVB.js +79 -0
  234. package/dist/esm/checkouts-list-core.entry.js +11 -11
  235. package/dist/esm/{checkouts-list-params-state-D8tzsGR_.js → checkouts-list-params-state-C2_GlMKR.js} +1 -1
  236. package/dist/esm/{checkouts-table-QOdiLpak.js → checkouts-table-CItEo0DU.js} +4 -6
  237. package/dist/esm/{config-state-DZeVYerv.js → config-state-Blo0ywwc.js} +1 -1
  238. package/dist/esm/custom-popper_2.entry.js +3 -3
  239. package/dist/esm/{dispute.service-DEZEPwn-.js → dispute.service-CyLtJREK.js} +2 -2
  240. package/dist/esm/form-alert_5.entry.js +5 -5
  241. package/dist/esm/form-control-checkbox.entry.js +5 -5
  242. package/dist/esm/form-control-date.entry.js +4 -4
  243. package/dist/esm/{form-control-error-text-R7U07nTg.js → form-control-error-text-IXJJ4JpV.js} +1 -1
  244. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  245. package/dist/esm/{form-control-help-text-CRLH-2f7.js → form-control-help-text-CuhIsM3v.js} +1 -1
  246. package/dist/esm/form-control-help-text.entry.js +1 -1
  247. package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
  248. package/dist/esm/form-control-monetary.entry.js +6 -6
  249. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  250. package/dist/esm/form-control-number.entry.js +5 -5
  251. package/dist/esm/form-control-radio.entry.js +3 -3
  252. package/dist/esm/form-control-select_2.entry.js +6 -6
  253. package/dist/esm/{get-payment-details-CYASKLT7.js → get-payment-details-BuT0QNOo.js} +2 -2
  254. package/dist/esm/{get-subaccounts-E0PYy_pc.js → get-subaccounts-VjY6-x_9.js} +3 -3
  255. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  256. package/dist/esm/{header-1-3M9If0gM.js → header-1-zXsamUS3.js} +1 -1
  257. package/dist/esm/{header-3-CWa41YWq.js → header-3-DVtaUAlf.js} +1 -1
  258. package/dist/esm/hidden-input_2.entry.js +8 -8
  259. package/dist/esm/{checkout.store-UMe84fjY.js → index-DCIW8z1f.js} +27 -38
  260. package/dist/esm/{index-B_KxSZIF.js → index-ZfXl6Xrm.js} +1 -1
  261. package/dist/esm/{index-Bn7inNWG.js → index-qipqIMyC.js} +8 -2
  262. package/dist/esm/index.js +1 -1
  263. package/dist/esm/{insurance-state-CTalqbNa.js → insurance-state-Dh9f36Qh.js} +2 -2
  264. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +9 -24
  265. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +17 -17
  266. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  267. package/dist/esm/justifi-apple-pay.entry.js +177 -86
  268. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +26 -44
  269. package/dist/esm/justifi-business-details.entry.js +10 -10
  270. package/dist/esm/justifi-business-form.entry.js +15 -30
  271. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  272. package/dist/esm/justifi-checkout-summary_7.entry.js +193 -157
  273. package/dist/esm/justifi-checkout.entry.js +19 -11
  274. package/dist/esm/justifi-checkouts-list-filters.entry.js +8 -8
  275. package/dist/esm/justifi-checkouts-list.entry.js +14 -14
  276. package/dist/esm/justifi-config-provider.entry.js +3 -3
  277. package/dist/esm/justifi-details.entry.js +3 -3
  278. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  279. package/dist/esm/justifi-dispute-management.entry.js +10 -10
  280. package/dist/esm/justifi-dispute-notification_3.entry.js +15 -15
  281. package/dist/esm/justifi-gross-payment-chart.entry.js +9 -9
  282. package/dist/esm/justifi-order-terminals.entry.js +16 -44
  283. package/dist/esm/justifi-owner-form_3.entry.js +11 -11
  284. package/dist/esm/justifi-payment-details.entry.js +11 -11
  285. package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
  286. package/dist/esm/justifi-payment-provisioning.entry.js +10 -10
  287. package/dist/esm/justifi-payment-transactions-list.entry.js +14 -16
  288. package/dist/esm/justifi-payments-list-filters.entry.js +7 -7
  289. package/dist/esm/justifi-payments-list.entry.js +14 -14
  290. package/dist/esm/justifi-payout-details.entry.js +10 -10
  291. package/dist/esm/justifi-payout-transactions-list.entry.js +16 -22
  292. package/dist/esm/justifi-payouts-list-filters.entry.js +7 -7
  293. package/dist/esm/justifi-payouts-list.entry.js +15 -15
  294. package/dist/esm/justifi-refund-payment.entry.js +15 -21
  295. package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
  296. package/dist/esm/justifi-season-interruption-insurance.entry.js +14 -25
  297. package/dist/esm/justifi-skeleton.entry.js +4 -4
  298. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +9 -9
  299. package/dist/esm/justifi-terminal-orders-list.entry.js +12 -12
  300. package/dist/esm/justifi-terminals-list-filters.entry.js +8 -8
  301. package/dist/esm/justifi-terminals-list.entry.js +14 -14
  302. package/dist/esm/loader.js +3 -3
  303. package/dist/esm/{package-BiWRKUx3.js → package-tyhA5jkt.js} +1 -1
  304. package/dist/esm/pagination-menu.entry.js +4 -4
  305. package/dist/esm/payment-details-core.entry.js +16 -28
  306. package/dist/esm/payment-method-option.entry.js +3 -3
  307. package/dist/esm/{payment.service-uJpJaX2Z.js → payment.service-QJEmd6Nl.js} +2 -2
  308. package/dist/esm/payments-list-core.entry.js +12 -12
  309. package/dist/esm/{payments-list-params-state-D8tzsGR_.js → payments-list-params-state-C2_GlMKR.js} +1 -1
  310. package/dist/esm/{payments-status-5orNU2Rd.js → payments-status-DDafc8Yr.js} +2 -2
  311. package/dist/esm/{payments-table-B0uyodyJ.js → payments-table-De3Jb6rY.js} +4 -6
  312. package/dist/esm/payout-details-core.entry.js +12 -24
  313. package/dist/esm/{payout.service-ClUgtbbb.js → payout.service-XxyEr0rj.js} +2 -2
  314. package/dist/esm/payouts-list-core.entry.js +12 -12
  315. package/dist/esm/{payouts-list-params-state-D8tzsGR_.js → payouts-list-params-state-C2_GlMKR.js} +1 -1
  316. package/dist/esm/{payouts-status-CZPwa2AE.js → payouts-status-u1eSRz3Q.js} +2 -2
  317. package/dist/esm/{payouts-table-CaCSX_0q.js → payouts-table-BO-MCzXj.js} +5 -7
  318. package/dist/esm/{skeleton-qMb0_Cjy.js → skeleton-DtpkgjZ6.js} +1 -1
  319. package/dist/esm/spinner-CIXUVK4F.js +8 -0
  320. package/dist/esm/{styled-host-CTAGIN84.js → styled-host-CbizlfAU.js} +2 -4
  321. package/dist/esm/{table-Br3n9Xu-.js → table-DcRHK_sm.js} +5 -11
  322. package/dist/esm/table-filters-menu.entry.js +3 -3
  323. package/dist/esm/terminal-orders-list-core.entry.js +11 -11
  324. package/dist/esm/{terminal-orders-list-params-state-D8tzsGR_.js → terminal-orders-list-params-state-C2_GlMKR.js} +1 -1
  325. package/dist/esm/{terminal-orders-table-DPtof5Zb.js → terminal-orders-table-9nsnrAq8.js} +7 -11
  326. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  327. package/dist/esm/{terminal.service-ClNtE3e-.js → terminal.service-D2oETGnk.js} +2 -2
  328. package/dist/esm/terminals-list-core.entry.js +11 -11
  329. package/dist/esm/terminals-list-params-state-C2_GlMKR.js +16 -0
  330. package/dist/esm/{terminals-table-ClkR_jrC.js → terminals-table-C6NO2m-t.js} +3 -3
  331. package/dist/esm/{utils-lb8p1Exq.js → utils-BscIVFn8.js} +6 -1
  332. package/dist/esm/utils-_ckvHjSW.js +11 -0
  333. package/dist/esm/webcomponents.js +4 -4
  334. package/dist/module/ModularCheckout.js +57 -0
  335. package/dist/module/Refund.js +2 -0
  336. package/dist/module/additional-questions-details2.js +4 -2
  337. package/dist/module/additional-questions.js +6 -4
  338. package/dist/module/additional-statement.js +5 -3
  339. package/dist/module/bank-account-billing-form-simple.js +5 -3
  340. package/dist/module/bank-account-document-inputs.js +5 -3
  341. package/dist/module/bank-account-form-inputs2.js +5 -3
  342. package/dist/module/bank-account-form.js +10 -13
  343. package/dist/module/bank-account.js +7 -13
  344. package/dist/module/billing-form-full.js +4 -2
  345. package/dist/module/billing-form.js +4 -2
  346. package/dist/module/business-additional-questions-form-step-core.js +4 -2
  347. package/dist/module/business-additional-questions-form-step.js +5 -3
  348. package/dist/module/business-bank-account-form-step-core.js +4 -2
  349. package/dist/module/business-bank-account-form-step.js +5 -3
  350. package/dist/module/business-core-info-form-step-core.js +4 -2
  351. package/dist/module/business-core-info-form-step.js +5 -3
  352. package/dist/module/business-core-info.js +5 -3
  353. package/dist/module/business-details-core2.js +6 -19
  354. package/dist/module/business-documents-on-file2.js +4 -2
  355. package/dist/module/business-owners-form-step-core.js +4 -2
  356. package/dist/module/business-owners-form-step.js +5 -3
  357. package/dist/module/business-representative-form-inputs.js +5 -3
  358. package/dist/module/business-representative-form-step-core.js +4 -2
  359. package/dist/module/business-representative-form-step.js +5 -3
  360. package/dist/module/business-representative.js +6 -4
  361. package/dist/module/business-terms-conditions-form-step.js +5 -3
  362. package/dist/module/button.js +1 -2
  363. package/dist/module/cancellation-policy.js +5 -3
  364. package/dist/module/card-billing-form-simple.js +5 -3
  365. package/dist/module/card-form.js +10 -17
  366. package/dist/module/card-form2.js +7 -17
  367. package/dist/module/checkout.store.js +42 -31
  368. package/dist/module/checkouts-list-core2.js +6 -6
  369. package/dist/module/core-info-details2.js +4 -2
  370. package/dist/module/custom-popper2.js +6 -4
  371. package/dist/module/customer-details.js +5 -3
  372. package/dist/module/details.js +5 -3
  373. package/dist/module/dispute-management-core.js +5 -3
  374. package/dist/module/dispute-notification.js +5 -3
  375. package/dist/module/dispute-response-core.js +5 -3
  376. package/dist/module/dispute-response.js +5 -3
  377. package/dist/module/duplicate-charge.js +5 -3
  378. package/dist/module/electronic-evidence.js +5 -3
  379. package/dist/module/form-alert2.js +4 -2
  380. package/dist/module/form-control-checkbox2.js +6 -4
  381. package/dist/module/form-control-date2.js +6 -4
  382. package/dist/module/form-control-file-v22.js +5 -3
  383. package/dist/module/form-control-file2.js +6 -4
  384. package/dist/module/form-control-help-text2.js +4 -2
  385. package/dist/module/form-control-monetary-provisioning2.js +6 -4
  386. package/dist/module/form-control-monetary2.js +6 -4
  387. package/dist/module/form-control-number-masked2.js +6 -4
  388. package/dist/module/form-control-number.js +6 -4
  389. package/dist/module/form-control-radio2.js +7 -5
  390. package/dist/module/form-control-select2.js +6 -4
  391. package/dist/module/form-control-text2.js +6 -4
  392. package/dist/module/form-control-textarea2.js +6 -4
  393. package/dist/module/form-control-tooltip2.js +4 -2
  394. package/dist/module/gross-payment-chart-core2.js +6 -4
  395. package/dist/module/hidden-input2.js +5 -3
  396. package/dist/module/identity-address-form.js +5 -3
  397. package/dist/module/iframe-input2.js +7 -5
  398. package/dist/module/index.js +1 -0
  399. package/dist/module/justifi-apple-pay.js +174 -86
  400. package/dist/module/justifi-business-details.js +4 -2
  401. package/dist/module/justifi-business-form.js +6 -19
  402. package/dist/module/justifi-button2.js +5 -3
  403. package/dist/module/justifi-checkout.js +15 -4
  404. package/dist/module/justifi-checkouts-list-filters.js +5 -3
  405. package/dist/module/justifi-checkouts-list.js +5 -3
  406. package/dist/module/justifi-config-provider.js +4 -2
  407. package/dist/module/justifi-dispute-management.js +5 -3
  408. package/dist/module/justifi-gross-payment-chart.js +4 -2
  409. package/dist/module/justifi-header2.js +5 -3
  410. package/dist/module/justifi-order-terminals.js +9 -35
  411. package/dist/module/justifi-payment-details.js +4 -2
  412. package/dist/module/justifi-payment-provisioning.js +5 -3
  413. package/dist/module/justifi-payment-transactions-list.js +6 -6
  414. package/dist/module/justifi-payments-list-filters.js +6 -4
  415. package/dist/module/justifi-payments-list.js +5 -3
  416. package/dist/module/justifi-payout-details.js +4 -2
  417. package/dist/module/justifi-payout-transactions-list.js +8 -12
  418. package/dist/module/justifi-payouts-list-filters.js +6 -4
  419. package/dist/module/justifi-payouts-list.js +5 -3
  420. package/dist/module/justifi-radio-list-item2.js +6 -4
  421. package/dist/module/justifi-refund-payment.js +6 -10
  422. package/dist/module/justifi-saved-payment-method.js +5 -3
  423. package/dist/module/justifi-season-interruption-insurance.js +6 -16
  424. package/dist/module/justifi-skeleton.js +5 -3
  425. package/dist/module/justifi-terminal-orders-list-filters.js +6 -4
  426. package/dist/module/justifi-terminal-orders-list.js +5 -3
  427. package/dist/module/justifi-terminals-list-filters.js +5 -3
  428. package/dist/module/justifi-terminals-list.js +5 -3
  429. package/dist/module/legal-address-details2.js +4 -2
  430. package/dist/module/legal-address-form-step-core.js +4 -2
  431. package/dist/module/legal-address-form-step.js +5 -3
  432. package/dist/module/legal-address-form.js +6 -4
  433. package/dist/module/modular-checkout.js +102 -39
  434. package/dist/module/owner-details2.js +4 -2
  435. package/dist/module/owner-form-core2.js +5 -3
  436. package/dist/module/owner-form-inputs2.js +6 -4
  437. package/dist/module/owner-form.js +5 -3
  438. package/dist/module/package.js +1 -1
  439. package/dist/module/pagination-menu2.js +7 -5
  440. package/dist/module/payment-details-core2.js +13 -23
  441. package/dist/module/payment-method-option.js +5 -3
  442. package/dist/module/payment-provisioning-core.js +5 -3
  443. package/dist/module/payment-provisioning-form-buttons.js +5 -3
  444. package/dist/module/payment-provisioning-form-steps.js +5 -3
  445. package/dist/module/payment-provisioning-loading.js +2 -17
  446. package/dist/module/payments-list-core2.js +6 -6
  447. package/dist/module/payout-details-core2.js +8 -18
  448. package/dist/module/payouts-list-core2.js +7 -7
  449. package/dist/module/plaid-payment-method.js +49 -104
  450. package/dist/module/plaid.service.js +26 -0
  451. package/dist/module/product-or-service.js +5 -3
  452. package/dist/module/refund-policy.js +5 -3
  453. package/dist/module/representative-details2.js +4 -2
  454. package/dist/module/save-new-payment-method.js +7 -3
  455. package/dist/module/saved-payment-methods.js +13 -12
  456. package/dist/module/sezzle-payment-method.js +14 -24
  457. package/dist/module/shipping-details.js +5 -3
  458. package/dist/module/spinner.js +1 -3
  459. package/dist/module/styled-host.js +1 -3
  460. package/dist/module/summary.js +5 -3
  461. package/dist/module/table-filters-menu2.js +5 -3
  462. package/dist/module/table.js +3 -9
  463. package/dist/module/terminal-orders-list-core2.js +7 -9
  464. package/dist/module/terminal-quantity-selector2.js +5 -3
  465. package/dist/module/terminals-list-core2.js +6 -4
  466. package/dist/module/tokenize-payment-method.js +16 -12
  467. package/dist/module/utils.js +5 -16
  468. package/dist/module/utils2.js +6 -1
  469. package/dist/types/api/Checkout.d.ts +7 -15
  470. package/dist/types/api/Payment.d.ts +3 -1
  471. package/dist/types/api/index.d.ts +2 -2
  472. package/dist/types/api/services/apple-pay.service.d.ts +7 -0
  473. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +1 -1
  474. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +1 -0
  475. package/dist/types/components/checkout/card-form/card-form.d.ts +1 -0
  476. package/dist/types/components/checkout/checkout.d.ts +5 -0
  477. package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -0
  478. package/dist/types/components/modular-checkout/ModularCheckout.d.ts +41 -0
  479. package/dist/types/components/modular-checkout/modular-checkout.d.ts +5 -5
  480. package/dist/types/components/modular-checkout/sub-components/apple-pay-skeleton.d.ts +1 -1
  481. package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +9 -3
  482. package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.d.ts +1 -2
  483. package/dist/types/components/modular-checkout/sub-components/saved-payment-methods.d.ts +3 -3
  484. package/dist/types/components/modular-checkout/sub-components/sezzle-payment-method.d.ts +1 -1
  485. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -1
  486. package/dist/types/components.d.ts +31 -29
  487. package/dist/types/index.d.ts +4 -0
  488. package/dist/types/stencil-public-runtime.d.ts +21 -0
  489. package/dist/types/store/checkout.store.d.ts +12 -5
  490. package/dist/types/ui-components/form/form-control-radio.d.ts +1 -1
  491. package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +1 -1
  492. package/dist/types/utils/utils.d.ts +1 -0
  493. package/dist/webcomponents/index.esm.js +1 -0
  494. package/dist/webcomponents/{p-497632ad.entry.js → p-037d7061.entry.js} +1 -1
  495. package/dist/webcomponents/{p-4e3bf98f.entry.js → p-070c29ce.entry.js} +1 -1
  496. package/dist/webcomponents/{p-54ca3070.entry.js → p-0801324e.entry.js} +1 -1
  497. package/dist/webcomponents/{p-6255c685.entry.js → p-10278c48.entry.js} +1 -1
  498. package/dist/webcomponents/p-19ccbeee.entry.js +1 -0
  499. package/dist/webcomponents/{p-15705e8a.entry.js → p-1b3b6956.entry.js} +1 -1
  500. package/dist/webcomponents/{p-9846b23d.entry.js → p-1b7926f6.entry.js} +1 -1
  501. package/dist/webcomponents/p-1c433962.entry.js +1 -0
  502. package/dist/webcomponents/{p-2f01dfd2.entry.js → p-1d7139d3.entry.js} +1 -1
  503. package/dist/webcomponents/p-214fa6e0.entry.js +1 -0
  504. package/dist/webcomponents/{p-f13ae573.entry.js → p-2246aa69.entry.js} +1 -1
  505. package/dist/webcomponents/p-246ef4ff.entry.js +1 -0
  506. package/dist/webcomponents/{p-4213d10e.entry.js → p-27fc3ef0.entry.js} +3 -3
  507. package/dist/webcomponents/p-2d818d44.entry.js +1 -0
  508. package/dist/webcomponents/p-30147031.entry.js +1 -0
  509. package/dist/webcomponents/p-3546a5aa.entry.js +1 -0
  510. package/dist/webcomponents/p-3621a429.entry.js +1 -0
  511. package/dist/webcomponents/{p-f1cba43c.entry.js → p-3d37045d.entry.js} +1 -1
  512. package/dist/webcomponents/p-406ba650.entry.js +1 -0
  513. package/dist/webcomponents/{p-36a71a36.entry.js → p-4215ea76.entry.js} +1 -1
  514. package/dist/webcomponents/p-44d1341c.entry.js +1 -0
  515. package/dist/webcomponents/{p-36d9d95a.entry.js → p-4b1abc3b.entry.js} +1 -1
  516. package/dist/webcomponents/p-4d5c71c4.entry.js +1 -0
  517. package/dist/webcomponents/p-4ea83bfd.entry.js +1 -0
  518. package/dist/webcomponents/p-558f7967.entry.js +1 -0
  519. package/dist/webcomponents/p-5c477f08.entry.js +1 -0
  520. package/dist/webcomponents/p-62a16ef9.entry.js +1 -0
  521. package/dist/webcomponents/p-65286b2b.entry.js +1 -0
  522. package/dist/webcomponents/p-68329f16.entry.js +1 -0
  523. package/dist/webcomponents/p-6af851c5.entry.js +1 -0
  524. package/dist/webcomponents/{p-aeeb0f68.entry.js → p-6d4ae6c7.entry.js} +1 -1
  525. package/dist/webcomponents/p-6fe79f16.entry.js +1 -0
  526. package/dist/webcomponents/p-7494c1b6.entry.js +1 -0
  527. package/dist/webcomponents/p-7aeb20d2.entry.js +1 -0
  528. package/dist/webcomponents/{p-28618e6f.entry.js → p-7c5cd118.entry.js} +1 -1
  529. package/dist/webcomponents/p-8018523d.entry.js +1 -0
  530. package/dist/webcomponents/{p-4178bdbe.entry.js → p-83fa6da1.entry.js} +1 -1
  531. package/dist/webcomponents/p-84043580.entry.js +1 -0
  532. package/dist/webcomponents/{p-48e87a26.entry.js → p-84ccc7bb.entry.js} +1 -1
  533. package/dist/webcomponents/p-8975bf93.entry.js +1 -0
  534. package/dist/webcomponents/{p-bc2da364.entry.js → p-9046afd6.entry.js} +1 -1
  535. package/dist/webcomponents/p-906fdf0c.entry.js +1 -0
  536. package/dist/webcomponents/{p-9a2c044f.entry.js → p-90e43440.entry.js} +1 -1
  537. package/dist/webcomponents/{p-70f51444.entry.js → p-914e168d.entry.js} +1 -1
  538. package/dist/webcomponents/p-91c1e2ac.entry.js +1 -0
  539. package/dist/webcomponents/p-95348ff6.entry.js +1 -0
  540. package/dist/webcomponents/p-9f04cac4.entry.js +1 -0
  541. package/dist/webcomponents/{p-0mMX1Zv4.js → p-B4idKqyn.js} +1 -1
  542. package/dist/webcomponents/{p-zdIeCUeh.js → p-BHf9IqGw.js} +1 -1
  543. package/dist/webcomponents/{p-DNo0OPOP.js → p-BIPdn2VU.js} +1 -1
  544. package/dist/webcomponents/{p-BPtcGAzB.js → p-BUa0YOaw.js} +1 -1
  545. package/dist/webcomponents/{p-B8iBcmNu.js → p-BY2p6Sxk.js} +1 -1
  546. package/dist/webcomponents/{p-CB0mCq1M.js → p-BZ7C9duj.js} +1 -1
  547. package/dist/webcomponents/{p-DGmp4ErD.js → p-BdLLGV9t.js} +1 -1
  548. package/dist/webcomponents/p-BguBT6Hn.js +1 -0
  549. package/dist/webcomponents/{p-DhGNCW2f.js → p-Bp_QFeog.js} +1 -1
  550. package/dist/webcomponents/{p-B71k50jz.js → p-Bvp7uul3.js} +1 -1
  551. package/dist/webcomponents/{p-CvG-itHC.js → p-C1xGBPma.js} +1 -1
  552. package/dist/webcomponents/p-C3n7-tlg.js +1 -0
  553. package/dist/webcomponents/{p-DxqCFDtF.js → p-CLQx9p9q.js} +1 -1
  554. package/dist/webcomponents/{p-b21ncS7l.js → p-CPVN4dXS.js} +1 -1
  555. package/dist/webcomponents/p-CQeex56P.js +1 -0
  556. package/dist/webcomponents/p-CU4XQ3fO.js +1 -0
  557. package/dist/webcomponents/{p-Bb-6bNcq.js → p-C_3N7nqh.js} +1 -1
  558. package/dist/webcomponents/{p-BRLwUSZk.js → p-CaxjN6Uo.js} +1 -1
  559. package/dist/webcomponents/p-CpKvg1ok.js +1 -0
  560. package/dist/webcomponents/p-CrQgyTRz.js +1 -0
  561. package/dist/webcomponents/{p-B_6n1dAh.js → p-CtA2NMVz.js} +1 -1
  562. package/dist/webcomponents/{p-Bu1jU017.js → p-CxzFvTgf.js} +1 -1
  563. package/dist/webcomponents/{p-DVBbk00Z.js → p-CzPUMw00.js} +1 -1
  564. package/dist/webcomponents/{p-DDUmOl3v.js → p-D--yCspA.js} +1 -1
  565. package/dist/webcomponents/{p-qWQmu-fb.js → p-D-JYHdJ7.js} +1 -1
  566. package/dist/webcomponents/p-D6XirF21.js +1 -0
  567. package/dist/webcomponents/p-DCIW8z1f.js +1 -0
  568. package/dist/webcomponents/{p-BfM6X7lF.js → p-DCMrHeJI.js} +1 -1
  569. package/dist/webcomponents/p-DbX0g1WF.js +1 -0
  570. package/dist/webcomponents/p-De8UloOS.js +1 -0
  571. package/dist/webcomponents/p-DsAwPf2y.js +1 -0
  572. package/dist/webcomponents/p-DvZcI6pC.js +1 -0
  573. package/dist/webcomponents/p-DyDHaG6n.js +1 -0
  574. package/dist/webcomponents/{p-D2_iJUrZ.js → p-DyOgQlh2.js} +1 -1
  575. package/dist/webcomponents/p-IG_KR8zP.js +1 -0
  576. package/dist/webcomponents/p-Xv8DuU3Y.js +1 -0
  577. package/dist/webcomponents/p-a0909318.entry.js +1 -0
  578. package/dist/webcomponents/p-a57c1400.entry.js +1 -0
  579. package/dist/webcomponents/{p-d46dbb83.entry.js → p-a71a5e64.entry.js} +1 -1
  580. package/dist/webcomponents/p-a85cf3e0.entry.js +1 -0
  581. package/dist/webcomponents/{p-72dda22b.entry.js → p-a90b8b93.entry.js} +1 -1
  582. package/dist/webcomponents/p-bb03a95a.entry.js +1 -0
  583. package/dist/webcomponents/p-c16c0cbc.entry.js +1 -0
  584. package/dist/webcomponents/p-c4Mh3ZZ_.js +1 -0
  585. package/dist/webcomponents/p-d2259dfd.entry.js +1 -0
  586. package/dist/webcomponents/p-d8e5d7b7.entry.js +1 -0
  587. package/dist/webcomponents/p-df385efe.entry.js +1 -0
  588. package/dist/webcomponents/{p-14ff3155.entry.js → p-df7f36aa.entry.js} +1 -1
  589. package/dist/webcomponents/p-e035a92e.entry.js +1 -0
  590. package/dist/webcomponents/{p-3e667b07.entry.js → p-e2a38ad0.entry.js} +1 -1
  591. package/dist/webcomponents/p-e628a0c8.entry.js +1 -0
  592. package/dist/webcomponents/p-e6516014.entry.js +1 -0
  593. package/dist/webcomponents/{p-97c0dde4.entry.js → p-e6e96be2.entry.js} +1 -1
  594. package/dist/webcomponents/p-e79338f9.entry.js +1 -0
  595. package/dist/webcomponents/p-e7edf4f4.entry.js +1 -0
  596. package/dist/webcomponents/p-eafd179b.entry.js +1 -0
  597. package/dist/webcomponents/p-f5c3f489.entry.js +1 -0
  598. package/dist/webcomponents/{p-C5id7s_l.js → p-fUtq2xDs.js} +1 -1
  599. package/dist/webcomponents/{p-7cf87637.entry.js → p-ffe01f1b.entry.js} +1 -1
  600. package/dist/webcomponents/{p-Dgflaz6J.js → p-oGKW57R8.js} +1 -1
  601. package/dist/webcomponents/p-qipqIMyC.js +2 -0
  602. package/dist/webcomponents/p-tyhA5jkt.js +1 -0
  603. package/dist/webcomponents/p-xY5RkFuA.js +1 -0
  604. package/dist/webcomponents/webcomponents.esm.js +1 -1
  605. package/package.json +14 -14
  606. package/LICENSE +0 -21
  607. package/dist/cjs/spinner-jmeA44Ee.js +0 -12
  608. package/dist/cjs/terminals-list-params-state-Cewmin_p.js +0 -22
  609. package/dist/cjs/utils-Bzyj4qWe.js +0 -29
  610. package/dist/esm/spinner-DUzyWLhj.js +0 -10
  611. package/dist/esm/terminals-list-params-state-D8tzsGR_.js +0 -16
  612. package/dist/esm/utils-Dg6gMUTv.js +0 -22
  613. package/dist/webcomponents/p-040e8524.entry.js +0 -1
  614. package/dist/webcomponents/p-0db9943e.entry.js +0 -1
  615. package/dist/webcomponents/p-1288fda5.entry.js +0 -1
  616. package/dist/webcomponents/p-3aecd2cd.entry.js +0 -1
  617. package/dist/webcomponents/p-3bf63d1e.entry.js +0 -1
  618. package/dist/webcomponents/p-41e17edd.entry.js +0 -1
  619. package/dist/webcomponents/p-43c5f490.entry.js +0 -1
  620. package/dist/webcomponents/p-44450a94.entry.js +0 -1
  621. package/dist/webcomponents/p-5580e6ca.entry.js +0 -1
  622. package/dist/webcomponents/p-57dde36e.entry.js +0 -1
  623. package/dist/webcomponents/p-5bc6f5ca.entry.js +0 -1
  624. package/dist/webcomponents/p-5f87add5.entry.js +0 -1
  625. package/dist/webcomponents/p-60206d9c.entry.js +0 -1
  626. package/dist/webcomponents/p-613421d4.entry.js +0 -1
  627. package/dist/webcomponents/p-6c9732b6.entry.js +0 -1
  628. package/dist/webcomponents/p-7089fb85.entry.js +0 -1
  629. package/dist/webcomponents/p-7500c5b7.entry.js +0 -1
  630. package/dist/webcomponents/p-79da5350.entry.js +0 -1
  631. package/dist/webcomponents/p-87884ca5.entry.js +0 -1
  632. package/dist/webcomponents/p-88905a54.entry.js +0 -1
  633. package/dist/webcomponents/p-8990707a.entry.js +0 -1
  634. package/dist/webcomponents/p-8b7cbdbf.entry.js +0 -1
  635. package/dist/webcomponents/p-8cca8903.entry.js +0 -1
  636. package/dist/webcomponents/p-8dc4eb6a.entry.js +0 -1
  637. package/dist/webcomponents/p-8ff839a4.entry.js +0 -1
  638. package/dist/webcomponents/p-95cbb655.entry.js +0 -1
  639. package/dist/webcomponents/p-98cffba9.entry.js +0 -1
  640. package/dist/webcomponents/p-9df86b97.entry.js +0 -1
  641. package/dist/webcomponents/p-9edfd38c.entry.js +0 -1
  642. package/dist/webcomponents/p-9f5c9e41.entry.js +0 -1
  643. package/dist/webcomponents/p-B5Rc83j1.js +0 -1
  644. package/dist/webcomponents/p-BEPUC3Po.js +0 -1
  645. package/dist/webcomponents/p-BP7op0vq.js +0 -1
  646. package/dist/webcomponents/p-BQ2TIFoY.js +0 -1
  647. package/dist/webcomponents/p-BSt6p1oq.js +0 -1
  648. package/dist/webcomponents/p-BY1mRAvj.js +0 -1
  649. package/dist/webcomponents/p-BbZwa5UI.js +0 -1
  650. package/dist/webcomponents/p-BiWRKUx3.js +0 -1
  651. package/dist/webcomponents/p-Bn7inNWG.js +0 -2
  652. package/dist/webcomponents/p-C6c6Q0E7.js +0 -1
  653. package/dist/webcomponents/p-CaAVuW6B.js +0 -1
  654. package/dist/webcomponents/p-CpaS1Lex.js +0 -1
  655. package/dist/webcomponents/p-DD0Mvpeu.js +0 -1
  656. package/dist/webcomponents/p-DIDloHpm.js +0 -1
  657. package/dist/webcomponents/p-Dc1CS9Mi.js +0 -1
  658. package/dist/webcomponents/p-DsZZxRXY.js +0 -1
  659. package/dist/webcomponents/p-a1d3bb81.entry.js +0 -1
  660. package/dist/webcomponents/p-a9957ca5.entry.js +0 -1
  661. package/dist/webcomponents/p-abbf14b5.entry.js +0 -1
  662. package/dist/webcomponents/p-b2dcef65.entry.js +0 -1
  663. package/dist/webcomponents/p-c44325f8.entry.js +0 -1
  664. package/dist/webcomponents/p-c874ca2b.entry.js +0 -1
  665. package/dist/webcomponents/p-caac63bf.entry.js +0 -1
  666. package/dist/webcomponents/p-d72e8541.entry.js +0 -1
  667. package/dist/webcomponents/p-da44dc6e.entry.js +0 -1
  668. package/dist/webcomponents/p-e0cb5de5.entry.js +0 -1
  669. package/dist/webcomponents/p-eP3fmhta.js +0 -1
  670. package/dist/webcomponents/p-ecce97b3.entry.js +0 -1
  671. package/dist/webcomponents/p-f680e617.entry.js +0 -1
  672. package/dist/webcomponents/p-fd4ffaa2.entry.js +0 -1
  673. package/dist/webcomponents/p-sw5RO19U.js +0 -1
@@ -14,9 +14,11 @@ import { d as defineCustomElement$2 } from './business-representative-form-input
14
14
  import { d as defineCustomElement$1 } from './identity-address-form.js';
15
15
 
16
16
  const BusinessRepresentativeFormStepCore = /*@__PURE__*/ proxyCustomElement(class BusinessRepresentativeFormStepCore extends HTMLElement {
17
- constructor() {
17
+ constructor(registerHost) {
18
18
  super();
19
- this.__registerHost();
19
+ if (registerHost !== false) {
20
+ this.__registerHost();
21
+ }
20
22
  this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
21
23
  this.errorEvent = createEvent(this, "error-event", 7);
22
24
  this.formLoading = createEvent(this, "formLoading", 7);
@@ -13,9 +13,11 @@ import { d as defineCustomElement$2 } from './business-representative-form-step-
13
13
  import { d as defineCustomElement$1 } from './identity-address-form.js';
14
14
 
15
15
  const BusinessRepresentativeFormStep = /*@__PURE__*/ proxyCustomElement(class BusinessRepresentativeFormStep extends HTMLElement {
16
- constructor() {
16
+ constructor(registerHost) {
17
17
  super();
18
- this.__registerHost();
18
+ if (registerHost !== false) {
19
+ this.__registerHost();
20
+ }
19
21
  this.errorEvent = createEvent(this, "error-event", 7);
20
22
  }
21
23
  propChanged() {
@@ -49,7 +51,7 @@ const BusinessRepresentativeFormStep = /*@__PURE__*/ proxyCustomElement(class Bu
49
51
  }
50
52
  }
51
53
  render() {
52
- return (h("justifi-business-representative-form-step-core", { key: '582c77f4b763573a1d29726285a9b871afe96d89', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
54
+ return (h("justifi-business-representative-form-step-core", { key: '241cd9ff1afae3bf1f9107cf6f66392b7b656471', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
53
55
  }
54
56
  static get watchers() { return {
55
57
  "authToken": ["propChanged"],
@@ -11,9 +11,11 @@ import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
11
11
  import { d as defineCustomElement$1 } from './identity-address-form.js';
12
12
 
13
13
  const BusinessRepresentative = /*@__PURE__*/ proxyCustomElement(class BusinessRepresentative extends HTMLElement {
14
- constructor() {
14
+ constructor(registerHost) {
15
15
  super();
16
- this.__registerHost();
16
+ if (registerHost !== false) {
17
+ this.__registerHost();
18
+ }
17
19
  this.errors = {};
18
20
  this.representative = {};
19
21
  this.inputHandler = (name, value) => {
@@ -36,10 +38,10 @@ const BusinessRepresentative = /*@__PURE__*/ proxyCustomElement(class BusinessRe
36
38
  }
37
39
  render() {
38
40
  const representativeDefaultValue = this.formController.getInitialValues().representative;
39
- return (h(Host, { key: '88bd35928331776d5cbb7d085fd55a76fde1a084' }, h("fieldset", { key: '202c40f332352c2f4d3c8a136888c39c67379e5f' }, h("legend", { key: 'a0b5043b348b1d8632a6bf0fe2d4309a8132d1f7', part: heading2 }, "Representative"), h("div", { key: 'ba50c004e2b37f384dd8af63b1e0e397abadb9de', class: "row gy-3" }, h("div", { key: 'b85bf5fb0da9e8feae19dbebb0a911362e914601', class: "col-12 col-md-8" }, h("form-control-text", { key: '95f849c7c0ba0c67bdc0a55727e00755e03897ef', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '074067a3ce960b678ea38d53b84adda24e60754c', class: "col-12 col-md-4" }, h("form-control-text", { key: '7ef397af32b7c0f79eeae1499bf3d3d147961c96', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: 'a26bfd8a0824aaa12c6ffa48ac58c2bccc7236ef', class: "col-12 col-md-6" }, h("form-control-text", { key: '39174c4b812462d1aa28824bca550e3f6e1d98b4', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'ed0a2c52e4df0c43b2536dfd1ff3692a4e5716d9', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '07bdcc1dd2e1473b64218eb28c8cdcf1cdce2a91', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '96092fd371ec82a8f8ebbf8bc4e3064768d4ad97', class: "col-12 col-md-4" }, h("form-control-date", { key: 'c24980f126c056aff139e897fdef9795905ea89b', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: '9d1695fa6e68bb4ae9a8184dcb5e15d588474ab8', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '8d8a56c08fb06f1a54baf3ee3d6e31a684205290', name: "identification_number", label: this.identificationNumberLabel, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK })), h("div", { key: '22fa5e16517e14ab031aa5e7e95ea77bd7b28986', class: "col-12" }, h("justifi-identity-address-form", { key: '4a990de739a0ae6fbf1f6a621ff7c0078517e970', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
41
+ return (h(Host, { key: '94097bf5ab94fc900918d44510ea8810f2a1984d' }, h("fieldset", { key: '95619d9fa81838e5a08e191845a7343f8b3609ce' }, h("legend", { key: '9ec4d2470dc31e3128c0d3351e3983dc07bca92e', part: heading2 }, "Representative"), h("div", { key: 'a2b1d8ab98e3683c6ad57d6a6dfb259b27a8cd0f', class: "row gy-3" }, h("div", { key: 'ce36f02cde3b989b427418b7c09b92bcbc9638f1', class: "col-12 col-md-8" }, h("form-control-text", { key: '7912bcd5f4f4d5870a08529d09a21994911a7262', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '57f138c87e53aa0b555dc5d7ebe699c6207e5825', class: "col-12 col-md-4" }, h("form-control-text", { key: 'd98d5cfcb5f4a7e1dd9eb0e55844bb8a210bd305', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: '08093caed32f9124c48fc73e05b2e5ec698fac5d', class: "col-12 col-md-6" }, h("form-control-text", { key: 'ef868e698b2369934bfeee522d8f4a7ff4924074', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'ffb1c8a6ccd2df1a198f679ad02d3921821939b9', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'ce4cd6e4edacdc536f74b85341fe35dc4aae435e', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '27d97a8149ba81e7576e850c8c273298c8394f51', class: "col-12 col-md-4" }, h("form-control-date", { key: '5cd76163b49822f9dcbd3339c89a0afffcc4247f', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: '62bd3c48ccc31d7f36a00bc27eafefc3369226e3', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '7d43730b2615e7b515ca6c66d90ceeb573e61d6a', name: "identification_number", label: this.identificationNumberLabel, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK })), h("div", { key: 'ec6cb5f493f5335f6b0490894577eb401f1c150a', class: "col-12" }, h("justifi-identity-address-form", { key: '6ecffcd10914504148573e99a708cae6d6976cd2', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
40
42
  }
41
43
  }, [256, "justifi-business-representative", {
42
- "formController": [16, "form-controller"],
44
+ "formController": [8, "form-controller"],
43
45
  "errors": [32],
44
46
  "representative": [32]
45
47
  }]);
@@ -21,9 +21,11 @@ const businessTermsConditionsSchema = (allowOptionalFields) => {
21
21
  };
22
22
 
23
23
  const BusinessTermsConditionsFormStep = /*@__PURE__*/ proxyCustomElement(class BusinessTermsConditionsFormStep extends HTMLElement {
24
- constructor() {
24
+ constructor(registerHost) {
25
25
  super();
26
- this.__registerHost();
26
+ if (registerHost !== false) {
27
+ this.__registerHost();
28
+ }
27
29
  this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
28
30
  this.errorEvent = createEvent(this, "error-event", 7);
29
31
  this.formLoading = createEvent(this, "formLoading", 7);
@@ -129,7 +131,7 @@ const BusinessTermsConditionsFormStep = /*@__PURE__*/ proxyCustomElement(class B
129
131
  return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
130
132
  }
131
133
  render() {
132
- return (h("form", { key: '8cea6fff2e5b5cbfa7de6b3adfce238153599d1e' }, h("fieldset", { key: 'ef3c4ce5d0d03f1d048e072c6f7ac3da565ffb18' }, h("legend", { key: 'caa5fee86bd4b5c2a7204a76ae3533146526b9e1', part: heading2 }, "Terms and Conditions"), h("hr", { key: '5a72caeaf2dae8f57c0be09ca21feceb0793daf4' }), h("div", { key: 'e39700b83a10c479cf6d767c1af61ac8b480e4d5' }, h("p", { key: '2b8520977bedf73c295a387095724a561391b005' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '706ec9ecfd4a0909583745f90b36eeb42fa5e690' }), h("div", { key: 'd915e2c49188b829b33b03f07cc8f1ccea99ee1d', class: "row-gy-3" }, h("div", { key: 'cbbc74e6b5e80bf54884a8f41eb94f6d5bcdb6dd', class: "col-12" }, h("form-control-checkbox", { key: 'f63aed196d33f1760dae8c5ac5487c0fbc7d4838', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
134
+ return (h("form", { key: 'ed3e493e5c53e303c98e97a15149cffd2865de47' }, h("fieldset", { key: 'a4be899152d7930c2e5ac8b384f866ba313a434f' }, h("legend", { key: '6b473d236380c13ec4186cb5088f976349f18e7c', part: heading2 }, "Terms and Conditions"), h("hr", { key: '4ef52973bed72265e0ef29f0ac6e7a0ac1142f8a' }), h("div", { key: '621d89594d6335d10a746af628ce85df0bf4a71f' }, h("p", { key: '2f13e9851fdfa4b8f678de19261e7df7a7968cc0' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '7951565f2ad57491cbba0d05d650eb0aea1aea54' }), h("div", { key: 'e7d727efbd5d732b31746d3cc61eeaf9eb4b1ff6', class: "row-gy-3" }, h("div", { key: 'b6d8d501530fbe4de7c11eb46218c618a7aec26f', class: "col-12" }, h("form-control-checkbox", { key: '79030af1a43bc5d1742726b8ea66d6dda3306473', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
133
135
  }
134
136
  }, [256, "justifi-business-terms-conditions-form-step", {
135
137
  "authToken": [1, "auth-token"],
@@ -1,8 +1,7 @@
1
1
  import { h } from '@stencil/core/internal/client';
2
2
  import { $ as buttonSecondary, a0 as buttonPrimary, a1 as buttonLoading } from './parts.js';
3
3
 
4
- const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" },
5
- h("span", { class: "visually-hidden" }, "Loading...")));
4
+ const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" }, h("span", { class: "visually-hidden" }, "Loading...")));
6
5
 
7
6
  const Button = (props, children) => {
8
7
  const variantToButton = {
@@ -14,9 +14,11 @@ const CancellationPolicySchema = create$3({
14
14
  });
15
15
 
16
16
  const CancellationPolicy = /*@__PURE__*/ proxyCustomElement(class CancellationPolicy extends HTMLElement {
17
- constructor() {
17
+ constructor(registerHost) {
18
18
  super();
19
- this.__registerHost();
19
+ if (registerHost !== false) {
20
+ this.__registerHost();
21
+ }
20
22
  this.documentErrors = {};
21
23
  this.errors = {};
22
24
  this.documents = { cancellation_policy: [] };
@@ -39,7 +41,7 @@ const CancellationPolicy = /*@__PURE__*/ proxyCustomElement(class CancellationPo
39
41
  }
40
42
  render() {
41
43
  var _a, _b, _c;
42
- return (h("div", { key: '29819e51969e655219ccbdbb2e1d1b738b64f7d3' }, h("div", { key: '28279bbc8354128a5041ed6eac16d4966be1584c', class: "row gy-3" }, h("div", { key: '8b6215544f87a8c35b81a93a5f4826a35e0c0f9f', class: "col-12" }, h("h2", { key: 'b6337efb93f03ea48f2c29b1baef4929f236df2d', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: 'b7d78115378ecd0b4a4f8a43349f1b4f2527ca35', class: "col-12" }, h("form-control-textarea", { key: '6ab47f5626a945f222efceef43dc096061cb67ed', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '6aeccf798d112e79251408401c99d916a9065e94', class: "col-12" }, h("form-control-textarea", { key: '580e61e4370570c9a04496fef4b7ad9c19058336', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: 'e0deddf002b64d02bc5a5db075da11d2566dc3bb', class: "col-12" }, h("form-control-file-v2", { key: '3da55e915d4d3126456de8e95debc6d9e46dca42', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
44
+ 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 })))));
43
45
  }
44
46
  }, [256, "justifi-cancellation-policy", {
45
47
  "disputeResponse": [8, "dispute-response"],
@@ -12,9 +12,11 @@ import { d as defineCustomElement$2 } from './form-control-text2.js';
12
12
  import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
13
13
 
14
14
  const CardBillingFormSimple = /*@__PURE__*/ proxyCustomElement(class CardBillingFormSimple extends HTMLElement {
15
- constructor() {
15
+ constructor(registerHost) {
16
16
  super();
17
- this.__registerHost();
17
+ if (registerHost !== false) {
18
+ this.__registerHost();
19
+ }
18
20
  this.__attachShadow();
19
21
  this.errors = {};
20
22
  this.inputHandler = (name, value) => {
@@ -43,7 +45,7 @@ const CardBillingFormSimple = /*@__PURE__*/ proxyCustomElement(class CardBilling
43
45
  }
44
46
  render() {
45
47
  const billingFormDefaultValue = this.formController.getInitialValues();
46
- return (h(StyledHost, { key: 'a88ea2aa0b1cc2fccda7c169aad9c061e106ecfe' }, h("div", { key: '414df056d92819bf646886ca8e15f2ed10e6ab18', part: billingForm }, h("form", { key: 'c11f6eb5c7c5c1ecbeb8cc8f644a3b3ba72254c7' }, h("fieldset", { key: 'dd69c65ff7f36da3954c01ca2401e8ede6799f14' }, this.legend && (h("legend", { key: '25a86a61452b84237cc58c047916de22c35b764d' }, this.legend)), h("div", { key: '2fa8445fcf4ac0500f357d92480f18ccac655689', class: "row gy-3" }, h("div", { key: 'b7ac75fcab43435a03ad919757541f74661ce5b4', class: "col-12" }, h("form-control-text", { key: 'fd9e84c9605edf1a987c7243409eb0182f79a803', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
48
+ return (h(StyledHost, { key: '648204826c1e3979b8556ce9049f5e025a52b282' }, h("div", { key: 'dba0067b4662662653e424ff2c81c6edc831ed46', part: billingForm }, h("form", { key: '651812a32f1ee195f89238d1125573b6f9a62fa7' }, h("fieldset", { key: '15e9d4713fba88bb6de715c48b41b1c3ebfab9df' }, this.legend && (h("legend", { key: '783b34c1a9c2f4d407587b1a356ccf1e0e119993' }, this.legend)), h("div", { key: 'f322d2a29f50bff82167e9c5633a9f1d8b3f3cef', class: "row gy-3" }, h("div", { key: 'a02f6b275a02b32c37fd8c15921a582fa6a235a7', class: "col-12" }, h("form-control-text", { key: '3efd6677727b377bbf4432dc13c34500930ec801', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
47
49
  }
48
50
  }, [257, "justifi-card-billing-form-simple", {
49
51
  "legend": [1025],
@@ -1,6 +1,7 @@
1
1
  import { h, proxyCustomElement, HTMLElement, Host } from '@stencil/core/internal/client';
2
2
  import { S as Skeleton } from './skeleton.js';
3
3
  import { w as waitForConfig, c as configState } from './config-state.js';
4
+ import { j as generateTabId } from './utils2.js';
4
5
  import { d as defineCustomElement$2 } from './iframe-input2.js';
5
6
 
6
7
  const CardFormSkeleton = (props) => {
@@ -8,30 +9,21 @@ const CardFormSkeleton = (props) => {
8
9
  if (isReady) {
9
10
  return null;
10
11
  }
11
- return (h("div", { class: "container-fluid p-0" },
12
- h("div", { class: "mb-3" },
13
- h(Skeleton, { height: "18px", width: "100px" }),
14
- h(Skeleton, { height: "36px" })),
15
- h("div", { class: "row" },
16
- h("div", { class: "col-4 align-content-end" },
17
- h(Skeleton, { height: "18px", width: "80px" }),
18
- h(Skeleton, { height: "36px" })),
19
- h("div", { class: "col-4 align-content-end" },
20
- h(Skeleton, { height: "36px" })),
21
- h("div", { class: "col-4 align-content-end" },
22
- h(Skeleton, { height: "18px", width: "30px" }),
23
- h(Skeleton, { height: "36px" })))));
12
+ return (h("div", { class: "container-fluid p-0" }, h("div", { class: "mb-3" }, h(Skeleton, { height: "18px", width: "100px" }), h(Skeleton, { height: "36px" })), h("div", { class: "row" }, h("div", { class: "col-4 align-content-end" }, h(Skeleton, { height: "18px", width: "80px" }), h(Skeleton, { height: "36px" })), h("div", { class: "col-4 align-content-end" }, h(Skeleton, { height: "36px" })), h("div", { class: "col-4 align-content-end" }, h(Skeleton, { height: "18px", width: "30px" }), h(Skeleton, { height: "36px" })))));
24
13
  };
25
14
 
26
15
  const CardForm$1 = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLElement {
27
- constructor() {
16
+ constructor(registerHost) {
28
17
  super();
29
- this.__registerHost();
18
+ if (registerHost !== false) {
19
+ this.__registerHost();
20
+ }
30
21
  this.isReady = false;
31
22
  }
32
23
  async componentWillLoad() {
33
24
  await waitForConfig();
34
25
  this.iframeOrigin = configState.iframeOrigin;
26
+ this.tabId = generateTabId();
35
27
  }
36
28
  componentDidRender() {
37
29
  const elements = [
@@ -59,14 +51,15 @@ const CardForm$1 = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLE
59
51
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
60
52
  }
61
53
  render() {
62
- return (h(Host, { key: 'd5e5c74e5e3be0bb5a9603a89724d23cc6216d6c' }, h(CardFormSkeleton, { key: 'a1e90d74ca6e72678255590a94937932a9520046', isReady: this.isReady }), h("div", { key: 'bb303552ed581492de8ebb0d83cea751ddd90a09', class: "container-fluid p-0", style: {
54
+ return (h(Host, { key: '4918918c10e558587e1d356cee9ec8540ed88e1c' }, h(CardFormSkeleton, { key: 'e61d11784aa1a9ea84fe9f0544a84f587cdf6fa4', isReady: this.isReady }), h("div", { key: 'd0640890482bcb679c0d49e569ed34912aa37426', class: "container-fluid p-0", style: {
63
55
  opacity: this.isReady ? '1' : '0',
64
56
  height: this.isReady ? 'auto' : '0',
65
- } }, h("div", { key: '9641c97124a504729b1eba3e8704d8fd3fda7fde', class: "mb-3" }, h("iframe-input", { key: 'a5a73c00c2ac0cd12ef98b155a40108248529fb7', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'dad1b83f028745aa8b85a8e552f702d5daa3ac6f', class: "d-flex align-items-start" }, h("div", { key: '5de05029d93a81d5ad8c799135863e8cdd1e8619', class: "flex-fill me-3" }, h("iframe-input", { key: '4ec81652e51187bbaa25600299f8cb89f0c41c5c', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '0280f01efdbbfa3542036fa4ee7baec130e42688', class: "flex-fill me-3" }, h("iframe-input", { key: 'b13dba61a6bd18529e70987029592b5b7307e74b', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'edf1e383a148a2d535c4733a2b5af2d8e31e2f43', class: "flex-fill" }, h("iframe-input", { key: 'd63e832db1a089f36909db23cacb110f6571535c', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
57
+ } }, h("div", { key: 'ef3548ee5dcf517f5c31b3aa40fc5ed5f8e37f59', class: "mb-3" }, h("iframe-input", { key: '4fa52574bfe8334f3294e45b2e63bf109750f925', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '5ad5bfe88c1531a74a636e2e07572b8401095ecf', class: "d-flex align-items-start" }, h("div", { key: '29d9d3e3c0080243ea44ca7515c690b90bd0d944', class: "flex-fill me-3" }, h("iframe-input", { key: '01ebb2a6101d33b08135ac879fce192f57ea822e', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '769c4e873c4062ec90fae3a7b0606e8db49754c0', class: "flex-fill me-3" }, h("iframe-input", { key: 'a36c705e6f8231f01615ee8a878aa5427a11bcce', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: '2923118dc4ec2f107aad34e0f77ea3d58340a734', class: "flex-fill" }, h("iframe-input", { key: 'ec3226c1eca1705672e8ea7f80be47ca6f81838b', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
66
58
  }
67
59
  }, [256, "card-form", {
68
60
  "isReady": [32],
69
61
  "iframeOrigin": [32],
62
+ "tabId": [32],
70
63
  "validate": [64],
71
64
  "tokenize": [64]
72
65
  }]);
@@ -14,25 +14,15 @@ const CardFormSkeleton = (props) => {
14
14
  if (isReady) {
15
15
  return null;
16
16
  }
17
- return (h("div", { class: "container-fluid p-0" },
18
- h("div", { class: "mb-3" },
19
- h(Skeleton, { height: "18px", width: "100px" }),
20
- h(Skeleton, { height: "36px" })),
21
- h("div", { class: "row" },
22
- h("div", { class: "col-4 align-content-end" },
23
- h(Skeleton, { height: "18px", width: "80px" }),
24
- h(Skeleton, { height: "36px" })),
25
- h("div", { class: "col-4 align-content-end" },
26
- h(Skeleton, { height: "36px" })),
27
- h("div", { class: "col-4 align-content-end" },
28
- h(Skeleton, { height: "18px", width: "30px" }),
29
- h(Skeleton, { height: "36px" })))));
17
+ return (h("div", { class: "container-fluid p-0" }, h("div", { class: "mb-3" }, h(Skeleton, { height: "18px", width: "100px" }), h(Skeleton, { height: "36px" })), h("div", { class: "row" }, h("div", { class: "col-4 align-content-end" }, h(Skeleton, { height: "18px", width: "80px" }), h(Skeleton, { height: "36px" })), h("div", { class: "col-4 align-content-end" }, h(Skeleton, { height: "36px" })), h("div", { class: "col-4 align-content-end" }, h(Skeleton, { height: "18px", width: "30px" }), h(Skeleton, { height: "36px" })))));
30
18
  };
31
19
 
32
20
  const JustifiCardForm = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm extends HTMLElement {
33
- constructor() {
21
+ constructor(registerHost) {
34
22
  super();
35
- this.__registerHost();
23
+ if (registerHost !== false) {
24
+ this.__registerHost();
25
+ }
36
26
  this.__attachShadow();
37
27
  this.isReady = false;
38
28
  }
@@ -72,10 +62,10 @@ const JustifiCardForm = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm e
72
62
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
73
63
  }
74
64
  render() {
75
- return (h(StyledHost, { key: '75938c15dce1b5b078773f28c689c8f7d4ad5059' }, h(CardFormSkeleton, { key: 'fa27e1cb7262b012e69c6c88580bfa432edb13f0', isReady: this.isReady }), h("hidden-input", { key: '305afc644870ea4c5e11ade42e6f8b5504b0a299' }), h("div", { key: 'fc87adbea2130fd4334f2f7a8dbc666ad9b84f76', class: "container-fluid p-0", style: {
65
+ return (h(StyledHost, { key: '46991f66161e4118fdf135bf18eb757435e26457' }, h(CardFormSkeleton, { key: 'aacb7f467a10debc809997a67172fe4f23a2ca76', isReady: this.isReady }), h("hidden-input", { key: '3e9bd9b7ff0aba356d9f8fd07428cbaedcb223b1' }), h("div", { key: '8fcf6d92703491fe6a0be076a5965c09c800f262', class: "container-fluid p-0", style: {
76
66
  opacity: this.isReady ? '1' : '0',
77
67
  height: this.isReady ? 'auto' : '0',
78
- } }, h("div", { key: 'b426b711813d401e181c833c06f440adc2998f4a', class: "mb-3" }, h("iframe-input", { key: '1c81cac902a472ffe841340de40c8aa80688d908', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '370fb4bd7951ea6948b57923141842da07575bd3', class: "row" }, h("div", { key: '7912c07831d685c0f30d103537933c4ec0e41726', class: "col-4 align-content-end" }, h("iframe-input", { key: 'a892fead0333523eecd1a6e02fb6cd3807e1b0ad', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '699f614dcada9748525afe53cd461a5dd4f96847', class: "col-4 align-content-end" }, h("iframe-input", { key: '0c65a7fbb4bf1fa35fc645de62723f8d130217de', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'b25d6322892f5a3313db2592193552f34e364103', class: "col-4 align-content-end" }, h("iframe-input", { key: '279646b3bfa68f8e03d0118e2de86668471f5821', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
68
+ } }, h("div", { key: '8dea63dc69d7c7cfbcded0a07bfbcf9c7d7a41fa', class: "mb-3" }, h("iframe-input", { key: 'ffd4de932414b206ea5936c21349c522b762f8a4', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '3e56350822761119dbb7ff49e3cc56bec7f361ca', class: "row" }, h("div", { key: 'ab13b6b20573fbec961164a415ccaf21b663eb4b', class: "col-4 align-content-end" }, h("iframe-input", { key: 'e12d56f2c1dd12ae5eff7619204d9f746e1b6a43', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '62e4808ee208aec7cf3e1d7a99fd65f3d9a5e615', class: "col-4 align-content-end" }, h("iframe-input", { key: 'c8e3945b466e61e8b21fbb13f71c0631740ca1a3', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '979929e29abb54f8837f71b1cdb7261df97a58df', class: "col-4 align-content-end" }, h("iframe-input", { key: '2c25868c5fd7e6c2d34722b39f22c2062248cdf6', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
79
69
  }
80
70
  }, [257, "justifi-card-form", {
81
71
  "isReady": [32],
@@ -1,33 +1,5 @@
1
1
  import { c as createStore } from './index2.js';
2
-
3
- var PAYMENT_MODE;
4
- (function (PAYMENT_MODE) {
5
- PAYMENT_MODE["ECOM"] = "ecom";
6
- PAYMENT_MODE["BNPL"] = "bnpl";
7
- PAYMENT_MODE["APPLE_PAY"] = "apple_pay";
8
- })(PAYMENT_MODE || (PAYMENT_MODE = {}));
9
- // Maps the backend payment method types to the frontend payment method types
10
- var PAYMENT_METHOD_TYPES;
11
- (function (PAYMENT_METHOD_TYPES) {
12
- PAYMENT_METHOD_TYPES["CARD"] = "card";
13
- PAYMENT_METHOD_TYPES["BANK_ACCOUNT"] = "bank_account";
14
- PAYMENT_METHOD_TYPES["APPLE_PAY"] = "apple_pay";
15
- PAYMENT_METHOD_TYPES["GOOGLE_PAY"] = "google_pay";
16
- PAYMENT_METHOD_TYPES["SEZZLE"] = "sezzle";
17
- PAYMENT_METHOD_TYPES["PLAID"] = "plaid";
18
- })(PAYMENT_METHOD_TYPES || (PAYMENT_METHOD_TYPES = {}));
19
- // Available payment methods for the modular checkout component (differentiates between saved and new payment methods)
20
- var PAYMENT_METHODS;
21
- (function (PAYMENT_METHODS) {
22
- PAYMENT_METHODS["SAVED_CARD"] = "saved_card";
23
- PAYMENT_METHODS["NEW_CARD"] = "new_card";
24
- PAYMENT_METHODS["SAVED_BANK_ACCOUNT"] = "saved_bank_account";
25
- PAYMENT_METHODS["NEW_BANK_ACCOUNT"] = "new_bank_account";
26
- PAYMENT_METHODS["APPLE_PAY"] = "apple_pay";
27
- PAYMENT_METHODS["GOOGLE_PAY"] = "google_pay";
28
- PAYMENT_METHODS["SEZZLE"] = "sezzle";
29
- PAYMENT_METHODS["PLAID"] = "plaid";
30
- })(PAYMENT_METHODS || (PAYMENT_METHODS = {}));
2
+ import { P as PAYMENT_METHODS } from './ModularCheckout.js';
31
3
 
32
4
  const initialState = {
33
5
  accountId: '',
@@ -42,6 +14,7 @@ const initialState = {
42
14
  bnplProviderClientId: '',
43
15
  bnplProviderMode: '',
44
16
  checkoutId: '',
17
+ checkoutLoaded: false,
45
18
  bankAccountVerification: undefined,
46
19
  disableBankAccount: false,
47
20
  disableBnpl: false,
@@ -54,8 +27,10 @@ const initialState = {
54
27
  paymentMethods: [],
55
28
  paymentToken: undefined,
56
29
  savePaymentMethod: false,
57
- selectedPaymentMethod: PAYMENT_METHODS.NEW_CARD,
30
+ selectedPaymentMethod: undefined,
58
31
  totalAmount: 0,
32
+ plaidPublicToken: undefined,
33
+ plaidLinkTokenId: undefined,
59
34
  };
60
35
  const { state: checkoutStore, onChange } = createStore(initialState);
61
36
  Object.keys(initialState).forEach((key) => {
@@ -64,5 +39,41 @@ Object.keys(initialState).forEach((key) => {
64
39
  checkoutStore[key] = newValue;
65
40
  });
66
41
  });
42
+ // Helper: compute available payment methods based on store flags
43
+ function getAvailablePaymentMethodTypes() {
44
+ var _a;
45
+ const methods = [];
46
+ if (!checkoutStore.disablePaymentMethodGroup &&
47
+ ((_a = checkoutStore.paymentMethods) === null || _a === void 0 ? void 0 : _a.length)) {
48
+ const hasSavedCard = checkoutStore.paymentMethods.some((pm) => pm.type === PAYMENT_METHODS.SAVED_CARD);
49
+ const hasSavedBank = checkoutStore.paymentMethods.some((pm) => pm.type === PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
50
+ if (hasSavedCard && !checkoutStore.disableCreditCard) {
51
+ methods.push(PAYMENT_METHODS.SAVED_CARD);
52
+ }
53
+ if (hasSavedBank && !checkoutStore.disableBankAccount) {
54
+ methods.push(PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
55
+ }
56
+ }
57
+ if (!checkoutStore.disableCreditCard) {
58
+ methods.push(PAYMENT_METHODS.NEW_CARD);
59
+ }
60
+ if (!checkoutStore.disableBankAccount) {
61
+ methods.push(PAYMENT_METHODS.NEW_BANK_ACCOUNT);
62
+ }
63
+ if (checkoutStore.bnplEnabled && !checkoutStore.disableBnpl) {
64
+ methods.push(PAYMENT_METHODS.SEZZLE);
65
+ }
66
+ if (checkoutStore.bankAccountVerification === true &&
67
+ !checkoutStore.disableBankAccount) {
68
+ methods.push(PAYMENT_METHODS.PLAID);
69
+ }
70
+ return methods;
71
+ }
72
+ function onAnyChange(callback) {
73
+ Object.keys(initialState).forEach((key) => {
74
+ // @ts-ignore - onChange is generically typed by stencil/store but not exported here
75
+ onChange(key, (newValue) => callback(key, newValue));
76
+ });
77
+ }
67
78
 
68
- export { PAYMENT_METHODS as P, PAYMENT_METHOD_TYPES as a, PAYMENT_MODE as b, checkoutStore as c, onChange as o };
79
+ export { onChange as a, checkoutStore as c, getAvailablePaymentMethodTypes as g, onAnyChange as o };
@@ -51,9 +51,7 @@ const checkoutTableColumns = {
51
51
  status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of each checkout" }, "Status")),
52
52
  };
53
53
  const checkoutTableCells = {
54
- created_at: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) },
55
- h("div", { class: "fw-bold" }, formatDate(checkout.created_at)),
56
- h("div", { class: "fw-bold" }, formatTime(checkout.created_at)))),
54
+ created_at: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("div", { class: "fw-bold" }, formatDate(checkout.created_at)), h("div", { class: "fw-bold" }, formatTime(checkout.created_at)))),
57
55
  payment_amount: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.formattedPaymentAmount(checkout.payment_amount))),
58
56
  payment_description: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.payment_description)),
59
57
  sub_account_name: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.sub_account_name)),
@@ -62,9 +60,11 @@ const checkoutTableCells = {
62
60
  };
63
61
 
64
62
  const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCore extends HTMLElement {
65
- constructor() {
63
+ constructor(registerHost) {
66
64
  super();
67
- this.__registerHost();
65
+ if (registerHost !== false) {
66
+ this.__registerHost();
67
+ }
68
68
  this.clickEvent = createEvent(this, "click-event", 7);
69
69
  this.errorEvent = createEvent(this, "error-event", 7);
70
70
  this.checkouts = [];
@@ -178,7 +178,7 @@ const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCo
178
178
  return !this.showEmptyState && !this.showErrorState && !this.loading;
179
179
  }
180
180
  render() {
181
- return (h(TableWrapper, { key: 'ac27fa8b086e64e53a287f96be1d1212a7c23fc3' }, h(TableComponent, { key: '965b9e4761f686a254297a753b638952181d9758' }, h(TableHead, { key: '41502bb86d87acd8f730f22705d82a2bb4c3787c' }, h(TableHeadRow, { key: '9aa770a8bbb3c9623fde336580dcecda0ee6909e' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'ad20f6287a2eefd0aa659925cf4be8a03766c1c2' }, h(TableLoadingState, { key: 'bdd7d89bed12c4451199b59e2793cc3d4dbc24a8', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '8b89063a5cc78beb42a52375c431e834583ef12a', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a557b0a68af21a5501139433f980a6c083536d71', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '0ba995e692b70214b1f63f3fbb7e05e76f229304' }, h(TableFootRow, { key: '25703345e36b46ce3a4cd9d09893c744b6db4d86' }, h(TableFootCell, { key: '07f5df6019322cb80053e4c061a2b5cb6ba7187e', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'daf2dd74a5f24192c9052a2906459a6d2b53544d', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
181
+ return (h(TableWrapper, { key: '04dae06915792f92df18740353f63781fbc15558' }, h(TableComponent, { key: '87f0d5658e76198d6332c272eabc09236569a6c3' }, h(TableHead, { key: '7b9d1d9e5875b7c83c126c06a80b1e4f8e9ec86c' }, h(TableHeadRow, { key: '8e8963b02099f6ae81a1ab9b9e00212a87be742f' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '2e1b461150fc01112c08f030402c8433611da6f3' }, h(TableLoadingState, { key: 'aefba717db73fb1052eb49906354492548eda57d', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'b353ddae94305c6f58c4026ab6a48ef16a05005c', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '852bb7c4f1968f56a692e595dbe9a6223b5b3b1d', 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: '5077d7f5843d62b73d85adafff03022db168de0f' }, h(TableFootRow, { key: 'b338655c2ef2fb256795f781113a0fc312d76a1b' }, h(TableFootCell, { key: 'c6f4f321400d0f6a73f2ef85a77ea9dab38270b6', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'de00aeea2bbf8cf88c2e31105967d6355ebb18f0', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
182
182
  }
183
183
  static get watchers() { return {
184
184
  "pagingParams": ["updateOnPropChange"],
@@ -3,9 +3,11 @@ import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
3
3
  import { s as snakeCaseToHumanReadable } from './utils2.js';
4
4
 
5
5
  const CoreInfoDetails = /*@__PURE__*/ proxyCustomElement(class CoreInfoDetails extends HTMLElement {
6
- constructor() {
6
+ constructor(registerHost) {
7
7
  super();
8
- this.__registerHost();
8
+ if (registerHost !== false) {
9
+ this.__registerHost();
10
+ }
9
11
  }
10
12
  render() {
11
13
  if (!this.business) {
@@ -1790,9 +1790,11 @@ var createPopper = /*#__PURE__*/popperGenerator({
1790
1790
  }); // eslint-disable-next-line import/no-unused-modules
1791
1791
 
1792
1792
  const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends HTMLElement$1 {
1793
- constructor() {
1793
+ constructor(registerHost) {
1794
1794
  super();
1795
- this.__registerHost();
1795
+ if (registerHost !== false) {
1796
+ this.__registerHost();
1797
+ }
1796
1798
  this.showEvent = createEvent(this, "showEvent", 7);
1797
1799
  this.hideEvent = createEvent(this, "hideEvent", 7);
1798
1800
  this.placement = 'bottom';
@@ -1873,7 +1875,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
1873
1875
  this.hideEvent.emit();
1874
1876
  }
1875
1877
  render() {
1876
- return (h("div", { key: '8bfc9503d439750dac5b1d7bf57b52a679342203' }, h("style", { key: 'c9b621af52af23eca1b31d212d212e9e1851efb4' }, `
1878
+ return (h("div", { key: '6249f59c6bcced199fe4d509988644633d783b6b' }, h("style", { key: '9d6a47ff5b927ebfb318b7d0852678f7ade406ca' }, `
1877
1879
  .popper-content {
1878
1880
  display: none;
1879
1881
  }
@@ -1881,7 +1883,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
1881
1883
  display: block;
1882
1884
  z-index: 1030;
1883
1885
  }
1884
- `), h("div", { key: '278b302602f6694c3d8897a11caffe8053396e14', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '512ccb791eaddb6d215f15257c4b09e0aad009c8' }))));
1886
+ `), h("div", { key: '311f13edc07bc1aea0569fb6c92fbbc241704529', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '93e806d8db16cd7c1b29ce6b6bec784c8126ab67' }))));
1885
1887
  }
1886
1888
  }, [260, "custom-popper", {
1887
1889
  "placement": [1],
@@ -16,9 +16,11 @@ const CustomerDetailsSchema = create$3({
16
16
  });
17
17
 
18
18
  const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails extends HTMLElement {
19
- constructor() {
19
+ constructor(registerHost) {
20
20
  super();
21
- this.__registerHost();
21
+ if (registerHost !== false) {
22
+ this.__registerHost();
23
+ }
22
24
  this.documentErrors = {};
23
25
  this.errors = {};
24
26
  this.documents = { customer_signature: [], customer_communication: [] };
@@ -41,7 +43,7 @@ const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails e
41
43
  }
42
44
  render() {
43
45
  var _a, _b, _c, _d, _e;
44
- return (h("div", { key: 'f5442efc59bb6a99a87f90feb5a4a147019af940' }, h("div", { key: 'd0f97e7ca943bfe8e4846ea84838ab08dc3658ab', class: "row gy-3" }, h("div", { key: 'da7f41d96c717f921010786f593c3776e2644738', class: "col-12" }, h("h2", { key: '0f7d56f400ec0f4250bbf7c8b2b736e084c17ab0', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: 'eca73b10ec43454be35d4ec6e09b410b7a509b46', class: "col-12" }, h("form-control-text", { key: '1b67e031f3ac24b43319b09a01a5e297095ecc84', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '967326bb10e6d2a64b2f3f0bae99432f238e361c', class: "col-12" }, h("form-control-text", { key: 'fc7d83cc51728920d9f4849dd85f4f019bb50fe4', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '4e598f3e9bf118ddf22c4c160f0171c9789cd853', class: "col-12" }, h("form-control-textarea", { key: 'fe1c2e1a4c70ef463a31e890349a5b49f979e21b', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: 'a4345bc3b39f913cc233baa21373a6d7d93d3cda', class: "col-12" }, h("form-control-file-v2", { key: '82cb1b948807d901845a23137b5d488c9edd53ae', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: 'ffc589785e6114d604c2d98d3140de5487dc8af6', class: "col-12" }, h("form-control-file-v2", { key: '5b6b64927e4b90cc6dbb302fbc0d2067b70c6f4a', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
46
+ 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 })))));
45
47
  }
46
48
  }, [256, "justifi-customer-details", {
47
49
  "disputeResponse": [8, "dispute-response"],
@@ -2,12 +2,14 @@ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/clien
2
2
  import { E as ErrorState } from './utils.js';
3
3
 
4
4
  const Details = /*@__PURE__*/ proxyCustomElement(class Details extends HTMLElement {
5
- constructor() {
5
+ constructor(registerHost) {
6
6
  super();
7
- this.__registerHost();
7
+ if (registerHost !== false) {
8
+ this.__registerHost();
9
+ }
8
10
  }
9
11
  render() {
10
- return (h("div", { key: '3c1c4e729711c6676c176a5a04228ec7ebb7acfa' }, this.errorMessage ?
12
+ return (h("div", { key: '026afe404e83a58245d2c0d68b188a5b227933b4' }, this.errorMessage ?
11
13
  ErrorState(this.errorMessage)
12
14
  :
13
15
  h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
@@ -21,9 +21,11 @@ import { d as defineCustomElement$2 } from './refund-policy.js';
21
21
  import { d as defineCustomElement$1 } from './shipping-details.js';
22
22
 
23
23
  const DisputeManagementCore = /*@__PURE__*/ proxyCustomElement(class DisputeManagementCore extends HTMLElement {
24
- constructor() {
24
+ constructor(registerHost) {
25
25
  super();
26
- this.__registerHost();
26
+ if (registerHost !== false) {
27
+ this.__registerHost();
28
+ }
27
29
  this.errorEvent = createEvent(this, "error-event", 7);
28
30
  this.isLoading = true;
29
31
  this.showDisputeResponseForm = false;
@@ -68,7 +70,7 @@ const DisputeManagementCore = /*@__PURE__*/ proxyCustomElement(class DisputeMana
68
70
  });
69
71
  }
70
72
  render() {
71
- return (h("div", { key: 'b5a802e8c418b3b7f3235f43260186084a6ee079' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
73
+ 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 }))));
72
74
  }
73
75
  static get watchers() { return {
74
76
  "getDispute": ["updateOnPropChange"]
@@ -11,9 +11,11 @@ import { m as makeSubmitDisputeResponse, D as DisputeService } from './dispute-r
11
11
  import { D as DisputeManagementClickActions } from './event-types3.js';
12
12
 
13
13
  const DisputeNotification = /*@__PURE__*/ proxyCustomElement(class DisputeNotification extends HTMLElement {
14
- constructor() {
14
+ constructor(registerHost) {
15
15
  super();
16
- this.__registerHost();
16
+ if (registerHost !== false) {
17
+ this.__registerHost();
18
+ }
17
19
  this.__attachShadow();
18
20
  this.clickEvent = createEvent(this, "click-event", 7);
19
21
  this.errorEvent = createEvent(this, "error-event", 7);
@@ -43,7 +45,7 @@ const DisputeNotification = /*@__PURE__*/ proxyCustomElement(class DisputeNotifi
43
45
  }
44
46
  render() {
45
47
  var _a, _b, _c, _d, _e, _f, _g;
46
- return (h(StyledHost, { key: '90d2506d5bde2ea478fa3575fc162bb356b67fac' }, this.isLoading && (h("div", { key: '4877ae22d3d8e312640b122c9107b6bdd8f924cb', style: { marginBottom: '8px' } }, h(Skeleton, { key: '31fa0717949bbc6aa49db1c6ae0e324099ae1de2', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'ac5179232cb9ee33d3f3e16d9f93536ecfbf46a5', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: 'c22a5e3b257d01f92de7f6188fa0758861abc747', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: 'be331b1a5e2fa0baf46bc593ef7ce4f5872abcff', part: text }, h("h1", { key: '8094c16d3b375f28ffe314613f21ae25b63e59ef', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: 'd89ae665e1f9bd99c9338e2132c1dc56e5386696' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '2786733eac76628019993e13473d1f43c0c395ed', class: "h5" }, "Dispute details"), h("div", { key: '663c28c46136bd56889b6ad0b9bfce9e5adbb590', class: "d-table gap-2" }, h("div", { key: 'dc688fad875d1591dcb7f31d423b61a3df2ff954', class: "d-table-row gap-2" }, h("span", { key: '442db7a6e95524ca6b092794c7a4a4d987c9866e', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '0a31de8692c9b00f43fcf3c0508e4d00a221d096', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: '9fe0c1a3d3350c36fca190ae748dafe24d41b5fc', class: "d-table-row gap-2" }, h("span", { key: '12165cb6671519130a5f2e0d8938aaa55e7e3ead', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '4a37ca8a7d64b97142997bb50ec11d737ac6a882', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '4d9cf74a8ed26dd84e4ce7325d4b8703352362a4', class: "d-table-row gap-2" }, h("span", { key: '8c0eaa24ebec7703eb18384b0b1f2eae8a684b55', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: '238813abf2ea0848e1fe817d5798b9b0d0b78ffc', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: 'd156a7e9bf0e7214ff2164fc09b12c0b8f1d2b36', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '7822fd12dfc39bd2aced043956d012fd34cc1b01', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '05132b3a6d1fc3d136dc227008ea1999330cdb96', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'b04dd0c34f608b75ea3997a9c28ce948fa9dba5c' }, h("h1", { key: 'ac2a13373315703e86247b6707097af7cf2e6757', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '203aed553e01bbaebe44bb370a1d088c149cda06' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '6325264f8ad7b6678825878ed59f03f90eee421a' }, h("h1", { key: '7b647ed77373884e0751de4fc39403211c249db6', class: "h4" }, "This payment was disputed"), h("p", { key: '2a5c1560d341af9b743234a058a1187f245a2ae8' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: 'a89e7f4d7e8926ed052023c7dbbbaf076a03ed9c' }, h("h1", { key: '534b560aa35dd43ba0eba668904ef70dc1a6954f', class: "h4" }, "This payment was disputed"), h("p", { key: '2381f2f6418b47dce67c498c56d5f3789add57dc' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
48
+ 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.")))));
47
49
  }
48
50
  }, [257, "justifi-dispute-notification", {
49
51
  "dispute": [16],