@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
|
@@ -14,9 +14,16 @@ const DateInput = class {
|
|
|
14
14
|
this.formControlBlur = index.createEvent(this, "formControlBlur", 7);
|
|
15
15
|
this.handleFormControlInput = (event) => {
|
|
16
16
|
const target = event.target;
|
|
17
|
-
const
|
|
18
|
-
this.
|
|
19
|
-
|
|
17
|
+
const localValue = target.value;
|
|
18
|
+
if (this.filterTimeZone) {
|
|
19
|
+
const utcDate = this.convertToUTC(localValue);
|
|
20
|
+
this.inputHandler(this.name, utcDate);
|
|
21
|
+
this.formControlInput.emit({ name: this.name, value: utcDate });
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
this.inputHandler(this.name, localValue);
|
|
25
|
+
this.formControlInput.emit({ name: this.name, value: localValue });
|
|
26
|
+
}
|
|
20
27
|
};
|
|
21
28
|
this.name = undefined;
|
|
22
29
|
this.label = undefined;
|
|
@@ -25,18 +32,50 @@ const DateInput = class {
|
|
|
25
32
|
this.helpText = undefined;
|
|
26
33
|
this.errorText = undefined;
|
|
27
34
|
this.disabled = undefined;
|
|
35
|
+
this.filterTimeZone = false;
|
|
36
|
+
this.showTime = undefined;
|
|
28
37
|
}
|
|
29
38
|
handleDefaultValueChange(newValue) {
|
|
30
|
-
this.
|
|
39
|
+
if (this.filterTimeZone) {
|
|
40
|
+
this.updateInput(this.convertToLocal(newValue));
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
this.updateInput(newValue);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
get maxDate() {
|
|
47
|
+
if (!this.showTime) {
|
|
48
|
+
return new Date().toISOString().split('T')[0];
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
return new Date().toISOString().slice(0, 16);
|
|
52
|
+
}
|
|
31
53
|
}
|
|
32
54
|
componentDidLoad() {
|
|
33
|
-
|
|
55
|
+
if (this.filterTimeZone) {
|
|
56
|
+
this.updateInput(this.convertToLocal(this.defaultValue));
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
this.updateInput(this.defaultValue);
|
|
60
|
+
}
|
|
34
61
|
}
|
|
35
62
|
updateInput(value) {
|
|
36
63
|
this.dateInput.value = value;
|
|
37
64
|
}
|
|
65
|
+
convertToUTC(value) {
|
|
66
|
+
const dateObj = new Date(value);
|
|
67
|
+
return new Date(dateObj.toUTCString()).toISOString();
|
|
68
|
+
}
|
|
69
|
+
convertToLocal(value) {
|
|
70
|
+
if (!value)
|
|
71
|
+
return value;
|
|
72
|
+
const date = new Date(value);
|
|
73
|
+
// Adjust the date to the local timezone
|
|
74
|
+
const localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000);
|
|
75
|
+
return this.showTime ? localDate.toISOString().slice(0, 16) : localDate.toISOString().split('T')[0];
|
|
76
|
+
}
|
|
38
77
|
render() {
|
|
39
|
-
return (index.h(index.Host, { key: '
|
|
78
|
+
return (index.h(index.Host, { key: '2ee850cab24ab7d32cbd638299f59827b5b7e117', exportparts: "label,input,input-invalid" }, index.h("div", { key: 'cc898cb56cb32f86e9a9f2a8fb626c38394cf36f', class: "form-group d-flex flex-column" }, index.h("div", { key: 'de4f8f4da4d650eeced126625ddcad480714dc50', class: "d-flex gap-2" }, index.h("label", { key: '99a74827cb24033d33ce5e9b978c4ec7161590f4', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'c9b2278afb165b5fc37dea2546f41912edb21567', helpText: this.helpText })), index.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 }), index.h("form-control-error-text", { key: 'cdb69d99d1736c8ba976170bb2baf28246939cfd', errorText: this.errorText, name: this.name }))));
|
|
40
79
|
}
|
|
41
80
|
static get watchers() { return {
|
|
42
81
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -98,7 +137,7 @@ const NumberInputMasked = class {
|
|
|
98
137
|
}
|
|
99
138
|
}
|
|
100
139
|
render() {
|
|
101
|
-
return (index.h(index.Host, { key: '
|
|
140
|
+
return (index.h(index.Host, { key: 'ec5637a437fc6925f12ed0ff9653de16cebec6c8', exportparts: "label,input,input-invalid" }, index.h("div", { key: 'fa43aed393941aaa2c9aadf550e2528aca661c90', class: "form-group d-flex flex-column" }, index.h("div", { key: 'f97bc1662798dd0ac7a01050771f7e2d8b94d3c8', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '75b17b73150c1c1ef3ca0489aa1dac45b86583b8', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'd1c35542ebf2c49de0abb0488dff23aad8238eaf', helpText: this.helpText })), index.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 }), index.h("form-control-error-text", { key: 'db11bee11d3f1f33ac03e8ed0f8687f0b9fff9cf', errorText: this.errorText, name: this.name }))));
|
|
102
141
|
}
|
|
103
142
|
static get watchers() { return {
|
|
104
143
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -122,7 +161,7 @@ const IdentityAddressForm = class {
|
|
|
122
161
|
}
|
|
123
162
|
render() {
|
|
124
163
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
125
|
-
return (index.h(index.Host, { key: 'd090676d3bb1d9de9ae947ff25d94b5985ace914', exportparts: "label,input,input-invalid" }, index.h("div", { key: '64ddec6db508d27b709ad551f60fe58494631fe3', class: "row gy-3" }, index.h("div", { key: '7e0f89b7b8d5a466b89efad75498c5d1f2cac8ea', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '
|
|
164
|
+
return (index.h(index.Host, { key: 'd090676d3bb1d9de9ae947ff25d94b5985ace914', exportparts: "label,input,input-invalid" }, index.h("div", { key: '64ddec6db508d27b709ad551f60fe58494631fe3', class: "row gy-3" }, index.h("div", { key: '7e0f89b7b8d5a466b89efad75498c5d1f2cac8ea', class: "col-12 col-md-8" }, index.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." })), index.h("div", { key: '2b17a0fcd80dbea0703ac0291d5e509b0c14d9c8', class: "col-12 col-md-4" }, index.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 })), index.h("div", { key: '55ccf8053ec8e3c1f4534c47d8d23eeac3383d13', class: "col-12" }, index.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 })), index.h("div", { key: 'daf6e6031b8dfab6a3e0170f96cc2f0649ded7ce', class: "col-12 col-md-6" }, index.h("form-control-select", { key: '08791966d72817826f23c3d55ffe3cbaad0ac3bd', name: "state", label: "State", defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, options: stateOptions.StateOptions, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state, inputHandler: this.inputHandler })), index.h("div", { key: 'c97882ae4c598f762ec32e9ff54b819077ba7193', class: "col-12 col-md-6" }, index.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: utils.numberOnlyHandler, inputHandler: this.inputHandler })), index.h("div", { key: '6fda38b6ab0618bd9c47ae51417f3b7e10148f53', class: "col-12" }, index.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,
|
|
126
165
|
// just for now so we skip handling country specificities
|
|
127
166
|
disabled: true })))));
|
|
128
167
|
}
|
|
@@ -40,7 +40,7 @@ const FileInput = class {
|
|
|
40
40
|
this.fileInput = this.el.querySelector('input');
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (index.h(index.Host, { key: '
|
|
43
|
+
return (index.h(index.Host, { key: 'e55c4e61544191f12bccce66ed922357090f6a12', exportparts: "label,input,input-invalid" }, index.h("div", { key: 'ec8dd08ef6d99ae26a82ff891b25ae2d3892aea1', class: "form-group d-flex flex-column" }, index.h("div", { key: '8430c4a605b4869e6bb4f206d5cbd1588c4e983d', class: "d-flex align-items-start gap-2" }, index.h("label", { key: 'e9519f7c08040964b5594961b6c26ce14bbc2681', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '67ec6c6453976e2e6442e82ab94f94a5d0d91bb2', helpText: this.helpText })), index.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() }), index.h("form-control-error-text", { key: '96b42ba795d86098932c1aeaf4d868cfce17895d', errorText: this.errorText, name: this.name }))));
|
|
44
44
|
}
|
|
45
45
|
get el() { return index.getElement(this); }
|
|
46
46
|
};
|
package/dist/cjs/{form-control-monetary.cjs.entry.js → form-control-help-text_2.cjs.entry.js}
RENAMED
|
@@ -6,6 +6,20 @@ const index = require('./index-fb499e95.js');
|
|
|
6
6
|
const index$1 = require('./index-750475a3.js');
|
|
7
7
|
const formInputMasks = require('./form-input-masks-0879c139.js');
|
|
8
8
|
|
|
9
|
+
const FormControlHelpText = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.helpText = undefined;
|
|
13
|
+
this.name = undefined;
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
if (!this.helpText) {
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
return (index.h("small", { class: 'form-text text-muted', id: `form-help-text-${this.name}` }, this.helpText));
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
|
|
9
23
|
const MonetaryInput = class {
|
|
10
24
|
constructor(hostRef) {
|
|
11
25
|
index.registerInstance(this, hostRef);
|
|
@@ -55,11 +69,12 @@ const MonetaryInput = class {
|
|
|
55
69
|
(_a = this.imask) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
56
70
|
}
|
|
57
71
|
render() {
|
|
58
|
-
return (index.h(index.Host, { key: '
|
|
72
|
+
return (index.h(index.Host, { key: '6c95f96829b6cacc9d3fa975e1b9e81fa2011360', exportparts: "label,input,input-group-input,input-group-text,input-invalid" }, index.h("div", { key: 'e8343e6439d4a52d21991f9071caebb94789afdf', class: "form-group d-flex flex-column" }, index.h("label", { key: '5bff3a49dc18c407a8df5c96fd65720531bad45c', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("div", { key: '012e6cddda14b939c898df2c8422cd21f10e18fa', class: "input-group" }, index.h("span", { key: 'a7fa4827a93a925472271630a4667b64d1fa99c2', class: "input-group-text", part: "input-group-text" }, "$"), index.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 })), index.h("form-control-help-text", { key: '62f6cbc7dad3127d5461b8d003e9cf0a991373ff', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: '465b5a31b6434b2afc40ff4cc6d29713e5840fe8', errorText: this.errorText, name: this.name }))));
|
|
59
73
|
}
|
|
60
74
|
static get watchers() { return {
|
|
61
75
|
"defaultValue": ["handleDefaultValueChange"]
|
|
62
76
|
}; }
|
|
63
77
|
};
|
|
64
78
|
|
|
79
|
+
exports.form_control_help_text = FormControlHelpText;
|
|
65
80
|
exports.form_control_monetary = MonetaryInput;
|
|
@@ -36,7 +36,7 @@ const NumberInput = class {
|
|
|
36
36
|
this.updateInput(this.defaultValue);
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (index.h(index.Host, { key: '
|
|
39
|
+
return (index.h(index.Host, { key: '5f7a94160460fd8a92d740899a7418c98b3178d0', exportparts: 'label,input,input-invalid' }, index.h("div", { key: 'c8386c9c72a721d53d33d3894615f7d8f127b1bf', class: 'form-group d-flex flex-column' }, index.h("label", { key: '754f8714d1d0e42c977dace41e79d0e7b21c7e39', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.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 }), index.h("form-control-help-text", { key: '0de80b8d728865b8978a7daaf54315dbf422dced', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: 'b0cd9a78aa4c44dc7103c5d6ceced7258b197f16', errorText: this.errorText, name: this.name }))));
|
|
40
40
|
}
|
|
41
41
|
get el() { return index.getElement(this); }
|
|
42
42
|
static get watchers() { return {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
const Api = require('./Api-b98b256f.js');
|
|
4
4
|
require('./Pagination-0da8f095.js');
|
|
5
|
-
require('./Payment-
|
|
5
|
+
require('./Payment-04a842f4.js');
|
|
6
6
|
require('./Payout-a2dd7b01.js');
|
|
7
7
|
const config = require('./config-05767cba.js');
|
|
8
8
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-52fb7fa1.js');
|
|
7
7
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
8
8
|
|
|
9
9
|
/*!
|
|
@@ -11045,7 +11045,7 @@ const GrossPaymentChartCore = class {
|
|
|
11045
11045
|
}
|
|
11046
11046
|
}
|
|
11047
11047
|
render() {
|
|
11048
|
-
return (index.h(index.Host, { key: '
|
|
11048
|
+
return (index.h(index.Host, { key: 'aee0faee30a5c998410cdb28d52107ce2c0cb672' }, this.loading && utils$1.LoadingState(), !this.errorMessage ? index.h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : utils$1.ErrorState(this.errorMessage)));
|
|
11049
11049
|
}
|
|
11050
11050
|
static get watchers() { return {
|
|
11051
11051
|
"getGrossPayment": ["propChanged"],
|
|
@@ -7,12 +7,12 @@ const ComponentError = require('./ComponentError-233ac749.js');
|
|
|
7
7
|
const paymentProvisioningActions = require('./payment-provisioning-actions-06466dda.js');
|
|
8
8
|
const business_service = require('./business.service-031c0084.js');
|
|
9
9
|
const index_esm = require('./index.esm-52757963.js');
|
|
10
|
-
const businessFormTypes = require('./business-form-types-
|
|
10
|
+
const businessFormTypes = require('./business-form-types-719b7f52.js');
|
|
11
11
|
const schemaValidations = require('./schema-validations-0a7e46a3.js');
|
|
12
12
|
const businessFormOptions = require('./business-form-options-5db0bd5e.js');
|
|
13
13
|
const Api = require('./Api-b98b256f.js');
|
|
14
14
|
require('./Pagination-0da8f095.js');
|
|
15
|
-
require('./Payment-
|
|
15
|
+
require('./Payment-04a842f4.js');
|
|
16
16
|
require('./Payout-a2dd7b01.js');
|
|
17
17
|
const config = require('./config-05767cba.js');
|
|
18
18
|
const utils = require('./utils-ddacfc44.js');
|
|
@@ -64,7 +64,7 @@ const AdditionalQuestionsFormStep = class {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (index.h("justifi-additional-questions-form-step-core", { key: '
|
|
67
|
+
return (index.h("justifi-additional-questions-form-step-core", { key: '6ca8443cbe837d993be4381a9d650caaaf51f2df', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
68
68
|
}
|
|
69
69
|
static get watchers() { return {
|
|
70
70
|
"authToken": ["propChanged"],
|
|
@@ -117,6 +117,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
117
117
|
constructor(hostRef) {
|
|
118
118
|
index.registerInstance(this, hostRef);
|
|
119
119
|
this.submitted = index.createEvent(this, "submitted", 7);
|
|
120
|
+
this.stepCompleted = index.createEvent(this, "form-step-completed", 7);
|
|
120
121
|
this.formLoading = index.createEvent(this, "formLoading", 7);
|
|
121
122
|
this.errorEvent = index.createEvent(this, "error-event", 7);
|
|
122
123
|
this.fetchData = async () => {
|
|
@@ -196,10 +197,16 @@ const BusinessBankAccountFormStep = class {
|
|
|
196
197
|
onSuccess();
|
|
197
198
|
}
|
|
198
199
|
this.submitted.emit({ data: response, metadata: { completedStep: businessFormTypes.BusinessFormStep.bankAccount } });
|
|
200
|
+
this.stepCompleted.emit({ data: response, formStep: businessFormTypes.BusinessFormStepV2.bankAccount });
|
|
199
201
|
}
|
|
200
202
|
async validateAndSubmit({ onSuccess }) {
|
|
201
|
-
this.formDisabled
|
|
203
|
+
if (this.formDisabled) {
|
|
204
|
+
this.stepCompleted.emit({ data: null, formStep: businessFormTypes.BusinessFormStepV2.bankAccount, metadata: 'no data submitted' });
|
|
205
|
+
onSuccess();
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
202
208
|
this.formController.validateAndSubmit(() => this.sendData(onSuccess));
|
|
209
|
+
}
|
|
203
210
|
}
|
|
204
211
|
;
|
|
205
212
|
componentWillLoad() {
|
|
@@ -217,7 +224,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
217
224
|
}
|
|
218
225
|
render() {
|
|
219
226
|
const bankAccountDefaultValue = this.formController.getInitialValues();
|
|
220
|
-
return (index.h("form", { key: '
|
|
227
|
+
return (index.h("form", { key: 'c19f52934f1fa591d71175d1a0a584c0e9d0bd92' }, index.h("fieldset", { key: '96c326422e38efe3413b282fcc2415355108992c' }, index.h("div", { key: '7a39297bc087e310ad28fbdd58e71b509c002132', class: "d-flex align-items-center gap-2" }, index.h("legend", { key: '81b0cc0fc84846e04f3efb1efc0c33c181a3399d', class: "mb-0" }, "Bank Account Info"), index.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." })), index.h("hr", { key: '8386d2b17e191ca529a663ced0c430e71c3da4d6', class: "mt-2" }), index.h("div", { key: 'd5ddcc4c0b54320a0e1f1fd381dd41e8bdb86c2f', class: "row gy-3" }, index.h("div", { key: '29bd4e26bed9fef74ee79241d5dc6fd9a4d5954e', class: "col-12" }, index.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 })), index.h("div", { key: 'db9d13b0a62927b790bdcf5bc77ffa4fbadb227b', class: "col-12" }, index.h("form-control-text", { key: '41d192f0d9df09e62aa929642ca2ae40946f951e', name: "nickname", label: "Nickname", defaultValue: bankAccountDefaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '2b37a20c6bb6f942ccf5b49e84a2d6d1669d9fd7', class: "col-12" }, index.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 })), index.h("div", { key: '2a30485d70f0825e7e677b3f4b75caf4c601090e', class: "col-12" }, index.h("form-control-select", { key: '65cb43b080e47208bf83099cfec12cc8351281c6', name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: bankAccountDefaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'ab0c65f348486814ac14ed548ecaa25610e14d58', class: "col-12" }, index.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: utils.numberOnlyHandler, disabled: this.formDisabled, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." })), index.h("div", { key: 'f5314db551f6d4482f151b49d9db685b78223f2a', class: "col-12" }, index.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: utils.numberOnlyHandler, disabled: this.formDisabled, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." }))))));
|
|
221
228
|
}
|
|
222
229
|
};
|
|
223
230
|
|
|
@@ -262,7 +269,7 @@ const BusinessCoreInfoFormStep = class {
|
|
|
262
269
|
}
|
|
263
270
|
}
|
|
264
271
|
render() {
|
|
265
|
-
return (index.h("justifi-business-core-info-form-step-core", { key: '
|
|
272
|
+
return (index.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 }));
|
|
266
273
|
}
|
|
267
274
|
static get watchers() { return {
|
|
268
275
|
"authToken": ["propChanged"],
|
|
@@ -296,6 +303,7 @@ const BusinessDocumentFormStep = class {
|
|
|
296
303
|
constructor(hostRef) {
|
|
297
304
|
index.registerInstance(this, hostRef);
|
|
298
305
|
this.submitted = index.createEvent(this, "submitted", 7);
|
|
306
|
+
this.stepCompleted = index.createEvent(this, "form-step-completed", 7);
|
|
299
307
|
this.formLoading = index.createEvent(this, "formLoading", 7);
|
|
300
308
|
this.errorEvent = index.createEvent(this, "error-event", 7);
|
|
301
309
|
this.inputHandler = (name, value) => {
|
|
@@ -385,6 +393,7 @@ const BusinessDocumentFormStep = class {
|
|
|
385
393
|
}
|
|
386
394
|
else {
|
|
387
395
|
this.submitted.emit({ data: response, metadata: { completedStep: businessFormTypes.BusinessFormStep.documentUpload } });
|
|
396
|
+
this.stepCompleted.emit({ data: response, formStep: businessFormTypes.BusinessFormStepV2.documentUpload });
|
|
388
397
|
return true;
|
|
389
398
|
}
|
|
390
399
|
};
|
|
@@ -398,6 +407,7 @@ const BusinessDocumentFormStep = class {
|
|
|
398
407
|
try {
|
|
399
408
|
const docArray = Object.values(this.documentData).flat();
|
|
400
409
|
if (!docArray.length) {
|
|
410
|
+
this.stepCompleted.emit({ data: null, formStep: businessFormTypes.BusinessFormStepV2.documentUpload, metadata: 'no data submitted' });
|
|
401
411
|
return onSuccess();
|
|
402
412
|
}
|
|
403
413
|
const documentRecords = docArray.map(docData => this.createDocumentRecord(docData));
|
|
@@ -467,7 +477,7 @@ const BusinessDocumentFormStep = class {
|
|
|
467
477
|
return (index.h("justifi-business-document-upload-input-group", { paymentVolume: this.paymentVolume, inputHandler: this.inputHandler, storeFiles: this.storeFiles, errors: this.errors }));
|
|
468
478
|
}
|
|
469
479
|
render() {
|
|
470
|
-
return (index.h("form", { key: '
|
|
480
|
+
return (index.h("form", { key: 'f240b37d159cbf3db19e4256f97ade622e88d41b' }, index.h("fieldset", { key: '0555c8a1747336af04b470f750343d231cebb7cc' }, index.h("div", { key: '7c46295e5997aba7f769324d52def17236babe7b', class: "d-flex align-items-center gap-2" }, index.h("legend", { key: '2a3fe8a3031a1923df6de8752438d595d935d8f6', class: "mb-0" }, "Document Uploads"), index.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." })), index.h("hr", { key: 'ac1f9e460920d3654f9c079e8c3fc84ccf7369b4', class: "mt-2" }), this.documentsOnFile, index.h("div", { key: '444b0f875d460d6bdddc9183bc5c797d3828c127', class: "d-flex flex-column" }, this.formInputs))));
|
|
471
481
|
}
|
|
472
482
|
};
|
|
473
483
|
|
|
@@ -512,7 +522,7 @@ const BusinessOwnersFormStep = class {
|
|
|
512
522
|
}
|
|
513
523
|
}
|
|
514
524
|
render() {
|
|
515
|
-
return (index.h(index.Host, { key: '
|
|
525
|
+
return (index.h(index.Host, { key: '31bd33a08c9eb4a849db8898b3ec7e6fede7b843' }, index.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 })));
|
|
516
526
|
}
|
|
517
527
|
static get watchers() { return {
|
|
518
528
|
"authToken": ["propChanged"],
|
|
@@ -561,7 +571,7 @@ const BusinessRepresentativeFormStep = class {
|
|
|
561
571
|
}
|
|
562
572
|
}
|
|
563
573
|
render() {
|
|
564
|
-
return (index.h("justifi-business-representative-form-step-core", { key: '
|
|
574
|
+
return (index.h("justifi-business-representative-form-step-core", { key: '934b6204cfe78ffe17b3f975de3eedb64398168d', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
565
575
|
}
|
|
566
576
|
static get watchers() { return {
|
|
567
577
|
"authToken": ["propChanged"],
|
|
@@ -585,6 +595,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
585
595
|
constructor(hostRef) {
|
|
586
596
|
index.registerInstance(this, hostRef);
|
|
587
597
|
this.submitted = index.createEvent(this, "submitted", 7);
|
|
598
|
+
this.stepCompleted = index.createEvent(this, "form-step-completed", 7);
|
|
588
599
|
this.formLoading = index.createEvent(this, "formLoading", 7);
|
|
589
600
|
this.errorEvent = index.createEvent(this, "error-event", 7);
|
|
590
601
|
this.fetchData = async () => {
|
|
@@ -670,6 +681,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
670
681
|
onSuccess();
|
|
671
682
|
}
|
|
672
683
|
this.submitted.emit({ data: response, metadata: { completedStep: businessFormTypes.BusinessFormStep.termsAndConditions } });
|
|
684
|
+
this.stepCompleted.emit({ data: response, formStep: businessFormTypes.BusinessFormStepV2.termsAndConditions });
|
|
673
685
|
}
|
|
674
686
|
async validateAndSubmit({ onSuccess }) {
|
|
675
687
|
if (this.acceptedTermsBefore) {
|
|
@@ -687,7 +699,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
687
699
|
});
|
|
688
700
|
}
|
|
689
701
|
render() {
|
|
690
|
-
return (index.h("form", { key: '
|
|
702
|
+
return (index.h("form", { key: '3f269771c368a23afd1c7b139b0fce416d18f161' }, index.h("fieldset", { key: 'a94a5bf100cb5a10b156b8cf94dc85f03cc1f6ae' }, index.h("legend", { key: 'facb4a29cebd5147fe3c35d336df04546b550d74' }, "Terms and Conditions"), index.h("hr", { key: '3dafaab7d2d35bf9a00f87da643f6e1efaa7b147' }), index.h("justifi-business-terms-conditions-text", { key: '60a1370c8b0d817d79130e8607f6d663c4648c78' }), index.h("br", { key: 'e72e81a34b31a00ebe3a0d01e24dc096df7bc2a9' }), index.h("div", { key: '676ed858195c1b90a9e4fdc22ba9654ff944dc93', class: "row-gy-3" }, index.h("div", { key: '20039587eb6144a05078799f6a41feb59f43dbd2', class: "col-12" }, index.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 }))))));
|
|
691
703
|
}
|
|
692
704
|
};
|
|
693
705
|
|
|
@@ -732,7 +744,7 @@ const LegalAddressFormStep = class {
|
|
|
732
744
|
}
|
|
733
745
|
}
|
|
734
746
|
render() {
|
|
735
|
-
return (index.h("justifi-legal-address-form-step-core", { key: '
|
|
747
|
+
return (index.h("justifi-legal-address-form-step-core", { key: '06ac5acac2cc9c167a86448b0e12d885d21361fb', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
736
748
|
}
|
|
737
749
|
static get watchers() { return {
|
|
738
750
|
"authToken": ["propChanged"],
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const config = require('./config-05767cba.js');
|
|
7
|
-
const Analytics = require('./Analytics-
|
|
8
|
-
require('./package-
|
|
7
|
+
const Analytics = require('./Analytics-880f5152.js');
|
|
8
|
+
require('./package-cb1b1015.js');
|
|
9
9
|
require('./Api-b98b256f.js');
|
|
10
10
|
|
|
11
11
|
const BankAccountForm = class {
|
|
@@ -7,7 +7,7 @@ const index_esm = require('./index.esm-52757963.js');
|
|
|
7
7
|
const schemaValidations = require('./schema-validations-0a7e46a3.js');
|
|
8
8
|
const stateOptions = require('./state-options-4fbcb48a.js');
|
|
9
9
|
const utils = require('./utils-ddacfc44.js');
|
|
10
|
-
const styledHost = require('./styled-host-
|
|
10
|
+
const styledHost = require('./styled-host-1adf46c3.js');
|
|
11
11
|
require('./business-form-options-5db0bd5e.js');
|
|
12
12
|
require('./Business-aa799fec.js');
|
|
13
13
|
require('./helpers-602962eb.js');
|
|
@@ -73,7 +73,7 @@ const SaveNewPaymentMethod = class {
|
|
|
73
73
|
this.checkboxChanged.emit(this.isChecked);
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
|
-
return (index.h("div", { key: '
|
|
76
|
+
return (index.h("div", { key: 'dc65b5d53172a7d3b26f7a09ea98b865fcc4689a', class: "mt-4 form-check" }, index.h("input", { key: 'e4af44c05c9f45ffe6d2eb88199983725d421d7b', type: "checkbox", checked: this.isChecked, onChange: (event) => this.handleCheckboxChange(event), class: "form-check-input" }), index.h("label", { key: 'ad6aa82a60e4d2c6f73cda78a819e9f1590a598b', class: "form-check-label" }, "Save new payment method")));
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
|
|
@@ -8,13 +8,13 @@ const business_service = require('./business.service-031c0084.js');
|
|
|
8
8
|
const Business = require('./Business-aa799fec.js');
|
|
9
9
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
10
10
|
const utils = require('./utils-7a478c37.js');
|
|
11
|
-
const Analytics = require('./Analytics-
|
|
12
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
11
|
+
const Analytics = require('./Analytics-880f5152.js');
|
|
12
|
+
const checkPkgVersion = require('./check-pkg-version-54f7dfda.js');
|
|
13
13
|
require('./config-05767cba.js');
|
|
14
14
|
require('./Api-b98b256f.js');
|
|
15
15
|
require('./helpers-602962eb.js');
|
|
16
16
|
require('./state-options-4fbcb48a.js');
|
|
17
|
-
require('./package-
|
|
17
|
+
require('./package-cb1b1015.js');
|
|
18
18
|
|
|
19
19
|
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
20
20
|
var _a;
|
|
@@ -8,19 +8,19 @@ const businessAdditionalQuestionsSchema = require('./business-additional-questio
|
|
|
8
8
|
const businessIdentitySchema = require('./business-identity-schema-503ecb77.js');
|
|
9
9
|
const Api = require('./Api-b98b256f.js');
|
|
10
10
|
require('./Pagination-0da8f095.js');
|
|
11
|
-
require('./Payment-
|
|
11
|
+
require('./Payment-04a842f4.js');
|
|
12
12
|
require('./Payout-a2dd7b01.js');
|
|
13
13
|
const config = require('./config-05767cba.js');
|
|
14
|
-
const businessFormTypes = require('./business-form-types-
|
|
14
|
+
const businessFormTypes = require('./business-form-types-719b7f52.js');
|
|
15
15
|
const Business = require('./Business-aa799fec.js');
|
|
16
|
-
const Analytics = require('./Analytics-
|
|
17
|
-
const styledHost = require('./styled-host-
|
|
18
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
16
|
+
const Analytics = require('./Analytics-880f5152.js');
|
|
17
|
+
const styledHost = require('./styled-host-1adf46c3.js');
|
|
18
|
+
const checkPkgVersion = require('./check-pkg-version-54f7dfda.js');
|
|
19
19
|
require('./schema-validations-0a7e46a3.js');
|
|
20
20
|
require('./state-options-4fbcb48a.js');
|
|
21
21
|
require('./business-form-options-5db0bd5e.js');
|
|
22
22
|
require('./helpers-602962eb.js');
|
|
23
|
-
require('./package-
|
|
23
|
+
require('./package-cb1b1015.js');
|
|
24
24
|
|
|
25
25
|
const businessFormSchema = index_esm.create$3(Object.assign(Object.assign({}, businessAdditionalQuestionsSchema.businessCoreInfoSchema().fields), { legal_address: businessIdentitySchema.addressSchema(), additional_questions: businessAdditionalQuestionsSchema.additionalQuestionsSchema(), representative: businessIdentitySchema.identitySchema('representative') }));
|
|
26
26
|
|
|
@@ -23,7 +23,7 @@ const RepresentativeFormInputs = class {
|
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
25
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
26
|
-
return (index.h("form", { key: '
|
|
26
|
+
return (index.h("form", { key: 'e60e25f358a68b95126f1b0238b754db71ffeb5e' }, index.h("fieldset", { key: 'ab9ca66102990e85694090847abda3842b4302e2' }, index.h("div", { key: '7fd390072a5b449efb1d18538da2a5ca985b7786', class: "d-flex align-items-center gap-2" }, index.h("legend", { key: '0fce87b8847777b8a2489684066a7f2ad28037a2', class: "mb-0" }, "Representative"), index.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." })), index.h("hr", { key: '87c7bf398f56addcc816803ca4b0b8b6598f47f9', class: "mt-2" }), index.h("div", { key: '76f9606e68374f92810686b4ee1e65855bb724dd', class: "row gy-3" }, index.h("div", { key: '982dfe08aba4db2ed702aaff432bea4e527ab9cb', class: "col-12 col-md-8" }, index.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 })), index.h("div", { key: '9d9428eb5a8269861170dfa3ec162f0b52581101', class: "col-12 col-md-4" }, index.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." })), index.h("div", { key: '9f56a922a12b5a8393effde4a7e5d3e62f29a8e6', class: "col-12 col-md-6" }, index.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 })), index.h("div", { key: '4f63adab539a9f285985c440fcaf112ae81f7826', class: "col-12 col-md-6" }, index.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: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '85ea5c9bc2b3992d44247991fda34a5142e50faa', class: "col-12 col-md-4" }, index.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) => inputHandlers.updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), index.h("div", { key: 'e0dddceb3d489b9d92a19e983d2ef147c9127e68', class: "col-12 col-md-8" }, index.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: formInputMasks.SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), index.h("div", { key: '0fb3fea4773d72d787c50e18213379ca3aed5c9e', class: "col-12" }, index.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 }))))));
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const config = require('./config-05767cba.js');
|
|
7
|
-
const Analytics = require('./Analytics-
|
|
8
|
-
require('./package-
|
|
7
|
+
const Analytics = require('./Analytics-880f5152.js');
|
|
8
|
+
require('./package-cb1b1015.js');
|
|
9
9
|
require('./Api-b98b256f.js');
|
|
10
10
|
|
|
11
11
|
const CardForm = class {
|
|
@@ -69,7 +69,7 @@ const CardForm = class {
|
|
|
69
69
|
return this.childRef.resize();
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (index.h("justifi-payment-method-form", { key: '
|
|
72
|
+
return (index.h("justifi-payment-method-form", { key: 'e31d3c703e1a0c3778ddeb88d118ea3ef88d0adf', ref: el => {
|
|
73
73
|
if (el) {
|
|
74
74
|
this.childRef = el;
|
|
75
75
|
}
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-52fb7fa1.js');
|
|
7
7
|
const config = require('./config-05767cba.js');
|
|
8
8
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
9
9
|
const insuranceState = require('./insurance-state-80e24caf.js');
|
|
10
10
|
const button = require('./button-3f400a66.js');
|
|
11
|
-
const styledHost = require('./styled-host-
|
|
11
|
+
const styledHost = require('./styled-host-1adf46c3.js');
|
|
12
12
|
const skeleton = require('./skeleton-748c5dde.js');
|
|
13
13
|
|
|
14
14
|
class Checkout {
|
|
@@ -145,7 +145,7 @@ const CheckoutCore = class {
|
|
|
145
145
|
return (index.h("section", null, index.h("div", { class: !this.isLoading && 'visually-hidden' }, index.h(skeleton.Skeleton, { height: "24px" })), index.h("div", { class: this.isLoading && 'visually-hidden' }, index.h("div", { class: "jfi-payment-description" }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), index.h("div", { class: "jfi-payment-total" }, index.h("span", { class: "jfi-payment-total-label" }, "Total"), "\u00A0", index.h("span", { class: "jfi-payment-total-amount" }, utils.formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
|
|
146
146
|
}
|
|
147
147
|
render() {
|
|
148
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
148
|
+
return (index.h(styledHost.StyledHost, { key: '5f0d9ae550582f13376cc242bd8654e440f83219' }, index.h("div", { key: '6acd2acafa61be4a59b6ebbfdd7f14aac282d1dc', class: "row gy-3 jfi-checkout-core" }, index.h("div", { key: '23089c7a0e688fc44ab66dc46470f115bb430d0f', class: "col-12" }, index.h("h2", { key: '1888832c214484c0904135029f5f6bbdba356049', class: "fs-5 fw-bold pb-3 jfi-header" }, "Summary"), this.summary), index.h("div", { key: '47cac0b14213043a8b7c15127c17b51e92e6bef3', class: "col-12" }, index.h("slot", { key: '3548f92bee3b6b23bd74a8578601b1f1aac05960', name: "insurance" })), index.h("div", { key: 'ee3a5b2a7598ded7c88a17400e01b4dd8a4048bf', class: "col-12 mt-4" }, index.h("h2", { key: '65d196aa405f018a2f0c6606363a6d3fc0f957d6', class: "fs-5 fw-bold pb-3 jfi-header" }, "Payment"), index.h("h3", { key: '10b7613dec7240a342d147c11431a9217fd514e5', class: "fs-6 fw-bold lh-lg" }, "Select payment type"), index.h("div", { key: '29d3f1cca38f76f8cdee726cc779a0e0853124a2', class: "d-flex flex-column" }, this.paymentType)), index.h("div", { key: 'ebfdd182534f510887a8921d89054ae329d01cfd', class: "col-12" }, index.h("div", { key: '1a607695a7de0ef135e9ae2ee1ac63e174e71135', class: "d-flex justify-content-end" }, index.h(button.Button, { key: 'f3e9b863354b022f872b27434e1a020d03c6979e', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
CheckoutCore.style = JustifiCheckoutCoreStyle0 + JustifiCheckoutCoreStyle1;
|
|
@@ -7,12 +7,12 @@ const ComponentError = require('./ComponentError-233ac749.js');
|
|
|
7
7
|
const utils = require('./utils-7a478c37.js');
|
|
8
8
|
const Api = require('./Api-b98b256f.js');
|
|
9
9
|
require('./Pagination-0da8f095.js');
|
|
10
|
-
require('./Payment-
|
|
10
|
+
require('./Payment-04a842f4.js');
|
|
11
11
|
require('./Payout-a2dd7b01.js');
|
|
12
12
|
const config = require('./config-05767cba.js');
|
|
13
|
-
const Analytics = require('./Analytics-
|
|
14
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
15
|
-
require('./package-
|
|
13
|
+
const Analytics = require('./Analytics-880f5152.js');
|
|
14
|
+
const checkPkgVersion = require('./check-pkg-version-54f7dfda.js');
|
|
15
|
+
require('./package-cb1b1015.js');
|
|
16
16
|
|
|
17
17
|
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
18
18
|
var _a;
|
|
@@ -137,11 +137,11 @@ const Checkout = class {
|
|
|
137
137
|
this.checkoutCoreRef.fillBillingForm(fields);
|
|
138
138
|
}
|
|
139
139
|
render() {
|
|
140
|
-
return (index.h("justifi-checkout-core", { key: '
|
|
140
|
+
return (index.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 => {
|
|
141
141
|
if (el) {
|
|
142
142
|
this.checkoutCoreRef = el;
|
|
143
143
|
}
|
|
144
|
-
} }, index.h("div", { key: '
|
|
144
|
+
} }, index.h("div", { key: '0f530bd18cab94b2ab3707b22908198878d34a4a', slot: "insurance" }, index.h("slot", { key: '94d10781b8df51ab34df5e414e304537682d8c2c', name: "insurance" }))));
|
|
145
145
|
}
|
|
146
146
|
static get watchers() { return {
|
|
147
147
|
"authToken": ["propChanged"],
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const utils = require('./utils-c1d2e426.js');
|
|
7
|
-
const styledHost = require('./styled-host-
|
|
7
|
+
const styledHost = require('./styled-host-1adf46c3.js');
|
|
8
8
|
|
|
9
9
|
const Details = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -12,7 +12,7 @@ const Details = class {
|
|
|
12
12
|
this.errorMessage = undefined;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
15
|
+
return (index.h(styledHost.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 ?
|
|
16
16
|
utils.ErrorState(this.errorMessage)
|
|
17
17
|
:
|
|
18
18
|
index.h("main", { class: "p-2" }, index.h("slot", { name: "head-info" }), index.h("slot", { name: 'detail-sections' }))));
|
|
@@ -8,9 +8,9 @@ const Api = require('./Api-b98b256f.js');
|
|
|
8
8
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
9
9
|
const utils = require('./utils-7a478c37.js');
|
|
10
10
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
11
|
-
const Analytics = require('./Analytics-
|
|
12
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
13
|
-
require('./package-
|
|
11
|
+
const Analytics = require('./Analytics-880f5152.js');
|
|
12
|
+
const checkPkgVersion = require('./check-pkg-version-54f7dfda.js');
|
|
13
|
+
require('./package-cb1b1015.js');
|
|
14
14
|
|
|
15
15
|
class ReportsService {
|
|
16
16
|
async fetchGrossVolumeChartData(accountId, authToken) {
|