@justifi/webcomponents 5.7.2 → 5.7.3-rc-01

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 (675) hide show
  1. package/dist/cjs/{check-pkg-version-hqYwYpQq.js → Analytics-DYN4hp2b.js} +25 -24
  2. package/dist/cjs/{Api-Dp4CW5K6.js → Api-BTdkb3Zh.js} +1 -1
  3. package/dist/cjs/{Checkout-TZnRz3-3.js → Checkout-BsYZoJ0a.js} +1 -3
  4. package/dist/cjs/{ComponentError-C4MdBBMe.js → ComponentError-CEv9ltwy.js} +2 -0
  5. package/dist/cjs/Document-rXGBUaOh.js +58 -0
  6. package/dist/cjs/{Document-Qt0qiXeh.js → Payment-D5UynU2f.js} +0 -56
  7. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  8. package/dist/cjs/{badge-BxoJOyTJ.js → badge-sO_Hcamo.js} +1 -1
  9. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -10
  10. package/dist/cjs/{bank-account-form_9.cjs.entry.js → bank-account-form_7.cjs.entry.js} +30 -200
  11. package/dist/cjs/billing-form-schema-oZ4GROWP.js +26 -0
  12. package/dist/cjs/{business-additional-questions-schema-JlysTRE3.js → business-additional-questions-schema-CHOaeZot.js} +6 -6
  13. package/dist/cjs/business-details-core.cjs.entry.js +4 -4
  14. package/dist/cjs/{business-identity-schema-BksYFWls.js → business-identity-schema-DmpEndsx.js} +10 -10
  15. package/dist/cjs/{business.service-DMIMZpx4.js → business.service-ev-3rHag.js} +5 -4
  16. package/dist/cjs/{button-BPFSRx4d.js → button-CCZd8WSY.js} +1 -1
  17. package/dist/cjs/checkout-actions-CRbQgLn0.js +61 -0
  18. package/dist/cjs/{checkout.service-DKH8NODe.js → checkout.service-D4hTYr1i.js} +5 -4
  19. package/dist/cjs/checkout.store-osqdxFMq.js +29 -0
  20. package/dist/cjs/checkouts-list-core.cjs.entry.js +13 -12
  21. package/dist/cjs/{checkouts-list-params-state-BvG5Ysrg.js → checkouts-list-params-state-fVsfZZ5G.js} +1 -1
  22. package/dist/cjs/{checkouts-table-Cj2iSB_P.js → checkouts-table-C1Jv_A7m.js} +2 -2
  23. package/dist/cjs/{config-state-D7p-XunE.js → config-state-BTfJl-LU.js} +1 -1
  24. package/dist/cjs/custom-popper_4.cjs.entry.js +8 -8
  25. package/dist/cjs/{dispute.service-8j6tLV4i.js → dispute.service-Dru9NStj.js} +5 -4
  26. package/dist/cjs/{index.esm-CVuJLXJZ.js → form-CWW8IM-X.js} +10509 -10509
  27. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  28. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  29. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  30. package/dist/cjs/{form-control-error-text-D9XDyFoW.js → form-control-error-text-DPDsFdAT.js} +1 -1
  31. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  32. package/dist/cjs/{form-control-help-text-J_boqSMc.js → form-control-help-text-CT5HzEnX.js} +1 -1
  33. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  34. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  35. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  36. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
  37. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  38. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  39. package/dist/cjs/{get-business-BJrtsomz.js → get-business-BiEc-jdH.js} +2 -2
  40. package/dist/cjs/{get-payment-details-MM1u5jMc.js → get-payment-details-AOibpML7.js} +7 -6
  41. package/dist/cjs/{get-payout-csv-CXEQkjDm.js → get-payout-csv-CdNRRH0t.js} +2 -2
  42. package/dist/cjs/{get-subaccounts-CkjWYxIU.js → get-subaccounts-Dw7CbPDi.js} +7 -6
  43. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  44. package/dist/cjs/{header-1-auSUfIpO.js → header-1--wdCXxjA.js} +1 -1
  45. package/dist/cjs/{header-3-B-bXHCpC.js → header-3-DxUQJ7TT.js} +1 -1
  46. package/dist/cjs/{iframe-input.cjs.entry.js → hidden-input_2.cjs.entry.js} +112 -15
  47. package/dist/cjs/{index-BYd8IvAa.js → index-2GwnTbNA.js} +22 -4
  48. package/dist/cjs/{index-B8ljHEN1.js → index-DEMVrrsF.js} +1 -1
  49. package/dist/cjs/{insurance-state-CFxbKNWH.js → insurance-state-BmAF1Sef.js} +2 -2
  50. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +21 -20
  51. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +18 -17
  52. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +43 -43
  53. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +85 -0
  54. package/dist/cjs/justifi-billing-information-form.cjs.entry.js +51 -0
  55. package/dist/cjs/justifi-business-details.cjs.entry.js +16 -15
  56. package/dist/cjs/justifi-business-form.cjs.entry.js +25 -24
  57. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  58. package/dist/cjs/justifi-card-form.cjs.entry.js +93 -0
  59. package/dist/cjs/justifi-checkout-core.cjs.entry.js +9 -9
  60. package/dist/cjs/justifi-checkout-summary.cjs.entry.js +21 -0
  61. package/dist/cjs/justifi-checkout.cjs.entry.js +28 -71
  62. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -9
  63. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +19 -18
  64. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  65. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  66. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  67. package/dist/cjs/justifi-dispute-management.cjs.entry.js +15 -14
  68. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +20 -19
  69. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +14 -13
  70. package/dist/cjs/justifi-modular-checkout.cjs.entry.js +205 -0
  71. package/dist/cjs/justifi-order-terminals.cjs.entry.js +19 -18
  72. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +16 -15
  73. package/dist/cjs/justifi-payment-details.cjs.entry.js +16 -15
  74. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  75. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +15 -14
  76. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +18 -17
  77. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
  78. package/dist/cjs/justifi-payments-list.cjs.entry.js +20 -19
  79. package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -15
  80. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +18 -17
  81. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
  82. package/dist/cjs/justifi-payouts-list.cjs.entry.js +21 -20
  83. package/dist/cjs/justifi-postal-code-form.cjs.entry.js +50 -0
  84. package/dist/cjs/justifi-refund-payment.cjs.entry.js +25 -24
  85. package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +31 -0
  86. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +5 -5
  87. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +21 -22
  88. package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +80 -0
  89. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -10
  90. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +17 -16
  91. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -9
  92. package/dist/cjs/justifi-terminals-list.cjs.entry.js +19 -18
  93. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +22 -14
  94. package/dist/cjs/loader.cjs.js +3 -4
  95. package/dist/cjs/{package-BCOEGxFC.js → package-DF9mLjoQ.js} +1 -1
  96. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  97. package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
  98. package/dist/cjs/payment-method-option-utils-imuSE7KV.js +25 -0
  99. package/dist/cjs/{payment-provisioning-actions-BkWSDJQQ.js → payment-provisioning-actions-SNMCdsyF.js} +2 -2
  100. package/dist/cjs/{payment.service-CCxGhTwZ.js → payment.service-rsnscZu7.js} +5 -4
  101. package/dist/cjs/payments-list-core.cjs.entry.js +14 -13
  102. package/dist/cjs/{payments-list-params-state-BvG5Ysrg.js → payments-list-params-state-fVsfZZ5G.js} +1 -1
  103. package/dist/cjs/{payments-status-BTykBx8i.js → payments-status-DPqU5v9h.js} +2 -2
  104. package/dist/cjs/{payments-table-BR97ybd6.js → payments-table-BM3AoAJf.js} +2 -2
  105. package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
  106. package/dist/cjs/{payout.service-CtphIhUK.js → payout.service-BnmI3X4n.js} +5 -4
  107. package/dist/cjs/payouts-list-core.cjs.entry.js +14 -13
  108. package/dist/cjs/{payouts-list-params-state-BvG5Ysrg.js → payouts-list-params-state-fVsfZZ5G.js} +1 -1
  109. package/dist/cjs/{payouts-status-YCqmbd4K.js → payouts-status-CU8aqIhH.js} +2 -2
  110. package/dist/cjs/{payouts-table-DMcQiC1g.js → payouts-table-1HL4kk9B.js} +2 -2
  111. package/dist/cjs/{schema-validations-BUor-ySb.js → schema-validations-C0BNwMBi.js} +33 -33
  112. package/dist/cjs/{skeleton-aMh0RMHq.js → skeleton-ByLavxr1.js} +1 -1
  113. package/dist/cjs/{spinner-BTyIjlMM.js → spinner-DOC4Ab7M.js} +1 -1
  114. package/dist/cjs/{styled-host-udkBJV5h.js → styled-host-IMxk64cc.js} +1 -1
  115. package/dist/cjs/{table-DKVauFHc.js → table-BgQP2M2-.js} +2 -2
  116. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  117. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +13 -12
  118. package/dist/cjs/{terminal-orders-list-params-state-BvG5Ysrg.js → terminal-orders-list-params-state-fVsfZZ5G.js} +1 -1
  119. package/dist/cjs/{terminal-orders-table-D-CLcZws.js → terminal-orders-table-OxMHSAJ1.js} +7 -6
  120. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  121. package/dist/cjs/{terminal.service-Dv_WJkue.js → terminal.service--PPaq5xS.js} +5 -4
  122. package/dist/cjs/terminals-list-core.cjs.entry.js +13 -12
  123. package/dist/cjs/terminals-list-params-state-fVsfZZ5G.js +22 -0
  124. package/dist/cjs/{terminals-table-BEJ6sF7w.js → terminals-table-yRGsrfBw.js} +2 -2
  125. package/dist/cjs/{utils-l0veqT9y.js → utils-IGCnjtqc.js} +1 -1
  126. package/dist/cjs/{utils-5lco6NzU.js → utils-bn0fXuc-.js} +1 -1
  127. package/dist/cjs/webcomponents.cjs.js +4 -5
  128. package/dist/collection/api/BillingInformation.js +1 -0
  129. package/dist/collection/api/Checkout.js +1 -3
  130. package/dist/collection/api/ComponentError.js +2 -0
  131. package/dist/collection/api/PaymentMethod.js +1 -0
  132. package/dist/collection/collection-manifest.json +9 -2
  133. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  134. package/dist/collection/components/checkout/billing-form/billing-form.js +1 -1
  135. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  136. package/dist/collection/components/checkout/checkout.js +11 -2
  137. package/dist/collection/components/checkout/payment-method-options.js +3 -33
  138. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  139. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  140. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  141. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  142. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  143. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  144. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  145. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  146. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  154. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  155. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  156. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +10 -12
  157. package/dist/collection/components/modular-checkout/modular-checkout.js +345 -0
  158. package/dist/collection/components/modular-checkout-parts/bank-account-skeleton.js +10 -0
  159. package/dist/collection/components/modular-checkout-parts/bank-account.js +119 -0
  160. package/dist/collection/components/modular-checkout-parts/billing-form-schema.js +21 -0
  161. package/dist/collection/components/modular-checkout-parts/billing-form.js +116 -0
  162. package/dist/collection/components/modular-checkout-parts/card-form-skeleton.js +10 -0
  163. package/dist/collection/components/modular-checkout-parts/card-form.js +123 -0
  164. package/dist/collection/components/modular-checkout-parts/postal-code-form.js +114 -0
  165. package/dist/collection/components/modular-checkout-parts/saved-payment-methods.js +23 -0
  166. package/dist/collection/components/modular-checkout-parts/sezzle-payment-method.js +127 -0
  167. package/dist/collection/components/modular-checkout-parts/summary.js +12 -0
  168. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  169. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  170. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  171. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  172. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  173. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  174. package/dist/collection/components/payments-list/payments-list.js +1 -1
  175. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  176. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  177. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  178. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  179. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  180. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  181. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  182. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  183. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  184. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  185. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  186. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +10 -3
  187. package/dist/collection/store/checkout.store.js +25 -0
  188. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  189. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  190. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  191. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  192. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  193. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  194. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  195. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  196. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  197. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  198. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  199. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  200. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  201. package/dist/collection/ui-components/form/iframe-input.js +10 -5
  202. package/dist/docs.json +1236 -425
  203. package/dist/esm/{check-pkg-version-BykGn7tx.js → Analytics-DR277kvb.js} +27 -26
  204. package/dist/esm/{Api-cgKcLG0y.js → Api-CqimcNgb.js} +2 -2
  205. package/dist/esm/{Checkout-B9LrTq63.js → Checkout-CV6qgU0r.js} +2 -4
  206. package/dist/esm/{ComponentError-SdntD1xf.js → ComponentError-BhrFjjAs.js} +2 -0
  207. package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
  208. package/dist/esm/Document-Ct-uNz2r.js +55 -0
  209. package/dist/esm/{Document-DvWsQBM6.js → Payment-BEvE6jAC.js} +3 -57
  210. package/dist/esm/{Refund-zZewCvey.js → Refund-CwUn_GFj.js} +1 -1
  211. package/dist/esm/additional-questions-details_5.entry.js +4 -4
  212. package/dist/esm/{badge-Du9GTXoB.js → badge-D_Q0kAPD.js} +2 -2
  213. package/dist/esm/bank-account-document-form-inputs_4.entry.js +15 -14
  214. package/dist/esm/{bank-account-form_9.entry.js → bank-account-form_7.entry.js} +22 -190
  215. package/dist/esm/billing-form-schema-PFvYpvy4.js +24 -0
  216. package/dist/esm/{business-additional-questions-schema-CBUm3D7O.js → business-additional-questions-schema-0lssJqN7.js} +2 -2
  217. package/dist/esm/business-details-core.entry.js +5 -5
  218. package/dist/esm/{business-identity-schema-CntGz8jo.js → business-identity-schema-Bel1K5mu.js} +2 -2
  219. package/dist/esm/{business.service-BWivPbyO.js → business.service-BM8hLxHS.js} +7 -6
  220. package/dist/esm/{button-CjH5C0pG.js → button-BVAxQPpP.js} +2 -2
  221. package/dist/esm/checkout-actions-UQ6g1s7I.js +58 -0
  222. package/dist/esm/{checkout.service-Bh-Q24Cr.js → checkout.service-CuCgG9hv.js} +7 -6
  223. package/dist/esm/checkout.store-DQrlfeus.js +27 -0
  224. package/dist/esm/checkouts-list-core.entry.js +17 -16
  225. package/dist/esm/{checkouts-list-params-state-Bn7pL-8x.js → checkouts-list-params-state-DhPyCV-V.js} +1 -1
  226. package/dist/esm/{checkouts-table-DcVkD83l.js → checkouts-table-Cc6U-0md.js} +4 -4
  227. package/dist/esm/{config-state-CkKrqnpZ.js → config-state-BjXhUj2q.js} +1 -1
  228. package/dist/esm/custom-popper_4.entry.js +9 -9
  229. package/dist/esm/{dispute.service-1AYcALSg.js → dispute.service-rB4Hq6ot.js} +7 -6
  230. package/dist/esm/{index.esm-BCNUj0Dx.js → form-BjGUIqxU.js} +10509 -10509
  231. package/dist/esm/form-alert_5.entry.js +2 -2
  232. package/dist/esm/form-control-checkbox.entry.js +6 -6
  233. package/dist/esm/form-control-date.entry.js +5 -5
  234. package/dist/esm/{form-control-error-text-tGFxd6kW.js → form-control-error-text-_SAT-ts2.js} +2 -2
  235. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  236. package/dist/esm/{form-control-help-text-2DawN8-N.js → form-control-help-text-Cjeu_VrV.js} +2 -2
  237. package/dist/esm/form-control-help-text.entry.js +1 -1
  238. package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
  239. package/dist/esm/form-control-monetary.entry.js +7 -7
  240. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  241. package/dist/esm/form-control-number.entry.js +6 -6
  242. package/dist/esm/form-control-radio.entry.js +4 -4
  243. package/dist/esm/{get-business-GEPTefIj.js → get-business-BSRtbTh7.js} +2 -2
  244. package/dist/esm/{get-payment-details-DXhXxFPr.js → get-payment-details-DtkGDTwo.js} +9 -8
  245. package/dist/esm/{get-payout-csv-D7IYYqVL.js → get-payout-csv-U_pgdPpb.js} +2 -2
  246. package/dist/esm/{get-subaccounts-CtHj1UM6.js → get-subaccounts-C-ENQBmY.js} +10 -9
  247. package/dist/esm/gross-payment-chart-core.entry.js +6 -6
  248. package/dist/esm/{header-1-D2gZb3iT.js → header-1-5FIT-wD7.js} +2 -2
  249. package/dist/esm/{header-3-DAg8Vh4B.js → header-3-Ce9WLWBm.js} +2 -2
  250. package/dist/esm/{iframe-input.entry.js → hidden-input_2.entry.js} +106 -10
  251. package/dist/esm/{index-D6FDxSyt.js → index-Bta_r52Z.js} +22 -5
  252. package/dist/esm/{index-Cc3u0uDC.js → index-Cf8VXyXg.js} +1 -1
  253. package/dist/esm/{insurance-state-CsZbKSgm.js → insurance-state-BcwZy_5w.js} +3 -3
  254. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +17 -16
  255. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +17 -16
  256. package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
  257. package/dist/esm/justifi-bank-account-form.entry.js +83 -0
  258. package/dist/esm/justifi-billing-information-form.entry.js +49 -0
  259. package/dist/esm/justifi-business-details.entry.js +18 -17
  260. package/dist/esm/justifi-business-form.entry.js +25 -24
  261. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  262. package/dist/esm/justifi-card-form.entry.js +91 -0
  263. package/dist/esm/justifi-checkout-core.entry.js +11 -11
  264. package/dist/esm/justifi-checkout-summary.entry.js +19 -0
  265. package/dist/esm/justifi-checkout.entry.js +27 -70
  266. package/dist/esm/justifi-checkouts-list-filters.entry.js +14 -13
  267. package/dist/esm/justifi-checkouts-list.entry.js +21 -20
  268. package/dist/esm/justifi-config-provider.entry.js +3 -3
  269. package/dist/esm/justifi-details.entry.js +3 -3
  270. package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
  271. package/dist/esm/justifi-dispute-management.entry.js +16 -15
  272. package/dist/esm/justifi-dispute-notification_3.entry.js +22 -21
  273. package/dist/esm/justifi-gross-payment-chart.entry.js +16 -15
  274. package/dist/esm/justifi-modular-checkout.entry.js +203 -0
  275. package/dist/esm/justifi-order-terminals.entry.js +21 -20
  276. package/dist/esm/justifi-owner-form_3.entry.js +19 -18
  277. package/dist/esm/justifi-payment-details.entry.js +18 -17
  278. package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
  279. package/dist/esm/justifi-payment-provisioning.entry.js +16 -15
  280. package/dist/esm/justifi-payment-transactions-list.entry.js +20 -19
  281. package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
  282. package/dist/esm/justifi-payments-list.entry.js +21 -20
  283. package/dist/esm/justifi-payout-details.entry.js +18 -17
  284. package/dist/esm/justifi-payout-transactions-list.entry.js +20 -19
  285. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  286. package/dist/esm/justifi-payouts-list.entry.js +23 -22
  287. package/dist/esm/justifi-postal-code-form.entry.js +48 -0
  288. package/dist/esm/justifi-refund-payment.entry.js +21 -20
  289. package/dist/esm/justifi-saved-payment-methods.entry.js +29 -0
  290. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -7
  291. package/dist/esm/justifi-season-interruption-insurance.entry.js +22 -23
  292. package/dist/esm/justifi-sezzle-payment-method.entry.js +78 -0
  293. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +15 -14
  294. package/dist/esm/justifi-terminal-orders-list.entry.js +19 -18
  295. package/dist/esm/justifi-terminals-list-filters.entry.js +14 -13
  296. package/dist/esm/justifi-terminals-list.entry.js +21 -20
  297. package/dist/esm/justifi-tokenize-payment-method.entry.js +24 -16
  298. package/dist/esm/loader.js +3 -4
  299. package/dist/esm/{package-BjMTOtI1.js → package-CyXXks-Q.js} +1 -1
  300. package/dist/esm/pagination-menu.entry.js +2 -2
  301. package/dist/esm/{parts-BrLVc_85.js → parts-_6eQgwfE.js} +1 -1
  302. package/dist/esm/payment-details-core.entry.js +16 -16
  303. package/dist/esm/payment-method-option-utils-8n_ALxec.js +23 -0
  304. package/dist/esm/{payment-provisioning-actions-BIfyW239.js → payment-provisioning-actions-2qP7AtHj.js} +2 -2
  305. package/dist/esm/{payment.service-2afJc31y.js → payment.service-DoUv1QsX.js} +7 -6
  306. package/dist/esm/payments-list-core.entry.js +18 -17
  307. package/dist/esm/{payments-list-params-state-Bn7pL-8x.js → payments-list-params-state-DhPyCV-V.js} +1 -1
  308. package/dist/esm/{payments-status-CIUXcA0w.js → payments-status-BeL2gi3P.js} +2 -2
  309. package/dist/esm/{payments-table-B8316Kqz.js → payments-table-MrDAlH2o.js} +4 -4
  310. package/dist/esm/payout-details-core.entry.js +12 -12
  311. package/dist/esm/{payout.service-Bd8Tc7-Q.js → payout.service-B_Fm08zQ.js} +7 -6
  312. package/dist/esm/payouts-list-core.entry.js +18 -17
  313. package/dist/esm/{payouts-list-params-state-Bn7pL-8x.js → payouts-list-params-state-DhPyCV-V.js} +1 -1
  314. package/dist/esm/{payouts-status-Clo03qUI.js → payouts-status-BxbhUjA3.js} +2 -2
  315. package/dist/esm/{payouts-table-Ip10eH4Q.js → payouts-table-HoX3UYIj.js} +4 -4
  316. package/dist/esm/{schema-validations-C7D5tPzq.js → schema-validations-DYV7urvw.js} +3 -3
  317. package/dist/esm/{skeleton-Dlpibtr0.js → skeleton-CPNYhX-V.js} +2 -2
  318. package/dist/esm/{spinner-onCBxbdo.js → spinner-Cl-6YJPf.js} +2 -2
  319. package/dist/esm/{styled-host-C7vaWLiB.js → styled-host-BSX_LSdk.js} +1 -1
  320. package/dist/esm/{table-p4dOlFPi.js → table-RCk8zh4L.js} +3 -3
  321. package/dist/esm/table-filters-menu.entry.js +4 -4
  322. package/dist/esm/terminal-orders-list-core.entry.js +17 -16
  323. package/dist/esm/{terminal-orders-list-params-state-Bn7pL-8x.js → terminal-orders-list-params-state-DhPyCV-V.js} +1 -1
  324. package/dist/esm/{terminal-orders-table-CCJT7oq4.js → terminal-orders-table-DxHLNkx_.js} +11 -10
  325. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  326. package/dist/esm/{terminal.service-8kwGru35.js → terminal.service-2VkdfNas.js} +7 -6
  327. package/dist/esm/terminals-list-core.entry.js +17 -16
  328. package/dist/esm/terminals-list-params-state-DhPyCV-V.js +16 -0
  329. package/dist/esm/{terminals-table-cMkKUVff.js → terminals-table-v-LOevYA.js} +4 -4
  330. package/dist/esm/{utils-BpP_VJGf.js → utils-1WrbuHVR.js} +2 -2
  331. package/dist/esm/{utils-Dccsn9BY.js → utils-BZvep88z.js} +1 -1
  332. package/dist/esm/{utils-DB5fh6Iv.js → utils-BjLkBMLe.js} +1 -1
  333. package/dist/esm/webcomponents.js +4 -5
  334. package/dist/module/{check-pkg-version.js → Analytics.js} +21 -21
  335. package/dist/module/Checkout.js +3 -3
  336. package/dist/module/additional-statement.js +1 -1
  337. package/dist/module/bank-account-form2.js +2 -2
  338. package/dist/module/billing-form-schema.js +24 -0
  339. package/dist/module/billing-form.js +3 -3
  340. package/dist/module/business-address-schema.js +1 -1
  341. package/dist/module/business-bank-account-form-step-core.js +1 -1
  342. package/dist/module/business-core-info-schema.js +1 -1
  343. package/dist/module/business-identity-schema.js +1 -1
  344. package/dist/module/button.js +1 -1
  345. package/dist/module/cancellation-policy.js +1 -1
  346. package/dist/module/card-form2.js +2 -2
  347. package/dist/module/checkout-actions.js +58 -0
  348. package/dist/module/checkout-core.js +32 -38
  349. package/dist/module/checkout.store.js +27 -0
  350. package/dist/module/checkouts-list-core2.js +2 -2
  351. package/dist/module/custom-popper2.js +2 -2
  352. package/dist/module/customer-details.js +1 -1
  353. package/dist/module/dispute-management-core.js +1 -1
  354. package/dist/module/dispute-notification.js +1 -1
  355. package/dist/module/dispute-response-core.js +1 -1
  356. package/dist/module/dispute-response.js +2 -2
  357. package/dist/module/duplicate-charge.js +1 -1
  358. package/dist/module/electronic-evidence.js +1 -1
  359. package/dist/module/form-control-checkbox2.js +2 -2
  360. package/dist/module/form-control-date2.js +2 -2
  361. package/dist/module/form-control-file-v22.js +1 -1
  362. package/dist/module/form-control-file2.js +2 -2
  363. package/dist/module/form-control-monetary2.js +2 -2
  364. package/dist/module/form-control-number-masked2.js +2 -2
  365. package/dist/module/form-control-number.js +2 -2
  366. package/dist/module/form-control-radio2.js +2 -2
  367. package/dist/module/form-control-select2.js +2 -2
  368. package/dist/module/form-control-text2.js +2 -2
  369. package/dist/module/form-control-textarea2.js +2 -2
  370. package/dist/module/gross-payment-chart-core2.js +1 -1
  371. package/dist/module/hidden-input2.js +1 -1
  372. package/dist/module/iframe-input2.js +5 -5
  373. package/dist/module/justifi-bank-account-form.d.ts +11 -0
  374. package/dist/module/justifi-bank-account-form.js +103 -0
  375. package/dist/module/justifi-billing-information-form.d.ts +11 -0
  376. package/dist/module/justifi-billing-information-form.js +94 -0
  377. package/dist/module/justifi-business-details.js +1 -1
  378. package/dist/module/justifi-business-form.js +1 -1
  379. package/dist/module/justifi-card-form.d.ts +11 -0
  380. package/dist/module/justifi-card-form.js +111 -0
  381. package/dist/module/justifi-checkout-summary.d.ts +11 -0
  382. package/dist/module/justifi-checkout-summary.js +37 -0
  383. package/dist/module/justifi-checkout.js +48 -99
  384. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  385. package/dist/module/justifi-checkouts-list.js +2 -2
  386. package/dist/module/justifi-dispute-management.js +2 -2
  387. package/dist/module/justifi-gross-payment-chart.js +1 -1
  388. package/dist/module/justifi-modular-checkout.d.ts +11 -0
  389. package/dist/module/justifi-modular-checkout.js +219 -0
  390. package/dist/module/justifi-order-terminals.js +3 -3
  391. package/dist/module/justifi-payment-details.js +1 -1
  392. package/dist/module/justifi-payment-provisioning.js +1 -1
  393. package/dist/module/justifi-payment-transactions-list.js +3 -3
  394. package/dist/module/justifi-payments-list-filters.js +3 -3
  395. package/dist/module/justifi-payments-list.js +2 -2
  396. package/dist/module/justifi-payout-details.js +1 -1
  397. package/dist/module/justifi-payout-transactions-list.js +3 -3
  398. package/dist/module/justifi-payouts-list-filters.js +3 -3
  399. package/dist/module/justifi-payouts-list.js +2 -2
  400. package/dist/module/justifi-postal-code-form.d.ts +11 -0
  401. package/dist/module/justifi-postal-code-form.js +86 -0
  402. package/dist/module/justifi-refund-payment.js +1 -1
  403. package/dist/module/justifi-saved-payment-methods.d.ts +11 -0
  404. package/dist/module/justifi-saved-payment-methods.js +58 -0
  405. package/dist/module/justifi-season-interruption-insurance.js +9 -11
  406. package/dist/module/justifi-sezzle-payment-method.js +108 -1
  407. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  408. package/dist/module/justifi-terminal-orders-list.js +2 -2
  409. package/dist/module/justifi-terminals-list-filters.js +2 -2
  410. package/dist/module/justifi-terminals-list.js +2 -2
  411. package/dist/module/justifi-tokenize-payment-method.js +41 -40
  412. package/dist/module/package.js +3 -3
  413. package/dist/module/parts.js +1 -1
  414. package/dist/module/payment-details-core2.js +8 -8
  415. package/dist/module/payment-method-option-utils.js +23 -0
  416. package/dist/module/payment-method-options.js +34 -51
  417. package/dist/module/payments-list-core2.js +2 -2
  418. package/dist/module/payout-details-core2.js +3 -3
  419. package/dist/module/payouts-list-core2.js +2 -2
  420. package/dist/module/product-or-service.js +1 -1
  421. package/dist/module/refund-policy.js +1 -1
  422. package/dist/module/saved-payment-method.js +2 -22
  423. package/dist/module/schema-validations.js +1 -1
  424. package/dist/module/shipping-details.js +1 -1
  425. package/dist/module/table-filters-menu2.js +2 -2
  426. package/dist/module/terminal-orders-list-core2.js +2 -2
  427. package/dist/module/terminal-quantity-selector2.js +1 -1
  428. package/dist/module/terminals-list-core2.js +2 -2
  429. package/dist/types/api/BillingInformation.d.ts +13 -0
  430. package/dist/types/api/Checkout.d.ts +14 -13
  431. package/dist/types/api/ComponentError.d.ts +3 -1
  432. package/dist/types/api/PaymentMethod.d.ts +21 -0
  433. package/dist/types/components/checkout/checkout.d.ts +1 -0
  434. package/dist/types/components/checkout/payment-method-options.d.ts +0 -1
  435. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
  436. package/dist/types/components/modular-checkout/modular-checkout.d.ts +31 -0
  437. package/dist/types/components/modular-checkout-parts/bank-account-skeleton.d.ts +6 -0
  438. package/dist/types/components/modular-checkout-parts/bank-account.d.ts +18 -0
  439. package/dist/types/components/modular-checkout-parts/billing-form-schema.d.ts +23 -0
  440. package/dist/types/components/modular-checkout-parts/billing-form.d.ts +16 -0
  441. package/dist/types/components/modular-checkout-parts/card-form-skeleton.d.ts +6 -0
  442. package/dist/types/components/modular-checkout-parts/card-form.d.ts +20 -0
  443. package/dist/types/components/modular-checkout-parts/postal-code-form.d.ts +16 -0
  444. package/dist/types/components/modular-checkout-parts/saved-payment-methods.d.ts +5 -0
  445. package/dist/types/components/{checkout → modular-checkout-parts}/sezzle-payment-method.d.ts +2 -8
  446. package/dist/types/components/modular-checkout-parts/summary.d.ts +3 -0
  447. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -2
  448. package/dist/types/components.d.ts +429 -22
  449. package/dist/types/stencil-public-runtime.d.ts +1 -1
  450. package/dist/types/store/checkout.store.d.ts +19 -0
  451. package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
  452. package/dist/webcomponents/p-00900e52.entry.js +1 -0
  453. package/dist/webcomponents/p-025ae692.entry.js +1 -0
  454. package/dist/webcomponents/p-02e26641.entry.js +1 -0
  455. package/dist/webcomponents/p-04c91ec1.entry.js +1 -0
  456. package/dist/webcomponents/{p-bf3e8295.entry.js → p-0c13f2da.entry.js} +1 -1
  457. package/dist/webcomponents/p-0d5e93b3.entry.js +1 -0
  458. package/dist/webcomponents/{p-90c24cda.entry.js → p-15c63931.entry.js} +1 -1
  459. package/dist/webcomponents/p-19b5f93a.entry.js +1 -0
  460. package/dist/webcomponents/p-1ac365b4.entry.js +1 -0
  461. package/dist/webcomponents/{p-b40108c0.entry.js → p-1d59c747.entry.js} +1 -1
  462. package/dist/webcomponents/p-1d64d86b.entry.js +1 -0
  463. package/dist/webcomponents/p-20d7db42.entry.js +1 -0
  464. package/dist/webcomponents/p-25b310f0.entry.js +1 -0
  465. package/dist/webcomponents/p-271b131d.entry.js +1 -0
  466. package/dist/webcomponents/p-2882b4e9.entry.js +1 -0
  467. package/dist/webcomponents/p-2a08ba01.entry.js +1 -0
  468. package/dist/webcomponents/p-2f027626.entry.js +1 -0
  469. package/dist/webcomponents/p-2fa36c0e.entry.js +1 -0
  470. package/dist/webcomponents/p-379584fb.entry.js +1 -0
  471. package/dist/webcomponents/p-39f31e23.entry.js +1 -0
  472. package/dist/webcomponents/p-3b6888c5.entry.js +1 -0
  473. package/dist/webcomponents/p-3d62f9a5.entry.js +1 -0
  474. package/dist/webcomponents/p-3edd5ebd.entry.js +1 -0
  475. package/dist/webcomponents/p-4232760b.entry.js +1 -0
  476. package/dist/webcomponents/p-4be4f7b4.entry.js +1 -0
  477. package/dist/webcomponents/p-531738ae.entry.js +1 -0
  478. package/dist/webcomponents/p-54019e68.entry.js +1 -0
  479. package/dist/webcomponents/{p-3e94cf62.entry.js → p-584ba20d.entry.js} +1 -1
  480. package/dist/webcomponents/p-5bc6f1e6.entry.js +20 -0
  481. package/dist/webcomponents/p-5bfbb0f8.entry.js +1 -0
  482. package/dist/webcomponents/{p-19b9c96a.entry.js → p-5da3ba38.entry.js} +1 -1
  483. package/dist/webcomponents/{p-bb50155f.entry.js → p-5ea3cfca.entry.js} +1 -1
  484. package/dist/webcomponents/p-5f9dbaff.entry.js +1 -0
  485. package/dist/webcomponents/p-6b229318.entry.js +1 -0
  486. package/dist/webcomponents/p-6fc1ace5.entry.js +1 -0
  487. package/dist/webcomponents/{p-7733b67b.entry.js → p-712220f9.entry.js} +1 -1
  488. package/dist/webcomponents/p-716d41f2.entry.js +1 -0
  489. package/dist/webcomponents/p-7253f1ea.entry.js +1 -0
  490. package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
  491. package/dist/webcomponents/p-80b662de.entry.js +1 -0
  492. package/dist/webcomponents/p-82164a5e.entry.js +1 -0
  493. package/dist/webcomponents/p-8532c68c.entry.js +1 -0
  494. package/dist/webcomponents/p-8590c5df.entry.js +1 -0
  495. package/dist/webcomponents/p-8e555a6e.entry.js +1 -0
  496. package/dist/webcomponents/p-96f89c69.entry.js +1 -0
  497. package/dist/webcomponents/p-98a39544.entry.js +1 -0
  498. package/dist/webcomponents/{p-BnE7qgLh.js → p-9REosSLu.js} +1 -1
  499. package/dist/webcomponents/{p-1678e9e3.entry.js → p-9a17fd5a.entry.js} +1 -1
  500. package/dist/webcomponents/p-9a9f9c57.entry.js +1 -0
  501. package/dist/webcomponents/{p-D5XSsLKb.js → p-B4MIwTdb.js} +1 -1
  502. package/dist/webcomponents/{p-n2YROtpe.js → p-B7VsiIW-.js} +1 -1
  503. package/dist/webcomponents/p-B8Ovjy6S.js +1 -0
  504. package/dist/webcomponents/p-BE5Nvydk.js +1 -0
  505. package/dist/webcomponents/{p-DuYlA4lj.js → p-BEDtXmpq.js} +1 -1
  506. package/dist/webcomponents/p-BGHVK-vQ.js +1 -0
  507. package/dist/webcomponents/{p-Bk4gk-f7.js → p-BPCw4WEY.js} +1 -1
  508. package/dist/webcomponents/p-BSUCBhkJ.js +1 -0
  509. package/dist/webcomponents/{p-HBDBB6lL.js → p-BhLPwu1L.js} +1 -1
  510. package/dist/webcomponents/p-BhrFjjAs.js +1 -0
  511. package/dist/webcomponents/p-BoGb-Wsw.js +1 -0
  512. package/dist/webcomponents/p-Bond4qGX.js +1 -0
  513. package/dist/webcomponents/p-BpEw7AJl.js +1 -0
  514. package/dist/webcomponents/p-Bta_r52Z.js +2 -0
  515. package/dist/webcomponents/{p-BTS3E50C.js → p-BxfUcCXo.js} +1 -1
  516. package/dist/webcomponents/p-C-WgCIei.js +1 -0
  517. package/dist/webcomponents/p-CBs671Ol.js +1 -0
  518. package/dist/webcomponents/{p-l3uWWMRW.js → p-CCpqJxzB.js} +1 -1
  519. package/dist/webcomponents/p-CDTncSrX.js +1 -0
  520. package/dist/webcomponents/p-CLpgfEbx.js +1 -0
  521. package/dist/webcomponents/p-CRYPNa2o.js +1 -0
  522. package/dist/webcomponents/p-CbGBEkk3.js +1 -0
  523. package/dist/webcomponents/p-CeNlJX4-.js +1 -0
  524. package/dist/webcomponents/p-CnnRWu7z.js +1 -0
  525. package/dist/webcomponents/{p-C0WFYqwq.js → p-CqVelcDt.js} +1 -1
  526. package/dist/webcomponents/p-Ct-uNz2r.js +1 -0
  527. package/dist/webcomponents/{p-uSM1EMk-.js → p-Ctw40vkk.js} +1 -1
  528. package/dist/webcomponents/p-CvChBLtI.js +1 -0
  529. package/dist/webcomponents/{p-D0ptm6-3.js → p-CwHYDF33.js} +1 -1
  530. package/dist/webcomponents/p-CyXXks-Q.js +1 -0
  531. package/dist/webcomponents/p-Czro_9VO.js +1 -0
  532. package/dist/webcomponents/{p-Cd06j2SL.js → p-D3BIZZrc.js} +1 -1
  533. package/dist/webcomponents/{p-DnB1x5JE.js → p-D3SYNGyb.js} +1 -1
  534. package/dist/webcomponents/{p-DzFysjCc.js → p-D7js9xfx.js} +1 -1
  535. package/dist/webcomponents/p-DKClunJd.js +1 -0
  536. package/dist/webcomponents/p-DOB09NZD.js +1 -0
  537. package/dist/webcomponents/p-DUdzWNqB.js +1 -0
  538. package/dist/webcomponents/p-D_FOQEGU.js +1 -0
  539. package/dist/webcomponents/p-DaS3t0DL.js +1 -0
  540. package/dist/webcomponents/p-DddGO-XR.js +1 -0
  541. package/dist/webcomponents/p-Dge4w7_c.js +1 -0
  542. package/dist/webcomponents/p-DkWBoLsd.js +1 -0
  543. package/dist/webcomponents/p-DknV-QPT.js +1 -0
  544. package/dist/webcomponents/p-DnX5CZFd.js +1 -0
  545. package/dist/webcomponents/p-DuiQuWNq.js +1 -0
  546. package/dist/webcomponents/p-Dw6NWKHn.js +1 -0
  547. package/dist/webcomponents/p-DzPrenCi.js +1 -0
  548. package/dist/webcomponents/p-NqdaxjDT.js +1 -0
  549. package/dist/webcomponents/p-YDuIVoos.js +1 -0
  550. package/dist/webcomponents/{p-D2ZiLcDE.js → p-Yj41tobi.js} +1 -1
  551. package/dist/webcomponents/{p-BrLVc_85.js → p-_6eQgwfE.js} +1 -1
  552. package/dist/webcomponents/p-a2db11b5.entry.js +1 -0
  553. package/dist/webcomponents/p-a31913e3.entry.js +1 -0
  554. package/dist/webcomponents/p-a4d457e9.entry.js +1 -0
  555. package/dist/webcomponents/{p-a8119fda.entry.js → p-b3e6d27c.entry.js} +1 -1
  556. package/dist/webcomponents/p-b8ee41c1.entry.js +1 -0
  557. package/dist/webcomponents/p-bde749ac.entry.js +1 -0
  558. package/dist/webcomponents/{p-a136ff22.entry.js → p-be51c7c5.entry.js} +1 -1
  559. package/dist/webcomponents/p-bf16b11c.entry.js +1 -0
  560. package/dist/webcomponents/p-ce291c6a.entry.js +1 -0
  561. package/dist/webcomponents/p-d82b509a.entry.js +1 -0
  562. package/dist/webcomponents/p-d9b06582.entry.js +1 -0
  563. package/dist/webcomponents/p-dbc02ba8.entry.js +1 -0
  564. package/dist/webcomponents/p-dcad0df5.entry.js +1 -0
  565. package/dist/webcomponents/{p-59abf1de.entry.js → p-df2ad580.entry.js} +1 -1
  566. package/dist/webcomponents/p-e03630ec.entry.js +1 -0
  567. package/dist/webcomponents/p-e07sVz4Z.js +1 -0
  568. package/dist/webcomponents/p-e563df65.entry.js +1 -0
  569. package/dist/webcomponents/{p-57c89023.entry.js → p-e8294f7e.entry.js} +1 -1
  570. package/dist/webcomponents/p-ea664ada.entry.js +1 -0
  571. package/dist/webcomponents/p-ec9bb3f6.entry.js +1 -0
  572. package/dist/webcomponents/p-ecf6a315.entry.js +1 -0
  573. package/dist/webcomponents/{p-2c7ae3ac.entry.js → p-ef9dcfe1.entry.js} +1 -1
  574. package/dist/webcomponents/{p-33b23638.entry.js → p-f71b1ff0.entry.js} +1 -1
  575. package/dist/webcomponents/{p-99b080d9.entry.js → p-f7e24a51.entry.js} +1 -1
  576. package/dist/webcomponents/{p-5e467788.entry.js → p-ff223825.entry.js} +1 -1
  577. package/dist/webcomponents/p-hDoH7hHP.js +1 -0
  578. package/dist/webcomponents/p-pGzabKc7.js +1 -0
  579. package/dist/webcomponents/p-uLUlLQpP.js +1 -0
  580. package/dist/webcomponents/p-zucQG3cz.js +1 -0
  581. package/dist/webcomponents/webcomponents.esm.js +1 -1
  582. package/package.json +1 -1
  583. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
  584. package/dist/cjs/iframe-input-styles-state-D9vhHzZQ.js +0 -26
  585. package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +0 -22
  586. package/dist/collection/components/checkout/sezzle-payment-method.js +0 -240
  587. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  588. package/dist/esm/iframe-input-styles-state-ibYqbF--.js +0 -23
  589. package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +0 -16
  590. package/dist/module/sezzle-payment-method.js +0 -104
  591. package/dist/webcomponents/p-10d41e17.entry.js +0 -1
  592. package/dist/webcomponents/p-16d29d0b.entry.js +0 -1
  593. package/dist/webcomponents/p-22a0b397.entry.js +0 -1
  594. package/dist/webcomponents/p-292da2d4.entry.js +0 -1
  595. package/dist/webcomponents/p-2c8d7aa9.entry.js +0 -1
  596. package/dist/webcomponents/p-3368d3d5.entry.js +0 -1
  597. package/dist/webcomponents/p-3a979295.entry.js +0 -1
  598. package/dist/webcomponents/p-40f7e3af.entry.js +0 -1
  599. package/dist/webcomponents/p-4680f931.entry.js +0 -1
  600. package/dist/webcomponents/p-4a070b7a.entry.js +0 -1
  601. package/dist/webcomponents/p-4b51a896.entry.js +0 -1
  602. package/dist/webcomponents/p-4f8b9b99.entry.js +0 -1
  603. package/dist/webcomponents/p-57fc593a.entry.js +0 -1
  604. package/dist/webcomponents/p-5d81f36e.entry.js +0 -1
  605. package/dist/webcomponents/p-5df5aa41.entry.js +0 -1
  606. package/dist/webcomponents/p-639baa7d.entry.js +0 -1
  607. package/dist/webcomponents/p-6429afb4.entry.js +0 -1
  608. package/dist/webcomponents/p-6n7viK-J.js +0 -1
  609. package/dist/webcomponents/p-70c498d4.entry.js +0 -1
  610. package/dist/webcomponents/p-722c5e42.entry.js +0 -1
  611. package/dist/webcomponents/p-758ce5e5.entry.js +0 -20
  612. package/dist/webcomponents/p-77896e7b.entry.js +0 -1
  613. package/dist/webcomponents/p-77ac321c.entry.js +0 -1
  614. package/dist/webcomponents/p-7d3cf734.entry.js +0 -1
  615. package/dist/webcomponents/p-8183c2d1.entry.js +0 -1
  616. package/dist/webcomponents/p-8ad67f87.entry.js +0 -1
  617. package/dist/webcomponents/p-8c107267.entry.js +0 -1
  618. package/dist/webcomponents/p-935bbc62.entry.js +0 -1
  619. package/dist/webcomponents/p-93df56e1.entry.js +0 -1
  620. package/dist/webcomponents/p-B0cQ2RjH.js +0 -1
  621. package/dist/webcomponents/p-B190pN0v.js +0 -1
  622. package/dist/webcomponents/p-BR7flk4G.js +0 -1
  623. package/dist/webcomponents/p-BjMTOtI1.js +0 -1
  624. package/dist/webcomponents/p-C0IqfGFc.js +0 -1
  625. package/dist/webcomponents/p-C1sOJl-_.js +0 -1
  626. package/dist/webcomponents/p-C5RuuShs.js +0 -1
  627. package/dist/webcomponents/p-COcul8pX.js +0 -1
  628. package/dist/webcomponents/p-CQdeVKF8.js +0 -1
  629. package/dist/webcomponents/p-CaGOSFHG.js +0 -1
  630. package/dist/webcomponents/p-CgxzrbM_.js +0 -1
  631. package/dist/webcomponents/p-Cm_0sqXz.js +0 -1
  632. package/dist/webcomponents/p-Cs0cIpIm.js +0 -1
  633. package/dist/webcomponents/p-Cx60eQXT.js +0 -1
  634. package/dist/webcomponents/p-D4Mv5jCp.js +0 -1
  635. package/dist/webcomponents/p-D6FDxSyt.js +0 -2
  636. package/dist/webcomponents/p-DClC2nMO.js +0 -1
  637. package/dist/webcomponents/p-DDEz7_ad.js +0 -1
  638. package/dist/webcomponents/p-DJzjeg3x.js +0 -1
  639. package/dist/webcomponents/p-DQuL1Twl.js +0 -1
  640. package/dist/webcomponents/p-DR89sFne.js +0 -1
  641. package/dist/webcomponents/p-DVnVdicA.js +0 -1
  642. package/dist/webcomponents/p-DgfzEZny.js +0 -1
  643. package/dist/webcomponents/p-DjGTAHJM.js +0 -1
  644. package/dist/webcomponents/p-DniQ6yo6.js +0 -1
  645. package/dist/webcomponents/p-DvhDilDP.js +0 -1
  646. package/dist/webcomponents/p-SdntD1xf.js +0 -1
  647. package/dist/webcomponents/p-U30-0DaA.js +0 -1
  648. package/dist/webcomponents/p-_pH3Hg4P.js +0 -1
  649. package/dist/webcomponents/p-a0662195.entry.js +0 -1
  650. package/dist/webcomponents/p-a33cfcfe.entry.js +0 -1
  651. package/dist/webcomponents/p-a6722f44.entry.js +0 -1
  652. package/dist/webcomponents/p-a94952f6.entry.js +0 -1
  653. package/dist/webcomponents/p-abdae97a.entry.js +0 -1
  654. package/dist/webcomponents/p-af09b6ee.entry.js +0 -1
  655. package/dist/webcomponents/p-b0d3aab7.entry.js +0 -1
  656. package/dist/webcomponents/p-b1586aa2.entry.js +0 -1
  657. package/dist/webcomponents/p-c01544c3.entry.js +0 -1
  658. package/dist/webcomponents/p-c3c7be24.entry.js +0 -1
  659. package/dist/webcomponents/p-c5628e09.entry.js +0 -1
  660. package/dist/webcomponents/p-c5b6b76f.entry.js +0 -1
  661. package/dist/webcomponents/p-c6490254.entry.js +0 -1
  662. package/dist/webcomponents/p-cNABKY0P.js +0 -1
  663. package/dist/webcomponents/p-ceefc483.entry.js +0 -1
  664. package/dist/webcomponents/p-clwP6zk3.js +0 -1
  665. package/dist/webcomponents/p-d8b8b17c.entry.js +0 -1
  666. package/dist/webcomponents/p-e2bfdba5.entry.js +0 -1
  667. package/dist/webcomponents/p-e73fe424.entry.js +0 -1
  668. package/dist/webcomponents/p-eHhqPyVW.js +0 -1
  669. package/dist/webcomponents/p-f23d4fdb.entry.js +0 -1
  670. package/dist/webcomponents/p-ffd197c2.entry.js +0 -1
  671. package/dist/webcomponents/p-gZGxqQgQ.js +0 -1
  672. package/dist/webcomponents/p-l3o3Ndc0.js +0 -1
  673. package/dist/webcomponents/p-r__elyG4.js +0 -1
  674. package/dist/webcomponents/p-um3YdOwW.js +0 -1
  675. package/dist/webcomponents/p-wqUvt1PB.js +0 -1
