@justifi/webcomponents 5.7.3-rc-01 → 5.7.3-rc-02
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.
- package/dist/cjs/{Checkout-BsYZoJ0a.js → Checkout-BTgAlgVL.js} +3 -3
- package/dist/cjs/{Refund-BDFOEJv_.js → Refund-BFE-2OxN.js} +56 -0
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +3 -4
- package/dist/cjs/{justifi-bank-account-form.cjs.entry.js → bank-account-form.cjs.entry.js} +8 -30
- package/dist/cjs/{business-additional-questions-schema-CHOaeZot.js → business-additional-questions-schema-e3GCIHk5.js} +6 -6
- package/dist/cjs/{business-identity-schema-DmpEndsx.js → business-identity-schema-Diqj_WVQ.js} +10 -10
- package/dist/cjs/{business.service-ev-3rHag.js → business.service-DNoCHqtI.js} +2 -3
- package/dist/cjs/{justifi-card-form.cjs.entry.js → card-form.cjs.entry.js} +9 -31
- package/dist/cjs/{Analytics-DYN4hp2b.js → check-pkg-version-CgQ8N_ta.js} +22 -23
- package/dist/cjs/{checkout.service-D4hTYr1i.js → checkout.service-C3R0uykH.js} +2 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -3
- package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper_2.cjs.entry.js} +0 -100
- package/dist/cjs/{dispute.service-Dru9NStj.js → dispute.service-CaA-mq-i.js} +2 -3
- package/dist/cjs/form-control-select_2.cjs.entry.js +105 -0
- package/dist/cjs/{get-payment-details-AOibpML7.js → get-payment-details-CnPsEZA8.js} +2 -3
- package/dist/cjs/{get-subaccounts-Dw7CbPDi.js → get-subaccounts-CgOAdXG4.js} +2 -3
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/{form-CWW8IM-X.js → index.esm-CVuJLXJZ.js} +10022 -10022
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +49 -23
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -10
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +34 -34
- package/dist/cjs/justifi-bank-account-form_4.cjs.entry.js +234 -0
- package/dist/cjs/{justifi-billing-information-form.cjs.entry.js → justifi-billing-information-form_2.cjs.entry.js} +58 -6
- package/dist/cjs/justifi-business-details.cjs.entry.js +7 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +13 -14
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
- package/dist/cjs/{justifi-modular-checkout.cjs.entry.js → justifi-checkout-summary_2.cjs.entry.js} +23 -11
- package/dist/cjs/justifi-checkout.cjs.entry.js +92 -48
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -9
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -8
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -7
- package/dist/cjs/justifi-new-payment-method.cjs.entry.js +99 -0
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -9
- package/dist/cjs/justifi-payment-method-options_3.cjs.entry.js +166 -0
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -9
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +15 -16
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +32 -0
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -8
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -9
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +6 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-DF9mLjoQ.js → package-wSbEFwqE.js} +1 -1
- package/dist/cjs/{payment.service-rsnscZu7.js → payment.service-C-HKmIG6.js} +2 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -3
- package/dist/cjs/{payout.service-BnmI3X4n.js → payout.service-BHU3EPR2.js} +2 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +2 -3
- package/dist/cjs/{schema-validations-C0BNwMBi.js → schema-validations-BSeMee-o.js} +31 -54
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -4
- package/dist/cjs/{terminal-orders-table-OxMHSAJ1.js → terminal-orders-table-C3KZTeE5.js} +2 -3
- package/dist/cjs/{terminal.service--PPaq5xS.js → terminal.service-Bc1YJWi0.js} +2 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +2 -3
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +36 -8
- package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -47
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +2 -5
- package/dist/collection/components/checkout/checkout.js +102 -37
- package/dist/collection/components/checkout/new-payment-method.js +2 -2
- package/dist/collection/components/checkout/payment-method-options.js +37 -26
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -2
- package/dist/collection/components/modular-checkout/modular-checkout.js +2 -2
- package/dist/docs.json +177 -203
- package/dist/esm/{Checkout-CV6qgU0r.js → Checkout-CH19cJxH.js} +3 -3
- package/dist/esm/{Refund-CwUn_GFj.js → Refund-BKe90wSq.js} +55 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-D_Q0kAPD.js → badge-BoemLewg.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +5 -6
- package/dist/{module/bank-account-form2.js → esm/bank-account-form.entry.js} +12 -36
- package/dist/esm/{business-additional-questions-schema-0lssJqN7.js → business-additional-questions-schema-uQlQ8fXQ.js} +2 -2
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-identity-schema-Bel1K5mu.js → business-identity-schema-BsrgqgDl.js} +2 -2
- package/dist/esm/{business.service-BM8hLxHS.js → business.service-wY8gOZQr.js} +2 -3
- package/dist/esm/{button-BVAxQPpP.js → button-BcLzheaP.js} +1 -1
- package/dist/esm/{justifi-card-form.entry.js → card-form.entry.js} +12 -34
- package/dist/esm/{Analytics-DR277kvb.js → check-pkg-version-BmebRZ4u.js} +22 -23
- package/dist/esm/{checkout.service-CuCgG9hv.js → checkout.service-Ci9Zkxiz.js} +2 -3
- package/dist/esm/checkouts-list-core.entry.js +7 -8
- package/dist/esm/{checkouts-table-Cc6U-0md.js → checkouts-table-ub2cX2KR.js} +2 -2
- package/dist/esm/{custom-popper_4.entry.js → custom-popper_2.entry.js} +3 -101
- package/dist/esm/{dispute.service-rB4Hq6ot.js → dispute.service-D3IjL7Z8.js} +2 -3
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +3 -3
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/{form-control-error-text-_SAT-ts2.js → form-control-error-text-C4vfc3el.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +2 -2
- package/dist/esm/{form-control-help-text-Cjeu_VrV.js → form-control-help-text-Dsr1zpTw.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +3 -3
- package/dist/esm/form-control-number-masked_2.entry.js +2 -2
- package/dist/esm/form-control-number.entry.js +3 -3
- package/dist/esm/form-control-radio.entry.js +1 -1
- package/dist/esm/form-control-select_2.entry.js +102 -0
- package/dist/esm/{get-payment-details-DtkGDTwo.js → get-payment-details-CmVKt1jR.js} +2 -3
- package/dist/esm/{get-subaccounts-C-ENQBmY.js → get-subaccounts-BRX7HFGO.js} +2 -3
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{header-1-5FIT-wD7.js → header-1-CmImLcLi.js} +1 -1
- package/dist/esm/{header-3-Ce9WLWBm.js → header-3-BMoxz2Hr.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +3 -3
- package/dist/esm/{form-BjGUIqxU.js → index.esm-BCNUj0Dx.js} +10022 -10022
- package/dist/esm/{insurance-state-BcwZy_5w.js → insurance-state-DMexHdvO.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +43 -17
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +6 -7
- package/dist/esm/justifi-additional-statement_8.entry.js +2 -2
- package/dist/esm/justifi-bank-account-form_4.entry.js +229 -0
- package/dist/esm/justifi-billing-information-form_2.entry.js +100 -0
- package/dist/esm/justifi-business-details.entry.js +7 -8
- package/dist/esm/justifi-business-form.entry.js +13 -14
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +7 -7
- package/dist/esm/{justifi-modular-checkout.entry.js → justifi-checkout-summary_2.entry.js} +22 -11
- package/dist/esm/justifi-checkout.entry.js +91 -47
- package/dist/esm/justifi-checkouts-list-filters.entry.js +3 -4
- package/dist/esm/justifi-checkouts-list.entry.js +10 -11
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +5 -6
- package/dist/esm/justifi-dispute-notification_3.entry.js +8 -9
- package/dist/esm/justifi-gross-payment-chart.entry.js +6 -7
- package/dist/esm/justifi-new-payment-method.entry.js +97 -0
- package/dist/esm/justifi-order-terminals.entry.js +8 -9
- package/dist/esm/justifi-owner-form_3.entry.js +8 -9
- package/dist/esm/justifi-payment-details.entry.js +8 -9
- package/dist/esm/justifi-payment-method-options_3.entry.js +162 -0
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -6
- package/dist/esm/justifi-payment-transactions-list.entry.js +8 -9
- package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payments-list.entry.js +9 -10
- package/dist/esm/justifi-payout-details.entry.js +7 -8
- package/dist/esm/justifi-payout-transactions-list.entry.js +8 -9
- package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payouts-list.entry.js +10 -11
- package/dist/esm/justifi-refund-payment.entry.js +10 -11
- package/dist/esm/justifi-saved-payment-method.entry.js +30 -0
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +5 -5
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -6
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -4
- package/dist/esm/justifi-terminal-orders-list.entry.js +7 -8
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -4
- package/dist/esm/justifi-terminals-list.entry.js +9 -10
- package/dist/esm/justifi-tokenize-payment-method.entry.js +6 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-CyXXks-Q.js → package-CJdXAC5R.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-_6eQgwfE.js → parts-C71Mxtso.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +5 -5
- package/dist/esm/{payment.service-DoUv1QsX.js → payment.service-ddFQWXPn.js} +2 -3
- package/dist/esm/payments-list-core.entry.js +8 -9
- package/dist/esm/{payments-status-BeL2gi3P.js → payments-status-DvsFQolO.js} +1 -1
- package/dist/esm/{payments-table-MrDAlH2o.js → payments-table-CCKeaI5x.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +6 -6
- package/dist/esm/{payout.service-B_Fm08zQ.js → payout.service-Ws4Pebcz.js} +2 -3
- package/dist/esm/payouts-list-core.entry.js +8 -9
- package/dist/esm/{payouts-status-BxbhUjA3.js → payouts-status-BkM4Gvme.js} +1 -1
- package/dist/esm/{payouts-table-HoX3UYIj.js → payouts-table-CqBOvPOo.js} +2 -2
- package/dist/esm/{schema-validations-DYV7urvw.js → schema-validations-DLWfpHyI.js} +2 -23
- package/dist/esm/{skeleton-CPNYhX-V.js → skeleton-BVM4XTj9.js} +1 -1
- package/dist/esm/{spinner-Cl-6YJPf.js → spinner-BsxFRVXW.js} +1 -1
- package/dist/esm/{table-RCk8zh4L.js → table-DxdC1lXb.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +7 -8
- package/dist/esm/{terminal-orders-table-DxHLNkx_.js → terminal-orders-table-DV7nRYuE.js} +4 -5
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-2VkdfNas.js → terminal.service-DH8gRG1H.js} +2 -3
- package/dist/esm/terminals-list-core.entry.js +7 -8
- package/dist/esm/{terminals-table-v-LOevYA.js → terminals-table-DUHel128.js} +2 -2
- package/dist/esm/{utils-1WrbuHVR.js → utils-B-aPFy3u.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +0 -1
- package/dist/module/Refund.js +55 -1
- package/dist/module/bank-account-document-inputs.js +1 -2
- package/dist/module/bank-account-form.js +83 -1
- package/dist/{esm/justifi-bank-account-form.entry.js → module/bank-account.js} +44 -27
- package/dist/module/billing-form.js +25 -19
- package/dist/{esm/justifi-billing-information-form.entry.js → module/billing-form2.js} +61 -19
- package/dist/module/business-bank-account-form-step-core.js +37 -11
- package/dist/module/business-bank-account-form-step.js +0 -1
- package/dist/module/business-terms-conditions-form-step.js +1 -2
- package/dist/module/business.service.js +0 -1
- package/dist/module/button.js +1 -1
- package/dist/module/card-form.js +91 -1
- package/dist/module/card-form2.js +30 -15
- package/dist/module/checkout.service.js +0 -1
- package/dist/module/checkouts-list-core2.js +0 -1
- package/dist/module/dispute-response-actions.js +0 -1
- package/dist/module/form.js +1 -1
- package/dist/module/get-payment-details.js +0 -1
- package/dist/module/get-subaccounts.js +0 -1
- package/dist/module/header-3.js +8 -0
- package/dist/module/justifi-bank-account-form.js +1 -98
- package/dist/module/justifi-billing-information-form.js +1 -89
- package/dist/module/justifi-business-form.js +0 -1
- package/dist/module/justifi-card-form.js +1 -106
- package/dist/module/justifi-checkout-core.js +201 -1
- package/dist/module/justifi-checkout-summary.js +1 -32
- package/dist/module/justifi-checkout.js +104 -109
- package/dist/module/justifi-checkouts-list-filters.js +0 -1
- package/dist/module/justifi-checkouts-list.js +0 -1
- package/dist/module/justifi-gross-payment-chart.js +0 -1
- package/dist/module/justifi-modular-checkout.js +1 -214
- package/dist/module/justifi-new-payment-method.js +214 -1
- package/dist/module/justifi-order-terminals.js +2 -3
- package/dist/module/justifi-payment-provisioning.js +0 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -2
- package/dist/module/justifi-payments-list.js +0 -1
- package/dist/module/justifi-payout-details.js +0 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -2
- package/dist/module/justifi-payouts-list.js +0 -1
- package/dist/module/justifi-postal-code-form.js +1 -81
- package/dist/module/justifi-refund-payment.js +1 -2
- package/dist/module/justifi-saved-payment-method.js +57 -1
- package/dist/module/justifi-saved-payment-methods.js +1 -53
- package/dist/module/justifi-season-interruption-insurance.js +2 -4
- package/dist/module/justifi-sezzle-payment-method.js +1 -108
- package/dist/module/justifi-terminal-orders-list-filters.js +0 -1
- package/dist/module/justifi-terminal-orders-list.js +1 -2
- package/dist/module/justifi-terminals-list-filters.js +0 -1
- package/dist/module/justifi-terminals-list.js +1 -2
- package/dist/module/justifi-tokenize-payment-method.js +8 -75
- package/dist/module/modular-checkout.js +269 -0
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-method-options.js +27 -100
- package/dist/module/payment.service.js +0 -1
- package/dist/module/payments-list-core2.js +0 -1
- package/dist/module/payout.service.js +0 -1
- package/dist/module/payouts-list-core2.js +0 -1
- package/dist/module/postal-code-form.js +83 -0
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-methods.js +55 -0
- package/dist/module/schema-validations.js +2 -23
- package/dist/module/season-interruption-insurance-core.js +2 -2
- package/dist/{esm/justifi-sezzle-payment-method.entry.js → module/sezzle-payment-method.js} +46 -14
- package/dist/module/summary.js +34 -0
- package/dist/module/terminal-orders-list-core2.js +0 -1
- package/dist/module/terminal.service.js +0 -1
- package/dist/module/terminals-list-core2.js +0 -1
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -7
- package/dist/types/components/checkout/checkout.d.ts +19 -9
- package/dist/types/components/checkout/payment-method-options.d.ts +2 -1
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +1 -1
- package/dist/types/components.d.ts +5 -1
- package/dist/webcomponents/p-07e8c50a.entry.js +1 -0
- package/dist/webcomponents/{p-be51c7c5.entry.js → p-0d038c74.entry.js} +1 -1
- package/dist/webcomponents/p-0d24f707.entry.js +1 -0
- package/dist/webcomponents/p-0f07e5d2.entry.js +1 -0
- package/dist/webcomponents/{p-ff223825.entry.js → p-114d2d7e.entry.js} +1 -1
- package/dist/webcomponents/p-16c567ac.entry.js +1 -0
- package/dist/webcomponents/{p-20d7db42.entry.js → p-1debe4fc.entry.js} +1 -1
- package/dist/webcomponents/p-1tXUo5Ef.js +1 -0
- package/dist/webcomponents/{p-ce291c6a.entry.js → p-20ac139f.entry.js} +1 -1
- package/dist/webcomponents/{p-b3e6d27c.entry.js → p-28190487.entry.js} +1 -1
- package/dist/webcomponents/p-30b1b0d4.entry.js +1 -0
- package/dist/webcomponents/{p-1d64d86b.entry.js → p-31b3575b.entry.js} +1 -1
- package/dist/webcomponents/p-32d41de6.entry.js +1 -0
- package/dist/webcomponents/p-3523e4d2.entry.js +1 -0
- package/dist/webcomponents/p-3c172b0a.entry.js +1 -0
- package/dist/webcomponents/{p-5ea3cfca.entry.js → p-498ef7fe.entry.js} +1 -1
- package/dist/webcomponents/p-4cdc323c.entry.js +1 -0
- package/dist/webcomponents/p-54487455.entry.js +1 -0
- package/dist/webcomponents/p-55b2ccd4.entry.js +1 -0
- package/dist/webcomponents/p-56368e10.entry.js +1 -0
- package/dist/webcomponents/{p-712220f9.entry.js → p-62308de3.entry.js} +1 -1
- package/dist/webcomponents/p-655e9c99.entry.js +1 -0
- package/dist/webcomponents/p-6ae0dad9.entry.js +1 -0
- package/dist/webcomponents/p-6ed72565.entry.js +1 -0
- package/dist/webcomponents/{p-8532c68c.entry.js → p-7982b38b.entry.js} +1 -1
- package/dist/webcomponents/p-7efbe6e6.entry.js +1 -0
- package/dist/webcomponents/p-803b249d.entry.js +1 -0
- package/dist/webcomponents/p-819c5da9.entry.js +1 -0
- package/dist/webcomponents/p-85b73bd5.entry.js +1 -0
- package/dist/webcomponents/p-8a2d963a.entry.js +1 -0
- package/dist/webcomponents/p-90521984.entry.js +1 -0
- package/dist/webcomponents/p-93564eb7.entry.js +1 -0
- package/dist/webcomponents/p-95aada97.entry.js +1 -0
- package/dist/webcomponents/{p-df2ad580.entry.js → p-9a4b9734.entry.js} +1 -1
- package/dist/webcomponents/{p-BSUCBhkJ.js → p-B1jCcGW-.js} +1 -1
- package/dist/webcomponents/{p-CwHYDF33.js → p-BRvTM0jE.js} +1 -1
- package/dist/webcomponents/p-BZAglFez.js +1 -0
- package/dist/webcomponents/p-BdTK0wi9.js +1 -0
- package/dist/webcomponents/p-BeOlrj_S.js +1 -0
- package/dist/webcomponents/p-BjIcn6FF.js +1 -0
- package/dist/webcomponents/{p-B7VsiIW-.js → p-BvkP2v3x.js} +1 -1
- package/dist/webcomponents/{p-_6eQgwfE.js → p-C71Mxtso.js} +1 -1
- package/dist/webcomponents/{p-Ctw40vkk.js → p-C8EG4ZSX.js} +1 -1
- package/dist/webcomponents/p-C8rAwXW9.js +1 -0
- package/dist/webcomponents/p-CA9D3qnA.js +1 -0
- package/dist/webcomponents/p-CFpYbRwn.js +1 -0
- package/dist/webcomponents/p-CGCMYhyV.js +1 -0
- package/dist/webcomponents/p-CJdXAC5R.js +1 -0
- package/dist/webcomponents/p-CO90ONTY.js +1 -0
- package/dist/webcomponents/{p-Dw6NWKHn.js → p-Cl-Q3cHB.js} +1 -1
- package/dist/webcomponents/p-DFPGAF4g.js +1 -0
- package/dist/webcomponents/p-DHP6oxsO.js +1 -0
- package/dist/webcomponents/{p-D3SYNGyb.js → p-DLr6u3Be.js} +1 -1
- package/dist/webcomponents/p-DT6jDcoi.js +1 -0
- package/dist/webcomponents/p-DVnVdicA.js +1 -0
- package/dist/webcomponents/p-DX1Drndq.js +1 -0
- package/dist/webcomponents/p-Db-JSm6-.js +1 -0
- package/dist/webcomponents/p-Dc10zfEZ.js +1 -0
- package/dist/webcomponents/p-Dw516k9e.js +1 -0
- package/dist/webcomponents/p-DwxSNAz7.js +1 -0
- package/dist/webcomponents/{p-CnnRWu7z.js → p-Fa3dQnb9.js} +1 -1
- package/dist/webcomponents/p-IrS5pxMU.js +1 -0
- package/dist/webcomponents/p-JOSiCHl7.js +1 -0
- package/dist/webcomponents/p-RadC5UjV.js +1 -0
- package/dist/webcomponents/p-SuXHDcwL.js +1 -0
- package/dist/webcomponents/p-_P2I6GdZ.js +1 -0
- package/dist/webcomponents/p-a3245777.entry.js +1 -0
- package/dist/webcomponents/{p-f7e24a51.entry.js → p-a8f1165e.entry.js} +1 -1
- package/dist/webcomponents/p-abcde13f.entry.js +1 -0
- package/dist/webcomponents/{p-e563df65.entry.js → p-b0c7f45a.entry.js} +1 -1
- package/dist/webcomponents/p-b122d960.entry.js +1 -0
- package/dist/webcomponents/{p-f71b1ff0.entry.js → p-badf50e2.entry.js} +1 -1
- package/dist/webcomponents/p-be676a47.entry.js +1 -0
- package/dist/webcomponents/p-bf9afbe6.entry.js +1 -0
- package/dist/webcomponents/p-c1dabcc9.entry.js +20 -0
- package/dist/webcomponents/p-c4989fc1.entry.js +1 -0
- package/dist/webcomponents/p-c6f6cca0.entry.js +1 -0
- package/dist/webcomponents/{p-d82b509a.entry.js → p-cbfb26e2.entry.js} +1 -1
- package/dist/webcomponents/p-cc26a8fa.entry.js +1 -0
- package/dist/webcomponents/p-cc5dfa3d.entry.js +1 -0
- package/dist/webcomponents/{p-ef9dcfe1.entry.js → p-cc7d0b8c.entry.js} +1 -1
- package/dist/webcomponents/p-d039c1ea.entry.js +1 -0
- package/dist/webcomponents/p-d5f95784.entry.js +1 -0
- package/dist/webcomponents/p-d6tXI5Iw.js +1 -0
- package/dist/webcomponents/p-dad85acd.entry.js +1 -0
- package/dist/webcomponents/{p-3edd5ebd.entry.js → p-db13afe8.entry.js} +1 -1
- package/dist/webcomponents/{p-9a17fd5a.entry.js → p-dd5c8738.entry.js} +1 -1
- package/dist/webcomponents/{p-6b229318.entry.js → p-e2ac6f48.entry.js} +1 -1
- package/dist/webcomponents/{p-1ac365b4.entry.js → p-e2adbafd.entry.js} +1 -1
- package/dist/webcomponents/p-ea883d7c.entry.js +1 -0
- package/dist/webcomponents/{p-15c63931.entry.js → p-ed8eb110.entry.js} +1 -1
- package/dist/webcomponents/{p-e8294f7e.entry.js → p-f0a849be.entry.js} +1 -1
- package/dist/webcomponents/p-f165c5fc.entry.js +1 -0
- package/dist/webcomponents/p-f1dcc9c2.entry.js +1 -0
- package/dist/webcomponents/p-f21e1351.entry.js +1 -0
- package/dist/webcomponents/p-f2d283e5.entry.js +1 -0
- package/dist/webcomponents/p-f55f054a.entry.js +1 -0
- package/dist/webcomponents/p-f7ae2df8.entry.js +1 -0
- package/dist/webcomponents/p-f7ef66ba.entry.js +1 -0
- package/dist/webcomponents/p-f8750427.entry.js +1 -0
- package/dist/webcomponents/p-fa781ff0.entry.js +1 -0
- package/dist/webcomponents/p-fe5b7b4c.entry.js +1 -0
- package/dist/webcomponents/{p-CqVelcDt.js → p-kfHhaHAJ.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Document-rXGBUaOh.js +0 -58
- package/dist/cjs/bank-account-form_7.cjs.entry.js +0 -411
- package/dist/cjs/billing-form-schema-oZ4GROWP.js +0 -26
- package/dist/cjs/justifi-checkout-summary.cjs.entry.js +0 -21
- package/dist/cjs/justifi-postal-code-form.cjs.entry.js +0 -50
- package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +0 -31
- package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +0 -80
- package/dist/esm/Document-Ct-uNz2r.js +0 -55
- package/dist/esm/bank-account-form_7.entry.js +0 -403
- package/dist/esm/billing-form-schema-PFvYpvy4.js +0 -24
- package/dist/esm/justifi-checkout-summary.entry.js +0 -19
- package/dist/esm/justifi-postal-code-form.entry.js +0 -48
- package/dist/esm/justifi-saved-payment-methods.entry.js +0 -29
- package/dist/module/Document.js +0 -55
- package/dist/module/checkout-actions.js +0 -58
- package/dist/module/checkout-core.js +0 -268
- package/dist/module/new-payment-method.js +0 -204
- package/dist/module/saved-payment-method.js +0 -59
- package/dist/webcomponents/p-00900e52.entry.js +0 -1
- package/dist/webcomponents/p-025ae692.entry.js +0 -1
- package/dist/webcomponents/p-02e26641.entry.js +0 -1
- package/dist/webcomponents/p-04c91ec1.entry.js +0 -1
- package/dist/webcomponents/p-0d5e93b3.entry.js +0 -1
- package/dist/webcomponents/p-19b5f93a.entry.js +0 -1
- package/dist/webcomponents/p-25b310f0.entry.js +0 -1
- package/dist/webcomponents/p-271b131d.entry.js +0 -1
- package/dist/webcomponents/p-2882b4e9.entry.js +0 -1
- package/dist/webcomponents/p-2a08ba01.entry.js +0 -1
- package/dist/webcomponents/p-2f027626.entry.js +0 -1
- package/dist/webcomponents/p-2fa36c0e.entry.js +0 -1
- package/dist/webcomponents/p-379584fb.entry.js +0 -1
- package/dist/webcomponents/p-39f31e23.entry.js +0 -1
- package/dist/webcomponents/p-3b6888c5.entry.js +0 -1
- package/dist/webcomponents/p-3d62f9a5.entry.js +0 -1
- package/dist/webcomponents/p-4232760b.entry.js +0 -1
- package/dist/webcomponents/p-4be4f7b4.entry.js +0 -1
- package/dist/webcomponents/p-531738ae.entry.js +0 -1
- package/dist/webcomponents/p-54019e68.entry.js +0 -1
- package/dist/webcomponents/p-584ba20d.entry.js +0 -1
- package/dist/webcomponents/p-5bc6f1e6.entry.js +0 -20
- package/dist/webcomponents/p-5bfbb0f8.entry.js +0 -1
- package/dist/webcomponents/p-5da3ba38.entry.js +0 -1
- package/dist/webcomponents/p-5f9dbaff.entry.js +0 -1
- package/dist/webcomponents/p-6fc1ace5.entry.js +0 -1
- package/dist/webcomponents/p-716d41f2.entry.js +0 -1
- package/dist/webcomponents/p-7253f1ea.entry.js +0 -1
- package/dist/webcomponents/p-80b662de.entry.js +0 -1
- package/dist/webcomponents/p-82164a5e.entry.js +0 -1
- package/dist/webcomponents/p-8590c5df.entry.js +0 -1
- package/dist/webcomponents/p-8e555a6e.entry.js +0 -1
- package/dist/webcomponents/p-96f89c69.entry.js +0 -1
- package/dist/webcomponents/p-98a39544.entry.js +0 -1
- package/dist/webcomponents/p-9a9f9c57.entry.js +0 -1
- package/dist/webcomponents/p-B4MIwTdb.js +0 -1
- package/dist/webcomponents/p-B8Ovjy6S.js +0 -1
- package/dist/webcomponents/p-BE5Nvydk.js +0 -1
- package/dist/webcomponents/p-BGHVK-vQ.js +0 -1
- package/dist/webcomponents/p-BPCw4WEY.js +0 -1
- package/dist/webcomponents/p-BhLPwu1L.js +0 -1
- package/dist/webcomponents/p-Bond4qGX.js +0 -1
- package/dist/webcomponents/p-BpEw7AJl.js +0 -1
- package/dist/webcomponents/p-C-WgCIei.js +0 -1
- package/dist/webcomponents/p-CCpqJxzB.js +0 -1
- package/dist/webcomponents/p-CLpgfEbx.js +0 -1
- package/dist/webcomponents/p-CRYPNa2o.js +0 -1
- package/dist/webcomponents/p-CeNlJX4-.js +0 -1
- package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
- package/dist/webcomponents/p-CvChBLtI.js +0 -1
- package/dist/webcomponents/p-CyXXks-Q.js +0 -1
- package/dist/webcomponents/p-Czro_9VO.js +0 -1
- package/dist/webcomponents/p-D7js9xfx.js +0 -1
- package/dist/webcomponents/p-DOB09NZD.js +0 -1
- package/dist/webcomponents/p-DUdzWNqB.js +0 -1
- package/dist/webcomponents/p-DaS3t0DL.js +0 -1
- package/dist/webcomponents/p-Dge4w7_c.js +0 -1
- package/dist/webcomponents/p-DkWBoLsd.js +0 -1
- package/dist/webcomponents/p-DknV-QPT.js +0 -1
- package/dist/webcomponents/p-DuiQuWNq.js +0 -1
- package/dist/webcomponents/p-DzPrenCi.js +0 -1
- package/dist/webcomponents/p-YDuIVoos.js +0 -1
- package/dist/webcomponents/p-a2db11b5.entry.js +0 -1
- package/dist/webcomponents/p-a31913e3.entry.js +0 -1
- package/dist/webcomponents/p-a4d457e9.entry.js +0 -1
- package/dist/webcomponents/p-b8ee41c1.entry.js +0 -1
- package/dist/webcomponents/p-bde749ac.entry.js +0 -1
- package/dist/webcomponents/p-bf16b11c.entry.js +0 -1
- package/dist/webcomponents/p-d9b06582.entry.js +0 -1
- package/dist/webcomponents/p-dbc02ba8.entry.js +0 -1
- package/dist/webcomponents/p-dcad0df5.entry.js +0 -1
- package/dist/webcomponents/p-e03630ec.entry.js +0 -1
- package/dist/webcomponents/p-e07sVz4Z.js +0 -1
- package/dist/webcomponents/p-ec9bb3f6.entry.js +0 -1
- package/dist/webcomponents/p-ecf6a315.entry.js +0 -1
|
@@ -4,11 +4,10 @@ var index = require('./index-2GwnTbNA.js');
|
|
|
4
4
|
require('./config-state-BTfJl-LU.js');
|
|
5
5
|
require('./utils-qOon0GWm.js');
|
|
6
6
|
var ComponentError = require('./ComponentError-CEv9ltwy.js');
|
|
7
|
-
require('./Checkout-
|
|
7
|
+
require('./Checkout-BTgAlgVL.js');
|
|
8
8
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
9
9
|
require('./Payment-D5UynU2f.js');
|
|
10
|
-
require('./Refund-
|
|
11
|
-
require('./Document-rXGBUaOh.js');
|
|
10
|
+
require('./Refund-BFE-2OxN.js');
|
|
12
11
|
require('./Business-DCRzZf0w.js');
|
|
13
12
|
require('./Dispute-CruQTF6_.js');
|
|
14
13
|
var table = require('./table-BgQP2M2-.js');
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var index_esm = require('./index.esm-CVuJLXJZ.js');
|
|
4
4
|
var stateOptions = require('./state-options-CIT9xdTz.js');
|
|
5
5
|
var businessFormOptions = require('./business-form-options-CMII7nIK.js');
|
|
6
|
-
var Document = require('./Document-rXGBUaOh.js');
|
|
7
6
|
|
|
8
7
|
const transformEmptyString = (value) => {
|
|
9
8
|
return value === '' ? null : value;
|
|
@@ -28,32 +27,32 @@ const ssnRegex = /^(?!000|666|9\d{2})\d{3}(?!00)\d{2}(?!0000)\d{4}$/;
|
|
|
28
27
|
const poBoxRegex = /P\.?\s?O\.?\s?Box|Postal\sBox/i;
|
|
29
28
|
|
|
30
29
|
// Common Validations
|
|
31
|
-
const emailValidation =
|
|
30
|
+
const emailValidation = index_esm.create$6()
|
|
32
31
|
.email('Enter valid email')
|
|
33
32
|
.transform(transformEmptyString);
|
|
34
|
-
const phoneValidation =
|
|
33
|
+
const phoneValidation = index_esm.create$6()
|
|
35
34
|
.matches(phoneRegex, 'Enter valid phone number')
|
|
36
35
|
.transform(transformEmptyString);
|
|
37
36
|
// Core Info Validations
|
|
38
|
-
const businessNameValidation =
|
|
37
|
+
const businessNameValidation = index_esm.create$6()
|
|
39
38
|
.min(2, 'Name must be at least 2 characters')
|
|
40
39
|
.max(100, 'Name must be less than 100 characters')
|
|
41
40
|
.transform(transformEmptyString);
|
|
42
|
-
const doingBusinessAsValidation =
|
|
41
|
+
const doingBusinessAsValidation = index_esm.create$6()
|
|
43
42
|
.min(2, 'Name must be at least 2 characters')
|
|
44
43
|
.max(100, 'Name must be less than 100 characters')
|
|
45
44
|
.transform(transformEmptyString);
|
|
46
|
-
const websiteUrlValidation =
|
|
45
|
+
const websiteUrlValidation = index_esm.create$6()
|
|
47
46
|
.matches(urlRegex, 'Enter valid website url')
|
|
48
47
|
.transform(transformEmptyString);
|
|
49
|
-
const businessClassificationValidation =
|
|
48
|
+
const businessClassificationValidation = index_esm.create$6()
|
|
50
49
|
.oneOf(businessFormOptions.businessClassificationOptions.map((option) => option.value), 'Select business classification')
|
|
51
50
|
.transform(transformEmptyString);
|
|
52
|
-
const industryValidation =
|
|
51
|
+
const industryValidation = index_esm.create$6()
|
|
53
52
|
.min(2, 'Industry must be at least 2 characters')
|
|
54
53
|
.max(50, 'Industry must be less than 50 characters')
|
|
55
54
|
.transform(transformEmptyString);
|
|
56
|
-
const taxIdValidation =
|
|
55
|
+
const taxIdValidation = index_esm.create$6()
|
|
57
56
|
.matches(numbersOnlyRegex, 'Enter valid tax id, SSN, or EIN')
|
|
58
57
|
.test('not-repeat', 'Enter valid tax id, SSN, or EIN', (value) => {
|
|
59
58
|
return !/^(\d)\1+$/.test(value);
|
|
@@ -62,7 +61,7 @@ const taxIdValidation = form.create$6()
|
|
|
62
61
|
return value !== '123456789';
|
|
63
62
|
})
|
|
64
63
|
.transform(transformEmptyString);
|
|
65
|
-
const dateOfIncorporationValidation =
|
|
64
|
+
const dateOfIncorporationValidation = index_esm.create$6()
|
|
66
65
|
.test('not-future', 'Date of incorporation cannot be in the future', (value) => {
|
|
67
66
|
const inputDate = new Date(value);
|
|
68
67
|
const today = new Date();
|
|
@@ -70,16 +69,16 @@ const dateOfIncorporationValidation = form.create$6()
|
|
|
70
69
|
})
|
|
71
70
|
.transform(transformEmptyString);
|
|
72
71
|
// Identity Validations
|
|
73
|
-
const identityNameValidation =
|
|
72
|
+
const identityNameValidation = index_esm.create$6()
|
|
74
73
|
.min(2, 'Name must be at least 2 characters')
|
|
75
74
|
.max(100, 'Name must be less than 100 characters')
|
|
76
75
|
.transform(transformEmptyString);
|
|
77
|
-
const identityTitleValidation =
|
|
76
|
+
const identityTitleValidation = index_esm.create$6()
|
|
78
77
|
.min(2, 'Title must be at least 2 characters')
|
|
79
78
|
.max(50, 'Title must be less than 50 characters')
|
|
80
79
|
.transform(transformEmptyString);
|
|
81
80
|
const dobValidation = (role) => {
|
|
82
|
-
return
|
|
81
|
+
return index_esm.create$6()
|
|
83
82
|
.test('min', 'Enter a valid date', (value) => {
|
|
84
83
|
const date = new Date(value);
|
|
85
84
|
const minDate = new Date('1902-01-01');
|
|
@@ -93,7 +92,7 @@ const dobValidation = (role) => {
|
|
|
93
92
|
})
|
|
94
93
|
.transform(transformEmptyString);
|
|
95
94
|
};
|
|
96
|
-
const ssnValidation =
|
|
95
|
+
const ssnValidation = index_esm.create$6()
|
|
97
96
|
.matches(ssnRegex, 'Enter valid SSN')
|
|
98
97
|
.when('ssn_last4', {
|
|
99
98
|
is: (val) => !val || val.length === 0,
|
|
@@ -108,66 +107,66 @@ const ssnValidation = form.create$6()
|
|
|
108
107
|
})
|
|
109
108
|
.transform(transformEmptyString);
|
|
110
109
|
// Address Validations
|
|
111
|
-
const lineOneValidation =
|
|
110
|
+
const lineOneValidation = index_esm.create$6()
|
|
112
111
|
.min(5, 'Address must be at least 5 characters')
|
|
113
112
|
.max(100, 'Address must be less than 100 characters')
|
|
114
113
|
.test('not-po-box', 'A PO Box is not a valid address entry', (value) => {
|
|
115
114
|
return !poBoxRegex.test(value);
|
|
116
115
|
})
|
|
117
116
|
.transform(transformEmptyString);
|
|
118
|
-
const lineTwoValidation =
|
|
117
|
+
const lineTwoValidation = index_esm.create$6()
|
|
119
118
|
.max(100, 'Address must be less than 100 characters')
|
|
120
119
|
.test('not-po-box', 'A PO Box is not a valid address entry', (value) => {
|
|
121
120
|
return !poBoxRegex.test(value);
|
|
122
121
|
})
|
|
123
122
|
.transform(transformEmptyString);
|
|
124
|
-
const cityValidation =
|
|
123
|
+
const cityValidation = index_esm.create$6()
|
|
125
124
|
.min(2, 'City must be at least 2 characters')
|
|
126
125
|
.max(50, 'City must be less than 50 characters')
|
|
127
126
|
.transform(transformEmptyString);
|
|
128
|
-
const stateValidation =
|
|
127
|
+
const stateValidation = index_esm.create$6()
|
|
129
128
|
.oneOf(stateOptions.StateOptions.map((option) => option.value), 'Enter a 2-letter state abbreviation, such as CA')
|
|
130
129
|
.transform(transformEmptyString);
|
|
131
|
-
const postalValidation =
|
|
130
|
+
const postalValidation = index_esm.create$6()
|
|
132
131
|
.matches(/^[0-9]{5}$/, 'Enter valid postal code')
|
|
133
132
|
.transform(transformEmptyString);
|
|
134
133
|
// Additional Questions Validations
|
|
135
|
-
const revenueValidation =
|
|
134
|
+
const revenueValidation = index_esm.create$6()
|
|
136
135
|
.matches(numbersOnlyRegex, 'Enter valid revenue')
|
|
137
136
|
.transform(transformEmptyString);
|
|
138
|
-
const paymentVolumeValidation =
|
|
137
|
+
const paymentVolumeValidation = index_esm.create$6()
|
|
139
138
|
.matches(numbersOnlyRegex, 'Enter valid payment volume')
|
|
140
139
|
.transform(transformEmptyString);
|
|
141
|
-
const whenServiceReceivedValidation =
|
|
140
|
+
const whenServiceReceivedValidation = index_esm.create$6()
|
|
142
141
|
.oneOf(businessFormOptions.businessServiceReceivedOptions.map((option) => option.value), 'Select when service is received')
|
|
143
142
|
.transform(transformEmptyString);
|
|
144
|
-
const recurringPaymentsValidation =
|
|
143
|
+
const recurringPaymentsValidation = index_esm.create$6()
|
|
145
144
|
.oneOf(businessFormOptions.recurringPaymentsOptions.map((option) => option.value), 'Select recurring payments')
|
|
146
145
|
.transform(transformEmptyString);
|
|
147
|
-
const recurringPaymentsPercentageValidation =
|
|
146
|
+
const recurringPaymentsPercentageValidation = index_esm.create$6()
|
|
148
147
|
.when('business_recurring_payments', {
|
|
149
148
|
is: (val) => val === 'Yes',
|
|
150
149
|
then: (schema) => schema.required('Enter recurring payments percentage'),
|
|
151
150
|
otherwise: (schema) => schema.nullable(),
|
|
152
151
|
})
|
|
153
152
|
.transform(transformEmptyString);
|
|
154
|
-
const seasonalBusinessValidation =
|
|
153
|
+
const seasonalBusinessValidation = index_esm.create$6()
|
|
155
154
|
.oneOf(businessFormOptions.seasonalBusinessOptions.map((option) => option.value), 'Select seasonal business')
|
|
156
155
|
.transform(transformEmptyString);
|
|
157
|
-
const otherPaymentDetailsValidation =
|
|
156
|
+
const otherPaymentDetailsValidation = index_esm.create$6().transform(transformEmptyString);
|
|
158
157
|
// Bank Account Validations
|
|
159
|
-
const bankNameValidation =
|
|
158
|
+
const bankNameValidation = index_esm.create$6()
|
|
160
159
|
.min(2, 'Name must be at least 2 characters')
|
|
161
160
|
.max(50, 'Name must be less than 50 characters')
|
|
162
161
|
.transform(transformEmptyString);
|
|
163
|
-
const nicknameValidation =
|
|
162
|
+
const nicknameValidation = index_esm.create$6()
|
|
164
163
|
.min(2, 'Name must be at least 2 characters')
|
|
165
164
|
.max(50, 'Name must be less than 50 characters')
|
|
166
165
|
.transform(transformEmptyString);
|
|
167
|
-
const accountTypeValidation =
|
|
166
|
+
const accountTypeValidation = index_esm.create$6()
|
|
168
167
|
.oneOf(businessFormOptions.bankAccountTypeOptions.map((option) => option.value), 'Select account type')
|
|
169
168
|
.transform(transformEmptyString);
|
|
170
|
-
const accountNumberValidation =
|
|
169
|
+
const accountNumberValidation = index_esm.create$6()
|
|
171
170
|
.min(4, 'Account number must be at least 4 digits')
|
|
172
171
|
.max(17, 'Account number must be less than 17 digits')
|
|
173
172
|
.matches(numbersOnlyRegex, 'Enter valid account number')
|
|
@@ -175,7 +174,7 @@ const accountNumberValidation = form.create$6()
|
|
|
175
174
|
return !/^(\d)\1+$/.test(value);
|
|
176
175
|
})
|
|
177
176
|
.transform(transformEmptyString);
|
|
178
|
-
const routingNumberValidation =
|
|
177
|
+
const routingNumberValidation = index_esm.create$6()
|
|
179
178
|
.length(9, 'Routing number must be 9 digits')
|
|
180
179
|
.matches(numbersOnlyRegex, 'Enter valid routing number')
|
|
181
180
|
.test('not-repeat', 'Enter valid routing number', (value) => {
|
|
@@ -185,31 +184,10 @@ const routingNumberValidation = form.create$6()
|
|
|
185
184
|
return validateRoutingNumber(value);
|
|
186
185
|
})
|
|
187
186
|
.transform(transformEmptyString);
|
|
188
|
-
// Document Upload Validations
|
|
189
|
-
const documentUploadValidation = form.create$8();
|
|
190
|
-
const voidedCheckValidation = (documents, allowOptionalFields) => {
|
|
191
|
-
const existingDoc = documents.some((doc) => doc.document_type === Document.EntityDocumentType.voidedCheck);
|
|
192
|
-
if (existingDoc || allowOptionalFields) {
|
|
193
|
-
return documentUploadValidation.nullable();
|
|
194
|
-
}
|
|
195
|
-
else {
|
|
196
|
-
return documentUploadValidation.required('Please select one or more files');
|
|
197
|
-
}
|
|
198
|
-
};
|
|
199
|
-
const bankStatementValidation = (documents, allowOptionalFields) => {
|
|
200
|
-
const existingDoc = documents.some((doc) => doc.document_type === Document.EntityDocumentType.bankStatement);
|
|
201
|
-
if (existingDoc || allowOptionalFields) {
|
|
202
|
-
return documentUploadValidation.nullable();
|
|
203
|
-
}
|
|
204
|
-
else {
|
|
205
|
-
return documentUploadValidation.required('Please select one or more files');
|
|
206
|
-
}
|
|
207
|
-
};
|
|
208
187
|
|
|
209
188
|
exports.accountNumberValidation = accountNumberValidation;
|
|
210
189
|
exports.accountTypeValidation = accountTypeValidation;
|
|
211
190
|
exports.bankNameValidation = bankNameValidation;
|
|
212
|
-
exports.bankStatementValidation = bankStatementValidation;
|
|
213
191
|
exports.businessClassificationValidation = businessClassificationValidation;
|
|
214
192
|
exports.businessNameValidation = businessNameValidation;
|
|
215
193
|
exports.cityValidation = cityValidation;
|
|
@@ -235,6 +213,5 @@ exports.seasonalBusinessValidation = seasonalBusinessValidation;
|
|
|
235
213
|
exports.ssnValidation = ssnValidation;
|
|
236
214
|
exports.stateValidation = stateValidation;
|
|
237
215
|
exports.taxIdValidation = taxIdValidation;
|
|
238
|
-
exports.voidedCheckValidation = voidedCheckValidation;
|
|
239
216
|
exports.websiteUrlValidation = websiteUrlValidation;
|
|
240
217
|
exports.whenServiceReceivedValidation = whenServiceReceivedValidation;
|
|
@@ -6,14 +6,13 @@ var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
|
6
6
|
require('./config-state-BTfJl-LU.js');
|
|
7
7
|
require('./utils-qOon0GWm.js');
|
|
8
8
|
require('./ComponentError-CEv9ltwy.js');
|
|
9
|
-
require('./Checkout-
|
|
9
|
+
require('./Checkout-BTgAlgVL.js');
|
|
10
10
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
11
11
|
require('./Payment-D5UynU2f.js');
|
|
12
|
-
require('./Refund-
|
|
13
|
-
require('./Document-rXGBUaOh.js');
|
|
12
|
+
require('./Refund-BFE-2OxN.js');
|
|
14
13
|
require('./Business-DCRzZf0w.js');
|
|
15
14
|
require('./Dispute-CruQTF6_.js');
|
|
16
|
-
var terminalOrdersTable = require('./terminal-orders-table-
|
|
15
|
+
var terminalOrdersTable = require('./terminal-orders-table-C3KZTeE5.js');
|
|
17
16
|
var terminalOrdersListParamsState = require('./terminal-orders-list-params-state-fVsfZZ5G.js');
|
|
18
17
|
require('./parts-9jMf1erK.js');
|
|
19
18
|
require('./spinner-DOC4Ab7M.js');
|
|
@@ -5,11 +5,10 @@ var parts = require('./parts-9jMf1erK.js');
|
|
|
5
5
|
var utils = require('./utils-qOon0GWm.js');
|
|
6
6
|
require('./config-state-BTfJl-LU.js');
|
|
7
7
|
require('./ComponentError-CEv9ltwy.js');
|
|
8
|
-
require('./Checkout-
|
|
8
|
+
require('./Checkout-BTgAlgVL.js');
|
|
9
9
|
require('./Pagination-Dediz133.js');
|
|
10
10
|
require('./Payment-D5UynU2f.js');
|
|
11
|
-
var Refund = require('./Refund-
|
|
12
|
-
require('./Document-rXGBUaOh.js');
|
|
11
|
+
var Refund = require('./Refund-BFE-2OxN.js');
|
|
13
12
|
require('./Business-DCRzZf0w.js');
|
|
14
13
|
require('./Dispute-CruQTF6_.js');
|
|
15
14
|
var badge = require('./badge-sO_Hcamo.js');
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var Api = require('./Api-BTdkb3Zh.js');
|
|
4
4
|
require('./ComponentError-CEv9ltwy.js');
|
|
5
|
-
require('./Checkout-
|
|
5
|
+
require('./Checkout-BTgAlgVL.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
7
|
require('./Payment-D5UynU2f.js');
|
|
8
|
-
require('./Refund-
|
|
9
|
-
require('./Document-rXGBUaOh.js');
|
|
8
|
+
require('./Refund-BFE-2OxN.js');
|
|
10
9
|
require('./Business-DCRzZf0w.js');
|
|
11
10
|
require('./Dispute-CruQTF6_.js');
|
|
12
11
|
|
|
@@ -4,11 +4,10 @@ var index = require('./index-2GwnTbNA.js');
|
|
|
4
4
|
require('./config-state-BTfJl-LU.js');
|
|
5
5
|
require('./utils-qOon0GWm.js');
|
|
6
6
|
require('./ComponentError-CEv9ltwy.js');
|
|
7
|
-
require('./Checkout-
|
|
7
|
+
require('./Checkout-BTgAlgVL.js');
|
|
8
8
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
9
9
|
require('./Payment-D5UynU2f.js');
|
|
10
|
-
require('./Refund-
|
|
11
|
-
require('./Document-rXGBUaOh.js');
|
|
10
|
+
require('./Refund-BFE-2OxN.js');
|
|
12
11
|
require('./Business-DCRzZf0w.js');
|
|
13
12
|
require('./Dispute-CruQTF6_.js');
|
|
14
13
|
var table = require('./table-BgQP2M2-.js');
|
|
@@ -18,7 +18,7 @@ var patchBrowser = () => {
|
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(async (options) => {
|
|
20
20
|
await index.globalScripts();
|
|
21
|
-
return index.bootstrapLazy(JSON.parse("[[\"justifi-payment-provisioning.cjs\",[[1,\"justifi-payment-provisioning\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"postProvisioning\":[32],\"getBusiness\":[32]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}]]],[\"justifi-checkout.cjs\",[[4,\"justifi-checkout\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"getCheckout\":[32],\"complete\":[32],\"errorMessage\":[32],\"fillBillingForm\":[64],\"validate\":[64]},null,{\"authToken\":[\"propChanged\"],\"checkoutId\":[\"propChanged\"]}]]],[\"justifi-tokenize-payment-method.cjs\",[[1,\"justifi-tokenize-payment-method\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"submitButtonText\":[1,\"submit-button-text\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"hideSubmitButton\":[4,\"hide-submit-button\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"isLoading\":[32],\"tokenizePaymentMethod\":[64],\"fillBillingForm\":[64],\"validate\":[64]}]]],[\"justifi-business-details.cjs\",[[1,\"justifi-business-details\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"errorMessage\":[32],\"getBusiness\":[32]}]]],[\"form-control-date.cjs\",[[0,\"form-control-date\",{\"name\":[1],\"label\":[1],\"inputHandler\":[16,\"input-handler\"],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"showTime\":[4,\"show-time\"],\"maxDate\":[1,\"max-date\"],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-dispute-management.cjs\",[[0,\"justifi-dispute-management\",{\"disputeId\":[1,\"dispute-id\"],\"authToken\":[1,\"auth-token\"],\"getDispute\":[32],\"errorMessage\":[32]},null,{\"disputeId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-business-form.cjs\",[[1,\"justifi-business-form\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"hideErrors\":[4,\"hide-errors\"],\"formTitle\":[1,\"form-title\"],\"removeTitle\":[4,\"remove-title\"],\"isLoading\":[32],\"isSaving\":[32],\"errorMessage\":[32]}]]],[\"justifi-payments-list-filters.cjs\",[[1,\"justifi-payments-list-filters\",{\"paymentId\":[1,\"payment-id\"],\"terminalId\":[1,\"terminal-id\"],\"paymentStatus\":[1,\"payment-status\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-refund-payment.cjs\",[[1,\"justifi-refund-payment\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentId\":[1,\"payment-id\"],\"hideSubmitButton\":[4,\"hide-submit-button\"],\"formController\":[32],\"refundPayload\":[32],\"displayAmount\":[32],\"errors\":[32],\"paymentLoading\":[32],\"refundLoading\":[32],\"submitDisabled\":[32],\"refundPayment\":[64]}]]],[\"justifi-terminal-orders-list-filters.cjs\",[[1,\"justifi-terminal-orders-list-filters\",{\"orderStatus\":[1,\"order-status\"],\"orderType\":[1,\"order-type\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-terminals-list-filters.cjs\",[[1,\"justifi-terminals-list-filters\",{\"terminalId\":[1,\"terminal-id\"],\"terminalOrderId\":[1,\"terminal-order-id\"],\"terminalStatus\":[1,\"terminal-status\"]}]]],[\"justifi-billing-information-form.cjs\",[[1,\"justifi-billing-information-form\",{\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}]]],[\"justifi-checkouts-list-filters.cjs\",[[1,\"justifi-checkouts-list-filters\",{\"checkoutStatus\":[1,\"checkout-status\"],\"paymentMode\":[1,\"payment-mode\"]}]]],[\"justifi-payouts-list-filters.cjs\",[[1,\"justifi-payouts-list-filters\",{\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-order-terminals.cjs\",[[1,\"justifi-order-terminals\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"shipping\":[4],\"submitButtonText\":[1,\"submit-button-text\"],\"loading\":[32],\"submitting\":[32],\"error\":[32],\"business\":[32],\"terminalModels\":[32],\"orderLimit\":[32],\"order\":[32],\"totalQuantity\":[32]}]]],[\"justifi-postal-code-form.cjs\",[[1,\"justifi-postal-code-form\",{\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}]]],[\"justifi-season-interruption-insurance.cjs\",[[1,\"justifi-season-interruption-insurance\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"getQuote\":[32],\"toggleCoverage\":[32],\"quote\":[32],\"validate\":[64]}]]],[\"justifi-bank-account-form.cjs\",[[1,\"justifi-bank-account-form\",{\"iframeOrigin\":[1,\"iframe-origin\"],\"isReady\":[32],\"validate\":[64],\"tokenize\":[64]}]]],[\"justifi-card-form.cjs\",[[1,\"justifi-card-form\",{\"iframeOrigin\":[1,\"iframe-origin\"],\"isReady\":[32],\"validate\":[64],\"tokenize\":[64]}]]],[\"justifi-checkouts-list.cjs\",[[1,\"justifi-checkouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getCheckouts\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payment-details.cjs\",[[1,\"justifi-payment-details\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"getPaymentDetails\":[32],\"errorMessage\":[32]},null,{\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payments-list.cjs\",[[1,\"justifi-payments-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getPayments\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-saved-payment-methods.cjs\",[[1,\"justifi-saved-payment-methods\"]]],[\"justifi-sezzle-payment-method.cjs\",[[1,\"justifi-sezzle-payment-method\",{\"installmentPlan\":[32],\"sezzleCheckout\":[32],\"sezzlePromise\":[32],\"resolvePaymentMethod\":[64]}]]],[\"payout-details-core.cjs\",[[0,\"payout-details-core\",{\"getPayout\":[16,\"get-payout\"],\"getPayoutCSV\":[16,\"get-payout-c-s-v\"],\"payout\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPayout\":[\"getPayoutWatcher\"]}]]],[\"justifi-payout-details.cjs\",[[1,\"justifi-payout-details\",{\"payoutId\":[1,\"payout-id\"],\"authToken\":[1,\"auth-token\"],\"getPayout\":[32],\"getPayoutCSV\":[32],\"errorMessage\":[32]},null,{\"payoutId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payouts-list.cjs\",[[1,\"justifi-payouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getPayouts\":[32],\"getPayoutCSV\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-terminal-orders-list.cjs\",[[1,\"justifi-terminal-orders-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getTerminalOrders\":[32],\"errorMessage\":[32]}]]],[\"justifi-terminals-list.cjs\",[[1,\"justifi-terminals-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getTerminals\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"gross-payment-chart-core.cjs\",[[0,\"gross-payment-chart-core\",{\"getGrossPayment\":[16,\"get-gross-payment\"],\"grossVolumeReport\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getGrossPayment\":[\"propChanged\"],\"grossVolumeReport\":[\"grossVolumeReportChanged\"]}]]],[\"justifi-gross-payment-chart.cjs\",[[1,\"justifi-gross-payment-chart\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"getGrossPayment\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payment-transactions-list.cjs\",[[1,\"justifi-payment-transactions-list\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"balanceTransactions\":[32],\"transactionsTable\":[32],\"isLoading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"propChanged\"],\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payout-transactions-list.cjs\",[[1,\"justifi-payout-transactions-list\",{\"payoutId\":[1,\"payout-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"balanceTransactions\":[32],\"transactionsTable\":[32],\"isLoading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"propChanged\"],\"payoutId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"form-control-number.cjs\",[[0,\"form-control-number\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16,\"input-handler\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-checkout-summary.cjs\",[[1,\"justifi-checkout-summary\"]]],[\"justifi-config-provider.cjs\",[[0,\"justifi-config-provider\",{\"apiOrigin\":[1,\"api-origin\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"accountId\":[1,\"account-id\"]}]]],[\"justifi-modular-checkout.cjs\",[[0,\"justifi-modular-checkout\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"checkoutId\":[1,\"checkout-id\"],\"savePaymentMethod\":[4,\"save-payment-method\"],\"validate\":[64],\"submitCheckout\":[64]}]]],[\"justifi-payment-provisioning-core.cjs\",[[0,\"justifi-payment-provisioning-core\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"getBusiness\":[16,\"get-business\"],\"postProvisioning\":[16,\"post-provisioning\"],\"loading\":[32],\"businessProvisioned\":[32],\"currentStep\":[32],\"errorMessage\":[32]},[[0,\"formCompleted\",\"handleFormCompleted\"],[0,\"formLoading\",\"handleFormLoading\"]]]]],[\"justifi-dispute-management-core.cjs\",[[0,\"justifi-dispute-management-core\",{\"getDispute\":[16,\"get-dispute\"],\"disputeId\":[1,\"dispute-id\"],\"authToken\":[1,\"auth-token\"],\"dispute\":[32],\"isLoading\":[32],\"showDisputeResponseForm\":[32]},[[0,\"click-event\",\"disputeResponseHandler\"],[0,\"submit-event\",\"disputeSubmittedHandler\"]],{\"getDispute\":[\"updateOnPropChange\"]}]]],[\"justifi-checkout-core.cjs\",[[1,\"justifi-checkout-core\",{\"authToken\":[1,\"auth-token\"],\"getCheckout\":[16,\"get-checkout\"],\"complete\":[16],\"checkoutId\":[1,\"checkout-id\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"hasLoadedFonts\":[32],\"checkout\":[32],\"serverError\":[32],\"renderState\":[32],\"creatingNewPaymentMethod\":[32],\"insuranceToggled\":[32],\"fillBillingForm\":[64],\"validate\":[64]}]]],[\"business-details-core.cjs\",[[0,\"business-details-core\",{\"getBusiness\":[16,\"get-business\"],\"business\":[32],\"renderState\":[32],\"errorMessage\":[32]}]]],[\"justifi-season-interruption-insurance-core.cjs\",[[1,\"justifi-season-interruption-insurance-core\",{\"checkoutId\":[1,\"checkout-id\"],\"getQuote\":[16,\"get-quote\"],\"toggleCoverage\":[16,\"toggle-coverage\"],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"quote\":[32],\"isLoading\":[32],\"accepted\":[32],\"validate\":[64]}]]],[\"terminal-quantity-selector.cjs\",[[0,\"terminal-quantity-selector\",{\"modelName\":[1,\"model-name\"],\"imageUrl\":[1,\"image-url\"],\"description\":[1],\"helpUrl\":[1,\"help-url\"],\"limit\":[2],\"selectedQuantity\":[32]}]]],[\"pagination-menu.cjs\",[[0,\"pagination-menu\",{\"paging\":[16],\"params\":[16]}]]],[\"checkouts-list-core.cjs\",[[0,\"checkouts-list-core\",{\"getCheckouts\":[16,\"get-checkouts\"],\"getSubAccounts\":[16,\"get-sub-accounts\"],\"columns\":[1],\"checkouts\":[32],\"checkoutsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getCheckouts\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"payment-details-core.cjs\",[[0,\"payment-details-core\",{\"getPaymentDetails\":[16,\"get-payment-details\"],\"payment\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPaymentDetails\":[\"updateOnPropChange\"]}]]],[\"payments-list-core.cjs\",[[0,\"payments-list-core\",{\"getPayments\":[16,\"get-payments\"],\"columns\":[1],\"payments\":[32],\"paymentsTable\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getPayments\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"payouts-list-core.cjs\",[[0,\"payouts-list-core\",{\"getPayouts\":[16,\"get-payouts\"],\"getSubAccounts\":[16,\"get-sub-accounts\"],\"getPayoutCSV\":[16,\"get-payout-c-s-v\"],\"columns\":[1],\"payouts\":[32],\"payoutsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getPayouts\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"]}]]],[\"terminal-orders-list-core.cjs\",[[0,\"terminal-orders-list-core\",{\"getTerminalOrders\":[16,\"get-terminal-orders\"],\"columns\":[1],\"terminalOrders\":[32],\"terminalOrdersTable\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getTerminalOrders\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"terminals-list-core.cjs\",[[0,\"terminals-list-core\",{\"getTerminals\":[16,\"get-terminals\"],\"getSubAccounts\":[16,\"get-sub-accounts\"],\"columns\":[1],\"terminals\":[32],\"terminalsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getTerminals\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"form-control-monetary.cjs\",[[0,\"form-control-monetary\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16,\"input-handler\"],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16,\"key-down-handler\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"custom-popper_4.cjs\",[[0,\"form-control-select\",{\"name\":[8],\"label\":[1],\"options\":[16],\"inputHandler\":[16,\"input-handler\"],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-text\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16,\"input-handler\"],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16,\"key-down-handler\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-tooltip\",{\"helpText\":[1,\"help-text\"],\"anchorIcon\":[32],\"tooltip\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]]],[4,\"custom-popper\",{\"placement\":[1],\"offset\":[16],\"strategy\":[1],\"trigger\":[1],\"anchorRef\":[16,\"anchor-ref\"],\"isOpen\":[32]}]]],[\"form-alert_5.cjs\",[[0,\"justifi-business-representative\",{\"formController\":[16,\"form-controller\"],\"errors\":[32],\"representative\":[32]}],[0,\"justifi-business-core-info\",{\"formController\":[16,\"form-controller\"],\"errors\":[32],\"coreInfo\":[32]}],[0,\"justifi-additional-questions\",{\"formController\":[16,\"form-controller\"],\"errors\":[32],\"additional_questions\":[32]}],[0,\"justifi-legal-address-form\",{\"formController\":[16,\"form-controller\"],\"errors\":[32],\"legal_address\":[32]}],[0,\"form-alert\",{\"text\":[1],\"hideAlert\":[4,\"hide-alert\"]}]]],[\"justifi-business-representative-form-inputs.cjs\",[[0,\"justifi-business-representative-form-inputs\",{\"representativeDefaultValue\":[8,\"representative-default-value\"],\"errors\":[8],\"formController\":[16,\"form-controller\"]}]]],[\"table-filters-menu.cjs\",[[4,\"table-filters-menu\",{\"params\":[8],\"clearParams\":[16,\"clear-params\"],\"anchorButton\":[32],\"menu\":[32],\"showClearButton\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]],{\"params\":[\"watchParamsHandler\"]}]]],[\"justifi-details.cjs\",[[4,\"justifi-details\",{\"errorMessage\":[1,\"error-message\"]}]]],[\"form-control-monetary-provisioning.cjs\",[[0,\"form-control-monetary-provisioning\",{\"label\":[1],\"name\":[1],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16,\"input-handler\"],\"maskOptions\":[8,\"mask-options\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"form-control-help-text.cjs\",[[0,\"form-control-help-text\",{\"helpText\":[1,\"help-text\"],\"name\":[1]}]]],[\"form-control-radio.cjs\",[[0,\"form-control-radio\",{\"label\":[1],\"name\":[8],\"value\":[1],\"helpText\":[1,\"help-text\"],\"inputHandler\":[16,\"input-handler\"],\"disabled\":[4],\"errorText\":[1,\"error-text\"],\"checked\":[4],\"isFocused\":[32]}]]],[\"additional-questions-details_5.cjs\",[[0,\"additional-questions-details\",{\"additionalQuestions\":[16,\"additional-questions\"]}],[0,\"core-info-details\",{\"business\":[16]}],[0,\"legal-address-details\",{\"legalAddress\":[16,\"legal-address\"]}],[0,\"owner-details\",{\"owners\":[16]}],[0,\"representative-details\",{\"representative\":[16]}]]],[\"form-control-checkbox.cjs\",[[0,\"form-control-checkbox\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"checked\":[4],\"inputHandler\":[16,\"input-handler\"],\"disabled\":[4],\"isFocused\":[32]}]]],[\"hidden-input_2.cjs\",[[0,\"hidden-input\",{\"isFocused\":[32],\"errorText\":[32]}],[0,\"iframe-input\",{\"inputId\":[1,\"input-id\"],\"label\":[1],\"iframeOrigin\":[1,\"iframe-origin\"],\"isFocused\":[32],\"isValid\":[32],\"errorText\":[32],\"validate\":[64],\"tokenize\":[64]}]]],[\"justifi-owner-form_3.cjs\",[[0,\"justifi-owner-form\",{\"authToken\":[1,\"auth-token\"],\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16,\"remove-owner\"],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"getOwner\":[32],\"patchOwner\":[32],\"postOwner\":[32],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]}],[0,\"owner-form-core\",{\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"getOwner\":[16,\"get-owner\"],\"patchOwner\":[16,\"patch-owner\"],\"postOwner\":[16,\"post-owner\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16,\"remove-owner\"],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"isLoading\":[32],\"formController\":[32],\"errors\":[32],\"owner\":[32],\"returnOwnerData\":[64],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]},null,{\"isLoading\":[\"loadingWatcher\"]}],[0,\"owner-form-inputs\",{\"ownerDefaultValue\":[8,\"owner-default-value\"],\"errors\":[8],\"formController\":[16,\"form-controller\"]}]]],[\"bank-account-document-form-inputs_4.cjs\",[[0,\"bank-account-form-inputs\",{\"defaultValue\":[8,\"default-value\"],\"errors\":[8],\"inputHandler\":[16,\"input-handler\"],\"formDisabled\":[4,\"form-disabled\"]}],[0,\"bank-account-document-form-inputs\",{\"inputHandler\":[16,\"input-handler\"],\"errors\":[8],\"storeFiles\":[16,\"store-files\"]}],[0,\"business-documents-on-file\",{\"documents\":[8],\"isLoading\":[4,\"is-loading\"]}],[0,\"form-control-file\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"documentType\":[1,\"document-type\"],\"inputHandler\":[16,\"input-handler\"],\"disabled\":[4],\"files\":[32],\"fileString\":[32],\"isFocused\":[32]}]]],[\"form-control-file-v2_2.cjs\",[[0,\"form-control-textarea\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"maxLength\":[2,\"max-length\"],\"inputHandler\":[16,\"input-handler\"],\"keyDownHandler\":[16,\"key-down-handler\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-file-v2\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"inputHandler\":[16,\"input-handler\"],\"disabled\":[4],\"files\":[32]}]]],[\"justifi-dispute-notification_3.cjs\",[[1,\"justifi-dispute-response\",{\"authToken\":[1,\"auth-token\"],\"disputeId\":[1,\"dispute-id\"],\"disputeResponse\":[16,\"dispute-response\"],\"apiOrigin\":[1,\"api-origin\"],\"updateDisputeResponse\":[32],\"submitDisputeResponse\":[32],\"createDisputeEvidence\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}],[1,\"justifi-dispute-notification\",{\"dispute\":[16],\"authToken\":[1,\"auth-token\"],\"isLoading\":[4,\"is-loading\"]}],[0,\"justifi-dispute-response-core\",{\"updateDisputeResponse\":[16,\"update-dispute-response\"],\"submitDisputeResponse\":[16,\"submit-dispute-response\"],\"createDisputeEvidence\":[16,\"create-dispute-evidence\"],\"disputeResponse\":[8,\"dispute-response\"],\"isLoading\":[32],\"documentList\":[32],\"documentErrors\":[32],\"currentStep\":[32],\"currentStepComponentRef\":[32]}]]],[\"form-control-number-masked_2.cjs\",[[0,\"justifi-identity-address-form\",{\"handleFormUpdate\":[16,\"handle-form-update\"],\"errors\":[8],\"defaultValues\":[8,\"default-values\"],\"address\":[32]},null,{\"address\":[\"handleAddressChange\"]}],[0,\"form-control-number-masked\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16,\"input-handler\"],\"mask\":[1],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-additional-questions-form-step-core_6.cjs\",[[0,\"justifi-business-owners-form-step-core\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"getBusiness\":[16,\"get-business\"],\"patchBusiness\":[16,\"patch-business\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"ownersPayload\":[32],\"refs\":[32],\"newFormOpen\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},[[0,\"ownerSubmitted\",\"handleOwnerSubmit\"]],{\"ownersPayload\":[\"ownersWatcher\"]}],[0,\"justifi-business-bank-account-form-step-core\",{\"businessId\":[1,\"business-id\"],\"getBusiness\":[16,\"get-business\"],\"postBankAccount\":[16,\"post-bank-account\"],\"postDocumentRecord\":[16,\"post-document-record\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"bankAccount\":[32],\"existingDocuments\":[32],\"documentData\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"isLoading\":[\"watchHandler\"]}],[0,\"justifi-business-representative-form-step-core\",{\"getBusiness\":[16,\"get-business\"],\"patchBusiness\":[16,\"patch-business\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"representative\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-business-core-info-form-step-core\",{\"businessId\":[1,\"business-id\"],\"getBusiness\":[16,\"get-business\"],\"patchBusiness\":[16,\"patch-business\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"coreInfo\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-additional-questions-form-step-core\",{\"getBusiness\":[16,\"get-business\"],\"patchBusiness\":[16,\"patch-business\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"additional_questions\":[32],\"recurringPayments\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"additional_questions\":[\"recurringPaymentsWatcher\"]}],[0,\"justifi-legal-address-form-step-core\",{\"getBusiness\":[16,\"get-business\"],\"patchBusiness\":[16,\"patch-business\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"legal_address\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]}]]],[\"justifi-additional-questions-form-step_9.cjs\",[[0,\"justifi-payment-provisioning-form-steps\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"refs\":[16],\"currentStep\":[2,\"current-step\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"handleFormLoading\":[16,\"handle-form-loading\"]}],[0,\"justifi-payment-provisioning-form-buttons\",{\"currentStep\":[2,\"current-step\"],\"totalSteps\":[2,\"total-steps\"],\"formLoading\":[4,\"form-loading\"],\"formDisabled\":[4,\"form-disabled\"],\"previousStepButtonOnClick\":[16,\"previous-step-button-on-click\"],\"nextStepButtonOnClick\":[16,\"next-step-button-on-click\"]}],[0,\"justifi-business-owners-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-bank-account-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"postBankAccount\":[32],\"postDocumentRecord\":[32],\"postDocument\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-representative-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-core-info-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-additional-questions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-legal-address-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-terms-conditions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"acceptedTermsBefore\":[32],\"acceptedTerms\":[32],\"validateAndSubmit\":[64]}]]],[\"bank-account-form_7.cjs\",[[0,\"justifi-payment-method-options\",{\"showCard\":[4,\"show-card\"],\"showAch\":[4,\"show-ach\"],\"showSavedPaymentMethods\":[4,\"show-saved-payment-methods\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"bnpl\":[16],\"insuranceToggled\":[4,\"insurance-toggled\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"savedPaymentMethods\":[16,\"saved-payment-methods\"],\"paymentAmount\":[2,\"payment-amount\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"selectedPaymentMethodId\":[32],\"paymentMethodOptions\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64],\"validate\":[64]},[[0,\"paymentMethodOptionSelected\",\"paymentMethodOptionSelected\"]],{\"savedPaymentMethods\":[\"paymentMethodsChanged\"]}],[0,\"justifi-new-payment-method\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16,\"payment-method-option\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"isSelected\":[4,\"is-selected\"],\"showCard\":[4,\"show-card\"],\"showAch\":[4,\"show-ach\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"saveNewPaymentMethodChecked\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64],\"validate\":[64]},[[0,\"checkboxChanged\",\"handleCheckboxChanged\"]]],[0,\"justifi-saved-payment-method\",{\"paymentMethodOption\":[16,\"payment-method-option\"],\"isSelected\":[4,\"is-selected\"],\"resolvePaymentMethod\":[64]}],[0,\"justifi-billing-form\",{\"legend\":[1025],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"paymentMethodType\":[1,\"payment-method-type\"],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}],[0,\"bank-account-form\",{\"isReady\":[32],\"iframeOrigin\":[32],\"validate\":[64],\"tokenize\":[64]}],[0,\"card-form\",{\"isReady\":[32],\"iframeOrigin\":[32],\"validate\":[64],\"tokenize\":[64]}],[0,\"justifi-save-new-payment-method\",{\"isChecked\":[32]}]]],[\"justifi-additional-statement_8.cjs\",[[0,\"justifi-shipping-details\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"documentList\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-customer-details\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-duplicate-charge\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-additional-statement\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"acceptedTerms\":[32],\"acceptedTermsErrorText\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-cancellation-policy\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-product-or-service\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-refund-policy\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-electronic-evidence\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}]]]]"), options);
|
|
21
|
+
return index.bootstrapLazy(JSON.parse("[[\"justifi-new-payment-method.cjs\",[[0,\"justifi-new-payment-method\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16,\"payment-method-option\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"isSelected\":[4,\"is-selected\"],\"showCard\":[4,\"show-card\"],\"showAch\":[4,\"show-ach\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"saveNewPaymentMethodChecked\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64],\"validate\":[64]},[[0,\"checkboxChanged\",\"handleCheckboxChanged\"]]]]],[\"justifi-business-details.cjs\",[[1,\"justifi-business-details\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"errorMessage\":[32],\"getBusiness\":[32]}]]],[\"justifi-checkout.cjs\",[[1,\"justifi-checkout\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"checkout\":[32],\"complete\":[32],\"errorMessage\":[32],\"insuranceToggled\":[32],\"renderState\":[32],\"serverError\":[32],\"fillBillingForm\":[64],\"validate\":[64]},null,{\"authToken\":[\"propChanged\"],\"checkoutId\":[\"propChanged\"]}]]],[\"justifi-payments-list-filters.cjs\",[[1,\"justifi-payments-list-filters\",{\"paymentId\":[1,\"payment-id\"],\"terminalId\":[1,\"terminal-id\"],\"paymentStatus\":[1,\"payment-status\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-checkout-core.cjs\",[[1,\"justifi-checkout-core\",{\"authToken\":[1,\"auth-token\"],\"getCheckout\":[16,\"get-checkout\"],\"complete\":[16],\"checkoutId\":[1,\"checkout-id\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"hasLoadedFonts\":[32],\"checkout\":[32],\"serverError\":[32],\"renderState\":[32],\"creatingNewPaymentMethod\":[32],\"insuranceToggled\":[32],\"fillBillingForm\":[64],\"validate\":[64]}]]],[\"justifi-terminal-orders-list-filters.cjs\",[[1,\"justifi-terminal-orders-list-filters\",{\"orderStatus\":[1,\"order-status\"],\"orderType\":[1,\"order-type\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-terminals-list-filters.cjs\",[[1,\"justifi-terminals-list-filters\",{\"terminalId\":[1,\"terminal-id\"],\"terminalOrderId\":[1,\"terminal-order-id\"],\"terminalStatus\":[1,\"terminal-status\"]}]]],[\"justifi-tokenize-payment-method.cjs\",[[1,\"justifi-tokenize-payment-method\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"submitButtonText\":[1,\"submit-button-text\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"hideSubmitButton\":[4,\"hide-submit-button\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"isLoading\":[32],\"tokenizePaymentMethod\":[64],\"fillBillingForm\":[64],\"validate\":[64]}]]],[\"justifi-checkouts-list-filters.cjs\",[[1,\"justifi-checkouts-list-filters\",{\"checkoutStatus\":[1,\"checkout-status\"],\"paymentMode\":[1,\"payment-mode\"]}]]],[\"justifi-payouts-list-filters.cjs\",[[1,\"justifi-payouts-list-filters\",{\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-checkouts-list.cjs\",[[1,\"justifi-checkouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getCheckouts\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payment-details.cjs\",[[1,\"justifi-payment-details\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"getPaymentDetails\":[32],\"errorMessage\":[32]},null,{\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-saved-payment-method.cjs\",[[0,\"justifi-saved-payment-method\",{\"paymentMethodOption\":[16,\"payment-method-option\"],\"isSelected\":[4,\"is-selected\"],\"resolvePaymentMethod\":[64]}]]],[\"bank-account-form.cjs\",[[0,\"bank-account-form\",{\"isReady\":[32],\"iframeOrigin\":[32],\"validate\":[64],\"tokenize\":[64]}]]],[\"card-form.cjs\",[[0,\"card-form\",{\"isReady\":[32],\"iframeOrigin\":[32],\"validate\":[64],\"tokenize\":[64]}]]],[\"form-control-number.cjs\",[[0,\"form-control-number\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16,\"input-handler\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-config-provider.cjs\",[[0,\"justifi-config-provider\",{\"apiOrigin\":[1,\"api-origin\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"accountId\":[1,\"account-id\"]}]]],[\"form-control-date.cjs\",[[0,\"form-control-date\",{\"name\":[1],\"label\":[1],\"inputHandler\":[16,\"input-handler\"],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"showTime\":[4,\"show-time\"],\"maxDate\":[1,\"max-date\"],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-payment-provisioning-core.cjs\",[[0,\"justifi-payment-provisioning-core\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"getBusiness\":[16,\"get-business\"],\"postProvisioning\":[16,\"post-provisioning\"],\"loading\":[32],\"businessProvisioned\":[32],\"currentStep\":[32],\"errorMessage\":[32]},[[0,\"formCompleted\",\"handleFormCompleted\"],[0,\"formLoading\",\"handleFormLoading\"]]]]],[\"justifi-payment-provisioning.cjs\",[[1,\"justifi-payment-provisioning\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"postProvisioning\":[32],\"getBusiness\":[32]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}]]],[\"justifi-dispute-management-core.cjs\",[[0,\"justifi-dispute-management-core\",{\"getDispute\":[16,\"get-dispute\"],\"disputeId\":[1,\"dispute-id\"],\"authToken\":[1,\"auth-token\"],\"dispute\":[32],\"isLoading\":[32],\"showDisputeResponseForm\":[32]},[[0,\"click-event\",\"disputeResponseHandler\"],[0,\"submit-event\",\"disputeSubmittedHandler\"]],{\"getDispute\":[\"updateOnPropChange\"]}]]],[\"justifi-dispute-management.cjs\",[[0,\"justifi-dispute-management\",{\"disputeId\":[1,\"dispute-id\"],\"authToken\":[1,\"auth-token\"],\"getDispute\":[32],\"errorMessage\":[32]},null,{\"disputeId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-business-form.cjs\",[[1,\"justifi-business-form\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"hideErrors\":[4,\"hide-errors\"],\"formTitle\":[1,\"form-title\"],\"removeTitle\":[4,\"remove-title\"],\"isLoading\":[32],\"isSaving\":[32],\"errorMessage\":[32]}]]],[\"justifi-refund-payment.cjs\",[[1,\"justifi-refund-payment\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentId\":[1,\"payment-id\"],\"hideSubmitButton\":[4,\"hide-submit-button\"],\"formController\":[32],\"refundPayload\":[32],\"displayAmount\":[32],\"errors\":[32],\"paymentLoading\":[32],\"refundLoading\":[32],\"submitDisabled\":[32],\"refundPayment\":[64]}]]],[\"justifi-order-terminals.cjs\",[[1,\"justifi-order-terminals\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"shipping\":[4],\"submitButtonText\":[1,\"submit-button-text\"],\"loading\":[32],\"submitting\":[32],\"error\":[32],\"business\":[32],\"terminalModels\":[32],\"orderLimit\":[32],\"order\":[32],\"totalQuantity\":[32]}]]],[\"justifi-season-interruption-insurance.cjs\",[[0,\"justifi-season-interruption-insurance\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"getQuote\":[32],\"toggleCoverage\":[32],\"quote\":[32],\"validate\":[64]}]]],[\"justifi-payments-list.cjs\",[[1,\"justifi-payments-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getPayments\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payout-details.cjs\",[[1,\"justifi-payout-details\",{\"payoutId\":[1,\"payout-id\"],\"authToken\":[1,\"auth-token\"],\"getPayout\":[32],\"getPayoutCSV\":[32],\"errorMessage\":[32]},null,{\"payoutId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payouts-list.cjs\",[[1,\"justifi-payouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getPayouts\":[32],\"getPayoutCSV\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-terminal-orders-list.cjs\",[[1,\"justifi-terminal-orders-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getTerminalOrders\":[32],\"errorMessage\":[32]}]]],[\"justifi-terminals-list.cjs\",[[1,\"justifi-terminals-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getTerminals\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-gross-payment-chart.cjs\",[[1,\"justifi-gross-payment-chart\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"getGrossPayment\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payment-transactions-list.cjs\",[[1,\"justifi-payment-transactions-list\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"balanceTransactions\":[32],\"transactionsTable\":[32],\"isLoading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"propChanged\"],\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payout-transactions-list.cjs\",[[1,\"justifi-payout-transactions-list\",{\"payoutId\":[1,\"payout-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"balanceTransactions\":[32],\"transactionsTable\":[32],\"isLoading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"propChanged\"],\"payoutId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"business-details-core.cjs\",[[0,\"business-details-core\",{\"getBusiness\":[16,\"get-business\"],\"business\":[32],\"renderState\":[32],\"errorMessage\":[32]}]]],[\"justifi-season-interruption-insurance-core.cjs\",[[1,\"justifi-season-interruption-insurance-core\",{\"checkoutId\":[1,\"checkout-id\"],\"getQuote\":[16,\"get-quote\"],\"toggleCoverage\":[16,\"toggle-coverage\"],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"quote\":[32],\"isLoading\":[32],\"accepted\":[32],\"validate\":[64]}]]],[\"terminal-quantity-selector.cjs\",[[0,\"terminal-quantity-selector\",{\"modelName\":[1,\"model-name\"],\"imageUrl\":[1,\"image-url\"],\"description\":[1],\"helpUrl\":[1,\"help-url\"],\"limit\":[2],\"selectedQuantity\":[32]}]]],[\"pagination-menu.cjs\",[[0,\"pagination-menu\",{\"paging\":[16],\"params\":[16]}]]],[\"checkouts-list-core.cjs\",[[0,\"checkouts-list-core\",{\"getCheckouts\":[16,\"get-checkouts\"],\"getSubAccounts\":[16,\"get-sub-accounts\"],\"columns\":[1],\"checkouts\":[32],\"checkoutsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getCheckouts\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"payment-details-core.cjs\",[[0,\"payment-details-core\",{\"getPaymentDetails\":[16,\"get-payment-details\"],\"payment\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPaymentDetails\":[\"updateOnPropChange\"]}]]],[\"payments-list-core.cjs\",[[0,\"payments-list-core\",{\"getPayments\":[16,\"get-payments\"],\"columns\":[1],\"payments\":[32],\"paymentsTable\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getPayments\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"payout-details-core.cjs\",[[0,\"payout-details-core\",{\"getPayout\":[16,\"get-payout\"],\"getPayoutCSV\":[16,\"get-payout-c-s-v\"],\"payout\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPayout\":[\"getPayoutWatcher\"]}]]],[\"payouts-list-core.cjs\",[[0,\"payouts-list-core\",{\"getPayouts\":[16,\"get-payouts\"],\"getSubAccounts\":[16,\"get-sub-accounts\"],\"getPayoutCSV\":[16,\"get-payout-c-s-v\"],\"columns\":[1],\"payouts\":[32],\"payoutsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getPayouts\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"]}]]],[\"terminal-orders-list-core.cjs\",[[0,\"terminal-orders-list-core\",{\"getTerminalOrders\":[16,\"get-terminal-orders\"],\"columns\":[1],\"terminalOrders\":[32],\"terminalOrdersTable\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getTerminalOrders\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"terminals-list-core.cjs\",[[0,\"terminals-list-core\",{\"getTerminals\":[16,\"get-terminals\"],\"getSubAccounts\":[16,\"get-sub-accounts\"],\"columns\":[1],\"terminals\":[32],\"terminalsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getTerminals\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"form-control-monetary.cjs\",[[0,\"form-control-monetary\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16,\"input-handler\"],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16,\"key-down-handler\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"gross-payment-chart-core.cjs\",[[0,\"gross-payment-chart-core\",{\"getGrossPayment\":[16,\"get-gross-payment\"],\"grossVolumeReport\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getGrossPayment\":[\"propChanged\"],\"grossVolumeReport\":[\"grossVolumeReportChanged\"]}]]],[\"justifi-checkout-summary_2.cjs\",[[1,\"justifi-checkout-summary\"],[0,\"justifi-modular-checkout\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"checkoutId\":[1,\"checkout-id\"],\"savePaymentMethod\":[4,\"save-payment-method\"],\"validate\":[64],\"submitCheckout\":[64]}]]],[\"justifi-bank-account-form_4.cjs\",[[0,\"justifi-billing-form\",{\"legend\":[1025],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"paymentMethodType\":[1,\"payment-method-type\"],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}],[1,\"justifi-bank-account-form\",{\"iframeOrigin\":[1,\"iframe-origin\"],\"isReady\":[32],\"validate\":[64],\"tokenize\":[64]}],[1,\"justifi-card-form\",{\"iframeOrigin\":[1,\"iframe-origin\"],\"isReady\":[32],\"validate\":[64],\"tokenize\":[64]}],[0,\"justifi-save-new-payment-method\",{\"isChecked\":[32]}]]],[\"form-alert_5.cjs\",[[0,\"justifi-business-representative\",{\"formController\":[16,\"form-controller\"],\"errors\":[32],\"representative\":[32]}],[0,\"justifi-business-core-info\",{\"formController\":[16,\"form-controller\"],\"errors\":[32],\"coreInfo\":[32]}],[0,\"justifi-additional-questions\",{\"formController\":[16,\"form-controller\"],\"errors\":[32],\"additional_questions\":[32]}],[0,\"justifi-legal-address-form\",{\"formController\":[16,\"form-controller\"],\"errors\":[32],\"legal_address\":[32]}],[0,\"form-alert\",{\"text\":[1],\"hideAlert\":[4,\"hide-alert\"]}]]],[\"justifi-business-representative-form-inputs.cjs\",[[0,\"justifi-business-representative-form-inputs\",{\"representativeDefaultValue\":[8,\"representative-default-value\"],\"errors\":[8],\"formController\":[16,\"form-controller\"]}]]],[\"table-filters-menu.cjs\",[[4,\"table-filters-menu\",{\"params\":[8],\"clearParams\":[16,\"clear-params\"],\"anchorButton\":[32],\"menu\":[32],\"showClearButton\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]],{\"params\":[\"watchParamsHandler\"]}]]],[\"form-control-checkbox.cjs\",[[0,\"form-control-checkbox\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"checked\":[4],\"inputHandler\":[16,\"input-handler\"],\"disabled\":[4],\"isFocused\":[32]}]]],[\"justifi-details.cjs\",[[4,\"justifi-details\",{\"errorMessage\":[1,\"error-message\"]}]]],[\"form-control-monetary-provisioning.cjs\",[[0,\"form-control-monetary-provisioning\",{\"label\":[1],\"name\":[1],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16,\"input-handler\"],\"maskOptions\":[8,\"mask-options\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"hidden-input_2.cjs\",[[0,\"hidden-input\",{\"isFocused\":[32],\"errorText\":[32]}],[0,\"iframe-input\",{\"inputId\":[1,\"input-id\"],\"label\":[1],\"iframeOrigin\":[1,\"iframe-origin\"],\"isFocused\":[32],\"isValid\":[32],\"errorText\":[32],\"validate\":[64],\"tokenize\":[64]}]]],[\"form-control-help-text.cjs\",[[0,\"form-control-help-text\",{\"helpText\":[1,\"help-text\"],\"name\":[1]}]]],[\"form-control-radio.cjs\",[[0,\"form-control-radio\",{\"label\":[1],\"name\":[8],\"value\":[1],\"helpText\":[1,\"help-text\"],\"inputHandler\":[16,\"input-handler\"],\"disabled\":[4],\"errorText\":[1,\"error-text\"],\"checked\":[4],\"isFocused\":[32]}]]],[\"additional-questions-details_5.cjs\",[[0,\"additional-questions-details\",{\"additionalQuestions\":[16,\"additional-questions\"]}],[0,\"core-info-details\",{\"business\":[16]}],[0,\"legal-address-details\",{\"legalAddress\":[16,\"legal-address\"]}],[0,\"owner-details\",{\"owners\":[16]}],[0,\"representative-details\",{\"representative\":[16]}]]],[\"custom-popper_2.cjs\",[[0,\"form-control-tooltip\",{\"helpText\":[1,\"help-text\"],\"anchorIcon\":[32],\"tooltip\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]]],[4,\"custom-popper\",{\"placement\":[1],\"offset\":[16],\"strategy\":[1],\"trigger\":[1],\"anchorRef\":[16,\"anchor-ref\"],\"isOpen\":[32]}]]],[\"justifi-owner-form_3.cjs\",[[0,\"justifi-owner-form\",{\"authToken\":[1,\"auth-token\"],\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16,\"remove-owner\"],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"getOwner\":[32],\"patchOwner\":[32],\"postOwner\":[32],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]}],[0,\"owner-form-core\",{\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"getOwner\":[16,\"get-owner\"],\"patchOwner\":[16,\"patch-owner\"],\"postOwner\":[16,\"post-owner\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16,\"remove-owner\"],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"isLoading\":[32],\"formController\":[32],\"errors\":[32],\"owner\":[32],\"returnOwnerData\":[64],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]},null,{\"isLoading\":[\"loadingWatcher\"]}],[0,\"owner-form-inputs\",{\"ownerDefaultValue\":[8,\"owner-default-value\"],\"errors\":[8],\"formController\":[16,\"form-controller\"]}]]],[\"bank-account-document-form-inputs_4.cjs\",[[0,\"bank-account-form-inputs\",{\"defaultValue\":[8,\"default-value\"],\"errors\":[8],\"inputHandler\":[16,\"input-handler\"],\"formDisabled\":[4,\"form-disabled\"]}],[0,\"bank-account-document-form-inputs\",{\"inputHandler\":[16,\"input-handler\"],\"errors\":[8],\"storeFiles\":[16,\"store-files\"]}],[0,\"business-documents-on-file\",{\"documents\":[8],\"isLoading\":[4,\"is-loading\"]}],[0,\"form-control-file\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"documentType\":[1,\"document-type\"],\"inputHandler\":[16,\"input-handler\"],\"disabled\":[4],\"files\":[32],\"fileString\":[32],\"isFocused\":[32]}]]],[\"form-control-file-v2_2.cjs\",[[0,\"form-control-textarea\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"maxLength\":[2,\"max-length\"],\"inputHandler\":[16,\"input-handler\"],\"keyDownHandler\":[16,\"key-down-handler\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-file-v2\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"inputHandler\":[16,\"input-handler\"],\"disabled\":[4],\"files\":[32]}]]],[\"form-control-select_2.cjs\",[[0,\"form-control-select\",{\"name\":[8],\"label\":[1],\"options\":[16],\"inputHandler\":[16,\"input-handler\"],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-text\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16,\"input-handler\"],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16,\"key-down-handler\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-billing-information-form_2.cjs\",[[1,\"justifi-billing-information-form\",{\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}],[1,\"justifi-postal-code-form\",{\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}]]],[\"justifi-dispute-notification_3.cjs\",[[1,\"justifi-dispute-response\",{\"authToken\":[1,\"auth-token\"],\"disputeId\":[1,\"dispute-id\"],\"disputeResponse\":[16,\"dispute-response\"],\"apiOrigin\":[1,\"api-origin\"],\"updateDisputeResponse\":[32],\"submitDisputeResponse\":[32],\"createDisputeEvidence\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}],[1,\"justifi-dispute-notification\",{\"dispute\":[16],\"authToken\":[1,\"auth-token\"],\"isLoading\":[4,\"is-loading\"]}],[0,\"justifi-dispute-response-core\",{\"updateDisputeResponse\":[16,\"update-dispute-response\"],\"submitDisputeResponse\":[16,\"submit-dispute-response\"],\"createDisputeEvidence\":[16,\"create-dispute-evidence\"],\"disputeResponse\":[8,\"dispute-response\"],\"isLoading\":[32],\"documentList\":[32],\"documentErrors\":[32],\"currentStep\":[32],\"currentStepComponentRef\":[32]}]]],[\"justifi-payment-method-options_3.cjs\",[[0,\"justifi-payment-method-options\",{\"showCard\":[4,\"show-card\"],\"showAch\":[4,\"show-ach\"],\"showSavedPaymentMethods\":[4,\"show-saved-payment-methods\"],\"showBnpl\":[4,\"show-bnpl\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"bnpl\":[16],\"insuranceToggled\":[4,\"insurance-toggled\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"savedPaymentMethods\":[16,\"saved-payment-methods\"],\"paymentAmount\":[2,\"payment-amount\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"paymentMethodOptions\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64],\"validate\":[64]},[[0,\"paymentMethodOptionSelected\",\"paymentMethodOptionSelected\"]],{\"savedPaymentMethods\":[\"paymentMethodsChanged\"]}],[1,\"justifi-saved-payment-methods\"],[1,\"justifi-sezzle-payment-method\",{\"installmentPlan\":[32],\"sezzleCheckout\":[32],\"sezzlePromise\":[32],\"resolvePaymentMethod\":[64]}]]],[\"form-control-number-masked_2.cjs\",[[0,\"justifi-identity-address-form\",{\"handleFormUpdate\":[16,\"handle-form-update\"],\"errors\":[8],\"defaultValues\":[8,\"default-values\"],\"address\":[32]},null,{\"address\":[\"handleAddressChange\"]}],[0,\"form-control-number-masked\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16,\"input-handler\"],\"mask\":[1],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-additional-questions-form-step-core_6.cjs\",[[0,\"justifi-business-owners-form-step-core\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"getBusiness\":[16,\"get-business\"],\"patchBusiness\":[16,\"patch-business\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"ownersPayload\":[32],\"refs\":[32],\"newFormOpen\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},[[0,\"ownerSubmitted\",\"handleOwnerSubmit\"]],{\"ownersPayload\":[\"ownersWatcher\"]}],[0,\"justifi-business-bank-account-form-step-core\",{\"businessId\":[1,\"business-id\"],\"getBusiness\":[16,\"get-business\"],\"postBankAccount\":[16,\"post-bank-account\"],\"postDocumentRecord\":[16,\"post-document-record\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"bankAccount\":[32],\"existingDocuments\":[32],\"documentData\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"isLoading\":[\"watchHandler\"]}],[0,\"justifi-business-representative-form-step-core\",{\"getBusiness\":[16,\"get-business\"],\"patchBusiness\":[16,\"patch-business\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"representative\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-business-core-info-form-step-core\",{\"businessId\":[1,\"business-id\"],\"getBusiness\":[16,\"get-business\"],\"patchBusiness\":[16,\"patch-business\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"coreInfo\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-additional-questions-form-step-core\",{\"getBusiness\":[16,\"get-business\"],\"patchBusiness\":[16,\"patch-business\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"additional_questions\":[32],\"recurringPayments\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"additional_questions\":[\"recurringPaymentsWatcher\"]}],[0,\"justifi-legal-address-form-step-core\",{\"getBusiness\":[16,\"get-business\"],\"patchBusiness\":[16,\"patch-business\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"legal_address\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]}]]],[\"justifi-additional-questions-form-step_9.cjs\",[[0,\"justifi-payment-provisioning-form-steps\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"refs\":[16],\"currentStep\":[2,\"current-step\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"handleFormLoading\":[16,\"handle-form-loading\"]}],[0,\"justifi-payment-provisioning-form-buttons\",{\"currentStep\":[2,\"current-step\"],\"totalSteps\":[2,\"total-steps\"],\"formLoading\":[4,\"form-loading\"],\"formDisabled\":[4,\"form-disabled\"],\"previousStepButtonOnClick\":[16,\"previous-step-button-on-click\"],\"nextStepButtonOnClick\":[16,\"next-step-button-on-click\"]}],[0,\"justifi-business-owners-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-bank-account-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"postBankAccount\":[32],\"postDocumentRecord\":[32],\"postDocument\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-representative-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-core-info-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-additional-questions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-legal-address-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-terms-conditions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"acceptedTermsBefore\":[32],\"acceptedTerms\":[32],\"validateAndSubmit\":[64]}]]],[\"justifi-additional-statement_8.cjs\",[[0,\"justifi-shipping-details\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"documentList\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-customer-details\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-duplicate-charge\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-additional-statement\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"acceptedTerms\":[32],\"acceptedTermsErrorText\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-cancellation-policy\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-product-or-service\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-refund-policy\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-electronic-evidence\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}]]]]"), options);
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
exports.setNonce = index.setNonce;
|
|
@@ -219,7 +219,7 @@ export class BusinessBankAccountFormStepCore {
|
|
|
219
219
|
if (this.isLoading) {
|
|
220
220
|
return h(PaymentProvisioningLoading, null);
|
|
221
221
|
}
|
|
222
|
-
return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("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." })), h("hr", { class: "mt-2" }), h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.existingBankAccount })), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "
|
|
222
|
+
return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("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." })), h("hr", { class: "mt-2" }), h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.existingBankAccount })), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "One document (voided check or bank statement) is required for underwriting purposes. It needs to visibly show the name tied to the account and the account number. Various file formats such as PDF, DOC, DOCX, JPEG are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles }))));
|
|
223
223
|
}
|
|
224
224
|
static get is() { return "justifi-business-bank-account-form-step-core"; }
|
|
225
225
|
static get properties() {
|
|
@@ -1,16 +1,44 @@
|
|
|
1
|
-
import { object } from "yup";
|
|
2
|
-
import {
|
|
1
|
+
import { object, mixed } from "yup";
|
|
2
|
+
import { EntityDocumentType } from "../../../api/Document";
|
|
3
|
+
import { accountNumberValidation, accountTypeValidation, bankNameValidation, identityNameValidation, nicknameValidation, routingNumberValidation } from "./schema-validations";
|
|
4
|
+
const checkExistingDocs = (documents, documentType) => {
|
|
5
|
+
return documents.some((doc) => doc.document_type === documentType);
|
|
6
|
+
};
|
|
7
|
+
const documentErrorText = 'Please upload either a voided check or a bank statement. Only one is required.';
|
|
3
8
|
export const businessBankAccountSchema = (documents, allowOptionalFields) => {
|
|
4
|
-
const
|
|
9
|
+
const existingVoidedCheck = checkExistingDocs(documents, EntityDocumentType.voidedCheck);
|
|
10
|
+
const existingBankStatement = checkExistingDocs(documents, EntityDocumentType.bankStatement);
|
|
11
|
+
const existingDocument = existingVoidedCheck || existingBankStatement;
|
|
12
|
+
const schema = object().shape({
|
|
5
13
|
bank_name: bankNameValidation.required('Enter bank name'),
|
|
6
14
|
nickname: nicknameValidation.required('Enter nickname'),
|
|
7
15
|
account_owner_name: identityNameValidation.required('Enter account owner name'),
|
|
8
16
|
account_type: accountTypeValidation.required('Select account type'),
|
|
9
17
|
account_number: accountNumberValidation.required('Enter account number'),
|
|
10
18
|
routing_number: routingNumberValidation.required('Enter routing number'),
|
|
11
|
-
voided_check:
|
|
12
|
-
|
|
13
|
-
|
|
19
|
+
voided_check: mixed().when('bank_statement', {
|
|
20
|
+
is: (val) => {
|
|
21
|
+
return !val && !existingDocument;
|
|
22
|
+
},
|
|
23
|
+
then: (schema) => {
|
|
24
|
+
return schema.required(documentErrorText);
|
|
25
|
+
},
|
|
26
|
+
otherwise: (schema) => {
|
|
27
|
+
return schema.notRequired();
|
|
28
|
+
}
|
|
29
|
+
}),
|
|
30
|
+
bank_statement: mixed().when('voided_check', {
|
|
31
|
+
is: (val) => {
|
|
32
|
+
return !val && !existingDocument;
|
|
33
|
+
},
|
|
34
|
+
then: (schema) => {
|
|
35
|
+
return schema.required(documentErrorText);
|
|
36
|
+
},
|
|
37
|
+
otherwise: (schema) => {
|
|
38
|
+
return schema.notRequired();
|
|
39
|
+
}
|
|
40
|
+
}),
|
|
41
|
+
}, [['voided_check', 'bank_statement']]);
|
|
14
42
|
const easySchema = object({
|
|
15
43
|
bank_name: bankNameValidation.nullable(),
|
|
16
44
|
nickname: nicknameValidation.nullable(),
|
|
@@ -18,8 +46,8 @@ export const businessBankAccountSchema = (documents, allowOptionalFields) => {
|
|
|
18
46
|
account_type: accountTypeValidation.nullable(),
|
|
19
47
|
account_number: accountNumberValidation.nullable(),
|
|
20
48
|
routing_number: routingNumberValidation.nullable(),
|
|
21
|
-
voided_check:
|
|
22
|
-
bank_statement:
|
|
49
|
+
voided_check: mixed().nullable(),
|
|
50
|
+
bank_statement: mixed().nullable(),
|
|
23
51
|
});
|
|
24
52
|
return allowOptionalFields ? easySchema : schema;
|
|
25
53
|
};
|