@justifi/webcomponents 5.7.7 → 6.0.0-rc.10

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 (756) hide show
  1. package/dist/cjs/{Api-DLhABIj9.js → Api-DyimBzKT.js} +1 -1
  2. package/dist/cjs/{ComponentError-C4MdBBMe.js → ComponentError-D4OLnOkg.js} +10 -0
  3. package/dist/cjs/{Refund-1bG6RRPO.js → Refund-BefKONu4.js} +248 -1
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -1
  5. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +8 -9
  6. package/dist/cjs/bank-account-form.cjs.entry.js +66 -0
  7. package/dist/cjs/{business.service-CaCyLLFW.js → business.service-BB6zl4Gc.js} +3 -5
  8. package/dist/cjs/card-form.cjs.entry.js +74 -0
  9. package/dist/cjs/{check-pkg-version-D6Kztnv7.js → check-pkg-version-DiQ-d5Nl.js} +10 -6
  10. package/dist/cjs/{checkout.service-DgD37tJv.js → checkout.service-B-R80p4f.js} +3 -5
  11. package/dist/cjs/checkout.store-BGvYPPz0.js +88 -0
  12. package/dist/cjs/checkouts-list-core.cjs.entry.js +6 -7
  13. package/dist/cjs/{checkouts-table-Bzpqcsu0.js → checkouts-table-DjMdEiEW.js} +1 -1
  14. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_2.cjs.entry.js} +22 -2
  15. package/dist/cjs/dinero-BwNN_k7x.js +1657 -0
  16. package/dist/cjs/{dispute.service-C0w_4Agq.js → dispute.service-B5tITFAh.js} +3 -5
  17. package/dist/cjs/form-alert_5.cjs.entry.js +4 -4
  18. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  19. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  20. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  21. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
  22. package/dist/cjs/form-control-monetary.cjs.entry.js +4 -3
  23. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +3 -3
  24. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  25. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  26. package/dist/cjs/{form-control-select_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +4 -23
  27. package/dist/cjs/{get-business-BJrtsomz.js → get-business-o5jPq_ME.js} +2 -2
  28. package/dist/cjs/{get-payment-details-BbfnopoD.js → get-payment-details-BfgRmNL4.js} +5 -7
  29. package/dist/cjs/{get-payout-csv-CXEQkjDm.js → get-payout-csv-DE_D9y08.js} +2 -2
  30. package/dist/cjs/{get-subaccounts-CpCJjnYt.js → get-subaccounts-Bnfv2tEN.js} +5 -7
  31. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -2
  32. package/dist/cjs/{iframe-input_4.cjs.entry.js → hidden-input_2.cjs.entry.js} +111 -153
  33. package/dist/cjs/index-D-dD-aC2.js +30 -0
  34. package/dist/cjs/index.cjs.js +8 -0
  35. package/dist/cjs/{insurance-state-e44s1lUQ.js → insurance-state-d2thhXUX.js} +18 -0
  36. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +4 -5
  37. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -18
  38. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
  39. package/dist/cjs/justifi-apple-pay.cjs.entry.js +782 -0
  40. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +373 -0
  41. package/dist/cjs/justifi-business-details.cjs.entry.js +11 -12
  42. package/dist/cjs/justifi-business-form.cjs.entry.js +10 -11
  43. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  44. package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +1421 -0
  45. package/dist/cjs/justifi-checkout.cjs.entry.js +69 -99
  46. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +11 -12
  47. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -14
  48. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  49. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -11
  50. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +13 -14
  51. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -9
  52. package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -13
  53. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -13
  54. package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -12
  55. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
  56. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -12
  57. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -11
  58. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -3
  59. package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -13
  60. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -11
  61. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -11
  62. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -3
  63. package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -14
  64. package/dist/cjs/justifi-refund-payment.cjs.entry.js +10 -11
  65. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +31 -0
  66. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +120 -18
  67. package/dist/cjs/justifi-skeleton.cjs.entry.js +17 -0
  68. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +6 -7
  69. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -11
  70. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -6
  71. package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -13
  72. package/dist/cjs/loader.cjs.js +1 -1
  73. package/dist/cjs/{package-C0-LCfay.js → package-Be2aoTf8.js} +1 -1
  74. package/dist/cjs/payment-details-core.cjs.entry.js +10 -9
  75. package/dist/cjs/payment-method-option-utils-WYHIHy-l.js +15 -0
  76. package/dist/cjs/payment-method-option.cjs.entry.js +17 -0
  77. package/dist/cjs/{payment-provisioning-actions-BkWSDJQQ.js → payment-provisioning-actions-CZVlnRA0.js} +2 -2
  78. package/dist/cjs/{payment.service-CtSdIJoy.js → payment.service-aR96UW5e.js} +3 -5
  79. package/dist/cjs/payments-list-core.cjs.entry.js +6 -7
  80. package/dist/cjs/{payments-table-CUGE6F-R.js → payments-table-BE8u0-i0.js} +1 -1
  81. package/dist/cjs/payout-details-core.cjs.entry.js +5 -4
  82. package/dist/cjs/{payout.service-7DP6F8x7.js → payout.service-6Cl_yXXQ.js} +3 -5
  83. package/dist/cjs/payouts-list-core.cjs.entry.js +6 -7
  84. package/dist/cjs/{payouts-table-Ca9HqjV7.js → payouts-table-BbydhJUr.js} +1 -1
  85. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  86. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +6 -7
  87. package/dist/cjs/{terminal-orders-table-DPe_2FNB.js → terminal-orders-table-B4HjERrK.js} +3 -5
  88. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  89. package/dist/cjs/{terminal.service-BR9g1yaB.js → terminal.service-D1FAYZzd.js} +3 -5
  90. package/dist/cjs/terminals-list-core.cjs.entry.js +6 -7
  91. package/dist/cjs/{terminals-table-DDoJIYZu.js → terminals-table-C79Xc4FI.js} +1 -1
  92. package/dist/cjs/{utils-Dewr6SlQ.js → utils-ChCUZgUy.js} +3 -1661
  93. package/dist/cjs/{utils-l0veqT9y.js → utils-DvUQQLmR.js} +1 -1
  94. package/dist/cjs/webcomponents.cjs.js +1 -1
  95. package/dist/collection/actions/checkout/checkout-actions.js +2 -1
  96. package/dist/collection/api/ApplePay.js +119 -0
  97. package/dist/collection/api/BillingInformation.js +1 -0
  98. package/dist/collection/api/Checkout.js +1 -3
  99. package/dist/collection/api/ComponentError.js +10 -0
  100. package/dist/collection/api/Payment.js +5 -2
  101. package/dist/collection/api/PaymentMethod.js +1 -0
  102. package/dist/collection/api/services/apple-pay.service.js +293 -0
  103. package/dist/collection/api/services/plaid.service.js +20 -0
  104. package/dist/collection/assets/plaid-icon.svg +1 -0
  105. package/dist/collection/collection-manifest.json +17 -9
  106. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  107. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  108. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
  109. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  110. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  111. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  112. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  113. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  114. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  115. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  116. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  117. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  119. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  121. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  122. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  123. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  124. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  125. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  126. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  127. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  128. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  129. package/dist/collection/components/checkout/billing-form/billing-form-schema.js +3 -3
  130. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  131. package/dist/collection/components/checkout/checkout.js +136 -53
  132. package/dist/collection/components/checkout/payment-method-option-utils.js +0 -1
  133. package/dist/collection/components/checkout/save-new-payment-method.js +9 -5
  134. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  135. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  136. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  137. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  138. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  139. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  140. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  141. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  142. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  143. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  144. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  145. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  146. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  151. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  152. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  153. package/dist/collection/components/insurance/insurance-state.js +18 -1
  154. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +118 -12
  155. package/dist/collection/components/modular-checkout/ModularCheckout.js +28 -0
  156. package/dist/collection/components/modular-checkout/modular-checkout.js +525 -0
  157. package/dist/collection/components/modular-checkout/sub-components/apple-pay-skeleton.js +10 -0
  158. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +509 -0
  159. package/dist/collection/components/{checkout/billing-form → modular-checkout/sub-components}/bank-account-billing-form-simple.js +7 -5
  160. package/dist/collection/components/modular-checkout/sub-components/bank-account-skeleton.js +10 -0
  161. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +98 -0
  162. package/dist/collection/components/{checkout/billing-form → modular-checkout/sub-components}/billing-form-full.js +12 -8
  163. package/dist/collection/components/{checkout/billing-form → modular-checkout/sub-components}/card-billing-form-simple.js +7 -5
  164. package/dist/collection/components/modular-checkout/sub-components/card-form-skeleton.js +10 -0
  165. package/dist/collection/components/modular-checkout/sub-components/card-form.js +102 -0
  166. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +113 -0
  167. package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.js +885 -0
  168. package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js +124 -0
  169. package/dist/collection/components/modular-checkout/sub-components/saved-payment-methods.js +42 -0
  170. package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +144 -0
  171. package/dist/collection/components/modular-checkout/sub-components/summary.js +12 -0
  172. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  173. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  174. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  175. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  176. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  177. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  178. package/dist/collection/components/payments-list/payments-list.js +1 -1
  179. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  180. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  181. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  182. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  183. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  184. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  185. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  186. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  187. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  188. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  189. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  190. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +317 -78
  191. package/dist/collection/index.js +1 -0
  192. package/dist/collection/store/checkout.store.js +78 -0
  193. package/dist/collection/ui-components/apple-pay-button.js +146 -0
  194. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  195. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  196. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  197. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  198. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  199. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  200. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  201. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  202. package/dist/collection/ui-components/form/form-control-radio.js +5 -5
  203. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  204. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  205. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  206. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  207. package/dist/collection/ui-components/form/iframe-input.js +10 -5
  208. package/dist/collection/ui-components/index.js +1 -0
  209. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +176 -0
  210. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +83 -0
  211. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +155 -0
  212. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +108 -0
  213. package/dist/collection/utils/check-pkg-version.js +6 -0
  214. package/dist/docs.json +5408 -5097
  215. package/dist/esm/{Api-BJv2_XdA.js → Api-DAWuvzbl.js} +1 -1
  216. package/dist/esm/{ComponentError-SdntD1xf.js → ComponentError-Cjcsf8ku.js} +11 -1
  217. package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
  218. package/dist/esm/{Refund-Dwnnpqim.js → Refund-CVh70dXA.js} +247 -2
  219. package/dist/esm/additional-questions-details_5.entry.js +4 -3
  220. package/dist/esm/{badge-XXatxWS0.js → badge-DSYSJcRy.js} +1 -1
  221. package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -13
  222. package/dist/{module/bank-account-form2.js → esm/bank-account-form.entry.js} +12 -36
  223. package/dist/esm/business-details-core.entry.js +3 -3
  224. package/dist/esm/{business.service-Di9jP2_p.js → business.service-cQrH5BqF.js} +4 -6
  225. package/dist/esm/{button-C-ZZ9yD1.js → button-CpllL0At.js} +1 -1
  226. package/dist/esm/card-form.entry.js +72 -0
  227. package/dist/esm/{check-pkg-version-8KHO3ihW.js → check-pkg-version-CAnDiqiu.js} +11 -7
  228. package/dist/esm/{checkout.service-l-H_OIZa.js → checkout.service-Bbgi1I6V.js} +4 -6
  229. package/dist/esm/checkout.store-CCdFOPCK.js +83 -0
  230. package/dist/esm/checkouts-list-core.entry.js +11 -12
  231. package/dist/esm/{checkouts-table-DmwocPX2.js → checkouts-table-Ddf2I-Ul.js} +3 -3
  232. package/dist/esm/{custom-popper.entry.js → custom-popper_2.entry.js} +22 -3
  233. package/dist/esm/dinero-HXpYMWUU.js +1655 -0
  234. package/dist/esm/{dispute.service-CaEbHFjw.js → dispute.service-CrZsNDW8.js} +4 -6
  235. package/dist/esm/form-alert_5.entry.js +5 -5
  236. package/dist/esm/form-control-checkbox.entry.js +5 -5
  237. package/dist/esm/form-control-date.entry.js +4 -4
  238. package/dist/esm/{form-control-error-text-eKr_QuRZ.js → form-control-error-text-R7U07nTg.js} +1 -1
  239. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  240. package/dist/esm/{form-control-help-text-Dw2vjMQ5.js → form-control-help-text-CRLH-2f7.js} +1 -1
  241. package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
  242. package/dist/esm/form-control-monetary.entry.js +7 -6
  243. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  244. package/dist/esm/form-control-number.entry.js +5 -5
  245. package/dist/esm/form-control-radio.entry.js +3 -3
  246. package/dist/esm/{form-control-select_3.entry.js → form-control-select_2.entry.js} +7 -25
  247. package/dist/esm/{get-business-GEPTefIj.js → get-business-Crb6P-iI.js} +2 -2
  248. package/dist/esm/{get-payment-details-BOpjKcRB.js → get-payment-details-0VzpMNY9.js} +5 -7
  249. package/dist/esm/{get-payout-csv-D7IYYqVL.js → get-payout-csv-D-Lnooki.js} +2 -2
  250. package/dist/esm/{get-subaccounts-0Ri4RB5r.js → get-subaccounts-9UMbyFiT.js} +6 -8
  251. package/dist/esm/gross-payment-chart-core.entry.js +6 -5
  252. package/dist/esm/{header-1-BnwrlkS-.js → header-1-3M9If0gM.js} +1 -1
  253. package/dist/esm/{header-3-IOnOCyak.js → header-3-CWa41YWq.js} +1 -1
  254. package/dist/esm/{iframe-input_4.entry.js → hidden-input_2.entry.js} +106 -146
  255. package/dist/esm/index-CbL73B6U.js +30 -0
  256. package/dist/esm/index.js +1 -1
  257. package/dist/esm/insurance-state-CTalqbNa.js +45 -0
  258. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -9
  259. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +20 -21
  260. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  261. package/dist/esm/justifi-apple-pay.entry.js +780 -0
  262. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +363 -0
  263. package/dist/esm/justifi-business-details.entry.js +13 -14
  264. package/dist/esm/justifi-business-form.entry.js +15 -16
  265. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  266. package/dist/esm/justifi-checkout-summary_7.entry.js +1413 -0
  267. package/dist/esm/justifi-checkout.entry.js +69 -99
  268. package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -8
  269. package/dist/esm/justifi-checkouts-list.entry.js +15 -16
  270. package/dist/esm/justifi-details.entry.js +2 -2
  271. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  272. package/dist/esm/justifi-dispute-management.entry.js +11 -12
  273. package/dist/esm/justifi-dispute-notification_3.entry.js +16 -17
  274. package/dist/esm/justifi-gross-payment-chart.entry.js +11 -12
  275. package/dist/esm/justifi-order-terminals.entry.js +15 -16
  276. package/dist/esm/justifi-owner-form_3.entry.js +14 -15
  277. package/dist/esm/justifi-payment-details.entry.js +13 -14
  278. package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
  279. package/dist/esm/justifi-payment-provisioning.entry.js +12 -13
  280. package/dist/esm/justifi-payment-transactions-list.entry.js +14 -15
  281. package/dist/esm/justifi-payments-list-filters.entry.js +5 -4
  282. package/dist/esm/justifi-payments-list.entry.js +15 -16
  283. package/dist/esm/justifi-payout-details.entry.js +13 -14
  284. package/dist/esm/justifi-payout-transactions-list.entry.js +14 -15
  285. package/dist/esm/justifi-payouts-list-filters.entry.js +5 -4
  286. package/dist/esm/justifi-payouts-list.entry.js +17 -18
  287. package/dist/esm/justifi-refund-payment.entry.js +14 -15
  288. package/dist/esm/justifi-saved-payment-method.entry.js +29 -0
  289. package/dist/esm/justifi-season-interruption-insurance.entry.js +122 -20
  290. package/dist/esm/justifi-skeleton.entry.js +15 -0
  291. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -9
  292. package/dist/esm/justifi-terminal-orders-list.entry.js +13 -14
  293. package/dist/esm/justifi-terminals-list-filters.entry.js +7 -8
  294. package/dist/esm/justifi-terminals-list.entry.js +15 -16
  295. package/dist/esm/loader.js +1 -1
  296. package/dist/esm/{package-BOCuVjGs.js → package-CnWtPu8L.js} +1 -1
  297. package/dist/esm/pagination-menu.entry.js +1 -1
  298. package/dist/esm/{parts-CVGBVdVC.js → parts-RvUQ__Pq.js} +1 -1
  299. package/dist/esm/payment-details-core.entry.js +15 -14
  300. package/dist/esm/payment-method-option-utils-lUHAQVFl.js +15 -0
  301. package/dist/esm/payment-method-option.entry.js +15 -0
  302. package/dist/esm/{payment-provisioning-actions-BIfyW239.js → payment-provisioning-actions-ONP8lDnV.js} +2 -2
  303. package/dist/esm/{payment.service-Dz5mhgIm.js → payment.service-TxyxCg0E.js} +4 -6
  304. package/dist/esm/payments-list-core.entry.js +12 -13
  305. package/dist/esm/{payments-status-CN8wEqKC.js → payments-status-5orNU2Rd.js} +1 -1
  306. package/dist/esm/{payments-table-SmMgUr5X.js → payments-table-gkJV5GNK.js} +3 -3
  307. package/dist/esm/payout-details-core.entry.js +11 -10
  308. package/dist/esm/{payout.service-DUnRbCmv.js → payout.service-BOwZ4wWh.js} +4 -6
  309. package/dist/esm/payouts-list-core.entry.js +12 -13
  310. package/dist/esm/{payouts-status-BzTh9X2W.js → payouts-status-CZPwa2AE.js} +1 -1
  311. package/dist/esm/{payouts-table-SB6q0e7V.js → payouts-table-0PtktGRd.js} +3 -3
  312. package/dist/esm/{skeleton-DK6mW457.js → skeleton-qMb0_Cjy.js} +1 -1
  313. package/dist/esm/{spinner-CWoD0q_S.js → spinner-DUzyWLhj.js} +1 -1
  314. package/dist/esm/{table-KCj3mM1K.js → table-Br3n9Xu-.js} +2 -2
  315. package/dist/esm/table-filters-menu.entry.js +3 -3
  316. package/dist/esm/terminal-orders-list-core.entry.js +11 -12
  317. package/dist/esm/{terminal-orders-table-CPsSDEWs.js → terminal-orders-table-DTBSIMlJ.js} +6 -8
  318. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  319. package/dist/esm/{terminal.service-Vhk3qPk2.js → terminal.service-E6dZlM43.js} +4 -6
  320. package/dist/esm/terminals-list-core.entry.js +11 -12
  321. package/dist/esm/{terminals-table-CAavYaG5.js → terminals-table-TGUKTi7I.js} +3 -3
  322. package/dist/esm/{utils-Dccsn9BY.js → utils-BeQLScSm.js} +1 -1
  323. package/dist/esm/{utils-CKEiU2Q5.js → utils-BscIVFn8.js} +3 -1660
  324. package/dist/esm/{utils-_kzStVq_.js → utils-Dg6gMUTv.js} +1 -1
  325. package/dist/esm/webcomponents.js +1 -1
  326. package/dist/module/{check-pkg-version.js → Analytics.js} +28 -24
  327. package/dist/module/ModularCheckout.js +30 -0
  328. package/dist/module/Refund.js +331 -1
  329. package/dist/module/additional-questions.js +1 -1
  330. package/dist/module/additional-statement.js +2 -2
  331. package/dist/module/badge.js +1 -1
  332. package/dist/module/bank-account-billing-form-simple.js +9 -4
  333. package/dist/module/bank-account-document-inputs.js +3 -5
  334. package/dist/module/bank-account-form-inputs2.js +1 -1
  335. package/dist/module/bank-account-form.js +86 -1
  336. package/dist/module/bank-account.js +103 -0
  337. package/dist/module/billing-form-full.js +14 -11
  338. package/dist/module/billing-form-schema.js +3 -3
  339. package/dist/module/business-additional-questions-form-step.js +2 -2
  340. package/dist/module/business-bank-account-form-step-core.js +2 -4
  341. package/dist/module/business-bank-account-form-step.js +3 -5
  342. package/dist/module/business-core-info-form-step.js +2 -2
  343. package/dist/module/business-core-info.js +1 -1
  344. package/dist/module/business-details-core2.js +1 -0
  345. package/dist/module/business-documents-on-file2.js +2 -1
  346. package/dist/module/business-owners-form-step-core.js +1 -0
  347. package/dist/module/business-owners-form-step.js +2 -2
  348. package/dist/module/business-representative-form-inputs.js +1 -1
  349. package/dist/module/business-representative-form-step.js +2 -2
  350. package/dist/module/business-representative.js +1 -1
  351. package/dist/module/business-terms-conditions-form-step.js +2 -4
  352. package/dist/module/business.service.js +1 -3
  353. package/dist/module/button.js +1 -1
  354. package/dist/module/cancellation-policy.js +2 -2
  355. package/dist/module/card-billing-form-simple.js +9 -4
  356. package/dist/module/card-form.js +94 -1
  357. package/dist/module/card-form2.js +28 -13
  358. package/dist/module/checkout.service.js +1 -3
  359. package/dist/module/checkout.store.js +81 -0
  360. package/dist/module/checkouts-list-core2.js +6 -6
  361. package/dist/module/custom-popper2.js +2 -2
  362. package/dist/module/customer-details.js +2 -2
  363. package/dist/module/dinero.js +1655 -0
  364. package/dist/module/dispute-management-core.js +2 -2
  365. package/dist/module/dispute-notification.js +3 -2
  366. package/dist/module/dispute-response-actions.js +1 -3
  367. package/dist/module/dispute-response-core.js +2 -2
  368. package/dist/module/dispute-response.js +4 -3
  369. package/dist/module/duplicate-charge.js +2 -2
  370. package/dist/module/electronic-evidence.js +2 -2
  371. package/dist/module/form-alert2.js +1 -1
  372. package/dist/module/form-control-checkbox2.js +4 -3
  373. package/dist/module/form-control-date2.js +3 -2
  374. package/dist/module/form-control-file-v22.js +1 -1
  375. package/dist/module/form-control-file2.js +3 -2
  376. package/dist/module/form-control-monetary-provisioning2.js +4 -3
  377. package/dist/module/form-control-monetary2.js +4 -3
  378. package/dist/module/form-control-number-masked2.js +3 -2
  379. package/dist/module/form-control-number.js +4 -3
  380. package/dist/module/form-control-radio2.js +4 -4
  381. package/dist/module/form-control-select2.js +3 -2
  382. package/dist/module/form-control-text2.js +3 -2
  383. package/dist/module/form-control-textarea2.js +3 -3
  384. package/dist/module/get-business.js +1 -1
  385. package/dist/module/get-payment-details.js +2 -4
  386. package/dist/module/get-payout-csv.js +1 -1
  387. package/dist/module/get-subaccounts.js +2 -4
  388. package/dist/module/gross-payment-chart-core2.js +2 -2
  389. package/dist/module/header-2.js +8 -0
  390. package/dist/module/header-3.js +8 -0
  391. package/dist/module/hidden-input2.js +2 -2
  392. package/dist/module/identity-address-form.js +1 -1
  393. package/dist/module/iframe-input2.js +6 -6
  394. package/dist/module/index.js +1 -0
  395. package/dist/module/insurance-state.js +18 -7
  396. package/dist/module/{justifi-checkout-core.d.ts → justifi-apple-pay.d.ts} +4 -4
  397. package/dist/module/justifi-apple-pay.js +811 -0
  398. package/dist/module/justifi-bank-account-form.d.ts +11 -0
  399. package/dist/module/justifi-bank-account-form.js +6 -0
  400. package/dist/module/justifi-business-details.js +2 -2
  401. package/dist/module/justifi-business-form.js +4 -5
  402. package/dist/module/justifi-button.d.ts +11 -0
  403. package/dist/module/justifi-button.js +6 -0
  404. package/dist/module/justifi-button2.js +41 -0
  405. package/dist/module/justifi-card-form.d.ts +11 -0
  406. package/dist/module/justifi-card-form.js +6 -0
  407. package/dist/module/justifi-checkout-summary.d.ts +11 -0
  408. package/dist/module/justifi-checkout-summary.js +6 -0
  409. package/dist/module/justifi-checkout.js +147 -139
  410. package/dist/module/justifi-checkouts-list-filters.js +4 -5
  411. package/dist/module/justifi-checkouts-list.js +5 -6
  412. package/dist/module/justifi-dispute-management.js +3 -4
  413. package/dist/module/justifi-gross-payment-chart.js +2 -4
  414. package/dist/module/justifi-header.d.ts +11 -0
  415. package/dist/module/justifi-header.js +6 -0
  416. package/dist/module/justifi-header2.js +43 -0
  417. package/dist/module/justifi-modular-checkout.d.ts +11 -0
  418. package/dist/module/justifi-modular-checkout.js +6 -0
  419. package/dist/module/justifi-order-terminals.js +7 -7
  420. package/dist/module/justifi-payment-details.js +2 -2
  421. package/dist/module/justifi-payment-provisioning.js +3 -5
  422. package/dist/module/justifi-payment-transactions-list.js +7 -7
  423. package/dist/module/justifi-payments-list-filters.js +4 -3
  424. package/dist/module/justifi-payments-list.js +5 -6
  425. package/dist/module/justifi-payout-details.js +3 -5
  426. package/dist/module/justifi-payout-transactions-list.js +7 -7
  427. package/dist/module/justifi-payouts-list-filters.js +4 -3
  428. package/dist/module/justifi-payouts-list.js +5 -6
  429. package/dist/module/justifi-plaid-payment-method.d.ts +11 -0
  430. package/dist/module/justifi-plaid-payment-method.js +6 -0
  431. package/dist/module/justifi-radio-list-item.d.ts +11 -0
  432. package/dist/module/justifi-radio-list-item.js +6 -0
  433. package/dist/module/justifi-radio-list-item2.js +55 -0
  434. package/dist/module/justifi-refund-payment.js +3 -4
  435. package/dist/module/justifi-saved-payment-method.js +57 -1
  436. package/dist/module/justifi-saved-payment-methods.d.ts +11 -0
  437. package/dist/module/justifi-saved-payment-methods.js +6 -0
  438. package/dist/module/justifi-season-interruption-insurance.js +124 -24
  439. package/dist/module/justifi-skeleton.d.ts +11 -0
  440. package/dist/module/justifi-skeleton.js +39 -0
  441. package/dist/module/justifi-terminal-orders-list-filters.js +5 -6
  442. package/dist/module/justifi-terminal-orders-list.js +5 -6
  443. package/dist/module/justifi-terminals-list-filters.js +4 -5
  444. package/dist/module/justifi-terminals-list.js +5 -6
  445. package/dist/module/justifi-tokenize-payment-method.js +1 -219
  446. package/dist/module/legal-address-form-step.js +2 -2
  447. package/dist/module/legal-address-form.js +1 -1
  448. package/dist/module/modular-checkout.js +406 -0
  449. package/dist/module/owner-form-core2.js +3 -2
  450. package/dist/module/owner-form-inputs2.js +1 -1
  451. package/dist/module/owner-form.js +1 -1
  452. package/dist/module/package.js +3 -3
  453. package/dist/module/pagination-menu2.js +1 -1
  454. package/dist/module/parts.js +1 -1
  455. package/dist/module/payment-details-core2.js +10 -9
  456. package/dist/module/payment-method-option-utils.js +15 -0
  457. package/dist/module/payment-method-option.d.ts +11 -0
  458. package/dist/module/payment-method-option.js +54 -0
  459. package/dist/module/payment-provisioning-actions.js +1 -1
  460. package/dist/module/payment-provisioning-core.js +3 -2
  461. package/dist/module/payment-provisioning-form-buttons.js +2 -1
  462. package/dist/module/payment-provisioning-form-steps.js +1 -1
  463. package/dist/module/payment-provisioning-loading.js +1 -0
  464. package/dist/module/payment.service.js +1 -3
  465. package/dist/module/payments-list-core2.js +6 -6
  466. package/dist/module/payout-details-core2.js +5 -4
  467. package/dist/module/payout.service.js +1 -3
  468. package/dist/module/payouts-list-core2.js +6 -6
  469. package/dist/module/plaid-payment-method.js +687 -0
  470. package/dist/module/product-or-service.js +2 -2
  471. package/dist/module/refund-policy.js +2 -2
  472. package/dist/module/save-new-payment-method.js +13 -6
  473. package/dist/module/saved-payment-methods.js +75 -0
  474. package/dist/module/sezzle-payment-method.js +34 -35
  475. package/dist/module/shipping-details.js +2 -2
  476. package/dist/module/spinner.js +1 -1
  477. package/dist/module/summary.js +35 -0
  478. package/dist/module/table-filters-menu2.js +1 -1
  479. package/dist/module/table.js +1 -1
  480. package/dist/module/terminal-orders-list-core2.js +6 -6
  481. package/dist/module/terminal-quantity-selector2.js +2 -2
  482. package/dist/module/terminal.service.js +1 -3
  483. package/dist/module/terminals-list-core2.js +6 -6
  484. package/dist/module/tokenize-payment-method.js +410 -0
  485. package/dist/module/utils2.js +3 -1660
  486. package/dist/module/utils4.js +1 -1
  487. package/dist/types/api/ApplePay.d.ts +196 -0
  488. package/dist/types/api/BillingInformation.d.ts +13 -0
  489. package/dist/types/api/Checkout.d.ts +23 -26
  490. package/dist/types/api/ComponentError.d.ts +10 -1
  491. package/dist/types/api/Payment.d.ts +4 -3
  492. package/dist/types/api/PaymentMethod.d.ts +21 -0
  493. package/dist/types/api/services/apple-pay.service.d.ts +55 -0
  494. package/dist/types/api/services/plaid.service.d.ts +12 -0
  495. package/dist/types/components/checkout/billing-form/billing-form-schema.d.ts +4 -4
  496. package/dist/types/components/checkout/checkout.d.ts +26 -11
  497. package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
  498. package/dist/types/components/insurance/insurance-state.d.ts +2 -1
  499. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +9 -3
  500. package/dist/types/components/modular-checkout/ModularCheckout.d.ts +31 -0
  501. package/dist/types/components/modular-checkout/modular-checkout.d.ts +43 -0
  502. package/dist/types/components/modular-checkout/sub-components/apple-pay-skeleton.d.ts +6 -0
  503. package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +39 -0
  504. package/dist/types/components/{checkout/billing-form → modular-checkout/sub-components}/bank-account-billing-form-simple.d.ts +1 -1
  505. package/dist/types/components/modular-checkout/sub-components/bank-account-skeleton.d.ts +6 -0
  506. package/dist/types/components/modular-checkout/sub-components/bank-account.d.ts +18 -0
  507. package/dist/types/components/{checkout/billing-form → modular-checkout/sub-components}/billing-form-full.d.ts +1 -2
  508. package/dist/types/components/{checkout/billing-form → modular-checkout/sub-components}/card-billing-form-simple.d.ts +1 -1
  509. package/dist/types/components/modular-checkout/sub-components/card-form-skeleton.d.ts +6 -0
  510. package/dist/types/components/modular-checkout/sub-components/card-form.d.ts +20 -0
  511. package/dist/types/components/modular-checkout/sub-components/payment-method-option.d.ts +8 -0
  512. package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.d.ts +80 -0
  513. package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.test.d.ts +1 -0
  514. package/dist/types/components/modular-checkout/sub-components/saved-payment-methods.d.ts +7 -0
  515. package/dist/types/components/{checkout → modular-checkout/sub-components}/sezzle-payment-method.d.ts +4 -10
  516. package/dist/types/components/modular-checkout/sub-components/summary.d.ts +3 -0
  517. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +45 -17
  518. package/dist/types/components.d.ts +468 -223
  519. package/dist/types/index.d.ts +2 -0
  520. package/dist/types/store/checkout.store.d.ts +38 -0
  521. package/dist/types/ui-components/apple-pay-button.d.ts +17 -0
  522. package/dist/types/ui-components/form/form-control-radio.d.ts +1 -1
  523. package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
  524. package/dist/types/ui-components/index.d.ts +1 -0
  525. package/dist/types/ui-components/shadow-dom-components/justifi-button.d.ts +13 -0
  526. package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +12 -0
  527. package/dist/types/ui-components/shadow-dom-components/justifi-skeleton.d.ts +10 -0
  528. package/dist/webcomponents/index.esm.js +1 -0
  529. package/dist/webcomponents/p-0803d130.entry.js +1 -0
  530. package/dist/webcomponents/{p-BtyEAd0R.js → p-0Om7jLBs.js} +1 -1
  531. package/dist/webcomponents/p-117b7f47.entry.js +1 -0
  532. package/dist/webcomponents/p-17093105.entry.js +1 -0
  533. package/dist/webcomponents/p-1a08b47f.entry.js +1 -0
  534. package/dist/webcomponents/p-1bcb3852.entry.js +1 -0
  535. package/dist/webcomponents/p-1eb2b847.entry.js +1 -0
  536. package/dist/webcomponents/p-2f7aa249.entry.js +1 -0
  537. package/dist/webcomponents/{p-7a0661a2.entry.js → p-2fa34c82.entry.js} +4 -4
  538. package/dist/webcomponents/p-33311d41.entry.js +1 -0
  539. package/dist/webcomponents/p-336c31b3.entry.js +1 -0
  540. package/dist/webcomponents/p-3f33c940.entry.js +1 -0
  541. package/dist/webcomponents/p-442f86e8.entry.js +1 -0
  542. package/dist/webcomponents/{p-80b6c011.entry.js → p-44450a94.entry.js} +1 -1
  543. package/dist/webcomponents/p-464e7a8e.entry.js +1 -0
  544. package/dist/webcomponents/p-50392803.entry.js +1 -0
  545. package/dist/webcomponents/p-52cbd667.entry.js +1 -0
  546. package/dist/webcomponents/{p-d43a4316.entry.js → p-54ca3070.entry.js} +1 -1
  547. package/dist/webcomponents/{p-BTS3E50C.js → p-5aA7gjr5.js} +1 -1
  548. package/dist/webcomponents/p-5ad0f438.entry.js +1 -0
  549. package/dist/webcomponents/p-613421d4.entry.js +1 -0
  550. package/dist/webcomponents/p-62d12566.entry.js +1 -0
  551. package/dist/webcomponents/p-65ed60bf.entry.js +1 -0
  552. package/dist/webcomponents/p-6cf30a24.entry.js +1 -0
  553. package/dist/webcomponents/{p-bcadc072.entry.js → p-70f51444.entry.js} +1 -1
  554. package/dist/webcomponents/p-729dbd8f.entry.js +1 -0
  555. package/dist/webcomponents/p-77948b46.entry.js +1 -0
  556. package/dist/webcomponents/p-7bcfaff4.entry.js +1 -0
  557. package/dist/webcomponents/{p-96247d70.entry.js → p-7cf87637.entry.js} +1 -1
  558. package/dist/webcomponents/p-7dd74e6f.entry.js +1 -0
  559. package/dist/webcomponents/{p-ck6bcYXe.js → p-7s1gsXM5.js} +1 -1
  560. package/dist/webcomponents/p-80331983.entry.js +1 -0
  561. package/dist/webcomponents/p-85f20746.entry.js +1 -0
  562. package/dist/webcomponents/p-8687e5d6.entry.js +1 -0
  563. package/dist/webcomponents/p-89ecd650.entry.js +1 -0
  564. package/dist/webcomponents/p-8a6718b6.entry.js +1 -0
  565. package/dist/webcomponents/p-8d6b81ba.entry.js +1 -0
  566. package/dist/webcomponents/p-8d743490.entry.js +1 -0
  567. package/dist/webcomponents/p-8f7396b1.entry.js +1 -0
  568. package/dist/webcomponents/p-8ff839a4.entry.js +1 -0
  569. package/dist/webcomponents/{p-d53c3370.entry.js → p-95cbb655.entry.js} +1 -1
  570. package/dist/webcomponents/p-98cffba9.entry.js +1 -0
  571. package/dist/webcomponents/{p-cdd2c7c8.entry.js → p-9a2c044f.entry.js} +1 -1
  572. package/dist/webcomponents/p-9be67b19.entry.js +1 -0
  573. package/dist/webcomponents/p-9e8021a1.entry.js +1 -0
  574. package/dist/webcomponents/p-9fc0ea58.entry.js +1 -0
  575. package/dist/webcomponents/p-9fc567d8.entry.js +1 -0
  576. package/dist/webcomponents/p-9fcff84c.entry.js +1 -0
  577. package/dist/webcomponents/p-B71k50jz.js +1 -0
  578. package/dist/webcomponents/p-BF4U0yVj.js +1 -0
  579. package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
  580. package/dist/webcomponents/p-BHf9IqGw.js +1 -0
  581. package/dist/webcomponents/p-BSt6p1oq.js +1 -0
  582. package/dist/webcomponents/{p-BQQ7ifKz.js → p-Bb-6bNcq.js} +1 -1
  583. package/dist/webcomponents/p-BbZwa5UI.js +1 -0
  584. package/dist/webcomponents/p-BdKWuCys.js +1 -0
  585. package/dist/webcomponents/p-BfM6X7lF.js +1 -0
  586. package/dist/webcomponents/{p-DK0C7j0u.js → p-BjVfIXWC.js} +1 -1
  587. package/dist/webcomponents/{p-BpWSwi9x.js → p-BsGE9UDv.js} +1 -1
  588. package/dist/webcomponents/{p-DV1c2IYS.js → p-C5id7s_l.js} +1 -1
  589. package/dist/webcomponents/{p-dzS7n4Xj.js → p-CAJnQLZF.js} +1 -1
  590. package/dist/webcomponents/{p-DetWIU1e.js → p-CB0mCq1M.js} +1 -1
  591. package/dist/webcomponents/p-CaAVuW6B.js +1 -0
  592. package/dist/webcomponents/p-Cb0FhuyU.js +1 -0
  593. package/dist/webcomponents/p-CbL73B6U.js +1 -0
  594. package/dist/webcomponents/p-Cjcsf8ku.js +1 -0
  595. package/dist/webcomponents/p-CnWtPu8L.js +1 -0
  596. package/dist/webcomponents/{p-C5RuuShs.js → p-D2muobcE.js} +1 -1
  597. package/dist/webcomponents/{p-v6yK8Vbe.js → p-DD0Mvpeu.js} +1 -1
  598. package/dist/webcomponents/{p-B_t2t34m.js → p-DDUmOl3v.js} +1 -1
  599. package/dist/webcomponents/p-DH8F0bsw.js +1 -0
  600. package/dist/webcomponents/p-DIDloHpm.js +1 -0
  601. package/dist/webcomponents/p-DIjoBk44.js +1 -0
  602. package/dist/webcomponents/p-DK2sRMlx.js +1 -0
  603. package/dist/webcomponents/{p-qGbNz93o.js → p-DNo0OPOP.js} +1 -1
  604. package/dist/webcomponents/p-DRXvcLy9.js +1 -0
  605. package/dist/webcomponents/p-DYGIC0QH.js +1 -0
  606. package/dist/webcomponents/p-DZYcH7jA.js +1 -0
  607. package/dist/webcomponents/p-Da3idOSV.js +1 -0
  608. package/dist/webcomponents/p-Dgflaz6J.js +1 -0
  609. package/dist/webcomponents/p-ED_TzwCp.js +1 -0
  610. package/dist/webcomponents/p-HXpYMWUU.js +1 -0
  611. package/dist/webcomponents/p-JyHlIFWl.js +1 -0
  612. package/dist/webcomponents/{p-CVGBVdVC.js → p-RvUQ__Pq.js} +1 -1
  613. package/dist/webcomponents/p-Wh1V0gvF.js +1 -0
  614. package/dist/webcomponents/p-ZpPDShvP.js +1 -0
  615. package/dist/webcomponents/p-a55f07af.entry.js +1 -0
  616. package/dist/webcomponents/p-aa6194ef.entry.js +1 -0
  617. package/dist/webcomponents/p-ab6a5dc9.entry.js +1 -0
  618. package/dist/webcomponents/p-af9c4174.entry.js +1 -0
  619. package/dist/webcomponents/p-b7d2f2eb.entry.js +1 -0
  620. package/dist/webcomponents/p-bbc4b4cb.entry.js +1 -0
  621. package/dist/webcomponents/p-c599e526.entry.js +1 -0
  622. package/dist/webcomponents/p-d62cd269.entry.js +1 -0
  623. package/dist/webcomponents/p-d9dd7d24.entry.js +1 -0
  624. package/dist/webcomponents/p-dd7352da.entry.js +1 -0
  625. package/dist/webcomponents/p-e8a67dc7.entry.js +1 -0
  626. package/dist/webcomponents/p-eb2d9e5b.entry.js +1 -0
  627. package/dist/webcomponents/p-eddaca4e.entry.js +1 -0
  628. package/dist/webcomponents/p-ef32fe0e.entry.js +1 -0
  629. package/dist/webcomponents/{p-c51651aa.entry.js → p-f1cba43c.entry.js} +1 -1
  630. package/dist/webcomponents/p-f1f0b405.entry.js +1 -0
  631. package/dist/webcomponents/p-f499a8de.entry.js +1 -0
  632. package/dist/webcomponents/p-f4d0cdf0.entry.js +1 -0
  633. package/dist/webcomponents/p-f680e617.entry.js +1 -0
  634. package/dist/webcomponents/p-f7c4222f.entry.js +1 -0
  635. package/dist/webcomponents/p-fa1884b4.entry.js +1 -0
  636. package/dist/webcomponents/p-z-5r0gWn.js +1 -0
  637. package/dist/webcomponents/webcomponents.esm.js +1 -1
  638. package/package.json +2 -2
  639. package/dist/cjs/Checkout-BbhldGDh.js +0 -103
  640. package/dist/cjs/Payment-D6XuQ4Ve.js +0 -151
  641. package/dist/cjs/bank-account-form_9.cjs.entry.js +0 -544
  642. package/dist/cjs/iframe-input-styles-state-DH-5a2Mg.js +0 -26
  643. package/dist/cjs/justifi-checkout-core.cjs.entry.js +0 -141
  644. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +0 -124
  645. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +0 -80
  646. package/dist/collection/components/checkout/checkout-core.js +0 -454
  647. package/dist/collection/components/checkout/new-payment-method.js +0 -378
  648. package/dist/collection/components/checkout/payment-method-options.js +0 -440
  649. package/dist/collection/components/checkout/sezzle-payment-method.js +0 -240
  650. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +0 -447
  651. package/dist/esm/Checkout-CIUkm9aQ.js +0 -101
  652. package/dist/esm/Payment-DrCqUoz-.js +0 -149
  653. package/dist/esm/bank-account-form_9.entry.js +0 -534
  654. package/dist/esm/iframe-input-styles-state-Cqb62KAu.js +0 -23
  655. package/dist/esm/insurance-state-DRFl0tWj.js +0 -28
  656. package/dist/esm/justifi-checkout-core.entry.js +0 -139
  657. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +0 -122
  658. package/dist/esm/justifi-tokenize-payment-method.entry.js +0 -78
  659. package/dist/module/Checkout.js +0 -121
  660. package/dist/module/Payment.js +0 -204
  661. package/dist/module/checkout-core.js +0 -292
  662. package/dist/module/justifi-checkout-core.js +0 -6
  663. package/dist/module/justifi-new-payment-method.d.ts +0 -11
  664. package/dist/module/justifi-new-payment-method.js +0 -6
  665. package/dist/module/justifi-payment-method-options.d.ts +0 -11
  666. package/dist/module/justifi-payment-method-options.js +0 -6
  667. package/dist/module/justifi-season-interruption-insurance-core.d.ts +0 -11
  668. package/dist/module/justifi-season-interruption-insurance-core.js +0 -6
  669. package/dist/module/new-payment-method.js +0 -222
  670. package/dist/module/payment-method-options.js +0 -237
  671. package/dist/module/saved-payment-method.js +0 -79
  672. package/dist/module/season-interruption-insurance-core.js +0 -168
  673. package/dist/types/components/checkout/checkout-core.d.ts +0 -49
  674. package/dist/types/components/checkout/new-payment-method.d.ts +0 -31
  675. package/dist/types/components/checkout/payment-method-options.d.ts +0 -32
  676. package/dist/types/components/insurance/season-interruption/season-interruption-insurance-core.d.ts +0 -32
  677. package/dist/webcomponents/p-08e1bf28.entry.js +0 -1
  678. package/dist/webcomponents/p-09cb06ed.entry.js +0 -1
  679. package/dist/webcomponents/p-0adbbb23.entry.js +0 -1
  680. package/dist/webcomponents/p-0b067d3c.entry.js +0 -1
  681. package/dist/webcomponents/p-0bfd309e.entry.js +0 -1
  682. package/dist/webcomponents/p-0f005fdd.entry.js +0 -1
  683. package/dist/webcomponents/p-0nMw2Aul.js +0 -1
  684. package/dist/webcomponents/p-14dc17fd.entry.js +0 -1
  685. package/dist/webcomponents/p-266f1ff3.entry.js +0 -1
  686. package/dist/webcomponents/p-35387685.entry.js +0 -1
  687. package/dist/webcomponents/p-3946adfa.entry.js +0 -1
  688. package/dist/webcomponents/p-3c44b724.entry.js +0 -1
  689. package/dist/webcomponents/p-3e3b5cdb.entry.js +0 -1
  690. package/dist/webcomponents/p-41876098.entry.js +0 -1
  691. package/dist/webcomponents/p-45edf188.entry.js +0 -1
  692. package/dist/webcomponents/p-4786f2d0.entry.js +0 -1
  693. package/dist/webcomponents/p-4c1c55bb.entry.js +0 -1
  694. package/dist/webcomponents/p-4f358b63.entry.js +0 -1
  695. package/dist/webcomponents/p-5375df08.entry.js +0 -1
  696. package/dist/webcomponents/p-575b972d.entry.js +0 -1
  697. package/dist/webcomponents/p-580aa2e3.entry.js +0 -1
  698. package/dist/webcomponents/p-5b857a1c.entry.js +0 -1
  699. package/dist/webcomponents/p-5c9d1c35.entry.js +0 -1
  700. package/dist/webcomponents/p-690514f2.entry.js +0 -1
  701. package/dist/webcomponents/p-6a853571.entry.js +0 -1
  702. package/dist/webcomponents/p-724e4e6c.entry.js +0 -1
  703. package/dist/webcomponents/p-756a7021.entry.js +0 -1
  704. package/dist/webcomponents/p-89431ee2.entry.js +0 -1
  705. package/dist/webcomponents/p-8f5c1ae6.entry.js +0 -1
  706. package/dist/webcomponents/p-989d56de.entry.js +0 -1
  707. package/dist/webcomponents/p-99f7a36d.entry.js +0 -1
  708. package/dist/webcomponents/p-BCgpQGhw.js +0 -1
  709. package/dist/webcomponents/p-BOCuVjGs.js +0 -1
  710. package/dist/webcomponents/p-BUSn_ReW.js +0 -1
  711. package/dist/webcomponents/p-BZtgbC0H.js +0 -1
  712. package/dist/webcomponents/p-Bs-84XY6.js +0 -1
  713. package/dist/webcomponents/p-BvXjypQm.js +0 -1
  714. package/dist/webcomponents/p-C-wMveZe.js +0 -1
  715. package/dist/webcomponents/p-CCl9g-ln.js +0 -1
  716. package/dist/webcomponents/p-CDPZXQAo.js +0 -1
  717. package/dist/webcomponents/p-CKEiU2Q5.js +0 -1
  718. package/dist/webcomponents/p-CS4_rnSp.js +0 -1
  719. package/dist/webcomponents/p-CnMP2-Xk.js +0 -1
  720. package/dist/webcomponents/p-Cs0cIpIm.js +0 -1
  721. package/dist/webcomponents/p-CxHdQoIo.js +0 -1
  722. package/dist/webcomponents/p-DFWnHEN2.js +0 -1
  723. package/dist/webcomponents/p-DKSNNnPC.js +0 -1
  724. package/dist/webcomponents/p-DjFzWJxk.js +0 -1
  725. package/dist/webcomponents/p-DnGswpsl.js +0 -1
  726. package/dist/webcomponents/p-DniQ6yo6.js +0 -1
  727. package/dist/webcomponents/p-DsLxs70Z.js +0 -1
  728. package/dist/webcomponents/p-DtdcFDM_.js +0 -1
  729. package/dist/webcomponents/p-DwF36W04.js +0 -1
  730. package/dist/webcomponents/p-L4y68wud.js +0 -1
  731. package/dist/webcomponents/p-SdntD1xf.js +0 -1
  732. package/dist/webcomponents/p-a09ca567.entry.js +0 -1
  733. package/dist/webcomponents/p-a3313ebe.entry.js +0 -1
  734. package/dist/webcomponents/p-aeaafe28.entry.js +0 -1
  735. package/dist/webcomponents/p-b25bbf0a.entry.js +0 -1
  736. package/dist/webcomponents/p-b7594923.entry.js +0 -1
  737. package/dist/webcomponents/p-b79e302a.entry.js +0 -1
  738. package/dist/webcomponents/p-ba268a78.entry.js +0 -1
  739. package/dist/webcomponents/p-ba68ea4f.entry.js +0 -1
  740. package/dist/webcomponents/p-bf0e00be.entry.js +0 -1
  741. package/dist/webcomponents/p-c15d8dd0.entry.js +0 -1
  742. package/dist/webcomponents/p-c28f2569.entry.js +0 -1
  743. package/dist/webcomponents/p-c5911cd9.entry.js +0 -1
  744. package/dist/webcomponents/p-cefb9a76.entry.js +0 -1
  745. package/dist/webcomponents/p-d2ae3c55.entry.js +0 -1
  746. package/dist/webcomponents/p-d2e1d179.entry.js +0 -1
  747. package/dist/webcomponents/p-d4d58793.entry.js +0 -1
  748. package/dist/webcomponents/p-dc6b707a.entry.js +0 -1
  749. package/dist/webcomponents/p-dfd9aff0.entry.js +0 -1
  750. package/dist/webcomponents/p-e4682bb6.entry.js +0 -1
  751. package/dist/webcomponents/p-ee566062.entry.js +0 -1
  752. package/dist/webcomponents/p-ef07d761.entry.js +0 -1
  753. package/dist/webcomponents/p-f24b04eb.entry.js +0 -1
  754. package/dist/webcomponents/p-f8e974af.entry.js +0 -1
  755. package/dist/webcomponents/p-fb60bc7a.entry.js +0 -1
  756. package/dist/webcomponents/p-znmwKCgq.js +0 -1
@@ -0,0 +1,293 @@
1
+ import { Api } from "../Api";
2
+ import { ApplePaySessionStatus, ApplePayHelpers, ApplePayConfig, ApplePayPaymentRequest, } from "../ApplePay";
3
+ export class ApplePayService {
4
+ constructor() {
5
+ this.api = Api();
6
+ }
7
+ /**
8
+ * Initialize Apple Pay configuration
9
+ */
10
+ initialize(applePayConfig) {
11
+ this.applePayConfig = new ApplePayConfig(applePayConfig);
12
+ if (!this.applePayConfig.isValid) {
13
+ throw new Error('Invalid Apple Pay configuration provided');
14
+ }
15
+ }
16
+ /**
17
+ * Validate merchant with Apple Pay servers via API
18
+ */
19
+ async validateMerchant(authToken, accountId) {
20
+ const endpoint = 'apple_pay/merchant_session';
21
+ try {
22
+ const response = await this.api.post({
23
+ endpoint,
24
+ authToken,
25
+ headers: {
26
+ 'Sub-Account': accountId,
27
+ },
28
+ });
29
+ return response;
30
+ }
31
+ catch (error) {
32
+ console.error('Backend validation failed:', error);
33
+ throw new Error('Merchant validation failed');
34
+ }
35
+ }
36
+ /**
37
+ * Process Apple Pay payment via API (fixed to match original logic)
38
+ */
39
+ async processPayment(authToken, accountId, payload) {
40
+ const endpoint = 'apple_pay/process_token';
41
+ const result = await this.api.post({
42
+ endpoint,
43
+ authToken,
44
+ body: payload,
45
+ headers: {
46
+ 'Sub-Account': accountId,
47
+ },
48
+ });
49
+ return {
50
+ success: result.id && !!result.data.token,
51
+ data: result,
52
+ };
53
+ }
54
+ /**
55
+ * Check if Apple Pay is available on this device/browser
56
+ */
57
+ isAvailable() {
58
+ return (ApplePayHelpers.isApplePaySupported() && ApplePayHelpers.canMakePayments());
59
+ }
60
+ /**
61
+ * Check if the user has an active card for the merchant
62
+ */
63
+ async canMakePaymentsWithActiveCard() {
64
+ if (!this.applePayConfig) {
65
+ throw new Error('Apple Pay not initialized. Call initialize() first.');
66
+ }
67
+ return await ApplePayHelpers.canMakePaymentsWithActiveCard(this.applePayConfig.merchantIdentifier);
68
+ }
69
+ /**
70
+ * Start Apple Pay session
71
+ */
72
+ async startPaymentSession(paymentRequest, authToken, accountId) {
73
+ if (!this.applePayConfig) {
74
+ throw new Error('Apple Pay not initialized. Call initialize() first.');
75
+ }
76
+ // if (!this.isAvailable()) {
77
+ // throw new Error('Apple Pay is not available on this device/browser');
78
+ // }
79
+ const request = new ApplePayPaymentRequest(paymentRequest);
80
+ if (!request.isValid) {
81
+ throw new Error('Invalid payment request provided');
82
+ }
83
+ this.currentPaymentRequest = request;
84
+ return new Promise((resolve, reject) => {
85
+ try {
86
+ this.currentSession = new window.ApplePaySession(3, request);
87
+ this.setupSessionEventHandlers(resolve, reject, authToken, accountId);
88
+ this.currentSession.begin();
89
+ }
90
+ catch (error) {
91
+ reject({
92
+ success: false,
93
+ error: {
94
+ code: 'SESSION_ERROR',
95
+ message: error instanceof Error
96
+ ? error.message
97
+ : 'Failed to start Apple Pay session',
98
+ },
99
+ });
100
+ }
101
+ });
102
+ }
103
+ /**
104
+ * Abort current Apple Pay session
105
+ */
106
+ abortPaymentSession() {
107
+ if (this.currentSession) {
108
+ this.currentSession.abort();
109
+ this.currentSession = undefined;
110
+ this.currentPaymentRequest = undefined;
111
+ }
112
+ }
113
+ /**
114
+ * Setup Apple Pay session event handlers
115
+ */
116
+ setupSessionEventHandlers(resolve, reject, authToken, accountId) {
117
+ if (!this.currentSession ||
118
+ !this.applePayConfig ||
119
+ !this.currentPaymentRequest) {
120
+ return;
121
+ }
122
+ this.currentSession.onvalidatemerchant = async () => {
123
+ try {
124
+ if (!authToken) {
125
+ throw new Error('Authentication token not provided.');
126
+ }
127
+ const merchantSession = await this.validateMerchant(authToken, accountId);
128
+ try {
129
+ this.currentSession.completeMerchantValidation(merchantSession);
130
+ }
131
+ catch (completionError) {
132
+ console.error('Error calling completeMerchantValidation:', completionError);
133
+ throw completionError;
134
+ }
135
+ }
136
+ catch (error) {
137
+ console.error('=== MERCHANT VALIDATION ERROR ===');
138
+ console.error('Error during merchant validation:', error);
139
+ console.error('Error stack:', error.stack);
140
+ this.currentSession.abort();
141
+ reject({
142
+ success: false,
143
+ error: {
144
+ code: 'MERCHANT_VALIDATION_ERROR',
145
+ message: error instanceof Error
146
+ ? error.message
147
+ : 'Merchant validation failed',
148
+ },
149
+ });
150
+ }
151
+ };
152
+ this.currentSession.onpaymentauthorized = async (event) => {
153
+ try {
154
+ const payment = event.payment;
155
+ const paymentPayload = Object.assign(Object.assign({}, payment.token), { product_details: {
156
+ name: this.currentPaymentRequest.total.label,
157
+ price: ApplePayHelpers.parseAmount(this.currentPaymentRequest.total.amount),
158
+ description: this.currentPaymentRequest.total.label,
159
+ } });
160
+ const paymentResult = await this.processPayment(authToken, accountId, paymentPayload);
161
+ if (paymentResult.success) {
162
+ this.currentSession.completePayment({
163
+ status: ApplePaySessionStatus.STATUS_SUCCESS,
164
+ });
165
+ resolve({
166
+ success: true,
167
+ token: payment.token,
168
+ paymentMethodId: paymentResult.data.id,
169
+ });
170
+ }
171
+ else {
172
+ console.error('PSP reported payment failure:', paymentResult.data);
173
+ this.currentSession.completePayment({
174
+ status: ApplePaySessionStatus.STATUS_FAILURE,
175
+ });
176
+ reject({
177
+ success: false,
178
+ error: {
179
+ code: 'PAYMENT_PROCESSING_ERROR',
180
+ message: 'Payment processing failed',
181
+ },
182
+ });
183
+ }
184
+ }
185
+ catch (error) {
186
+ console.error('=== PAYMENT PROCESSING ERROR ===');
187
+ console.error('Error processing payment:', error);
188
+ console.error('Error stack:', error.stack);
189
+ this.currentSession.completePayment({
190
+ status: ApplePaySessionStatus.STATUS_FAILURE,
191
+ });
192
+ reject({
193
+ success: false,
194
+ error: {
195
+ code: 'PAYMENT_PROCESSING_ERROR',
196
+ message: error instanceof Error
197
+ ? error.message
198
+ : 'Payment processing failed',
199
+ },
200
+ });
201
+ }
202
+ finally {
203
+ this.currentSession = undefined;
204
+ this.currentPaymentRequest = undefined;
205
+ }
206
+ };
207
+ this.currentSession.onpaymentmethodselected = () => {
208
+ const paymentUpdate = {
209
+ newTotal: this.currentPaymentRequest.total,
210
+ newLineItems: this.currentPaymentRequest.lineItems || [],
211
+ };
212
+ try {
213
+ this.currentSession.completePaymentMethodSelection(paymentUpdate);
214
+ }
215
+ catch (error) {
216
+ console.error('Error completing payment method selection:', error);
217
+ this.currentSession.abort();
218
+ }
219
+ };
220
+ this.currentSession.onshippingmethodselected = () => {
221
+ this.currentSession.completeShippingMethodSelection({
222
+ status: ApplePaySessionStatus.STATUS_SUCCESS,
223
+ newTotal: this.currentPaymentRequest.total,
224
+ newLineItems: this.currentPaymentRequest.lineItems || [],
225
+ });
226
+ };
227
+ this.currentSession.oncancel = (event) => {
228
+ if (event.sessionError) {
229
+ console.error(event.sessionError);
230
+ switch (event.sessionError.code) {
231
+ case 'unknown':
232
+ console.error('Unknown error - likely merchant validation issue');
233
+ console.error('This usually means:');
234
+ console.error('1. Merchant certificate is invalid or expired');
235
+ console.error('2. Merchant identifier mismatch');
236
+ console.error('3. Backend validation endpoint issues');
237
+ break;
238
+ case 'invalidMerchantSession':
239
+ console.error('Invalid merchant session provided');
240
+ console.error('Check that the merchant session from backend is valid');
241
+ break;
242
+ case 'userCancel':
243
+ console.error('User cancelled the payment');
244
+ break;
245
+ default:
246
+ console.error('Other error code:', event.sessionError.code);
247
+ }
248
+ }
249
+ this.currentSession = undefined;
250
+ this.currentPaymentRequest = undefined;
251
+ reject({
252
+ success: false,
253
+ error: {
254
+ code: 'USER_CANCELLED',
255
+ message: 'User cancelled the Apple Pay session',
256
+ },
257
+ });
258
+ };
259
+ if ('onerror' in this.currentSession) {
260
+ this.currentSession.onerror = (error) => {
261
+ console.error('=== APPLE PAY SESSION ERROR ===');
262
+ console.error('Session error:', error);
263
+ this.currentSession = undefined;
264
+ this.currentPaymentRequest = undefined;
265
+ reject({
266
+ success: false,
267
+ error: {
268
+ code: 'SESSION_ERROR',
269
+ message: 'Apple Pay session error occurred',
270
+ },
271
+ });
272
+ };
273
+ }
274
+ }
275
+ /**
276
+ * Create a basic payment request
277
+ */
278
+ static createPaymentRequest(amount, label, countryCode = 'US', currencyCode = 'USD') {
279
+ return {
280
+ countryCode,
281
+ currencyCode,
282
+ merchantCapabilities: ApplePayHelpers.getDefaultMerchantCapabilities(),
283
+ supportedNetworks: ApplePayHelpers.getDefaultSupportedNetworks(),
284
+ total: ApplePayHelpers.createLineItem(label, amount),
285
+ };
286
+ }
287
+ /**
288
+ * Get current configuration
289
+ */
290
+ getApplePayConfig() {
291
+ return this.applePayConfig;
292
+ }
293
+ }
@@ -0,0 +1,20 @@
1
+ import { Api } from "..";
2
+ const api = Api();
3
+ export class PlaidService {
4
+ async getLinkToken(authToken, accountId, checkoutId, signal) {
5
+ const endpoint = `plaid/${accountId}/link`;
6
+ const body = { checkout_id: checkoutId };
7
+ return api.post({ endpoint, body, authToken, signal });
8
+ }
9
+ async tokenizeBankAccount(authToken, accountId, publicToken, linkTokenId, paymentMethodGroupId, signal) {
10
+ const endpoint = `plaid/${accountId}/tokenize`;
11
+ const body = { public_token: publicToken };
12
+ if (linkTokenId) {
13
+ body.link_token_id = linkTokenId;
14
+ }
15
+ if (paymentMethodGroupId) {
16
+ body.payment_method_group_id = paymentMethodGroupId;
17
+ }
18
+ return api.post({ endpoint, body, authToken, signal });
19
+ }
20
+ }
@@ -0,0 +1 @@
1
+ <svg height="48" viewBox="0 0 28 29" xmlns="http://www.w3.org/2000/svg" class="css-1rdaj8m"><g fill="#111" fill-rule="evenodd"><path d="M25.7629 26.2628L28 17.5309L24.9691 14.5001L27.9999 11.4691L25.7628 2.73706L17.0309 0.5L14.0001 3.531L10.969 0.50014L2.23706 2.73734L0 11.4691L3.03128 14.4999L0.00014 17.531L2.2372 26.2629L10.9691 28.5L14.0001 25.469L17.031 28.4999L25.7629 26.2628ZM15.7321 23.7371L18.6186 20.8505L22.2912 24.5233L17.6956 25.7007L15.7321 23.7371ZM11.1136 9.88154L14.0003 6.99502L16.8868 9.8814L14.0001 12.7679L11.1136 9.88154ZM12.2682 14.5L9.38154 17.3865L6.49502 14.5L9.38154 11.6135L12.2682 14.5ZM18.6187 11.6133L21.5053 14.5L18.6186 17.3865L15.7321 14.5L18.6187 11.6133ZM16.8867 19.1186L14.0001 22.0051L11.1135 19.1185L14.0001 16.2319L16.8867 19.1186ZM10.3044 25.7007L5.70864 24.5233L9.38154 20.8504L12.2682 23.7371L10.3044 25.7007ZM4.76308 16.2319L7.6496 19.1185L3.9767 22.7914L2.7993 18.1957L4.76308 16.2319ZM3.9767 6.20836L7.64974 9.8814L4.76308 12.7681L2.7993 10.8041L3.9767 6.20836ZM12.2683 5.26294L9.38168 8.1496L5.70892 4.4767L10.3047 3.2993L12.2683 5.26294ZM17.6959 3.2993L22.2915 4.4767L18.6186 8.14946L15.7321 5.26294L17.6959 3.2993ZM23.2372 12.7681L20.3505 9.8814L24.0233 6.20878L25.2007 10.8046L23.2372 12.7681ZM24.0233 22.7914L20.3505 19.1186L23.2372 16.2321L25.2007 18.1957L24.0233 22.7914Z"></path></g></svg>
@@ -2,6 +2,7 @@
2
2
  "entries": [
3
3
  "ui-components/pagination-menu/pagination-menu.js",
4
4
  "ui-components/details/details.js",
5
+ "ui-components/shadow-dom-components/justifi-radio-list-item.js",
5
6
  "components/business-details/business-details-core.js",
6
7
  "components/business-details/business-details.js",
7
8
  "components/business-details/additional-questions-details/additional-questions-details.js",
@@ -40,18 +41,14 @@
40
41
  "components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js",
41
42
  "components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js",
42
43
  "components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js",
43
- "components/checkout/checkout-core.js",
44
44
  "components/checkout/checkout.js",
45
- "components/checkout/new-payment-method.js",
46
- "components/checkout/payment-method-options.js",
47
45
  "components/checkout/save-new-payment-method.js",
48
46
  "components/checkout/saved-payment-method.js",
49
- "components/checkout/sezzle-payment-method.js",
50
47
  "components/checkout/bank-account-form/bank-account-form.js",
51
- "components/checkout/billing-form/bank-account-billing-form-simple.js",
52
- "components/checkout/billing-form/billing-form-full.js",
53
48
  "components/checkout/billing-form/billing-form.js",
54
- "components/checkout/billing-form/card-billing-form-simple.js",
49
+ "components/modular-checkout/sub-components/billing-form-full.js",
50
+ "components/modular-checkout/sub-components/card-billing-form-simple.js",
51
+ "components/modular-checkout/sub-components/bank-account-billing-form-simple.js",
55
52
  "components/checkout/card-form/card-form.js",
56
53
  "components/checkouts-list/checkouts-list-core.js",
57
54
  "components/checkouts-list/checkouts-list-filters.js",
@@ -74,8 +71,16 @@
74
71
  "components/dispute-management/dispute-response/shipping-details.js",
75
72
  "components/gross-payment-chart/gross-payment-chart-core.js",
76
73
  "components/gross-payment-chart/gross-payment-chart.js",
77
- "components/insurance/season-interruption/season-interruption-insurance-core.js",
78
74
  "components/insurance/season-interruption/season-interruption-insurance.js",
75
+ "components/modular-checkout/modular-checkout.js",
76
+ "components/modular-checkout/sub-components/apple-pay.js",
77
+ "components/modular-checkout/sub-components/bank-account.js",
78
+ "components/modular-checkout/sub-components/card-form.js",
79
+ "components/modular-checkout/sub-components/payment-method-option.js",
80
+ "components/modular-checkout/sub-components/plaid-payment-method.js",
81
+ "components/modular-checkout/sub-components/saved-payment-methods.js",
82
+ "components/modular-checkout/sub-components/sezzle-payment-method.js",
83
+ "components/modular-checkout/sub-components/summary.js",
79
84
  "components/order-terminals/order-terminals.js",
80
85
  "components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js",
81
86
  "components/payment-details/payment-details-core.js",
@@ -113,7 +118,10 @@
113
118
  "ui-components/form/iframe-input.js",
114
119
  "ui-components/form/form-helpers/form-alert/form-alert.js",
115
120
  "ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js",
116
- "ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js"
121
+ "ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js",
122
+ "ui-components/shadow-dom-components/justifi-button.js",
123
+ "ui-components/shadow-dom-components/justifi-header.js",
124
+ "ui-components/shadow-dom-components/justifi-skeleton.js"
117
125
  ],
118
126
  "compiler": {
119
127
  "name": "@stencil/core",
@@ -18,7 +18,7 @@ export class AdditionalQuestions {
18
18
  render() {
19
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
20
20
  const additionalQuestionsDefaultValue = this.formController.getInitialValues().additional_questions;
21
- return (h(Host, { key: '6e2549b906fec8928dae89a4f143916a2b50eff3' }, h("fieldset", { key: '525eab0debf75c3996c45128e9431086e49c3850' }, h("legend", { key: 'adeb6e2a32fb4f9e991d7b4843569116e336743c', part: heading2 }, "Additional Questions"), h("div", { key: '29b55613d32bc434017fc561033c6c9b8800666d', class: "row gy-3" }, h("div", { key: '80c1d6b2c5e52c5fe0f8b9c3591bb315e51f7c55', class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { key: 'e69e6c75d3a6add592e90e3709d7b7ff694ebfe0', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.additional_questions) === null || _b === void 0 ? void 0 : _b.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'af0e66f6f647ed7248e0d861707cc378c85b0dce', class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { key: 'e1f6af9f7537bf4d4e96739ff7537be01ca9371c', name: "business_payment_volume", label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.additional_questions) === null || _d === void 0 ? void 0 : _d.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'b914a2f8abd79eab79d284f1ece9850f4a417893', class: "col-12" }, h("form-control-select", { key: '8954dfe23f7984810fbae657ac9995e40253b377', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.additional_questions) === null || _f === void 0 ? void 0 : _f.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: 'da533644fd51e8678fc80d49c7db0ce20a803019', class: "col-12" }, h("form-control-select", { key: '06c23865a5bbda38b294dd4edfee6ace942fb732', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.additional_questions) === null || _h === void 0 ? void 0 : _h.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: 'bb492db9aea205138ef76cf6fc7c3f686bb41a79', class: "col-12" }, h("form-control-text", { key: 'a3f900076730b504587619ff9c4c13ecce36f541', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.additional_questions) === null || _k === void 0 ? void 0 : _k.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), h("div", { key: 'e2f56ae5d9654bdb1077689a1ef59c9047e97bda', class: "col-12" }, h("form-control-select", { key: '697e41186b4c82046e50288594681117bf8dd6fe', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.additional_questions) === null || _m === void 0 ? void 0 : _m.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: '2e2f5d17b70604b9425997d9e4e0dfafea933448', class: "col-12" }, h("form-control-text", { key: '27d305b06e7bc2d66084c9d04ebb785883564bbd', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_p = (_o = this.errors) === null || _o === void 0 ? void 0 : _o.additional_questions) === null || _p === void 0 ? void 0 : _p.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
21
+ return (h(Host, { key: 'e3e354a7cf470f658e0f95d37186b1f45771b673' }, h("fieldset", { key: '7fb001177a4f907d513eb5955063d446234ede0c' }, h("legend", { key: 'ee6b045a438be9f56345daad752e105640f1ca3d', part: heading2 }, "Additional Questions"), h("div", { key: 'ed114675357f3b70c34a3eb941fdb30e6219cdc9', class: "row gy-3" }, h("div", { key: 'b85c27c827cf5e5d0d556c343315e5eec736f538', class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { key: '4576f67fa74ba7c2ca9730468ddc52b055a3c496', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.additional_questions) === null || _b === void 0 ? void 0 : _b.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '0614c60cc7daaf890ccb4888d41b0260a26f9a0e', class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { key: '2c435c1553714d75542e0e3bcf1d723f26b37da8', name: "business_payment_volume", label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.additional_questions) === null || _d === void 0 ? void 0 : _d.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '8d4a19eb0b6b5707f4a423543d86ae50f6492efc', class: "col-12" }, h("form-control-select", { key: '2e49f907bae85cd4901e4aa4413284596fbed365', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.additional_questions) === null || _f === void 0 ? void 0 : _f.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: '11bc4e0bbe2122b977cf8bc29ac0601ef941881c', class: "col-12" }, h("form-control-select", { key: 'c511b728971250dc3272c1ef9ff96131a9ac6a2e', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.additional_questions) === null || _h === void 0 ? void 0 : _h.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: '5a40dfe41a9fca815cdf0eb7455b41615d1e6c76', class: "col-12" }, h("form-control-text", { key: 'd8aaf0f6d7d44b1b15ec76af198a0117493f08c6', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.additional_questions) === null || _k === void 0 ? void 0 : _k.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), h("div", { key: 'b211bb865a60baf1ea00c81f76f000ff2a31d7bd', class: "col-12" }, h("form-control-select", { key: '4b693e7425e690a59e2c70646cca2b886b8a8796', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.additional_questions) === null || _m === void 0 ? void 0 : _m.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: 'e85b7fceb9cdc808afaf3559609b7519c9630266', class: "col-12" }, h("form-control-text", { key: 'ae4a6518c7499826f30376f1c902f694244059c7', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_p = (_o = this.errors) === null || _o === void 0 ? void 0 : _o.additional_questions) === null || _p === void 0 ? void 0 : _p.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
22
22
  }
23
23
  static get is() { return "justifi-additional-questions"; }
24
24
  static get properties() {
@@ -27,7 +27,7 @@ export class BusinessCoreInfo {
27
27
  }
28
28
  render() {
29
29
  const coreInfoDefaultValue = this.formController.getInitialValues();
30
- return (h(Host, { key: '71096918610aa3068cf89fbf9f3537b7f49942c6' }, h("fieldset", { key: '502e6c3e3ae05256c6e5e8d315b4aa208ce88953' }, h("legend", { key: 'ccbe69b2323e815dc77b2602a96bdc4238fcef03', part: heading2 }, "General Info"), h("div", { key: '19a70fd7a361e5de4c88e14cbff12d88f78233e3', class: "row gy-3" }, h("div", { key: '611bcc2bd35db7b6940a5b7ae53c54b55b855dd6', class: "col-12" }, h("form-control-text", { key: 'a9de594470c896aff0803c34a313c38467f7c82a', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: 'ed742f64b1c344587127ce94ba1d17206bbdebb3', class: "col-12" }, h("form-control-text", { key: 'abb41f3aa059c180882066e21fe0239838cd9956', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: '3659fb0dd0419fd4d6f0205bc9e32aef05f56aa1', class: "col-12 col-md-8" }, h("form-control-select", { key: '5bbbe7cd7fe0a7e8788e36855ff18390bf8df301', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '5007e6269c59878e6388164ff8d5163090b87585', class: "col-12 col-md-4" }, h("form-control-date", { key: '4fa7c7f001ced10c746d2891fe3efd8336542907', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: 'e245a4ac6e0904c9742a0d1d220cb95c9fe63497', class: "col-12 col-md-6" }, h("form-control-text", { key: 'bc7367525a45c221c576f2b31c1a95680a95937a', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '6475831320818242eda7ac045dcdd076fbc4245c', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'd68e8046fa42f4d5976aa44a7769b14fc4cda416', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: TAX_ID_MASKS.US })), h("div", { key: 'f59cda0241c1ad92d0d995e330b92079ba75737f', class: "col-12" }, h("form-control-text", { key: '8243464d1c75897c1e3423e5045f34b81b425a9e', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: 'c65251b25e0996277f7d0e11d25d6340ccfc11e7', class: "col-12 col-md-6" }, h("form-control-text", { key: 'fe3a4eff53786f49fbfe24afb048f861bf7a469a', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'b1d909e5f937dcbbac0082b293571904c0c81396', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '83238873cbd8ccc08a5c3af1bd87a7965fefb5f8', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
30
+ return (h(Host, { key: '75bbee71e68fb0dafa609838f4d3e22bf4388332' }, h("fieldset", { key: '1e1cc71bfd46b278ad3f7d3a73d5b126fbf19533' }, h("legend", { key: '341b82942f116b4a2b0b29ce505fda3a153f88ec', part: heading2 }, "General Info"), h("div", { key: 'e97b3c3a38f888795c24c887d42854c79f1f7b34', class: "row gy-3" }, h("div", { key: '6d560585e9843143c836a302ad83b19719732467', class: "col-12" }, h("form-control-text", { key: '9868049d15e3f2552feba3ff6fa6b1ab43c7ae9c', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: 'f77c1d66117c29b6f5963a99bbb531f76242d052', class: "col-12" }, h("form-control-text", { key: '2708d678c35d4fa9838cd3fd834c77105b94feff', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: 'bb17f23c8f7fc1be73524dce8ed11ce9a9524a21', class: "col-12 col-md-8" }, h("form-control-select", { key: 'bc4175a9ed29127d89cf9c6135448c80733f6959', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '6c5faad25c64ec50023be5128b8b0527584f9a7c', class: "col-12 col-md-4" }, h("form-control-date", { key: '54a151222d7eabc40a66ffbd5d0dba2e765cd135', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: '5a562ba1811a319d2f5dd10197be2e1ecb94da8b', class: "col-12 col-md-6" }, h("form-control-text", { key: '03780a900fd4c176e5658b0784ef57eb48d2b3f7', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '96e4110eb7b40f87a804b24a2ec94defca0be899', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '3cfda64e576a93bbed143b34c235b5388dade635', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: TAX_ID_MASKS.US })), h("div", { key: '6a6e4d87838f2666c2750662c1f031f3b8d0effe', class: "col-12" }, h("form-control-text", { key: '68f28a6b78e2df1cd69631097a001369722d8081', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: '8a334f64bc214d1211772e5a5018b82dadd88d1a', class: "col-12 col-md-6" }, h("form-control-text", { key: '639888a2d30e785e1d403830c718b7991f28285a', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'b4aac33c17ce96c5c9a9ce5a90f322f69941df5e', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'c384d24cc34fefca964a5eb412b28360361ab780', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
31
31
  }
32
32
  static get is() { return "justifi-business-core-info"; }
33
33
  static get properties() {
@@ -26,7 +26,7 @@ export class BusinessRepresentative {
26
26
  }
27
27
  render() {
28
28
  const representativeDefaultValue = this.formController.getInitialValues().representative;
29
- return (h(Host, { key: 'eb9c09602a11107abc465463bf7e7cdbeb98cede' }, h("fieldset", { key: '1f2a035f9796c29269a7dcd7ca874c73ed6493bb' }, h("legend", { key: '1aeaba7f119f15e1ffa75cd58d77608fe51a60c8', part: heading2 }, "Representative"), h("div", { key: '5d09c634135046c79b4ac80b5c1cfee9fbd26ce0', class: "row gy-3" }, h("div", { key: '6f03250bf88cc79ff07a1de68fef97a41a376aec', class: "col-12 col-md-8" }, h("form-control-text", { key: 'd6696ab573a305e277db56a578eaeb3fc4adf9ff', 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: 'fd6ddc83d99b4f86f29566077249a23724741438', class: "col-12 col-md-4" }, h("form-control-text", { key: '632b12a09042ffdaf85d2fafecfab1736bbc8d36', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: '65842c9cb8c616806631bd1d2902342cebf5326e', class: "col-12 col-md-6" }, h("form-control-text", { key: '8e1f64cc7f97e4b337dfcda6494fca5750656130', 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: 'e050604c8d71e1d07f916822fbb73da4c3f5e034', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'a5bba8b362ce6070efc65e88ee80880ce855e624', 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: 'dcbd23ab368e630ebaea9e8bdbb6985a98d5fbeb', class: "col-12 col-md-4" }, h("form-control-date", { key: '05e0e255549ad8f0760102aab5cbfe444cae5996', 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: '764595ed842fd09221ef71d5c921a9ebe947556d', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '91761e52dd724a27e135a3db8b7c85643f7891d9', 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: '4be6739744d6d9fcd060ed9d894502f35396a9a9', class: "col-12" }, h("justifi-identity-address-form", { key: '7c9d98057e908a068aa0783b10b2bd0f634d7ab9', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
29
+ 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 }))))));
30
30
  }
31
31
  static get is() { return "justifi-business-representative"; }
32
32
  static get properties() {
@@ -17,7 +17,7 @@ export class LegalAddressForm {
17
17
  render() {
18
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
19
19
  const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
20
- return (h(Host, { key: '129b2ec053708454db5a515fdae9a7fba5289336' }, h("fieldset", { key: '6af5c9469acc432ea01ff404af25727bd444abc7' }, h("legend", { key: '1af149db608a13d18142aaea83f9ed2e8271fdc0', part: heading2 }, "Business Legal Address"), h("div", { key: '805c6ae992ebed34937b9a2622f50a7f99c7d0e6', class: "row gy-3" }, h("div", { key: '78750dc68bcc6782bc4a71cfd14d417e980a57a6', class: "col-12" }, h("form-control-text", { key: '18a75e38a7a5fbfcbbbce56e4967ce34c5618c8e', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), h("div", { key: '676622c84785edfafa3413359d4985d26a734985', class: "col-12" }, h("form-control-text", { key: 'e8467f96595d240f5fc93585e472ad844cc49143', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: '01556012d9335d23c14e130ca72b6e75028bcb36', class: "col-12" }, h("form-control-text", { key: 'c08dcd0ef726ff714d60de26492ced763a7d32ff', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: 'ad811869e742f265a5441c6f36c2a55fa0b07952', class: "col-12" }, h("form-control-select", { key: '47cc4b15578257f3c1fdee7896d28da94b5aaa16', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: 'f732fd2ed3967ee7fd602f41c62efd24cf6038eb', class: "col-12" }, h("form-control-text", { key: '0431a63d11beb6682a2544d2483901f7fffa77bd', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: 'cca67b0cd006f6cf9f9bbfe147507eb0ac6fecca', class: "col-12" }, h("form-control-select", { key: 'f561947f9443ea6f56d7ae31d44a69e2462c0751', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
20
+ return (h(Host, { key: '5b21d99717f9b24c0551c7a96acf68e53e7787bf' }, h("fieldset", { key: 'd63cbd20b2648405c50a819724e0f8cf556f7d26' }, h("legend", { key: 'c0acd14073f13f914015f40d39bf22fb58792434', part: heading2 }, "Business Legal Address"), h("div", { key: 'ee4cee6bd662816f822ee209aeda5e9664f6a64d', class: "row gy-3" }, h("div", { key: '86b258fd09e73cbd2475330419274732231f3871', class: "col-12" }, h("form-control-text", { key: '8d898a9ae448f07932afe2d8cfc2314b92d9c597', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), h("div", { key: '1a50c4b86a754035f71efacd39721219fcd54d60', class: "col-12" }, h("form-control-text", { key: '507b1451685e359a900f0bc7010ff39e3631daf2', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: '1446b4db5f86a3b18e3aceb78274ffe458dbd3db', class: "col-12" }, h("form-control-text", { key: 'e17e4bd95ad4290d18edde79cf05a6b3a105166c', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: '9b880203bad9e104e6d1299ff73c83cba46ab563', class: "col-12" }, h("form-control-select", { key: '24e4df10f688c9a1b5f2af5217f03919bf7abec7', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: '71f21b19602c268e3b6a839ce41ff9d4f8ffb8c4', class: "col-12" }, h("form-control-text", { key: 'ca71d3e21c5a0aea5367fa28ec1a2422ba9b1cf3', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: 'aaee0bf6a24ba182e002c1ffb49736fb622cde1f', class: "col-12" }, h("form-control-select", { key: '2b6486771818e584dcc195c304e5a6e16850b4a9', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
21
21
  // just for now so we skip handling country specificities
22
22
  disabled: true }))))));
23
23
  }
@@ -14,7 +14,7 @@ export class IdentityAddressForm {
14
14
  }
15
15
  render() {
16
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
17
- return (h(Host, { key: 'ee0ad865c40fb26b4138c0b68a944f05f96fdc65' }, h("div", { key: '15e35c582daaa30f5d7523d30445546fa9d648b8', class: "row gy-3" }, h("div", { key: '066f08f377cdb74ff640787fdc54082b74952de0', class: "col-12 col-md-8" }, h("form-control-text", { key: '9b96dd42003108200b0ebb0bb5f246e48028967a', name: "line1", label: "Street Address", defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, inputHandler: this.inputHandler, helpText: "\u200B\u200BEnter your address exactly as stated on your driver's license. No PO Boxes." })), h("div", { key: 'c0f25515428343bdbb6e2ee715dc8e7996ae922b', class: "col-12 col-md-4" }, h("form-control-text", { key: 'af541412c694f912fb2d511d1b72d02274e4ef21', name: "line2", label: "Apartment, Suite, etc. (optional)", defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2, inputHandler: this.inputHandler })), h("div", { key: '61cdbddac8ab71b22feab3a5169f5fda57f751ee', class: "col-12" }, h("form-control-text", { key: '1861b0a9807c2f0679eaba07f313d4dfaf563fd2', name: "city", label: "City", defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city, inputHandler: this.inputHandler })), h("div", { key: 'cb3aab077c4e3824e6becf46396b67114ff24f16', class: "col-12 col-md-6" }, h("form-control-select", { key: '0adfc316afc87f6aa91198d01da7ad3a86b6221d', name: "state", label: "State", defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, options: StateOptions, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state, inputHandler: this.inputHandler })), h("div", { key: '36ae7e269ba4f31541ffc2d20e0931500b33732a', class: "col-12 col-md-6" }, h("form-control-text", { key: '7f8a76e23c78f505133a3fcd23575ae0e04e2c7a', name: "postal_code", label: "Postal Code", defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler, inputHandler: this.inputHandler })), h("div", { key: '67d3c31c5450fffcc5d333f2a6927f805d88fc4f', class: "col-12" }, h("form-control-select", { key: 'c99faee491f35231c852e9a6096e5822c389d6cb', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: (_l = this.defaultValues) === null || _l === void 0 ? void 0 : _l.country, errorText: (_m = this.errors) === null || _m === void 0 ? void 0 : _m.country,
17
+ return (h(Host, { key: '136f90a2d2e8634c003a5f47af20d422b7cc59be' }, h("div", { key: 'e7441c2a0410381be43f8d0735fdf4e390f664f2', class: "row gy-3" }, h("div", { key: '93f23a3ba51716a88bf90628f395dbb3bc456cdc', class: "col-12 col-md-8" }, h("form-control-text", { key: 'f4801f6eb05d3a169142daa6b0d123ef84864de8', name: "line1", label: "Street Address", defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, inputHandler: this.inputHandler, helpText: "\u200B\u200BEnter your address exactly as stated on your driver's license. No PO Boxes." })), h("div", { key: 'e8ce49dcd4d3c6df3327d2c011ec1c0a080fb4f2', class: "col-12 col-md-4" }, h("form-control-text", { key: '8cbe92c156c4d410b712b2fc95c7bfe55be4e337', name: "line2", label: "Apartment, Suite, etc. (optional)", defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2, inputHandler: this.inputHandler })), h("div", { key: '4cfcfc24268fd92ccaac110a8293e95bc9998af8', class: "col-12" }, h("form-control-text", { key: 'b2739b7fd7838ee73c9127fd8e9b0dd6dcd12210', name: "city", label: "City", defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city, inputHandler: this.inputHandler })), h("div", { key: 'ce9e4974dcdab596dfcefef362d045ee2fea3648', class: "col-12 col-md-6" }, h("form-control-select", { key: 'c001d0a3d3b402768ec428c0e5760cf0e88c318d', name: "state", label: "State", defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, options: StateOptions, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state, inputHandler: this.inputHandler })), h("div", { key: '7b73598a2b207db9ec2480ed37d163aa45128e6d', class: "col-12 col-md-6" }, h("form-control-text", { key: 'a070edca32110dc4ec238c486ae96852733ae924', name: "postal_code", label: "Postal Code", defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler, inputHandler: this.inputHandler })), h("div", { key: '57b01955142ed533a65058b63cfd20598e8387c2', class: "col-12" }, h("form-control-select", { key: '8f07809025c039b4c39a452ddf2948f973a82d9a', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: (_l = this.defaultValues) === null || _l === void 0 ? void 0 : _l.country, errorText: (_m = this.errors) === null || _m === void 0 ? void 0 : _m.country,
18
18
  // just for now so we skip handling country specificities
19
19
  disabled: true })))));
20
20
  }
@@ -144,7 +144,7 @@ export class BusinessOwnerFormCore {
144
144
  this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors)));
145
145
  }
146
146
  render() {
147
- return (h("form", { key: 'cf3b084a99c3cfc77af24f09feeda0468c2e6956', onSubmit: this.validateAndSubmit }, h("fieldset", { key: '3c78499a7df3496cd44416b96fe5fef44cc4d393' }, h("legend", { key: '5aee34b86e10d914964de3f62408b1f1e7899479', class: "fw-semibold fs-5", part: heading3 }, this.formTitle), h("br", { key: '4ca0d4c213f166f7ea10c0bfe276673ff077e1ba' }), h("div", { key: '95e485006a1111418ed409e7138c7f3098b9517c', class: "row gy-3" }, h("owner-form-inputs", { key: '1df9b40c91223253394c50312950b6b3d42906ff', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }), h("div", { key: 'f1e2adc3111366c43a9a0d3cbed9e059916320f8', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: 'ea19095c86d12cdabd48ad8618213aa06635b80f', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: 'cb60a69f0e3252bb7623945610c5282bedfffe32', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: 'db9fb6f130a114e82de0fb806ca1d70ac254f032' }))));
147
+ return (h("form", { key: '570c20c1fdf79268e6c8193a393515c8602a3a44', onSubmit: this.validateAndSubmit }, h("fieldset", { key: 'f4f75a735438baef254d4578b779ca16e5080a41' }, h("legend", { key: 'dc0c83a7ada9f908afec56d7560f7d9d116baa40', class: "fw-semibold fs-5", part: heading3 }, this.formTitle), h("br", { key: '5d97c0b38073618aef80ff9576cd57ab0e70d44e' }), h("div", { key: 'b15a207a4c4afc1249ce3b8a381e7b57ceb32e7a', class: "row gy-3" }, h("owner-form-inputs", { key: '21bd3e9b00580e7293338ad746c189d19ac3d98e', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }), h("div", { key: 'b4653d9b78094b15bfba61e3a18ea3703dc53162', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: '0328aa7af6e3c2f7ed8aa16724dedcb576bb9870', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: 'e42671667156149d5424243eef1d6675a3bd6506', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: 'ee7bf4cdb63cdc31df8b307ffb1772e5c0f0348c' }))));
148
148
  }
149
149
  static get is() { return "owner-form-core"; }
150
150
  static get properties() {
@@ -11,7 +11,7 @@ export class BusinessOwnerFormInputs {
11
11
  };
12
12
  }
13
13
  render() {
14
- return (h("div", { key: '97911ef690cb7932c0e382cfa79fa3333536055c', class: "row gy-3" }, h("div", { key: '0f15a832bcde62a50fb791e008dcd7da68c8da6b', class: "col-12 col-md-8" }, h("form-control-text", { key: 'fdc50a224e7e17d2923d6eb1fb274103e0d55710', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'c4be24670525f2b90fd6de5a0035241190dadd09', class: "col-12 col-md-4" }, h("form-control-text", { key: '8752eb6ea1d24189fd1a4d799145b5bbdc0413f2', name: "title", label: "Title", defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '9d19f00bbd407ca55455947d84183530920d799c', class: "col-12 col-md-6" }, h("form-control-text", { key: '10ffe5b44086f623fb9f9d27f4a72cd251589bd0', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '7c32fc26abbc0bc16b0a50d8bbfb47c121c7c62d', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'e6b63872de5bd5cc98d61c8e6ebeb2a3f8443fb1', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '2e7eded46b1162d9ecf8c3badc869e98a710abee', class: "col-12 col-md-4" }, h("form-control-date", { key: '2c4b8c126d7505dadb3fe06b3b5cab5e83b91c23', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: 'dd96fdddddfb082fc0ce670f673decc97956c242', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '640cc2e749dc64879d8211c3340b7c273d3cb817', name: "identification_number", label: "SSN", defaultValue: this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: '681b2898183d73559150b5debef39901c4679eba', class: "col-12" }, h("justifi-identity-address-form", { key: 'e2de39be536c0854592a5132a6a9ac9d761a0f9b', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))));
14
+ return (h("div", { key: '86abe1713fdfd297e88c1fc1734fadb2c9eab966', class: "row gy-3" }, h("div", { key: '63a03271f2a777d4cede3b0790e11c7f4108797f', class: "col-12 col-md-8" }, h("form-control-text", { key: 'b86dd9184dbf50e00e047a733ff708526e32d6dc', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'c3850b7425ca0d8a118a6b78933f3a2fbe343124', class: "col-12 col-md-4" }, h("form-control-text", { key: 'f1f6e801eb36bcae5f2e51f8cd4ea9b7ed6a34a8', name: "title", label: "Title", defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: 'b07a8a86dbdef296c9438953ef311ccae3aed23c', class: "col-12 col-md-6" }, h("form-control-text", { key: '714ca04b0bf0e5ed1b116b8f4963ba12f7fd6b77', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '46c11c80bb58d0190ff05f1e87ba962443b07c59', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '6da40db9fb8b3e4f3a744cd0426f4e6436350594', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '0960ea2fb399d0098caeabf45347a89c74066f57', class: "col-12 col-md-4" }, h("form-control-date", { key: 'fe0891a3f42c093d70db1dd1d1a7e121ba3091c1', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: 'e7cbc519fa6f4fa5b03a0d0b69c7d7f1c42185ff', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: 'cf2b280c1560bd1a9f80cf81c1543d41bd807233', name: "identification_number", label: "SSN", defaultValue: this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: '1755c849992bfd9f459b65b4cf7e967039fdbe27', class: "col-12" }, h("justifi-identity-address-form", { key: 'ac5372d4a9fad8ee3cfe2af20c11868e8753cc35', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))));
15
15
  }
16
16
  ;
17
17
  static get is() { return "owner-form-inputs"; }
@@ -34,7 +34,7 @@ export class BusinessOwnerForm {
34
34
  });
35
35
  }
36
36
  render() {
37
- return (h("owner-form-core", { key: '253fc2c5cf1d8c3d18cbcc43569c50a1dd4394f4', ownerId: this.ownerId, businessId: this.businessId, getOwner: this.getOwner, patchOwner: this.patchOwner, postOwner: this.postOwner, allowOptionalFields: this.allowOptionalFields, removeOwner: this.removeOwner, newFormOpen: this.newFormOpen, ownersLength: this.ownersLength, ref: ref => this.coreComponent = ref }));
37
+ return (h("owner-form-core", { key: '07ad7cd2bb38442dc591c9e3421223294690ee8c', ownerId: this.ownerId, businessId: this.businessId, getOwner: this.getOwner, patchOwner: this.patchOwner, postOwner: this.postOwner, allowOptionalFields: this.allowOptionalFields, removeOwner: this.removeOwner, newFormOpen: this.newFormOpen, ownersLength: this.ownersLength, ref: ref => this.coreComponent = ref }));
38
38
  }
39
39
  static get is() { return "justifi-owner-form"; }
40
40
  static get properties() {
@@ -34,7 +34,7 @@ export class AdditionalQuestionsFormStep {
34
34
  }
35
35
  }
36
36
  render() {
37
- return (h("justifi-additional-questions-form-step-core", { key: 'cdc14a51e5655ce4b4d7c24af613b9146c80ba37', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
37
+ return (h("justifi-additional-questions-form-step-core", { key: 'b494a48aa19f63e30007663276876540c5149879', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
38
38
  }
39
39
  static get is() { return "justifi-additional-questions-form-step"; }
40
40
  static get properties() {
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { EntityDocumentType } from "../../../../api";
3
3
  export class BankAccountDocumentFormInputs {
4
4
  render() {
5
- return (h("div", { key: 'a3ff8b1ff23923beb847e66d6c56a39de9a86434', class: "row gy-3" }, h("div", { key: '86f9ba3a8f0f87f7fa67ba0fcf1d7c04f67e9bc5', class: "col-12" }, h("form-control-file", { key: '9cc2bc21414c8e3f4b25ac47b76340a4ce569c42', name: "voided_check", label: "Voided Check", documentType: EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), h("div", { key: 'bee72d6c63514cdbd3200910d3a53b045c60d05d', class: "col-12" }, h("form-control-file", { key: '80a79f352d078cd210768b4060cad7014b1060c5', name: "bank_statement", label: "Bank Statement", documentType: EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
5
+ return (h("div", { key: '23f5fa6b191b3feea7677a85a421002642a86f50', class: "row gy-3" }, h("div", { key: 'da9d9698f15aeb4bb05baef8fb63c630fcff8a82', class: "col-12" }, h("form-control-file", { key: 'b84a8ec1753210f74989c04b5520f0e94c5a083d', name: "voided_check", label: "Voided Check", documentType: EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), h("div", { key: '06d442df900406f122970bde6b2b293f2c9080ee', class: "col-12" }, h("form-control-file", { key: 'b3dc1d48900c5932c4d59f8b31a323193f0e86b4', name: "bank_statement", label: "Bank Statement", documentType: EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
6
6
  }
7
7
  static get is() { return "bank-account-document-form-inputs"; }
8
8
  static get properties() {
@@ -3,7 +3,7 @@ import { bankAccountTypeOptions } from "../../utils";
3
3
  import { numberOnlyHandler } from "../../../../ui-components/form/utils";
4
4
  export class BankAccountFormInputs {
5
5
  render() {
6
- return (h("div", { key: 'b18e803521d67b40e4e5af03a66dcdca0b678968', class: "row gy-3" }, h("div", { key: 'e2e6667ffbcebb6a9aa50739814e7bbebceaabfa', class: "col-12" }, h("form-control-text", { key: 'e1ad63fb7db32dbb6ed67cf18919c681d6d192ef', name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '54db821813e7eb931b8f19fad7fce976cdeb0045', class: "col-12" }, h("form-control-text", { key: '4ecf222c1918e364f319d07e0a770d68dba099d0', name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: 'a92c38f2abbcb3dcaee4bc5ea73df44b31adc3f9', class: "col-12" }, h("form-control-text", { key: '492ff1a4d1e9c4f2fa9d0e527a34dc5ccb09afe6', name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '8e14e6e3de43822d139085d3a05bfd0e7ae5b1be', class: "col-12" }, h("form-control-select", { key: 'f6648b6f7c4a475f88b849bf3a75d446bb539c69', name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '68a2efc082f5b6414ebde10b6da4365677dbefca', class: "col-12" }, h("form-control-text", { key: '3ef9b3db5882063708ccf1eb282f3e90ed53ce82', name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." })), h("div", { key: 'e3270db28269bc25dd4d5a99274f042c1efd1fc6', class: "col-12" }, h("form-control-text", { key: 'a8e801f65a4cc164cdc7bf186fed67f87abc828f', name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." }))));
6
+ return (h("div", { key: 'da4dc9523bca84cdd02f7e5d47e513c426ed90fd', class: "row gy-3" }, h("div", { key: 'b625a293dec704cbbb132469fdbc8c5d99a660e1', class: "col-12" }, h("form-control-text", { key: 'b41460ddc605f73faf71233ccbbef7e34e690e5a', name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: 'e5560bcdba399baa2e54441436ef5c67936e9fef', class: "col-12" }, h("form-control-text", { key: '18cd16931899f724fd92cb89f1b8d4cd41c5354c', name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '3bb589db98e5d65022576b602bda41f36e3a90d5', class: "col-12" }, h("form-control-text", { key: 'c870513b8895add114d5ec588561fa6f33a63514', name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '1783e7b4af2b012338fe2e1b4f1faa9b5e086bcd', class: "col-12" }, h("form-control-select", { key: '6a9af0f6edeae133dce04b7f829abb802db4ac83', name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '3c3ffced96f67320b4c580be6f28dd8ef5d2c109', class: "col-12" }, h("form-control-text", { key: 'e85df115a9de08ad9abb3237f7bf6c6d23c84150', name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." })), h("div", { key: '5a25cb25160aff24d1f62df2115dbd248709141e', class: "col-12" }, h("form-control-text", { key: 'dfdf7dce470efb8eea65aa6daf562d190963bace', name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." }))));
7
7
  }
8
8
  static get is() { return "bank-account-form-inputs"; }
9
9
  static get properties() {
@@ -37,7 +37,7 @@ export class BusinessBankAccountFormStep {
37
37
  }
38
38
  }
39
39
  render() {
40
- return (h("justifi-business-bank-account-form-step-core", { key: '0cdd7da1ea31971df421b28f17673bd1a81bf661', businessId: this.businessId, getBusiness: this.getBusiness, postBankAccount: this.postBankAccount, postDocumentRecord: this.postDocumentRecord, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
40
+ return (h("justifi-business-bank-account-form-step-core", { key: 'adb496ad14cd3334d30e571d873150ed8335f833', businessId: this.businessId, getBusiness: this.getBusiness, postBankAccount: this.postBankAccount, postDocumentRecord: this.postDocumentRecord, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
41
41
  }
42
42
  static get is() { return "justifi-business-bank-account-form-step"; }
43
43
  static get properties() {