@justifi/webcomponents 4.20.0 → 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-03981aad.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-89d6d146.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 +12 -10
- 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-7fdd14b9.js → package-cb1b1015.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +9 -9
- package/dist/cjs/{payment.service-4b1c0a20.js → payment.service-6f79aad2.js} +6 -3
- 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/api/services/payment.service.js +5 -2
- 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/get-payments.js +2 -2
- 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/payments-list/payments-list.js +23 -2
- 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 +650 -149
- package/dist/esm/{Analytics-3103f8e9.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-44e6ad15.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 +12 -10
- 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-0e3cc41e.js → package-4ab64620.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +9 -9
- package/dist/esm/{payment.service-02c596b9.js → payment.service-f9c3e9d7.js} +6 -3
- 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 +15 -11
- 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/payment.service.js +5 -2
- 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 +8 -0
- package/dist/types/api/services/payment.service.d.ts +2 -2
- 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/payments-list/get-payments.d.ts +2 -1
- package/dist/types/components/payments-list/payments-list.d.ts +3 -2
- package/dist/types/components.d.ts +41 -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-0de026dd.entry.js → p-08d88fd2.entry.js} +1 -1
- package/dist/webcomponents/p-0c2d91a2.entry.js +1 -0
- package/dist/webcomponents/p-11f01df5.entry.js +1 -0
- package/dist/webcomponents/p-122c2a11.entry.js +1 -0
- package/dist/webcomponents/{p-4628cc9b.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-05718341.entry.js → p-23f95a19.entry.js} +1 -1
- package/dist/webcomponents/{p-0e84986e.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-804c0f1f.entry.js → p-55fe2cf2.entry.js} +1 -1
- package/dist/webcomponents/{p-8c83b73e.entry.js → p-5df26e65.entry.js} +1 -1
- package/dist/webcomponents/p-5e5e8a85.js +1 -0
- package/dist/webcomponents/{p-20dafb46.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-8281f09a.js → p-6d4b585d.js} +1 -1
- package/dist/webcomponents/p-6e258b5f.entry.js +1 -0
- 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-799ee8c3.js +1 -0
- 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-938bf2b4.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-428e9b64.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-f6a2dc78.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-437f9114.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-8d03a7bd.entry.js → p-d0ffb01c.entry.js} +1 -1
- package/dist/webcomponents/p-da316a74.entry.js +1 -0
- package/dist/webcomponents/{p-7bdffc78.entry.js → p-db3d1d7d.entry.js} +1 -1
- package/dist/webcomponents/{p-dbc1d7b3.entry.js → p-dee2a3f8.entry.js} +1 -1
- 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-1612894d.js +0 -1
- package/dist/webcomponents/p-3a1f19f3.entry.js +0 -1
- package/dist/webcomponents/p-44055818.js +0 -1
- package/dist/webcomponents/p-4cc9df76.entry.js +0 -1
- package/dist/webcomponents/p-5540a47c.entry.js +0 -1
- package/dist/webcomponents/p-59cf5391.entry.js +0 -1
- package/dist/webcomponents/p-6ac806ff.entry.js +0 -1
- package/dist/webcomponents/p-7ddfce86.entry.js +0 -1
- package/dist/webcomponents/p-7fe67d7f.entry.js +0 -1
- package/dist/webcomponents/p-8921a478.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-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-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-e3f4a2a6.js +0 -1
- package/dist/webcomponents/p-eea79a55.entry.js +0 -1
- package/dist/webcomponents/p-f0866375.entry.js +0 -1
|
@@ -10,9 +10,16 @@ const DateInput = class {
|
|
|
10
10
|
this.formControlBlur = createEvent(this, "formControlBlur", 7);
|
|
11
11
|
this.handleFormControlInput = (event) => {
|
|
12
12
|
const target = event.target;
|
|
13
|
-
const
|
|
14
|
-
this.
|
|
15
|
-
|
|
13
|
+
const localValue = target.value;
|
|
14
|
+
if (this.filterTimeZone) {
|
|
15
|
+
const utcDate = this.convertToUTC(localValue);
|
|
16
|
+
this.inputHandler(this.name, utcDate);
|
|
17
|
+
this.formControlInput.emit({ name: this.name, value: utcDate });
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
this.inputHandler(this.name, localValue);
|
|
21
|
+
this.formControlInput.emit({ name: this.name, value: localValue });
|
|
22
|
+
}
|
|
16
23
|
};
|
|
17
24
|
this.name = undefined;
|
|
18
25
|
this.label = undefined;
|
|
@@ -21,18 +28,50 @@ const DateInput = class {
|
|
|
21
28
|
this.helpText = undefined;
|
|
22
29
|
this.errorText = undefined;
|
|
23
30
|
this.disabled = undefined;
|
|
31
|
+
this.filterTimeZone = false;
|
|
32
|
+
this.showTime = undefined;
|
|
24
33
|
}
|
|
25
34
|
handleDefaultValueChange(newValue) {
|
|
26
|
-
this.
|
|
35
|
+
if (this.filterTimeZone) {
|
|
36
|
+
this.updateInput(this.convertToLocal(newValue));
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
this.updateInput(newValue);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
get maxDate() {
|
|
43
|
+
if (!this.showTime) {
|
|
44
|
+
return new Date().toISOString().split('T')[0];
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
return new Date().toISOString().slice(0, 16);
|
|
48
|
+
}
|
|
27
49
|
}
|
|
28
50
|
componentDidLoad() {
|
|
29
|
-
|
|
51
|
+
if (this.filterTimeZone) {
|
|
52
|
+
this.updateInput(this.convertToLocal(this.defaultValue));
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
this.updateInput(this.defaultValue);
|
|
56
|
+
}
|
|
30
57
|
}
|
|
31
58
|
updateInput(value) {
|
|
32
59
|
this.dateInput.value = value;
|
|
33
60
|
}
|
|
61
|
+
convertToUTC(value) {
|
|
62
|
+
const dateObj = new Date(value);
|
|
63
|
+
return new Date(dateObj.toUTCString()).toISOString();
|
|
64
|
+
}
|
|
65
|
+
convertToLocal(value) {
|
|
66
|
+
if (!value)
|
|
67
|
+
return value;
|
|
68
|
+
const date = new Date(value);
|
|
69
|
+
// Adjust the date to the local timezone
|
|
70
|
+
const localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000);
|
|
71
|
+
return this.showTime ? localDate.toISOString().slice(0, 16) : localDate.toISOString().split('T')[0];
|
|
72
|
+
}
|
|
34
73
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: '2ee850cab24ab7d32cbd638299f59827b5b7e117', exportparts: "label,input,input-invalid" }, h("div", { key: 'cc898cb56cb32f86e9a9f2a8fb626c38394cf36f', class: "form-group d-flex flex-column" }, h("div", { key: 'de4f8f4da4d650eeced126625ddcad480714dc50', class: "d-flex gap-2" }, h("label", { key: '99a74827cb24033d33ce5e9b978c4ec7161590f4', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'c9b2278afb165b5fc37dea2546f41912edb21567', helpText: this.helpText })), h("input", { key: 'af22c6198cb66961a3b4acf8486fdf034d65108c', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h("form-control-error-text", { key: 'cdb69d99d1736c8ba976170bb2baf28246939cfd', errorText: this.errorText, name: this.name }))));
|
|
36
75
|
}
|
|
37
76
|
static get watchers() { return {
|
|
38
77
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -94,7 +133,7 @@ const NumberInputMasked = class {
|
|
|
94
133
|
}
|
|
95
134
|
}
|
|
96
135
|
render() {
|
|
97
|
-
return (h(Host, { key: '
|
|
136
|
+
return (h(Host, { key: 'ec5637a437fc6925f12ed0ff9653de16cebec6c8', exportparts: "label,input,input-invalid" }, h("div", { key: 'fa43aed393941aaa2c9aadf550e2528aca661c90', class: "form-group d-flex flex-column" }, h("div", { key: 'f97bc1662798dd0ac7a01050771f7e2d8b94d3c8', class: "d-flex align-items-start gap-2" }, h("label", { key: '75b17b73150c1c1ef3ca0489aa1dac45b86583b8', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'd1c35542ebf2c49de0abb0488dff23aad8238eaf', helpText: this.helpText })), h("input", { key: '3573366640ca5525b12cf086c92c000a25bfaf8b', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h("form-control-error-text", { key: 'db11bee11d3f1f33ac03e8ed0f8687f0b9fff9cf', errorText: this.errorText, name: this.name }))));
|
|
98
137
|
}
|
|
99
138
|
static get watchers() { return {
|
|
100
139
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -118,7 +157,7 @@ const IdentityAddressForm = class {
|
|
|
118
157
|
}
|
|
119
158
|
render() {
|
|
120
159
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
121
|
-
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: '
|
|
160
|
+
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,
|
|
122
161
|
// just for now so we skip handling country specificities
|
|
123
162
|
disabled: true })))));
|
|
124
163
|
}
|
|
@@ -36,7 +36,7 @@ const FileInput = class {
|
|
|
36
36
|
this.fileInput = this.el.querySelector('input');
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'e55c4e61544191f12bccce66ed922357090f6a12', exportparts: "label,input,input-invalid" }, h("div", { key: 'ec8dd08ef6d99ae26a82ff891b25ae2d3892aea1', class: "form-group d-flex flex-column" }, h("div", { key: '8430c4a605b4869e6bb4f206d5cbd1588c4e983d', class: "d-flex align-items-start gap-2" }, h("label", { key: 'e9519f7c08040964b5594961b6c26ce14bbc2681', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '67ec6c6453976e2e6442e82ab94f94a5d0d91bb2', helpText: this.helpText })), h("input", { key: 'a25d7f66085730bcb2a0f749f744f0f6bd9fa76e', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onBlur: () => this.formControlBlur.emit() }), h("form-control-error-text", { key: '96b42ba795d86098932c1aeaf4d868cfce17895d', errorText: this.errorText, name: this.name }))));
|
|
40
40
|
}
|
|
41
41
|
get el() { return getElement(this); }
|
|
42
42
|
};
|
|
@@ -1,7 +1,21 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent,
|
|
1
|
+
import { r as registerInstance, h, c as createEvent, H as Host } from './index-57431c24.js';
|
|
2
2
|
import { I as IMask } from './index-d9a73ce3.js';
|
|
3
3
|
import { C as CURRENCY_MASK } from './form-input-masks-0e18300f.js';
|
|
4
4
|
|
|
5
|
+
const FormControlHelpText = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.helpText = undefined;
|
|
9
|
+
this.name = undefined;
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
if (!this.helpText) {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
return (h("small", { class: 'form-text text-muted', id: `form-help-text-${this.name}` }, this.helpText));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
5
19
|
const MonetaryInput = class {
|
|
6
20
|
constructor(hostRef) {
|
|
7
21
|
registerInstance(this, hostRef);
|
|
@@ -51,11 +65,11 @@ const MonetaryInput = class {
|
|
|
51
65
|
(_a = this.imask) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
52
66
|
}
|
|
53
67
|
render() {
|
|
54
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '6c95f96829b6cacc9d3fa975e1b9e81fa2011360', exportparts: "label,input,input-group-input,input-group-text,input-invalid" }, h("div", { key: 'e8343e6439d4a52d21991f9071caebb94789afdf', class: "form-group d-flex flex-column" }, h("label", { key: '5bff3a49dc18c407a8df5c96fd65720531bad45c', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '012e6cddda14b939c898df2c8422cd21f10e18fa', class: "input-group" }, h("span", { key: 'a7fa4827a93a925472271630a4667b64d1fa99c2', class: "input-group-text", part: "input-group-text" }, "$"), h("input", { key: 'd0e8c3f4e7466ab2115cbbe03bc9f81759f32c10', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input input-group-input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h("form-control-help-text", { key: '62f6cbc7dad3127d5461b8d003e9cf0a991373ff', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '465b5a31b6434b2afc40ff4cc6d29713e5840fe8', errorText: this.errorText, name: this.name }))));
|
|
55
69
|
}
|
|
56
70
|
static get watchers() { return {
|
|
57
71
|
"defaultValue": ["handleDefaultValueChange"]
|
|
58
72
|
}; }
|
|
59
73
|
};
|
|
60
74
|
|
|
61
|
-
export { MonetaryInput as form_control_monetary };
|
|
75
|
+
export { FormControlHelpText as form_control_help_text, MonetaryInput as form_control_monetary };
|
|
@@ -32,7 +32,7 @@ const NumberInput = class {
|
|
|
32
32
|
this.updateInput(this.defaultValue);
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '5f7a94160460fd8a92d740899a7418c98b3178d0', exportparts: 'label,input,input-invalid' }, h("div", { key: 'c8386c9c72a721d53d33d3894615f7d8f127b1bf', class: 'form-group d-flex flex-column' }, h("label", { key: '754f8714d1d0e42c977dace41e79d0e7b21c7e39', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: '4289872c0983d50ff89851aac2309b911e6348df', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h("form-control-help-text", { key: '0de80b8d728865b8978a7daaf54315dbf422dced', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: 'b0cd9a78aa4c44dc7103c5d6ceced7258b197f16', errorText: this.errorText, name: this.name }))));
|
|
36
36
|
}
|
|
37
37
|
get el() { return getElement(this); }
|
|
38
38
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as Api } from './Api-c8abc2e0.js';
|
|
2
2
|
import './Pagination-afc8f96d.js';
|
|
3
|
-
import './Payment-
|
|
3
|
+
import './Payment-30790721.js';
|
|
4
4
|
import './Payout-dfe15b00.js';
|
|
5
5
|
import { c as config } from './config-27764a9d.js';
|
|
6
6
|
import { C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
|
|
2
|
-
import { f as formatCurrency, a as formatDisplayDate } from './utils-
|
|
2
|
+
import { f as formatCurrency, a as formatDisplayDate } from './utils-620f2d78.js';
|
|
3
3
|
import { E as ErrorState, L as LoadingState } from './utils-01413a95.js';
|
|
4
4
|
|
|
5
5
|
/*!
|
|
@@ -11041,7 +11041,7 @@ const GrossPaymentChartCore = class {
|
|
|
11041
11041
|
}
|
|
11042
11042
|
}
|
|
11043
11043
|
render() {
|
|
11044
|
-
return (h(Host, { key: '
|
|
11044
|
+
return (h(Host, { key: 'aee0faee30a5c998410cdb28d52107ce2c0cb672' }, this.loading && LoadingState(), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
|
|
11045
11045
|
}
|
|
11046
11046
|
static get watchers() { return {
|
|
11047
11047
|
"getGrossPayment": ["propChanged"],
|
|
@@ -3,12 +3,12 @@ import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './Compone
|
|
|
3
3
|
import { m as makeGetBusiness, b as makePatchBusiness } from './payment-provisioning-actions-0635eff7.js';
|
|
4
4
|
import { B as BusinessService } from './business.service-1f589b6e.js';
|
|
5
5
|
import { c as create$3, F as FormController, e as create$7 } from './index.esm-fc4f5c0c.js';
|
|
6
|
-
import { b as BusinessFormStep, a as BusinessFormClickActions } from './business-form-types-
|
|
6
|
+
import { b as BusinessFormStep, c as BusinessFormStepV2, a as BusinessFormClickActions } from './business-form-types-8fd61b0e.js';
|
|
7
7
|
import { z as bankNameValidation, A as nicknameValidation, u as identityNameValidation, B as accountTypeValidation, C as accountNumberValidation, D as routingNumberValidation, E as voidedCheckValidation, F as governmentIdValidation, G as ss4Validation, H as otherDocumentValidation, I as balanceSheetValidation, J as bankStatementValidation, K as profitAndLossStatementValidation, L as EntityDocument, M as EntityDocumentStorage } from './schema-validations-e725d701.js';
|
|
8
8
|
import { c as bankAccountTypeOptions } from './business-form-options-d790973e.js';
|
|
9
9
|
import { A as Api } from './Api-c8abc2e0.js';
|
|
10
10
|
import './Pagination-afc8f96d.js';
|
|
11
|
-
import './Payment-
|
|
11
|
+
import './Payment-30790721.js';
|
|
12
12
|
import './Payout-dfe15b00.js';
|
|
13
13
|
import { c as config } from './config-27764a9d.js';
|
|
14
14
|
import { n as numberOnlyHandler } from './utils-3bb6347a.js';
|
|
@@ -60,7 +60,7 @@ const AdditionalQuestionsFormStep = class {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h("justifi-additional-questions-form-step-core", { key: '
|
|
63
|
+
return (h("justifi-additional-questions-form-step-core", { key: '6ca8443cbe837d993be4381a9d650caaaf51f2df', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
64
64
|
}
|
|
65
65
|
static get watchers() { return {
|
|
66
66
|
"authToken": ["propChanged"],
|
|
@@ -113,6 +113,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
113
113
|
constructor(hostRef) {
|
|
114
114
|
registerInstance(this, hostRef);
|
|
115
115
|
this.submitted = createEvent(this, "submitted", 7);
|
|
116
|
+
this.stepCompleted = createEvent(this, "form-step-completed", 7);
|
|
116
117
|
this.formLoading = createEvent(this, "formLoading", 7);
|
|
117
118
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
118
119
|
this.fetchData = async () => {
|
|
@@ -192,10 +193,16 @@ const BusinessBankAccountFormStep = class {
|
|
|
192
193
|
onSuccess();
|
|
193
194
|
}
|
|
194
195
|
this.submitted.emit({ data: response, metadata: { completedStep: BusinessFormStep.bankAccount } });
|
|
196
|
+
this.stepCompleted.emit({ data: response, formStep: BusinessFormStepV2.bankAccount });
|
|
195
197
|
}
|
|
196
198
|
async validateAndSubmit({ onSuccess }) {
|
|
197
|
-
this.formDisabled
|
|
199
|
+
if (this.formDisabled) {
|
|
200
|
+
this.stepCompleted.emit({ data: null, formStep: BusinessFormStepV2.bankAccount, metadata: 'no data submitted' });
|
|
201
|
+
onSuccess();
|
|
202
|
+
}
|
|
203
|
+
else {
|
|
198
204
|
this.formController.validateAndSubmit(() => this.sendData(onSuccess));
|
|
205
|
+
}
|
|
199
206
|
}
|
|
200
207
|
;
|
|
201
208
|
componentWillLoad() {
|
|
@@ -213,7 +220,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
213
220
|
}
|
|
214
221
|
render() {
|
|
215
222
|
const bankAccountDefaultValue = this.formController.getInitialValues();
|
|
216
|
-
return (h("form", { key: '
|
|
223
|
+
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." }))))));
|
|
217
224
|
}
|
|
218
225
|
};
|
|
219
226
|
|
|
@@ -258,7 +265,7 @@ const BusinessCoreInfoFormStep = class {
|
|
|
258
265
|
}
|
|
259
266
|
}
|
|
260
267
|
render() {
|
|
261
|
-
return (h("justifi-business-core-info-form-step-core", { key: '
|
|
268
|
+
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 }));
|
|
262
269
|
}
|
|
263
270
|
static get watchers() { return {
|
|
264
271
|
"authToken": ["propChanged"],
|
|
@@ -292,6 +299,7 @@ const BusinessDocumentFormStep = class {
|
|
|
292
299
|
constructor(hostRef) {
|
|
293
300
|
registerInstance(this, hostRef);
|
|
294
301
|
this.submitted = createEvent(this, "submitted", 7);
|
|
302
|
+
this.stepCompleted = createEvent(this, "form-step-completed", 7);
|
|
295
303
|
this.formLoading = createEvent(this, "formLoading", 7);
|
|
296
304
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
297
305
|
this.inputHandler = (name, value) => {
|
|
@@ -381,6 +389,7 @@ const BusinessDocumentFormStep = class {
|
|
|
381
389
|
}
|
|
382
390
|
else {
|
|
383
391
|
this.submitted.emit({ data: response, metadata: { completedStep: BusinessFormStep.documentUpload } });
|
|
392
|
+
this.stepCompleted.emit({ data: response, formStep: BusinessFormStepV2.documentUpload });
|
|
384
393
|
return true;
|
|
385
394
|
}
|
|
386
395
|
};
|
|
@@ -394,6 +403,7 @@ const BusinessDocumentFormStep = class {
|
|
|
394
403
|
try {
|
|
395
404
|
const docArray = Object.values(this.documentData).flat();
|
|
396
405
|
if (!docArray.length) {
|
|
406
|
+
this.stepCompleted.emit({ data: null, formStep: BusinessFormStepV2.documentUpload, metadata: 'no data submitted' });
|
|
397
407
|
return onSuccess();
|
|
398
408
|
}
|
|
399
409
|
const documentRecords = docArray.map(docData => this.createDocumentRecord(docData));
|
|
@@ -463,7 +473,7 @@ const BusinessDocumentFormStep = class {
|
|
|
463
473
|
return (h("justifi-business-document-upload-input-group", { paymentVolume: this.paymentVolume, inputHandler: this.inputHandler, storeFiles: this.storeFiles, errors: this.errors }));
|
|
464
474
|
}
|
|
465
475
|
render() {
|
|
466
|
-
return (h("form", { key: '
|
|
476
|
+
return (h("form", { key: 'f240b37d159cbf3db19e4256f97ade622e88d41b' }, h("fieldset", { key: '0555c8a1747336af04b470f750343d231cebb7cc' }, h("div", { key: '7c46295e5997aba7f769324d52def17236babe7b', class: "d-flex align-items-center gap-2" }, h("legend", { key: '2a3fe8a3031a1923df6de8752438d595d935d8f6', class: "mb-0" }, "Document Uploads"), h("form-control-tooltip", { key: '6b3f02a801ff53a1c28ee30710980f5e2790ac5c', helpText: "Various file formats such as PDF, DOC, DOCX, JPEG, and others are accepted. Multiple files can be uploaded for each document category." })), h("hr", { key: 'ac1f9e460920d3654f9c079e8c3fc84ccf7369b4', class: "mt-2" }), this.documentsOnFile, h("div", { key: '444b0f875d460d6bdddc9183bc5c797d3828c127', class: "d-flex flex-column" }, this.formInputs))));
|
|
467
477
|
}
|
|
468
478
|
};
|
|
469
479
|
|
|
@@ -508,7 +518,7 @@ const BusinessOwnersFormStep = class {
|
|
|
508
518
|
}
|
|
509
519
|
}
|
|
510
520
|
render() {
|
|
511
|
-
return (h(Host, { key: '
|
|
521
|
+
return (h(Host, { key: '31bd33a08c9eb4a849db8898b3ec7e6fede7b843' }, h("justifi-business-owners-form-step-core", { key: '9e4c88686e1a5ebfd81ab5f1aebd21f58c4e6be5', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: (el) => this.coreComponent = el })));
|
|
512
522
|
}
|
|
513
523
|
static get watchers() { return {
|
|
514
524
|
"authToken": ["propChanged"],
|
|
@@ -557,7 +567,7 @@ const BusinessRepresentativeFormStep = class {
|
|
|
557
567
|
}
|
|
558
568
|
}
|
|
559
569
|
render() {
|
|
560
|
-
return (h("justifi-business-representative-form-step-core", { key: '
|
|
570
|
+
return (h("justifi-business-representative-form-step-core", { key: '934b6204cfe78ffe17b3f975de3eedb64398168d', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
561
571
|
}
|
|
562
572
|
static get watchers() { return {
|
|
563
573
|
"authToken": ["propChanged"],
|
|
@@ -581,6 +591,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
581
591
|
constructor(hostRef) {
|
|
582
592
|
registerInstance(this, hostRef);
|
|
583
593
|
this.submitted = createEvent(this, "submitted", 7);
|
|
594
|
+
this.stepCompleted = createEvent(this, "form-step-completed", 7);
|
|
584
595
|
this.formLoading = createEvent(this, "formLoading", 7);
|
|
585
596
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
586
597
|
this.fetchData = async () => {
|
|
@@ -666,6 +677,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
666
677
|
onSuccess();
|
|
667
678
|
}
|
|
668
679
|
this.submitted.emit({ data: response, metadata: { completedStep: BusinessFormStep.termsAndConditions } });
|
|
680
|
+
this.stepCompleted.emit({ data: response, formStep: BusinessFormStepV2.termsAndConditions });
|
|
669
681
|
}
|
|
670
682
|
async validateAndSubmit({ onSuccess }) {
|
|
671
683
|
if (this.acceptedTermsBefore) {
|
|
@@ -683,7 +695,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
683
695
|
});
|
|
684
696
|
}
|
|
685
697
|
render() {
|
|
686
|
-
return (h("form", { key: '
|
|
698
|
+
return (h("form", { key: '3f269771c368a23afd1c7b139b0fce416d18f161' }, h("fieldset", { key: 'a94a5bf100cb5a10b156b8cf94dc85f03cc1f6ae' }, h("legend", { key: 'facb4a29cebd5147fe3c35d336df04546b550d74' }, "Terms and Conditions"), h("hr", { key: '3dafaab7d2d35bf9a00f87da643f6e1efaa7b147' }), h("justifi-business-terms-conditions-text", { key: '60a1370c8b0d817d79130e8607f6d663c4648c78' }), h("br", { key: 'e72e81a34b31a00ebe3a0d01e24dc096df7bc2a9' }), h("div", { key: '676ed858195c1b90a9e4fdc22ba9654ff944dc93', class: "row-gy-3" }, h("div", { key: '20039587eb6144a05078799f6a41feb59f43dbd2', class: "col-12" }, h("form-control-checkbox", { key: 'fc8eaa81e530b55f24e2ec994b97b4c181af94b2', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText }))))));
|
|
687
699
|
}
|
|
688
700
|
};
|
|
689
701
|
|
|
@@ -728,7 +740,7 @@ const LegalAddressFormStep = class {
|
|
|
728
740
|
}
|
|
729
741
|
}
|
|
730
742
|
render() {
|
|
731
|
-
return (h("justifi-legal-address-form-step-core", { key: '
|
|
743
|
+
return (h("justifi-legal-address-form-step-core", { key: '06ac5acac2cc9c167a86448b0e12d885d21361fb', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
732
744
|
}
|
|
733
745
|
static get watchers() { return {
|
|
734
746
|
"authToken": ["propChanged"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
2
|
import { c as config } from './config-27764a9d.js';
|
|
3
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
4
|
-
import './package-
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-3dde5a98.js';
|
|
4
|
+
import './package-4ab64620.js';
|
|
5
5
|
import './Api-c8abc2e0.js';
|
|
6
6
|
|
|
7
7
|
const BankAccountForm = class {
|
|
@@ -3,7 +3,7 @@ import { c as create$3, F as FormController } from './index.esm-fc4f5c0c.js';
|
|
|
3
3
|
import { u as identityNameValidation, l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation } from './schema-validations-e725d701.js';
|
|
4
4
|
import { S as StateOptions } from './state-options-a356fb11.js';
|
|
5
5
|
import { n as numberOnlyHandler } from './utils-3bb6347a.js';
|
|
6
|
-
import { S as StyledHost } from './styled-host-
|
|
6
|
+
import { S as StyledHost } from './styled-host-e0ddb759.js';
|
|
7
7
|
import './business-form-options-d790973e.js';
|
|
8
8
|
import './Business-b73d5055.js';
|
|
9
9
|
import './helpers-96ea3464.js';
|
|
@@ -69,7 +69,7 @@ const SaveNewPaymentMethod = class {
|
|
|
69
69
|
this.checkboxChanged.emit(this.isChecked);
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h("div", { key: '
|
|
72
|
+
return (h("div", { key: 'dc65b5d53172a7d3b26f7a09ea98b865fcc4689a', class: "mt-4 form-check" }, h("input", { key: 'e4af44c05c9f45ffe6d2eb88199983725d421d7b', type: "checkbox", checked: this.isChecked, onChange: (event) => this.handleCheckboxChange(event), class: "form-check-input" }), h("label", { key: 'ad6aa82a60e4d2c6f73cda78a819e9f1590a598b', class: "form-check-label" }, "Save new payment method")));
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
|
|
@@ -4,13 +4,13 @@ import { B as BusinessService } from './business.service-1f589b6e.js';
|
|
|
4
4
|
import { B as Business } from './Business-b73d5055.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
6
6
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
7
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
8
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
7
|
+
import { J as JustifiAnalytics } from './Analytics-3dde5a98.js';
|
|
8
|
+
import { c as checkPkgVersion } from './check-pkg-version-4d144b72.js';
|
|
9
9
|
import './config-27764a9d.js';
|
|
10
10
|
import './Api-c8abc2e0.js';
|
|
11
11
|
import './helpers-96ea3464.js';
|
|
12
12
|
import './state-options-a356fb11.js';
|
|
13
|
-
import './package-
|
|
13
|
+
import './package-4ab64620.js';
|
|
14
14
|
|
|
15
15
|
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
16
16
|
var _a;
|
|
@@ -4,19 +4,19 @@ import { b as businessCoreInfoSchema, a as additionalQuestionsSchema } from './b
|
|
|
4
4
|
import { a as addressSchema, i as identitySchema } from './business-identity-schema-9e3269fb.js';
|
|
5
5
|
import { A as Api } from './Api-c8abc2e0.js';
|
|
6
6
|
import './Pagination-afc8f96d.js';
|
|
7
|
-
import './Payment-
|
|
7
|
+
import './Payment-30790721.js';
|
|
8
8
|
import './Payout-dfe15b00.js';
|
|
9
9
|
import { c as config } from './config-27764a9d.js';
|
|
10
|
-
import { B as BusinessFormServerErrors, a as BusinessFormClickActions } from './business-form-types-
|
|
10
|
+
import { B as BusinessFormServerErrors, a as BusinessFormClickActions } from './business-form-types-8fd61b0e.js';
|
|
11
11
|
import { B as Business } from './Business-b73d5055.js';
|
|
12
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
13
|
-
import { S as StyledHost } from './styled-host-
|
|
14
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
12
|
+
import { J as JustifiAnalytics } from './Analytics-3dde5a98.js';
|
|
13
|
+
import { S as StyledHost } from './styled-host-e0ddb759.js';
|
|
14
|
+
import { c as checkPkgVersion } from './check-pkg-version-4d144b72.js';
|
|
15
15
|
import './schema-validations-e725d701.js';
|
|
16
16
|
import './state-options-a356fb11.js';
|
|
17
17
|
import './business-form-options-d790973e.js';
|
|
18
18
|
import './helpers-96ea3464.js';
|
|
19
|
-
import './package-
|
|
19
|
+
import './package-4ab64620.js';
|
|
20
20
|
|
|
21
21
|
const businessFormSchema = create$3(Object.assign(Object.assign({}, businessCoreInfoSchema().fields), { legal_address: addressSchema(), additional_questions: additionalQuestionsSchema(), representative: identitySchema('representative') }));
|
|
22
22
|
|
|
@@ -19,7 +19,7 @@ const RepresentativeFormInputs = class {
|
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
22
|
-
return (h("form", { key: '
|
|
22
|
+
return (h("form", { key: 'e60e25f358a68b95126f1b0238b754db71ffeb5e' }, h("fieldset", { key: 'ab9ca66102990e85694090847abda3842b4302e2' }, h("div", { key: '7fd390072a5b449efb1d18538da2a5ca985b7786', class: "d-flex align-items-center gap-2" }, h("legend", { key: '0fce87b8847777b8a2489684066a7f2ad28037a2', class: "mb-0" }, "Representative"), h("form-control-tooltip", { key: '685ab12d13997025ff840776a7868627d71c4ddf', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: '87c7bf398f56addcc816803ca4b0b8b6598f47f9', class: "mt-2" }), h("div", { key: '76f9606e68374f92810686b4ee1e65855bb724dd', class: "row gy-3" }, h("div", { key: '982dfe08aba4db2ed702aaff432bea4e527ab9cb', class: "col-12 col-md-8" }, h("form-control-text", { key: '4dfbde53299db25439a8be81187d7b3cb39d1026', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '9d9428eb5a8269861170dfa3ec162f0b52581101', class: "col-12 col-md-4" }, h("form-control-text", { key: 'af3601d4dfa0ffbe0a83f467d88c34add95b57b6', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '9f56a922a12b5a8393effde4a7e5d3e62f29a8e6', class: "col-12 col-md-6" }, h("form-control-text", { key: 'cc784d334f4c4612686f62a613ac7910d680dba8', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '4f63adab539a9f285985c440fcaf112ae81f7826', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'a170c6b9a6d553216adc41ac7603841b949b4b83', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '85ea5c9bc2b3992d44247991fda34a5142e50faa', class: "col-12 col-md-4" }, h("form-control-date", { key: '0e66f5255a6d159350ecd7d228ded18441b47d26', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.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: 'e0dddceb3d489b9d92a19e983d2ef147c9127e68', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '0f95dd8c436a38377058bf6067d810d8bdcb7686', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.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: '0fb3fea4773d72d787c50e18213379ca3aed5c9e', class: "col-12" }, h("justifi-identity-address-form", { key: 'fe9cf9cc527794376968d35cdd42bfd75e550cca', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
2
|
import { c as config } from './config-27764a9d.js';
|
|
3
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
4
|
-
import './package-
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-3dde5a98.js';
|
|
4
|
+
import './package-4ab64620.js';
|
|
5
5
|
import './Api-c8abc2e0.js';
|
|
6
6
|
|
|
7
7
|
const CardForm = class {
|
|
@@ -65,7 +65,7 @@ const CardForm = class {
|
|
|
65
65
|
return this.childRef.resize();
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
|
-
return (h("justifi-payment-method-form", { key: '
|
|
68
|
+
return (h("justifi-payment-method-form", { key: 'e31d3c703e1a0c3778ddeb88d118ea3ef88d0adf', ref: el => {
|
|
69
69
|
if (el) {
|
|
70
70
|
this.childRef = el;
|
|
71
71
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-57431c24.js';
|
|
2
|
-
import { f as formatCurrency } from './utils-
|
|
2
|
+
import { f as formatCurrency } from './utils-620f2d78.js';
|
|
3
3
|
import { c as config } from './config-27764a9d.js';
|
|
4
4
|
import { C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
5
5
|
import { i as insuranceValuesOn, v as validateInsuranceValues, a as insuranceValues } from './insurance-state-8ce01e59.js';
|
|
6
6
|
import { B as Button } from './button-34e75e0f.js';
|
|
7
|
-
import { S as StyledHost } from './styled-host-
|
|
7
|
+
import { S as StyledHost } from './styled-host-e0ddb759.js';
|
|
8
8
|
import { S as Skeleton } from './skeleton-145a80d4.js';
|
|
9
9
|
|
|
10
10
|
class Checkout {
|
|
@@ -141,7 +141,7 @@ const CheckoutCore = class {
|
|
|
141
141
|
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { class: "jfi-payment-description" }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", { class: "jfi-payment-total" }, h("span", { class: "jfi-payment-total-label" }, "Total"), "\u00A0", h("span", { class: "jfi-payment-total-amount" }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
|
|
142
142
|
}
|
|
143
143
|
render() {
|
|
144
|
-
return (h(StyledHost, { key: '
|
|
144
|
+
return (h(StyledHost, { key: '5f0d9ae550582f13376cc242bd8654e440f83219' }, h("div", { key: '6acd2acafa61be4a59b6ebbfdd7f14aac282d1dc', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '23089c7a0e688fc44ab66dc46470f115bb430d0f', class: "col-12" }, h("h2", { key: '1888832c214484c0904135029f5f6bbdba356049', class: "fs-5 fw-bold pb-3 jfi-header" }, "Summary"), this.summary), h("div", { key: '47cac0b14213043a8b7c15127c17b51e92e6bef3', class: "col-12" }, h("slot", { key: '3548f92bee3b6b23bd74a8578601b1f1aac05960', name: "insurance" })), h("div", { key: 'ee3a5b2a7598ded7c88a17400e01b4dd8a4048bf', class: "col-12 mt-4" }, h("h2", { key: '65d196aa405f018a2f0c6606363a6d3fc0f957d6', class: "fs-5 fw-bold pb-3 jfi-header" }, "Payment"), h("h3", { key: '10b7613dec7240a342d147c11431a9217fd514e5', class: "fs-6 fw-bold lh-lg" }, "Select payment type"), h("div", { key: '29d3f1cca38f76f8cdee726cc779a0e0853124a2', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: 'ebfdd182534f510887a8921d89054ae329d01cfd', class: "col-12" }, h("div", { key: '1a607695a7de0ef135e9ae2ee1ac63e174e71135', class: "d-flex justify-content-end" }, h(Button, { key: 'f3e9b863354b022f872b27434e1a020d03c6979e', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
147
|
CheckoutCore.style = JustifiCheckoutCoreStyle0 + JustifiCheckoutCoreStyle1;
|
|
@@ -3,12 +3,12 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Compone
|
|
|
3
3
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
4
4
|
import { A as Api } from './Api-c8abc2e0.js';
|
|
5
5
|
import './Pagination-afc8f96d.js';
|
|
6
|
-
import './Payment-
|
|
6
|
+
import './Payment-30790721.js';
|
|
7
7
|
import './Payout-dfe15b00.js';
|
|
8
8
|
import { c as config } from './config-27764a9d.js';
|
|
9
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
10
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
11
|
-
import './package-
|
|
9
|
+
import { J as JustifiAnalytics } from './Analytics-3dde5a98.js';
|
|
10
|
+
import { c as checkPkgVersion } from './check-pkg-version-4d144b72.js';
|
|
11
|
+
import './package-4ab64620.js';
|
|
12
12
|
|
|
13
13
|
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
14
14
|
var _a;
|
|
@@ -133,11 +133,11 @@ const Checkout = class {
|
|
|
133
133
|
this.checkoutCoreRef.fillBillingForm(fields);
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
|
-
return (h("justifi-checkout-core", { key: '
|
|
136
|
+
return (h("justifi-checkout-core", { key: '24400b7f50a91d2c24e372a030fde6b0a1af9e66', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, ref: el => {
|
|
137
137
|
if (el) {
|
|
138
138
|
this.checkoutCoreRef = el;
|
|
139
139
|
}
|
|
140
|
-
} }, h("div", { key: '
|
|
140
|
+
} }, h("div", { key: '0f530bd18cab94b2ab3707b22908198878d34a4a', slot: "insurance" }, h("slot", { key: '94d10781b8df51ab34df5e414e304537682d8c2c', name: "insurance" }))));
|
|
141
141
|
}
|
|
142
142
|
static get watchers() { return {
|
|
143
143
|
"authToken": ["propChanged"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-57431c24.js';
|
|
2
2
|
import { E as ErrorState } from './utils-01413a95.js';
|
|
3
|
-
import { S as StyledHost } from './styled-host-
|
|
3
|
+
import { S as StyledHost } from './styled-host-e0ddb759.js';
|
|
4
4
|
|
|
5
5
|
const Details = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -8,7 +8,7 @@ const Details = class {
|
|
|
8
8
|
this.errorMessage = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(StyledHost, { key: '
|
|
11
|
+
return (h(StyledHost, { key: '067f67765c63376d98b996fded17eb6418832d92', exportParts: 'detail-empty-state, detail-metadata-title, detail-metadata, detail-section, detail-section-title, \n detail-section-item-title, detail-section-item-data, detail-head, detail-title, detail-head-info' }, this.errorMessage ?
|
|
12
12
|
ErrorState(this.errorMessage)
|
|
13
13
|
:
|
|
14
14
|
h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
|
|
@@ -4,9 +4,9 @@ import { A as Api } from './Api-c8abc2e0.js';
|
|
|
4
4
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
5
5
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
6
6
|
import { E as ErrorState } from './utils-01413a95.js';
|
|
7
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
8
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
9
|
-
import './package-
|
|
7
|
+
import { J as JustifiAnalytics } from './Analytics-3dde5a98.js';
|
|
8
|
+
import { c as checkPkgVersion } from './check-pkg-version-4d144b72.js';
|
|
9
|
+
import './package-4ab64620.js';
|
|
10
10
|
|
|
11
11
|
class ReportsService {
|
|
12
12
|
async fetchGrossVolumeChartData(accountId, authToken) {
|