@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
|
@@ -3848,14 +3848,15 @@ var Dinero = function Dinero(options) {
|
|
|
3848
3848
|
|
|
3849
3849
|
var dinero = Object.assign(Dinero, Defaults, Globals, Static);
|
|
3850
3850
|
|
|
3851
|
-
function formatCurrency(amount, withSymbol = true) {
|
|
3851
|
+
function formatCurrency(amount, withSymbol = true, withCurrencyName = false) {
|
|
3852
3852
|
if (!amount)
|
|
3853
3853
|
amount = 0;
|
|
3854
3854
|
function format(amount) {
|
|
3855
3855
|
const formattedString = withSymbol ? '$0,0.00' : '0,0.00';
|
|
3856
3856
|
return dinero({ amount: amount, currency: 'USD' }).toFormat(formattedString);
|
|
3857
3857
|
}
|
|
3858
|
-
|
|
3858
|
+
const formattedAmount = amount < 0 ? `(${format(-amount)})` : format(amount);
|
|
3859
|
+
return withCurrencyName ? `${formattedAmount} USD` : formattedAmount;
|
|
3859
3860
|
}
|
|
3860
3861
|
function formatDate(dateString) {
|
|
3861
3862
|
if (!dateString)
|
|
@@ -3910,22 +3911,24 @@ function extractComputedFontsToLoad() {
|
|
|
3910
3911
|
}
|
|
3911
3912
|
const MapPaymentStatusToBadge = (status) => {
|
|
3912
3913
|
switch (status) {
|
|
3914
|
+
case 'succeeded':
|
|
3915
|
+
return "<span class='badge bg-success' title='This payment was successfully captured'>Succeeded</span>";
|
|
3913
3916
|
case 'authorized':
|
|
3914
3917
|
return "<span class='badge bg-primary' title='This card payment was authorized, but not captured. It could still succeed or fail.'>Authorized</span>";
|
|
3915
|
-
case '
|
|
3916
|
-
return "<span class='badge bg-primary' title='
|
|
3918
|
+
case 'pending':
|
|
3919
|
+
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>";
|
|
3917
3920
|
case 'achFailed':
|
|
3918
3921
|
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>";
|
|
3919
3922
|
case 'failed':
|
|
3920
3923
|
return "<span class='badge bg-danger' title='This card payment didn't go through (it won't appear in a payout)'>Failed</span>";
|
|
3924
|
+
case 'canceled':
|
|
3925
|
+
return "<span class='badge bg-danger' title='This payment was canceled'>Canceled</span>";
|
|
3926
|
+
case 'disputed':
|
|
3927
|
+
return "<span class='badge bg-secondary' title='The account holder disputed this payment. The amount has been returned and a fee assessed.'>Disputed</span>";
|
|
3921
3928
|
case 'fully_refunded':
|
|
3922
|
-
return "<span class='badge bg-
|
|
3929
|
+
return "<span class='badge bg-secondary' title='The full amount of this payment has been refunded'>Fully Refunded</span>";
|
|
3923
3930
|
case 'partially_refunded':
|
|
3924
|
-
return "<span class='badge bg-
|
|
3925
|
-
case 'pending':
|
|
3926
|
-
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>";
|
|
3927
|
-
case 'succeeded':
|
|
3928
|
-
return "<span class='badge bg-success' title='This payment was successfully captured'>Successful</span>";
|
|
3931
|
+
return "<span class='badge bg-secondary' title='A portion of this payment has been refunded'>Partially Refunded</span>";
|
|
3929
3932
|
}
|
|
3930
3933
|
};
|
|
3931
3934
|
const MapPayoutStatusToBadge = (status) => {
|
|
@@ -16,5 +16,5 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy(JSON.parse("[[\"justifi-payment-provisioning\",[[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\",[[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\",[[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\",[[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\",[[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\",[[1,\"justifi-business-details\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"errorMessage\":[32],\"getBusiness\":[32]}]]],[\"justifi-payouts-list\",[[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\",[[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\",[[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\",[[1,\"justifi-payment-details\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"getPaymentDetails\":[32],\"errorMessage\":[32]},null,{\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payout-details\",[[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\",[[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\",[[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\",[[0,\"gross-payment-chart-core\",{\"getGrossPayment\":[16],\"grossVolumeReport\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getGrossPayment\":[\"propChanged\"],\"grossVolumeReport\":[\"grossVolumeReportChanged\"]}]]],[\"justifi-gross-payment-chart\",[[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\",[[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\",[[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\",[[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\",[[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\",[[0,\"payments-list-core\",{\"getPayments\":[16],\"payments\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"params\":[32]},null,{\"params\":[\"updateOnPropChange\"],\"getPayments\":[\"updateOnPropChange\"]}]]],[\"business-details-core\",[[0,\"business-details-core\",{\"getBusiness\":[16],\"business\":[32],\"renderState\":[32],\"errorMessage\":[32]}]]],[\"payouts-list-core\",[[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\",[[0,\"payment-details-core\",{\"getPaymentDetails\":[16],\"payment\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPaymentDetails\":[\"updateOnPropChange\"]}]]],[\"payout-details-core\",[[0,\"payout-details-core\",{\"getPayout\":[16],\"getPayoutCSV\":[16],\"payout\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPayout\":[\"getPayoutWatcher\"]}]]],[\"justifi-payment-method-selector\",[[0,\"justifi-payment-method-selector\",{\"selectedPaymentMethodType\":[1,\"selected-payment-method-type\"]}]]],[\"justifi-season-interruption-insurance-core\",[[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\",[[4,\"custom-popper\",{\"placement\":[1],\"offset\":[16],\"strategy\":[1],\"trigger\":[1],\"anchorRef\":[16],\"isOpen\":[32]}]]],[\"justifi-details\",[[1,\"justifi-details\",{\"errorMessage\":[1,\"error-message\"]}]]],[\"pagination-menu\",[[0,\"pagination-menu\",{\"paging\":[16],\"params\":[16]}]]],[\"form-control-error-text_4\",[[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\",[[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\",[[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\",[[0,\"justifi-business-representative-form-inputs\",{\"representativeDefaultValue\":[8,\"representative-default-value\"],\"errors\":[8],\"formController\":[16]}]]],[\"form-control-file\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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);
|
|
19
|
+
return bootstrapLazy(JSON.parse("[[\"justifi-payment-provisioning\",[[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\",[[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\",[[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\",[[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\",[[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\",[[1,\"justifi-business-details\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"errorMessage\":[32],\"getBusiness\":[32]}]]],[\"justifi-payouts-list\",[[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\",[[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\",[[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\",[[1,\"justifi-payment-details\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"getPaymentDetails\":[32],\"errorMessage\":[32]},null,{\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payout-details\",[[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\",[[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\",[[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\",[[0,\"gross-payment-chart-core\",{\"getGrossPayment\":[16],\"grossVolumeReport\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getGrossPayment\":[\"propChanged\"],\"grossVolumeReport\":[\"grossVolumeReportChanged\"]}]]],[\"justifi-gross-payment-chart\",[[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\",[[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\",[[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\",[[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\",[[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\",[[0,\"payments-list-core\",{\"getPayments\":[16],\"payments\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"params\":[32]},null,{\"params\":[\"updateOnPropChange\"],\"getPayments\":[\"updateOnPropChange\"]}]]],[\"business-details-core\",[[0,\"business-details-core\",{\"getBusiness\":[16],\"business\":[32],\"renderState\":[32],\"errorMessage\":[32]}]]],[\"payouts-list-core\",[[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\",[[0,\"payment-details-core\",{\"getPaymentDetails\":[16],\"payment\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPaymentDetails\":[\"updateOnPropChange\"]}]]],[\"payout-details-core\",[[0,\"payout-details-core\",{\"getPayout\":[16],\"getPayoutCSV\":[16],\"payout\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPayout\":[\"getPayoutWatcher\"]}]]],[\"justifi-payment-method-selector\",[[0,\"justifi-payment-method-selector\",{\"selectedPaymentMethodType\":[1,\"selected-payment-method-type\"]}]]],[\"justifi-season-interruption-insurance-core\",[[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\",[[1,\"justifi-details\",{\"errorMessage\":[1,\"error-message\"]}]]],[\"pagination-menu\",[[0,\"pagination-menu\",{\"paging\":[16],\"params\":[16]}]]],[\"form-control-date_3\",[[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\",[[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\",[[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\",[[0,\"justifi-business-representative-form-inputs\",{\"representativeDefaultValue\":[8,\"representative-default-value\"],\"errors\":[8],\"formController\":[16]}]]],[\"form-control-file\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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\",[[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);
|
|
20
20
|
});
|
package/dist/module/Payment.js
CHANGED
|
@@ -10,6 +10,12 @@ var PaymentMethodTypes;
|
|
|
10
10
|
PaymentMethodTypes["sezzle"] = "sezzle";
|
|
11
11
|
PaymentMethodTypes["saved"] = "saved";
|
|
12
12
|
})(PaymentMethodTypes || (PaymentMethodTypes = {}));
|
|
13
|
+
var PaymentTypes;
|
|
14
|
+
(function (PaymentTypes) {
|
|
15
|
+
PaymentTypes["card"] = "Card";
|
|
16
|
+
PaymentTypes["bankAccount"] = "ACH";
|
|
17
|
+
PaymentTypes["unknown"] = "Unknown";
|
|
18
|
+
})(PaymentTypes || (PaymentTypes = {}));
|
|
13
19
|
var PaymentStatuses;
|
|
14
20
|
(function (PaymentStatuses) {
|
|
15
21
|
PaymentStatuses["pending"] = "pending";
|
|
@@ -17,6 +23,7 @@ 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,6 +122,14 @@ 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
|
}
|
|
119
134
|
|
|
120
135
|
export { PaymentMethodTypes as P, Payment as a };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { b as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions } from './business-form-options.js';
|
|
3
3
|
import { C as CURRENCY_MASK } from './form-input-masks.js';
|
|
4
|
-
import { d as defineCustomElement$
|
|
5
|
-
import { d as defineCustomElement$
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
4
|
+
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
5
|
+
import { d as defineCustomElement$6 } from './form-control-error-text2.js';
|
|
6
|
+
import { d as defineCustomElement$5 } from './form-control-help-text2.js';
|
|
7
|
+
import { d as defineCustomElement$4 } from './form-control-monetary2.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './form-control-text2.js';
|
|
10
|
+
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
9
11
|
|
|
10
12
|
const AdditionalQuestions = /*@__PURE__*/ proxyCustomElement(class AdditionalQuestions extends HTMLElement {
|
|
11
13
|
constructor() {
|
|
@@ -37,34 +39,44 @@ function defineCustomElement() {
|
|
|
37
39
|
if (typeof customElements === "undefined") {
|
|
38
40
|
return;
|
|
39
41
|
}
|
|
40
|
-
const components = ["justifi-additional-questions", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-select", "form-control-text"];
|
|
42
|
+
const components = ["justifi-additional-questions", "custom-popper", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-select", "form-control-text", "form-control-tooltip"];
|
|
41
43
|
components.forEach(tagName => { switch (tagName) {
|
|
42
44
|
case "justifi-additional-questions":
|
|
43
45
|
if (!customElements.get(tagName)) {
|
|
44
46
|
customElements.define(tagName, AdditionalQuestions);
|
|
45
47
|
}
|
|
46
48
|
break;
|
|
49
|
+
case "custom-popper":
|
|
50
|
+
if (!customElements.get(tagName)) {
|
|
51
|
+
defineCustomElement$7();
|
|
52
|
+
}
|
|
53
|
+
break;
|
|
47
54
|
case "form-control-error-text":
|
|
48
55
|
if (!customElements.get(tagName)) {
|
|
49
|
-
defineCustomElement$
|
|
56
|
+
defineCustomElement$6();
|
|
50
57
|
}
|
|
51
58
|
break;
|
|
52
59
|
case "form-control-help-text":
|
|
53
60
|
if (!customElements.get(tagName)) {
|
|
54
|
-
defineCustomElement$
|
|
61
|
+
defineCustomElement$5();
|
|
55
62
|
}
|
|
56
63
|
break;
|
|
57
64
|
case "form-control-monetary":
|
|
58
65
|
if (!customElements.get(tagName)) {
|
|
59
|
-
defineCustomElement$
|
|
66
|
+
defineCustomElement$4();
|
|
60
67
|
}
|
|
61
68
|
break;
|
|
62
69
|
case "form-control-select":
|
|
63
70
|
if (!customElements.get(tagName)) {
|
|
64
|
-
defineCustomElement$
|
|
71
|
+
defineCustomElement$3();
|
|
65
72
|
}
|
|
66
73
|
break;
|
|
67
74
|
case "form-control-text":
|
|
75
|
+
if (!customElements.get(tagName)) {
|
|
76
|
+
defineCustomElement$2();
|
|
77
|
+
}
|
|
78
|
+
break;
|
|
79
|
+
case "form-control-tooltip":
|
|
68
80
|
if (!customElements.get(tagName)) {
|
|
69
81
|
defineCustomElement$1();
|
|
70
82
|
}
|
|
@@ -4,10 +4,11 @@ import { i as identityNameValidation, l as lineOneValidation, c as lineTwoValida
|
|
|
4
4
|
import { S as StateOptions } from './state-options.js';
|
|
5
5
|
import { n as numberOnlyHandler } from './utils4.js';
|
|
6
6
|
import { S as StyledHost } from './styled-host.js';
|
|
7
|
+
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
7
8
|
import { d as defineCustomElement$4 } from './form-control-error-text2.js';
|
|
8
|
-
import { d as defineCustomElement$3 } from './form-control-
|
|
9
|
-
import { d as defineCustomElement$2 } from './form-control-
|
|
10
|
-
import { d as defineCustomElement$1 } from './form-control-
|
|
9
|
+
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './form-control-text2.js';
|
|
11
|
+
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
11
12
|
|
|
12
13
|
const BillingFormSchema = create$3({
|
|
13
14
|
name: identityNameValidation.required('Enter full name'),
|
|
@@ -71,29 +72,34 @@ function defineCustomElement() {
|
|
|
71
72
|
if (typeof customElements === "undefined") {
|
|
72
73
|
return;
|
|
73
74
|
}
|
|
74
|
-
const components = ["justifi-billing-form", "form-control-error-text", "form-control-
|
|
75
|
+
const components = ["justifi-billing-form", "custom-popper", "form-control-error-text", "form-control-select", "form-control-text", "form-control-tooltip"];
|
|
75
76
|
components.forEach(tagName => { switch (tagName) {
|
|
76
77
|
case "justifi-billing-form":
|
|
77
78
|
if (!customElements.get(tagName)) {
|
|
78
79
|
customElements.define(tagName, BillingForm);
|
|
79
80
|
}
|
|
80
81
|
break;
|
|
82
|
+
case "custom-popper":
|
|
83
|
+
if (!customElements.get(tagName)) {
|
|
84
|
+
defineCustomElement$5();
|
|
85
|
+
}
|
|
86
|
+
break;
|
|
81
87
|
case "form-control-error-text":
|
|
82
88
|
if (!customElements.get(tagName)) {
|
|
83
89
|
defineCustomElement$4();
|
|
84
90
|
}
|
|
85
91
|
break;
|
|
86
|
-
case "form-control-
|
|
92
|
+
case "form-control-select":
|
|
87
93
|
if (!customElements.get(tagName)) {
|
|
88
94
|
defineCustomElement$3();
|
|
89
95
|
}
|
|
90
96
|
break;
|
|
91
|
-
case "form-control-
|
|
97
|
+
case "form-control-text":
|
|
92
98
|
if (!customElements.get(tagName)) {
|
|
93
99
|
defineCustomElement$2();
|
|
94
100
|
}
|
|
95
101
|
break;
|
|
96
|
-
case "form-control-
|
|
102
|
+
case "form-control-tooltip":
|
|
97
103
|
if (!customElements.get(tagName)) {
|
|
98
104
|
defineCustomElement$1();
|
|
99
105
|
}
|
|
@@ -2,19 +2,23 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { a as additionalQuestionsSchema } from './business-additional-questions-schema.js';
|
|
3
3
|
import { F as FormController } from './form.js';
|
|
4
4
|
import { A as AdditionalQuestions } from './Business.js';
|
|
5
|
+
import { B as BusinessFormStepV2 } from './business-form-types.js';
|
|
5
6
|
import { C as CURRENCY_MASK } from './form-input-masks.js';
|
|
6
7
|
import { b as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions } from './business-form-options.js';
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
8
|
+
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
9
|
+
import { d as defineCustomElement$6 } from './form-control-error-text2.js';
|
|
10
|
+
import { d as defineCustomElement$5 } from './form-control-help-text2.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './form-control-monetary2.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './form-control-text2.js';
|
|
14
|
+
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
12
15
|
|
|
13
16
|
const AdditionalQuestionsFormStepCore = /*@__PURE__*/ proxyCustomElement(class AdditionalQuestionsFormStepCore extends HTMLElement {
|
|
14
17
|
constructor() {
|
|
15
18
|
super();
|
|
16
19
|
this.__registerHost();
|
|
17
20
|
this.submitted = createEvent(this, "submitted", 7);
|
|
21
|
+
this.stepCompleted = createEvent(this, "form-step-completed", 7);
|
|
18
22
|
this.formLoading = createEvent(this, "formLoading", 7);
|
|
19
23
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
20
24
|
this.getData = () => {
|
|
@@ -53,20 +57,31 @@ const AdditionalQuestionsFormStepCore = /*@__PURE__*/ proxyCustomElement(class A
|
|
|
53
57
|
},
|
|
54
58
|
final: () => {
|
|
55
59
|
this.submitted.emit({ data: { submittedData } });
|
|
60
|
+
this.stepCompleted.emit({ data: submittedData, formStep: BusinessFormStepV2.additionalQuestions });
|
|
56
61
|
this.formLoading.emit(false);
|
|
57
62
|
}
|
|
58
63
|
});
|
|
59
64
|
};
|
|
60
65
|
this.inputHandler = (name, value) => {
|
|
61
66
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
67
|
+
this.additional_questions = new AdditionalQuestions(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
62
68
|
};
|
|
63
69
|
this.formController = undefined;
|
|
64
70
|
this.errors = {};
|
|
65
71
|
this.additional_questions = {};
|
|
72
|
+
this.recurringPayments = false;
|
|
66
73
|
this.getBusiness = undefined;
|
|
67
74
|
this.patchBusiness = undefined;
|
|
68
75
|
this.allowOptionalFields = undefined;
|
|
69
76
|
}
|
|
77
|
+
recurringPaymentsWatcher(newValue) {
|
|
78
|
+
if ((newValue === null || newValue === void 0 ? void 0 : newValue.business_recurring_payments) === 'Yes') {
|
|
79
|
+
this.recurringPayments = true;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
this.recurringPayments = false;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
70
85
|
async validateAndSubmit({ onSuccess }) {
|
|
71
86
|
this.formController.validateAndSubmit(() => this.sendData(onSuccess));
|
|
72
87
|
}
|
|
@@ -87,8 +102,11 @@ const AdditionalQuestionsFormStepCore = /*@__PURE__*/ proxyCustomElement(class A
|
|
|
87
102
|
render() {
|
|
88
103
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
89
104
|
const additionalQuestionsDefaultValue = this.formController.getInitialValues();
|
|
90
|
-
return (h("form", { key: '
|
|
105
|
+
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 }))))));
|
|
91
106
|
}
|
|
107
|
+
static get watchers() { return {
|
|
108
|
+
"additional_questions": ["recurringPaymentsWatcher"]
|
|
109
|
+
}; }
|
|
92
110
|
}, [0, "justifi-additional-questions-form-step-core", {
|
|
93
111
|
"getBusiness": [16],
|
|
94
112
|
"patchBusiness": [16],
|
|
@@ -96,40 +114,53 @@ const AdditionalQuestionsFormStepCore = /*@__PURE__*/ proxyCustomElement(class A
|
|
|
96
114
|
"formController": [32],
|
|
97
115
|
"errors": [32],
|
|
98
116
|
"additional_questions": [32],
|
|
117
|
+
"recurringPayments": [32],
|
|
99
118
|
"validateAndSubmit": [64]
|
|
119
|
+
}, undefined, {
|
|
120
|
+
"additional_questions": ["recurringPaymentsWatcher"]
|
|
100
121
|
}]);
|
|
101
122
|
function defineCustomElement() {
|
|
102
123
|
if (typeof customElements === "undefined") {
|
|
103
124
|
return;
|
|
104
125
|
}
|
|
105
|
-
const components = ["justifi-additional-questions-form-step-core", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-select", "form-control-text"];
|
|
126
|
+
const components = ["justifi-additional-questions-form-step-core", "custom-popper", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-select", "form-control-text", "form-control-tooltip"];
|
|
106
127
|
components.forEach(tagName => { switch (tagName) {
|
|
107
128
|
case "justifi-additional-questions-form-step-core":
|
|
108
129
|
if (!customElements.get(tagName)) {
|
|
109
130
|
customElements.define(tagName, AdditionalQuestionsFormStepCore);
|
|
110
131
|
}
|
|
111
132
|
break;
|
|
133
|
+
case "custom-popper":
|
|
134
|
+
if (!customElements.get(tagName)) {
|
|
135
|
+
defineCustomElement$7();
|
|
136
|
+
}
|
|
137
|
+
break;
|
|
112
138
|
case "form-control-error-text":
|
|
113
139
|
if (!customElements.get(tagName)) {
|
|
114
|
-
defineCustomElement$
|
|
140
|
+
defineCustomElement$6();
|
|
115
141
|
}
|
|
116
142
|
break;
|
|
117
143
|
case "form-control-help-text":
|
|
118
144
|
if (!customElements.get(tagName)) {
|
|
119
|
-
defineCustomElement$
|
|
145
|
+
defineCustomElement$5();
|
|
120
146
|
}
|
|
121
147
|
break;
|
|
122
148
|
case "form-control-monetary":
|
|
123
149
|
if (!customElements.get(tagName)) {
|
|
124
|
-
defineCustomElement$
|
|
150
|
+
defineCustomElement$4();
|
|
125
151
|
}
|
|
126
152
|
break;
|
|
127
153
|
case "form-control-select":
|
|
128
154
|
if (!customElements.get(tagName)) {
|
|
129
|
-
defineCustomElement$
|
|
155
|
+
defineCustomElement$3();
|
|
130
156
|
}
|
|
131
157
|
break;
|
|
132
158
|
case "form-control-text":
|
|
159
|
+
if (!customElements.get(tagName)) {
|
|
160
|
+
defineCustomElement$2();
|
|
161
|
+
}
|
|
162
|
+
break;
|
|
163
|
+
case "form-control-tooltip":
|
|
133
164
|
if (!customElements.get(tagName)) {
|
|
134
165
|
defineCustomElement$1();
|
|
135
166
|
}
|
|
@@ -2,11 +2,13 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
|
|
3
3
|
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
|
|
4
4
|
import { B as BusinessService } from './business.service.js';
|
|
5
|
-
import { d as defineCustomElement$
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
5
|
+
import { d as defineCustomElement$8 } from './custom-popper2.js';
|
|
6
|
+
import { d as defineCustomElement$7 } from './form-control-error-text2.js';
|
|
7
|
+
import { d as defineCustomElement$6 } from './form-control-help-text2.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './form-control-monetary2.js';
|
|
9
|
+
import { d as defineCustomElement$4 } from './form-control-select2.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './form-control-text2.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
|
|
10
12
|
import { d as defineCustomElement$1 } from './business-additional-questions-form-step-core.js';
|
|
11
13
|
|
|
12
14
|
const AdditionalQuestionsFormStep = /*@__PURE__*/ proxyCustomElement(class AdditionalQuestionsFormStep extends HTMLElement {
|
|
@@ -51,7 +53,7 @@ const AdditionalQuestionsFormStep = /*@__PURE__*/ proxyCustomElement(class Addit
|
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
render() {
|
|
54
|
-
return (h("justifi-additional-questions-form-step-core", { key: '
|
|
56
|
+
return (h("justifi-additional-questions-form-step-core", { key: '6ca8443cbe837d993be4381a9d650caaaf51f2df', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
55
57
|
}
|
|
56
58
|
static get watchers() { return {
|
|
57
59
|
"authToken": ["propChanged"],
|
|
@@ -72,34 +74,44 @@ function defineCustomElement() {
|
|
|
72
74
|
if (typeof customElements === "undefined") {
|
|
73
75
|
return;
|
|
74
76
|
}
|
|
75
|
-
const components = ["justifi-additional-questions-form-step", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-select", "form-control-text", "justifi-additional-questions-form-step-core"];
|
|
77
|
+
const components = ["justifi-additional-questions-form-step", "custom-popper", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-additional-questions-form-step-core"];
|
|
76
78
|
components.forEach(tagName => { switch (tagName) {
|
|
77
79
|
case "justifi-additional-questions-form-step":
|
|
78
80
|
if (!customElements.get(tagName)) {
|
|
79
81
|
customElements.define(tagName, AdditionalQuestionsFormStep);
|
|
80
82
|
}
|
|
81
83
|
break;
|
|
84
|
+
case "custom-popper":
|
|
85
|
+
if (!customElements.get(tagName)) {
|
|
86
|
+
defineCustomElement$8();
|
|
87
|
+
}
|
|
88
|
+
break;
|
|
82
89
|
case "form-control-error-text":
|
|
83
90
|
if (!customElements.get(tagName)) {
|
|
84
|
-
defineCustomElement$
|
|
91
|
+
defineCustomElement$7();
|
|
85
92
|
}
|
|
86
93
|
break;
|
|
87
94
|
case "form-control-help-text":
|
|
88
95
|
if (!customElements.get(tagName)) {
|
|
89
|
-
defineCustomElement$
|
|
96
|
+
defineCustomElement$6();
|
|
90
97
|
}
|
|
91
98
|
break;
|
|
92
99
|
case "form-control-monetary":
|
|
93
100
|
if (!customElements.get(tagName)) {
|
|
94
|
-
defineCustomElement$
|
|
101
|
+
defineCustomElement$5();
|
|
95
102
|
}
|
|
96
103
|
break;
|
|
97
104
|
case "form-control-select":
|
|
98
105
|
if (!customElements.get(tagName)) {
|
|
99
|
-
defineCustomElement$
|
|
106
|
+
defineCustomElement$4();
|
|
100
107
|
}
|
|
101
108
|
break;
|
|
102
109
|
case "form-control-text":
|
|
110
|
+
if (!customElements.get(tagName)) {
|
|
111
|
+
defineCustomElement$3();
|
|
112
|
+
}
|
|
113
|
+
break;
|
|
114
|
+
case "form-control-tooltip":
|
|
103
115
|
if (!customElements.get(tagName)) {
|
|
104
116
|
defineCustomElement$2();
|
|
105
117
|
}
|