@@ -1 +1 @@
1
- import{r as e,h as a,H as t}from"./p-D6FDxSyt.js";import{al as l,D as d}from"./p-BrLVc_85.js";import{a as i,r as s,s as c,b as o}from"./p-yH3TC3ZQ.js";import{C as r,T as n,P as f,S as b}from"./p-B-iV5cYd.js";import{C as u}from"./p-BlJnA265.js";import{d as h}from"./p-Dt-vy9Le.js";import{S as m}from"./p-BX8GieXu.js";import{n as v}from"./p-BnjCmwMr.js";const y=class{constructor(a){e(this,a)}render(){return this.text?this.hideAlert?null:a("div",{class:"alert alert-danger d-flex align-items-center",role:"alert",part:l},a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",class:"bi bi-exclamation-triangle-fill flex-shrink-0 me-2",viewBox:"0 0 16 16",role:"img","aria-label":"Warning:"},a("path",{d:"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})),a("div",null,this.text)):null}},p=class{constructor(a){e(this,a),this.errors={},this.additional_questions={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.additional_questions=Object.assign({},e.additional_questions)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{additional_questions:Object.assign(Object.assign({},this.formController.values.getValue().additional_questions),{[e]:a})}))}render(){var e,l,o,n,f,b,u,h,m,v,y,p,k,x;const j=this.formController.getInitialValues().additional_questions;return a(t,{key:"6e2549b906fec8928dae89a4f143916a2b50eff3"},a("fieldset",{key:"525eab0debf75c3996c45128e9431086e49c3850"},a("legend",{key:"adeb6e2a32fb4f9e991d7b4843569116e336743c",part:d},"Additional Questions"),a("div",{key:"29b55613d32bc434017fc561033c6c9b8800666d",class:"row gy-3"},a("div",{key:"80c1d6b2c5e52c5fe0f8b9c3591bb315e51f7c55",class:"col-12 col-md-6"},a("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:null===(l=null===(e=this.errors)||void 0===e?void 0:e.additional_questions)||void 0===l?void 0:l.business_revenue,defaultValue:null==j?void 0:j.business_revenue,maskOptions:r.WHOLE})),a("div",{key:"af0e66f6f647ed7248e0d861707cc378c85b0dce",class:"col-12 col-md-6"},a("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:null===(n=null===(o=this.errors)||void 0===o?void 0:o.additional_questions)||void 0===n?void 0:n.business_payment_volume,defaultValue:null==j?void 0:j.business_payment_volume,maskOptions:r.WHOLE})),a("div",{key:"b914a2f8abd79eab79d284f1ece9850f4a417893",class:"col-12"},a("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:null===(b=null===(f=this.errors)||void 0===f?void 0:f.additional_questions)||void 0===b?void 0:b.business_when_service_received,options:i,defaultValue:null==j?void 0:j.business_when_service_received})),a("div",{key:"da533644fd51e8678fc80d49c7db0ce20a803019",class:"col-12"},a("form-control-select",{key:"06c23865a5bbda38b294dd4edfee6ace942fb732",name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.additional_questions)||void 0===h?void 0:h.business_recurring_payments,options:s,defaultValue:null==j?void 0:j.business_recurring_payments})),a("div",{key:"bb492db9aea205138ef76cf6fc7c3f686bb41a79",class:"col-12"},a("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:null===(v=null===(m=this.errors)||void 0===m?void 0:m.additional_questions)||void 0===v?void 0:v.business_recurring_payments_percentage,defaultValue:null==j?void 0:j.business_recurring_payments_percentage})),a("div",{key:"e2f56ae5d9654bdb1077689a1ef59c9047e97bda",class:"col-12"},a("form-control-select",{key:"697e41186b4c82046e50288594681117bf8dd6fe",name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(p=null===(y=this.errors)||void 0===y?void 0:y.additional_questions)||void 0===p?void 0:p.business_seasonal,options:c,defaultValue:null==j?void 0:j.business_seasonal})),a("div",{key:"2e2f5d17b70604b9425997d9e4e0dfafea933448",class:"col-12"},a("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:null===(x=null===(k=this.errors)||void 0===k?void 0:k.additional_questions)||void 0===x?void 0:x.business_other_payment_details,defaultValue:null==j?void 0:j.business_other_payment_details})))))}},k=class{constructor(a){e(this,a),this.errors={},this.coreInfo={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.values.subscribe((e=>this.coreInfo=Object.assign({},new u(e)))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:a}))}render(){const e=this.formController.getInitialValues();return a(t,{key:"71096918610aa3068cf89fbf9f3537b7f49942c6"},a("fieldset",{key:"502e6c3e3ae05256c6e5e8d315b4aa208ce88953"},a("legend",{key:"ccbe69b2323e815dc77b2602a96bdc4238fcef03",part:d},"General Info"),a("div",{key:"19a70fd7a361e5de4c88e14cbff12d88f78233e3",class:"row gy-3"},a("div",{key:"611bcc2bd35db7b6940a5b7ae53c54b55b855dd6",class:"col-12"},a("form-control-text",{key:"a9de594470c896aff0803c34a313c38467f7c82a",name:"legal_name",label:"Legal Name",defaultValue:e.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler})),a("div",{key:"ed742f64b1c344587127ce94ba1d17206bbdebb3",class:"col-12"},a("form-control-text",{key:"abb41f3aa059c180882066e21fe0239838cd9956",name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:e.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler})),a("div",{key:"3659fb0dd0419fd4d6f0205bc9e32aef05f56aa1",class:"col-12 col-md-8"},a("form-control-select",{key:"5bbbe7cd7fe0a7e8788e36855ff18390bf8df301",name:"classification",label:"Business Classification",options:o,defaultValue:e.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),a("div",{key:"5007e6269c59878e6388164ff8d5163090b87585",class:"col-12 col-md-4"},a("form-control-date",{key:"4fa7c7f001ced10c746d2891fe3efd8336542907",name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:e.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),a("div",{key:"e245a4ac6e0904c9742a0d1d220cb95c9fe63497",class:"col-12 col-md-6"},a("form-control-text",{key:"bc7367525a45c221c576f2b31c1a95680a95937a",name:"industry",label:"Industry",defaultValue:e.industry,errorText:this.errors.industry,inputHandler:this.inputHandler})),a("div",{key:"6475831320818242eda7ac045dcdd076fbc4245c",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"d68e8046fa42f4d5976aa44a7769b14fc4cda416",name:"tax_id",label:"Tax ID",defaultValue:e.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,mask:n.US})),a("div",{key:"f59cda0241c1ad92d0d995e330b92079ba75737f",class:"col-12"},a("form-control-text",{key:"8243464d1c75897c1e3423e5045f34b81b425a9e",name:"website_url",label:"Website URL",defaultValue:e.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler})),a("div",{key:"c65251b25e0996277f7d0e11d25d6340ccfc11e7",class:"col-12 col-md-6"},a("form-control-text",{key:"fe3a4eff53786f49fbfe24afb048f861bf7a469a",name:"email",label:"Email Address",defaultValue:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"b1d909e5f937dcbbac0082b293571904c0c81396",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"83238873cbd8ccc08a5c3af1bd87a7965fefb5f8",name:"phone",label:"Phone Number",defaultValue:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})))))}},x=class{constructor(a){e(this,a),this.errors={},this.representative={},this.inputHandler=(e,a)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{[e]:a})}))},this.onAddressFormUpdate=e=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{address:Object.assign(Object.assign({},this.formController.values.getValue().representative.address),e)})}))},this.onDateOfBirthUpdate=e=>{const a=h(e.detail);this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{dob_day:a.dob_day,dob_month:a.dob_month,dob_year:a.dob_year})}))}}get identificationNumberLabel(){return this.representative.ssn_last4?"Update SSN (optional)":"SSN"}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e.representative))),this.formController.values.subscribe((e=>this.representative=Object.assign({},e.representative)))}render(){const e=this.formController.getInitialValues().representative;return a(t,{key:"eb9c09602a11107abc465463bf7e7cdbeb98cede"},a("fieldset",{key:"1f2a035f9796c29269a7dcd7ca874c73ed6493bb"},a("legend",{key:"1aeaba7f119f15e1ffa75cd58d77608fe51a60c8",part:d},"Representative"),a("div",{key:"5d09c634135046c79b4ac80b5c1cfee9fbd26ce0",class:"row gy-3"},a("div",{key:"6f03250bf88cc79ff07a1de68fef97a41a376aec",class:"col-12 col-md-8"},a("form-control-text",{key:"d6696ab573a305e277db56a578eaeb3fc4adf9ff",name:"name",label:"Full Name",defaultValue:null==e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"fd6ddc83d99b4f86f29566077249a23724741438",class:"col-12 col-md-4"},a("form-control-text",{key:"632b12a09042ffdaf85d2fafecfab1736bbc8d36",name:"title",label:"Title",defaultValue:null==e?void 0:e.title,errorText:this.errors.title,inputHandler:this.inputHandler})),a("div",{key:"65842c9cb8c616806631bd1d2902342cebf5326e",class:"col-12 col-md-6"},a("form-control-text",{key:"8e1f64cc7f97e4b337dfcda6494fca5750656130",name:"email",label:"Email Address",defaultValue:null==e?void 0:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"e050604c8d71e1d07f916822fbb73da4c3f5e034",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"a5bba8b362ce6070efc65e88ee80880ce855e624",name:"phone",label:"Phone Number",defaultValue:null==e?void 0:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})),a("div",{key:"dcbd23ab368e630ebaea9e8bdbb6985a98d5fbeb",class:"col-12 col-md-4"},a("form-control-date",{key:"05e0e255549ad8f0760102aab5cbfe444cae5996",name:"dob_full",label:"Birth Date",defaultValue:null==e?void 0:e.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:this.onDateOfBirthUpdate})),a("div",{key:"764595ed842fd09221ef71d5c921a9ebe947556d",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"91761e52dd724a27e135a3db8b7c85643f7891d9",name:"identification_number",label:this.identificationNumberLabel,defaultValue:null==e?void 0:e.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:b})),a("div",{key:"4be6739744d6d9fcd060ed9d894502f35396a9a9",class:"col-12"},a("justifi-identity-address-form",{key:"7c9d98057e908a068aa0783b10b2bd0f634d7ab9",errors:this.errors.address,defaultValues:null==e?void 0:e.address,handleFormUpdate:this.onAddressFormUpdate})))))}},j=class{constructor(a){e(this,a),this.errors={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.legal_address=Object.assign({},e.legal_address)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{legal_address:Object.assign(Object.assign({},this.formController.values.getValue().legal_address),{[e]:a})}))}render(){var e,l,i,s,c,o,r,n,f,b,u,h;const y=this.formController.getInitialValues().legal_address;return a(t,{key:"129b2ec053708454db5a515fdae9a7fba5289336"},a("fieldset",{key:"6af5c9469acc432ea01ff404af25727bd444abc7"},a("legend",{key:"1af149db608a13d18142aaea83f9ed2e8271fdc0",part:d},"Business Legal Address"),a("div",{key:"805c6ae992ebed34937b9a2622f50a7f99c7d0e6",class:"row gy-3"},a("div",{key:"78750dc68bcc6782bc4a71cfd14d417e980a57a6",class:"col-12"},a("form-control-text",{key:"18a75e38a7a5fbfcbbbce56e4967ce34c5618c8e",name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line1,errorText:null===(l=null===(e=this.errors)||void 0===e?void 0:e.legal_address)||void 0===l?void 0:l.line1})),a("div",{key:"676622c84785edfafa3413359d4985d26a734985",class:"col-12"},a("form-control-text",{key:"e8467f96595d240f5fc93585e472ad844cc49143",name:"line2",label:"Address Line 2",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line2,errorText:null===(s=null===(i=this.errors)||void 0===i?void 0:i.legal_address)||void 0===s?void 0:s.line2})),a("div",{key:"01556012d9335d23c14e130ca72b6e75028bcb36",class:"col-12"},a("form-control-text",{key:"c08dcd0ef726ff714d60de26492ced763a7d32ff",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.city,errorText:null===(o=null===(c=this.errors)||void 0===c?void 0:c.legal_address)||void 0===o?void 0:o.city})),a("div",{key:"ad811869e742f265a5441c6f36c2a55fa0b07952",class:"col-12"},a("form-control-select",{key:"47cc4b15578257f3c1fdee7896d28da94b5aaa16",name:"state",label:"State",options:m,inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.state,errorText:null===(n=null===(r=this.errors)||void 0===r?void 0:r.legal_address)||void 0===n?void 0:n.state})),a("div",{key:"f732fd2ed3967ee7fd602f41c62efd24cf6038eb",class:"col-12"},a("form-control-text",{key:"0431a63d11beb6682a2544d2483901f7fffa77bd",name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.postal_code,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.legal_address)||void 0===b?void 0:b.postal_code,maxLength:5,keyDownHandler:v})),a("div",{key:"cca67b0cd006f6cf9f9bbfe147507eb0ac6fecca",class:"col-12"},a("form-control-select",{key:"f561947f9443ea6f56d7ae31d44a69e2462c0751",name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.country,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.legal_address)||void 0===h?void 0:h.country,disabled:!0})))))}};export{y as form_alert,p as justifi_additional_questions,k as justifi_business_core_info,x as justifi_business_representative,j as justifi_legal_address_form}
1
+ import{r as e,h as a,H as t}from"./p-Bta_r52Z.js";import{av as l,x as d}from"./p-_6eQgwfE.js";import{a as i,r as s,s as c,b as o}from"./p-yH3TC3ZQ.js";import{C as r,T as n,P as f,S as b}from"./p-B-iV5cYd.js";import{C as u}from"./p-BlJnA265.js";import{d as h}from"./p-Dt-vy9Le.js";import{S as m}from"./p-BX8GieXu.js";import{n as v}from"./p-BnjCmwMr.js";const y=class{constructor(a){e(this,a)}render(){return this.text?this.hideAlert?null:a("div",{class:"alert alert-danger d-flex align-items-center",role:"alert",part:l},a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",class:"bi bi-exclamation-triangle-fill flex-shrink-0 me-2",viewBox:"0 0 16 16",role:"img","aria-label":"Warning:"},a("path",{d:"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})),a("div",null,this.text)):null}},p=class{constructor(a){e(this,a),this.errors={},this.additional_questions={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.additional_questions=Object.assign({},e.additional_questions)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{additional_questions:Object.assign(Object.assign({},this.formController.values.getValue().additional_questions),{[e]:a})}))}render(){var e,l,o,n,f,b,u,h,m,v,y,p,k,x;const j=this.formController.getInitialValues().additional_questions;return a(t,{key:"6e2549b906fec8928dae89a4f143916a2b50eff3"},a("fieldset",{key:"525eab0debf75c3996c45128e9431086e49c3850"},a("legend",{key:"adeb6e2a32fb4f9e991d7b4843569116e336743c",part:d},"Additional Questions"),a("div",{key:"29b55613d32bc434017fc561033c6c9b8800666d",class:"row gy-3"},a("div",{key:"80c1d6b2c5e52c5fe0f8b9c3591bb315e51f7c55",class:"col-12 col-md-6"},a("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:null===(l=null===(e=this.errors)||void 0===e?void 0:e.additional_questions)||void 0===l?void 0:l.business_revenue,defaultValue:null==j?void 0:j.business_revenue,maskOptions:r.WHOLE})),a("div",{key:"af0e66f6f647ed7248e0d861707cc378c85b0dce",class:"col-12 col-md-6"},a("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:null===(n=null===(o=this.errors)||void 0===o?void 0:o.additional_questions)||void 0===n?void 0:n.business_payment_volume,defaultValue:null==j?void 0:j.business_payment_volume,maskOptions:r.WHOLE})),a("div",{key:"b914a2f8abd79eab79d284f1ece9850f4a417893",class:"col-12"},a("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:null===(b=null===(f=this.errors)||void 0===f?void 0:f.additional_questions)||void 0===b?void 0:b.business_when_service_received,options:i,defaultValue:null==j?void 0:j.business_when_service_received})),a("div",{key:"da533644fd51e8678fc80d49c7db0ce20a803019",class:"col-12"},a("form-control-select",{key:"06c23865a5bbda38b294dd4edfee6ace942fb732",name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.additional_questions)||void 0===h?void 0:h.business_recurring_payments,options:s,defaultValue:null==j?void 0:j.business_recurring_payments})),a("div",{key:"bb492db9aea205138ef76cf6fc7c3f686bb41a79",class:"col-12"},a("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:null===(v=null===(m=this.errors)||void 0===m?void 0:m.additional_questions)||void 0===v?void 0:v.business_recurring_payments_percentage,defaultValue:null==j?void 0:j.business_recurring_payments_percentage})),a("div",{key:"e2f56ae5d9654bdb1077689a1ef59c9047e97bda",class:"col-12"},a("form-control-select",{key:"697e41186b4c82046e50288594681117bf8dd6fe",name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(p=null===(y=this.errors)||void 0===y?void 0:y.additional_questions)||void 0===p?void 0:p.business_seasonal,options:c,defaultValue:null==j?void 0:j.business_seasonal})),a("div",{key:"2e2f5d17b70604b9425997d9e4e0dfafea933448",class:"col-12"},a("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:null===(x=null===(k=this.errors)||void 0===k?void 0:k.additional_questions)||void 0===x?void 0:x.business_other_payment_details,defaultValue:null==j?void 0:j.business_other_payment_details})))))}},k=class{constructor(a){e(this,a),this.errors={},this.coreInfo={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.values.subscribe((e=>this.coreInfo=Object.assign({},new u(e)))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:a}))}render(){const e=this.formController.getInitialValues();return a(t,{key:"71096918610aa3068cf89fbf9f3537b7f49942c6"},a("fieldset",{key:"502e6c3e3ae05256c6e5e8d315b4aa208ce88953"},a("legend",{key:"ccbe69b2323e815dc77b2602a96bdc4238fcef03",part:d},"General Info"),a("div",{key:"19a70fd7a361e5de4c88e14cbff12d88f78233e3",class:"row gy-3"},a("div",{key:"611bcc2bd35db7b6940a5b7ae53c54b55b855dd6",class:"col-12"},a("form-control-text",{key:"a9de594470c896aff0803c34a313c38467f7c82a",name:"legal_name",label:"Legal Name",defaultValue:e.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler})),a("div",{key:"ed742f64b1c344587127ce94ba1d17206bbdebb3",class:"col-12"},a("form-control-text",{key:"abb41f3aa059c180882066e21fe0239838cd9956",name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:e.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler})),a("div",{key:"3659fb0dd0419fd4d6f0205bc9e32aef05f56aa1",class:"col-12 col-md-8"},a("form-control-select",{key:"5bbbe7cd7fe0a7e8788e36855ff18390bf8df301",name:"classification",label:"Business Classification",options:o,defaultValue:e.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),a("div",{key:"5007e6269c59878e6388164ff8d5163090b87585",class:"col-12 col-md-4"},a("form-control-date",{key:"4fa7c7f001ced10c746d2891fe3efd8336542907",name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:e.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),a("div",{key:"e245a4ac6e0904c9742a0d1d220cb95c9fe63497",class:"col-12 col-md-6"},a("form-control-text",{key:"bc7367525a45c221c576f2b31c1a95680a95937a",name:"industry",label:"Industry",defaultValue:e.industry,errorText:this.errors.industry,inputHandler:this.inputHandler})),a("div",{key:"6475831320818242eda7ac045dcdd076fbc4245c",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"d68e8046fa42f4d5976aa44a7769b14fc4cda416",name:"tax_id",label:"Tax ID",defaultValue:e.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,mask:n.US})),a("div",{key:"f59cda0241c1ad92d0d995e330b92079ba75737f",class:"col-12"},a("form-control-text",{key:"8243464d1c75897c1e3423e5045f34b81b425a9e",name:"website_url",label:"Website URL",defaultValue:e.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler})),a("div",{key:"c65251b25e0996277f7d0e11d25d6340ccfc11e7",class:"col-12 col-md-6"},a("form-control-text",{key:"fe3a4eff53786f49fbfe24afb048f861bf7a469a",name:"email",label:"Email Address",defaultValue:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"b1d909e5f937dcbbac0082b293571904c0c81396",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"83238873cbd8ccc08a5c3af1bd87a7965fefb5f8",name:"phone",label:"Phone Number",defaultValue:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})))))}},x=class{constructor(a){e(this,a),this.errors={},this.representative={},this.inputHandler=(e,a)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{[e]:a})}))},this.onAddressFormUpdate=e=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{address:Object.assign(Object.assign({},this.formController.values.getValue().representative.address),e)})}))},this.onDateOfBirthUpdate=e=>{const a=h(e.detail);this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{dob_day:a.dob_day,dob_month:a.dob_month,dob_year:a.dob_year})}))}}get identificationNumberLabel(){return this.representative.ssn_last4?"Update SSN (optional)":"SSN"}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e.representative))),this.formController.values.subscribe((e=>this.representative=Object.assign({},e.representative)))}render(){const e=this.formController.getInitialValues().representative;return a(t,{key:"eb9c09602a11107abc465463bf7e7cdbeb98cede"},a("fieldset",{key:"1f2a035f9796c29269a7dcd7ca874c73ed6493bb"},a("legend",{key:"1aeaba7f119f15e1ffa75cd58d77608fe51a60c8",part:d},"Representative"),a("div",{key:"5d09c634135046c79b4ac80b5c1cfee9fbd26ce0",class:"row gy-3"},a("div",{key:"6f03250bf88cc79ff07a1de68fef97a41a376aec",class:"col-12 col-md-8"},a("form-control-text",{key:"d6696ab573a305e277db56a578eaeb3fc4adf9ff",name:"name",label:"Full Name",defaultValue:null==e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"fd6ddc83d99b4f86f29566077249a23724741438",class:"col-12 col-md-4"},a("form-control-text",{key:"632b12a09042ffdaf85d2fafecfab1736bbc8d36",name:"title",label:"Title",defaultValue:null==e?void 0:e.title,errorText:this.errors.title,inputHandler:this.inputHandler})),a("div",{key:"65842c9cb8c616806631bd1d2902342cebf5326e",class:"col-12 col-md-6"},a("form-control-text",{key:"8e1f64cc7f97e4b337dfcda6494fca5750656130",name:"email",label:"Email Address",defaultValue:null==e?void 0:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"e050604c8d71e1d07f916822fbb73da4c3f5e034",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"a5bba8b362ce6070efc65e88ee80880ce855e624",name:"phone",label:"Phone Number",defaultValue:null==e?void 0:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})),a("div",{key:"dcbd23ab368e630ebaea9e8bdbb6985a98d5fbeb",class:"col-12 col-md-4"},a("form-control-date",{key:"05e0e255549ad8f0760102aab5cbfe444cae5996",name:"dob_full",label:"Birth Date",defaultValue:null==e?void 0:e.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:this.onDateOfBirthUpdate})),a("div",{key:"764595ed842fd09221ef71d5c921a9ebe947556d",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"91761e52dd724a27e135a3db8b7c85643f7891d9",name:"identification_number",label:this.identificationNumberLabel,defaultValue:null==e?void 0:e.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:b})),a("div",{key:"4be6739744d6d9fcd060ed9d894502f35396a9a9",class:"col-12"},a("justifi-identity-address-form",{key:"7c9d98057e908a068aa0783b10b2bd0f634d7ab9",errors:this.errors.address,defaultValues:null==e?void 0:e.address,handleFormUpdate:this.onAddressFormUpdate})))))}},j=class{constructor(a){e(this,a),this.errors={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.legal_address=Object.assign({},e.legal_address)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{legal_address:Object.assign(Object.assign({},this.formController.values.getValue().legal_address),{[e]:a})}))}render(){var e,l,i,s,c,o,r,n,f,b,u,h;const y=this.formController.getInitialValues().legal_address;return a(t,{key:"129b2ec053708454db5a515fdae9a7fba5289336"},a("fieldset",{key:"6af5c9469acc432ea01ff404af25727bd444abc7"},a("legend",{key:"1af149db608a13d18142aaea83f9ed2e8271fdc0",part:d},"Business Legal Address"),a("div",{key:"805c6ae992ebed34937b9a2622f50a7f99c7d0e6",class:"row gy-3"},a("div",{key:"78750dc68bcc6782bc4a71cfd14d417e980a57a6",class:"col-12"},a("form-control-text",{key:"18a75e38a7a5fbfcbbbce56e4967ce34c5618c8e",name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line1,errorText:null===(l=null===(e=this.errors)||void 0===e?void 0:e.legal_address)||void 0===l?void 0:l.line1})),a("div",{key:"676622c84785edfafa3413359d4985d26a734985",class:"col-12"},a("form-control-text",{key:"e8467f96595d240f5fc93585e472ad844cc49143",name:"line2",label:"Address Line 2",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line2,errorText:null===(s=null===(i=this.errors)||void 0===i?void 0:i.legal_address)||void 0===s?void 0:s.line2})),a("div",{key:"01556012d9335d23c14e130ca72b6e75028bcb36",class:"col-12"},a("form-control-text",{key:"c08dcd0ef726ff714d60de26492ced763a7d32ff",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.city,errorText:null===(o=null===(c=this.errors)||void 0===c?void 0:c.legal_address)||void 0===o?void 0:o.city})),a("div",{key:"ad811869e742f265a5441c6f36c2a55fa0b07952",class:"col-12"},a("form-control-select",{key:"47cc4b15578257f3c1fdee7896d28da94b5aaa16",name:"state",label:"State",options:m,inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.state,errorText:null===(n=null===(r=this.errors)||void 0===r?void 0:r.legal_address)||void 0===n?void 0:n.state})),a("div",{key:"f732fd2ed3967ee7fd602f41c62efd24cf6038eb",class:"col-12"},a("form-control-text",{key:"0431a63d11beb6682a2544d2483901f7fffa77bd",name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.postal_code,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.legal_address)||void 0===b?void 0:b.postal_code,maxLength:5,keyDownHandler:v})),a("div",{key:"cca67b0cd006f6cf9f9bbfe147507eb0ac6fecca",class:"col-12"},a("form-control-select",{key:"f561947f9443ea6f56d7ae31d44a69e2462c0751",name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.country,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.legal_address)||void 0===h?void 0:h.country,disabled:!0})))))}};export{y as form_alert,p as justifi_additional_questions,k as justifi_business_core_info,x as justifi_business_representative,j as justifi_legal_address_form}
@@ -0,0 +1 @@
1
+ import{h as s,r as t,c as e}from"./p-Bta_r52Z.js";import{a as i,b as r}from"./p-CvChBLtI.js";import{F as o,c as n}from"./p-Bond4qGX.js";import{A as a,C as l,R as h,c}from"./p-BlJnA265.js";import{C as d,P as u}from"./p-B-iV5cYd.js";import{x as m}from"./p-_6eQgwfE.js";import{S as p}from"./p-DOB09NZD.js";import"./p-CZfYo5-1.js";import{a as f,r as v,s as y,b}from"./p-yH3TC3ZQ.js";import{a as g,B as w}from"./p-XYgDHrVL.js";import{z as _,A as x,B as j,C as T,D as S,i as C,E as O,F as B}from"./p-CCpqJxzB.js";import"./p-CBs671Ol.js";import"./p-9REosSLu.js";import{C as L,a as k}from"./p-BhrFjjAs.js";import"./p-D7js9xfx.js";import"./p-CLHwhyvu.js";import"./p-DddGO-XR.js";import"./p-BPCw4WEY.js";import{a as E,b as H}from"./p-Ct-uNz2r.js";import"./p-7MWRbTXI.js";import{n as D}from"./p-BnjCmwMr.js";import{B as V}from"./p-BGHVK-vQ.js";import{i as A,a as P}from"./p-BE5Nvydk.js";import{S as I}from"./p-BX8GieXu.js";import"./p-BFTU3MAI.js";import"./p-Dt-vy9Le.js";import"./p-D3BIZZrc.js";class W{constructor(s){this.id=s.id,this.account_owner_name=s.account_owner_name,this.full_name=s.full_name,this.account_type=s.account_type,this.account_number=s.account_number,this.acct_last_four=s.acct_last_four,this.account_number_last4=s.account_number_last4,this.routing_number=s.routing_number,this.bank_name=s.bank_name,this.country=s.country,this.currency=s.currency,this.nickname=s.nickname,this.metadata=s.metadata,this.business_id=s.business_id,this.platform_account_id=s.platform_account_id,this.created_at=s.created_at,this.updated_at=s.updated_at}get payload(){return{account_owner_name:this.account_owner_name||"",account_type:this.account_type||"",account_number:this.account_number||"",routing_number:this.routing_number||"",bank_name:this.bank_name||"",nickname:this.nickname||"",business_id:this.business_id||""}}}const F=()=>s("div",{class:"row gap-3"},s("div",{class:"col-12"},s(p,{width:"25%"})),s("div",{class:"col-12"},s(p,{width:"100%"})),s("div",{class:"col-12 d-flex gap-3"},s(p,{width:"50%"}),s(p,{width:"50%"})),s("div",{class:"col-12 d-flex gap-3"},s(p,{width:"65%"}),s(p,{width:"35%"}))),N=()=>s("div",{class:"row gap-5"},s("div",{class:"col-12"},s(p,{width:"40%",height:"40px"})),s(F,null),s(F,null),s(F,null)),R=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event"),this.errorEvent=e(this,"error-event"),this.formLoading=e(this,"formLoading"),this.errors={},this.additional_questions={},this.recurringPayments=!1,this.isLoading=!1,this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{this.additional_questions=new a(s.data.additional_questions||{}),this.formController.setInitialValues(Object.assign({},this.additional_questions))},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.additionalQuestions}),this.formLoading.emit(!1)}})},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t})),this.additional_questions=new a(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))}}recurringPaymentsWatcher(s){this.recurringPayments="Yes"===(null==s?void 0:s.business_recurring_payments)}async validateAndSubmit({onSuccess:s}){this.formController.validateAndSubmit((()=>this.sendData(s)))}get patchPayload(){return{additional_questions:new a(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(i(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){var t,e,i,r,o,n,a;const l=this.formController.getInitialValues();return this.isLoading?s(N,null):s("form",null,s("fieldset",null,s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Additional Questions"),s("form-control-tooltip",{helpText:"This information helps us understand the business and identify and monitor trends to safeguard you and your customers."})),s("hr",{class:"mt-2"}),s("div",{class:"row gy-3"},s("div",{class:"col-12 col-md-6"},s("form-control-monetary-provisioning",{name:"business_revenue",label:"What is your business’ estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(t=this.errors)||void 0===t?void 0:t.business_revenue,defaultValue:null==l?void 0:l.business_revenue,maskOptions:d.WHOLE})),s("div",{class:"col-12 col-md-6"},s("form-control-monetary-provisioning",{name:"business_payment_volume",label:"What is your business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(e=this.errors)||void 0===e?void 0:e.business_payment_volume,defaultValue:null==l?void 0:l.business_payment_volume,maskOptions:d.WHOLE})),s("div",{class:"col-12"},s("form-control-select",{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:null===(i=this.errors)||void 0===i?void 0:i.business_when_service_received,options:f,defaultValue:null==l?void 0:l.business_when_service_received})),s("div",{class:"col-12"},s("form-control-select",{name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(r=this.errors)||void 0===r?void 0:r.business_recurring_payments,options:v,defaultValue:null==l?void 0:l.business_recurring_payments})),s("div",{class:"col-12",hidden:!this.recurringPayments},s("form-control-text",{name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(o=this.errors)||void 0===o?void 0:o.business_recurring_payments_percentage,defaultValue:null==l?void 0:l.business_recurring_payments_percentage,helpText:"For example: 50% monthly, 50% annual."})),s("div",{class:"col-12"},s("form-control-select",{name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(n=this.errors)||void 0===n?void 0:n.business_seasonal,options:y,defaultValue:null==l?void 0:l.business_seasonal})),s("div",{class:"col-12"},s("form-control-text",{name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business? (optional)",inputHandler:this.inputHandler,errorText:null===(a=this.errors)||void 0===a?void 0:a.business_other_payment_details,defaultValue:null==l?void 0:l.business_other_payment_details})))))}static get watchers(){return{additional_questions:["recurringPaymentsWatcher"]}}},q=(s,t)=>{const e=n({bank_name:B.required("Enter bank name"),nickname:O.required("Enter nickname"),account_owner_name:C.required("Enter account owner name"),account_type:S.required("Select account type"),account_number:T.required("Enter account number"),routing_number:j.required("Enter routing number"),voided_check:x(s,t),bank_statement:_(s,t)}),i=n({bank_name:B.nullable(),nickname:O.nullable(),account_owner_name:C.nullable(),account_type:S.nullable(),account_number:T.nullable(),routing_number:j.nullable(),voided_check:x(s,t),bank_statement:_(s,t)});return t?i:e},U=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event"),this.errorEvent=e(this,"error-event"),this.formLoading=e(this,"formLoading"),this.errors={},this.bankAccount={},this.existingDocuments=[],this.documentData=new E,this.isLoading=!1,this.initializeFormController=()=>{this.formController=new o(q(this.existingDocuments,this.allowOptionalFields)),this.formController.setInitialValues(Object.assign({},this.bankAccount)),this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))},this.storeFiles=s=>{const t=Array.from(s.detail.fileList),e=s.detail.document_type,i=t.map((s=>new H({file:s,document_type:e},this.businessId)));this.documentData[e]=i},this.getData=()=>{this.isLoading=!0,this.getBusiness({onSuccess:s=>{s.data.bank_accounts.length>0?this.bankAccount=new W(s.data.bank_accounts[0]):(this.bankAccount=new W({}),this.bankAccount.business_id=this.businessId),this.existingDocuments=s.data.documents},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.initializeFormController(),this.isLoading=!1}})},this.postDocumentRecordData=async s=>{this.isLoading=!0;const t=s.record_data;return new Promise((e=>{this.postDocumentRecord({payload:t,onSuccess:t=>{e(this.handleDocRecordResponse(s,t))},onError:({error:s,code:t,severity:i})=>{this.errorEvent.emit({message:s,errorCode:t,severity:i}),e(!1)}})}))},this.handleDocRecordResponse=(s,t)=>t.error?(this.errorEvent.emit({errorCode:k.POST_ERROR,message:t.error.message,severity:L.ERROR,data:t.error}),!1):(s.setPresignedUrl(t.data.presigned_url),!0),this.uploadDocument=async s=>{if(!s.presigned_url)throw new Error("Presigned URL is not set");const t=await fetch(s.presigned_url,{method:"PUT",body:s.fileString});return this.handleUploadResponse(t)},this.handleUploadResponse=s=>!s.error||(this.errorEvent.emit({errorCode:k.POST_ERROR,message:s.error.message,severity:L.ERROR,data:s.error}),!1)}watchHandler(s){this.formLoading.emit(s)}async validateAndSubmit({onSuccess:s}){this.existingBankAccount?this.sendData(s):this.formController.validateAndSubmit((()=>this.sendData(s)))}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(q(this.existingDocuments,this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}get postPayload(){return new W(this.formController.values.getValue()).payload}get existingBankAccount(){var s;return!!(null===(s=this.bankAccount)||void 0===s?void 0:s.id)}async sendData(s){try{if(!this.existingBankAccount&&!await this.postBankAccountData())return;if(!await this.postBusinessDocuments())return;s()}catch(s){this.errorEvent.emit({message:s,errorCode:k.POST_ERROR,severity:L.ERROR})}}async postBankAccountData(){let s;return this.isLoading=!0,new Promise((t=>{let e=!1;this.postBankAccount({payload:this.postPayload,onSuccess:t=>{s=t,e=!0},onError:({error:s,code:t,severity:i})=>{e=!1,this.errorEvent.emit({message:s,errorCode:t,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:s,formStep:g.bankAccount}),this.isLoading=!1,t(e)}})}))}async postBusinessDocuments(){this.isLoading=!0;try{const s=Object.values(this.documentData).flat();return!s.length||!(await Promise.all(s.map((s=>this.postDocumentRecordData(s))))).includes(!1)&&!(await Promise.all(s.map((s=>this.uploadDocument(s))))).includes(!1)}finally{this.isLoading=!1}}render(){const t=this.formController.getInitialValues();return this.isLoading?s(N,null):s("form",null,s("fieldset",{class:"mb-4"},s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Bank Account Info"),s("form-control-tooltip",{helpText:"This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship."})),s("hr",{class:"mt-2"}),s("bank-account-form-inputs",{defaultValue:t,errors:this.errors,inputHandler:this.inputHandler,formDisabled:this.existingBankAccount})),s("fieldset",{class:"mt-4"},s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Document Uploads"),s("form-control-tooltip",{helpText:"These documents are required for underwriting purposes. Various file formats such as PDF, DOC, DOCX, JPEG, and others are accepted. Multiple files can be uploaded for each document category."})),s("hr",{class:"mt-2"}),s("business-documents-on-file",{documents:this.existingDocuments,isLoading:this.isLoading}),s("bank-account-document-form-inputs",{inputHandler:this.inputHandler,errors:this.errors,storeFiles:this.storeFiles})))}static get watchers(){return{isLoading:["watchHandler"]}}},X=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event"),this.errorEvent=e(this,"error-event"),this.formLoading=e(this,"formLoading"),this.errors={},this.coreInfo={},this.isLoading=!1,this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{this.coreInfo=new l(s.data),this.formController.setInitialValues(Object.assign({},this.coreInfo))},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.businessInfo}),this.formLoading.emit(!1)}})},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))}}async validateAndSubmit({onSuccess:s}){this.formController.validateAndSubmit((()=>this.sendData(s)))}get patchPayload(){return new l(this.formController.values.getValue()).payload}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(r(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){const t=this.formController.getInitialValues();return this.isLoading?s(N,null):s("form",null,s("fieldset",null,s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Business Information")),s("hr",{class:"mt-2"}),s("div",{class:"row gy-3"},s("div",{class:"col-12"},s("form-control-text",{name:"legal_name",label:"Business Name",defaultValue:t.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler,helpText:"Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)."})),s("div",{class:"col-12"},s("form-control-text",{name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:t.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler,helpText:"Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)"})),s("div",{class:"col-12 col-md-8"},s("form-control-select",{name:"classification",label:"Business Classification",options:b,defaultValue:t.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),s("div",{class:"col-12 col-md-4"},s("form-control-date",{name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:t.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),s("div",{class:"col-12 col-md-6"},s("form-control-text",{name:"industry",label:"Industry",defaultValue:t.industry,errorText:this.errors.industry,inputHandler:this.inputHandler,helpText:"Describe what you sell"})),s("div",{class:"col-12 col-md-6"},s("form-control-text",{name:"tax_id",label:"Tax ID (EIN or SSN)",defaultValue:t.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,keyDownHandler:D,maxLength:9,helpText:"Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns. Enter value without dashes."})),s("div",{class:"col-12"},s("form-control-text",{name:"website_url",label:"Business Website URL",defaultValue:t.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler,helpText:"Don't have a live website? You can use your social media business page, app store link, or staging site URL."})),s("div",{class:"col-12 col-md-6"},s("form-control-text",{name:"email",label:"Business Email Address",defaultValue:t.email,errorText:this.errors.email,inputHandler:this.inputHandler})),s("div",{class:"col-12 col-md-6"},s("form-control-number-masked",{name:"phone",label:"Business Phone Number",defaultValue:t.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:u.US})))))}},Y=class{constructor(s){t(this,s),this.clickEvent=e(this,"click-event"),this.stepCompleteEvent=e(this,"complete-form-step-event"),this.errorEvent=e(this,"error-event"),this.formLoading=e(this,"formLoading"),this.ownersPayload=[],this.refs=[],this.isLoading=!1,this.matchRef=(s,t)=>{const e=this.refs.findIndex((s=>s===t));-1!==e&&(this.refs[e]=s)},this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{s.data.owners.length?this.ownersPayload=s.data.owners.map((s=>({id:s.id}))):this.addOwnerForm()},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1,this.manageRefs()}})},this.sendData=async s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:{owners:this.ownersPayload},onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.owners}),this.formLoading.emit(!1)}})},this.addOwnerForm=s=>{this.newFormOpen=!0,this.ownersPayload=[...this.ownersPayload,{id:""}],s&&this.clickEvent.emit({name:w.addOwnerForm})},this.removeOwnerForm=s=>{this.ownersPayload=this.ownersPayload.filter((t=>t.id!==s)),this.newFormOpen&&(this.newFormOpen=!1)}}get showAddOwnerButton(){return this.ownersPayload.length<4&&!this.newFormOpen}manageRefs(){this.refs=this.ownersPayload.map((s=>s.id))}async validateAndSubmit({onSuccess:s}){const t=this.refs.map((s=>s.validate()));if(!(await Promise.all(t)).every((s=>s)))return;const e=this.refs.map((s=>s.submit()));(await Promise.all(e)).every((s=>s))&&this.sendData(s)}componentWillLoad(){this.getBusiness&&this.getData()}ownersWatcher(){this.manageRefs()}handleOwnerSubmit(s){const t=s.detail,e=this.ownersPayload.map((s=>s.id===t.id?t:s));e.includes(t)||(e[this.ownersPayload.findIndex((s=>!s.id))]=t,this.newFormOpen&&(this.newFormOpen=!1)),this.ownersPayload=e}render(){return this.isLoading?s(N,null):s("div",null,s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Owners"),s("form-control-tooltip",{helpText:"For partnerships, LLCs or privately held corporations, the business is required to apply with all individuals with 25% or more ownership to the application. For charities and registered non-profits, the business is required to apply with 1 individual with substantial control over the entity, such as a board member or director."})),s("hr",{class:"mt-2"}),s("div",{class:"row gy-3"},this.ownersPayload.map((t=>s("justifi-owner-form",{key:t.id,authToken:this.authToken,businessId:this.businessId,ownerId:t.id,removeOwner:this.removeOwnerForm,newFormOpen:this.newFormOpen,ownersLength:this.ownersPayload.length,allowOptionalFields:this.allowOptionalFields,ref:s=>this.matchRef(s,t.id)})))),s("div",{class:"d-flex justify-content-start"},s("div",{class:"gap-2"},s(V,{variant:"primary",onClick:()=>this.addOwnerForm(!0),hidden:!this.showAddOwnerButton},"Add Owner"))))}static get watchers(){return{ownersPayload:["ownersWatcher"]}}},Z=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event"),this.errorEvent=e(this,"error-event"),this.formLoading=e(this,"formLoading"),this.errors={},this.representative={},this.isLoading=!1,this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{this.representative=new h(s.data.representative||{}),this.formController.setInitialValues(Object.assign({},this.representative))},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.representative}),this.formLoading.emit(!1)}})}}async validateAndSubmit({onSuccess:s}){this.formController.validateAndSubmit((()=>this.sendData(s)))}get patchPayload(){return{representative:new h(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(A("representative",this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){return this.isLoading?s(N,null):s("justifi-business-representative-form-inputs",{representativeDefaultValue:this.formController.getInitialValues(),errors:this.errors,formController:this.formController})}},G=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event"),this.errorEvent=e(this,"error-event"),this.formLoading=e(this,"formLoading"),this.errors={},this.legal_address={},this.isLoading=!1,this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{this.legal_address=new c(s.data.legal_address||{}),this.formController.setInitialValues(Object.assign({},this.legal_address))},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.legalAddress}),this.formLoading.emit(!1)}})},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))}}async validateAndSubmit({onSuccess:s}){this.formController.validateAndSubmit((()=>this.sendData(s)))}get patchPayload(){return{legal_address:new c(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(P(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){var t,e,i,r,o,n;const a=this.formController.getInitialValues();return this.isLoading?s(N,null):s("form",null,s("fieldset",null,s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Legal Address of your Business"),s("form-control-tooltip",{helpText:"No PO Boxes."})),s("hr",{class:"mt-2"}),s("div",{class:"row gy-3"},s("div",{class:"col-12"},s("form-control-text",{name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.line1,errorText:null===(t=this.errors)||void 0===t?void 0:t.line1})),s("div",{class:"col-12"},s("form-control-text",{name:"line2",label:"Address Line 2 (optional)",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.line2,errorText:null===(e=this.errors)||void 0===e?void 0:e.line2})),s("div",{class:"col-12"},s("form-control-text",{name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.city,errorText:null===(i=this.errors)||void 0===i?void 0:i.city})),s("div",{class:"col-12"},s("form-control-select",{name:"state",label:"State",options:I,inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.state,errorText:null===(r=this.errors)||void 0===r?void 0:r.state})),s("div",{class:"col-12"},s("form-control-text",{name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.postal_code,errorText:null===(o=this.errors)||void 0===o?void 0:o.postal_code,maxLength:5,keyDownHandler:D})),s("div",{class:"col-12"},s("form-control-select",{name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.country,errorText:null===(n=this.errors)||void 0===n?void 0:n.country,disabled:!0})))))}};export{R as justifi_additional_questions_form_step_core,U as justifi_business_bank_account_form_step_core,X as justifi_business_core_info_form_step_core,Y as justifi_business_owners_form_step_core,Z as justifi_business_representative_form_step_core,G as justifi_legal_address_form_step_core}
@@ -1 +1 @@
1
- import{h as a}from"./p-D6FDxSyt.js";import{F as r,G as s,H as g,I as e,J as n,K as d,L as i,M as t,N as b}from"./p-BrLVc_85.js";var c;!function(a){a.PRIMARY="primary",a.SECONDARY="secondary",a.SUCCESS="success",a.DANGER="danger",a.WARNING="warning",a.INFO="info",a.LIGHT="light",a.DARK="dark"}(c||(c={}));const o=c=>{const{variant:o,text:p,title:f}=c,l={default:"badge",primary:"badge bg-primary",secondary:"badge bg-secondary",success:"badge bg-success",danger:"badge bg-danger",warning:"badge bg-warning",info:"badge bg-info",light:"badge bg-light",dark:"badge bg-dark"},y={default:b,primary:t,secondary:i,success:d,danger:n,warning:e,info:g,light:s,dark:r};return a("span",{class:l[o]||l.default,part:y[o]||y.default,title:f},p)};export{c as B,o as a}
1
+ import{h as a}from"./p-Bta_r52Z.js";import{y as r,z as s,A as g,B as e,C as n,D as d,E as i,F as t,G as b}from"./p-_6eQgwfE.js";var c;!function(a){a.PRIMARY="primary",a.SECONDARY="secondary",a.SUCCESS="success",a.DANGER="danger",a.WARNING="warning",a.INFO="info",a.LIGHT="light",a.DARK="dark"}(c||(c={}));const o=c=>{const{variant:o,text:p,title:f}=c,l={default:"badge",primary:"badge bg-primary",secondary:"badge bg-secondary",success:"badge bg-success",danger:"badge bg-danger",warning:"badge bg-warning",info:"badge bg-info",light:"badge bg-light",dark:"badge bg-dark"},y={default:b,primary:t,secondary:i,success:d,danger:n,warning:e,info:g,light:s,dark:r};return a("span",{class:l[o]||l.default,part:y[o]||y.default,title:f},p)};export{c as B,o as a}
@@ -1 +1 @@
1
- import{h as t}from"./p-D6FDxSyt.js";import{ai as a,am as s,an as e,ao as r,ap as l,aq as c,ar as n,as as o,at as p,aj as i}from"./p-BrLVc_85.js";import{S as b}from"./p-CQdeVKF8.js";const u=(a,s)=>t("div",Object.assign({class:"table-wrapper",part:"table-wrapper"},a),s),d=(s,e)=>t("table",Object.assign({class:"table table-hover",part:a},s),e),h=(a,s)=>t("tbody",Object.assign({class:"table-body"},a),s),m=(a,s)=>t("tr",Object.assign({part:r},a),s),j=(a,e)=>t("thead",Object.assign({class:"table-head sticky-top",part:s},a),e),g=(a,s)=>t("tr",Object.assign({class:"table-light text-nowrap",part:e},a),s),y=(a,s)=>t("tfoot",Object.assign({class:"sticky-bottom",part:l},a),s),O=(a,s)=>t("tr",Object.assign({class:"table-light align-middle",part:c},a),s),S=(a,s)=>t("td",Object.assign({part:n},a),s),x=a=>{const{columnSpan:s,isEmpty:e}=a;return s&&e?t("tr",null,t("td",{class:"empty-state",part:o,colSpan:s,style:{textAlign:"center"}},"No results")):null},f=a=>{const{columnSpan:s,errorMessage:e}=a;return s&&e?t("tr",null,t("td",{class:"error-state",part:p,colSpan:s,"data-test-id":"table-error-state",style:{textAlign:"center"}},"An unexpected error occurred: ",e)):null},D=a=>{const{columnSpan:s,isLoading:e}=a;return s&&e?t("tr",null,t("td",{class:"loading-state",part:i,colSpan:s,style:{textAlign:"center"}},t(b,null))):null};class w{get columnData(){return this.columnKeys.map((t=>this.tableColumns[t]()))}get rowData(){return this.collection.map(((t,a)=>this.columnKeys.map((s=>this.tableCells[s](t,a)))))}set collectionData(t){this.collection=t}constructor(t,a,s,e){this.columnKeys=a.split(","),this.collection=t,this.tableColumns=s,this.tableCells=e}}export{w as T,d as a,j as b,g as c,h as d,D as e,x as f,f as g,m as h,y as i,O as j,S as k,u as l}
1
+ import{h as t}from"./p-Bta_r52Z.js";import{ak as a,an as s,ao as e,ap as r,aq as l,ar as c,as as o,at as n,au as p,al as i}from"./p-_6eQgwfE.js";import{S as b}from"./p-DkWBoLsd.js";const u=(a,s)=>t("div",Object.assign({class:"table-wrapper",part:"table-wrapper"},a),s),d=(s,e)=>t("table",Object.assign({class:"table table-hover",part:a},s),e),h=(a,s)=>t("tbody",Object.assign({class:"table-body"},a),s),m=(a,s)=>t("tr",Object.assign({part:r},a),s),g=(a,e)=>t("thead",Object.assign({class:"table-head sticky-top",part:s},a),e),j=(a,s)=>t("tr",Object.assign({class:"table-light text-nowrap",part:e},a),s),y=(a,s)=>t("tfoot",Object.assign({class:"sticky-bottom",part:l},a),s),O=(a,s)=>t("tr",Object.assign({class:"table-light align-middle",part:c},a),s),S=(a,s)=>t("td",Object.assign({part:o},a),s),f=a=>{const{columnSpan:s,isEmpty:e}=a;return s&&e?t("tr",null,t("td",{class:"empty-state",part:n,colSpan:s,style:{textAlign:"center"}},"No results")):null},x=a=>{const{columnSpan:s,errorMessage:e}=a;return s&&e?t("tr",null,t("td",{class:"error-state",part:p,colSpan:s,"data-test-id":"table-error-state",style:{textAlign:"center"}},"An unexpected error occurred: ",e)):null},k=a=>{const{columnSpan:s,isLoading:e}=a;return s&&e?t("tr",null,t("td",{class:"loading-state",part:i,colSpan:s,style:{textAlign:"center"}},t(b,null))):null};class w{get columnData(){return this.columnKeys.map((t=>this.tableColumns[t]()))}get rowData(){return this.collection.map(((t,a)=>this.columnKeys.map((s=>this.tableCells[s](t,a)))))}set collectionData(t){this.collection=t}constructor(t,a,s,e){this.columnKeys=a.split(","),this.collection=t,this.tableColumns=s,this.tableCells=e}}export{w as T,d as a,g as b,j as c,h as d,k as e,f,x as g,m as h,y as i,O as j,S as k,u as l}
@@ -0,0 +1 @@
1
+ import{h as r}from"./p-Bta_r52Z.js";import{u as t}from"./p-_6eQgwfE.js";const e=e=>{const{errorText:o,name:s}=e;return o?r("small",{class:"form-text text-danger",id:`form-error-text-${s}`,part:t},o):null};export{e as F}
@@ -0,0 +1 @@
1
+ import{c as e,a as t}from"./p-Bond4qGX.js";import{p as s,s as a,c as n,l as r,a as o,v as i,x as l,g as c,h as d,y as m,i as p}from"./p-CCpqJxzB.js";const u=i=>{const l=e({line1:o.required("Enter street address"),line2:r.nullable(),city:n.required("Enter city"),state:a.required("Select state"),postal_code:s.required("Enter postal code"),country:t().required("Select country")}),c=e({line1:o.nullable(),line2:r.nullable(),city:n.nullable(),state:a.nullable(),postal_code:s.nullable(),country:t().required("Select country")});return i?c:l},E=(s,a)=>{const n=e({name:p.required(`Enter ${s} name`),title:m.required(`Enter ${s} title`),email:d.required(`Enter ${s} email`),phone:c.required("Enter phone number"),dob_full:l(s).required("Enter date of birth"),ssn_last4:t().nullable(),identification_number:i,address:u(a)}),r=e({name:p.required(`Enter ${s} name`),title:m.nullable(),email:d.nullable(),phone:c.nullable(),dob_full:l(s).nullable(),ssn_last4:t().nullable(),identification_number:i.nullable(),address:u(a)});return a?r:n};export{u as a,E as i}