@justifi/webcomponents 4.20.1 → 4.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Analytics-3c89cfb4.js → Analytics-880f5152.js} +1 -1
- package/dist/cjs/{Payment-1a8a8ca6.js → Payment-04a842f4.js} +15 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{business-form-types-6e1fcda3.js → business-form-types-719b7f52.js} +11 -0
- package/dist/cjs/{check-pkg-version-4fa0367d.js → check-pkg-version-54f7dfda.js} +1 -1
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_5.cjs.entry.js} +121 -2
- package/dist/cjs/form-control-checkbox_9.cjs.entry.js +51 -28
- package/dist/cjs/form-control-date_3.cjs.entry.js +47 -8
- package/dist/cjs/form-control-file.cjs.entry.js +1 -1
- package/dist/cjs/{form-control-monetary.cjs.entry.js → form-control-help-text_2.cjs.entry.js} +16 -1
- package/dist/cjs/form-control-number.cjs.entry.js +1 -1
- package/dist/cjs/{get-payout-csv-3a3260ec.js → get-payout-csv-a82b2c1c.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +23 -11
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout.cjs.entry.js +6 -6
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
- package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +6 -6
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payment-form.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payout-details.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-refund-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-3a9ac89d.js → package-cb1b1015.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +9 -9
- package/dist/cjs/{payment.service-47e2d84e.js → payment.service-6f79aad2.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +14 -14
- package/dist/cjs/payments-list-filters_2.cjs.entry.js +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +5 -5
- package/dist/cjs/styled-host-1adf46c3.js +14 -0
- package/dist/cjs/{utils-af1b60a9.js → utils-52fb7fa1.js} +13 -10
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Payment.js +15 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +42 -2
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +31 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +24 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +25 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +24 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +25 -2
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +17 -17
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +24 -1
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +24 -2
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
- package/dist/collection/components/business-forms/utils/business-form-types.js +11 -0
- package/dist/collection/components/card-form/card-form.js +1 -1
- package/dist/collection/components/checkout/checkout-core.js +1 -1
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/new-payment-method.js +1 -1
- package/dist/collection/components/checkout/payment-method-options.js +1 -1
- 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/checkout/sezzle-payment-method.js +1 -1
- package/dist/collection/components/details/details.js +1 -1
- package/dist/collection/components/form/form-control-checkbox.js +1 -1
- package/dist/collection/components/form/form-control-date.js +80 -6
- package/dist/collection/components/form/form-control-file.js +1 -1
- package/dist/collection/components/form/form-control-monetary.js +1 -1
- package/dist/collection/components/form/form-control-number-masked.js +1 -1
- package/dist/collection/components/form/form-control-number.js +1 -1
- package/dist/collection/components/form/form-control-select.js +1 -1
- package/dist/collection/components/form/form-control-text.js +1 -1
- package/dist/collection/components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +63 -0
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.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 -1
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payment-form/payment-form.js +3 -3
- package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +11 -11
- package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +2 -2
- package/dist/collection/components/refund-form/refund-form.js +1 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +8 -4
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/utils/utils.js +13 -10
- package/dist/docs.json +628 -149
- package/dist/esm/{Analytics-b0f6936a.js → Analytics-3dde5a98.js} +1 -1
- package/dist/esm/{Payment-6bf26fe2.js → Payment-30790721.js} +15 -0
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/business-details-core.entry.js +1 -1
- package/dist/esm/{business-form-types-1bc5fe08.js → business-form-types-8fd61b0e.js} +12 -1
- package/dist/esm/{check-pkg-version-10cadb08.js → check-pkg-version-4d144b72.js} +1 -1
- package/dist/esm/{custom-popper.entry.js → custom-popper_5.entry.js} +119 -4
- package/dist/esm/form-control-checkbox_9.entry.js +51 -28
- package/dist/esm/form-control-date_3.entry.js +47 -8
- package/dist/esm/form-control-file.entry.js +1 -1
- package/dist/esm/{form-control-monetary.entry.js → form-control-help-text_2.entry.js} +17 -3
- package/dist/esm/form-control-number.entry.js +1 -1
- package/dist/esm/{get-payout-csv-93427146.js → get-payout-csv-d29146ee.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +2 -2
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +23 -11
- package/dist/esm/justifi-bank-account-form.entry.js +2 -2
- package/dist/esm/justifi-billing-form_2.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +3 -3
- package/dist/esm/justifi-business-form.entry.js +6 -6
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +3 -3
- package/dist/esm/justifi-checkout-core.entry.js +3 -3
- package/dist/esm/justifi-checkout.entry.js +6 -6
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
- package/dist/esm/justifi-new-payment-method_4.entry.js +6 -6
- package/dist/esm/justifi-owner-form_3.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +5 -5
- package/dist/esm/justifi-payment-form.entry.js +9 -9
- package/dist/esm/justifi-payment-method-form.entry.js +2 -2
- package/dist/esm/justifi-payment-method-selector.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +5 -5
- package/dist/esm/justifi-payout-details.entry.js +5 -5
- package/dist/esm/justifi-payouts-list.entry.js +5 -5
- package/dist/esm/justifi-refund-form.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-2ef16e2c.js → package-4ab64620.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +9 -9
- package/dist/esm/{payment.service-21a3e2d3.js → payment.service-f9c3e9d7.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +14 -14
- package/dist/esm/payments-list-filters_2.entry.js +2 -2
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/payouts-list-core.entry.js +5 -5
- package/dist/esm/styled-host-e0ddb759.js +12 -0
- package/dist/esm/{utils-e66d8bca.js → utils-620f2d78.js} +13 -10
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Payment.js +15 -0
- package/dist/module/additional-questions.js +22 -10
- package/dist/module/billing-form.js +13 -7
- package/dist/module/business-additional-questions-form-step-core.js +42 -11
- package/dist/module/business-additional-questions-form-step.js +23 -11
- package/dist/module/business-bank-account-form-step.js +23 -10
- package/dist/module/business-core-info-form-step-core.js +19 -10
- package/dist/module/business-core-info-form-step.js +16 -10
- package/dist/module/business-core-info.js +15 -9
- package/dist/module/business-document-upload-form-step.js +14 -5
- package/dist/module/business-document-upload-input-group.js +27 -21
- package/dist/module/business-form-types.js +12 -1
- package/dist/module/business-owners-form-step-core.js +20 -12
- package/dist/module/business-owners-form-step.js +16 -10
- package/dist/module/business-representative-form-inputs.js +16 -10
- package/dist/module/business-representative-form-step-core.js +19 -10
- package/dist/module/business-representative-form-step.js +16 -10
- package/dist/module/business-representative.js +15 -9
- package/dist/module/business-terms-conditions-form-step.js +4 -2
- package/dist/module/business-terms-conditions-text.js +1 -1
- package/dist/module/checkout-core.js +14 -8
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/details.js +1 -1
- package/dist/module/form-control-checkbox2.js +1 -1
- package/dist/module/form-control-date2.js +57 -10
- package/dist/module/form-control-file2.js +10 -4
- package/dist/module/form-control-monetary2.js +1 -1
- package/dist/module/form-control-number-masked2.js +10 -4
- package/dist/module/form-control-number.js +1 -1
- package/dist/module/form-control-select2.js +10 -4
- package/dist/module/form-control-text2.js +10 -4
- package/dist/module/form-control-tooltip.d.ts +11 -0
- package/dist/module/form-control-tooltip.js +6 -0
- package/dist/module/form-control-tooltip2.js +49 -0
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/identity-address-form.js +14 -8
- package/dist/module/justifi-business-form.js +29 -17
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout.js +15 -9
- package/dist/module/justifi-payment-form.js +16 -10
- package/dist/module/justifi-payment-provisioning.js +30 -18
- package/dist/module/justifi-payments-list.js +7 -7
- package/dist/module/justifi-payouts-list.js +9 -3
- package/dist/module/justifi-refund-form.js +21 -9
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/legal-address-form-step-core.js +17 -8
- package/dist/module/legal-address-form-step.js +14 -8
- package/dist/module/legal-address-form.js +13 -7
- package/dist/module/new-payment-method.js +14 -8
- package/dist/module/owner-form-core2.js +16 -10
- package/dist/module/owner-form-inputs2.js +16 -10
- package/dist/module/owner-form.js +15 -9
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment-method-options.js +14 -8
- package/dist/module/payment-method-selector.js +1 -1
- package/dist/module/payment-provisioning-core.js +31 -19
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +30 -18
- package/dist/module/payments-list-core2.js +18 -18
- package/dist/module/payments-list-filters2.js +8 -8
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +11 -5
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +1 -1
- package/dist/module/season-interruption-insurance-core.js +2 -2
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/utils2.js +13 -10
- package/dist/types/api/Payment.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +4 -1
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +2 -1
- package/dist/types/components/business-forms/utils/business-form-types.d.ts +15 -0
- package/dist/types/components/form/form-control-date.d.ts +5 -0
- package/dist/types/components/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +8 -0
- package/dist/types/components.d.ts +39 -4
- package/dist/types/ui-components/custom-popper/custom-popper.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +2 -2
- package/dist/webcomponents/{p-232016ba.entry.js → p-08d88fd2.entry.js} +1 -1
- package/dist/webcomponents/p-0c2d91a2.entry.js +1 -0
- package/dist/webcomponents/{p-034fc302.entry.js → p-11f01df5.entry.js} +1 -1
- package/dist/webcomponents/p-122c2a11.entry.js +1 -0
- package/dist/webcomponents/{p-1c04aacd.entry.js → p-1d29488a.entry.js} +1 -1
- package/dist/webcomponents/{p-1eee25f3.entry.js → p-1e178dd1.entry.js} +2 -2
- package/dist/webcomponents/p-1eb60948.entry.js +1 -0
- package/dist/webcomponents/{p-dc048c3c.entry.js → p-23f95a19.entry.js} +1 -1
- package/dist/webcomponents/{p-ce5fe369.entry.js → p-2874d4b2.entry.js} +1 -1
- package/dist/webcomponents/{p-430f81c6.entry.js → p-43dfda70.entry.js} +1 -1
- package/dist/webcomponents/{p-75139399.entry.js → p-55fe2cf2.entry.js} +1 -1
- package/dist/webcomponents/{p-d99a5f30.entry.js → p-5df26e65.entry.js} +1 -1
- package/dist/webcomponents/p-5e5e8a85.js +1 -0
- package/dist/webcomponents/{p-9add7d3e.entry.js → p-605614f2.entry.js} +1 -1
- package/dist/webcomponents/{p-d76002d5.entry.js → p-61514f78.entry.js} +1 -1
- package/dist/webcomponents/p-6962044f.entry.js +1 -0
- package/dist/webcomponents/{p-570a0f02.entry.js → p-6a9e908b.entry.js} +1 -1
- package/dist/webcomponents/p-6ba660f2.entry.js +1 -0
- package/dist/webcomponents/{p-35846553.js → p-6d4b585d.js} +1 -1
- package/dist/webcomponents/{p-538fd427.entry.js → p-6e258b5f.entry.js} +1 -1
- package/dist/webcomponents/p-74da98da.js +1 -0
- package/dist/webcomponents/{p-ad47f37c.entry.js → p-770f60f9.entry.js} +1 -1
- package/dist/webcomponents/{p-b91bcbfc.js → p-799ee8c3.js} +1 -1
- package/dist/webcomponents/p-7cb3854c.entry.js +1 -0
- package/dist/webcomponents/p-7fec2bcb.js +1 -0
- package/dist/webcomponents/{p-b14da2fd.entry.js → p-80730b71.entry.js} +1 -1
- package/dist/webcomponents/{p-37888614.entry.js → p-8f04747b.entry.js} +1 -1
- package/dist/webcomponents/{p-c64ce69d.entry.js → p-8f447993.entry.js} +1 -1
- package/dist/webcomponents/p-9a37eee5.entry.js +1 -0
- package/dist/webcomponents/{p-d9579cd6.entry.js → p-a1d037cb.entry.js} +1 -1
- package/dist/webcomponents/{p-056e75be.entry.js → p-a3265844.entry.js} +1 -1
- package/dist/webcomponents/{p-c740b6ca.entry.js → p-a680c982.entry.js} +1 -1
- package/dist/webcomponents/{p-e2c88817.entry.js → p-a765230f.entry.js} +1 -1
- package/dist/webcomponents/p-a76ece26.js +1 -0
- package/dist/webcomponents/p-b7b18954.entry.js +1 -0
- package/dist/webcomponents/{p-707bdf68.js → p-bc9ae56f.js} +1 -1
- package/dist/webcomponents/p-c241cc62.entry.js +1 -0
- package/dist/webcomponents/{p-5e2c9ec8.js → p-ca8e126f.js} +1 -1
- package/dist/webcomponents/{p-e31f0f3e.entry.js → p-cd74be05.entry.js} +1 -1
- package/dist/webcomponents/{p-57d7534f.entry.js → p-d0ffb01c.entry.js} +1 -1
- package/dist/webcomponents/p-da316a74.entry.js +1 -0
- package/dist/webcomponents/{p-fb7f7a8c.entry.js → p-db3d1d7d.entry.js} +1 -1
- package/dist/webcomponents/p-dee2a3f8.entry.js +1 -0
- package/dist/webcomponents/{p-7ff329b1.js → p-e56ade55.js} +1 -1
- package/dist/webcomponents/p-e927fd5c.entry.js +1 -0
- package/dist/webcomponents/p-f3e00572.entry.js +1 -0
- package/dist/webcomponents/p-f71a5975.entry.js +1 -0
- package/dist/webcomponents/{p-3c7fac29.entry.js → p-ffe27126.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/form-control-error-text_4.cjs.entry.js +0 -118
- package/dist/cjs/styled-host-9e0b67b3.js +0 -14
- package/dist/esm/form-control-error-text_4.entry.js +0 -111
- package/dist/esm/styled-host-3171ae1f.js +0 -12
- package/dist/webcomponents/p-44055818.js +0 -1
- package/dist/webcomponents/p-59cf5391.entry.js +0 -1
- package/dist/webcomponents/p-60d3571e.entry.js +0 -1
- package/dist/webcomponents/p-6ac806ff.entry.js +0 -1
- package/dist/webcomponents/p-7771f64b.entry.js +0 -1
- package/dist/webcomponents/p-7ddfce86.entry.js +0 -1
- package/dist/webcomponents/p-8a7112a0.entry.js +0 -1
- package/dist/webcomponents/p-9b154d98.entry.js +0 -1
- package/dist/webcomponents/p-ab92abb1.entry.js +0 -1
- package/dist/webcomponents/p-aedb421f.entry.js +0 -1
- package/dist/webcomponents/p-bbed6107.entry.js +0 -1
- package/dist/webcomponents/p-bdc91c61.entry.js +0 -1
- package/dist/webcomponents/p-c1772671.entry.js +0 -1
- package/dist/webcomponents/p-d8355f91.entry.js +0 -1
- package/dist/webcomponents/p-d89bad72.js +0 -1
- package/dist/webcomponents/p-df21aaad.js +0 -1
- package/dist/webcomponents/p-f0866375.entry.js +0 -1
- package/dist/webcomponents/p-f2924369.js +0 -1
- package/dist/webcomponents/p-ffddac99.entry.js +0 -1
|
@@ -3850,14 +3850,15 @@ var Dinero = function Dinero(options) {
|
|
|
3850
3850
|
|
|
3851
3851
|
var dinero = Object.assign(Dinero, Defaults, Globals, Static);
|
|
3852
3852
|
|
|
3853
|
-
function formatCurrency(amount, withSymbol = true) {
|
|
3853
|
+
function formatCurrency(amount, withSymbol = true, withCurrencyName = false) {
|
|
3854
3854
|
if (!amount)
|
|
3855
3855
|
amount = 0;
|
|
3856
3856
|
function format(amount) {
|
|
3857
3857
|
const formattedString = withSymbol ? '$0,0.00' : '0,0.00';
|
|
3858
3858
|
return dinero({ amount: amount, currency: 'USD' }).toFormat(formattedString);
|
|
3859
3859
|
}
|
|
3860
|
-
|
|
3860
|
+
const formattedAmount = amount < 0 ? `(${format(-amount)})` : format(amount);
|
|
3861
|
+
return withCurrencyName ? `${formattedAmount} USD` : formattedAmount;
|
|
3861
3862
|
}
|
|
3862
3863
|
function formatDate(dateString) {
|
|
3863
3864
|
if (!dateString)
|
|
@@ -3912,22 +3913,24 @@ function extractComputedFontsToLoad() {
|
|
|
3912
3913
|
}
|
|
3913
3914
|
const MapPaymentStatusToBadge = (status) => {
|
|
3914
3915
|
switch (status) {
|
|
3916
|
+
case 'succeeded':
|
|
3917
|
+
return "<span class='badge bg-success' title='This payment was successfully captured'>Succeeded</span>";
|
|
3915
3918
|
case 'authorized':
|
|
3916
3919
|
return "<span class='badge bg-primary' title='This card payment was authorized, but not captured. It could still succeed or fail.'>Authorized</span>";
|
|
3917
|
-
case '
|
|
3918
|
-
return "<span class='badge bg-primary' title='
|
|
3920
|
+
case 'pending':
|
|
3921
|
+
return "<span class='badge bg-primary' title='This ACH payment was processed, but the funds haven't settled. It could still succeed or fail.'>Pending</span>";
|
|
3919
3922
|
case 'achFailed':
|
|
3920
3923
|
return "<span class='badge bg-danger' title='The funds couldn't be collected for this ACH payment (in addition to the original payment, an ACH return and fee will appear in a payout)'>Failed</span>";
|
|
3921
3924
|
case 'failed':
|
|
3922
3925
|
return "<span class='badge bg-danger' title='This card payment didn't go through (it won't appear in a payout)'>Failed</span>";
|
|
3926
|
+
case 'canceled':
|
|
3927
|
+
return "<span class='badge bg-danger' title='This payment was canceled'>Canceled</span>";
|
|
3928
|
+
case 'disputed':
|
|
3929
|
+
return "<span class='badge bg-secondary' title='The account holder disputed this payment. The amount has been returned and a fee assessed.'>Disputed</span>";
|
|
3923
3930
|
case 'fully_refunded':
|
|
3924
|
-
return "<span class='badge bg-
|
|
3931
|
+
return "<span class='badge bg-secondary' title='The full amount of this payment has been refunded'>Fully Refunded</span>";
|
|
3925
3932
|
case 'partially_refunded':
|
|
3926
|
-
return "<span class='badge bg-
|
|
3927
|
-
case 'pending':
|
|
3928
|
-
return "<span class='badge bg-secondary' title='This ACH payment was processed, but the funds haven't settled. It could still succeed or fail.'>Pending</span>";
|
|
3929
|
-
case 'succeeded':
|
|
3930
|
-
return "<span class='badge bg-success' title='This payment was successfully captured'>Successful</span>";
|
|
3933
|
+
return "<span class='badge bg-secondary' title='A portion of this payment has been refunded'>Partially Refunded</span>";
|
|
3931
3934
|
}
|
|
3932
3935
|
};
|
|
3933
3936
|
const MapPayoutStatusToBadge = (status) => {
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy(JSON.parse("[[\"justifi-payment-provisioning.cjs\",[[0,\"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-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],\"errorMessage\":[32]}]]],[\"justifi-checkout.cjs\",[[4,\"justifi-checkout\",{\"iframeOrigin\":[1,\"iframe-origin\"],\"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\"],\"getCheckout\":[32],\"complete\":[32],\"errorMessage\":[32],\"fillBillingForm\":[64]},null,{\"authToken\":[\"propChanged\"],\"checkoutId\":[\"propChanged\"]}]]],[\"justifi-payments-list.cjs\",[[1,\"justifi-payments-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"getPayments\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payment-form.cjs\",[[1,\"justifi-payment-form\",{\"bankAccount\":[4,\"bank-account\"],\"card\":[4],\"email\":[1],\"clientId\":[1,\"client-id\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"submitButtonText\":[1,\"submit-button-text\"],\"submitButtonEnabled\":[32],\"isLoading\":[32],\"selectedPaymentMethodType\":[32],\"fillBillingForm\":[64],\"enableSubmitButton\":[64],\"disableSubmitButton\":[64]}]]],[\"justifi-business-details.cjs\",[[1,\"justifi-business-details\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"errorMessage\":[32],\"getBusiness\":[32]}]]],[\"justifi-payouts-list.cjs\",[[1,\"justifi-payouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"getPayouts\":[32],\"getPayoutCSV\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-refund-form.cjs\",[[1,\"justifi-refund-form\",{\"authToken\":[1,\"auth-token\"],\"paymentId\":[1,\"payment-id\"],\"amount\":[2],\"submitButtonText\":[1,\"submit-button-text\"],\"withButton\":[4,\"with-button\"],\"refundInfoText\":[1,\"refund-info-text\"],\"errors\":[32],\"isSubmitting\":[32]}]]],[\"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],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"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-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-bank-account-form.cjs\",[[0,\"justifi-bank-account-form\",{\"validationMode\":[1025,\"validation-mode\"],\"iframeOrigin\":[1025,\"iframe-origin\"],\"internalStyleOverrides\":[32],\"tokenize\":[64],\"validate\":[64],\"resize\":[64]},[[0,\"paymentMethodFormReady\",\"readyHandler\"],[0,\"paymentMethodFormTokenized\",\"tokenizeHandler\"],[0,\"paymentMethodFormValidated\",\"validateHandler\"]]]]],[\"justifi-card-form.cjs\",[[0,\"justifi-card-form\",{\"validationMode\":[1025,\"validation-mode\"],\"iframeOrigin\":[1025,\"iframe-origin\"],\"singleLine\":[4,\"single-line\"],\"internalStyleOverrides\":[32],\"tokenize\":[64],\"validate\":[64],\"resize\":[64]},[[0,\"paymentMethodFormReady\",\"readyHandler\"],[0,\"paymentMethodFormTokenized\",\"tokenizeHandler\"],[0,\"paymentMethodFormValidated\",\"validateHandler\"]]]]],[\"gross-payment-chart-core.cjs\",[[0,\"gross-payment-chart-core\",{\"getGrossPayment\":[16],\"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-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-payment-provisioning-core.cjs\",[[1,\"justifi-payment-provisioning-core\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"getBusiness\":[16],\"postProvisioning\":[16],\"loading\":[32],\"businessProvisioned\":[32],\"currentStep\":[32],\"errorMessage\":[32]},[[0,\"formLoading\",\"handleFormLoading\"]]]]],[\"justifi-checkout-core.cjs\",[[1,\"justifi-checkout-core\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"authToken\":[1,\"auth-token\"],\"getCheckout\":[16],\"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\"],\"hasLoadedFonts\":[32],\"checkout\":[32],\"serverError\":[32],\"renderState\":[32],\"creatingNewPaymentMethod\":[32],\"insuranceToggled\":[32],\"fillBillingForm\":[64]}]]],[\"form-control-date_3.cjs\",[[0,\"justifi-identity-address-form\",{\"handleFormUpdate\":[16],\"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],\"mask\":[1],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-date\",{\"name\":[1],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"payments-list-core.cjs\",[[0,\"payments-list-core\",{\"getPayments\":[16],\"payments\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"params\":[32]},null,{\"params\":[\"updateOnPropChange\"],\"getPayments\":[\"updateOnPropChange\"]}]]],[\"business-details-core.cjs\",[[0,\"business-details-core\",{\"getBusiness\":[16],\"business\":[32],\"renderState\":[32],\"errorMessage\":[32]}]]],[\"payouts-list-core.cjs\",[[0,\"payouts-list-core\",{\"getPayouts\":[16],\"getPayoutCSV\":[16],\"payouts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"params\":[32]},null,{\"params\":[\"updateOnPropChange\"],\"getPayouts\":[\"updateOnPropChange\"]}]]],[\"payment-details-core.cjs\",[[0,\"payment-details-core\",{\"getPaymentDetails\":[16],\"payment\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPaymentDetails\":[\"updateOnPropChange\"]}]]],[\"payout-details-core.cjs\",[[0,\"payout-details-core\",{\"getPayout\":[16],\"getPayoutCSV\":[16],\"payout\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPayout\":[\"getPayoutWatcher\"]}]]],[\"justifi-payment-method-selector.cjs\",[[0,\"justifi-payment-method-selector\",{\"selectedPaymentMethodType\":[1,\"selected-payment-method-type\"]}]]],[\"justifi-season-interruption-insurance-core.cjs\",[[1,\"justifi-season-interruption-insurance-core\",{\"checkoutId\":[1,\"checkout-id\"],\"getQuote\":[16],\"toggleCoverage\":[16],\"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]}]]],[\"custom-popper.cjs\",[[4,\"custom-popper\",{\"placement\":[1],\"offset\":[16],\"strategy\":[1],\"trigger\":[1],\"anchorRef\":[16],\"isOpen\":[32]}]]],[\"justifi-details.cjs\",[[1,\"justifi-details\",{\"errorMessage\":[1,\"error-message\"]}]]],[\"pagination-menu.cjs\",[[0,\"pagination-menu\",{\"paging\":[16],\"params\":[16]}]]],[\"form-control-error-text_4.cjs\",[[0,\"form-control-select\",{\"name\":[8],\"label\":[1],\"options\":[16],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-text\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-error-text\",{\"errorText\":[1,\"error-text\"],\"name\":[1]}],[0,\"form-control-help-text\",{\"helpText\":[1,\"help-text\"],\"name\":[1]}]]],[\"form-alert_5.cjs\",[[0,\"justifi-business-representative\",{\"formController\":[16],\"errors\":[32],\"representative\":[32]}],[0,\"justifi-business-core-info\",{\"formController\":[16],\"errors\":[32],\"coreInfo\":[32]}],[0,\"justifi-additional-questions\",{\"formController\":[16],\"errors\":[32],\"additional_questions\":[32]}],[0,\"justifi-legal-address-form\",{\"formController\":[16],\"errors\":[32],\"legal_address\":[32]}],[0,\"form-alert\",{\"text\":[1],\"hideAlert\":[4,\"hide-alert\"]}]]],[\"payments-list-filters_2.cjs\",[[0,\"payments-list-filters\",{\"params\":[16],\"setParamsOnChange\":[16],\"clearParams\":[16]}],[4,\"table-filters-menu\",{\"params\":[8],\"clearParams\":[16],\"anchorButton\":[32],\"menu\":[32],\"showClearButton\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]],{\"params\":[\"watchParamsHandler\"]}]]],[\"justifi-business-representative-form-inputs.cjs\",[[0,\"justifi-business-representative-form-inputs\",{\"representativeDefaultValue\":[8,\"representative-default-value\"],\"errors\":[8],\"formController\":[16]}]]],[\"form-control-file.cjs\",[[0,\"form-control-file\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"documentType\":[1,\"document-type\"],\"inputHandler\":[16],\"disabled\":[4],\"files\":[32],\"fileString\":[32]}]]],[\"justifi-payment-method-form.cjs\",[[0,\"justifi-payment-method-form\",{\"paymentMethodFormType\":[1,\"payment-method-form-type\"],\"paymentMethodFormValidationMode\":[1025,\"payment-method-form-validation-mode\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"singleLine\":[4,\"single-line\"],\"resize\":[64],\"tokenize\":[64],\"validate\":[64]}]]],[\"form-control-monetary.cjs\",[[0,\"form-control-monetary\",{\"label\":[1],\"name\":[1],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"maskOptions\":[8,\"mask-options\"],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-billing-form_2.cjs\",[[0,\"justifi-save-new-payment-method\",{\"isChecked\":[32]}],[1,\"justifi-billing-form\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}]]],[\"additional-questions-details_5.cjs\",[[0,\"additional-questions-details\",{\"additionalQuestions\":[16]}],[0,\"generic-info-details\",{\"business\":[16]}],[0,\"legal-address-details\",{\"legalAddress\":[16]}],[0,\"owner-details\",{\"owners\":[16]}],[0,\"representative-details\",{\"representative\":[16]}]]],[\"justifi-new-payment-method_4.cjs\",[[0,\"justifi-payment-method-options\",{\"showCard\":[4,\"show-card\"],\"showAch\":[4,\"show-ach\"],\"showBnpl\":[4,\"show-bnpl\"],\"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\"],\"iframeOrigin\":[1025,\"iframe-origin\"],\"savedPaymentMethods\":[16],\"paymentAmount\":[2,\"payment-amount\"],\"selectedPaymentMethodId\":[32],\"paymentMethodOptions\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64]},[[0,\"paymentMethodOptionSelected\",\"paymentMethodOptionSelected\"]],{\"savedPaymentMethods\":[\"paymentMethodsChanged\"]}],[0,\"justifi-new-payment-method\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"isSelected\":[4,\"is-selected\"],\"saveNewPaymentMethodChecked\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64]},[[0,\"checkboxChanged\",\"handleCheckboxChanged\"]]],[0,\"justifi-saved-payment-method\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"resolvePaymentMethod\":[64]}],[0,\"justifi-sezzle-payment-method\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"bnpl\":[8],\"clientId\":[1,\"client-id\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"paymentAmount\":[2,\"payment-amount\"],\"installmentPlan\":[32],\"sezzleCheckout\":[32],\"sezzlePromise\":[32],\"resolvePaymentMethod\":[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],\"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],\"patchOwner\":[16],\"postOwner\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16],\"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-control-checkbox_9.cjs\",[[0,\"justifi-business-owners-form-step-core\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"ownersPayload\":[32],\"refs\":[32],\"newFormOpen\":[32],\"validateAndSubmit\":[64]},[[0,\"ownerSubmitted\",\"handleOwnerSubmit\"]],{\"ownersPayload\":[\"ownersWatcher\"]}],[0,\"justifi-business-representative-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"representative\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-business-core-info-form-step-core\",{\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"coreInfo\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-additional-questions-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"additional_questions\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-legal-address-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"legal_address\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-business-document-upload-input-group\",{\"paymentVolume\":[1,\"payment-volume\"],\"inputHandler\":[16],\"storeFiles\":[16],\"errors\":[8]}],[0,\"form-control-checkbox\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[4,\"default-value\"],\"inputHandler\":[16],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"justifi-business-documents-on-file\",{\"documents\":[8]}],[0,\"justifi-business-terms-conditions-text\"]]],[\"justifi-additional-questions-form-step_10.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]}],[0,\"justifi-payment-provisioning-form-buttons\",{\"currentStep\":[2,\"current-step\"],\"totalSteps\":[2,\"total-steps\"],\"formLoading\":[4,\"form-loading\"],\"formDisabled\":[4,\"form-disabled\"],\"previousStepButtonOnClick\":[16],\"nextStepButtonOnClick\":[16]}],[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-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-business-document-upload-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"existingDocuments\":[32],\"paymentVolume\":[32],\"business\":[32],\"documentData\":[32],\"renderState\":[32],\"validateAndSubmit\":[64]}],[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-bank-account-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"bankAccount\":[32],\"validateAndSubmit\":[64]}],[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],\"validateAndSubmit\":[64]}]]]]"), options);
|
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"justifi-payment-provisioning.cjs\",[[0,\"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-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],\"errorMessage\":[32]}]]],[\"justifi-checkout.cjs\",[[4,\"justifi-checkout\",{\"iframeOrigin\":[1,\"iframe-origin\"],\"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\"],\"getCheckout\":[32],\"complete\":[32],\"errorMessage\":[32],\"fillBillingForm\":[64]},null,{\"authToken\":[\"propChanged\"],\"checkoutId\":[\"propChanged\"]}]]],[\"justifi-payments-list.cjs\",[[1,\"justifi-payments-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"getPayments\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payment-form.cjs\",[[1,\"justifi-payment-form\",{\"bankAccount\":[4,\"bank-account\"],\"card\":[4],\"email\":[1],\"clientId\":[1,\"client-id\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"submitButtonText\":[1,\"submit-button-text\"],\"submitButtonEnabled\":[32],\"isLoading\":[32],\"selectedPaymentMethodType\":[32],\"fillBillingForm\":[64],\"enableSubmitButton\":[64],\"disableSubmitButton\":[64]}]]],[\"justifi-business-details.cjs\",[[1,\"justifi-business-details\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"errorMessage\":[32],\"getBusiness\":[32]}]]],[\"justifi-payouts-list.cjs\",[[1,\"justifi-payouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"getPayouts\":[32],\"getPayoutCSV\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-refund-form.cjs\",[[1,\"justifi-refund-form\",{\"authToken\":[1,\"auth-token\"],\"paymentId\":[1,\"payment-id\"],\"amount\":[2],\"submitButtonText\":[1,\"submit-button-text\"],\"withButton\":[4,\"with-button\"],\"refundInfoText\":[1,\"refund-info-text\"],\"errors\":[32],\"isSubmitting\":[32]}]]],[\"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],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"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-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-bank-account-form.cjs\",[[0,\"justifi-bank-account-form\",{\"validationMode\":[1025,\"validation-mode\"],\"iframeOrigin\":[1025,\"iframe-origin\"],\"internalStyleOverrides\":[32],\"tokenize\":[64],\"validate\":[64],\"resize\":[64]},[[0,\"paymentMethodFormReady\",\"readyHandler\"],[0,\"paymentMethodFormTokenized\",\"tokenizeHandler\"],[0,\"paymentMethodFormValidated\",\"validateHandler\"]]]]],[\"justifi-card-form.cjs\",[[0,\"justifi-card-form\",{\"validationMode\":[1025,\"validation-mode\"],\"iframeOrigin\":[1025,\"iframe-origin\"],\"singleLine\":[4,\"single-line\"],\"internalStyleOverrides\":[32],\"tokenize\":[64],\"validate\":[64],\"resize\":[64]},[[0,\"paymentMethodFormReady\",\"readyHandler\"],[0,\"paymentMethodFormTokenized\",\"tokenizeHandler\"],[0,\"paymentMethodFormValidated\",\"validateHandler\"]]]]],[\"gross-payment-chart-core.cjs\",[[0,\"gross-payment-chart-core\",{\"getGrossPayment\":[16],\"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-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]}]]],[\"custom-popper_5.cjs\",[[0,\"form-control-select\",{\"name\":[8],\"label\":[1],\"options\":[16],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-text\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16],\"disabled\":[4]},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],\"isOpen\":[32]}],[0,\"form-control-error-text\",{\"errorText\":[1,\"error-text\"],\"name\":[1]}]]],[\"justifi-payment-provisioning-core.cjs\",[[1,\"justifi-payment-provisioning-core\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"getBusiness\":[16],\"postProvisioning\":[16],\"loading\":[32],\"businessProvisioned\":[32],\"currentStep\":[32],\"errorMessage\":[32]},[[0,\"formLoading\",\"handleFormLoading\"]]]]],[\"justifi-checkout-core.cjs\",[[1,\"justifi-checkout-core\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"authToken\":[1,\"auth-token\"],\"getCheckout\":[16],\"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\"],\"hasLoadedFonts\":[32],\"checkout\":[32],\"serverError\":[32],\"renderState\":[32],\"creatingNewPaymentMethod\":[32],\"insuranceToggled\":[32],\"fillBillingForm\":[64]}]]],[\"payments-list-core.cjs\",[[0,\"payments-list-core\",{\"getPayments\":[16],\"payments\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"params\":[32]},null,{\"params\":[\"updateOnPropChange\"],\"getPayments\":[\"updateOnPropChange\"]}]]],[\"business-details-core.cjs\",[[0,\"business-details-core\",{\"getBusiness\":[16],\"business\":[32],\"renderState\":[32],\"errorMessage\":[32]}]]],[\"payouts-list-core.cjs\",[[0,\"payouts-list-core\",{\"getPayouts\":[16],\"getPayoutCSV\":[16],\"payouts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"params\":[32]},null,{\"params\":[\"updateOnPropChange\"],\"getPayouts\":[\"updateOnPropChange\"]}]]],[\"payment-details-core.cjs\",[[0,\"payment-details-core\",{\"getPaymentDetails\":[16],\"payment\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPaymentDetails\":[\"updateOnPropChange\"]}]]],[\"payout-details-core.cjs\",[[0,\"payout-details-core\",{\"getPayout\":[16],\"getPayoutCSV\":[16],\"payout\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPayout\":[\"getPayoutWatcher\"]}]]],[\"justifi-payment-method-selector.cjs\",[[0,\"justifi-payment-method-selector\",{\"selectedPaymentMethodType\":[1,\"selected-payment-method-type\"]}]]],[\"justifi-season-interruption-insurance-core.cjs\",[[1,\"justifi-season-interruption-insurance-core\",{\"checkoutId\":[1,\"checkout-id\"],\"getQuote\":[16],\"toggleCoverage\":[16],\"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]}]]],[\"justifi-details.cjs\",[[1,\"justifi-details\",{\"errorMessage\":[1,\"error-message\"]}]]],[\"pagination-menu.cjs\",[[0,\"pagination-menu\",{\"paging\":[16],\"params\":[16]}]]],[\"form-control-date_3.cjs\",[[0,\"justifi-identity-address-form\",{\"handleFormUpdate\":[16],\"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],\"mask\":[1],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-date\",{\"name\":[1],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"filterTimeZone\":[4,\"filter-time-zone\"],\"showTime\":[4,\"show-time\"]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"form-alert_5.cjs\",[[0,\"justifi-business-representative\",{\"formController\":[16],\"errors\":[32],\"representative\":[32]}],[0,\"justifi-additional-questions\",{\"formController\":[16],\"errors\":[32],\"additional_questions\":[32]}],[0,\"justifi-business-core-info\",{\"formController\":[16],\"errors\":[32],\"coreInfo\":[32]}],[0,\"justifi-legal-address-form\",{\"formController\":[16],\"errors\":[32],\"legal_address\":[32]}],[0,\"form-alert\",{\"text\":[1],\"hideAlert\":[4,\"hide-alert\"]}]]],[\"payments-list-filters_2.cjs\",[[0,\"payments-list-filters\",{\"params\":[16],\"setParamsOnChange\":[16],\"clearParams\":[16]}],[4,\"table-filters-menu\",{\"params\":[8],\"clearParams\":[16],\"anchorButton\":[32],\"menu\":[32],\"showClearButton\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]],{\"params\":[\"watchParamsHandler\"]}]]],[\"justifi-business-representative-form-inputs.cjs\",[[0,\"justifi-business-representative-form-inputs\",{\"representativeDefaultValue\":[8,\"representative-default-value\"],\"errors\":[8],\"formController\":[16]}]]],[\"form-control-file.cjs\",[[0,\"form-control-file\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"documentType\":[1,\"document-type\"],\"inputHandler\":[16],\"disabled\":[4],\"files\":[32],\"fileString\":[32]}]]],[\"justifi-payment-method-form.cjs\",[[0,\"justifi-payment-method-form\",{\"paymentMethodFormType\":[1,\"payment-method-form-type\"],\"paymentMethodFormValidationMode\":[1025,\"payment-method-form-validation-mode\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"singleLine\":[4,\"single-line\"],\"resize\":[64],\"tokenize\":[64],\"validate\":[64]}]]],[\"justifi-billing-form_2.cjs\",[[0,\"justifi-save-new-payment-method\",{\"isChecked\":[32]}],[1,\"justifi-billing-form\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}]]],[\"additional-questions-details_5.cjs\",[[0,\"additional-questions-details\",{\"additionalQuestions\":[16]}],[0,\"generic-info-details\",{\"business\":[16]}],[0,\"legal-address-details\",{\"legalAddress\":[16]}],[0,\"owner-details\",{\"owners\":[16]}],[0,\"representative-details\",{\"representative\":[16]}]]],[\"justifi-new-payment-method_4.cjs\",[[0,\"justifi-payment-method-options\",{\"showCard\":[4,\"show-card\"],\"showAch\":[4,\"show-ach\"],\"showBnpl\":[4,\"show-bnpl\"],\"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\"],\"iframeOrigin\":[1025,\"iframe-origin\"],\"savedPaymentMethods\":[16],\"paymentAmount\":[2,\"payment-amount\"],\"selectedPaymentMethodId\":[32],\"paymentMethodOptions\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64]},[[0,\"paymentMethodOptionSelected\",\"paymentMethodOptionSelected\"]],{\"savedPaymentMethods\":[\"paymentMethodsChanged\"]}],[0,\"justifi-new-payment-method\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"isSelected\":[4,\"is-selected\"],\"saveNewPaymentMethodChecked\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64]},[[0,\"checkboxChanged\",\"handleCheckboxChanged\"]]],[0,\"justifi-saved-payment-method\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"resolvePaymentMethod\":[64]}],[0,\"justifi-sezzle-payment-method\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"bnpl\":[8],\"clientId\":[1,\"client-id\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"paymentAmount\":[2,\"payment-amount\"],\"installmentPlan\":[32],\"sezzleCheckout\":[32],\"sezzlePromise\":[32],\"resolvePaymentMethod\":[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],\"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],\"patchOwner\":[16],\"postOwner\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16],\"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-control-help-text_2.cjs\",[[0,\"form-control-monetary\",{\"label\":[1],\"name\":[1],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"maskOptions\":[8,\"mask-options\"],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-help-text\",{\"helpText\":[1,\"help-text\"],\"name\":[1]}]]],[\"form-control-checkbox_9.cjs\",[[0,\"justifi-business-owners-form-step-core\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"ownersPayload\":[32],\"refs\":[32],\"newFormOpen\":[32],\"validateAndSubmit\":[64]},[[0,\"ownerSubmitted\",\"handleOwnerSubmit\"]],{\"ownersPayload\":[\"ownersWatcher\"]}],[0,\"justifi-business-representative-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"representative\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-additional-questions-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"additional_questions\":[32],\"recurringPayments\":[32],\"validateAndSubmit\":[64]},null,{\"additional_questions\":[\"recurringPaymentsWatcher\"]}],[0,\"justifi-business-core-info-form-step-core\",{\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"coreInfo\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-legal-address-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"legal_address\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-business-document-upload-input-group\",{\"paymentVolume\":[1,\"payment-volume\"],\"inputHandler\":[16],\"storeFiles\":[16],\"errors\":[8]}],[0,\"form-control-checkbox\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[4,\"default-value\"],\"inputHandler\":[16],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"justifi-business-documents-on-file\",{\"documents\":[8]}],[0,\"justifi-business-terms-conditions-text\"]]],[\"justifi-additional-questions-form-step_10.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]}],[0,\"justifi-payment-provisioning-form-buttons\",{\"currentStep\":[2,\"current-step\"],\"totalSteps\":[2,\"total-steps\"],\"formLoading\":[4,\"form-loading\"],\"formDisabled\":[4,\"form-disabled\"],\"previousStepButtonOnClick\":[16],\"nextStepButtonOnClick\":[16]}],[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-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-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-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-business-document-upload-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"existingDocuments\":[32],\"paymentVolume\":[32],\"business\":[32],\"documentData\":[32],\"renderState\":[32],\"validateAndSubmit\":[64]}],[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-bank-account-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"bankAccount\":[32],\"validateAndSubmit\":[64]}],[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],\"validateAndSubmit\":[64]}]]]]"), options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -10,6 +10,12 @@ export var PaymentMethodTypes;
|
|
|
10
10
|
PaymentMethodTypes["sezzle"] = "sezzle";
|
|
11
11
|
PaymentMethodTypes["saved"] = "saved";
|
|
12
12
|
})(PaymentMethodTypes || (PaymentMethodTypes = {}));
|
|
13
|
+
export var PaymentTypes;
|
|
14
|
+
(function (PaymentTypes) {
|
|
15
|
+
PaymentTypes["card"] = "Card";
|
|
16
|
+
PaymentTypes["bankAccount"] = "ACH";
|
|
17
|
+
PaymentTypes["unknown"] = "Unknown";
|
|
18
|
+
})(PaymentTypes || (PaymentTypes = {}));
|
|
13
19
|
export var PaymentStatuses;
|
|
14
20
|
(function (PaymentStatuses) {
|
|
15
21
|
PaymentStatuses["pending"] = "pending";
|
|
@@ -17,6 +23,7 @@ export var PaymentStatuses;
|
|
|
17
23
|
PaymentStatuses["authorized"] = "authorized";
|
|
18
24
|
PaymentStatuses["succeeded"] = "succeeded";
|
|
19
25
|
PaymentStatuses["failed"] = "failed";
|
|
26
|
+
PaymentStatuses["canceled"] = "canceled";
|
|
20
27
|
PaymentStatuses["disputed"] = "disputed";
|
|
21
28
|
PaymentStatuses["fully_refunded"] = "fully_refunded";
|
|
22
29
|
PaymentStatuses["partially_refunded"] = "partially_refunded";
|
|
@@ -115,4 +122,12 @@ export class Payment {
|
|
|
115
122
|
return PaymentDisputedStatuses.open;
|
|
116
123
|
}
|
|
117
124
|
}
|
|
125
|
+
get paymentType() {
|
|
126
|
+
if (this.payment_method) {
|
|
127
|
+
return this.payment_method.card ? PaymentTypes.card : PaymentTypes.bankAccount;
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
return PaymentTypes.unknown;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
118
133
|
}
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"components/form/form-helpers/form-alert/form-alert.js",
|
|
62
62
|
"components/form/form-helpers/form-control-error-text/form-control-error-text.js",
|
|
63
63
|
"components/form/form-helpers/form-control-help-text/form-control-help-text.js",
|
|
64
|
+
"components/form/form-helpers/form-control-tooltip/form-control-tooltip.js",
|
|
64
65
|
"components/gross-payment-chart/gross-payment-chart-core.js",
|
|
65
66
|
"components/gross-payment-chart/gross-payment-chart.js",
|
|
66
67
|
"components/insurance/season-interruption/season-interruption-insurance-core.js",
|
|
@@ -17,7 +17,7 @@ export class IdentityAddressForm {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
20
|
-
return (h(Host, { key: 'd090676d3bb1d9de9ae947ff25d94b5985ace914', exportparts: "label,input,input-invalid" }, h("div", { key: '64ddec6db508d27b709ad551f60fe58494631fe3', class: "row gy-3" }, h("div", { key: '7e0f89b7b8d5a466b89efad75498c5d1f2cac8ea', class: "col-12 col-md-8" }, h("form-control-text", { key: '
|
|
20
|
+
return (h(Host, { key: 'd090676d3bb1d9de9ae947ff25d94b5985ace914', exportparts: "label,input,input-invalid" }, h("div", { key: '64ddec6db508d27b709ad551f60fe58494631fe3', class: "row gy-3" }, h("div", { key: '7e0f89b7b8d5a466b89efad75498c5d1f2cac8ea', class: "col-12 col-md-8" }, h("form-control-text", { key: '0fdbbf48001fe60c5bf5e7a07d7b43186ca2f0eb', name: "line1", label: "Street Address", defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, inputHandler: this.inputHandler, helpText: "\u200B\u200BEnter your address exactly as stated on your driver's license. No PO Boxes." })), h("div", { key: '2b17a0fcd80dbea0703ac0291d5e509b0c14d9c8', class: "col-12 col-md-4" }, h("form-control-text", { key: 'ae29fceaf3af789789c86f545dab6a9d0e4c8429', name: "line2", label: "Apartment, Suite, etc. (optional)", defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2, inputHandler: this.inputHandler })), h("div", { key: '55ccf8053ec8e3c1f4534c47d8d23eeac3383d13', class: "col-12" }, h("form-control-text", { key: '3a3ca85cbf0514da6828e3f5a0bf0fd4b9e983c8', name: "city", label: "City", defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city, inputHandler: this.inputHandler })), h("div", { key: 'daf6e6031b8dfab6a3e0170f96cc2f0649ded7ce', class: "col-12 col-md-6" }, h("form-control-select", { key: '08791966d72817826f23c3d55ffe3cbaad0ac3bd', name: "state", label: "State", defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, options: StateOptions, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state, inputHandler: this.inputHandler })), h("div", { key: 'c97882ae4c598f762ec32e9ff54b819077ba7193', class: "col-12 col-md-6" }, h("form-control-text", { key: '562ffc8ad8de252d009a284b7b61f978084034dd', name: "postal_code", label: "Postal Code", defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler, inputHandler: this.inputHandler })), h("div", { key: '6fda38b6ab0618bd9c47ae51417f3b7e10148f53', class: "col-12" }, h("form-control-select", { key: 'df9ec4209e2c82ba05af0160cb74849c20110bae', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: (_l = this.defaultValues) === null || _l === void 0 ? void 0 : _l.country, errorText: (_m = this.errors) === null || _m === void 0 ? void 0 : _m.country,
|
|
21
21
|
// just for now so we skip handling country specificities
|
|
22
22
|
disabled: true })))));
|
|
23
23
|
}
|
|
@@ -14,7 +14,7 @@ export class BusinessOwnerFormInputs {
|
|
|
14
14
|
this.formController = undefined;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h("div", { key: '6fcc165d4bc75b92403d9031ad98f05f6b1dcd34', class:
|
|
17
|
+
return (h("div", { key: '6fcc165d4bc75b92403d9031ad98f05f6b1dcd34', class: "row gy-3" }, h("div", { key: '74f1e42a13892e95497a99684ba9de64719edb72', class: "col-12 col-md-8" }, h("form-control-text", { key: '29caea2b0b0a62822cc20c99e697f3db7c22a541', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '5b0f8da9a0512de70558baa9cb188b4d5e773dc2', class: "col-12 col-md-4" }, h("form-control-text", { key: '40d66a25fbf825fccb2e3c2b6a4b541a6888f5d7', name: "title", label: "Title", defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '97646974ed1c539e70e602bfc8c42513b0d37c9d', class: "col-12 col-md-6" }, h("form-control-text", { key: '5f4497d54b17f556c74b5c18ea25091306d5b6d6', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '9aeb1227cd9afa053d62054222a361f42d20b925', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'c97e405262075c980b7e571eb08ab2d9414fb4d5', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '35555ccd9bfa61bbeeb85aa9586c38902b3a08a6', class: "col-12 col-md-4" }, h("form-control-date", { key: '9d865bdf390f2f88a0dc269462b6bce1d2a2675f', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '8a16b08239069ac5ac5273471ab2eeae92a299d7', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '8e74b1c7fef3087bd842394847c5b4c290be190c', name: "identification_number", label: "SSN", defaultValue: this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: 'c07f5293a29e330d2ab62cfa72f5d56e7fdee7cf', class: "col-12" }, h("justifi-identity-address-form", { key: '2b18ebc2f7de2004993d617b80067f55c6d3de4d', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))));
|
|
18
18
|
}
|
|
19
19
|
;
|
|
20
20
|
static get is() { return "owner-form-inputs"; }
|
|
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { additionalQuestionsSchema } from "../../schemas/business-additional-questions-schema";
|
|
3
3
|
import { FormController } from "../../../form/form";
|
|
4
4
|
import { AdditionalQuestions } from "../../../../api/Business";
|
|
5
|
+
import { BusinessFormStepV2 } from "../../utils/business-form-types";
|
|
5
6
|
import { CURRENCY_MASK } from "../../../../utils/form-input-masks";
|
|
6
7
|
import { businessServiceReceivedOptions, recurringPaymentsOptions, seasonalBusinessOptions } from "../../utils/business-form-options";
|
|
7
8
|
export class AdditionalQuestionsFormStepCore {
|
|
@@ -42,20 +43,31 @@ export class AdditionalQuestionsFormStepCore {
|
|
|
42
43
|
},
|
|
43
44
|
final: () => {
|
|
44
45
|
this.submitted.emit({ data: { submittedData } });
|
|
46
|
+
this.stepCompleted.emit({ data: submittedData, formStep: BusinessFormStepV2.additionalQuestions });
|
|
45
47
|
this.formLoading.emit(false);
|
|
46
48
|
}
|
|
47
49
|
});
|
|
48
50
|
};
|
|
49
51
|
this.inputHandler = (name, value) => {
|
|
50
52
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
53
|
+
this.additional_questions = new AdditionalQuestions(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
51
54
|
};
|
|
52
55
|
this.formController = undefined;
|
|
53
56
|
this.errors = {};
|
|
54
57
|
this.additional_questions = {};
|
|
58
|
+
this.recurringPayments = false;
|
|
55
59
|
this.getBusiness = undefined;
|
|
56
60
|
this.patchBusiness = undefined;
|
|
57
61
|
this.allowOptionalFields = undefined;
|
|
58
62
|
}
|
|
63
|
+
recurringPaymentsWatcher(newValue) {
|
|
64
|
+
if ((newValue === null || newValue === void 0 ? void 0 : newValue.business_recurring_payments) === 'Yes') {
|
|
65
|
+
this.recurringPayments = true;
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
this.recurringPayments = false;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
59
71
|
async validateAndSubmit({ onSuccess }) {
|
|
60
72
|
this.formController.validateAndSubmit(() => this.sendData(onSuccess));
|
|
61
73
|
}
|
|
@@ -76,7 +88,7 @@ export class AdditionalQuestionsFormStepCore {
|
|
|
76
88
|
render() {
|
|
77
89
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
78
90
|
const additionalQuestionsDefaultValue = this.formController.getInitialValues();
|
|
79
|
-
return (h("form", { key: '
|
|
91
|
+
return (h("form", { key: '4a72792da50b0a4feaed0ced62266aa78b2e3c6b' }, h("fieldset", { key: 'de77f0e1933a7e5a1dc4c99906d4b4b5385f66ee' }, h("div", { key: '121f4a2ede83b5d91757c18bb1fb223a866470ea', class: "d-flex align-items-center gap-2" }, h("legend", { key: '15d0b9d2fc50e5bd5746be1d589e902feb2583ca', class: "mb-0" }, "Additional Questions"), h("form-control-tooltip", { key: 'e1babd3de64a0dd1c6daa70691e8d46183a8fd3e', helpText: "This information helps us understand the business and identify and monitor trends to safeguard you and your customers." })), h("hr", { key: '44ca37e8de71170488b58b4a4117e287e6ab0766', class: "mt-2" }), h("div", { key: '655521e5a3774d72ec026e9ca7309b680710b40d', class: "row gy-3" }, h("div", { key: 'bfd69518ce9c2efc1db13d0e8d708a995181a6cc', class: "col-12 col-md-6" }, h("form-control-monetary", { key: 'bcaac6bcc18fad927c42e3881e8ef21a3f6bc972', name: "business_revenue", label: "What is your business\u2019 estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '1f1b0ae79efd5d58554cd88dbb04defa0d2bdc9b', class: "col-12 col-md-6" }, h("form-control-monetary", { key: 'f4f561cf3bea66969e310827c6c8a7d7b02a02ba', name: "business_payment_volume", label: "What is your business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'c23361e909ec2854a2289e7a361c9cb60019b46a', class: "col-12" }, h("form-control-select", { key: 'bda327ec9c7435c1cd27cfe4c5c29dfdb7245ec0', name: "business_when_service_received", label: "On average, how long after paying will your customers typically receive their goods or services?", inputHandler: this.inputHandler, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: '27bcc5431a686e824615ae01dead1f5104c9b94a', class: "col-12" }, h("form-control-select", { key: '082d23acbbd37508d217cc21b7768117408d763f', name: "business_recurring_payments", label: "Does your business offer recurring payments?", inputHandler: this.inputHandler, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: '4167027883cdff3ad77a4079dd373fabf09d9ec5', class: 'col-12', hidden: !this.recurringPayments }, h("form-control-text", { key: 'f07a610b67e17d733288cdb1f848e03250aea598', name: "business_recurring_payments_percentage", label: "What percent of revenue is generated from each recurring payment type offered?", inputHandler: this.inputHandler, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage, helpText: "For example: 50% monthly, 50% annual." })), h("div", { key: '9baae4260f1cda1d43e594ce3a96461584e0a67e', class: "col-12" }, h("form-control-select", { key: 'a61245d3c61cc7de903bfdc5f3082065c58ce554', name: "business_seasonal", label: "Is this business seasonal?", inputHandler: this.inputHandler, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: 'd98b4071d9e70643d1808b913062e479b7d28cda', class: "col-12" }, h("form-control-text", { key: '5b7103e0fbc391dba09fd5cf0adebcfa827ddb14', name: "business_other_payment_details", label: "Is there anything else you would like us to know about how your customers pay the business? (optional)", inputHandler: this.inputHandler, errorText: (_g = this.errors) === null || _g === void 0 ? void 0 : _g.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
|
|
80
92
|
}
|
|
81
93
|
static get is() { return "justifi-additional-questions-form-step-core"; }
|
|
82
94
|
static get properties() {
|
|
@@ -144,7 +156,8 @@ export class AdditionalQuestionsFormStepCore {
|
|
|
144
156
|
return {
|
|
145
157
|
"formController": {},
|
|
146
158
|
"errors": {},
|
|
147
|
-
"additional_questions": {}
|
|
159
|
+
"additional_questions": {},
|
|
160
|
+
"recurringPayments": {}
|
|
148
161
|
};
|
|
149
162
|
}
|
|
150
163
|
static get events() {
|
|
@@ -169,6 +182,27 @@ export class AdditionalQuestionsFormStepCore {
|
|
|
169
182
|
}
|
|
170
183
|
}
|
|
171
184
|
}
|
|
185
|
+
}, {
|
|
186
|
+
"method": "stepCompleted",
|
|
187
|
+
"name": "form-step-completed",
|
|
188
|
+
"bubbles": true,
|
|
189
|
+
"cancelable": true,
|
|
190
|
+
"composed": true,
|
|
191
|
+
"docs": {
|
|
192
|
+
"tags": [],
|
|
193
|
+
"text": ""
|
|
194
|
+
},
|
|
195
|
+
"complexType": {
|
|
196
|
+
"original": "BusinessFormStepCompletedEvent",
|
|
197
|
+
"resolved": "BusinessFormStepCompletedEvent",
|
|
198
|
+
"references": {
|
|
199
|
+
"BusinessFormStepCompletedEvent": {
|
|
200
|
+
"location": "import",
|
|
201
|
+
"path": "../../utils/business-form-types",
|
|
202
|
+
"id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormStepCompletedEvent"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
172
206
|
}, {
|
|
173
207
|
"method": "formLoading",
|
|
174
208
|
"name": "formLoading",
|
|
@@ -232,4 +266,10 @@ export class AdditionalQuestionsFormStepCore {
|
|
|
232
266
|
}
|
|
233
267
|
};
|
|
234
268
|
}
|
|
269
|
+
static get watchers() {
|
|
270
|
+
return [{
|
|
271
|
+
"propName": "additional_questions",
|
|
272
|
+
"methodName": "recurringPaymentsWatcher"
|
|
273
|
+
}];
|
|
274
|
+
}
|
|
235
275
|
}
|
|
@@ -46,7 +46,7 @@ export class AdditionalQuestionsFormStep {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h("justifi-additional-questions-form-step-core", { key: '
|
|
49
|
+
return (h("justifi-additional-questions-form-step-core", { key: '6ca8443cbe837d993be4381a9d650caaaf51f2df', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "justifi-additional-questions-form-step"; }
|
|
52
52
|
static get properties() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { FormController } from "../../../form/form";
|
|
3
|
-
import { BusinessFormStep } from "../../utils/business-form-types";
|
|
3
|
+
import { BusinessFormStep, BusinessFormStepV2 } from "../../utils/business-form-types";
|
|
4
4
|
import { businessBankAccountSchema } from "../../schemas/business-bank-account-schema";
|
|
5
5
|
import { bankAccountTypeOptions } from "../../utils/business-form-options";
|
|
6
6
|
import { Api } from "../../../../api";
|
|
@@ -97,10 +97,17 @@ export class BusinessBankAccountFormStep {
|
|
|
97
97
|
onSuccess();
|
|
98
98
|
}
|
|
99
99
|
this.submitted.emit({ data: response, metadata: { completedStep: BusinessFormStep.bankAccount } });
|
|
100
|
+
this.stepCompleted.emit({ data: response, formStep: BusinessFormStepV2.bankAccount });
|
|
100
101
|
}
|
|
101
102
|
async validateAndSubmit({ onSuccess }) {
|
|
102
|
-
this.formDisabled
|
|
103
|
+
if (this.formDisabled) {
|
|
104
|
+
this.stepCompleted.emit({ data: null, formStep: BusinessFormStepV2.bankAccount, metadata: 'no data submitted' });
|
|
105
|
+
onSuccess();
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
103
108
|
this.formController.validateAndSubmit(() => this.sendData(onSuccess));
|
|
109
|
+
}
|
|
110
|
+
;
|
|
104
111
|
}
|
|
105
112
|
;
|
|
106
113
|
componentWillLoad() {
|
|
@@ -118,7 +125,7 @@ export class BusinessBankAccountFormStep {
|
|
|
118
125
|
}
|
|
119
126
|
render() {
|
|
120
127
|
const bankAccountDefaultValue = this.formController.getInitialValues();
|
|
121
|
-
return (h("form", { key: '
|
|
128
|
+
return (h("form", { key: 'c19f52934f1fa591d71175d1a0a584c0e9d0bd92' }, h("fieldset", { key: '96c326422e38efe3413b282fcc2415355108992c' }, h("div", { key: '7a39297bc087e310ad28fbdd58e71b509c002132', class: "d-flex align-items-center gap-2" }, h("legend", { key: '81b0cc0fc84846e04f3efb1efc0c33c181a3399d', class: "mb-0" }, "Bank Account Info"), h("form-control-tooltip", { key: 'f24f0605251a59c7df3a01bfb5d01302e95b45ba', helpText: "The Direct Deposit Account is the business bank account where your 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", { key: '8386d2b17e191ca529a663ced0c430e71c3da4d6', class: "mt-2" }), h("div", { key: 'd5ddcc4c0b54320a0e1f1fd381dd41e8bdb86c2f', class: "row gy-3" }, h("div", { key: '29bd4e26bed9fef74ee79241d5dc6fd9a4d5954e', class: "col-12" }, h("form-control-text", { key: 'ac9781048b7dfb24da9565b058994ffd78053db9', name: "bank_name", label: "Bank Name", defaultValue: bankAccountDefaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: 'db9d13b0a62927b790bdcf5bc77ffa4fbadb227b', class: "col-12" }, h("form-control-text", { key: '41d192f0d9df09e62aa929642ca2ae40946f951e', name: "nickname", label: "Nickname", defaultValue: bankAccountDefaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '2b37a20c6bb6f942ccf5b49e84a2d6d1669d9fd7', class: "col-12" }, h("form-control-text", { key: '0392b8d08a48ff27af80d6fa42959b90a713de4e', name: "account_owner_name", label: "Account Owner Name", defaultValue: bankAccountDefaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '2a30485d70f0825e7e677b3f4b75caf4c601090e', class: "col-12" }, h("form-control-select", { key: '65cb43b080e47208bf83099cfec12cc8351281c6', name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: bankAccountDefaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: 'ab0c65f348486814ac14ed548ecaa25610e14d58', class: "col-12" }, h("form-control-text", { key: '3c08ce88f652bfe6ae64807beab30ed796cad6c3', name: "account_number", label: "Account Number", defaultValue: bankAccountDefaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." })), h("div", { key: 'f5314db551f6d4482f151b49d9db685b78223f2a', class: "col-12" }, h("form-control-text", { key: '1f204b3140c9fc4fe20519ebc082751c291ba816', name: "routing_number", label: "Routing Number", defaultValue: bankAccountDefaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." }))))));
|
|
122
129
|
}
|
|
123
130
|
static get is() { return "justifi-business-bank-account-form-step"; }
|
|
124
131
|
static get properties() {
|
|
@@ -205,6 +212,27 @@ export class BusinessBankAccountFormStep {
|
|
|
205
212
|
}
|
|
206
213
|
}
|
|
207
214
|
}
|
|
215
|
+
}, {
|
|
216
|
+
"method": "stepCompleted",
|
|
217
|
+
"name": "form-step-completed",
|
|
218
|
+
"bubbles": true,
|
|
219
|
+
"cancelable": true,
|
|
220
|
+
"composed": true,
|
|
221
|
+
"docs": {
|
|
222
|
+
"tags": [],
|
|
223
|
+
"text": ""
|
|
224
|
+
},
|
|
225
|
+
"complexType": {
|
|
226
|
+
"original": "BusinessFormStepCompletedEvent",
|
|
227
|
+
"resolved": "BusinessFormStepCompletedEvent",
|
|
228
|
+
"references": {
|
|
229
|
+
"BusinessFormStepCompletedEvent": {
|
|
230
|
+
"location": "import",
|
|
231
|
+
"path": "../../utils/business-form-types",
|
|
232
|
+
"id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormStepCompletedEvent"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
208
236
|
}, {
|
|
209
237
|
"method": "formLoading",
|
|
210
238
|
"name": "formLoading",
|
|
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { businessCoreInfoSchema } from "../../schemas/business-core-info-schema";
|
|
3
3
|
import { FormController } from "../../../form/form";
|
|
4
4
|
import { CoreBusinessInfo } from "../../../../api/Business";
|
|
5
|
+
import { BusinessFormStepV2 } from "../../utils/business-form-types";
|
|
5
6
|
import { businessClassificationOptions } from "../../utils/business-form-options";
|
|
6
7
|
import { PHONE_MASKS } from "../../../../utils/form-input-masks";
|
|
7
8
|
import { numberOnlyHandler } from "../../../form/utils";
|
|
@@ -43,6 +44,7 @@ export class BusinessCoreInfoFormStepCore {
|
|
|
43
44
|
},
|
|
44
45
|
final: () => {
|
|
45
46
|
this.submitted.emit({ data: { submittedData } });
|
|
47
|
+
this.stepCompleted.emit({ data: submittedData, formStep: BusinessFormStepV2.businessInfo });
|
|
46
48
|
this.formLoading.emit(false);
|
|
47
49
|
}
|
|
48
50
|
});
|
|
@@ -77,7 +79,7 @@ export class BusinessCoreInfoFormStepCore {
|
|
|
77
79
|
}
|
|
78
80
|
render() {
|
|
79
81
|
const coreInfoDefaultValue = this.formController.getInitialValues();
|
|
80
|
-
return (h("form", { key: '
|
|
82
|
+
return (h("form", { key: '356323599591a3f6fdbdb634af70a90c1d614cee' }, h("fieldset", { key: '72021ae5bc712c81936a73a13bd5f62aa9208f71' }, h("div", { key: 'a92a56aeb5ac85a0bf531ac3f7905c827a91674b', class: "d-flex align-items-center gap-2" }, h("legend", { key: '0e1680b2eeacc7892dbb40a3e3b4bf94f706db25', class: "mb-0" }, "Business Information")), h("hr", { key: '4402e5e81d5e77f2d599774a9cbcab87f3e4d389', class: "mt-2" }), h("div", { key: '1e92f6236baef69ab2f00745d634dc79e0aa6660', class: "row gy-3" }, h("div", { key: '538a0496ec6d8cc4f5b9456df047ac91de3cac10', class: "col-12" }, h("form-control-text", { key: '5ae093c4b43f0c66b7a0123dedd6e0da94774380', name: "legal_name", label: "Business Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)." })), h("div", { key: 'd7f4e47beb29ca0238186ba8778323dbe180a237', class: "col-12" }, h("form-control-text", { key: '8c430079a1d803929ba55aab06d7a526c9005848', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)" })), h("div", { key: '2ff888b63c1b8a64e2cfe2d1e3ed7d9177632830', class: "col-12 col-md-8" }, h("form-control-select", { key: 'd56eecead9f19371c6f6ae353cf9701b985d5343', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: 'fdf9a1599d058f2058ddf91d41494ea33b607a4f', class: "col-12 col-md-4" }, h("form-control-date", { key: '286fbe2e49062fb8cb8800f89b21253357bc74ed', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: '83bc51ad16e48fe89cd01772faf0615a3128434e', class: "col-12 col-md-6" }, h("form-control-text", { key: 'dde1fdbc902b79440d6d9c39c6c6fdc3ad913200', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler, helpText: "Describe what you sell" })), h("div", { key: '7cc685aca26505357f3f550c278d7b83b0e8ced3', class: "col-12 col-md-6" }, h("form-control-text", { key: '519a7f1672908413d4b1a4c09155aece58c176d9', name: "tax_id", label: "Tax ID (EIN or SSN)", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, maxLength: 9, helpText: "Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns." })), h("div", { key: 'a9e8c6c2c8e1f664869601c23ba951cc737c933c', class: "col-12" }, h("form-control-text", { key: 'a2285b78e6999a5e1de151c1258103496637b545', name: "website_url", label: "Business Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler, helpText: "Don't have a live website? You can use your social media business page, app store link, or staging site URL." })), h("div", { key: '0429aeb3991171d67990b96c89bcb8232a123848', class: "col-12 col-md-6" }, h("form-control-text", { key: '95b7f8153c178ea4dc0dc2631379f9012bbe2f8b', name: "email", label: "Business Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '90511bdbe0e23df68c1eba13a0cfccdf97f155e9', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '4fcde2104c1ad04ecc47a010c8219630b9717e43', name: "phone", label: "Business Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
|
|
81
83
|
}
|
|
82
84
|
static get is() { return "justifi-business-core-info-form-step-core"; }
|
|
83
85
|
static get properties() {
|
|
@@ -187,6 +189,27 @@ export class BusinessCoreInfoFormStepCore {
|
|
|
187
189
|
}
|
|
188
190
|
}
|
|
189
191
|
}
|
|
192
|
+
}, {
|
|
193
|
+
"method": "stepCompleted",
|
|
194
|
+
"name": "form-step-completed",
|
|
195
|
+
"bubbles": true,
|
|
196
|
+
"cancelable": true,
|
|
197
|
+
"composed": true,
|
|
198
|
+
"docs": {
|
|
199
|
+
"tags": [],
|
|
200
|
+
"text": ""
|
|
201
|
+
},
|
|
202
|
+
"complexType": {
|
|
203
|
+
"original": "BusinessFormStepCompletedEvent",
|
|
204
|
+
"resolved": "BusinessFormStepCompletedEvent",
|
|
205
|
+
"references": {
|
|
206
|
+
"BusinessFormStepCompletedEvent": {
|
|
207
|
+
"location": "import",
|
|
208
|
+
"path": "../../utils/business-form-types",
|
|
209
|
+
"id": "src/components/business-forms/utils/business-form-types.ts::BusinessFormStepCompletedEvent"
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
190
213
|
}, {
|
|
191
214
|
"method": "formLoading",
|
|
192
215
|
"name": "formLoading",
|
|
@@ -46,7 +46,7 @@ export class BusinessCoreInfoFormStep {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h("justifi-business-core-info-form-step-core", { key: '
|
|
49
|
+
return (h("justifi-business-core-info-form-step-core", { key: '8b034d8c728aef3683823a45083764a456d07545', businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "justifi-business-core-info-form-step"; }
|
|
52
52
|
static get properties() {
|